]> code.delx.au - gnu-emacs/blob - lisp/ChangeLog
* lisp/isearch.el (isearch-query-replace): Add " symbol" and other
[gnu-emacs] / lisp / ChangeLog
1 2013-06-13 Juri Linkov <juri@jurta.org>
2
3 * replace.el (perform-replace): Display "symbol " and other search
4 modes from `isearch-message-prefix' in the *Help* buffer.
5
6 * isearch.el (isearch-query-replace): Add " symbol" and other
7 possible search modes from `isearch-message-prefix' to the prompt.
8 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
9 when reading a regexp to collect.
10
11 2013-06-13 Juri Linkov <juri@jurta.org>
12
13 * isearch.el (word-search-regexp): Match whitespace if the search
14 string begins or ends in whitespace. The LAX arg is applied to
15 both ends of the search string. Use `regexp-quote' and explicit
16 \< and \> instead of \b. Use \` and \' instead of ^ and $.
17 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
18 boundaries are replaced with symbol boundaries, and characters
19 between symbols match non-word non-symbol syntax. (Bug#14602)
20
21 2013-06-13 Juri Linkov <juri@jurta.org>
22
23 * isearch.el (isearch-del-char): Don't exceed the length of
24 `isearch-string' by the prefix arg. (Bug#14563)
25
26 2013-06-13 Juri Linkov <juri@jurta.org>
27
28 * isearch.el (isearch-yank-word, isearch-yank-line)
29 (isearch-char-by-name, isearch-quote-char)
30 (isearch-printing-char, isearch-process-search-char):
31 Add optional count prefix arg. (Bug#14563)
32
33 * international/isearch-x.el
34 (isearch-process-search-multibyte-characters):
35 Add optional count prefix arg.
36
37 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
38
39 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
40 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
41 lexical-binding.
42
43 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
44
45 * subr.el (set-temporary-overlay-map): Add on-exit argument.
46
47 2013-06-13 Glenn Morris <rgm@gnu.org>
48
49 * startup.el (tty-handle-args):
50 Don't just discard "--" and anything after. (Bug#14608)
51
52 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
53
54 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
55
56 Implement changes in Secret Service API. Make it backward compatible.
57 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
58 (secrets-create-item): Use it. Prefix properties with interface.
59
60 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
61
62 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
63 (term-emulate-terminal): Respect term-suppress-hard-newline.
64
65 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
66
67 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
68 Only remove a `thumb-file' overlay. (Bug#14548)
69
70 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
71
72 * mail/reporter.el (reporter-submit-bug-report):
73 Handle missing package-name. (Bug#14600)
74
75 2013-06-12 RĂ¼diger Sonderfeld <ruediger@c-plusplus.de>
76
77 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
78 (reftex-citation-prompt, reftex-default-bibliography)
79 (reftex-bib-or-thebib, reftex-get-bibfile-list)
80 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
81 (reftex-bib-sort-author, reftex-bib-sort-year)
82 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
83 (reftex-extract-bib-entries-from-thebibliography)
84 (reftex-get-bibkey-default, reftex-get-bib-names)
85 (reftex-parse-bibtex-entry, reftex-get-bib-field)
86 (reftex-format-bib-entry, reftex-parse-bibitem)
87 (reftex-format-bibitem, reftex-do-citation)
88 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
89 (reftex-restrict-bib-matches, reftex-extract-bib-file)
90 (reftex-insert-bib-matches, reftex-format-citation)
91 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
92 (reftex-create-bibtex-file): Add docstrings, mostly by converting
93 existing comments into docstrings.
94
95 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
96
97 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
98
99 2013-06-12 Andreas Schwab <schwab@suse.de>
100
101 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
102 for auto-save files.
103
104 2013-06-12 Glenn Morris <rgm@gnu.org>
105
106 * ido.el (ido-delete-ignored-files): Remove.
107 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
108 Go back to calling ido-ignore-item-p directly.
109
110 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
111
112 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
113
114 * ido.el (ido-delete-ignored-files): New function,
115 split from ido-make-file-list-1.
116 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
117 (ido-make-file-list-1): Use ido-delete-ignored-files.
118
119 2013-06-12 Leo Liu <sdl.web@gmail.com>
120
121 * progmodes/octave.el (inferior-octave-startup)
122 (inferior-octave-completion-table)
123 (inferior-octave-track-window-width-change)
124 (octave-eldoc-function-signatures, octave-help)
125 (octave-find-definition): Use single quoted strings.
126 (inferior-octave-startup-args): Change default value.
127 (inferior-octave-startup): Do not hard code "-i" and
128 "--no-line-editing".
129 (inferior-octave-resync-dirs): Add optional arg NOERROR.
130 (inferior-octave-directory-tracker): Use it.
131 (octave-goto-function-definition): Robustify.
132 (octave-help): Support highlighting operators in 'See also'.
133 (octave-find-definition): Find subfunctions only in Octave mode.
134
135 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
136
137 * help-fns.el (help-fns--compiler-macro): If the handler function is
138 named, then put a link to it.
139 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
140 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
141 (cl-typep): Use it.
142 (cl-eval-when): Simplify debug spec.
143 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
144 compiler-macro function instead of setting `compiler-macro-file'.
145
146 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
147 Daniel Hackney <dan@haxney.org>
148
149 First part of Daniel Hackney's patch to package.el.
150 * emacs-lisp/package.el: Use defstruct.
151 (package-desc): New, main struct.
152 (package--bi-desc, package--ac-desc): New structs, used to describe the
153 format in external files.
154 (package-desc-vers): Replace with package-desc-version accessor.
155 (package-desc-doc): Replace with package-desc-summary accessor.
156 (package-activate-1): Remove `package' arg since the pkg-vec now
157 includes the name.
158 (define-package): Use package-desc-from-define.
159 (package-unpack-single): Change file-name arg to be a symbol.
160 (package--add-to-archive-contents): Use package-desc-create and new
161 accessor functions to package--ac-desc.
162 (package-buffer-info, package-tar-file-info): Return a package-desc.
163 (package-install-from-buffer): Remove `type' argument. Change pkg-info
164 arg to be a package-desc.
165 (package-install-file): Adjust accordingly. Use \' to match EOS.
166 (package--from-builtin): New function.
167 (describe-package-1, package-menu--generate): Use it.
168 (package--make-autoloads-and-compile): Change name arg to be a symbol.
169 (package-generate-autoloads): Idem and return the name of the file.
170 * emacs-lisp/package-x.el (package-upload-buffer-internal):
171 Change pkg-info arg to be a package-desc.
172 Use package-make-ac-desc.
173 (package-upload-file): Use \' to match EOS.
174 * finder.el (finder-compile-keywords): Use package-make-builtin.
175
176 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
177
178 * vc/vc.el (vc-deduce-fileset): Change error message.
179 (vc-read-backend): New function.
180 (vc-next-action): Use it.
181
182 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
183
184 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
185 (prolog-font-lock-keywords): Use regexp-opt instead.
186 Don't manually highlight strings.
187 (prolog-mode-variables): Simplify comment-start-skip.
188 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
189
190 * emacs-lisp/generic.el (generic--normalise-comments)
191 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
192 (generic-mode-set-comments): Use them.
193 (generic-bracket-support): Use setq-local.
194 (generic-make-keywords-list): Declare obsolete.
195
196 2013-06-11 Glenn Morris <rgm@gnu.org>
197
198 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
199 Prettify after setting font-lock-defaults. (Bug#14574)
200
201 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
202
203 * replace.el (query-replace, occur-read-regexp-defaults-function)
204 (replace-search):
205 * subr.el (declare-function, number-sequence, local-set-key)
206 (substitute-key-definition, locate-user-emacs-file)
207 (with-silent-modifications, split-string, eval-after-load):
208 Fix typos, remove unneeded backslashes and reflow some docstrings.
209
210 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
211
212 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
213 default for Elisp files.
214
215 2013-06-11 Glenn Morris <rgm@gnu.org>
216
217 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
218 although define-derived-mode was doing this anyway. (Bug#14583)
219
220 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
221
222 * allout.el (allout-encryption-plaintext-sanitization-regexps):
223 Fix make-variable-buffer-local call to refer to the correct variable.
224
225 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
226
227 * eshell/em-term.el (eshell-visual-commands)
228 (eshell-visual-subcommands, eshell-visual-options):
229 Add summary line to docstrings. Add cross-references.
230
231 2013-06-10 Glenn Morris <rgm@gnu.org>
232
233 * epa.el (epa-read-file-name): New function. (Bug#14510)
234 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
235
236 2013-06-09 Xue Fuqiao <xfq.free@gmail.com>
237
238 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
239 * vc/vc-hooks.el (vc-stay-local): Doc fix.
240
241 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
242
243 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
244 output redirection to be ignored with visual commands.
245
246 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
247
248 * eshell/em-term.el (eshell-visual-command-p): New function.
249 (eshell-term-initialize): Move long lambda to separate function
250 eshell-visual-command-p.
251 * eshell/em-dirs.el (eshell-dirs-initialise):
252 * eshell/em-script.el (eshell-script-initialize):
253 Add missing #' to lambda.
254
255 2013-06-08 Leo Liu <sdl.web@gmail.com>
256
257 * progmodes/octave.el (octave-add-log-current-defun): New function.
258 (octave-mode): Set add-log-current-defun-function.
259 (octave-goto-function-definition): Do not move point if not found.
260 (octave-find-definition): Enhance to try subfunctions first.
261
262 2013-06-08 Glenn Morris <rgm@gnu.org>
263
264 * emacs-lisp/bytecomp.el (byte-compile-char-before)
265 (byte-compile-backward-char, byte-compile-backward-word):
266 Improve previous change, to handle non-explicit nil.
267
268 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
269
270 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
271 (smie--opener/closer-at-point): New function.
272 (smie--matching-block-data): Use it. Don't match from right after an
273 opener or right before a closer. Obey smie-blink-matching-inners.
274 Don't signal a mismatch for repeated inners like "switch..case..case".
275
276 2013-06-07 Leo Liu <sdl.web@gmail.com>
277
278 * progmodes/octave.el (octave-mode): Set comment-use-global-state
279 to t. (Bug#14303)
280 (octave-function-header-regexp): Fix. (Bug#14570)
281 (octave-help-mode-finish-hook, octave-help-mode-finish):
282 Remove. Just use temp-buffer-show-hook.
283
284 * newcomment.el (comment-search-backward): Revert last change.
285 (Bug#14434)
286
287 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
288
289 2013-06-07 Eli Zaretskii <eliz@gnu.org>
290
291 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
292 through xargs, to avoid failure due to MS-Windows limitations on
293 command-line length.
294
295 2013-06-06 Glenn Morris <rgm@gnu.org>
296
297 * font-lock.el (lisp-font-lock-keywords-2):
298 Treat user-error like error.
299
300 * emacs-lisp/bytecomp.el (byte-compile-char-before)
301 (byte-compile-backward-char, byte-compile-backward-word):
302 Handle explicit nil arguments. (Bug#14565)
303
304 2013-06-05 Alan Mackenzie <acm@muc.de>
305
306 * isearch.el (isearch-allow-prefix): New user option.
307 (isearch-other-meta-char): Don't exit isearch when a prefix
308 argument is typed whilst `isearch-allow-prefix' is non-nil.
309 (Bug#9706)
310
311 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
312
313 * autorevert.el (auto-revert-notify-handler): Use memq.
314 Hide assertion failure.
315
316 * skeleton.el: Use cl-lib.
317 (skeleton-further-elements): Use defvar-local.
318 (skeleton-insert): Use cl-progv.
319
320 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
321
322 * progmodes/prog-mode.el (prog-prettify-symbols)
323 (prog-prettify-install): Update docstrings.
324
325 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
326
327 * simple.el: Move all the prog-mode code to prog-mode.el.
328 * progmodes/prog-mode.el: New file.
329 * loadup.el: Add prog-mode.el.
330
331 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
332
333 * simple.el (prog-prettify-symbols): Add version.
334 (prog-prettify-install): Add convenience function to prettify symbols.
335
336 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
337 (perl--augmented-font-lock-keywords-1)
338 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
339 variables and use it.
340
341 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
342 (cfengine3-mode): Remove unneeded variable and use it.
343
344 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
345 (lisp--augmented-font-lock-keywords-1)
346 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
347 Remove unneeded variables and use it.
348
349 2013-06-05 JoĂ£o TĂ¡vora <joaotavora@gmail.com>
350
351 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
352 to point when opening the connection. (Bug#14380)
353
354 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
355
356 * subr.el (load-history-regexp, load-history-filename-element)
357 (eval-after-load, after-load-functions, do-after-load-evaluation)
358 (eval-next-after-load, display-delayed-warnings)
359 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
360 definition of save-match-data.
361 (overriding-local-map): Remove accidental obsolescence declaration.
362
363 * emacs-lisp/edebug.el (edebug-result): Move before first use.
364
365 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
366
367 Generalize symbol prettify support to prog-mode and implement it
368 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
369 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
370 (prog--prettify-font-lock-compose-symbol)
371 (prog-prettify-font-lock-symbols-keywords): New variables and
372 functions to support symbol prettification.
373 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
374 (lisp--augmented-font-lock-keywords-1)
375 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
376 (lisp--prettify-symbols-alist): Implement prettify of lambda.
377 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
378 (cfengine3--prettify-symbols-alist, cfengine3-mode):
379 Implement prettify of -> => :: strings.
380 * progmodes/perl-mode.el (perl-prettify-symbols)
381 (perl--font-lock-compose-symbol)
382 (perl--font-lock-symbols-keywords): Move to prog-mode.
383 (perl--prettify-symbols-alist): Prettify -> => :: strings.
384 (perl-font-lock-keywords-1)
385 (perl-font-lock-keywords-2): Remove explicit prettify support.
386 (perl--augmented-font-lock-keywords)
387 (perl--augmented-font-lock-keywords-1)
388 (perl--augmented-font-lock-keywords-2, perl-mode):
389 Implement prettify support.
390
391 2013-06-05 Leo Liu <sdl.web@gmail.com>
392
393 Re-implement smie matching block highlight using
394 show-paren-data-function. (Bug#14395)
395 * emacs-lisp/smie.el (smie-matching-block-highlight)
396 (smie--highlight-matching-block-overlay)
397 (smie--highlight-matching-block-lastpos)
398 (smie-highlight-matching-block)
399 (smie-highlight-matching-block-mode): Remove.
400 (smie--matching-block-data-cache): New variable.
401 (smie--matching-block-data): New function.
402 (smie-setup): Use smie--matching-block-data for
403 show-paren-data-function.
404
405 * progmodes/octave.el (octave-mode-menu): Fix.
406 (octave-find-definition): Skip garbage lines.
407
408 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
409
410 Fix compilation error with simultaneous dynamic+lexical scoping.
411 Add warning when a defvar appears after the first let-binding.
412 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
413 (byte-compile-close-variables): Initialize it.
414 (byte-compile--declare-var): New function.
415 (byte-compile-file-form-defvar)
416 (byte-compile-file-form-define-abbrev-table)
417 (byte-compile-file-form-custom-declare-variable): Use it.
418 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
419 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
420 (byte-compile-bind): Handle dynamic bindings that shadow
421 lexical bindings.
422 (byte-compile-unbind): Make arg non-optional.
423 (byte-compile-let): Simplify.
424 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
425 (cconv--analyse-function, cconv-analyse-form): Populate it.
426 Protect byte-compile-bound-variables to limit the scope of defvars.
427 (cconv-analyse-form): Add missing rule for (defvar <foo>).
428 Remove unneeded rule for `declare'.
429
430 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
431 so as to avoid depending on cl-adjoin at run-time.
432 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
433
434 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
435 (macroexp--warn-and-return): Use it.
436
437 2013-06-05 Leo Liu <sdl.web@gmail.com>
438
439 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
440
441 2013-06-04 Leo Liu <sdl.web@gmail.com>
442
443 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
444 (compilation-auto-jump): Suppress the "Mark set" message to give
445 way to exit message.
446
447 2013-06-04 Alan Mackenzie <acm@muc.de>
448
449 Remove faulty optimisation from indentation calculation.
450 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
451 search limit based on 2000 characters back from indent-point.
452
453 2013-06-03 Tassilo Horn <tsdh@gnu.org>
454
455 * eshell/em-term.el (cl-lib): Require `cl-lib'.
456
457 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
458
459 * emacs-lisp/lisp.el: Use lexical-binding.
460 (lisp--local-variables-1, lisp--local-variables): New functions.
461 (lisp--local-variables-completion-table): New var.
462 (lisp-completion-at-point): Use it complete let-bound vars.
463
464 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
465 eagerly (bug#14422).
466
467 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
468
469 * autorevert.el (auto-revert-notify-enabled)
470 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
471 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
472 (auto-revert-notify-handler): Handle also gfilenotify.
473
474 * subr.el (file-notify-handle-event): New defun. Replacing ...
475 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
476 Remove.
477
478 2013-06-03 Juri Linkov <juri@jurta.org>
479
480 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
481 `M-s h .'. (Bug#14427)
482
483 * hi-lock.el (highlight-symbol-at-point): New alias for the new
484 command `hi-lock-face-symbol-at-point'.
485 (hi-lock-face-symbol-at-point): New command.
486 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
487 (hi-lock-menu): Add `highlight-symbol-at-point'.
488 (hi-lock-mode): Doc fix.
489
490 * isearch.el (isearch-forward-symbol-at-point): New command.
491 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
492 (isearch-highlight-regexp): Add a regexp which matches
493 words/symbols for word/symbol mode.
494
495 * subr.el (find-tag-default-bounds): New function with the body
496 mostly moved from `find-tag-default'.
497 (find-tag-default): Move most code to `find-tag-default-bounds',
498 call it and apply `buffer-substring-no-properties' afterwards.
499
500 2013-06-03 Tassilo Horn <tsdh@gnu.org>
501
502 * eshell/em-term.el (eshell-term-initialize):
503 Use `cl-intersection' rather than `intersection'.
504
505 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
506
507 * vc/log-view.el: Doc fix.
508 (log-view-mode-map): Copy keymap from `special-mode-map'.
509
510 2013-06-02 Eric Ludlam <zappo@gnu.org>
511
512 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
513 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
514 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
515 (eieio-unbound, eieio-default-superclass)
516 (eieio--define-field-accessors, method-static, method-before)
517 (method-primary, method-after, method-num-lists)
518 (method-generic-before, method-generic-primary)
519 (method-generic-after, method-num-slots)
520 (eieio-specialized-key-to-generic-key)
521 (eieio--check-type, class-v, class-p)
522 (eieio-class-name, define-obsolete-function-alias)
523 (eieio-class-parents-fast, eieio-class-children-fast)
524 (same-class-fast-p, class-constructor, generic-p)
525 (generic-primary-only-p, generic-primary-only-one-p)
526 (class-option-assoc, class-option, eieio-object-p)
527 (class-abstract-p, class-method-invocation-order)
528 (eieio-defclass-autoload-map, eieio-defclass-autoload)
529 (eieio-class-un-autoload, eieio-defclass)
530 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
531 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
532 (eieio--defgeneric-init-form, eieio-defgeneric-form)
533 (eieio-defgeneric-reset-generic-form)
534 (eieio-defgeneric-form-primary-only)
535 (eieio-defgeneric-reset-generic-form-primary-only)
536 (eieio-defgeneric-form-primary-only-one)
537 (eieio-defgeneric-reset-generic-form-primary-only-one)
538 (eieio-unbind-method-implementations)
539 (eieio--defmethod, eieio--typep)
540 (eieio-perform-slot-validation, eieio-validate-slot-value)
541 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
542 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
543 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
544 (eieio-slot-name-index, eieio-class-slot-name-index)
545 (eieio-set-defaults, eieio-initarg-to-attribute)
546 (eieio-attribute-to-initarg, eieio-c3-candidate)
547 (eieio-c3-merge-lists, eieio-class-precedence-c3)
548 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
549 (eieio-class-precedence-list, eieio-generic-call-methodname)
550 (eieio-generic-call-arglst, eieio-generic-call-key)
551 (eieio-generic-call-next-method-list)
552 (eieio-pre-method-execution-functions, eieio-generic-call)
553 (eieio-generic-call-primary-only, eieiomt-method-list)
554 (eieiomt-optimizing-obarray, eieiomt-install)
555 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
556 (eieio-generic-form, eieio-defmethod, make-obsolete)
557 (eieio-defgeneric, make-obsolete): Move to eieio-core.el
558 (defclass): Remove `eval-and-compile' from macro.
559 (call-next-method, shared-initialize): Instead of using
560 `scoped-class' variable, use new eieio--scoped-class, and
561 eieio--with-scoped-class.
562 (initialize-instance): Rename local variable 'scoped-class' to
563 'this-class' to remove ambiguitity from old global.
564
565 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
566 eieio.el.
567 (eieio--scoped-class-stack): New variable
568 (eieio--scoped-class): New fcn
569 (eieio--with-scoped-class): New scoping macro.
570 (eieio-defclass): Use pushnew instead of add-to-list.
571 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
572 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
573 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
574 `scoped-class' variable, use new eieio--scoped-class, and
575 eieio--with-scoped-class.
576
577 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
578
579 2013-06-02 Tassilo Horn <tsdh@gnu.org>
580
581 * eshell/esh-ext.el (eshell-external-command): Pass args to
582 `eshell-find-interpreter'.
583 (eshell-find-interpreter): Add new second parameter ARGS.
584
585 * eshell/em-script.el (eshell-script-initialize): Add second arg
586 to the function added as MATCH to `eshell-interpreter-alist'.
587
588 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
589 the function added as MATCH to `eshell-interpreter-alist'.
590
591 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
592 (eshell-visual-options): New defcustom.
593 (eshell-escape-control-x): Adapt docstring.
594 (eshell-term-initialize): Test `eshell-visual-subcommands' and
595 `eshell-visual-options' in addition to `eshell-visual-commands'.
596 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
597
598 2013-06-01 FabiĂ¡n Ezequiel Gallina <fgallina@gnu.org>
599
600 * progmodes/python.el (python-indent-block-enders): Add break,
601 continue and raise keywords.
602
603 2013-06-01 Glenn Morris <rgm@gnu.org>
604
605 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
606
607 Plain (f)boundp silences compilation warnings since Emacs 22.1.
608 * progmodes/cc-cmds.el (delete-forward-p):
609 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
610 * progmodes/cc-engine.el (buffer-syntactic-context):
611 * progmodes/cc-fonts.el (face-property-instance):
612 * progmodes/cc-mode.el (set-keymap-parents):
613 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
614 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
615 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
616 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
617 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
618
619 * progmodes/cc-vars.el (other): Emacs has this widget since
620 at least 21.1, so don't (re)define it.
621
622 * eshell/em-cmpl.el (eshell-cmpl-initialize):
623 Replace the obsolete alias pcomplete-arg-quote-list.
624
625 2013-06-01 Leo Liu <sdl.web@gmail.com>
626
627 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
628 punctuation syntax.
629 (inferior-octave-minimal-columns)
630 (inferior-octave-last-column-width): New variables.
631 (inferior-octave-track-window-width-change): New function.
632 (inferior-octave-mode): Adjust column width so that Octave output,
633 for example from 'ls', can fit into the window nicely.
634
635 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
636
637 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
638 Highlight expansions inside regexp literals.
639
640 2013-05-31 Glenn Morris <rgm@gnu.org>
641
642 * obsolete/sym-comp.el (symbol-complete):
643 Replace obsolete completion-annotate-function.
644
645 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
646
647 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
648
649 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
650 New function, checks if point is inside a literal that allows
651 expression expansion.
652 (ruby-syntax-propertize-expansion): Use it.
653 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
654 around the body.
655
656 2013-05-30 Juri Linkov <juri@jurta.org>
657
658 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
659 to "\M-si".
660 (isearch-invisible): New variable.
661 (isearch-forward): Doc fix.
662 (isearch-mode): Set `isearch-invisible'
663 to the value of `search-invisible'.
664 (isearch-toggle-case-fold): Doc fix.
665 (isearch-toggle-invisible): New command.
666 (isearch-query-replace): Let-bind `search-invisible'
667 to the value of `isearch-invisible'.
668 (isearch-search): Use `isearch-invisible' instead of
669 `search-invisible'. Let-bind `search-invisible'
670 to the value of `isearch-invisible'. (Bug#11378)
671
672 2013-05-30 Juri Linkov <juri@jurta.org>
673
674 * replace.el (perform-replace): Avoid `isearch-range-invisible'
675 call when `query-flag' is nil and `search-invisible' is non-nil.
676 (Bug#11746)
677
678 2013-05-30 Glenn Morris <rgm@gnu.org>
679
680 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
681
682 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
683 (cc-require): Suppress spurious "noruntime" warnings.
684 (cc-require-when-compile): Use fboundp, for sake of compiler.
685
686 * progmodes/cc-mode.el: Move load of cc-vars before that of
687 cc-langs (which in turn loads cc-vars), to quieten compiler.
688
689 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
690
691 * paren.el: Simplify the code.
692 (show-paren-mode): Always start the timer.
693 (show-paren--idle-timer): Rename from show-paren-idle-timer.
694 (show-paren--overlay, show-paren--overlay-1): Rename from
695 show-paren-overlay and show-paren-overlay-1, and initialize to an
696 overlay rather than to nil.
697 (show-paren-function): Misc cleanup and simplifications.
698
699 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
700
701 * paren.el (show-paren-data-function): New hook.
702 (show-paren--default): New function, extracted from show-paren-function.
703 (show-paren-function): Use show-paren-data-function.
704
705 2013-05-30 Glenn Morris <rgm@gnu.org>
706
707 * ielm.el (ielm-map, ielm-complete-symbol):
708 Use completion-at-point rather than obsolete functions.
709 (inferior-emacs-lisp-mode): Doc fix.
710 Set completion-at-point-functions, rather than
711 comint-dynamic-complete-functions.
712
713 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
714 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
715 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
716
717 * image.el (image-animated-p): Tweak definition.
718
719 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
720 (rlogin-process-connection-type): Tweak default. Add set-after.
721 (rlogin-host): Doc fix.
722 (rlogin): Tweak prompt.
723 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
724
725 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
726 * progmodes/tcl.el (inferior-tcl-mode-map):
727 Use completion-at-point rather than obsolete alias.
728
729 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
730
731 * minibuffer.el (read-file-name-completion-ignore-case):
732 Move before completion--in-region, for eager macro expansion.
733
734 2013-05-29 Juri Linkov <juri@jurta.org>
735
736 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
737 for total count of matching lines. Add `global-matches' for total
738 count of matches. Rename `matches' to `lines' for count of
739 matching lines. Add `matches' for count of matches.
740 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
741 to `prev-line' for line number of prev match endpt.
742 Increment `matches' for every match. Print the number of
743 matching lines in the header.
744 (occur-context-lines): Rename `lines' to `curr-line'.
745 Rename `prev-lines' to `prev-line'. (Bug#14017)
746
747 2013-05-29 Juri Linkov <juri@jurta.org>
748
749 * replace.el (perform-replace): Add `skip-read-only-count',
750 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
751 Increment them for corresponding conditions and report the number
752 of skipped occurrences in the final message. (Bug#11746)
753 (query-replace, query-replace-regexp, query-replace-regexp-eval)
754 (replace-string, replace-regexp): Doc fix.
755
756 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
757
758 * emacs-lisp/trace.el (trace--read-args): Provide a default.
759
760 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
761 prog-mode-map (bug#14504).
762
763 2013-05-29 Leo Liu <sdl.web@gmail.com>
764
765 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
766 (octave-help): Small simplification.
767
768 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
769 off the highlight first.
770
771 2013-05-29 Glenn Morris <rgm@gnu.org>
772
773 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
774 Handle idlwave-last-system-routine-info-cons-cell being nil.
775
776 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
777 (idlwave-write-paths): Simplify via with-temp-buffer.
778
779 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
780 * emulation/cua-rect.el: Also load cua-base at run time.
781
782 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
783 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
784 (cperl-imenu-on-info): Require imenu.
785
786 2013-05-28 Alan Mackenzie <acm@muc.de>
787
788 Handle "capitalised keywords" correctly.
789 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
790
791 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
792
793 * eshell/em-unix.el: Add -r option to cp.
794
795 2013-05-28 Glenn Morris <rgm@gnu.org>
796
797 * vc/vc-arch.el (vc-exec-after): Declare.
798 (vc-switches): Autoload.
799 * vc/vc-bzr.el: No need to require vc when compiling.
800 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
801 (vc-resynch-buffer, vc-dir-refresh): Declare.
802 (vc-setup-buffer, vc-switches): Autoload.
803 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
804 (vc-resynch-buffer): Declare.
805 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
806 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
807 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
808 (grep-read-regexp, grep-read-files, grep-expand-template)
809 (vc-dir-refresh): Declare.
810 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
811 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
812 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
813 * vc/vc-mtn.el (vc-exec-after): Declare.
814 (vc-switches): Autoload.
815 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
816 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
817 (vc-file-tree-walk): Declare.
818 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
819 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
820 (vc-tag-precondition, vc-rename-master): Autoload.
821 * vc/vc-svn.el (vc-exec-after): Declare.
822 (vc-switches, vc-setup-buffer): Autoload.
823 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
824 Autoload.
825 (vc-resynch-buffer): Declare.
826
827 * obsolete/fast-lock.el (byte-compile-warnings):
828 Don't warn about obsolete features in this obsolete file.
829
830 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
831 Move definition before use.
832
833 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
834 (dun-unix-verbs): Remove dun-zippy.
835 (dun-zippy): Remove function.
836
837 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
838
839 2013-05-27 Juri Linkov <juri@jurta.org>
840
841 * replace.el (replace-search): New function with code moved out
842 from `perform-replace'.
843 (replace-highlight, replace-dehighlight): Move function definitions
844 up closer to `replace-search'. (Bug#11746)
845
846 2013-05-27 Juri Linkov <juri@jurta.org>
847
848 * replace.el (perform-replace): Ignore invisible matches.
849 In addition to checking `query-replace-skip-read-only', also
850 filter out matches by calling `run-hook-with-args-until-failure'
851 on `isearch-filter-predicates', and also check `search-invisible'
852 for t or call `isearch-range-invisible'.
853 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
854
855 2013-05-27 Juri Linkov <juri@jurta.org>
856
857 * isearch.el (isearch-filter-predicates): Rename from
858 `isearch-filter-predicate'. Doc fix. (Bug#11378)
859 (isearch-message-prefix): Display text from the property
860 `isearch-message-prefix' of the currently active filters.
861 (isearch-search): Don't compare `isearch-filter-predicate' with
862 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
863 on `isearch-filter-predicates'. Also check `search-invisible' for t
864 or call `isearch-range-invisible'.
865 (isearch-filter-visible): Make obsolete.
866 (isearch-lazy-highlight-search):
867 Call `run-hook-with-args-until-failure' on
868 `isearch-filter-predicates' and use `isearch-range-invisible'.
869
870 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
871 `isearch-filter-predicates' instead of `funcall'ing
872 `isearch-filter-predicate'.
873 (Info-mode): Set `Info-isearch-filter' to
874 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
875
876 * dired-aux.el (dired-isearch-filter-predicate-orig):
877 Remove variable.
878 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
879 (dired-isearch-filenames-end): Add and remove
880 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
881 instead of changing the value of `isearch-filter-predicate'.
882 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
883 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
884 Put property `isearch-message-prefix' to "filename " on
885 `dired-isearch-filter-filenames'.
886
887 * wdired.el (wdired-change-to-wdired-mode):
888 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
889 locally instead of changing `isearch-filter-predicate'.
890 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
891
892 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
893
894 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
895 return the commit hash (Bug#14459). Also set the
896 `vc-git-detached' property.
897 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
898 (vc-git-mode-line-string): Use the same help-echo format whether
899 in detached mode or not, because we know the actual revision now.
900 When in detached mode, shorten the revision to 7 chars.
901
902 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
903
904 * emacs-lisp/easy-mmode.el (define-minor-mode):
905 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
906 mode hook and provide a docstring.
907
908 2013-05-27 Alan Mackenzie <acm@muc.de>
909
910 Remove spurious syntax-table text properties inserted by C-y.
911 * progmodes/cc-mode.el (c-after-change): Also clear hard
912 syntax-table property with value nil.
913
914 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
915
916 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
917 when reading the events; the buffer layout shall not be changed.
918
919 2013-05-27 Leo Liu <sdl.web@gmail.com>
920
921 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
922 New variable.
923 (inferior-octave-directory-tracker): Automatically re-sync
924 default-directory.
925 (octave-help): Improve handling of 'See also'.
926
927 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
928
929 * doc-view.el: Minor naming convention tweaks.
930 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
931
932 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
933 even if there's no `display' property yet (bug#14435).
934
935 2013-05-25 Eli Zaretskii <eliz@gnu.org>
936
937 * subr.el (unmsys--file-name): Rename from reveal-filename.
938
939 * Makefile.in (custom-deps, finder-data, autoloads)
940 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
941 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
942 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
943
944 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
945
946 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
947 error-completion on the first 2 args of condition-case (bug#14446).
948 Don't burp at EOB.
949
950 2013-05-25 Leo Liu <sdl.web@gmail.com>
951
952 * comint.el (comint-previous-matching-input): Do not flood the
953 *Messages* buffer with trivial messages.
954
955 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
956
957 * progmodes/flymake.el (flymake-nop): Don't return a string.
958 (flymake-set-at): Fix typo.
959
960 * simple.el (read--expression): New function, extracted from
961 eval-expression. Set completion-at-point-functions (bug#14465).
962 (eval-expression, eval-minibuffer): Use it.
963
964 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
965
966 * progmodes/flymake.el (flymake-save-buffer-in-file)
967 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
968 (flymake-selected-frame, flymake-log, flymake-ins-after)
969 (flymake-set-at, flymake-get-buildfile-from-cache)
970 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
971 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
972 Refine the doc string.
973 (flymake-get-file-name-mode-and-masks): Reformat.
974 (flymake-get-real-file-name-function): Fix a minor bug.
975
976 2013-05-24 Juri Linkov <juri@jurta.org>
977
978 * progmodes/grep.el (grep-mode-font-lock-keywords):
979 Support =linenumber= format used by git-grep for lines with
980 function names. (Bug#13549)
981
982 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
983
984 * progmodes/octave.el (octave-smie-rules): Return nil rather than
985 0 after a semi-colon; it works better for smie-auto-fill.
986 (octave--indent-new-comment-line): New function.
987 (octave-indent-new-comment-line): Use it (indirectly).
988 (octave-mode): Don't disable smie-auto-fill. Use add-function to
989 modify comment-line-break-function.
990
991 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
992 (smie-setup): Use add-function to set it.
993
994 2013-05-24 Sam Steingold <sds@gnu.org>
995
996 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
997 argument (before the `interactive' argument).
998
999 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
1000
1001 * image-mode.el (image-mode-winprops): Add winprops to
1002 image-mode-winprops-alist before running
1003 image-mode-new-window-functions.
1004 * doc-view.el (doc-view-new-window-function): Don't delay
1005 doc-view-goto-page via timers (bug#14435).
1006
1007 2013-05-24 Tassilo Horn <tsdh@gnu.org>
1008
1009 * doc-view.el: Integrate with desktop.el. (Bug#14435)
1010 (doc-view-desktop-save-buffer): New function.
1011 (doc-view-restore-desktop-buffer): New function.
1012 (desktop-buffer-mode-handlers):
1013 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
1014 handler.
1015 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
1016 `desktop-save-buffer' function.
1017
1018 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
1019
1020 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
1021 (tramp-gvfs-file-name-handler): Raise a user error when
1022 `tramp-gvfs-enabled' is nil.
1023 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
1024 Do not raise a user error when loading package. (Bug#14447)
1025
1026 * net/xesam.el: Move to obsolete/.
1027
1028 2013-05-24 Glenn Morris <rgm@gnu.org>
1029
1030 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
1031
1032 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
1033
1034 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
1035 (Info-find-node, Man-getpage-in-background): Declare.
1036
1037 * mail/unrmail.el (unrmail):
1038 Replace obsolete detect-coding-with-priority.
1039
1040 * net/socks.el (socks-split-string): Use this rather than split-string.
1041 (socks-nslookup-host): Update for above change.
1042 (dynamic-choice, s5-dynamic-choice-match)
1043 (s5-dynamic-choice-match-inline, s5-widget-value-create):
1044 Comment out unused code.
1045
1046 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
1047 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
1048 (gud-tooltip-echo-area): Make obsolete.
1049 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
1050
1051 * progmodes/js.el (js--optimize-arglist): Declare.
1052
1053 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
1054
1055 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
1056 (ediff-window-C): Declare.
1057
1058 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
1059 Tweak requires to silence compiler.
1060
1061 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
1062 (he-search-string, he-tried-table, he-expand-list)
1063 (he-init-string, he-string-member, he-substitute-string)
1064 (he-reset-string): Declare.
1065
1066 * obsolete/options.el (list-options): Use custom-variable-p,
1067 rather than obsolete alias.
1068
1069 2013-05-23 Sam Steingold <sds@gnu.org>
1070
1071 * simple.el (shell-command-on-region): Pass the `replace' argument
1072 down to `call-process-region' to comply with the doc as reported on
1073 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
1074
1075 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
1076
1077 * emacs-lisp/smie.el (smie-indent-forward-token)
1078 (smie-indent-backward-token): Handle string tokens (bug#14381).
1079
1080 2013-05-23 RĂ¼diger Sonderfeld <ruediger@c-plusplus.de>
1081
1082 * ielm.el (ielm-menu): New menu.
1083 (inferior-emacs-lisp-mode): Set comment-start.
1084
1085 2013-05-23 RĂ¼diger Sonderfeld <ruediger@c-plusplus.de>
1086
1087 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
1088 Fix deactivate action.
1089
1090 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
1091 Add cleveref macros.
1092
1093 * lisp/textmodes/reftex-parse.el
1094 (reftex-locate-bibliography-files): Accept options for
1095 bibliography commands.
1096 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
1097 Add addbibresource. Basic Biblatex support.
1098
1099 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
1100
1101 * net/tramp-gvfs.el (top):
1102 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
1103 when loading package. (Bug#14447)
1104
1105 2013-05-23 Glenn Morris <rgm@gnu.org>
1106
1107 * progmodes/js.el: No need to load comint when compiling.
1108 (ring-insert, comint-send-string, comint-send-input)
1109 (comint-last-input-end, ido-chop): Declare.
1110
1111 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
1112 * vc/ediff-mult.el: Adjust requires.
1113 (ediff-directories-internal, ediff-directory-revisions-internal)
1114 (ediff-patch-file-internal): Declare.
1115 * vc/ediff-ptch.el: Adjust requires.
1116 (ediff-use-last-dir, ediff-buffers-internal): Declare.
1117 (ediff-find-file): Autoload.
1118 * vc/ediff-util.el: No need to load ediff when compiling.
1119 (ediff-regions-internal): Declare.
1120 * vc/ediff-wind.el: Adjust requires.
1121 (ediff-compute-toolbar-width): Define when compiling.
1122 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
1123 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
1124 (dired-get-filename, dired-get-marked-files)
1125 (ediff-last-dir-patch, ediff-patch-default-directory)
1126 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
1127 (ediff-patch-buffer-internal): Declare.
1128
1129 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
1130 (ispell-process, ispell-buffer-local-words, lm-summary)
1131 (lm-section-start, lm-section-end): Declare.
1132 (checkdoc-ispell-init): Simplify.
1133
1134 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
1135 (he-string-member, he-reset-string, he-substitute-string): Declare.
1136
1137 * eshell/em-ls.el: Adjust requires.
1138 (eshell-glob-regexp): Declare.
1139 * eshell/em-tramp.el: Adjust requires.
1140 (eshell-parse-command): Autoload.
1141 * eshell/em-xtra.el: Adjust requires.
1142 (eshell-parse-command): Autoload.
1143 * eshell/esh-ext.el: Adjust requires.
1144 (eshell-parse-command, eshell-close-handles): Autoload.
1145 * eshell/esh-io.el: Adjust requires.
1146 (eshell-output-filter): Autoload.
1147 * eshell/esh-util.el: No need to load tramp when compiling.
1148 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
1149 Declare.
1150 (eshell-parse-ange-ls): Require ange-ftp and tramp.
1151 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
1152 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
1153 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
1154 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
1155 * eshell/esh-opt.el, eshell/esh-proc.el:
1156 * eshell/esh-var.el: Adjust requires.
1157 * eshell/eshell.el: Do not require esh-util twice.
1158 (eshell-add-input-to-history): Declare.
1159 (eshell-command): Check history module is active before using it.
1160
1161 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
1162
1163 2013-05-22 Leo Liu <sdl.web@gmail.com>
1164
1165 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
1166
1167 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
1168
1169 * autorevert.el (auto-revert-notify-add-watch)
1170 (auto-revert-notify-handler): Add `attrib' for the inotify case,
1171 it indicates changes in file modification time.
1172
1173 2013-05-22 Glenn Morris <rgm@gnu.org>
1174
1175 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
1176 Always delete the autoloaded function from the noruntime and
1177 unresolved functions lists.
1178
1179 * allout.el: No need to load epa, epg, overlay when compiling.
1180 (epg-context-set-passphrase-callback, epg-list-keys)
1181 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
1182 (epg-key-user-id-list): Declare.
1183
1184 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
1185 (viper-set-parsing-style-toggling-macro)
1186 (viper-set-emacs-state-searchstyle-macros):
1187 Use called-interactively-p on Emacs.
1188 (viper-looking-back): Make it an obsolete alias. Update callers.
1189 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
1190 Use looking-back rather than viper-looking-back.
1191 (viper-tmp-insert-at-eob, viper-enlarge-region)
1192 (viper-read-string-with-history, viper-register-to-point)
1193 (viper-append-to-register, viper-change-state-to-vi)
1194 (viper-backward-char-carefully, viper-forward-char-carefully)
1195 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
1196 (viper-change-state-to-emacs): Declare.
1197 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
1198 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
1199 * emulation/viper-mous.el: Do not load viper-cmd.
1200 (viper-backward-char-carefully, viper-forward-char-carefully)
1201 (viper-forward-word, viper-adjust-window): Declare.
1202
1203 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
1204
1205 * progmodes/idlw-help.el (idlwave-help-fontify):
1206 Use called-interactively-p.
1207
1208 * term/w32console.el (w32-get-console-codepage)
1209 (w32-get-console-output-codepage): Declare.
1210
1211 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
1212 Remove unnecessary declarations.
1213 (dframe-message): Doc fix.
1214
1215 * info.el (dframe-select-attached-frame, dframe-current-frame):
1216 Declare.
1217
1218 * speedbar.el (speedbar-message): Make it an obsolete alias.
1219 Update all callers.
1220 (speedbar-with-attached-buffer)
1221 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
1222 (speedbar-with-writable): Use backquote.
1223 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
1224 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
1225 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
1226 rather than speedbar- aliases.
1227 * mail/rmail.el: Load dframe rather than speedbar when compiling.
1228 (speedbar-make-specialized-keymap, speedbar-insert-button)
1229 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
1230 (speedbar-do-function-pointer): Declare.
1231 (rmail-speedbar-button, rmail-speedbar-find-file)
1232 (rmail-speedbar-move-message):
1233 Use dframe-with-attached-buffer rather than speedbar- alias.
1234 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
1235 (dframe-message, speedbar-make-specialized-keymap)
1236 (speedbar-add-expansion-list, speedbar-mode-functions-list)
1237 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
1238 (speedbar-insert-button, dframe-select-attached-frame)
1239 (dframe-maybee-jump-to-attached-frame)
1240 (speedbar-change-initial-expansion-list)
1241 (speedbar-previously-used-expansion-list-name): Declare.
1242 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
1243 Use dframe-message, dframe-with-attached-buffer rather than
1244 speedbar- aliases.
1245 (gud-sentinel): Silence compiler.
1246 * progmodes/vhdl-mode.el (speedbar-refresh)
1247 (speedbar-do-function-pointer, speedbar-add-supported-extension)
1248 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
1249 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
1250 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
1251 (speedbar-file-lists, speedbar-make-tag-line)
1252 (speedbar-line-directory, speedbar-goto-this-file)
1253 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
1254 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
1255 (speedbar-make-button, speedbar-reset-scanners)
1256 (speedbar-files-item-info, speedbar-line-text)
1257 (speedbar-find-file-in-frame, speedbar-set-timer)
1258 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
1259 (speedbar-with-writable): Do not (re)define it.
1260 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
1261 rather than speedbar- alias.
1262
1263 2013-05-21 Leo Liu <sdl.web@gmail.com>
1264
1265 * progmodes/octave.el (octave-mode-menu): Update and re-organize
1266 menu items.
1267 (octave-mode): Tweak fill-nobreak-predicate.
1268 (inferior-octave-startup): Check process to avoid infinite loop.
1269 (inferior-octave): Pop to buffer first to show abornmal process
1270 exit information.
1271
1272 2013-05-21 Glenn Morris <rgm@gnu.org>
1273
1274 * printing.el (pr-menu-bar): Define when compiling.
1275
1276 2013-05-21 Leo Liu <sdl.web@gmail.com>
1277
1278 * progmodes/octave.el (octave-auto-fill): Remove.
1279 (octave-indent-new-comment-line): Improve.
1280 (octave-mode): Use auto fill mode through
1281 comment-line-break-function and fill-nobreak-predicate
1282 (octave-goto-function-definition): Support DEFUN_DLD.
1283 (octave-beginning-of-defun): Small Tweak
1284 (octave-help): Show parent directory.
1285
1286 2013-05-21 Glenn Morris <rgm@gnu.org>
1287
1288 * files.el (dired-unmark):
1289 * progmodes/gud.el (gdb-input): Update declarations.
1290
1291 * calculator.el (electric, ehelp): No need to load when compiling.
1292 (Electric-command-loop, electric-describe-mode): Declare.
1293
1294 * doc-view.el (doc-view-current-converter-processes): Move before use.
1295
1296 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
1297 Move MODE-set-explicitly definition before use.
1298
1299 * international/mule-diag.el (mule-diag):
1300 Don't use obsolete window-system-version.
1301
1302 * mail/feedmail.el (smtpmail): No need to load when compiling.
1303 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
1304
1305 * mail/mail-utils.el (rfc822): No need to load when compiling.
1306 (rfc822-addresses): Autoload it.
1307 (mail-strip-quoted-names): Trivial simplification.
1308
1309 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
1310 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
1311
1312 * net/snmp-mode.el (tempo): Don't duplicate requires.
1313
1314 * progmodes/prolog.el (info): No need to load when compiling.
1315 (comint): Require before shell requires it.
1316 (Info-goto-node): Autoload it.
1317 (Info-follow-nearest-node): Declare.
1318 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
1319
1320 * textmodes/artist.el (picture-mode-exit): Declare.
1321
1322 * textmodes/reftex-parse.el (reftex-parse-from-file):
1323 Trivial rewrite so the compiler can parse it better.
1324
1325 2013-05-20 Leo Liu <sdl.web@gmail.com>
1326
1327 * progmodes/octave.el (octave-help-mode-map)
1328 (octave-help-mode-finish-hook): New variables.
1329 (octave-help-mode, octave-help-mode-finish): New functions.
1330 (octave-help): Use octave-help-mode.
1331
1332 2013-05-20 Glenn Morris <rgm@gnu.org>
1333
1334 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
1335
1336 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
1337
1338 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
1339 start at point, so that expansion starting right after opening
1340 slash in a regexp is recognized.
1341 (ruby-syntax-before-regexp-re): New defvar, extracted from
1342 ruby-syntax-propertize-function. Since the value of this regexp
1343 is looked up at runtime now, we should be able to turn
1344 `ruby-syntax-methods-before-regexp' into a defcustom later.
1345 (ruby-syntax-propertize-function): Split regexp matching into two
1346 parts, for opening and closing slashes. That allows us to skip
1347 over string interpolations and support multiline regexps.
1348 Don't call `ruby-syntax-propertize-expansions', instead use another rule
1349 for them, which calls `ruby-syntax-propertize-expansion'.
1350 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
1351 call to `ruby-syntax-propertize-function'.
1352 (ruby-syntax-propertize-expansion): Extracted from
1353 `ruby-syntax-propertize-expansions'. Handles one expansion.
1354 (ruby-syntax-propertize-percent-literal): Leave point right after
1355 the percent symbol, so that the expression expansion rule can
1356 propertize the contents.
1357 (ruby-syntax-propertize-heredoc): Leave point at bol following the
1358 heredoc openers.
1359 (ruby-syntax-propertize-expansions): Remove.
1360
1361 2013-05-18 Juri Linkov <juri@jurta.org>
1362
1363 * man.el (Man-default-man-entry): Remove `-' from the end
1364 of the default value. (Bug#14400)
1365
1366 2013-05-18 Glenn Morris <rgm@gnu.org>
1367
1368 * comint.el (comint-password-prompt-regexp):
1369 Allow "password for XXX" where XXX contains colons (eg https://...).
1370
1371 2013-05-18 Leo Liu <sdl.web@gmail.com>
1372
1373 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
1374 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
1375 (octave-source-directories): Don't check process.
1376 (octave-source-directories, octave-find-definition): Doc fix.
1377
1378 2013-05-18 Glenn Morris <rgm@gnu.org>
1379
1380 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
1381 Remove backspace/delete bindings. (Bug#14392)
1382
1383 * cus-dep.el (custom-make-dependencies): Sort the output.
1384 (custom-versions-load-alist): Convert comment to doc.
1385
1386 2013-05-17 Leo Liu <sdl.web@gmail.com>
1387
1388 * newcomment.el (comment-search-backward): Stricter in finding
1389 comment start. (Bug#14303)
1390
1391 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
1392 (octave-comment-start-skip): Properly anchored.
1393
1394 2013-05-17 Leo Liu <sdl.web@gmail.com>
1395
1396 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
1397 Clean up when turned off. (Bug#14395)
1398 (smie--highlight-matching-block-overlay): No longer buffer-local.
1399 (smie-highlight-matching-block): Adjust.
1400
1401 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
1402
1403 Doc string fix for "nanoseconds" (Bug#14406).
1404 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
1405 Fix doc string typo that had "nanoseconds" instead of "microseconds".
1406
1407 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
1408
1409 * calc/calc-units.el (math-extract-units): Preserve powers
1410 of units.
1411
1412 2013-05-17 Leo Liu <sdl.web@gmail.com>
1413
1414 * subr.el (delete-consecutive-dups): New function.
1415 * ido.el (ido-set-matches-1): Use it.
1416 * progmodes/octave.el (inferior-octave-completion-table): Use it.
1417 * ido.el (ido-remove-consecutive-dups): Remove.
1418
1419 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
1420
1421 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
1422 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
1423 regexp-opt's `words'.
1424
1425 2013-05-16 Leo Liu <sdl.web@gmail.com>
1426
1427 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
1428 (smie--highlight-matching-block-overlay)
1429 (smie--highlight-matching-block-lastpos)
1430 (smie--highlight-matching-block-timer): New variables.
1431 (smie-highlight-matching-block): New function.
1432 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
1433 (smie-setup): Conditionally enable smie-blink-matching-open.
1434
1435 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
1436
1437 Sync with upstream verilog-mode r840.
1438 * progmodes/verilog-mode.el (verilog-mode-version)
1439 (verilog-mode-release-date): Update.
1440 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
1441 (verilog-sig-tieoff): Fix string error on
1442 AUTORESET with colon define, bug594. Reported by Andrew Hou.
1443 (verilog-read-decls): Fix parameters confusing
1444 AUTOINST interfaces, bug565. Reported by Leith Johnson.
1445
1446 2013-05-16 Eli Zaretskii <eliz@gnu.org>
1447
1448 * subr.el (reveal-filename): New function.
1449
1450 * loadup.el: Compute Emacs executable versions on MS-Windows,
1451 where executables have the .exe extension. Add a hard link
1452 emacs-XX.YY.ZZ.exe on MS-Windows.
1453
1454 * Makefile.in (XARGS_LIMIT): New variable.
1455 (custom-deps, finder-data, autoloads)
1456 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
1457 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
1458 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
1459 (compile-main): Limit xargs according to $(XARGS_LIMIT).
1460
1461 2013-05-16 Leo Liu <sdl.web@gmail.com>
1462
1463 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
1464 (octave-mode-menu, octave-mode-map): Remove its uses.
1465
1466 2013-05-16 Reto Zimmermann <reto@gnu.org>
1467
1468 Sync with upstream vhdl mode v3.34.2.
1469 * progmodes/vhdl-mode.el: Use `push' throughout.
1470 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
1471 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
1472 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
1473 (vhdl-actual-generic-name): New option to derive actual generic name.
1474 (vhdl-port-paste-signals): Replace formal by actual generics.
1475 (vhdl-beautify): New name for old group vhdl-align. Update users.
1476 (vhdl-beautify-options): New option.
1477 (vhdl-last-input-event): New compat alias. Use throughout.
1478 (vhdl-goto-line): Replace user level function `goto-line'.
1479 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
1480 vhdl-fix-statement-buffer.
1481 (vhdl-create-mode-menu): Add some entries.
1482 (vhdl-align-region-groups): Respect vhdl-beautify-options.
1483 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
1484 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
1485 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
1486 to force statements on one line.
1487 (vhdl-remove-trailing-spaces-region):
1488 New, split from vhdl-remove-trailing-spaces.
1489 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
1490 Respect vhdl-beautify-options.
1491 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
1492 (vhdl-update-sensitivity-list): Not add with index if exists without.
1493 Not include array index with signal. Ignore keywords in comments.
1494 (vhdl-get-visible-signals): Regexp tweaks.
1495 (vhdl-template-component-inst): Handle empty library.
1496 (vhdl-template-type): Add template for 'enum' type.
1497 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
1498 Use vhdl-replace-string.
1499 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
1500 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
1501 (vhdl-speedbar-initialize): Update for above name change.
1502 (vhdl-compose-wire-components): Fix in handling of constants.
1503 (vhdl-error-regexp-emacs-alist): New variable.
1504 (vhdl-error-regexp-add-emacs): New function;
1505 adds support for new compile.el (Emacs 22+)
1506 (vhdl-generate-makefile-1): Change target order for single lib. units.
1507 Allow use of absolute file names.
1508
1509 2013-05-16 Leo Liu <sdl.web@gmail.com>
1510
1511 * simple.el (prog-indent-sexp): Indent enclosing defun.
1512
1513 2013-05-15 Glenn Morris <rgm@gnu.org>
1514
1515 * cus-start.el (show-trailing-whitespace): Move to editing basics.
1516 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
1517 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
1518 (whitespace-highlight): Move to whitespace group.
1519
1520 * comint.el (comint-source):
1521 * pcmpl-linux.el (pcmpl-linux):
1522 * shell.el (shell-faces):
1523 * eshell/esh-opt.el (eshell-opt):
1524 * international/ccl.el (ccl): Remove empty custom groups.
1525
1526 * completion.el (dynamic-completion-mode):
1527 * jit-lock.el (jit-lock-debug-mode):
1528 * minibuffer.el (completion-in-region-mode):
1529 * type-break.el (type-break-mode-line-message-mode)
1530 (type-break-query-mode):
1531 * emulation/tpu-edt.el (tpu-edt-mode):
1532 * progmodes/subword.el (global-subword-mode, global-superword-mode):
1533 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
1534 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
1535
1536 * term/xterm.el (xterm): Change parent group to terminals.
1537
1538 * master.el (master): Remove empty custom group.
1539 (master-mode): Remove unused :group argument.
1540 * textmodes/refill.el (refill): Remove empty custom group.
1541 (refill-mode): Remove unused :group argument.
1542
1543 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
1544
1545 * cus-dep.el: Provide a feature.
1546 (custom-make-dependencies): Ignore dotfiles (dir-locals).
1547 Don't mistakenly ignore files whose basenames match a basename
1548 from preloaded-file-list (eg cedet/ede/simple.el).
1549 Add a fallback method for getting :group.
1550
1551 2013-05-15 Juri Linkov <juri@jurta.org>
1552
1553 * isearch.el (isearch-char-by-name): Rename from
1554 `isearch-insert-char-by-name'. Doc fix.
1555 (isearch-forward): Mention `isearch-char-by-name' in
1556 the docstring. (Bug#13348)
1557
1558 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
1559 `exit-minibuffer' instead of
1560 `isearch-nonincremental-exit-minibuffer'.
1561 (isearch-edit-string): Remove mention of
1562 `isearch-nonincremental-exit-minibuffer' from docstring.
1563 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
1564 (isearch-forward-exit-minibuffer)
1565 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
1566
1567 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
1568
1569 * loadup.el: Just use unversioned DOC.
1570
1571 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
1572 literals as extending to EOB.
1573 (nxml-last-fontify-end): Remove unused variable.
1574 (nxml-after-change1): Use with-silent-modifications.
1575 (nxml-extend-after-change-region): Simplify.
1576 (nxml-extend-after-change-region1): Remove function.
1577 (nxml-after-change1): Don't adjust for dependent regions.
1578 (nxml-fontify-matcher): Simplify.
1579 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
1580 (xmltok-add-dependent): Remove function.
1581 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
1582 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
1583 (xmltok-scan-prolog-after-processing-instruction-open): Treat
1584 unclosed <[[, <?, comment, and other literals as extending to EOB.
1585 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
1586 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
1587 Remove functions.
1588 (rng-do-some-validation-1): Don't mark dependent regions.
1589 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
1590 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
1591 (nxml-clear-dependent-regions): Remove functions.
1592 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
1593 (nxml-ensure-scan-up-to-date):
1594 Don't clear&mark dependent regions.
1595
1596 2013-05-15 Leo Liu <sdl.web@gmail.com>
1597
1598 * progmodes/octave.el (octave-goto-function-definition):
1599 Improve and fix callers.
1600
1601 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
1602
1603 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
1604 the setter (bug#14387).
1605
1606 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
1607 surrounding group (bug#14402).
1608
1609 2013-05-14 Juri Linkov <juri@jurta.org>
1610
1611 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
1612 (Bug#14390)
1613
1614 2013-05-14 Glenn Morris <rgm@gnu.org>
1615
1616 * progmodes/f90.el (f90-imenu-generic-expression):
1617 Fix typo in 2013-05-08 change. (Bug#14402)
1618
1619 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
1620
1621 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
1622 Remove signals for which replies are never received.
1623
1624 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
1625
1626 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
1627 (gdb-handler-alist, gdb-handler-number): Remove variables.
1628 (gdb-handler-list): New variable.
1629 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
1630 (gdb-pending-handler-p, gdb-handle-reply)
1631 (gdb-remove-all-pending-triggers): New functions.
1632 (gdb-discard-unordered-replies): New defcustom.
1633 (gdb-handler): New defstruct.
1634 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
1635 instead of gdb-pending-triggers. Update docstring.
1636 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
1637 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
1638 (gdb-var-update-handler, def-gdb-auto-update-trigger)
1639 (def-gdb-auto-update-handler, gdb-get-changed-registers)
1640 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
1641 (gdb-frame-handler): Pending triggers are now automatically managed.
1642 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
1643 Remove argument.
1644 (gdb-input): Automatically handles pending triggers. Update docstring.
1645 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
1646 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
1647 Update comments.
1648 (gdb-done-or-error): Now use gdb-handle-reply.
1649
1650 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
1651
1652 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
1653 gdb-debug-log.
1654
1655 2013-05-14 Glenn Morris <rgm@gnu.org>
1656
1657 * subr.el (user-emacs-directory-warning): New option.
1658 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
1659
1660 2013-05-14 Leo Liu <sdl.web@gmail.com>
1661
1662 * progmodes/octave.el (octave-font-lock-keywords): Fix error
1663 during redisplay.
1664 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
1665 (octave-font-lock-texinfo-comment): Fix invalid search bound
1666 error: wrong side of point.
1667
1668 2013-05-14 Glenn Morris <rgm@gnu.org>
1669
1670 * progmodes/flymake.el (flymake-xml-program): New option.
1671 (flymake-xml-init): Use it.
1672
1673 * term/xterm.el: Provide a feature.
1674
1675 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
1676
1677 2013-05-13 Glenn Morris <rgm@gnu.org>
1678
1679 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
1680 Add compat aliases as a hack workaround. (Bug#14384)
1681
1682 2013-05-13 Leo Liu <sdl.web@gmail.com>
1683
1684 * progmodes/octave.el (octave-indent-comment): Fix indentation for
1685 ###, and %!.
1686 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
1687 C-M-q.
1688 (octave-comment-start-skip): Include %!.
1689 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
1690
1691 2013-05-12 Leo Liu <sdl.web@gmail.com>
1692
1693 * progmodes/octave.el (inferior-octave-startup): Store the value
1694 of __octave_srcdir__ for octave-source-directories.
1695 (inferior-octave-check-process): New function refactored out of
1696 inferior-octave-send-list-and-digest.
1697 (octave-source-directories)
1698 (octave-find-definition-filename-function): New variables.
1699 (octave-source-directories)
1700 (octave-find-definition-default-filename): New functions.
1701 (octave-find-definition): Improve to find functions implemented in C++.
1702
1703 2013-05-12 Glenn Morris <rgm@gnu.org>
1704
1705 * calendar/diary-lib.el (diary-outlook-format-1):
1706 Don't include dayname in the output. (Bug#14349)
1707
1708 2013-05-11 Glenn Morris <rgm@gnu.org>
1709
1710 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
1711
1712 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
1713 Treat cc-provide like provide.
1714
1715 2013-05-11 Kevin Ryde <user42@zip.com.au>
1716
1717 * cus-dep.el (custom-make-dependencies):
1718 Use generated-autoload-load-name for the sake of files such
1719 such cedet/semantic/bovine/c.el, where the base file name
1720 is not in load-path. (Bug#5277)
1721
1722 2013-05-11 Glenn Morris <rgm@gnu.org>
1723
1724 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
1725 Provide features.
1726
1727 2013-05-11 Leo Liu <sdl.web@gmail.com>
1728
1729 * progmodes/octave.el (octave-indent-comment): Improve.
1730 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
1731 (octave-eldoc-function-signatures, octave-eldoc-function):
1732 New functions.
1733 (octave-mode, inferior-octave-mode): Add eldoc support.
1734
1735 2013-05-11 Richard Stallman <rms@gnu.org>
1736
1737 * epa.el (epa-decrypt-file): Take output file name as argument
1738 and read it using `interactive'.
1739
1740 2013-05-11 Leo Liu <sdl.web@gmail.com>
1741
1742 * progmodes/octave.el (octave-beginning-of-line)
1743 (octave-end-of-line): Check before using up-list because it jumps
1744 out of more syntactic contructs since moving to smie.
1745 (octave-indent-comment): New function.
1746 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
1747 (octave-begin-keywords, octave-end-keywords)
1748 (octave-reserved-words, octave-smie-bnf-table)
1749 (octave-smie-rules): Add new keywords from Octave 3.6.4.
1750
1751 2013-05-11 Glenn Morris <rgm@gnu.org>
1752
1753 * faces.el (internal-face-x-get-resource):
1754 * frame.el (ns-display-monitor-attributes-list):
1755 * calc/calc-aent.el (math-to-radians-2): Fix declarations.
1756
1757 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
1758
1759 * calc/calc-menu.el: Make it loadable in isolation.
1760
1761 * net/eudcb-bbdb.el: Make it loadable without bbdb.
1762 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
1763 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
1764 (eudc-bbdb-query-internal): Require 'bbdb.
1765
1766 * lpr.el (lpr-headers-switches):
1767 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
1768
1769 * progmodes/sql.el (sql-login-params): Fix and improve :type.
1770
1771 * emulation/edt-mapper.el: In batch mode, error rather than hang.
1772
1773 * term.el (term-set-escape-char): Make it idempotent.
1774
1775 2013-05-10 Leo Liu <sdl.web@gmail.com>
1776
1777 * progmodes/octave.el (inferior-octave-completion-table):
1778 No longer a function and all uses changed. Use cache to speed up
1779 completion due to bug#11906.
1780 (octave-beginning-of-defun): Re-write to be more general.
1781
1782 2013-05-10 Glenn Morris <rgm@gnu.org>
1783
1784 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
1785
1786 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1787
1788 * comint.el (comint-redirect-send-command-to-process): Use :around
1789 rather than :override for comint-redirect-filter.
1790 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
1791 Call it instead of comint-redirect-original-filter-function (which
1792 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
1793
1794 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
1795
1796 * frame.el (display-monitor-attributes-list): Add NS case.
1797 (ns-display-monitor-attributes-list): Declare.
1798
1799 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
1800
1801 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
1802
1803 2013-05-09 Glenn Morris <rgm@gnu.org>
1804
1805 * international/fontset.el (vertical-centering-font-regexp):
1806 Set standard-value.
1807
1808 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
1809
1810 * bookmark.el (bookmark-search-delay):
1811 * cus-start.el (vertical-centering-font-regexp):
1812 * ps-mule.el (ps-mule-font-info-database-default):
1813 * ps-print.el (ps-default-fg, ps-default-bg):
1814 * type-break.el (type-break-good-break-interval):
1815 * whitespace.el (whitespace-indentation-regexp)
1816 (whitespace-space-after-tab-regexp):
1817 * emacs-lisp/testcover.el (testcover-1value-functions)
1818 (testcover-noreturn-functions, testcover-progn-functions)
1819 (testcover-prog1-functions):
1820 * emulation/viper-init.el (viper-emacs-state-cursor-color):
1821 * eshell/em-glob.el (eshell-glob-translate-alist):
1822 * play/tetris.el (tetris-tty-colors):
1823 * progmodes/cpp.el (cpp-face-default-list):
1824 * progmodes/flymake.el (flymake-allowed-file-name-masks):
1825 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
1826 (idlwave-help-browser-generic-args):
1827 * progmodes/make-mode.el (makefile-special-targets-list):
1828 * progmodes/python.el (python-shell-virtualenv-path):
1829 * progmodes/verilog-mode.el (verilog-active-low-regexp)
1830 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
1831 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
1832 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
1833 * textmodes/reftex-vars.el (reftex-format-label-function):
1834 * textmodes/remember.el (remember-diary-file): Fix custom types.
1835
1836 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
1837 Add :version.
1838
1839 2013-05-09 Leo Liu <sdl.web@gmail.com>
1840
1841 * progmodes/octave.el (inferior-octave-completion-at-point):
1842 Restore file completion. (Bug#14300)
1843 (inferior-octave-startup): Fix incorrect highlighting for the
1844 first prompt.
1845
1846 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
1847
1848 * progmodes/ruby-mode.el: First cut at SMIE support.
1849 (ruby-use-smie): New var.
1850 (ruby-smie-grammar): New constant.
1851 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
1852 (ruby-smie--forward-token, ruby-smie--backward-token)
1853 (ruby-smie-rules): New functions.
1854 (ruby-mode-variables): Setup SMIE if applicable.
1855
1856 2013-05-08 Eli Zaretskii <eliz@gnu.org>
1857
1858 * simple.el (line-move-visual): Signal beginning/end of buffer
1859 only if vertical-motion moved less than it was requested. Avoids
1860 silly incorrect error messages when there are display strings with
1861 multiple newlines at EOL.
1862
1863 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
1864
1865 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
1866 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
1867 (prolog-char-quote-workaround):
1868 * progmodes/cperl-mode.el (cperl-under-as-char):
1869 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
1870 Mark as obsolete.
1871 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
1872 their declaration.
1873 (vhdl-mode-syntax-table-init): Remove.
1874
1875 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
1876 last change.
1877
1878 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
1879 syntax for "_".
1880 (ld-script-font-lock-keywords):
1881 Change regexps to use things like \_< and \_>.
1882
1883 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
1884 Change all regexps to use things like \_< and \_>.
1885
1886 * progmodes/autoconf.el (autoconf-definition-regexp)
1887 (autoconf-font-lock-keywords, autoconf-current-defun-function):
1888 Handle a _ with symbol syntax.
1889 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
1890
1891 * progmodes/ada-mode.el (ada-mode-abbrev-table):
1892 Consolidate declaration.
1893 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
1894 the declaration.
1895 (ada-create-syntax-table): Remove.
1896 (ada-capitalize-word): Don't mess with the syntax of "_" since it
1897 already has the right syntax nowadays.
1898 (ada-goto-next-word): Don't change the syntax of "_".
1899
1900 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
1901 with-wrapper-hook.
1902
1903 2013-05-08 Sam Steingold <sds@gnu.org>
1904
1905 * thingatpt.el (thing-at-point): Accept optional second argument
1906 NO-PROPERTIES to strip the text properties from the return value.
1907 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
1908 to `thing-at-point' instead of stripping the properties ourselves.
1909 Also, when `thing-at-point' fails to find a url, prepend "http://"
1910 to the filename at point on the assumption that the user is
1911 pointing at something like gnu.org/gnu.
1912
1913 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
1914
1915 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
1916 * faces.el (crm-separator):
1917 Silence byte-compiler.
1918
1919 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
1920 (tool-bar-map): Remove unneeded defvars.
1921
1922 2013-05-08 Leo Liu <sdl.web@gmail.com>
1923
1924 Re-work a fix for bug#10994 based on Le Wang's patch.
1925 * ido.el (ido-remove-consecutive-dups): New helper.
1926 (ido-completing-read): Use it.
1927 (ido-chop): Revert fix for bug#10994.
1928
1929 2013-05-08 Adam Spiers <emacs@adamspiers.org>
1930
1931 * cus-edit.el (custom-save-variables):
1932 Pretty-print long values. (Bug#14187)
1933
1934 2013-05-08 Glenn Morris <rgm@gnu.org>
1935
1936 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
1937 (m4-mode-syntax-table): Init in the defvar.
1938 (m4-mode-abbrev-table): Let define-derived-mode define it.
1939
1940 2013-05-08 Tom Tromey <tromey@redhat.com>
1941
1942 * progmodes/m4-mode.el (m4-mode-syntax-table):
1943 Do not treat "_" as word constituent. (Bug#14167)
1944
1945 2013-05-07 Glenn Morris <rgm@gnu.org>
1946
1947 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
1948 Remove explicit eshell-isearch-cancel-map.
1949
1950 * progmodes/f90.el (f90-smart-end-names): New option.
1951 (f90-smart-end): Doc fix.
1952 (f90-end-block-optional-name): New constant.
1953 (f90-block-match): Respect f90-smart-end-names.
1954
1955 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
1956
1957 * progmodes/octave.el (octave-smie-forward-token): Be more careful
1958 about implicit semi-colons (bug#14218).
1959
1960 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
1961
1962 * frame.el (display-monitor-attributes-list)
1963 (frame-monitor-attributes): New functions.
1964
1965 2013-05-06 Leo Liu <sdl.web@gmail.com>
1966
1967 * progmodes/octave.el (octave-syntax-propertize-function): Change
1968 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
1969 (octave-font-lock-keywords): Use octave-operator-regexp.
1970 (octave-completion-at-point): Rename from
1971 octave-completion-at-point-function.
1972 (inferior-octave-directory-tracker): Robustify.
1973 (octave-text-functions): Remove and fix its uses. No such things
1974 any more.
1975
1976 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
1977
1978 * emacs-lisp/trace.el (trace--display-buffer): New function.
1979 (trace-make-advice): Use it.
1980
1981 2013-05-06 Juri Linkov <juri@jurta.org>
1982
1983 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
1984 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
1985 Doc fix.
1986 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
1987 in the help string. (Bug#12985)
1988
1989 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
1990
1991 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
1992
1993 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
1994
1995 * progmodes/perl-mode.el: Add support for here documents.
1996 (perl-syntax-propertize-function): Match here-doc markers.
1997 (perl-syntax-propertize-special-constructs): Find their end.
1998 (perl-imenu-generic-expression): Use [:alnum:].
1999
2000 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
2001 (advice--add-function): Refresh the advice if already present
2002 (bug#14317).
2003
2004 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
2005
2006 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
2007
2008 2013-05-06 Glenn Morris <rgm@gnu.org>
2009
2010 * w32-fns.el (w32-charset-info-alist): Declare.
2011
2012 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
2013 of its defcustom properties.
2014 (eshell-cmpl-initialize): No need to load pcomplete.
2015
2016 * generic-x.el: No need to require comint when compiling.
2017
2018 * net/eudc-export.el: Make it loadable without bbdb.
2019 (top-level): Use require rather than load-library.
2020 (eudc-create-bbdb-record, eudc-bbdbify-phone)
2021 (eudc-batch-export-records-to-bbdb)
2022 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
2023 Require bbdb.
2024
2025 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
2026
2027 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
2028 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
2029 some tweaks, instead.
2030
2031 2013-05-05 Leo Liu <sdl.web@gmail.com>
2032
2033 * progmodes/octave.el (octave-font-lock-keywords)
2034 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
2035 (inferior-octave-send-list-and-digest): Improve error message.
2036 (octave-mode, inferior-octave-mode): Use setq-local.
2037 (octave-help): Set info-lookup-mode.
2038
2039 2013-05-05 Richard Stallman <rms@gnu.org>
2040
2041 * vc/compare-w.el (compare-windows-whitespace):
2042 Treat no-break space as whitespace.
2043
2044 * mail/rmailsum.el (rmail-summary-rmail-update):
2045 Detect empty summary and don't change selected message.
2046 (rmail-summary-goto-msg): Likewise.
2047
2048 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
2049 Doc fixes, rename args.
2050
2051 2013-05-05 Alan Mackenzie <acm@muc.de>
2052
2053 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
2054
2055 2013-05-05 Juri Linkov <juri@jurta.org>
2056
2057 * info.el (Info-read-subfile): Use (point-min) instead of (point)
2058 to not add the length of the summary segment to the return value.
2059 (Bug#14125)
2060
2061 2013-05-05 Leo Liu <sdl.web@gmail.com>
2062
2063 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
2064 (inferior-octave-output-filter): Remove.
2065 (octave-send-region, inferior-octave-startup): Fix callers.
2066 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
2067 (octave-binary-file-extensions): New user variable.
2068 (octave-find-definition): Confirm if opening binary files.
2069 (octave-help-file): Use octave-find-definition to get the binary
2070 confirmation.
2071 (octave-help): Adjust for octave-help-file change.
2072
2073 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
2074
2075 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
2076 Merge the two entries that handle function definitions.
2077 (pascal--syntax-propertize): New const.
2078 (pascal-mode): Use it. Use setq-local.
2079
2080 2013-05-04 Glenn Morris <rgm@gnu.org>
2081
2082 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
2083 (diary-from-outlook): Respect diary-from-outlook-function.
2084
2085 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
2086
2087 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
2088 Move the declaration from C.
2089 (read-minibuffer, eval-minibuffer): Move from C.
2090 (completion-setup-function): Avoid minibuffer-completion-contents.
2091
2092 2013-05-03 Leo Liu <sdl.web@gmail.com>
2093
2094 * progmodes/octave.el (octave-font-lock-keywords): Do not
2095 dehighlight 'end' in comments or strings.
2096 (octave-completing-read, octave-goto-function-definition):
2097 New helpers.
2098 (octave-help-buffer): New user variable.
2099 (octave-help-file, octave-help-function): New button types.
2100 (octave-help): New command and bind it to C-h ;.
2101 (octave-find-definition): New command and bind it to M-.
2102 (user-error): Alias to error if not defined.
2103
2104 2013-05-02 Leo Liu <sdl.web@gmail.com>
2105
2106 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
2107 for \. (bug#14332)
2108 (octave-font-lock-keywords): Include [ and {.
2109
2110 2013-05-02 Leo Liu <sdl.web@gmail.com>
2111
2112 * progmodes/octave.el (inferior-octave-startup-file): Change default.
2113 (inferior-octave): Remove calling comint-mode and return the buffer.
2114 (inferior-octave-startup): Cosmetic changes.
2115
2116 2013-05-02 Leo Liu <sdl.web@gmail.com>
2117
2118 * progmodes/octave.el (octave-syntax-propertize-function):
2119 Include the case when ' is at line beginning. (Bug#14336)
2120
2121 2013-05-02 Glenn Morris <rgm@gnu.org>
2122
2123 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
2124 * desktop.el (vc-dir-mode): Just autoload it here.
2125
2126 2013-05-02 Alan Mackenzie <acm@muc.de>
2127
2128 Eliminate variable c-standard-font-lock-fontify-region-function.
2129 * progmodes/cc-mode.el
2130 (c-standard-font-lock-fontify-region-function): Remove.
2131 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
2132
2133 2013-05-01 Leo Liu <sdl.web@gmail.com>
2134
2135 * progmodes/octave.el: Compatible with older emacs-24 releases.
2136 (inferior-octave-has-built-in-variables): Remove. Built-in
2137 variables were removed from Octave in 2007.
2138 (inferior-octave-startup): Fix uses.
2139 (comint-line-beginning-position): Remove compatibility code for
2140 emacs 21.
2141
2142 2013-05-01 Juri Linkov <juri@jurta.org>
2143
2144 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
2145
2146 2013-05-01 Juri Linkov <juri@jurta.org>
2147
2148 * comint.el (comint-previous-matching-input): Don't print message
2149 "History item: %d" when `isearch-mode' is active.
2150 (comint-history-isearch-message): Print message "History item: %d"
2151 when `comint-input-ring-index' is not empty and this function is
2152 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
2153
2154 2013-05-01 Leo Liu <sdl.web@gmail.com>
2155
2156 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
2157 definitions. Use completion-at-point to insert keywords.
2158 (octave-abbrev-start): Remove.
2159 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
2160
2161 2013-04-30 Leo Liu <sdl.web@gmail.com>
2162
2163 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
2164 change.
2165
2166 2013-04-30 Alan Mackenzie <acm@muc.de>
2167
2168 Handle arbitrarily long C++ member initialisation lists.
2169 * progmodes/cc-engine.el (c-back-over-member-initializers):
2170 new function.
2171 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
2172 (most) member init lists.
2173
2174 2013-04-30 RĂ¼diger Sonderfeld <ruediger@c-plusplus.de>
2175
2176 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
2177 variable.
2178
2179 2013-04-30 Leo Liu <sdl.web@gmail.com>
2180
2181 * progmodes/octave.el (octave-variables): Remove. No builtin
2182 variables any more. All converted to functions.
2183 (octave-font-lock-keywords, octave-completion-at-point-function):
2184 Fix uses.
2185 (octave-font-lock-texinfo-comment): New user variable.
2186 (octave-texinfo-font-lock-keywords): New variable for texinfo
2187 comment block.
2188 (octave-function-comment-block): New face.
2189 (octave-font-lock-texinfo-comment): New function.
2190 (octave-mode): Font lock texinfo comment block.
2191
2192 2013-04-29 Leo Liu <sdl.web@gmail.com>
2193
2194 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
2195 indexing expression.
2196 (octave-continuation-string): Do not use \.
2197 (inferior-octave-complete-impossible): Remove.
2198 (inferior-octave-completion-table)
2199 (inferior-octave-completion-at-point): Remove its uses.
2200 (inferior-octave-startup): completion_matches was introduced to
2201 Octave in 1996 so safe to assume it.
2202 (octave-function-file-comment): Improve to follow how Octave does it.
2203 (octave-update-function-file-comment): Tweak.
2204
2205 2013-04-29 Leo Liu <sdl.web@gmail.com>
2206
2207 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
2208 (inferior-octave-startup): Remove inferior-octave-startup-hook.
2209 (octave-function-file-comment): Fix typo.
2210 (octave-sync-function-file-names): Use read-char-choice.
2211
2212 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
2213
2214 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
2215 to t for the less important warnings.
2216
2217 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
2218
2219 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
2220
2221 2013-04-27 Glenn Morris <rgm@gnu.org>
2222
2223 * vc/log-view.el (log-view-current-entry):
2224 Treat "---" separator lines as part of the following rev. (Bug#14169)
2225
2226 2013-04-27 Juri Linkov <juri@jurta.org>
2227
2228 * subr.el (read-number): Doc fix about using it by interactive
2229 code letter `n'. (Bug#14254)
2230
2231 2013-04-27 Juri Linkov <juri@jurta.org>
2232
2233 * desktop.el (desktop-auto-save-timeout): New option.
2234 (desktop-file-checksum): New variable.
2235 (desktop-save): Add optional arg `auto-save' and don't auto-save
2236 if nothing changed.
2237 (desktop-auto-save-timer): New variable.
2238 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
2239 (after-init-hook): Call `desktop-auto-save-set-timer'.
2240 Suggested by Reuben Thomas <rrt@sc3d.org> in
2241 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
2242
2243 2013-04-27 Leo Liu <sdl.web@gmail.com>
2244
2245 * progmodes/octave.el (octave-function-file-p)
2246 (octave-skip-comment-forward, octave-function-file-comment)
2247 (octave-update-function-file-comment): New functions.
2248 (octave-mode-map): Bind C-c ; to
2249 octave-update-function-file-comment.
2250 (octave-mode-menu): Add octave-update-function-file-comment.
2251 (octave-mode, inferior-octave-mode): Fix doc-string.
2252 (octave-insert-defun): Conform to Octave's coding convention.
2253 (Bug#14285)
2254
2255 * files.el (basic-save-buffer): Don't let errors in
2256 before-save-hook prevent saving buffer.
2257
2258 2013-04-20 Roland Winkler <winkler@gnu.org>
2259
2260 * faces.el (read-face-name): Use completing-read if arg multiple
2261 is nil.
2262
2263 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
2264
2265 * ls-lisp.el (ls-lisp-insert-directory): If no files are
2266 displayed, move point to after the totals line.
2267 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
2268 for the details.
2269
2270 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
2271
2272 * emacs-lisp/package.el (package-autoload-ensure-default-file):
2273 Add current dir to the load-path.
2274 (package-generate-autoloads): Don't rely on
2275 autoload-ensure-default-file.
2276
2277 2013-04-26 Reuben Thomas <rrt@sc3d.org>
2278
2279 * textmodes/remember.el (remember-store-in-files): Document that
2280 the file name format is passed to `format-time-string'.
2281
2282 2013-04-26 Leo Liu <sdl.web@gmail.com>
2283
2284 * progmodes/octave.el (octave-sync-function-file-names): New function.
2285 (octave-mode): Use it in before-save-hook.
2286
2287 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
2288
2289 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
2290 (bug#14274).
2291
2292 * progmodes/octave.el (octave-smie-forward-token): Properly skip
2293 \n and comment, even if it's not an implicit ; (bug#14218).
2294
2295 2013-04-26 Glenn Morris <rgm@gnu.org>
2296
2297 * subr.el (read-number): Once more use `read' rather than
2298 `string-to-number', to trap non-numeric input. (Bug#14254)
2299
2300 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
2301
2302 * emacs-lisp/syntax.el (syntax-propertize-multiline):
2303 Use `syntax-multiline' text property consistently instead of
2304 `font-lock-multiline'. (Bug#14237)
2305
2306 2013-04-26 Glenn Morris <rgm@gnu.org>
2307
2308 * emacs-lisp/shadow.el (list-load-path-shadows):
2309 No longer necessary to check for duplicate simple.el, since
2310 2012-07-07 change to init_lread to not include installation lisp
2311 directories in load-path when running uninstalled. (Bug#14270)
2312
2313 2013-04-26 Leo Liu <sdl.web@gmail.com>
2314
2315 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
2316 (octave-mode, inferior-octave-mode): Use setq-local.
2317 (octave-not-in-string-or-comment-p): Rename to
2318 octave-in-string-or-comment-p.
2319 (octave-in-comment-p, octave-in-string-p)
2320 (octave-in-string-or-comment-p): Replace defsubst with defun.
2321
2322 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
2323
2324 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
2325
2326 2013-04-25 Bastien Guerry <bzg@gnu.org>
2327
2328 * textmodes/remember.el (remember-data-directory)
2329 (remember-directory-file-name-format): Fix custom types.
2330
2331 2013-04-25 Leo Liu <sdl.web@gmail.com>
2332
2333 * progmodes/octave.el (octave-completion-at-point-function):
2334 Make use of inferior octave process.
2335 (octave-initialize-completions): Remove.
2336 (inferior-octave-completion-table): New function.
2337 (inferior-octave-completion-at-point): Use it.
2338 (octave-completion-alist): Remove.
2339
2340 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
2341
2342 * progmodes/opascal.el: Use font-lock and syntax-propertize.
2343 (opascal-mode-syntax-table): New var.
2344 (opascal-literal-kind, opascal-is-literal-end)
2345 (opascal-literal-token-at): Rewrite.
2346 (opascal--literal-start-re, opascal-font-lock-keywords)
2347 (opascal--syntax-propertize): New constants.
2348 (opascal-font-lock-defaults): Adjust.
2349 (opascal-mode): Use them. Set comment-<foo> variables as well.
2350 (delphi-comment-face, opascal-comment-face, delphi-string-face)
2351 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
2352 (delphi-other-face, opascal-other-face): Remove face variables.
2353 (opascal-save-state): Remove macro.
2354 (opascal-fontifying-progress-step): Remove constant.
2355 (opascal--ignore-changes): Remove var.
2356 (opascal-set-token-property, opascal-parse-next-literal)
2357 (opascal-is-stable-literal, opascal-complete-literal)
2358 (opascal-is-literal-start, opascal-face-of)
2359 (opascal-parse-region, opascal-parse-region-until-stable)
2360 (opascal-fontify-region, opascal-after-change)
2361 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
2362 (opascal-debug-parse-region, opascal-debug-parse-window)
2363 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
2364 (opascal-debug-fontify-buffer): Remove.
2365 (opascal-debug-mode-map): Adjust accordingly.
2366
2367 2013-04-25 Leo Liu <sdl.web@gmail.com>
2368
2369 Merge octave-mod.el and octave-inf.el into octave.el with some
2370 cleanups.
2371 * progmodes/octave.el: New file renamed from octave-mod.el.
2372 * progmodes/octave-inf.el: Merged into octave.el.
2373 * progmodes/octave-mod.el: Renamed to octave.el.
2374
2375 2013-04-25 Tassilo Horn <tsdh@gnu.org>
2376
2377 * textmodes/reftex-vars.el
2378 (reftex-label-ignored-macros-and-environments): New defcustom.
2379
2380 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
2381
2382 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
2383
2384 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
2385 (smie-indent-keyword): Improve the check to ensure that the next
2386 comment is really on the same line.
2387 (smie-indent-comment): Don't align with a subsequent closer (or eob).
2388
2389 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
2390 semi-colons if the line is not otherwise empty (bug#14218).
2391
2392 2013-04-25 Glenn Morris <rgm@gnu.org>
2393
2394 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
2395
2396 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
2397
2398 * progmodes/opascal.el (opascal-set-token-property): Rename from
2399 opascal-set-text-properties and only set `token' (bug#14134).
2400 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
2401 (opascal-literal-text-properties): Remove.
2402 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
2403 Adjust callers.
2404
2405 2013-04-24 Reuben Thomas <rrt@sc3d.org>
2406
2407 * textmodes/remember.el (remember-handler-functions): Add an
2408 option for a new handler `remember-store-in-files'.
2409 (remember-data-directory, remember-directory-file-name-format):
2410 New options.
2411 (remember-store-in-files): New function to store remember notes
2412 as separate files within a directory.
2413
2414 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
2415
2416 * progmodes/compile.el (compilation-next-error-function):
2417 Pass "formats" to compilation-find-file (bug#11777).
2418
2419 2013-04-24 Glenn Morris <rgm@gnu.org>
2420
2421 * vc/vc-bzr.el (vc-bzr-print-log):
2422 * vc/vc-hg.el (vc-hg-print-log):
2423 * vc/vc-svn.el (vc-svn-print-log):
2424 Fix START-REVISION with LIMIT != 1. (Bug#14168)
2425
2426 * vc/vc-bzr.el (vc-bzr-print-log):
2427 * vc/vc-cvs.el (vc-cvs-print-log):
2428 * vc/vc-git.el (vc-git-print-log):
2429 * vc/vc-hg.el (vc-hg-print-log):
2430 * vc/vc-mtn.el (vc-mtn-print-log):
2431 * vc/vc-rcs.el (vc-rcs-print-log):
2432 * vc/vc-sccs.el (vc-sccs-print-log):
2433 * vc/vc-svn.el (vc-svn-print-log):
2434 * vc/vc.el (vc-print-log-internal): Doc fixes.
2435
2436 2013-04-23 Glenn Morris <rgm@gnu.org>
2437
2438 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
2439 Remove venerable code attempting to avoid substitute-command-keys.
2440
2441 2013-04-23 Tassilo Horn <tsdh@gnu.org>
2442
2443 * textmodes/reftex-vars.el (reftex-label-regexps):
2444 Call `reftex-compile-variables' after changes to this variable.
2445
2446 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
2447
2448 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
2449 Use lexical-binding.
2450 (jit-lock-force-redisplay): Use markers, check buffer's continued
2451 existence and beware narrowed buffers.
2452 (jit-lock-fontify-now): Adjust call accordingly.
2453
2454 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
2455
2456 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
2457 to avoid misleading the user.
2458
2459 2013-04-22 Leo Liu <sdl.web@gmail.com>
2460
2461 * info-look.el: Prefer latex2e.info. (Bug#14240)
2462
2463 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
2464
2465 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
2466
2467 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
2468 * net/tramp.el (tramp-call-process): ... here
2469 (tramp-set-completion-function, tramp-parse-putty):
2470 * net/tramp-adb.el (tramp-adb-execute-adb-command):
2471 * net/tramp-gvfs.el (tramp-gvfs-send-command):
2472 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
2473 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
2474 (tramp-call-local-coding-command): Use `tramp-call-process'
2475 instead of `tramp-compat-call-process'.
2476
2477 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
2478 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
2479 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
2480 (tramp-find-inline-compress): Improve traces.
2481 (tramp-maybe-send-script): Check for Perl binary.
2482 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
2483
2484 2013-04-22 Daiki Ueno <ueno@gnu.org>
2485
2486 * epg.el (epg-context-pinentry-mode): New function.
2487 (epg-context-set-pinentry-mode): New function.
2488 (epg--start): Pass --pinentry-mode option to gpg command.
2489
2490 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
2491
2492 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
2493 `comint-dynamic-complete' is obsolete since 24.1, replaced by
2494 `completion-at-point'. (Bug#13774)
2495
2496 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
2497 default key binding for `describe-distribution' has been moved to
2498 `C-h C-o'. (Bug#13970)
2499
2500 2013-04-21 Glenn Morris <rgm@gnu.org>
2501
2502 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
2503 Add doc strings.
2504 (vc-print-log): Clarify interactive prompt.
2505
2506 2013-04-20 Glenn Morris <rgm@gnu.org>
2507
2508 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
2509 No longer include timestamp etc information.
2510
2511 2013-04-20 Roland Winkler <winkler@gnu.org>
2512
2513 * faces.el (read-face-name): Bug fix, return just one face if arg
2514 multiple is nil. (Bug#14209)
2515
2516 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
2517
2518 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
2519 (remove-function): Autoload.
2520
2521 * comint.el (comint-redirect-original-filter-function): Remove.
2522 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
2523 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
2524 (vc-cvs-annotate-command):
2525 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
2526 * progmodes/prolog.el (prolog-consult-compile):
2527 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
2528 Use add/remove-function instead.
2529 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
2530 (gud-tooltip-process-output, gud-tooltip-tips):
2531 Use add/remove-function instead.
2532 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
2533 (scheme-interaction-mode, exit-scheme-interaction-mode):
2534 Use add/remove-function instead.
2535
2536 * vc/vc-dispatcher.el: Use lexical-binding.
2537 (vc--process-sentinel): Rename from vc-process-sentinel.
2538 Change last arg to be the code to run. Don't use vc-previous-sentinel
2539 and vc-sentinel-commands any more.
2540 (vc-exec-after): Allow code to be a function. Use add/remove-function.
2541 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
2542
2543 2013-04-19 Masatake YAMATO <yamato@redhat.com>
2544
2545 * progmodes/sh-script.el (sh-imenu-generic-expression):
2546 Handle function names with a single character. (Bug#14111)
2547
2548 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
2549
2550 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
2551 for subroutines defined in an eval (bug#14182).
2552
2553 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2554
2555 * bookmark.el (bookmark-completing-read): Improve handling of empty
2556 string (bug#14176).
2557
2558 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
2559
2560 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
2561
2562 2013-04-19 FabiĂ¡n Ezequiel Gallina <fgallina@gnu.org>
2563
2564 New faster Imenu implementation (bug#14058).
2565 * progmodes/python.el:
2566 (python-imenu-prev-index-position):
2567 (python-imenu-format-item-label-function)
2568 (python-imenu-format-parent-item-label-function)
2569 (python-imenu-format-parent-item-jump-label-function):
2570 New vars.
2571 (python-imenu-format-item-label)
2572 (python-imenu-format-parent-item-label)
2573 (python-imenu-format-parent-item-jump-label)
2574 (python-imenu--put-parent, python-imenu--build-tree)
2575 (python-imenu-create-index, python-imenu-create-flat-index)
2576 (python-util-popn): New functions.
2577 (python-mode): Set imenu-create-index-function to
2578 python-imenu-create-index.
2579
2580 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
2581
2582 * winner.el (winner-active-region): Use region-active-p, activate-mark
2583 and deactivate-mark (bug#14225).
2584
2585 * simple.el (deactivate-mark): Don't inline it.
2586
2587 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
2588
2589 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
2590
2591 2013-04-18 Tassilo Horn <tsdh@gnu.org>
2592
2593 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
2594 file extensions from the archive-mode entry in order to prefer
2595 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
2596
2597 2013-04-18 Leo Liu <sdl.web@gmail.com>
2598
2599 * bindings.el (help-event-list): Add ?\?.
2600
2601 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
2602
2603 * subr.el (with-wrapper-hook): Declare obsolete.
2604 * simple.el (filter-buffer-substring-function): New hook.
2605 (filter-buffer-substring): Use it.
2606 (filter-buffer-substring-functions): Mark obsolete.
2607 * minibuffer.el (completion-in-region-function): New hook.
2608 (completion-in-region): Use it.
2609 (completion-in-region-functions): Mark obsolete.
2610 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
2611 * abbrev.el (abbrev-expand-function): New hook.
2612 (expand-abbrev): Use it.
2613 (abbrev-expand-functions): Mark obsolete.
2614 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
2615 and :filter-return.
2616
2617 2013-04-17 FabiĂ¡n Ezequiel Gallina <fgallina@gnu.org>
2618
2619 * progmodes/python.el (python-nav--syntactically): Fix cornercases
2620 and do not care about match data.
2621
2622 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
2623
2624 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
2625 completion tables when completing error conditions and
2626 `declare' arguments.
2627 (lisp-complete-symbol, field-complete): Mark as obsolete.
2628 (check-parens): Unmatched parens are user errors.
2629 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
2630
2631 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
2632
2633 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
2634 command changed buffer (ie. `flyspell-pre-buffer' is not current
2635 buffer), which prevents making decisions based on invalid value of
2636 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
2637 cause an error when `flyspell-pre-point' was nil after switching
2638 buffers.
2639 (flyspell-post-command-hook): No longer needs to change buffers when
2640 checking pre-word. While at it remove unnecessary progn.
2641
2642 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
2643
2644 * textmodes/ispell.el (ispell-add-per-file-word-list):
2645 Fix `flyspell-correct-word-before-point' error when accepting
2646 words and `coment-padding' is an integer by using
2647 `comment-normalize-vars' (Bug #14214).
2648
2649 2013-04-17 FabiĂ¡n Ezequiel Gallina <fgallina@gnu.org>
2650
2651 New defun movement commands.
2652 * progmodes/python.el (python-nav--syntactically)
2653 (python-nav--forward-defun, python-nav-backward-defun)
2654 (python-nav-forward-defun): New functions.
2655
2656 2013-04-17 FabiĂ¡n Ezequiel Gallina <fgallina@gnu.org>
2657
2658 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
2659 (python-syntax-context): Use named compiler-macro for backwards
2660 compatibility with Emacs 24.x.
2661
2662 2013-04-17 Leo Liu <sdl.web@gmail.com>
2663
2664 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
2665 octave-hide-process-buffer.
2666
2667 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
2668
2669 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
2670 (bug#14216).
2671
2672 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
2673
2674 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
2675 Fix adjustment of offset when receiving incomplete responses from GDB
2676 (bug#14129).
2677
2678 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
2679
2680 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
2681 python-mode-abbrev-table.
2682 (python-skeleton-define): Adjust accordingly.
2683 (python-mode-abbrev-table): New table that inherits from it so that
2684 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
2685
2686 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
2687 (abbrev-symbol): Use it.
2688 (abbrev--before-point): Use it since we already handle inheritance.
2689
2690 2013-04-16 Leo Liu <sdl.web@gmail.com>
2691
2692 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
2693 binding to info-lookup-symbol.
2694
2695 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
2696
2697 * minibuffer.el (completion--twq-all):
2698 * term/ns-win.el (ns-initialize-window-system):
2699 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
2700
2701 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
2702
2703 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
2704 global bindings.
2705
2706 * doc-view.el (doc-view-start-process): Handle url-handler directories.
2707
2708 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
2709
2710 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
2711 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
2712 to nil.
2713 (ruby-end-of-defun): Remove the unused arg, change the docstring
2714 to reflect that this function is only used as the value of
2715 `end-of-defun-function'.
2716 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
2717 to reflect an earlier change that beginning/end-of-defun functions
2718 jump between methods in a class definition, as well as top-level
2719 functions.
2720
2721 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
2722
2723 * minibuffer.el (minibuffer-complete): Don't just scroll
2724 a *Completions* that's been iconified.
2725 (minibuffer-force-complete): Make sure repetitions do cycle when going
2726 through completion-in-region -> minibuffer-complete.
2727
2728 2013-04-15 Alan Mackenzie <acm@muc.de>
2729
2730 Correct the placement of c-cpp-delimiters when there're #s not at
2731 col 0.
2732
2733 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
2734 place a submatch around the #.
2735 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
2736 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
2737 on the #, not BOL.
2738
2739 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
2740
2741 * emacs-lisp/nadvice.el: Properly test names when adding advice.
2742 (advice--member-p): New arg `name'.
2743 (advice--add-function, advice-member-p): Use it (bug#14202).
2744
2745 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
2746
2747 Reformulate java imenu-generic-expression.
2748 The old expression contained ill formed regexps.
2749
2750 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
2751 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
2752 (cc-imenu-java-method-arg-regexp): New defconsts.
2753 (cc-imenu-java-build-type-args-regex): New defun.
2754 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
2755 handling of spaces in the regexp.
2756
2757 2013-03-15 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
2758
2759 * textmodes/ispell.el (ispell-command-loop): Remove
2760 flyspell highlight of a word when ispell accepts it (bug #14178).
2761
2762 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
2763
2764 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
2765 uses code from the previous `ange-ftp-run-real-handler'.
2766 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
2767 only in case that function exist. This is needed for proper
2768 unloading of Tramp.
2769
2770 2013-04-15 Tassilo Horn <tsdh@gnu.org>
2771
2772 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
2773
2774 * textmodes/reftex.el (reftex-compile-variables): Use it.
2775
2776 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
2777
2778 * files.el (normal-mode): Only use default major-mode if no other mode
2779 was specified.
2780
2781 * emacs-lisp/trace.el (trace-values): New function.
2782
2783 * files.el: Allow : in local variables (bug#14089).
2784 (hack-local-variable-regexp): New var.
2785 (hack-local-variables-prop-line, hack-local-variables): Use it.
2786
2787 2013-04-13 Roland Winkler <winkler@gnu.org>
2788
2789 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
2790 data before it gets modified by bibtex-beginning-of-entry.
2791
2792 2013-04-13 Roland Winkler <winkler@gnu.org>
2793
2794 * textmodes/bibtex.el (bibtex-url): Doc fix.
2795
2796 2013-04-13 Roland Winkler <winkler@gnu.org>
2797
2798 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
2799 does not visit a BibTeX file, exclude it from the list of buffers
2800 returned by bibtex-initialize.
2801
2802 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
2803
2804 * window.el (split-window): Remove interactive form, since as a
2805 command this function is a special case of split-window-below.
2806 Correct doc string.
2807
2808 2013-04-12 Roland Winkler <winkler@gnu.org>
2809
2810 * faces.el (read-face-name): Do not override value of arg default.
2811 Allow single faces and strings as default values. Remove those
2812 elements from return value that are not faces.
2813 (describe-face): Simplify.
2814 (face-at-point): New optional args thing and multiple so that this
2815 function can provide the same functionality previously provided by
2816 read-face-name.
2817 (make-face-bold, make-face-unbold, make-face-italic)
2818 (make-face-unitalic, make-face-bold-italic, invert-face)
2819 (modify-face, read-face-and-attribute): Use face-at-point.
2820
2821 * cus-edit.el (customize-face, customize-face-other-window)
2822 * cus-theme.el (custom-theme-add-face)
2823 * face-remap.el (buffer-face-set)
2824 * facemenu.el (facemenu-set-face): Use face-at-point.
2825
2826 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
2827
2828 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
2829
2830 2013-04-10 Tassilo Horn <tsdh@gnu.org>
2831
2832 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
2833 off leading { and trailing } from field values.
2834
2835 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
2836
2837 * emacs-lisp/timer.el (timer--check): New function.
2838 (timer--time, timer-set-function, timer-event-handler): Use it.
2839 (timer-set-idle-time): Simplify.
2840 (timer--activate): CSE.
2841 (timer-event-handler): Give more info in error message.
2842 (internal-timer-start-idle): New function, moved from C.
2843
2844 * mpc.el (mpc-proc): Add `restart' argument.
2845 (mpc-proc-cmd): Use it.
2846 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
2847 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
2848 less often.
2849
2850 2013-04-10 Masatake YAMATO <yamato@redhat.com>
2851
2852 * progmodes/sh-script.el: Implement `sh-mode' own
2853 `add-log-current-defun-function' (bug#14112).
2854 (sh-current-defun-name): New function.
2855 (sh-mode): Use the function.
2856
2857 2013-04-09 Bastien Guerry <bzg@gnu.org>
2858
2859 * simple.el (choose-completion-string): Fix docstring (bug#14163).
2860
2861 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
2862
2863 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
2864
2865 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
2866 timer (bug#14156).
2867
2868 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
2869
2870 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
2871 declaration.
2872
2873 2013-04-07 Leo Liu <sdl.web@gmail.com>
2874
2875 * pcmpl-x.el: New file.
2876
2877 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
2878
2879 Do not set x-display-name until X connection is established.
2880 This is needed to prevent from weird situation described at
2881 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
2882 * frame.el (make-frame): Set x-display-name after call to
2883 window system initialization function, not before.
2884 * term/x-win.el (x-initialize-window-system): Add optional
2885 display argument and use it.
2886 * term/w32-win.el (w32-initialize-window-system):
2887 * term/ns-win.el (ns-initialize-window-system):
2888 * term/pc-win.el (msdos-initialize-window-system):
2889 Add compatible optional display argument.
2890
2891 2013-04-06 Eli Zaretskii <eliz@gnu.org>
2892
2893 * files.el (normal-backup-enable-predicate): On MS-Windows and
2894 MS-DOS compare truenames of temporary-file-directory and of the
2895 file, so that 8+3 aliases (usually found in $TEMP on Windows)
2896 don't fail comparison by compare-strings. Also, compare file
2897 names case-insensitively on MS-Windows and MS-DOS.
2898
2899 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
2900
2901 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
2902 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
2903
2904 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
2905
2906 * whitespace.el (whitespace-color-on, whitespace-color-off):
2907 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
2908
2909 2013-04-05 Jacek ChrzÄ…szcz <chrzaszcz@mimuw.edu.pl> (tiny change)
2910
2911 * ispell.el (ispell-set-spellchecker-params):
2912 Really set `ispell-args' for all equivs.
2913
2914 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
2915
2916 * ido.el (ido-completions): Use extra elements of ido-decorations
2917 (bug#14143).
2918 (ido-decorations): Update docstring.
2919
2920 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
2921
2922 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
2923 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
2924 nil during initialization, in order not to miss changes since the
2925 file was opened. (Bug#14140)
2926
2927 2013-04-05 Leo Liu <sdl.web@gmail.com>
2928
2929 * kmacro.el (kmacro-call-macro): Fix bug#14135.
2930
2931 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
2932
2933 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
2934
2935 2013-04-04 Glenn Morris <rgm@gnu.org>
2936
2937 * electric.el (electric-pair-inhibit-predicate): Add :version.
2938
2939 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
2940
2941 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
2942 when a package is required several times (bug#14082).
2943
2944 2013-04-04 Roland Winkler <winkler@gnu.org>
2945
2946 * faces.el (read-face-name): Behave as promised by the docstring.
2947 Assume that arg default is a list of faces.
2948 (describe-face): Call read-face-name with list of default faces.
2949
2950 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2951
2952 * bookmark.el: Fix deletion of bookmarks (bug#13972).
2953 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
2954 (bookmark-bmenu-execute-deletions): Only skip first line if it's
2955 the header.
2956 (bookmark-exit-hook-internal): Save even if list is empty.
2957
2958 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
2959
2960 * emacs-lisp/package.el (package-pinned-packages): New var.
2961 (package--add-to-archive-contents): Obey it (bug#14118).
2962
2963 2013-04-03 Alan Mackenzie <acm@muc.de>
2964
2965 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
2966 Also adapt to the new values of element 7 of a parse state.
2967
2968 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
2969 parameter `not-in-delimiter'. Handle being inside comment opener.
2970 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
2971 character in case we're typing a '*' after a '/'.
2972 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
2973 instead by passing the parameter to c-state-pp-to-literal.
2974
2975 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
2976 for elt. 7 of a parse state.
2977
2978 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
2979
2980 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
2981 * international/latin1-disp.el, international/mule-util.el:
2982 * language/cyril-util.el, language/european.el, language/ind-util.el:
2983 * language/lao-util.el, language/thai.el, language/tibet-util.el:
2984 * language/tibetan.el, language/viet-util.el:
2985 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
2986
2987 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
2988
2989 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
2990 (electric-pair-post-self-insert-function): Use it.
2991 (electric-pair-default-inhibit): New function, extracted from
2992 electric-pair-post-self-insert-function.
2993
2994 2013-03-31 Roland Winkler <winkler@gnu.org>
2995
2996 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
2997
2998 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
2999
3000 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
3001
3002 2013-03-30 FabiĂ¡n Ezequiel Gallina <fabian@anue.biz>
3003
3004 Un-indent after "pass" and "return" statements (Bug#13888)
3005 * progmodes/python.el (python-indent-block-enders): New var.
3006 (python-indent-calculate-indentation): Use it.
3007
3008 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
3009
3010 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
3011 defun. Defining it as defalias could introduce too eager
3012 byte-compiler optimization. (Bug#14030)
3013
3014 2013-03-30 Chong Yidong <cyd@gnu.org>
3015
3016 * iswitchb.el (iswitchb-read-buffer): Fix typo.
3017
3018 2013-03-30 Leo Liu <sdl.web@gmail.com>
3019
3020 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
3021 (kmacro-execute-from-register): Pass the keyboard macro to
3022 kmacro-call-macro or repeating won't work correctly.
3023
3024 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
3025
3026 * progmodes/subword.el: Back to using `forward-symbol'.
3027
3028 * subr.el (forward-whitespace, forward-symbol)
3029 (forward-same-syntax): Move from thingatpt.el.
3030
3031 2013-03-29 Leo Liu <sdl.web@gmail.com>
3032
3033 * kmacro.el (kmacro-to-register): New command.
3034 (kmacro-execute-from-register): New function.
3035 (kmacro-keymap): Bind to 'x'. (Bug#14071)
3036
3037 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
3038
3039 * mpc.el: Use defvar-local and setq-local.
3040 (mpc--proc-connect): Connection failures are not bugs.
3041 (mpc-mode-map): `follow-link' only applies to the buffer's content.
3042 (mpc-volume-map): Bind to the up-events.
3043
3044 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
3045
3046 * progmodes/subword.el (superword-mode): Use `forward-sexp'
3047 instead of `forward-symbol'.
3048
3049 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
3050
3051 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
3052 (edebug--recursive-edit): Use it.
3053 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
3054 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
3055
3056 2013-03-28 Leo Liu <sdl.web@gmail.com>
3057
3058 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
3059
3060 2013-03-27 Eli Zaretskii <eliz@gnu.org>
3061
3062 * facemenu.el (list-colors-callback): New defvar.
3063 (list-colors-redisplay): New function.
3064 (list-colors-display): Install list-colors-redisplay as the
3065 revert-buffer-function. (Bug#14063)
3066
3067 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
3068
3069 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
3070 and suffixes don't overlap (bug#14061).
3071
3072 * case-table.el: Use lexical-binding.
3073 (case-table-get-table): New function.
3074 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
3075
3076 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
3077
3078 * progmodes/subword.el: Add `superword-mode' to do word motion
3079 over symbol_words (parallels and leverages `subword-mode' which
3080 does word motion inside MixedCaseWords).
3081
3082 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
3083
3084 * eshell/em-unix.el: Move su and sudo to...
3085 * eshell/em-tramp.el: ...Eshell tramp module.
3086
3087 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
3088
3089 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
3090 Change return value to be a sexp. Delay `get-buffer' to after
3091 restoring the desktop (bug#13951).
3092
3093 2013-03-26 Leo Liu <sdl.web@gmail.com>
3094
3095 * register.el: Move semantic tag handling back to
3096 cedet/semantic/senator.el. (Bug#14052)
3097
3098 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
3099
3100 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
3101 into the prompt either (bug#13963).
3102
3103 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
3104
3105 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
3106 part of "(error-foo)".
3107
3108 2013-03-24 Juri Linkov <juri@jurta.org>
3109
3110 * replace.el (list-matching-lines-prefix-face): New defcustom.
3111 (occur-1): Pass `list-matching-lines-prefix-face' to the function
3112 `occur-engine' if `face-differs-from-default-p' returns t.
3113 (occur-engine): Add `,' inside backquote construct to evaluate
3114 `prefix-face'. Propertize the prefix with the `prefix-face' face.
3115 Pass `prefix-face' to the functions `occur-context-lines' and
3116 `occur-engine-add-prefix'.
3117 (occur-engine-add-prefix, occur-context-lines): Add optional arg
3118 `prefix-face' and propertize the prefix with `prefix-face'.
3119 (Bug#14017)
3120
3121 2013-03-24 Leo Liu <sdl.web@gmail.com>
3122
3123 * nxml/rng-valid.el (rng-validate-while-idle)
3124 (rng-validate-quick-while-idle): Guard against deleted buffer.
3125 (Bug#13999)
3126
3127 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
3128 is the last entry in kill-buffer-hook.
3129
3130 * files.el (kill-buffer-hook): Doc fix.
3131
3132 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
3133
3134 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
3135 Make it safe-local.
3136
3137 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
3138
3139 2013-03-23 Leo Liu <sdl.web@gmail.com>
3140
3141 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
3142 Remove.
3143
3144 * nxml/rng-valid.el (rng-validate-mode)
3145 (rng-after-change-function, rng-do-some-validation):
3146 * nxml/rng-maint.el (rng-validate-buffer):
3147 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
3148 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
3149 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
3150 (nxml-extend-after-change-region): Use with-silent-modifications.
3151
3152 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
3153 timer-idle-list.
3154
3155 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
3156 (rng-next-error-1, rng-previous-error-1): Do not let-bind
3157 timer-idle-list. (Bug#13999)
3158
3159 2013-03-23 Juri Linkov <juri@jurta.org>
3160
3161 * info.el (info-index-match): New face.
3162 (Info-index, Info-apropos-matches): Add a nested subgroup to the
3163 main pattern and add text properties with the new face to matches
3164 in index entries relative to the beginning of the index entry.
3165 (Bug#14015)
3166
3167 2013-03-21 Eric Ludlam <zappo@gnu.org>
3168
3169 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
3170 Inhibit read only while inserting objects.
3171
3172 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
3173
3174 * progmodes/cfengine.el: Update docs to mention
3175 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
3176 symbol motion. Remove "_" from the word syntax.
3177
3178 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
3179
3180 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
3181 syntax for both `cfengine2-mode' and `cfengine3-mode'.
3182
3183 2013-03-20 Juri Linkov <juri@jurta.org>
3184
3185 * info.el (Info-next-reference-or-link)
3186 (Info-prev-reference-or-link): New functions.
3187 (Info-next-reference, Info-prev-reference): Use them.
3188 (Info-try-follow-nearest-node): Handle footnote navigation.
3189 (Info-fontify-node): Fontify footnotes. (Bug#13989)
3190
3191 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
3192
3193 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
3194 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
3195
3196 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
3197
3198 Suppress unnecessary non-ASCII chatter during build process.
3199 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
3200 (batch-skkdic-convert): Suppress most of the chatter.
3201 It's not needed so much now that machines are faster,
3202 and its non-ASCII component was confusing; see Dmitry Gutov in
3203 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
3204
3205 2013-03-20 Leo Liu <sdl.web@gmail.com>
3206
3207 * ido.el (ido-chop): Fix bug#10994.
3208
3209 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
3210
3211 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
3212 Remove vars.
3213 (whitespace-color-on, whitespace-color-off):
3214 Use `font-lock-fontify-buffer' (Bug#13817).
3215
3216 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
3217
3218 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
3219 remapping in mode-line.
3220 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
3221
3222 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
3223
3224 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
3225 value for `whitespace-line' face (Bug#13875).
3226 (whitespace-font-lock-keywords): Change description.
3227 (whitespace-color-on): Don't save `font-lock-keywords' value, save
3228 the constructed keywords instead.
3229 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
3230
3231 2013-03-19 Leo Liu <sdl.web@gmail.com>
3232
3233 * progmodes/compile.el (compilation-display-error): New command.
3234 (compilation-mode-map, compilation-minor-mode-map): Bind it to
3235 C-o. (Bug#13992)
3236
3237 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
3238
3239 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
3240
3241 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
3242
3243 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
3244
3245 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
3246
3247 * net/tramp-compat.el (tramp-compat-user-error): New defun.
3248
3249 * net/tramp-adb.el (tramp-adb-handle-shell-command):
3250 * net/tramp-gvfs.el (top):
3251 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
3252 (tramp-handle-shell-command): Use it.
3253 (tramp-dissect-file-name): Raise an error when hostname is a
3254 method name, and neither method nor user is specified.
3255
3256 * net/trampver.el: Update release number.
3257
3258 2013-03-18 Leo Liu <sdl.web@gmail.com>
3259
3260 Make sure eldoc can be turned off properly.
3261 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
3262 eldoc-mode.
3263 (eldoc-display-message-p): Revert last change.
3264 (eldoc-display-message-no-interference-p)
3265 (eldoc-print-current-symbol-info): Tweak.
3266
3267 2013-03-18 Tassilo Horn <tsdh@gnu.org>
3268
3269 * doc-view.el (doc-view-new-window-function): Check the new window
3270 overlay's display property instead the char property of the
3271 buffer's first char. Use `with-selected-window' instead of
3272 `save-window-excursion' with `select-window'.
3273 (doc-view-document->bitmap): Check the current doc-view overlay's
3274 display property instead the char property of the buffer's first char.
3275
3276 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
3277
3278 Automate the build of ja-dic.el (Bug#13984).
3279 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
3280 from the input, rather than assume that it's been done for us by the
3281 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
3282 the current date into a ja-dic.el comment, as that complicates
3283 regression testing.
3284
3285 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
3286
3287 * whitespace.el: Fix double evaluation.
3288 (whitespace-space, whitespace-hspace, whitespace-tab)
3289 (whitespace-newline, whitespace-trailing, whitespace-line)
3290 (whitespace-space-before-tab, whitespace-indentation)
3291 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
3292 obsolete defvars.
3293 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
3294 (whitespace-color-on): Use a single font-lock-add-keywords call.
3295 Fix double-evaluation of face variables.
3296
3297 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
3298
3299 * net/tramp-adb.el (tramp-adb-parse-device-names):
3300 Use `start-process' instead of `call-process'. Otherwise, the
3301 function might be blocked under MS Windows. (Bug#13299)
3302
3303 2013-03-17 Leo Liu <sdl.web@gmail.com>
3304
3305 Extend eldoc to display info in the mode-line. (Bug#13978)
3306 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
3307 (eldoc-mode-line-string): New variable.
3308 (eldoc-minibuffer-message): New function.
3309 (eldoc-message-function): New variable.
3310 (eldoc-message): Use it.
3311 (eldoc-display-message-p)
3312 (eldoc-display-message-no-interference-p):
3313 Support eldoc-post-insert-mode.
3314
3315 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
3316 (eval-expression): Run it.
3317
3318 2013-03-17 Roland Winkler <winkler@gnu.org>
3319
3320 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
3321 strings in the list of return values.
3322
3323 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
3324
3325 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
3326 radix before checking for HMS forms.
3327
3328 2013-03-16 Leo Liu <sdl.web@gmail.com>
3329
3330 * progmodes/scheme.el: Add indentation and font-locking for λ.
3331 (Bug#13975)
3332
3333 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
3334
3335 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
3336 token before point (bug#13942).
3337
3338 2013-03-16 Leo Liu <sdl.web@gmail.com>
3339
3340 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
3341
3342 2013-03-16 Eli Zaretskii <eliz@gnu.org>
3343
3344 * startup.el (command-line-normalize-file-name): Fix handling of
3345 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
3346 <xfq.free@gmail.com> in
3347 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
3348
3349 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
3350
3351 Sync with Tramp 2.2.7.
3352
3353 * net/trampver.el: Update release number.
3354
3355 2013-03-14 Tassilo Horn <tsdh@gnu.org>
3356
3357 * doc-view.el Fix bug#13887.
3358 (doc-view-insert-image): Don't modify overlay associated to
3359 non-live windows, and implement horizontal centering of image in
3360 case it's smaller than the window.
3361 (doc-view-new-window-function): Force redisplay of new windows on
3362 doc-view buffers.
3363
3364 2013-03-13 Karl Fogel <kfogel@red-bean.com>
3365
3366 * saveplace.el (save-place-alist-to-file): Don't sort
3367 `save-place-alist', just pretty-print it (bug#13882).
3368
3369 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
3370
3371 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Check,
3372 whether `default-file-name-coding-system' is bound. It isn't in
3373 XEmacs.
3374
3375 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
3376
3377 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
3378 backquotes for `obsolete' (bug#13929).
3379
3380 * international/mule.el (find-auto-coding): Include file name in
3381 obsolescence warning (bug#13922).
3382
3383 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
3384
3385 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
3386 for CFEngine 3-specific indentation.
3387 (cfengine3-indent-line): Use it. Fix up category regex.
3388 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
3389
3390 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
3391
3392 * type-break.el (type-break-file-name):
3393 * textmodes/remember.el (remember-data-file):
3394 * strokes.el (strokes-file):
3395 * shadowfile.el (shadow-initialize):
3396 * saveplace.el (save-place-file):
3397 * ps-bdf.el (bdf-cache-file):
3398 * progmodes/idlwave.el (idlwave-config-directory):
3399 * net/quickurl.el (quickurl-url-file):
3400 * international/kkc.el (kkc-init-file-name):
3401 * ido.el (ido-save-directory-list-file):
3402 * emulation/viper.el (viper-custom-file-name):
3403 * emulation/vip.el (vip-startup-file):
3404 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
3405 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
3406
3407 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
3408
3409 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
3410 * language/thai-word.el: Switch to UTF-8.
3411
3412 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
3413
3414 * recentf.el (recentf-save-file): Use locate-user-emacs-file (bug#13870).
3415
3416 2013-03-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3417
3418 * net/net-utils.el (net-utils-remove-ctrl-m-filter):
3419 Use with-current-buffer and don't move point.
3420 (net-utils-run-simple): Remove useless code.
3421 (net-utils-remove-ctl-m): Remove unused custom.
3422
3423 2013-03-11 Per Starbäck <starback@stp.lingfil.uu.se>
3424
3425 * international/characters.el (glyphless-set-char-table-range): New fun.
3426 (update-glyphless-char-display): Use it (bug#13744).
3427
3428 2013-03-11 Teodor Zlatanov <tzz@lifelogs.com>
3429
3430 * progmodes/cfengine.el: Update for CFEngine 3.4.2 and higher:
3431 namespaces in the syntax, indent closer for hanging brace
3432 correctly, allow single-quote delimited 'strings', and make
3433 `cfengine3-mode' the default.
3434
3435 2013-03-11 Jean-Philippe Gravel <jpgravel@gmail.com>
3436
3437 * progmodes/gdb-mi.el: Speed up initialization (bug#10580).
3438 Use lexical-binding. Fix up docstring according to conventions.
3439 (gdbmi-debug-mode): New var.
3440 (gdbmi-start-with, gdbmi-same-start, gdbmi-is-number, gdbmi-bnf-init)
3441 (gdbmi-bnf-output, gdbmi-bnf-skip-unrecognized, gdbmi-bnf-gdb-prompt)
3442 (gdbmi-bnf-result-record, gdbmi-bnf-out-of-band-record)
3443 (gdbmi-bnf-async-record, gdbmi-bnf-stream-record)
3444 (gdbmi-bnf-console-stream-output, gdbmi-bnf-target-stream-output)
3445 (gdbmi-bnf-log-stream-output, gdbmi-bnf-result-and-async-record-impl)
3446 (gdbmi-bnf-incomplete-record-result): New functions.
3447 (gdb-car<): Remove function.
3448 (gdbmi-record-list): Remove variable.
3449 (gdbmi-bnf-state, gdbmi-bnf-offset): New vars.
3450 (gdbmi-bnf-result-state-configs): New const.
3451 (gud-gdbmi-marker-filter): Rewrite.
3452 (gdb-ignored-notification, gdb-thread-created, gdb-thread-exited)
3453 (gdb-thread-selected, gdb-running, gdb-starting, gdb-stopped):
3454 Add `token' argument.
3455 (gdb-done, gdb-error): New functions.
3456 (gdb-done-or-error): Add `is-complete' argument. Change arg order.
3457
3458 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
3459
3460 * term/xterm.el (xterm--report-background-handler): Don't burp
3461 upon timeout.
3462 (xterm--version-handler): Extract from terminal-init-xterm.
3463 (xterm--query): Don't mishandle timeout. Remove debugging messages.
3464 Allow multiple handlers.
3465 (terminal-init-xterm): Handle OSX's Terminal.app's incorrect answer.
3466
3467 * term/xterm.el: Don't discard input (bug#6758). Use lexical-binding.
3468 (xterm--report-background-handler, xterm--query): New functions.
3469 (terminal-init-xterm): Use them.
3470
3471 2013-03-11 Michael R. Mauger <michael@mauger.com>
3472
3473 * progmodes/sql.el Version 3.2
3474 Please note that my address changed to <michael@mauger.com>;
3475 the <mmaug@yahoo.com> address remains active.
3476 (sql-connection-alist): Updates documentation to fix bug#13715.
3477 (sql-connect): Handle missing `sql-connection-alist' correctly.
3478 (sql-mode-oracle-font-lock-keywords): Add missing keywords.
3479 (sql-magic-go, sql-magic-semicolon): Mark with `delete-selection'
3480 property.
3481 (sql-default-value): New function.
3482 (sql-get-login-ext, sql-get-login): Fixes bug where buffer-local
3483 values were not used.
3484 (sql-rename-buffer): Make sure alternate buffer name has no text
3485 properties.
3486 (sql-input-sender, sql-execute-feature): Fetch variable with
3487 `buffer-local-value' rather than `with-current-buffer'.
3488 (sql-*): Use #' function syntax consistently.
3489 (sql-*): Use message/error/user-error consistently.
3490
3491 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
3492
3493 * xt-mouse.el (xterm-mouse-event-read): Remove.
3494 (xterm-mouse--read-event-sequence-1000)
3495 (xterm-mouse--read-event-sequence-1006): Use read-event instead.
3496
3497 2013-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
3498
3499 * term/xterm.el (xterm-function-map): Support format used with
3500 formatOtherKeys=1 (bug#13839).
3501
3502 * emacs-lisp/byte-run.el (dont-compile): Declare obsolete.
3503 (with-no-warnings): Use `declare'.
3504
3505 * whitespace.el (whitespace-enable-predicate): New variable.
3506 (whitespace-enable-predicate): Use it.
3507
3508 * comint.el (comint-send-input, comint-snapshot-last-prompt)
3509 (comint-output-filter, comint-update-fence):
3510 Use with-silent-modifications.
3511
3512 2013-03-10 Jambunathan K <kjambunathan@gmail.com>
3513
3514 * replace.el (occur-read-regexp-defaults-function): New var.
3515 (occur-read-regexp-defaults): New defun.
3516 (occur-read-primary-args): Propagate above change (bug#13892).
3517
3518 2013-03-09 Stefan Monnier <monnier@iro.umontreal.ca>
3519
3520 * mouse.el (mouse-drag-track): Remove left-over debugging code.
3521
3522 2013-03-09 Michael Albinus <michael.albinus@gmx.de>
3523
3524 Major rewrite due to changed D-Bus interface of GVFS 1.14.
3525
3526 * net/tramp-gvfs.el (top): Extend check for gvfs availability.
3527 (tramp-gvfs-methods-mounttracker, tramp-gvfs-listmounts)
3528 (tramp-gvfs-mountlocation, tramp-gvfs-mountlocation-signature):
3529 New defconst.
3530 (tramp-gvfs-file-name-handler-alist) [directory-files]
3531 [directory-files-and-attributes, file-exists-p, file-modes]:
3532 Use Tramp default handler.
3533 [file-acl, file-selinux-context, process-file, set-file-acl]:
3534 [set-file-modes, set-file-selinux-context, shell-command]:
3535 [start-file-process]: Remove handler.
3536 [verify-visited-file-modtime]: New handler.
3537 (tramp-gvfs-dbus-string-to-byte-array)
3538 (tramp-gvfs-dbus-byte-array-to-string): New defuns. Replace all
3539 calls of `dbus-string-to-byte-array' and
3540 `tramp-gvfs-dbus-byte-array-to-string'.
3541 (tramp-gvfs-handle-copy-file)
3542 (tramp-gvfs-handle-delete-directory)
3543 (tramp-gvfs-handle-delete-file, tramp-gvfs-handle-file-attributes)
3544 (tramp-gvfs-handle-file-directory-p)
3545 (tramp-gvfs-handle-file-executable-p)
3546 (tramp-gvfs-handle-file-name-all-completions)
3547 (tramp-gvfs-handle-file-readable-p)
3548 (tramp-gvfs-handle-file-writable-p)
3549 (tramp-gvfs-handle-insert-directory)
3550 (tramp-gvfs-handle-insert-file-contents)
3551 (tramp-gvfs-handle-make-directory, tramp-gvfs-handle-rename-file)
3552 (tramp-gvfs-handle-set-visited-file-modtime)
3553 (tramp-gvfs-handle-write-region): Rewrite.
3554 (tramp-gvfs-handle-file-acl)
3555 (tramp-gvfs-handle-file-selinux-context)
3556 (tramp-gvfs-handle-process-file, tramp-gvfs-handle-set-file-acl)
3557 (tramp-gvfs-handle-set-file-modes)
3558 (tramp-gvfs-handle-set-file-selinux-context)
3559 (tramp-gvfs-handle-shell-command)
3560 (tramp-gvfs-handle-start-file-process)
3561 (tramp-gvfs-handle-verify-visited-file-modtime): Remove defuns.
3562 (tramp-gvfs-url-file-name): Do not use `file-truename', we work
3563 over the symlinks. Fix user handling.
3564 (top, tramp-gvfs-handler-mounted-unmounted): Handle different names
3565 of the D-Bus signals.
3566 (tramp-gvfs-connection-mounted-p): Handle different names of the
3567 D-Bus methods.
3568 (tramp-gvfs-mount-spec-entry): New defun.
3569 (tramp-gvfs-mount-spec): Use it.
3570 (tramp-gvfs-maybe-open-connection): Check, that in case of "smb"
3571 there is a share name. Handle different names of the D-Bus
3572 signals and methods. Set connection properties needed for
3573 `tramp-check-cached-permissions'.
3574 (tramp-gvfs-send-command): Apply `tramp-gvfs-maybe-open-connection'.
3575 Return t or nil.
3576
3577 * net/tramp.el (tramp-backtrace): Move up.
3578 (tramp-error): Dump a backtrace into the debug buffer when
3579 `tramp-verbose > 9.
3580 (tramp-file-mode-type-map, tramp-file-mode-from-int)
3581 (tramp-file-mode-permissions, tramp-get-local-uid)
3582 (tramp-get-local-gid, tramp-check-cached-permissions): Move from
3583 tramp-sh.el.
3584
3585 * net/tramp-sh.el (tramp-file-mode-type-map)
3586 (tramp-check-cached-permissions, tramp-file-mode-from-int)
3587 (tramp-file-mode-permissions, tramp-get-local-uid)
3588 (tramp-get-local-gid): Move to tramp.el.
3589
3590 2013-03-09 Stefan Monnier <monnier@iro.umontreal.ca>
3591
3592 Separate mouse-1-click-follows-link from mouse-drag-region.
3593 * mouse.el (mouse--down-1-maybe-follows-link): New function.
3594 (key-translation-map): Use it to implement mouse-1-click-follows-link.
3595 (mouse-drag-line, mouse-drag-track):
3596 Remove mouse-1-click-follows-link code.
3597 (mouse--remap-link-click-p): Remove.
3598
3599 2013-03-08 Jambunathan K <kjambunathan@gmail.com>
3600
3601 * hi-lock.el (hi-lock-read-regexp-defaults-function): New var.
3602 (hi-lock-read-regexp-defaults): New defun.
3603 (hi-lock-line-face-buffer, hi-lock-face-buffer)
3604 (hi-lock-face-phrase-buffer): Propagate above change.
3605 Update docstring (bug#13892).
3606
3607 * subr.el (find-tag-default-as-regexp): New defun.
3608 * replace.el (read-regexp): Propagate above change.
3609
3610 2013-03-08 Jay Belanger <jay.p.belanger@gmail.com>
3611
3612 * calc/calc-units.el (calc-convert-units): Fix the way that default
3613 new units are stored.
3614
3615 2013-03-07 Matthias Meulien <orontee@gmail.com>
3616
3617 * bookmark.el: Define a face to highlight bookmark names in
3618 bookmark menu buffers, where the default is a bold face similarly
3619 to buffer names in buffer menu buffers.
3620 (bookmark-menu-bookmark): New face to highlight bookmark names.
3621 (bookmark-insert-location): Remove duplicated text property to
3622 conform to buffer list (see `list-buffers').
3623 (bookmark-bmenu-list, bookmark-bmenu-hide-filenames): Apply face
3624 `bookmark-menu-bookmark' to bookmark names.
3625
3626 2013-03-07 Matthias Meulien <orontee@gmail.com>
3627 Karl Fogel <kfogel@red-bean.com>
3628
3629 * bookmark.el: Display the bookmark list header similarly to the
3630 buffer list header (see `list-buffers'), where the default is now
3631 an immovable/immutable header line.
3632 (bookmark-bmenu-use-header-line): New variable.
3633 (bookmark-bmenu-inline-header-height): New name for
3634 `bookmark-bmenu-header-height', to avoid confusion with the code
3635 for the new immovable header. All references changed.
3636 (bookmark-bmenu-set-header): New function.
3637 (bookmark-bmenu-list, bookmark-bmenu-toggle-filenames):
3638 Conditionalize header construction accordingly.
3639 (bookmark-bmenu-ensure-position): Conditionalize the skipping of
3640 the inline header height.
3641 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
3642 Conditionalize the skipping of the inline header height.
3643
3644 2013-03-07 Dmitry Gutov <dgutov@yandex.ru>
3645
3646 * progmodes/js.el (js--multi-line-declaration-indentation):
3647 Merge from js2-mode (https://github.com/mooz/js2-mode/issues/89).
3648
3649 2013-03-06 Dmitry Gutov <dgutov@yandex.ru>
3650
3651 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
3652 Only propertize regexp when not inside a string (Bug#13885).
3653
3654 2013-03-06 Alan Mackenzie <acm@muc.de>
3655
3656 Correct the position of point in some line-up functions.
3657 * progmodes/cc-align.el (c-lineup-whitesmith-in-block)
3658 (c-lineup-assignments, c-lineup-gcc-asm-reg ): Take position of
3659 point at column 0 rather than at a random place in the line.
3660
3661 2013-03-05 Michael Albinus <michael.albinus@gmx.de>
3662
3663 * net/tramp-compat.el (tramp-compat-delete-directory):
3664 Implement TRASH argument.
3665
3666 2013-03-05 Dmitry Gutov <dgutov@yandex.ru>
3667
3668 Keep pre-existing highlighting in completion candidates (Bug#13250).
3669 * minibuffer.el (completions-first-difference): State that the
3670 face is "added" in the docstring.
3671 (completions-common-part): Same. And don't inherit from default.
3672 (completion-hilit-commonality): Prepend 'completions-common-part
3673 and 'completion-first-difference faces to the 'face property,
3674 instead of replacing the value(s).
3675 (completion--insert-strings): Same with 'completions-annotations face.
3676 (completion-hilit-commonality): Use 'face instead of
3677 'font-lock-face, because it gets priority if the completion
3678 strings already have 'face set.
3679
3680 2013-03-04 Alan Mackenzie <acm@muc.de>
3681
3682 Replace `last-command-event' by `last-command-char' in XEmacs.
3683 * progmodes/cc-defs.el (c-last-command-char): New macro.
3684 * progmodes/cc-align.el (c-semi&comma-inside-parenlist)
3685 (c-semi&comma-no-newlines-before-nonblanks)
3686 (c-semi&comma-no-newlines-for-oneline-inliners): Use the new macro
3687 in place of `last-command-event'.
3688 * progmodes/cc-cmds.el (c-electric-pound, c-electric-brace)
3689 (c-electric-slash, c-electric-semi&comma, c-electric-lt-gt)
3690 (c-electric-paren, c-electric-continued-statement): Use the new
3691 macro in place of `last-command-event'.
3692
3693 2013-03-04 Glenn Morris <rgm@gnu.org>
3694
3695 * files.el (inhibit-local-variables-regexps):
3696 Add .diff and .patch. (Bug#13862)
3697
3698 2013-03-03 Michael Albinus <michael.albinus@gmx.de>
3699
3700 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Cache,
3701 whether the "su" command is available on the device.
3702
3703 2013-03-01 Michael Albinus <michael.albinus@gmx.de>
3704
3705 * net/tramp-adb.el (tramp-adb-prompt): Extend regexp.
3706 (tramp-adb-handle-process-file): Remove superfluous setting.
3707 (tramp-adb-command-exit-status): Handle case that COMMAND is nil.
3708 (tramp-adb-barf-unless-okay): Use `tramp-adb-command-exit-status'.
3709 (tramp-adb-maybe-open-connection): Apply "su" if user is defined.
3710
3711 2013-03-01 Stefan Monnier <monnier@iro.umontreal.ca>
3712
3713 * textmodes/ispell.el: Fix nitpicks and byte-compiler warnings.
3714 (ispell-print-if-debug): Build `format' in. Avoid end-of-buffer.
3715 (ispell-parse-hunspell-affix-file): Avoid beginning-of-buffer.
3716 Use dict-key rather than dict-name for the error message.
3717
3718 2013-03-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3719
3720 * net/net-utils.el (net-utils-run-simple): Don't display-buffer
3721 when reverting (bug#13831).
3722
3723 2013-03-01 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
3724
3725 * textmodes/ispell.el (ispell-find-hunspell-dictionaries):
3726 Always expand affix-file before storing to protect against changed
3727 `default-directory'.
3728 (ispell-print-if-debug): Make sure message is printed at the end
3729 of the debug buffer.
3730
3731 2013-03-01 Michael Albinus <michael.albinus@gmx.de>
3732
3733 * net/tramp.el (tramp-obsolete-methods): New defconst.
3734 (tramp-warned-obsolete-methods): New defvar.
3735 (tramp-find-method): Check for obsolete methods. Map them to a
3736 replacement method if appropriate.
3737
3738 * net/tramp-sh.el (tramp-methods) [scp1, scp2, ssh1, ssh2, plink1]:
3739 Remove methods.
3740 (top): Remove completion functions for "scp1", "scp2", "ssh1",
3741 "ssh2" and "plink1".
3742
3743 2013-02-28 Dale Sedivec <dale@codefu.org>
3744
3745 * textmodes/sgml-mode.el (sgml-syntax-propertize-function):
3746 Return valid syntax-table property value when converting
3747 quotes within text from string syntax to punctuation syntax (bug#13844).
3748
3749 2013-02-28 Juri Linkov <juri@jurta.org>
3750
3751 * dired-aux.el (dired-diff): If file at point is a backup file,
3752 use its original as the default value, and reverse the order
3753 of arguments to the `diff' call. Doc fix. (Bug#13772)
3754
3755 2013-02-28 Michael Albinus <michael.albinus@gmx.de>
3756
3757 * net/tramp-adb.el (tramp-adb-sdk-dir): Remove. Replaced by ...
3758 (tramp-adb-program): New defcustom. Remove function. Adapt calls.
3759
3760 2013-02-28 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
3761
3762 Initial support for hunspell dictionaries auto-detection (Bug#13639)
3763
3764 * textmodes/ispell.el (ispell-find-hunspell-dictionaries):
3765 Ask hunspell about available and default dictionaries.
3766 (ispell-parse-hunspell-affix-file): Extract relevant info from
3767 hunspell affix file.
3768 (ispell-hunspell-fill-dictionary-entry): Fill non-initialized
3769 `ispell-dictionary-alist' entry for given dictionary after info
3770 provided by `ispell-parse-hunspell-affix-file'.
3771 (ispell-hunspell-dict-paths-alist): New defvar to contain an alist
3772 of parsed hunspell dicts and associated affix files.
3773 (ispell-hunspell-dictionary-alist): New defvar to contain an alist
3774 of parsed hunspell dicts and associated parameters.
3775 (ispell-set-spellchecker-params):
3776 Call `ispell-find-hunspell-dictionaries' if hunspell and not
3777 previously done.
3778 (ispell-start-process):
3779 Call `ispell-hunspell-fill-dictionary-entry' for current
3780 dictionary if it is not initialized.
3781
3782 2013-02-28 Stefan Monnier <monnier@iro.umontreal.ca>
3783
3784 * imenu.el: Comment nitpicks.
3785
3786 2013-02-28 Sam Steingold <sds@gnu.org>
3787
3788 * vc/diff-mode.el (diff-hunk-file-names): Handle filenames with spaces.
3789 See <http://stackoverflow.com/questions/14720205>.
3790
3791 2013-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3792
3793 * net/net-utils.el (net-utils--revert-function): New fun (bug#13831).
3794 (net-utils-mode): Use it.
3795 (net-utils--revert-cmd): New var.
3796 (net-utils-run-simple): Set it, and remove bogus interactive spec.
3797 (traceroute): Use net-utils-run-simple.
3798
3799 2013-02-28 Glenn Morris <rgm@gnu.org>
3800
3801 * textmodes/paragraphs.el (mark-paragraph): Doc fix.
3802
3803 2013-02-28 Stefan Monnier <monnier@iro.umontreal.ca>
3804
3805 * doc-view.el: Preserve h&v scroll across C-c C-c C-c C-c.
3806 (doc-view-fallback-mode): Remove overlays here.
3807 (doc-view-toggle-display): Instead of here. Don't throw away
3808 image-mode-winprops-alist.
3809 (doc-view-goto-page): Don't mess with hscroll.
3810
3811 2013-02-27 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3812
3813 * font-lock.el (lisp-font-lock-keywords-2): Fix highlighting of
3814 &optional (bug#13819).
3815
3816 2013-02-27 Michael Albinus <michael.albinus@gmx.de>
3817
3818 * net/tramp-adb.el (tramp-adb-parse-device-names)
3819 (tramp-adb-maybe-open-connection): Add timeouts. (Bug#13299)
3820
3821 2013-02-26 Michael Albinus <michael.albinus@gmx.de>
3822
3823 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
3824 Add "2>/dev/null" to the ls command, in case "en_US.utf8" is not
3825 defined. POSIX environments fall back to the "C" locale then and
3826 emit a warning, which shall be suppressed.
3827
3828 2013-02-26 Stefan Monnier <monnier@iro.umontreal.ca>
3829
3830 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): Tweak logic.
3831 (easy-mmode-set-keymap-parents): Use make-composed-keymap.
3832
3833 2013-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
3834
3835 * emacs-lisp/bytecomp.el (byte-compile-file): Use let.
3836
3837 2013-02-25 Juri Linkov <juri@jurta.org>
3838
3839 * replace.el (read-regexp): Let-bind `default' to the first
3840 element of `defaults' if it's a list, otherwise it should be
3841 a string or nil. Let-bind `suggestions' to `defaults' if it's
3842 a list, otherwise make a list with the string value. Doc fix.
3843 (Bug#13805)
3844
3845 2013-02-25 Eli Zaretskii <eliz@gnu.org>
3846
3847 * emacs-lisp/bytecomp.el (byte-recompile-directory): Reject files
3848 that match "\`\.#", to avoid compiling lock files, even if they
3849 are readable (as they are on MS-Windows).
3850
3851 2013-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
3852
3853 * files.el (basic-save-buffer): Remove redundant directory-creation.
3854
3855 2013-02-24 Jay Belanger <jay.p.belanger@gmail.com>
3856
3857 * calc/calc-ext.el (math-to-radians-2, math-from-radians-2):
3858 Add option to force `pi' to remain symbolic.
3859 * calc/calcalg2.el (calcFunc-sin, calcFunc-cos, calcFunc-tan)
3860 (calcFunc-cot, calcFunc-csc, calcFunc-sec, calcFunc-arcsin)
3861 (calcFunc-arccos, calcFunc-arctan): Use symbolic `pi' in the
3862 derivatives, when necessary.
3863
3864 2013-02-23 Peter Kleiweg <p.c.j.kleiweg@rug.nl>
3865
3866 * progmodes/ps-mode.el (ps-mode-version): Bump to 1.1i.
3867 (ps-mode-octal-region): Use string-make-unibyte.
3868
3869 2013-02-23 Glenn Morris <rgm@gnu.org>
3870
3871 * emulation/viper-cmd.el (viper-submit-report):
3872 * progmodes/ps-mode.el (ps-mode-maintainer-address):
3873 * progmodes/vera-mode.el (vera-mode-help-address):
3874 * textmodes/artist.el (artist-maintainer-address):
3875 * textmodes/reftex.el (reftex-report-bug):
3876 * vc/ediff-util.el (ediff-submit-report):
3877 Add bug-gnu-emacs to bug report address.
3878
3879 * progmodes/simula.el (simula-mode-menu, simula-mode-map):
3880 Remove bug report entries.
3881 (simula-mode-help-address, simula-submit-bug-report): Make obsolete.
3882
3883 * emacs-lisp/bytecomp.el (byte-compile-level): New.
3884 (byte-compile-file, byte-compile-from-buffer):
3885 Use separate input/output buffers for each level of recursive
3886 byte-compile-file calls. (Bug#13787)
3887
3888 2013-02-23 Michael Albinus <michael.albinus@gmx.de>
3889
3890 * net/tramp.el (tramp-methods): Fix docstring.
3891 (tramp-ssh-controlmaster-options): Rename it from
3892 `tramp-ssh-controlmaster-template'. Return a string.
3893 (tramp-default-method): Adapt check for
3894 `tramp-ssh-controlmaster-options'.
3895
3896 * net/tramp-sh.el (tramp-methods):
3897 Replace `tramp-ssh-controlmaster-template' by "%c".
3898 (tramp-do-copy-or-rename-file-out-of-band)
3899 (tramp-maybe-open-connection): Use it in format spec. Ensure,
3900 that it is applied for the first hop only.
3901
3902 2013-02-22 Juri Linkov <juri@jurta.org>
3903
3904 * isearch.el (isearch-lazy-highlight-new-loop):
3905 Set `isearch-lazy-highlight-start' and `isearch-lazy-highlight-end'
3906 to `isearch-other-end' if it is not nil. (Bug#13402)
3907
3908 * replace.el (replace-highlight): Let-bind `isearch-other-end'
3909 to `match-beg'.
3910
3911 * textmodes/ispell.el (ispell-highlight-spelling-error-overlay):
3912 Let-bind `isearch-other-end' to `start', `isearch-forward' to t
3913 and `isearch-error' to nil.
3914
3915 2013-03-16 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
3916
3917 * progmodes/python.el (python-info-current-defun):
3918 Enhance match-data cluttering prevention.
3919
3920 2013-02-22 Michael Albinus <michael.albinus@gmx.de>
3921
3922 * net/tramp.el (tramp-tramp-file-p): Fix docstring.
3923
3924 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
3925 Handle multibyte file names.
3926
3927 2013-02-22 Glenn Morris <rgm@gnu.org>
3928
3929 * textmodes/sgml-mode.el (sgml-xml-mode): Move before use.
3930 (sgml-transformation-function): Give it a :set function.
3931 (sgml-tag): Doc fix.
3932
3933 * cmuscheme.el (scheme-buffer):
3934 * progmodes/inf-lisp.el (inferior-lisp-buffer):
3935 * progmodes/tcl.el (inferior-tcl-buffer):
3936 * textmodes/tex-mode.el (tex-command): Doc fixes.
3937
3938 * image-mode.el (image-mode): Add mouse bindings for mode-line-process.
3939
3940 * htmlfontify.el (hfy-default-header): Encode title string. (Bug#7457)
3941
3942 2013-02-21 Bastien Guerry <bzg@gnu.org>
3943
3944 * cmuscheme.el (scheme-buffer): Fix docstring. (Bug#13778)
3945
3946 2013-02-21 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
3947
3948 * progmodes/python.el (python-info-current-defun):
3949 Enhance match-data cluttering prevention.
3950
3951 2013-02-21 Glenn Morris <rgm@gnu.org>
3952
3953 * net/tramp.el (tramp-get-debug-buffer): Ensure outline.el is not
3954 loaded while outline-regexp is let bound. (Bug#9584)
3955
3956 2013-02-21 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
3957
3958 * progmodes/python.el (python-info-current-defun): Fix failed
3959 defun name retrieval because of unwanted match-data cluttering.
3960
3961 2013-02-21 Michael Albinus <michael.albinus@gmx.de>
3962
3963 * net/tramp.el (tramp-ssh-controlmaster-template): Make it a
3964 defconst. Apply independent check for ControlPersist.
3965
3966 * net/tramp-sh.el (tramp-sh-handle-set-file-times): Set $UTC only
3967 temporarily, via "env".
3968
3969 2013-02-21 Glenn Morris <rgm@gnu.org>
3970
3971 * info.el (Info-enable-edit): Remove.
3972 (Info-edit): Disable it rather than using Info-enable.
3973 (Info-edit-mode-hook, Info-edit-map, Info-edit-mode, Info-edit)
3974 (Info-cease-edit): Make editing of Info files obsolete.
3975
3976 * informat.el (Info-tagify):
3977 Handle buffers not visiting files. (Bug#13763)
3978
3979 2013-02-21 Juanma Barranquero <lekktu@gmail.com>
3980
3981 * calc/calc-graph.el (calc-graph-show-dumb): Fix typo.
3982
3983 2013-02-21 Glenn Morris <rgm@gnu.org>
3984
3985 * files.el (basic-save-buffer): Move check for existing parent
3986 directory after hooks. (Bug#13773)
3987
3988 2013-02-20 Stefan Monnier <monnier@iro.umontreal.ca>
3989
3990 * simple.el (command-execute): Move from C. Add obsolete check.
3991 (extended-command-history): Move from C.
3992
3993 2013-02-20 Ulrich MĂ¼ller <ulm@gentoo.org>
3994
3995 * jka-cmpr-hook.el (jka-compr-compression-info-list)
3996 (jka-compr-mode-alist-additions): Handle .txz suffix for
3997 XZ-compressed tar archives (bug#13770).
3998
3999 2013-02-20 Bastien Guerry <bzg@gnu.org>
4000
4001 * outline.el (outline-regexp, outline-heading-end-regexp):
4002 Make variables, not options (bug#13731).
4003
4004 2013-02-20 Glenn Morris <rgm@gnu.org>
4005
4006 * image.el (image-current-frame): Change from variable to function.
4007 (image-show-frame): Rename from image-nth-frame. Update callers.
4008 * image-mode.el (image-multi-frame): New variable.
4009 (image-mode-map, image-mode, image-goto-frame):
4010 Use image-multi-frame rather than image-current-frame.
4011 (image-mode, image-goto-frame): Use image-current-frame as
4012 function rather than as variable.
4013
4014 * emacs-lisp/cl-lib.el (cl-floatp-safe): Make it an alias for floatp.
4015 * emacs-lisp/cl-macs.el (cl--make-type-test)
4016 (cl--compiler-macro-assoc): Use floatp rather than cl-floatp-safe.
4017
4018 2013-02-19 Michael Albinus <michael.albinus@gmx.de>
4019
4020 * net/tramp-cache.el (tramp-get-hash-table): New defun.
4021 (tramp-get-file-property, tramp-set-file-property)
4022 (tramp-get-connection-property, tramp-set-connection-property): Use it.
4023 (tramp-flush-file-property, tramp-flush-directory-property):
4024 Rename argument to KEY.
4025 (tramp-flush-connection-property): Simplify a little bit.
4026 (tramp-connection-property-p): New defun.
4027 (top): Reapply saved values only if there isn't a corresponding
4028 entry in `tramp-connection-properties'.
4029
4030 2013-02-19 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
4031
4032 * progmodes/python.el (python-indent-context):
4033 Fix python-info-line-ends-backslash-p call.
4034 (python-info-line-ends-backslash-p)
4035 (python-info-beginning-of-backslash): Respect line-number argument.
4036 (python-info-current-line-comment-p):
4037 Fix behavior when not at beginning-of-line.
4038 (python-util-position): Remove function.
4039 (python-util-goto-line): New function.
4040
4041 2013-02-19 Michael Albinus <michael.albinus@gmx.de>
4042
4043 * eshell/em-unix.el (eshell/su): Require tramp.
4044 (eshell/sudo): Require tramp. Remove now unnecessary check.
4045
4046 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Let-bind
4047 `tramp-current-connection' in order to avoid an error when several
4048 commands are invoked in a short time in eshell and friends.
4049
4050 2013-02-19 Stefan Monnier <monnier@iro.umontreal.ca>
4051
4052 Cleanup some of EIEIO's namespace.
4053 * emacs-lisp/eieio.el (eieio--define-field-accessors): New macro.
4054 Use it to define all the class-* and object-* field accessors (renamed
4055 to eieio--class-* and eieio--object-*). Update all uses.
4056 (eieio--class-num-slots, eieio--object-num-slots): Rename from
4057 class-num-slots and object-num-slots.
4058 (eieio--check-type): New macro.
4059 (eieio-defclass, eieio-oref, eieio-oref-default, same-class-p)
4060 (object-of-class-p, child-of-class-p, object-slots, class-slot-initarg)
4061 (eieio-oset, eieio-oset-default, object-assoc, object-assoc-list)
4062 (object-assoc-list-safe): Use it.
4063 (eieio-defclass): Tighten regexp.
4064 (eieio--defmethod): Use `memq'. Signal an error for unknown method kind.
4065 Remove unreachable code.
4066 (object-class-fast): Declare obsolete.
4067 (eieio-class-name, eieio-object-name, eieio-object-set-name-string)
4068 (eieio-object-class, eieio-object-class-name, eieio-class-parents)
4069 (eieio-class-children, eieio-class-precedence-list, eieio-class-parent):
4070 Rename from class-name, object-name, object-set-name-string,
4071 object-class, object-class-name, class-parents, class-children,
4072 class-precedence-list, class-parent; with obsolete alias.
4073 (class-of, class-direct-superclasses, class-direct-subclasses):
4074 Declare obsolete.
4075 (eieio-defmethod): Use `memq'; remove unreachable code.
4076 * emacs-lisp/eieio-base.el (eieio-persistent-read):
4077 * emacs-lisp/eieio-opt.el (eieio-class-button, eieio-describe-generic)
4078 (eieio-browse-tree, eieio-browse): Use eieio--check-type.
4079
4080 2013-02-18 Aidan Gauland <aidalgol@no8wireless.co.nz>
4081
4082 * eshell/em-cmpl.el: Correct "context-related help" keybinding in
4083 commentary.
4084
4085 2013-02-18 Michael Heerdegen <michael_heerdegen@web.de>
4086
4087 * emacs-lisp/eldoc.el (eldoc-highlight-function-argument):
4088 Use font-lock-keyword-face for macros and special forms (bug#8345).
4089
4090 2013-02-17 Didier Verna <didier@didierverna.net>
4091
4092 * net/network-stream.el (network-stream-open-starttls):
4093 Check that response to the starttls-command is non-nil. (Bug#13706)
4094
4095 2013-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
4096
4097 * font-lock.el (lisp-font-lock-keywords-1, lisp-font-lock-keywords-2):
4098 Don't assume all identifier chars have syntax word.
4099 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
4100 Remove bar-not-symbol. Adjust callers.
4101 (lisp-mode-variables): Don't set a font-lock-syntax-table.
4102
4103 2013-02-17 Leo Liu <sdl.web@gmail.com>
4104
4105 * net/rcirc.el (rcirc-keepalive): Fix invalid timer error.
4106
4107 2013-02-17 Glenn Morris <rgm@gnu.org>
4108
4109 * menu-bar.el (menu-bar-tools-menu): Fix case of EDE entry.
4110
4111 * image-mode.el (image-mode-map): Add image-dired menu entry.
4112
4113 * image-dired.el (tumme): Make this alias obsolete.
4114
4115 2013-02-16 Glenn Morris <rgm@gnu.org>
4116
4117 * image.el (image-animated-types): Remove.
4118 (image-multi-frame-p): Rename from image-animated-p, and generalize.
4119 (image-animated-p): Make obsolete alias.
4120 (image-animate, image-nth-frame, image-animate-timeout):
4121 Use image-multi-frame-p.
4122 (image-animate-timeout): If no delay, use image-default-frame-delay.
4123 * image-mode.el (image-mode, image-toggle-animation):
4124 Use image-multi-frame-p. (Bug#763, bug#10739)
4125 (image-mode): Adjust startup message for a multi-frame image.
4126
4127 * image-mode.el (image-mode-map): Give it a menu.
4128
4129 2013-02-16 Michael Albinus <michael.albinus@gmx.de>
4130
4131 * net/tramp-cache.el (tramp-connection-properties): New customer
4132 option.
4133 (tramp-get-connection-property): Use it.
4134
4135 * net/tramp-compat.el (top): Require 'trampver.
4136
4137 * net/tramp-sh.el (tramp-remote-process-environment):
4138 Set tramp-autoload cookie.
4139
4140 2013-02-16 Kevin Ryde <user42@zip.com.au>
4141
4142 * info-look.el (info-lookup-select-mode): If major-mode has no
4143 info-lookup-alist entry then search up derived-mode-parent (bug#8660).
4144
4145 2013-02-16 Jambunathan K <kjambunathan@gmail.com>
4146
4147 * replace.el (read-regexp): Tighten the regexp that matches tag.
4148 When tag is retrieved with `find-tag-default', use regexp that
4149 matches tag at point. Also update docstring (Bug#13687).
4150
4151 2013-02-16 Eli Zaretskii <eliz@gnu.org>
4152
4153 * autorevert.el (auto-revert-notify-add-watch): With 'w32notify',
4154 add watch for the file, not its parent directory, since w32notify
4155 sets up the watch for the directory internally. (Bug#13725)
4156
4157 2013-02-16 Glenn Morris <rgm@gnu.org>
4158
4159 * image.el (image-default-frame-delay): New variable.
4160 (image-animated-p): Use image-default-frame-delay.
4161 (image-minimum-frame-delay): New constant.
4162 (image-animate-timeout): Use image-minimum-frame-delay.
4163
4164 * image.el (image-nth-frame): New, split from image-animate-timeout.
4165 (image-animate-timeout): Use image-nth-frame.
4166 * image-mode.el (image-goto-frame, image-next-frame)
4167 (image-previous-frame): New commands.
4168 (image-mode-map): Add new frame commands.
4169
4170 2013-02-16 Jonas Bernoulli <jonas@bernoul.li>
4171
4172 * emacs-lisp/tabulated-list.el (tabulated-list-print-col):
4173 If col-desc already has help-echo, use it. (Bug#13563)
4174
4175 2013-02-16 Glenn Morris <rgm@gnu.org>
4176
4177 * image.el (image-current-frame): New variable.
4178 (image-animate-timeout): Set image-current-frame.
4179 * image-mode.el (image-mode): For animated images,
4180 display a frame counter via mode-line-process.
4181
4182 * font-lock.el (lisp-font-lock-keywords-1): Add defvar-local.
4183
4184 2013-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
4185
4186 * simple.el (eval-expression): Let `exp' set the mark (bug#13724).
4187
4188 2013-02-15 Alan Mackenzie <acm@muc.de>
4189
4190 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): When a
4191 global minor mode has been enabled, call the minor mode function
4192 for a new buffer once only, after the major mode hook, whilst
4193 allowing that hook explicitly to disable the minor mode.
4194 (MODE-disable-in-buffer): New (generated) function.
4195 (disable-MODE): New (generated) buffer local variable.
4196
4197 2013-02-15 Jambunathan K <kjambunathan@gmail.com>
4198
4199 * iswitchb.el (iswitchb-read-buffer): Bind `C-.' and `C-,' to
4200 `iswitchb-next-match' and `iswitchb-prev-match' resply.
4201 * ido.el (ido-init-completion-maps): Bind `C-.' and `C-,' to
4202 `ido-next-match' and `ido-prev-match' resply.
4203 * icomplete.el (icomplete-minibuffer-map): Unbind `C-s' and `C-r'.
4204 Bind `C-.' and `C-,' to `icomplete-forward-completions' and
4205 `icomplete-backward-completions' (Bug#13708).
4206
4207 2013-02-15 Glenn Morris <rgm@gnu.org>
4208
4209 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
4210
4211 2013-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
4212
4213 * net/goto-addr.el (goto-address-fontify): Add start and end args.
4214 (goto-address-fontify-region): Use them instead of narrowing, so
4215 syntax-ppss has access to the whole buffer.
4216
4217 2013-02-15 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
4218
4219 * progmodes/python.el: Explain how to restore "cc-mode"-like
4220 forward-sexp movement in header documentation (Bug#13642).
4221 (python-nav--forward-sexp): Behave like emacs-lisp-mode in
4222 comments and strings (GH bug 114).
4223
4224 2013-02-15 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
4225
4226 * progmodes/python.el (python-info-current-defun): Fix current
4227 defun detection (Bug#13618).
4228
4229 2013-02-15 Chong Yidong <cyd@gnu.org>
4230
4231 * xml.el (xml-parse-string): Fix typo in handling of bad character
4232 references.
4233
4234 2013-02-15 Glenn Morris <rgm@gnu.org>
4235
4236 * play/fortune.el (fortune-compile): Simplify and fix previous change.
4237
4238 2013-02-14 Michael Albinus <michael.albinus@gmx.de>
4239
4240 * net/tramp.el (tramp-debug-message):
4241 Add `tramp-condition-case-unless-debug'.
4242 (tramp-debug-on-error): New defvar.
4243 (tramp-condition-case-unless-debug): New defun.
4244 (tramp-file-name-handler): Use it.
4245
4246 2013-02-14 Juri Linkov <juri@jurta.org>
4247
4248 * info.el (Info-isearch-filter): Treat non-nil values of
4249 `search-invisible' including its default value `open'
4250 like the value `t' to match hidden text. (Bug#13402)
4251
4252 2013-02-14 Glenn Morris <rgm@gnu.org>
4253
4254 * help-fns.el (find-lisp-object-file-name): Give special treatment
4255 to all ~/.foo.elc files, not just ~/.emacs. (Bug#9007)
4256
4257 2013-02-14 David Biesack <sasdjb@d72933.na.sas.com> (tiny change)
4258
4259 * net/quickurl.el (quickurl-save-urls):
4260 Ensure quickurl-urls is not truncated on printing. (Bug#9276)
4261
4262 2013-02-14 Dmitry Gutov <dgutov@yandex.ru>
4263
4264 * progmodes/ruby-mode.el (ruby-parse-partial): Don't increase
4265 depth for unfinished percent literal. Not using it in the caller.
4266 (ruby-move-to-block): Jump over multiline literals of all types,
4267 ignoring code-looking contents inside them.
4268 (ruby-add-log-current-method): Improve performance at the expense
4269 of accuracy. `ruby-block-contains-point' is relatively slow, so
4270 only use it for method and singleton class blocks.
4271
4272 2013-02-13 Michael Albinus <michael.albinus@gmx.de>
4273
4274 Use ControlMaster where applicable. (Bug#13677)
4275
4276 * net/tramp.el (tramp-ssh-controlmaster-template): New defvar,
4277 replacing `tramp-detect-ssh-controlmaster'.
4278 (tramp-default-method): Use it.
4279
4280 * net/tramp-sh.el (tramp-methods) [scp, scp1, scp2, scpx, sftp]:
4281 [rsync, ssh, ssh1, ssh2, sshx]: Add ControlPath and ControlMaster
4282 arguments.
4283 [scpc, rsyncc]: Remove methods.
4284 (top): Remove completion functions for "scpc", "rsyncc", "ssh1_old"
4285 and "ssh2_old".
4286 (tramp-do-copy-or-rename-file-out-of-band): Change trace level.
4287 (tramp-maybe-open-connection): Reuse tmpfile for ControlPath.
4288
4289 2013-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
4290
4291 * emacs-lisp/package.el (package--initialized): Move before first use.
4292
4293 2013-02-13 Jambunathan K <kjambunathan@gmail.com>
4294
4295 * icomplete.el (icomplete-hide-common-prefix): New user option.
4296 (icomplete-first-match): New face.
4297 (icomplete-completions): Correct handling of "complete but not
4298 unique" (Bug#12638).
4299
4300 2013-02-13 YE Qianchuan <stool.ye@gmail.com> (tiny change)
4301
4302 * descr-text.el (describe-char): Display the script (bug#13698).
4303
4304 2013-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
4305
4306 * tmm.el: Use lexical-binding and current-active-maps.
4307 (tmm-menubar): Use map-keymap and pcase.
4308 (tmm--completion-table): New function.
4309 (tmm-prompt): Use it to fix the menu order.
4310 (tmm-get-keybind): Use current-active-maps.
4311
4312 2013-02-12 Christopher Schmidt <christopher@ch.ristopher.com>
4313
4314 Add dired-hide-details-mode. (Bug#6799)
4315
4316 * locate.el (locate-mode): Set parent mode property to dired-mode.
4317
4318 * find-dired.el (find-dired): Call dired-insert-set-properties on
4319 initial information line. Set process mark on end of buffer.
4320 (find-dired-sentinel):
4321 Call dired-insert-set-properties on summary.
4322
4323 * dired.el (dired-hide-details-hide-symlink-targets)
4324 (dired-hide-details-hide-information-lines): New options.
4325 (dired-insert-directory):
4326 Set properties after final treatment of output.
4327 (dired-insert-set-properties):
4328 Set dired-hide-details-* properties.
4329 (dired-mode-map): Bind dired-hide-details-mode.
4330 (dired-mode): Set buffer-invisibility-spec to a list.
4331 (dired-next-line): Skip hidden lines.
4332 (dired-previous-line): Use dired-next-line.
4333 (dired-hide-details-mode): New minor mode.
4334 (dired-hide-details-update-invisibility-spec): New function.
4335
4336 2013-02-13 Glenn Morris <rgm@gnu.org>
4337
4338 * play/yow.el: Move to obsolete/. (Bug#9384)
4339
4340 2013-02-13 Juri Linkov <juri@jurta.org>
4341
4342 * vc/ediff-util.el (ediff-recenter): Use `select-frame-set-input-focus'
4343 to select `ediff-control-frame' and set input focus correctly on Xfce.
4344 (Bug#12218)
4345
4346 2013-02-13 Juri Linkov <juri@jurta.org>
4347
4348 * image-mode.el (image-mode-map):
4349 * doc-view.el (doc-view-mode-map):
4350 * vc/ediff-util.el (ediff-setup-keymap):
4351 Make S-SPC scroll in the opposite sense to SPC. (Bug#2145)
4352
4353 2013-02-13 Dmitry Gutov <dgutov@yandex.ru>
4354
4355 * progmodes/ruby-mode.el (ruby-move-to-block): Improve
4356 performance. Instead of recalculating indentation fully for each
4357 line, sum up indentation depth based only on visited lines.
4358 (ruby-parse-partial): Increase the depth after "do" even when END
4359 is right after it.
4360 (ruby-parse-partial): When END is in the middle of a percent
4361 literal, increase the depth if the delimiter chars belong to the
4362 paren syntax class.
4363
4364 2013-02-13 Kirill A. Korinskiy <catap@catap.ru>
4365
4366 * play/fortune.el (fortune-compile): Also make the compiled file
4367 if it does not exist at all, not just if it is old. (Bug#5338)
4368
4369 2013-02-13 Glenn Morris <rgm@gnu.org>
4370
4371 * emacs-lisp/package.el (package-menu-execute): Doc fix.
4372
4373 2013-02-13 Yves Baumes <ybaumes@gmail.com> (tiny change)
4374
4375 * lisp/emacs-lisp/package.el (package-menu-execute):
4376 Add optional noquery argument. (Bug#13625)
4377
4378 2013-02-13 Michael Albinus <michael.albinus@gmx.de>
4379
4380 * net/ange-ftp.el (ange-ftp-make-directory): Don't raise an error,
4381 if DIR exists and PARENTS is non-nil.
4382
4383 2013-02-13 Juanma Barranquero <lekktu@gmail.com>
4384
4385 * progmodes/js.el (js--multi-line-declaration-indentation):
4386 Silence byte-compiler warning.
4387
4388 2013-02-12 Michael Albinus <michael.albinus@gmx.de>
4389
4390 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Rewrite.
4391
4392 * net/tramp-compat.el (top): Declare `remote-file-name-inhibit-cache'
4393 only if it doesn't exist.
4394
4395 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
4396 Set process marker.
4397
4398 2013-02-12 Tassilo Horn <tsdh@gnu.org>
4399
4400 * doc-view.el (doc-view-odf->pdf-converter-soffice): Use separate
4401 UserInstallation when calling soffice to work around LibreOffice
4402 bug 37531.
4403
4404 2013-02-12 Glenn Morris <rgm@gnu.org>
4405
4406 * files.el (basic-save-buffer):
4407 Offer to create a non-existing directory. (Bug#3016)
4408
4409 * calc/calc-graph.el (calc-graph-show-dumb):
4410 * calendar/calendar.el (calendar-mode-map):
4411 * cus-edit.el (custom-mode-map):
4412 * ehelp.el (electric-help-map):
4413 * emulation/vip.el (vip-mode-map):
4414 * epa.el (epa-key-list-mode-map):
4415 * info.el (Info-mode-map):
4416 * mail/rmail.el (rmail-mode-map):
4417 * mail/rmailsum.el (rmail-summary-mode-map):
4418 * man.el (Man-mode-map):
4419 * net/newst-plainview.el (newsticker-mode-map):
4420 * progmodes/cpp.el (cpp-edit-mode-map):
4421 * progmodes/grep.el (grep-mode-map):
4422 * progmodes/idlw-help.el (idlwave-help-mode-map):
4423 * simple.el (special-mode-map):
4424 * startup.el (splash-screen-keymap):
4425 * view.el (view-mode-map):
4426 Make S-SPC scroll in the opposite sense to SPC. (Bug#2145)
4427
4428 2013-02-11 Elias Pipping <pipping@lavabit.com>
4429
4430 * doc-view.el (doc-view-current-cache-dir): Beware % escapes
4431 (bug#13679).
4432
4433 2013-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
4434
4435 * cus-start.el (all): Remove inhibit-local-menu-bar-menus.
4436
4437 2013-02-11 Glenn Morris <rgm@gnu.org>
4438
4439 * vc/diff.el (diff-use-labels): New variable.
4440 (diff-no-select): Use --label rather than -L, and first
4441 check that it is supported. (Bug#11067)
4442
4443 * files.el (enable-dir-local-variables): New variable.
4444 (hack-dir-local-variables): Respect enable-dir-local-variables.
4445 * tutorial.el (help-with-tutorial):
4446 Ignore directory-local variables. (Bug#11127)
4447
4448 * vc/vc-svn.el (vc-svn-command): Move --non-interactive from here...
4449 (vc-svn-global-switches): ... to here. (Bug#13513)
4450
4451 2013-02-10 Christopher Schmidt <christopher@ch.ristopher.com>
4452
4453 * minibuf-eldef.el (minibuffer-default--in-prompt-regexps):
4454 Handle "foo (bar, default: xxx): " prompts.
4455
4456 2013-02-10 Chong Yidong <cyd@gnu.org>
4457
4458 * files.el (basic-save-buffer-1): Do not set
4459 buffer-file-coding-system-explicit (Bug#4533).
4460
4461 * mail/emacsbug.el (report-emacs-bug): Change binding of
4462 report-emacs-bug-insert-to-mailer to C-c M-i (Bug#13510).
4463
4464 2013-02-09 Jay Belanger <jay.p.belanger@gmail.com>
4465
4466 * calc/calc.el (calc-allow-units-as-numbers): New variable.
4467 * calc/calc-units.el (calc-convert-units): Use new variable.
4468
4469 2013-02-09 Eli Zaretskii <eliz@gnu.org>
4470
4471 * subr.el (buffer-file-type, default-buffer-file-type): Remove.
4472
4473 * net/ange-ftp.el (ange-ftp-insert-file-contents): Don't reference
4474 buffer-file-type.
4475
4476 * mail/feedmail.el (feedmail-force-binary-write): Doc fix.
4477 (feedmail-run-the-queue, feedmail-dump-message-to-queue)
4478 (feedmail-send-it-immediately): Don't bind buffer-file-type, bind
4479 coding-system-for-write instead.
4480
4481 * jka-compr.el (jka-compr-write-region): Don't bind
4482 buffer-file-type.
4483
4484 * emacs-lisp/bytecomp.el (byte-compile-file): Don't bind
4485 buffer-file-type.
4486
4487 * files.el (file-name-buffer-file-type-alist): Remove defvar.
4488 (insert-file-contents-literally): Remove reference to
4489 file-name-buffer-file-type-alist.
4490
4491 * dos-w32.el (file-name-buffer-file-type-alist): Deprecate and
4492 make-obsolete.
4493 (find-buffer-file-type-match, find-buffer-file-type): Remove.
4494 (find-buffer-file-type-coding-system): Remove references to
4495 find-buffer-file-type-match, find-buffer-file-type, and
4496 buffer-file-type.
4497 Don't put find-buffer-file-type-coding-system into
4498 file-coding-system-alist.
4499 (find-file-binary, find-file-text): Bind coding-system-for-read
4500 instead of file-name-buffer-file-type-alist.
4501
4502 2013-02-09 Jambunathan K <kjambunathan@gmail.com>
4503
4504 * doc-view.el: Use (and prefer) soffice as default ODF->PDF
4505 converter (Bug#13622).
4506 (doc-view-unoconv-program): Make obsolete alias.
4507 (doc-view-odf->pdf-converter-program): New variable.
4508 (doc-view-odf->pdf-converter-function): New variable.
4509 (doc-view-mode-p): Use it.
4510 (doc-view-odf->pdf-converter-unoconv):
4511 Rename from `doc-view-odf->pdf-converter-unoconv'.
4512 (doc-view-odf->pdf-converter-soffice): New function.
4513 (doc-view-convert-current-doc):
4514 Use `doc-view-odf->pdf-converter-function'.
4515
4516 2013-02-09 Chong Yidong <cyd@gnu.org>
4517
4518 * minibuffer.el (minibuffer-inactive-mode-map): Bind mouse-1 to
4519 view-echo-area-messages (Bug#13340).
4520
4521 * help.el (view-echo-area-messages): Use display-buffer.
4522
4523 * dired-x.el (dired-do-run-mail): Prompt for confirmation
4524 (Bug#13561).
4525
4526 2013-02-08 Stefan Monnier <monnier@iro.umontreal.ca>
4527
4528 * emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):
4529 Eval body right away, now that we do eager macroexpansion (bug#13605).
4530
4531 * simple.el (end-of-buffer): Don't touch unrelated windows (bug#13466).
4532 (fundamental-mode): Use run-mode-hooks.
4533
4534 * eshell/esh-proc.el (eshell/kill): Fix last change.
4535 * eshell/em-ls.el (eshell-ls-dir): Fix use of CL in last change.
4536
4537 2013-02-08 Aidan Gauland <aidalgol@no8wireless.co.nz>
4538
4539 * eshell/esh-proc.el (eshell/kill): Rewrite.
4540
4541 * eshell/em-ls.el (show-almost-all): Declare.
4542 (eshell-do-ls): Add support for -A argument.
4543
4544 2013-02-08 Jambunathan K <kjambunathan@gmail.com>
4545
4546 * icomplete.el (icomplete-forward-completions)
4547 (icomplete-backward-completions): Handle corner case (bug#13602).
4548
4549 2013-02-07 Michael Albinus <michael.albinus@gmx.de>
4550
4551 * vc/vc-hooks.el (vc-find-file-hook): `buffer-file-truename' can
4552 be nil. Handle this. (Bug#13636)
4553
4554 2013-02-07 Richard Stallman <rms@gnu.org>
4555
4556 * mail/rmail.el (rmail-variables): Specify `no-conversion' for
4557 `save-buffer-coding-system'.
4558
4559 2013-02-07 Alan Mackenzie <acm@muc.de>
4560
4561 Fix bug in state cache mechanism. Remove 'BOD "strategy". Refactor.
4562 * progmodes/cc-engine.el (c-get-fallback-scan-pos): Remove.
4563 (c-parse-state-get-strategy): Don't return 'BOD any more.
4564 (c-append-lower-brace-pair-to-state-cache):
4565 Extra parameter HERE instead of narrowing.
4566 Widen to top of buffer before searching backwards for a brace pair.
4567 (c-state-push-any-brace-pair): Add HERE parameter to function call.
4568 (c-append-to-state-cache): Extra parameter HERE in place of narrowing.
4569 Narrow to parameter HERE, in place of being called narrowed.
4570 (c-remove-stale-state-cache): Extra parameter HERE in place of
4571 narrowing. Check there's an open brace in the cache before
4572 searching for its match.
4573 (c-invalidate-state-cache-1): Add HERE parameter to function call.
4574 (c-parse-state-1): Don't narrow here for 'forward strategy,
4575 instead passing extra parameter HERE to several functions.
4576 Remove 'BOD strategy.
4577
4578 2013-02-06 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
4579
4580 * emacs-lisp/package.el (describe-package-1): Tell what archive is
4581 used to install the package.
4582
4583 2013-02-06 Glenn Morris <rgm@gnu.org>
4584
4585 * vc/vc-hooks.el (vc-find-file-hook): Don't ask about following links
4586 if we can't get user input. (Bug#6567)
4587
4588 * startup.el (command-line): If simple.el is missing,
4589 test and warn about for some possible causes.
4590
4591 2013-02-05 Jan Djärv <jan.h.d@swipnet.se>
4592
4593 * cus-start.el (all): Add ns-use-native-fullscreen.
4594
4595 2013-02-05 Glenn Morris <rgm@gnu.org>
4596
4597 * profiler.el (profiler-report-mode-map): Add a restart menu entry.
4598
4599 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
4600 Fix directory creation in fallback case.
4601
4602 2013-02-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4603
4604 * vc/vc.el (vc-next-action): Fix inf-loop (bug#13610).
4605 (vc-update-change-log): Use dolist.
4606
4607 2013-02-04 Chong Yidong <cyd@gnu.org>
4608
4609 * thingatpt.el: Rewrite the URL detection routines, absorbing some
4610 code from ffap.el.
4611 (thing-at-point-beginning-of-url-regexp): New var.
4612 (thing-at-point-uri-schemes): Update list of URI schemes.
4613 (thing-at-point-url-regexp): Variable deleted.
4614 (thing-at-point-markedup-url-regexp): Disallow newlines.
4615 (thing-at-point-newsgroup-regexp)
4616 (thing-at-point-newsgroup-heads)
4617 (thing-at-point-default-mail-uri-scheme): New variables.
4618 (thing-at-point-bounds-of-url-at-point): Rewrite. Use ffap's
4619 method to find the possible bounds of the URI at point.
4620 New optional argument to find ill-formed URIs.
4621 (thing-at-point-url-at-point): Rewrite. New arguments for finding
4622 ill-formed URIs. Use thing-at-point-bounds-of-url-at-point, and
4623 the scheme-adding heuristics from ffap-url-at-point.
4624 (thing-at-point--bounds-of-well-formed-url): New function.
4625 Do parens matching to decide whether to include parens in the URI
4626 (Bug#9153).
4627
4628 * ffap.el: Require thingatpt.
4629 (ffap-url-at-point): Delegate URI detection to thing-at-point.
4630 All URI-valid characters are now recognized (Bug#5673).
4631 (ffap-string-at-point): Use use-region-p.
4632 (ffap-url-regexp): Extra character is handled by thing-at-point.
4633 (ffap-string-at-point-mode-alist): Allow parentheses.
4634 (ffap-newsgroup-regexp, ffap-newsgroup-heads, ffap-newsgroup-p):
4635 Convert to aliases; code moved to thingatpt.el.
4636 (ffap-gnus-hook): Use setq-local.
4637
4638 2013-02-04 Glenn Morris <rgm@gnu.org>
4639
4640 * emacs-lisp/ert.el (ert--explain-format-atom):
4641 Don't try to print non-characters as characters. (Bug#13543)
4642
4643 2013-02-03 Michael Albinus <michael.albinus@gmx.de>
4644
4645 * net/tramp.el (tramp-debug-message): Extend function exclude list.
4646 (tramp-backtrace): New defun.
4647 (tramp-handle-insert-file-contents): Use `visit' when inserting
4648 the local copy.
4649
4650 * net/tramp-sh.el (tramp-sh-handle-set-visited-file-modtime):
4651 Use `remote-file-name-inhibit-cache'.
4652
4653 2013-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
4654
4655 * progmodes/cperl-mode.el (cperl-mode): Avoid byte-compile warning
4656 (bug#13614).
4657
4658 * subr.el (internal--called-interactively-p--get-frame): Avoid filling
4659 current-load-list (bug#13366).
4660
4661 2013-02-02 Christopher Schmidt <christopher@ch.ristopher.com>
4662
4663 * progmodes/compile.el (compilation-error-regexp-alist-alist):
4664 Identify g++ template instantiation trace. (Bug#12287)
4665 (compilation-mode-hook, compilation-start-hook)
4666 (compilation-window-height): Simplify docstrings. (Bug#13379)
4667
4668 2013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
4669
4670 * mouse.el (mouse-drag-track): Always deactivate the mark before
4671 running the final event's command since that command is in charge of
4672 activating the mark if needed (bug#13523).
4673
4674 2013-02-02 Juri Linkov <juri@jurta.org>
4675
4676 * replace.el (perform-replace): Move let-bindings of isearch-*
4677 variables deeper to the loop that searches for the next match.
4678 Add bindings for `isearch-nonincremental' and `isearch-adjusted'.
4679 Use `isearch-search-fun-default' instead of `isearch-search-fun'.
4680 (Bug#13579)
4681
4682 * isearch.el (isearch-search-fun-default): Check for null
4683 first element of isearch-cmds as a precaution when it's used
4684 with inactive isearch.
4685
4686 2013-02-02 Andrew W. Nosenko <andrew.w.nosenko@gmail.com> (tiny change)
4687
4688 * net/tramp.el (tramp-check-for-regexp): Avoid "Args out of range"
4689 error when buffer in question is narrowed so position 1 is out of
4690 visible part.
4691
4692 2013-02-02 Glenn Morris <rgm@gnu.org>
4693
4694 * textmodes/remember.el (remember-clipboard): Doc fix.
4695
4696 2013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
4697
4698 * progmodes/make-mode.el (makefile-fill-paragraph): Reset syntax-table
4699 properties (bug#13179).
4700
4701 2013-02-02 Juri Linkov <juri@jurta.org>
4702
4703 * progmodes/grep.el (grep-regexp-alist): Use variable grep-match-face
4704 instead of hard-coded default face `match'. (Bug#9438)
4705
4706 2013-02-01 Christopher Schmidt <christopher@ch.ristopher.com>
4707
4708 * vc/vc-arch.el (vc-arch-registered):
4709 * vc/vc-bzr.el (vc-bzr-registered):
4710 * vc/vc-cvs.el (vc-cvs-registered):
4711 * vc/vc-git.el (vc-git-registered):
4712 * vc/vc-hg.el (vc-hg-registered):
4713 * vc/vc-mtn.el (vc-mtn-registered):
4714 * vc/vc-svn.el (vc-svn-registered): Suppress load messages.
4715 (Bug#13139)
4716
4717 * info.el (Info-next-reference, Info-prev-reference): Add numeric
4718 prefix argument. (Bug#11656)
4719
4720 2013-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
4721
4722 * help-fns.el (help-split-fundoc): Don't insert byte-compiled body.
4723
4724 2013-02-01 Glenn Morris <rgm@gnu.org>
4725
4726 * vc/vc-hooks.el (vc-menu-map): Disable vc-rollback menu item
4727 if the backend is known not to support it.
4728
4729 * imenu.el (imenu-default-create-index-function):
4730 Tweak infinite loop test to check for forward motion as well as none.
4731
4732 2013-02-01 Alex Harsanyi <AlexHarsanyi@gmail.com>
4733
4734 * net/soap-client.el (soap-invoke): Encode the string for
4735 `url-request-data' as UTF-8.
4736 Fixes <http://code.google.com/p/emacs-soap-client/issues/detail?id=16>.
4737
4738 2013-02-01 Glenn Morris <rgm@gnu.org>
4739
4740 * calc/calc-help.el (calc-view-news): Use view-emacs-news.
4741
4742 * calc/README, calc/README.prev: Rename/merge to etc/CALC-NEWS.
4743
4744 2013-01-31 Michael Albinus <michael.albinus@gmx.de>
4745
4746 * net/tramp.el (tramp-tramp-file-p): Comment check for
4747 `string-as-unibyte'. The function does not exist on XEmacs, and
4748 likely we need another approach.
4749
4750 * net/tramp-sh.el (tramp-compute-multi-hops): Check, whether
4751 `tramp-gw-*' variables are bound.
4752
4753 2013-01-31 Glenn Morris <rgm@gnu.org>
4754
4755 * files.el (basic-save-buffer-2): Choose coding system for
4756 writing the file before backing it up, to reduce delay between
4757 backing up and writing the new version. (Bug#13522)
4758
4759 2013-01-31 Michal Nazarewicz <mina86@mina86.com>
4760
4761 * simple.el (cycle-spacing): New command.
4762 (just-one-space): Use it.
4763
4764 2013-01-31 Stefan Monnier <monnier@iro.umontreal.ca>
4765
4766 * progmodes/opascal.el: Rename from delphi.el. Use lexical-binding.
4767 (opascal-newline-always-indents): Remove custom.
4768 (opascal-tab, opascal-newline): Remove commands.
4769 (opascal-new-comment-line): Insert "\n" instead of calling newline.
4770 (opascal-mode-map): Keep default bindings for RET and TAB and DEL.
4771 (opascal-save-match-data): Remove, use save-match-data instead.
4772 (opascal-save-state): Use with-silent-modifications.
4773
4774 * progmodes/pascal.el (pascal-mode-syntax-table): Accept //..\n comments
4775 (bug#13585).
4776
4777 2013-01-30 Juri Linkov <juri@jurta.org>
4778
4779 * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
4780 Use fullboth as an alias for fullscreen. Suggested by Jan Djärv in
4781 <http://lists.gnu.org/archive/html/emacs-devel/2013-01/msg00203.html>.
4782
4783 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
4784
4785 * progmodes/make-mode.el (makefile-backslash-region): Don't compute
4786 column if we're just deleting the backslashes.
4787 (makefile-fill-paragraph): Use eolp.
4788
4789 2013-01-30 Michael Albinus <michael.albinus@gmx.de>
4790
4791 * autorevert.el (auto-revert-use-notify): Fix docstring.
4792
4793 2013-01-30 Leo Liu <sdl.web@gmail.com>
4794
4795 * imenu.el (imenu--truncate-items): Fix subalist checking (bug#13576).
4796
4797 2013-01-30 Glenn Morris <rgm@gnu.org>
4798
4799 * mouse.el (mouse-drag-line): Avoid pushing same event onto
4800 unread-command-events twice in some cases. This tries to implement
4801 the 2012-07-26 changes in a different way. (Bug#13560)
4802
4803 2013-01-30 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
4804
4805 * progmodes/python.el
4806 (python-pdbtrack-comint-output-filter-function): Enhancements on
4807 stacktrace detection. (thanks @gnovak)
4808
4809 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
4810
4811 * jit-lock.el (jit-lock-stealth-chunk-start): Don't widen (bug#13542).
4812 (jit-lock-mode, jit-lock-functions, jit-lock-context-unfontify-pos):
4813 Use defvar-local.
4814 (jit-lock-register): Use setq-local.
4815
4816 2013-01-30 Jay Belanger <jay.p.belanger@gmail.com>
4817
4818 * calc-units.el (math-default-units-table): Remove initial value.
4819 (calc-convert-units): Treat expressions where all the units cancel as
4820 if they didn't have units.
4821
4822 2013-01-30 Michael Albinus <michael.albinus@gmx.de>
4823
4824 * net/tramp.el (tramp-process-connection-type): Fix docstring.
4825 (tramp-completion-reread-directory-timeout): Fix type.
4826 (tramp-connection-min-time-diff): New defcustom.
4827
4828 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
4829
4830 2013-01-30 Glenn Morris <rgm@gnu.org>
4831
4832 * imenu.el (imenu-default-create-index-function):
4833 Put back a version of the infinite loop test removed 2013-01-23.
4834
4835 2013-01-30 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
4836
4837 * progmodes/python.el (python-shell-parse-command):
4838 Find python-shell-interpreter with modified environment.
4839
4840 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
4841
4842 * emacs-lisp/cl.el (cl-set-getf): Add compatibility alias.
4843
4844 2013-01-29 Alan Mackenzie <acm@muc.de>
4845
4846 Amend to fontify /regexp/s in actions correctly.
4847 * cc-awk.el (c-awk-harmless-char-re, c-awk-harmless-string*-re):
4848 (c-awk-harmless-string*-here-re): Braces, parens and semicolons
4849 are no longer included.
4850 (c-awk-harmless-line-char-re, c-awk-harmless-line-string*-re):
4851 What used to be these variables without "-line" in the name.
4852 (c-awk-neutral-re): { is no longer neutral. Escaped newlines now are.
4853 (c-awk-non-arith-op-bra-re): Now also matches {.
4854 (c-awk-pre-exp-alphanum-kwd-re): New regexp to match "print",
4855 "return", and "case".
4856 (c-awk-kwd-regexp-sign-re): New, to match "print", etc., followed
4857 by /.
4858 (c-awk-syntax-tablify-/): Check special cases "print /re/", etc.
4859 (c-awk-set-syntax-table-properties): Extend FSM to handle {,},(,),;.
4860
4861 2013-01-29 Michael Albinus <michael.albinus@gmx.de>
4862
4863 * autorevert.el (auto-revert-use-notify):
4864 Use `custom-initialize-default' for initialization. (Bug#13583)
4865
4866 * net/ange-ftp.el (ange-ftp-skip-msgs): Add another message.
4867
4868 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
4869 Catch `suppress'. Otherwise, `tramp-run-real-handler' might be called
4870 in `tramp-file-name-handler'.
4871 (tramp-gw-tunnel-method, tramp-gw-socks-method): Declare for
4872 compatibility.
4873 (tramp-compute-multi-hops): Check, whether
4874 `tramp-gw-tunnel-method' and `tramp-gw-socks-method' are non-nil.
4875
4876 2013-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
4877
4878 * hi-lock.el (hi-lock-unface-buffer): Don't assume `face' is a symbol
4879 (bug#13297).
4880
4881 2013-01-27 Dmitry Gutov <dgutov@yandex.ru>
4882
4883 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove some
4884 checks made superfluous by the \_< operator.
4885 * progmodes/ruby-mode.el (ruby-move-to-block): Work with (maybe
4886 temporarily) broken indentation.
4887 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
4888 Highlight nested constants, too. \_< broke that.
4889
4890 2013-01-27 Nobuyoshi Nakada <nobu@ruby-lang.org>
4891
4892 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Use "\\_<"
4893 instead of "\\b".
4894
4895 2013-01-27 Michael Albinus <michael.albinus@gmx.de>
4896
4897 * autorevert.el (auto-revert-handler): Notifications which result
4898 from a saved file shall not be taken into account. (Bug#13557)
4899
4900 2013-01-26 Andreas Schwab <schwab@linux-m68k.org>
4901
4902 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Add optional
4903 parameter BAR-NOT-SYMBOL to control syntax of | for font-lock.
4904 (lisp-mode): Pass t for it. (Bug#13556)
4905
4906 2013-01-25 Alan Mackenzie <acm@muc.de>
4907
4908 AWK Mode: Fix indentation bug at top level. Bug #12274.
4909
4910 * progmodes/cc-engine.el (c-guess-basic-syntax): Move CASE 5P to
4911 just before CASE 5D.
4912
4913 2013-01-25 Dmitry Antipov <dmantipov@yandex.ru>
4914
4915 * net/socks.el (socks-nslookup-host): Use string-to-number.
4916
4917 2013-01-25 Michael Albinus <michael.albinus@gmx.de>
4918
4919 * autorevert.el (auto-revert-remote-files)
4920 (auto-revert-notify-exclude-dir-regexp): New defcustoms.
4921 (auto-revert-notify-enabled, auto-revert-use-notify)
4922 (auto-revert-notify-watch-descriptor-hash-list)
4923 (auto-revert-notify-modified-p, auto-revert-notify-event-p)
4924 (auto-revert-notify-event-descriptor)
4925 (auto-revert-notify-event-action)
4926 (auto-revert-notify-event-file-name): Doc fix.
4927 (global-auto-revert-mode): Reorder checks.
4928 (auto-revert-notify-rm-watch): Respect changed values of
4929 `auto-revert-notify-watch-descriptor-hash-list'.
4930 (auto-revert-notify-add-watch): Check for
4931 `auto-revert-notify-exclude-dir-regexp'. Adapt filters for
4932 `inotify-add-watch'. Watch `default-directory' instead of
4933 `buffer-file-name'. `auto-revert-notify-watch-descriptor-hash-list'
4934 has a changed meaning now. (Bug#13540)
4935 (auto-revert-notify-handler): Change implementation wrt events
4936 returning from a directory.
4937 (auto-revert-handler): Reorder implementation for checks of remote
4938 files.
4939 (auto-revert-buffers): Fix parentheses error.
4940
4941 2013-01-25 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
4942
4943 * progmodes/python.el: Enhancements to header documentation about
4944 skeletons. (Bug#5716)
4945
4946 * imenu.el (imenu-default-create-index-function): Remove useless
4947 infinite loop check. (Bug#13438)
4948
4949 2013-01-25 Alan Mackenzie <acm@muc.de>
4950
4951 Fix a bug in the state cache mechanism. Refactor this a bit.
4952
4953 * progmodes/cc-engine.el (c-parse-state-get-strategy): Remove the
4954 `cache-pos' element from the return value.
4955 (c-append-lower-brace-pair-to-state-cache): "Narrow" to end of
4956 buffer to enable proper searching from beyond HERE. Amend the
4957 test for detecting the sought brace pair. Amend the value written
4958 to the "brace desert cache" when the brace isn't found.
4959 (c-remove-stale-state-cache): Rename `good-pos' to `start-point',
4960 and several other variables analogously.
4961 (c-remove-stale-state-cache-backwards): Change `cache-pos' from a
4962 parameter to a locally calculated variable.
4963 (c-parse-state-1): Change the calling conventions to the two
4964 defuns involving `cache-pos'.
4965
4966 2013-01-25 Chong Yidong <cyd@gnu.org>
4967
4968 * xml.el (xml-entity-or-char-ref-re): Fix regexp.
4969
4970 2013-01-24 Aaron Ecay <aaronecay@gmail.com> (tiny change)
4971
4972 * paren.el (show-paren-function): Make sure to set 'priority and
4973 'face only if the overlay does exist.
4974
4975 2013-01-24 Michael Albinus <michael.albinus@gmx.de>
4976
4977 * net/tramp.el (tramp-tramp-file-p): Check, whether NAME is unibyte.
4978
4979 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Do not suppress
4980 basic attributes.
4981 (tramp-sh-handle-set-file-acl): Improve error checking.
4982
4983 2013-01-24 Dmitry Antipov <dmantipov@yandex.ru>
4984
4985 * doc-view.el (doc-view-display): Force mode line update until all
4986 document is converted. Suggested by Stefan Monnier (Bug#13164).
4987
4988 2013-01-23 Bastien Guerry <bzg@gnu.org>
4989
4990 * paren.el (show-paren-function): Make sure an overlay exists
4991 before trying to delete it. Also use `pos' as a position only
4992 when it is an integer.
4993
4994 2013-01-23 Dmitry Antipov <dmantipov@yandex.ru>
4995
4996 * play/gametree.el (gametree-break-line-here): Use point-marker.
4997
4998 2013-01-22 Michael Albinus <michael.albinus@gmx.de>
4999
5000 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
5001 Mark descriptive parts with `display' property.
5002
5003 2013-01-21 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
5004
5005 * textmodes/ispell.el (ispell-hunspell-dictionary-equivs-alist):
5006 New variable to map standard dict names to hunspell ones.
5007 (ispell-set-spellchecker-params): Make sure specific dict names
5008 are used for standard dicts with hunspell.
5009
5010 2013-01-21 Tassilo Horn <tsdh@gnu.org>
5011
5012 * textmodes/reftex-cite.el (reftex-format-citation): Add format
5013 chars for note (%N) and url (%U).
5014 * textmodes/reftex-vars.el (reftex-cite-format): Document them.
5015
5016 2013-01-21 Juri Linkov <juri@jurta.org>
5017
5018 * frame.el: Bind `f10' in `esc-map' to `toggle-frame-maximized'
5019 in addition to existing separate binding `meta f10' in `global-map'.
5020 (Bug#13484)
5021
5022 2013-01-21 Michael Albinus <michael.albinus@gmx.de>
5023
5024 Improve XEmacs compatibility.
5025
5026 * net/tramp.el (tramp-replace-environment-variables): Make it a defun.
5027
5028 * net/tramp-adb.el (top): Require `time-date'.
5029 (tramp-adb-ls-output-time-less-p): Use `tramp-time-less-p'.
5030 (tramp-adb-handle-copy-file, tramp-adb-handle-rename-file):
5031 Use `tramp-file-name-handler'.
5032 (tramp-adb-maybe-open-connection):
5033 Use `tramp-compat-set-process-query-on-exit-flag'.
5034
5035 * net/tramp-sh.el (tramp-sh-handle-file-acl):
5036 Use `tramp-compat-funcall'.
5037
5038 * net/tramp-smb.el (tramp-smb-handle-file-acl): Use `looking-at' and
5039 `tramp-compat-funcall'.
5040
5041 2013-01-21 JĂ¼rgen Hötzel <juergen@archlinux.org>
5042
5043 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Complete
5044 reimplementation using "adb shell command ..." instead of running
5045 remote shell interactively.
5046
5047 2013-01-20 Glenn Morris <rgm@gnu.org>
5048
5049 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
5050 Add native profiler menu entries.
5051
5052 * profiler.el (profiler-running-p): New function.
5053 (profiler-cpu-profile): Use profiler-running-p.
5054 (profiler-report-mode-map): Add some more menu entries.
5055
5056 2013-01-19 Glenn Morris <rgm@gnu.org>
5057
5058 * mail/unrmail.el (unrmail): Do not mangle the mbox From line;
5059 fixes 2012-12-07 change. (Bug#13499)
5060
5061 2013-01-19 Leo Liu <sdl.web@gmail.com>
5062
5063 * dired.el (dired-get-marked-files): Prune erroneous values due to
5064 last change. (Bug#13152)
5065
5066 2013-01-19 Glenn Morris <rgm@gnu.org>
5067
5068 * progmodes/etags.el (tags-table-check-computed-list):
5069 Preserve point in tags buffer. (Bug#13412)
5070
5071 * emacs-lisp/lisp-mode.el (lisp-indent-function): Doc fix.
5072
5073 2013-01-19 Christian Wittern <cwittern@gmail.com> (tiny change)
5074 Chong Yidong <cyd@gnu.org>
5075
5076 * image-mode.el (image-next-file, image-previous-file):
5077 New commands (Bug#8453).
5078 (image-mode-map): Bind them to n and p.
5079 (image-mode--images-in-directory): New helper function.
5080
5081 2013-01-19 Chong Yidong <cyd@gnu.org>
5082
5083 * image-mode.el (image-mode-fit-frame): Add a frame argument.
5084 Suggested by Drew Adams (Bug#7730). Handle window decorations;
5085 save and restore the old window configuration.
5086
5087 2013-01-18 Leo Liu <sdl.web@gmail.com>
5088
5089 * progmodes/js.el: Tweak autoload cookie for alias.
5090
5091 2013-01-17 Michael Albinus <michael.albinus@gmx.de>
5092
5093 * autorevert.el (auto-revert-notify-watch-descriptor): Make it
5094 buffer local, again. This was lost with the fix on 2013-01-12.
5095
5096 2013-01-17 JĂ¼rgen Hötzel <juergen@archlinux.org>
5097
5098 * eshell/esh-util.el (eshell-path-env): Make it buffer local, in
5099 order to support several eshell buffers in parallel.
5100
5101 2013-01-17 Michael Albinus <michael.albinus@gmx.de>
5102
5103 * autorevert.el (auto-revert-use-notify): In the :set function, do
5104 not modify `kill-buffer-hook'.
5105 (auto-revert-notify-rm-watch):
5106 Remove `auto-revert-notify-rm-watch' from `kill-buffer-hook'.
5107 (auto-revert-notify-add-watch): Do not call
5108 `auto-revert-notify-rm-watch', but add it to a buffer local
5109 `kill-buffer-hook'.
5110
5111 2013-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
5112
5113 * emacs-lisp/trace.el (trace--read-args): Use a closure and an honest
5114 call to `eval' rather than a backquoted lambda.
5115
5116 2013-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
5117
5118 * emacs-lisp/nadvice.el (advice--tweak): Make it possible for `tweak'
5119 to return an explicit nil.
5120 (advice--remove-function): Change accordingly.
5121
5122 * emacs-lisp/advice.el (ad-preactivate-advice): Adjust the cleanup to
5123 the use of nadvice.el.
5124
5125 * progmodes/which-func.el (which-function): Silence imenu errors
5126 (bug#13433).
5127
5128 2013-01-15 Michael R. Mauger <mmaug@yahoo.com>
5129
5130 * progmodes/sql.el (sql-imenu-generic-expression):
5131 (sql-mode-font-lock-object-name): Match schema qualified names.
5132 (sql-connect): Use string keys.
5133 (sql-product-interactive): Wait for interpreter prompt.
5134 (sql-comint-oracle): Set process coding based on NLS_LANG.
5135
5136 2013-01-15 Michael R. Mauger <mmaug@yahoo.com>
5137
5138 * progmodes/sql.el (sql-output-to-send): Remove, unused.
5139 (sql-interactive-remove-continuation-prompt):
5140 (sql-send-magic-terminator, sql-interactive-mode): Remove references.
5141
5142 2013-01-14 Leo Liu <sdl.web@gmail.com>
5143
5144 * calendar/calendar.el (calendar-redraw): Sync window-point and point.
5145 (Bug#13420)
5146
5147 2013-01-14 Glenn Morris <rgm@gnu.org>
5148
5149 * progmodes/compile.el (compilation-error-regexp-alist-alist):
5150 Fix interpretation of gnu line.col1-col2 format. (Bug#13335)
5151
5152 2013-01-13 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
5153
5154 * progmodes/python.el (python-nav-end-of-statement):
5155 Fix cornercase when handling multiline strings.
5156
5157 2013-01-13 Richard Stallman <rms@gnu.org>
5158
5159 * mail/sendmail.el (mail-position-on-field): Add doc string.
5160
5161 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
5162 Get current message boundaries and pass them to
5163 message-forward-make-body-mime. Minor style changes.
5164
5165 2013-01-13 Eli Zaretskii <eliz@gnu.org>
5166
5167 * cus-start.el (all): Avoid warnings about
5168 scroll-bar-adjust-thumb-portion on platforms where it is not defined.
5169
5170 2013-01-11 Jan Djärv <jan.h.d@swipnet.se>
5171
5172 * cus-start.el (all): Add scroll-bar-adjust-thumb-portion.
5173
5174 2013-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
5175
5176 * jit-lock.el (jit-lock-debug-mode): New minor mode.
5177 (jit-lock--debug-fontifying): New var.
5178 (jit-lock--debug-fontify): New function.
5179 * subr.el (condition-case-unless-debug): Don't prevent catching the
5180 error, just let the debbugger run.
5181 * emacs-lisp/timer.el (timer-event-handler): Don't prevent debugging
5182 timer code and don't drop errors silently.
5183
5184 2013-01-12 Michael Albinus <michael.albinus@gmx.de>
5185
5186 * autorevert.el (auto-revert-notify-watch-descriptor): Give it
5187 `permanent-local' property.
5188 (auto-revert-notify-handler): Use `file-equal-p'.
5189
5190 2013-01-12 Eli Zaretskii <eliz@gnu.org>
5191
5192 * autorevert.el (auto-revert-notify-handler): Fix filtering of
5193 file notification by ACTION. For filtering by file name, compare
5194 only the non-directory part of the file name.
5195
5196 2013-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
5197
5198 * autorevert.el: Use cl-lib instead of cl.
5199
5200 * vc/vc-bzr.el (vc-bzr--sanitize-header): New function (bug#13307).
5201 (vc-bzr-checkin): Use it.
5202 * vc/log-edit.el (log-edit-extract-headers): Don't presume FUNCTION
5203 will preserve match-data.
5204
5205 2013-01-11 Felix H. Dahlke <fhd@ubercode.de>
5206
5207 * progmodes/js.el: Fix multiline declarations's indentation (bug#8576).
5208 (js--declaration-keyword-re): New var.
5209 (js--multi-line-declaration-indentation): New function.
5210 (js--proper-indentation): Use it.
5211
5212 2013-01-11 Aaron S. Hawley <Aaron.Hawley@vtinfo.com>
5213
5214 * calc/calc.el (calc-highlight-selections-with-faces)
5215 (calc-dispatch):
5216 * comint.el (comint-history-isearch-message):
5217 * emacs-lisp/edebug.el (edebug-read, edebug-eval-defun):
5218 * ffap.el (ffap-string-at-point-region, ffap-next)
5219 (ffap-string-at-point, ffap-string-around)
5220 (ffap-copy-string-as-kill, ffap-highlight-overlay)
5221 (ffap-literally):
5222 * font-lock.el (font-lock-keywords-alist)
5223 (font-lock-removed-keywords-alist):
5224 * help-mode.el (help-xref-symbol-regexp):
5225 * info.el (Info-find-emacs-command-nodes):
5226 * international/mule.el (add-to-coding-system-list):
5227 * isearch.el (isearch-message-function, isearch-fail-pos):
5228 * misearch.el (multi-isearch-next-buffer-function):
5229 * newcomment.el (comment-box):
5230 * printing.el (pr-txt-printer-alist, pr-ps-printer-alist)
5231 (pr-setting-database):
5232 * progmodes/cc-fonts.el (c-font-lock-keywords-3)
5233 (c++-font-lock-keywords-3, objc-font-lock-keywords-3)
5234 (java-font-lock-keywords-3, idl-font-lock-keywords-3)
5235 (pike-font-lock-keywords-3):
5236 * progmodes/compile.el (compile):
5237 * progmodes/etags.el (tags-table-files)
5238 (tags-table-files-function, tags-included-tables-function):
5239 * progmodes/gdb-mi.el (gdb, gdb-setup-windows)
5240 (gdb-restore-windows):
5241 * ps-print.el (ps-even-or-odd-pages, ps-spool-buffer-with-faces)
5242 (ps-n-up-filling-database):
5243 * server.el (server-buffer, server-log):
5244 * simple.el (newline, delete-backward-char, delete-forward-char)
5245 (minibuffer-history-isearch-message, kill-line, track-eol)
5246 (temporary-goal-column):
5247 * textmodes/flyspell.el (flyspell-mark-duplications-flag)
5248 (flyspell-default-deplacement-commands):
5249 * textmodes/ispell.el (ispell-accept-output):
5250 * textmodes/sgml-mode.el (html-tag-help):
5251 * vc/compare-w.el (compare-ignore-whitespace)
5252 (compare-ignore-case, compare-windows-dehighlight):
5253 * vc/diff.el (diff):
5254 * whitespace.el (whitespace-point)
5255 (whitespace-font-lock-refontify, whitespace-bob-marker)
5256 (whitespace-eob-marker): Fix ambiguous doc string cross-reference(s).
5257
5258 2013-01-11 Michael Albinus <michael.albinus@gmx.de>
5259
5260 * autorevert.el (top): Require 'cl in order to pacify byte compiler.
5261 (auto-revert-notify-rm-watch): Ignore errors.
5262 (auto-revert-notify-add-watch): Ignore errors. Use '(modify) for
5263 inotify, and '(size last-write-time) for w32notify.
5264 Set buffer-local `auto-revert-use-notify' to nil when adding a file
5265 watch fails - this is a fallback to the file modification check.
5266 (auto-revert-notify-event-p, auto-revert-notify-event-descriptor)
5267 (auto-revert-notify-event-action)
5268 (auto-revert-notify-event-file-name): New defuns.
5269 (auto-revert-notify-handler): Use them. Implement first
5270 plausibility checks.
5271 (auto-revert-handler): Handle also `auto-revert-tail-mode'.
5272
5273 2013-01-11 Julien Danjou <julien@danjou.info>
5274
5275 * color.el (color-rgb-to-hsv): Fix conversion computing in case min and
5276 max are almost equal. Also return the correct value for V which is
5277 already between 0 and 1.
5278
5279 2013-01-11 Dmitry Antipov <dmantipov@yandex.ru>
5280
5281 * emacs-lisp/ert.el (ert-run-test): Use point-max-marker.
5282
5283 2013-01-11 Eli Zaretskii <eliz@gnu.org>
5284
5285 * autorevert.el (auto-revert-notify-rm-watch)
5286 (auto-revert-notify-add-watch): Fix typos in w32notify function
5287 names.
5288
5289 2013-01-10 Michael Albinus <michael.albinus@gmx.de>
5290
5291 * autorevert.el (auto-revert-notify-enabled): Move up.
5292 (auto-revert-use-notify): New defcustom.
5293 (auto-revert-mode, global-auto-revert-mode)
5294 (auto-revert-notify-add-watch, auto-revert-handler)
5295 (auto-revert-buffers): Use `auto-revert-use-notify' instead of
5296 `auto-revert-notify-enabled'.
5297
5298 2013-01-10 Elias Pipping <pipping@exherbo.org>
5299
5300 * files.el (auto-mode-alist): Use doc-view for djvu files (bug#13164).
5301 * doc-view.el (doc-view-document->bitmap):
5302 Use doc-view-single-page-converter-function instead of
5303 single-page-converter arg; adjust callers.
5304
5305 2013-01-10 Feng Li <fengli@gmail.com> (tiny change)
5306
5307 * progmodes/which-func.el (which-function): Understand Semantic's use
5308 of overlays in imenu--index-alist.
5309
5310 2013-01-10 Wolfgang Jenkner <wjenkner@inode.at>
5311
5312 * man.el: Handle different "man -k" behaviors (bug#13160). Use utf-8.
5313 (Man-man-k-use-anchor): New var.
5314 (Man-parse-man-k): New function.
5315 (Man-completion-table): Use it.
5316 (man): Flush the completion cache between uses.
5317
5318 2013-01-10 Michael Albinus <michael.albinus@gmx.de>
5319
5320 * autorevert.el: Add file watch support.
5321 (auto-revert-notify-enabled): New defconst.
5322 (auto-revert-notify-watch-descriptor-hash-list)
5323 (auto-revert-notify-watch-descriptor)
5324 (auto-revert-notify-modified-p): New defvars.
5325 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
5326 (auto-revert-notify-handler): New defuns.
5327 (auto-revert-mode, global-auto-revert-mode): Remove file watches
5328 when mode is disabled.
5329 (auto-revert-handler): Check for `auto-revert-notify-modified-p'.
5330 (auto-revert-buffers): Add file watches for active buffers.
5331
5332 2013-01-10 Dmitry Antipov <dmantipov@yandex.ru>
5333
5334 * cus-start.el (toplevel): Only allow float values for
5335 scroll-up-aggressively and scroll-down-aggressively.
5336 Allow any number for line-spacing.
5337
5338 2013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
5339
5340 * doc-view.el (doc-view-pdfdraw-program): Allow "pdfdraw" name.
5341 (doc-view-pdf->png-converter-function): Use mupdf if available.
5342 (doc-view-djvu->png-converter-function)
5343 (doc-view-ps->png-converter-function): Remove.
5344 (doc-view--image-file-pattern): Replace doc-view--image-file-extension.
5345 (doc-view-goto-page, doc-view-convert-current-doc, doc-view-display)
5346 (doc-view-already-converted-p): Adjust accordingly.
5347 (doc-view-mode-p): Simplify.
5348 (doc-view-enlarge): Use setq-local.
5349 (doc-view-pdf->png-converter-ghostscript)
5350 (doc-view-djvu->png-converter-ddjvu)
5351 (doc-view-pdf->png-converter-mupdf): Rework to call
5352 doc-view-start-process directly.
5353 (doc-view-pdf/ps->png): Simplify accordingly.
5354 (doc-view-pdf->png-1, doc-view-djvu->png-1): Remove.
5355 (doc-view-document->bitmap): Rename from doc-view-document->png.
5356 (doc-view-convert-current-doc): Merge pdf and djvu cases.
5357 (doc-view-set-slice-from-bounding-box): Fix completion table.
5358 (doc-view-mode): Use add-hook for after-revert-hook.
5359
5360 2013-01-10 Glenn Morris <rgm@gnu.org>
5361
5362 * emacs-lisp/authors.el (authors-ignored-files)
5363 (authors-valid-file-names, authors-renamed-files-alist):
5364 Add some more entries.
5365
5366 2013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
5367
5368 * image-mode.el (image-mode-winprops): Don't throw away the fallback
5369 `t' pseudo-window entry.
5370
5371 2013-01-10 Alan Mackenzie <acm@muc.de>
5372
5373 Fix bugs in the c-parse-state mechanism. Reuse some markers
5374 instead of continually generating new ones.
5375
5376 * progmodes/cc-engine.el (c-state-old-cpp-beg-marker)
5377 (c-state-old-cpp-end-marker): New variables.
5378 (c-append-lower-brace-pair-to-state-cache): Start a backward
5379 search for "}" definitively outside CPP constructs.
5380 (c-remove-stale-state-cache): Inform the caller of a need to
5381 search back for a brace pair in certain circumstances.
5382 (c-state-maybe-marker): New macro.
5383 (c-parse-state): Reuse markers when appropriate.
5384
5385 2013-01-10 Glenn Morris <rgm@gnu.org>
5386
5387 * simple.el (execute-extended-command): Doc fix.
5388 Bind prefix-arg around read-extended-command, for prompt. (Bug#13395)
5389
5390 2013-01-10 Chong Yidong <cyd@gnu.org>
5391
5392 * faces.el (read-face-name): Doc fix.
5393
5394 2013-01-10 Roland Winkler <winkler@gnu.org>
5395
5396 * emacs-lisp/crm.el: Allow any regexp for separators.
5397 (crm-default-separator): All spaces around the default comma separator.
5398 (crm--completion-command): New macro.
5399 (crm-completion-help, crm-complete, crm-complete-word): Use it.
5400 (crm-complete-and-exit): Handle non-single-char separators.
5401
5402 2013-01-09 Elias Pipping <pipping@lavabit.com>
5403
5404 * doc-view.el: Add support for DjVu (bug#13164).
5405 (doc-view-djvu->png-converter-function): New config var.
5406 (doc-view-single-page-converter-function, doc-view--image-type)
5407 (doc-view--image-file-extension): New vars.
5408 (doc-view-mode): Initialize them.
5409 (doc-view-goto-page): Use them.
5410 (doc-view-mode-p): Add support for ddjvu.
5411 (doc-view-djvu->png-converter-ddjvu, doc-view-djvu->png-1)
5412 (doc-view-set-up-single-converter): New funs.
5413 (doc-view-pdf/ps->png): Extend for djvu.
5414 (doc-view-document->png): Rename from doc-view-pdf->png.
5415 (doc-view-convert-current-doc): Handle djvu.
5416 (doc-view-insert-image, doc-view-display)
5417 (doc-view-already-converted-p): Don't hardcode png.
5418 (doc-view-set-doc-type): Recognize djvu docs.
5419
5420 2013-01-09 Elias Pipping <pipping@lavabit.com>
5421
5422 * doc-view.el: Add support for mupdf converter (bug#13164).
5423 (doc-view-pdfdraw-program, doc-view-pdf->png-converter-function)
5424 (doc-view-ps->png-converter-function): New config vars.
5425 (doc-view-pdf->png-converter-ghostscript)
5426 (doc-view-ps->png-converter-ghostscript)
5427 (doc-view-pdf->png-converter-mupdf): New functions.
5428 (doc-view-pdf/ps->png, doc-view-pdf->png-1): Use them.
5429
5430 2013-01-09 JĂ¼rgen Hötzel <juergen@archlinux.org>
5431
5432 * net/tramp.el (tramp-eshell-directory-change): Check remote-path
5433 first in session cache: When `tramp-own-remote-path' is in
5434 `tramp-remote-path', the remote path is only set in the session
5435 cache.
5436
5437 2013-01-09 Glenn Morris <rgm@gnu.org>
5438
5439 * emacs-lisp/trace.el (trace-function-foreground)
5440 (trace-function-background): Doc fix.
5441
5442 2013-01-09 Juri Linkov <juri@jurta.org>
5443
5444 * international/mule-cmds.el (read-char-by-name): Move let-binding
5445 of completion-ignore-case around completing-read to fix regression
5446 exhibited by the test case `C-x 8 RET *acc TAB' and caused by
5447 `string-match-p' using the nil value of `case-fold-search' and
5448 `completion-ignore-case' in `completion-pcm--all-completions'.
5449 (Bug#12615).
5450
5451 2013-01-09 Glenn Morris <rgm@gnu.org>
5452
5453 * progmodes/compile.el (compilation-parse-errors):
5454 Fix typo. (Bug#13369)
5455
5456 2013-01-09 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
5457
5458 * comint.el (comint-send-input): Check size of buffer before
5459 waiting for process output, in case already accepted. (Bug#13290)
5460
5461 2013-01-09 Paul Eggert <eggert@cs.ucla.edu>
5462
5463 Spelling fixes.
5464 * net/tramp-adb.el (tramp-adb-get-toolbox):
5465 Fix misspelling of 'unknown'.
5466
5467 2013-01-08 Juri Linkov <juri@jurta.org>
5468
5469 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
5470 * progmodes/flymake.el (flymake-errline, flymake-warnline):
5471 Use underline style wave on terminals that support it. (Bug#13000)
5472
5473 2013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
5474
5475 * emacs-lisp/pcase.el (pcase--split-equal): Also take advantage if
5476 the predicate returns nil.
5477
5478 * simple.el: Use lexical-binding.
5479 (primitive-undo): Use pcase.
5480 (minibuffer-history-isearch-push-state): Use a closure.
5481
5482 2013-01-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
5483
5484 * simple.el (primitive-undo): Move from undo.c.
5485
5486 2013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
5487
5488 * vc/pcvs.el (cvs-cleanup-collection): Extend meaning of `rm-handled'.
5489 (cvs-mode-remove-handled): Use it (bug#13380).
5490
5491 * emacs-lisp/nadvice.el (advice--tweak): New function.
5492 (advice--remove-function, advice--subst-main): Use it.
5493
5494 * emacs-lisp/advice.el: Update commentary.
5495
5496 2013-01-08 Michael Albinus <michael.albinus@gmx.de>
5497
5498 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5499 Remove spurious entry.
5500
5501 2013-01-08 Glenn Morris <rgm@gnu.org>
5502
5503 * net/tramp.el (tramp-default-host-alist): Add :version.
5504
5505 2013-01-08 Juri Linkov <juri@jurta.org>
5506
5507 * info.el (Info-read-node-name-2): Don't duplicate suffixes for
5508 single completion. (Bug#12456)
5509 (info--manual-names): Expand node completions into an explicit list
5510 before appending it to another list. Filter out internal buffers
5511 with the leading space in the buffer name. (Bug#10771)
5512
5513 2013-01-08 Juri Linkov <juri@jurta.org>
5514
5515 * info.el (Info-read-node-name-1): Allow empty node name in (FILENAME)
5516 that defaults to the Top node.
5517 (Info-goto-node, Info-read-node-name): Doc fix to mention that
5518 the short format (FILENAME) goes to the Top node.
5519 (Info-build-node-completions): Rename arg `file' to `filename'.
5520 (Bug#13365)
5521
5522 2013-01-07 Bastien Guerry <bzg@gnu.org>
5523
5524 * menu-bar.el (menu-bar-search-documentation-menu):
5525 Use `apropos-user-option' and fix the help message.
5526
5527 2013-01-07 Bastien Guerry <bzg@gnu.org>
5528
5529 * apropos.el (apropos-do-all): Update docstring.
5530 (apropos-user-option-button): New face.
5531 (apropos-user-option): Rename from `apropos-variable' and update
5532 docstring.
5533 (apropos-variable): Rewrite, now show all variables by default.
5534 (apropos-print): Mention "User option" instead of "Variable" when
5535 printing doc for user options. (Bug#13276)
5536
5537 2013-01-07 JĂ¼rgen Hötzel <juergen@archlinux.org>
5538
5539 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
5540 Handle filename correctly, when parsing "source -> target" symlink
5541 output.
5542 (tramp-adb-handle-set-file-times): New defun.
5543
5544 2013-01-07 Stefan Monnier <monnier@iro.umontreal.ca>
5545
5546 * emacs-lisp/advice.el (ad-activate-advised-definition): Refresh the
5547 advice list when the interactive-spec of ad-Advice-* changes.
5548
5549 2013-01-07 Katsumi Yamaoka <yamaoka@jpl.org>
5550
5551 * wid-edit.el (widget-default-get): Work for inlined elements.
5552 (Bug#12670)
5553
5554 2013-01-07 Michael Albinus <michael.albinus@gmx.de>
5555
5556 * net/tramp.el (tramp-default-host-alist): New defcustom.
5557 (tramp-find-host): Use it.
5558 (tramp-eshell-directory-change): Move from tramp-sh.el. Add to
5559 `eshell-directory-change-hook'.
5560
5561 * net/tramp-adb.el (top): Add adb specific entry in
5562 `tramp-default-host-alist'.
5563 (tramp-adb-file-name-host): Remove function.
5564 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
5565 Use `tramp-file-name-host' instead of `tramp-adb-file-name-host'.
5566
5567 * net/tramp-sh.el: Move eshell integration code to tramp.el.
5568
5569 2013-01-06 JĂ¼rgen Hötzel <juergen@archlinux.org>
5570
5571 * net/tramp-adb.el (tramp-methods): Add `tramp-tmpdir' entry.
5572
5573 2013-01-06 Michael Albinus <michael.albinus@gmx.de>
5574
5575 * net/tramp-adb.el (tramp-adb-ls-toolbox-regexp): The file size can
5576 consist of more than one digit.
5577 (tramp-adb-file-name-handler-alist):
5578 Use `tramp-handle-file-exists-p' consistently.
5579 (tramp-adb-file-name-handler): Don't tweak `tramp-default-host'.
5580 (tramp-adb-handle-file-exists-p): Remove function.
5581 (tramp-adb-file-name-host): New defun.
5582 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
5583 Use it.
5584 (tramp-adb-maybe-open-connection): Set "remote-path" property.
5585
5586 2013-01-06 Chong Yidong <cyd@gnu.org>
5587
5588 * vc/vc.el (vc-next-action): Detect buffer modifications
5589 conflicting with locking VCS operation (Bug#11490).
5590
5591 * vc/vc-hooks.el (vc-after-save): DTRT for locking VCSes.
5592
5593 2013-01-05 Michael Albinus <michael.albinus@gmx.de>
5594
5595 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
5596 (tramp-adb-handle-directory-files-and-attributes): Fix typos.
5597
5598 2013-01-05 JĂ¼rgen Hötzel <juergen@archlinux.org>
5599
5600 * net/tramp-adb.el (tramp-adb-handle-file-attributes): More robust
5601 parsing of ls output using regular expression (handle filenames
5602 with spaces). Use virtual device number.
5603 (tramp-do-parse-file-attributes-with-ls): New defun (Code
5604 cleanup).
5605
5606 2013-01-04 Daiki Ueno <ueno@gnu.org>
5607
5608 * epg.el: Silence byte-compiler warnings.
5609 (epg--start): Use delete-char instead of delete-backward-char.
5610 (epg-wait-for-completion): Pass FRAME arg to redraw-frame.
5611
5612 2013-01-04 Daiki Ueno <ueno@gnu.org>
5613
5614 * epg.el (epg--start): Don't call "tty" program on W32 platforms.
5615 Suggested by Eli Zaretskii <eliz@gnu.org>.
5616
5617 2013-01-04 Michael Albinus <michael.albinus@gmx.de>
5618
5619 * net/tramp-sh.el (tramp-set-file-uid-gid): UID and GID must be
5620 non-negative integers. Otherwise, the default values are used.
5621 (tramp-convert-file-attributes): Convert uid and gid to integers.
5622
5623 2013-01-04 Glenn Morris <rgm@gnu.org>
5624
5625 * term.el (term-handle-colors-array): Ensure face attributes
5626 are fully specified, not nil. (Bug#13337)
5627
5628 * term.el (term-default-fg-color, term-default-bg-color):
5629 Fix custom type.
5630
5631 * progmodes/etags.el (tags-compression-info-list): Doc fix.
5632 (tag-find-file-of-tag-noselect): Check auto-compression-mode
5633 rather than 'jka-compr being loaded. (Bug#13338)
5634
5635 2013-01-04 Wesley Dawson <whd@lavabit.com> (tiny change)
5636
5637 * icomplete.el (icomplete-completions):
5638 Honor icomplete-prospects-height once more following
5639 2012-11-29 changes. (Bug#13224)
5640
5641 2013-01-04 Stefan Monnier <monnier@iro.umontreal.ca>
5642
5643 * subr.el (internal--called-interactively-p--get-frame): Find aliases
5644 of called-interactively-p as well (bug#13237).
5645
5646 * view.el (view--enable, view--disable): Rename from view-mode-enable
5647 and view-mode-disable and assume it's called from view-mode.
5648 (view-mode-enable, view-mode-disable): Redefine as obsolete
5649 compatibility layer above view-mode.
5650 (view-mode-enter): Call `view-mode'.
5651
5652 * files.el (after-find-file): Call `view-mode'.
5653
5654 * doc-view.el (doc-view-scale-internally): New var.
5655 (doc-view-enlarge, doc-view-insert-image): Obey it.
5656
5657 2013-01-03 Daiki Ueno <ueno@gnu.org>
5658
5659 * epg.el (epg--start): Ignore errors when /dev/fd/0 does not
5660 exist. (Bug#13344)
5661
5662 2013-01-03 Glenn Morris <rgm@gnu.org>
5663
5664 * mail/rmail.el (rmail-set-header-1): Ignore case.
5665 Handle multi-line headers. (Bug#13330)
5666
5667 * progmodes/make-mode.el (makefile-fill-paragraph): Add doc.
5668 Handle paragraph starting at beginning of buffer.
5669
5670 * subr.el (eval-after-load): Don't purecopy the form, so that it
5671 can be nconc'd later on; reverts 2009-11-11 change. (Bug#13331)
5672
5673 * emacs-lisp/byte-run.el (defun): Place cl declarations
5674 after any interactive spec. (Bug#13265)
5675
5676 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
5677
5678 * emacs-lisp/byte-run.el (defmacro): Use same argument parsing as
5679 defun. Don't check for DECL if DOCSTRING isn't a string.
5680 (defun): Likewise.
5681
5682 2013-01-02 Glenn Morris <rgm@gnu.org>
5683
5684 * eshell/em-cmpl.el (eshell-pcomplete):
5685 More thoroughly imitate pcomplete. (Bug#13293)
5686
5687 * files.el (parse-colon-path): Doc fix. (Bug#12351)
5688 Return nil for empty path elements. (Bug#13296)
5689
5690 2013-01-02 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
5691
5692 * progmodes/python.el (python-nav-end-of-statement): Rewrite in
5693 order to improve efficiency (Based on Daniel Colascione's
5694 <dancol@dancol.org> patch). (Bug#13182)
5695
5696 2013-01-02 Glenn Morris <rgm@gnu.org>
5697
5698 * vc/log-edit.el (log-edit-header-contents-regexp): Add doc string.
5699
5700 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
5701
5702 * emacs-lisp/byte-run.el (defmacro): Don't lose final nil if
5703 neither DOCSTRING nor DECL was given. (Bug#13316)
5704
5705 2013-01-02 Michael Albinus <michael.albinus@gmx.de>
5706
5707 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Add argument to
5708 `error' call.
5709 (tramp-do-copy-or-rename-file): Ignore errors when calling
5710 `set-file-extended-attributes'.
5711
5712 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
5713 Add handler for `file-acl'.
5714 (tramp-smb-handle-file-acl): New defun.
5715
5716 2013-01-02 Jay Belanger <jay.p.belanger@gmail.com>
5717
5718 * calc/README: Mention ISO 8601 week-numbering dates.
5719
5720 2013-01-01 Martin Rudalics <rudalics@gmx.at>
5721
5722 * view.el (view-mode-enable): New argument run-view-mode-hook.
5723 Run view-mode-hook only when it's non-nil (Bug#13315).
5724 (view-mode-enter): Call view-mode-enable with run-view-mode-hook
5725 argument t.
5726
5727 2012-12-31 JĂ¼rgen Hötzel <juergen@archlinux.org>
5728
5729 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Handle errors
5730 (No device connected, invalid device name). (Bug #13299)
5731
5732 2012-12-31 Martin Rudalics <rudalics@gmx.at>
5733
5734 * window.el (window-resizable--p): Rename to window-resizable-p.
5735 (window-resize-no-error): New function.
5736
5737 * mail/rmail.el (rmail-maybe-display-summary): Restore behavior
5738 broken in fix from 2012-12-28.
5739
5740 2012-12-31 Stefan Monnier <monnier@iro.umontreal.ca>
5741
5742 * subr.el (special-form-p): Don't signal errors on undef aliases.
5743
5744 2012-12-31 Jay Belanger <jay.p.belanger@gmail.com>
5745
5746 * calc/calc-forms.el (math-parse-date): Try using
5747 `math-parse-iso-date' when it looks like it might be needed.
5748 Allow times of 24:00.
5749 (math-parse-date-validate, math-parse-iso-date-validate): Allow times
5750 of 24:00.
5751
5752 2012-12-30 Glenn Morris <rgm@gnu.org>
5753
5754 * net/mairix.el (rmail, rmail-summary-displayed, rmail-summary):
5755 Remove unnecessary/buggy autoloads (missing interactive). (Bug#13294)
5756 (rmail-summary-displayed, rmail-summary): Declare.
5757 (mairix-rmail-display): Just require rmail.
5758
5759 2012-12-30 Chong Yidong <cyd@gnu.org>
5760
5761 * emacs-lisp/package.el (package-untar-buffer): Improve integrity
5762 check for the tarball contents.
5763
5764 2012-12-30 Matt Fidler <matt.fidler@alcon.com> (tiny change)
5765
5766 * emacs-lisp/package.el (package-untar-buffer): Handle problematic
5767 tarfile content listings (Bug#13136).
5768
5769 2012-12-30 Mark Lillibridge <mark.lillibridge@hp.com>
5770
5771 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
5772 Insert the undecoded text of the message being forwarded. (Bug#9521)
5773
5774 2012-12-30 Michael Albinus <michael.albinus@gmx.de>
5775
5776 * net/tramp-sh.el (tramp-set-file-uid-gid): Convert UID and GID to
5777 integers, if they are real numbers. (Bug#13282)
5778
5779 * net/tramp-sh.el (tramp-sh-handle-set-file-selinux-context):
5780 Return `t' on success.
5781
5782 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
5783 Add handler for `set-file-selinux-context'.
5784
5785 2012-12-29 Michael Albinus <michael.albinus@gmx.de>
5786
5787 * net/tramp-sh.el (tramp-sh-handle-file-acl): Suppress basic attributes.
5788 (tramp-sh-handle-set-file-acl): Return `t' on success.
5789
5790 2012-12-29 Eli Zaretskii <eliz@gnu.org>
5791
5792 * files.el (backup-buffer-copy, basic-save-buffer-2):
5793 If set-file-extended-attributes fails, fall back on set-file-modes
5794 instead of signaling an error. (Bug#13298)
5795 (basic-save-buffer): Likewise.
5796
5797 2012-12-29 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
5798
5799 * progmodes/python.el: Support other commands triggering
5800 python-indent-line so indentation cycling continues to work.
5801 (python-indent-trigger-commands): New defcustom.
5802 (python-indent-line): Use it.
5803
5804 2012-12-29 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
5805
5806 * progmodes/python.el (python-shell-send-region): Add blank lines
5807 for non sent code so backtraces remain correct.
5808
5809 2012-12-29 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
5810
5811 * progmodes/python.el: Remove cl dependency.
5812 (python-syntax-count-quotes): Replace incf call.
5813 (python-fill-string): Replace setf call.
5814
5815 2012-12-29 Damien Cassou <damien.cassou@gmail.com>
5816
5817 * info.el (info-other-window): New arg, for consistency with info.
5818
5819 2012-12-28 Martin Rudalics <rudalics@gmx.at>
5820
5821 * mail/rmail.el (rmail-maybe-display-summary):
5822 Rewrite (Bug#13066).
5823
5824 2012-12-28 Andreas Schwab <schwab@linux-m68k.org>
5825
5826 * epg.el (epg--start): Modify process-environment locally.
5827
5828 2012-12-28 Daiki Ueno <ueno@gnu.org>
5829
5830 * epg.el: Support pinentry-curses.
5831 Suggested by Werner Koch in
5832 <http://lists.gnu.org/archive/html/emacs-devel/2007-02/msg00755.html>.
5833 (epg-agent-file, epg-agent-mtime): New variable.
5834 (epg--start): Record the modified time of gpg-agent socket file,
5835 to restore Emacs frame after pinentry-curses termination.
5836 (epg-wait-for-completion): Restore Emacs frame here.
5837
5838 2012-12-27 Juri Linkov <juri@jurta.org>
5839
5840 * info.el (Info-file-completions): New variable.
5841 (Info-read-node-name-1): Complete node names in the Info file
5842 when a file name is given. Call `Info-build-node-completions'
5843 with a file name.
5844 (Info-build-node-completions): Add new arg `file'. When it is
5845 non-nil, visit it in a temporary buffer and cache its completions in
5846 `Info-current-file-completions'. Move most of the function body to
5847 `Info-build-node-completions-1'.
5848 (Info-build-node-completions-1): New function with the body from
5849 `Info-build-node-completions'. (Bug#12456)
5850
5851 2012-12-27 Juri Linkov <juri@jurta.org>
5852
5853 * frame.el (frame-maximization-style): Remove user option.
5854 (cycle-frame-maximized): Remove function.
5855 (toggle-frame-maximized): Rewrite and bind to M-<f10>.
5856 (toggle-frame-fullscreen): New command bound to <f11> instead of
5857 `toggle-frame-maximized'.
5858 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00703.html
5859
5860 2012-12-27 Michael Albinus <michael.albinus@gmx.de>
5861
5862 * net/tramp.el (tramp-handle-file-accessible-directory-p): New defun.
5863
5864 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5865 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5866 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
5867 for `file-accessible-directory-p'. (Bug#13275)
5868
5869 2012-12-27 Sam Steingold <sds@gnu.org>
5870
5871 * progmodes/cperl-mode.el (cperl-calculate-indent): Do not stagger
5872 continuations, see <http://stackoverflow.com/questions/3582436>.
5873
5874 2012-12-27 Dmitry Gutov <dgutov@yandex.ru>
5875
5876 * progmodes/ruby-mode.el (ruby-indent-beg-re): Only allow "class",
5877 "module" and "def" to have indentation before them.
5878 Regression from 2012-09-07T04:15:56Z!dgutov@yandex.ru (see the new test).
5879
5880 * progmodes/ruby-mode.el: Bump the version to 1.2 (Bug#13200).
5881
5882 2012-12-27 Alan Mackenzie <acm@muc.de>
5883
5884 Speed up fontification where there's large brace blocks.
5885 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Add a limit
5886 to a call of c-beginning-of-decl-1.
5887
5888 2012-12-27 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
5889
5890 * comint.el (comint-adjust-window-point): New function.
5891 (comint-postoutput-scroll-to-bottom):
5892 Call comint-adjust-window-point (Bug#13248).
5893
5894 2012-12-26 Dmitry Gutov <dgutov@yandex.ru>
5895
5896 * progmodes/ruby-mode.el (auto-mode-alist): `purecopy' the
5897 Rakefile regexp.
5898 (auto-mode-alist): Associate .gemspec files with ruby-mode
5899 (https://bugs.ruby-lang.org/issues/5453).
5900
5901 2012-12-26 JĂ¼rgen Hötzel <juergen@archlinux.org>
5902
5903 * net/tramp-adb.el (tramp-adb-get-ls-command): New defun.
5904 Suppress coloring, if possible (required for BusyBox based systems like
5905 CyanogenMod).
5906 (tramp-adb-handle-file-attributes)
5907 (tramp-adb-handle-insert-directory)
5908 (tramp-adb-handle-file-name-all-completions): Use it.
5909 (tramp-adb-get-toolbox): New defun. Check for remote shell
5910 implementation (BusyBox or Toolbox).
5911
5912 2012-12-24 Constantin Kulikov <zxnotdead@gmail.com> (tiny change)
5913
5914 * startup.el (initial-buffer-choice): Allow function as value
5915 (Bug#13251).
5916 (command-line-1): Handle case where initial-buffer-choice
5917 specifies a function.
5918 * server.el (server-execute): Handle case where
5919 initial-buffer-choice specifies a function.
5920
5921 2012-12-24 Lars Ingebrigtsen <larsi@gnus.org>
5922
5923 * mail/smtpmail.el (smtpmail-try-auth-method): Refactored out into
5924 its own function.
5925 (smtpmail-try-auth-methods): Forget the user name/password if the
5926 login is unsuccessful (bug#12424).
5927
5928 2012-12-22 Michael Albinus <michael.albinus@gmx.de>
5929
5930 * notifications.el (notifications-notify): Protect body with
5931 `with-demoted-errors'.
5932
5933 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
5934 Check properties of remote device. Restart connection, if there is a
5935 change.
5936
5937 2012-12-21 Chong Yidong <cyd@gnu.org>
5938
5939 * sort.el (sort-subr): Doc fix (Bug#13056).
5940
5941 2012-12-21 Bastien Guerry <bzg@gnu.org>
5942
5943 * progmodes/etags.el (tags-search): Fix typo. Bug #13232.
5944
5945 2012-12-21 Michael Albinus <michael.albinus@gmx.de>
5946
5947 * simple.el (process-file): Overwrite stderr file, if exists.
5948
5949 2012-12-21 Daiki Ueno <ueno@gnu.org>
5950
5951 * epg.el (epg--start): Print GPG_AGENT_INFO in the debug buffer.
5952 (epg-error): Set `error-message' property.
5953
5954 2012-12-21 Chong Yidong <cyd@gnu.org>
5955
5956 * international/mule-cmds.el (read-char-by-name): Signal an error
5957 if the user does not supply a valid character (Bug#13177).
5958
5959 * simple.el (transpose-subr-1): Preserve marker positions by
5960 changing the insertion sequence (Bug#13122).
5961
5962 2012-12-21 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
5963
5964 * simple.el (kill-region): Deactivate mark even for empty regions
5965 (Bug#13169).
5966
5967 2012-12-21 Chong Yidong <cyd@gnu.org>
5968
5969 * help-fns.el (describe-variable): Make sure we get the right
5970 buffer name (Bug#13105). Suggested by Kelly Dean.
5971
5972 2012-12-20 Michael R. Mauger <mmaug@yahoo.com>
5973
5974 * comint.el (comint-redirect-previous-input-string): New variable.
5975 (comint-redirect-setup, comint-redirect-cleanup)
5976 (comint-redirect-preoutput-filter): Use it. Fixes redirection bug.
5977 (comint-redirect-preoutput-filter): Fix verbose message.
5978
5979 2012-12-20 Michael Albinus <michael.albinus@gmx.de>
5980
5981 * progmodes/grep.el (rgrep): Escape command line. Sometimes, it
5982 is too long for Tramp. See discussion in
5983 <http://thread.gmane.org/gmane.emacs.tramp/8233/focus=8244>.
5984
5985 * progmodes/compile.el (compilation-start): Remove line escape
5986 template.
5987
5988 2012-12-20 Dmitry Antipov <dmantipov@yandex.ru>
5989
5990 * vc/ediff-ptch.el (ediff-map-patch-buffer): Use `point-min-marker'.
5991 Adjust comment.
5992
5993 2012-12-19 Jonas Bernoulli <jonas@bernoul.li>
5994
5995 * emacs-lisp/lisp-mnt.el (lm-section-end): Always end before the
5996 following non-comment text (bug#13207).
5997 (lm-header-multiline): Continuation lines need to be indented more than
5998 the first line.
5999 (lm-homepage): New function.
6000 (lm-with-file): Don't be confused if narrowing is in effect.
6001
6002 2012-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
6003
6004 * vc/diff-mode.el (diff-post-command-hook): Don't ignore changes at the
6005 very beginning of a hunk (e.g. killing the first line).
6006
6007 2012-12-19 Michael Albinus <michael.albinus@gmx.de>
6008
6009 * net/tramp-sh.el (tramp-sh-handle-file-acl): Delete empty lines
6010 and text properties from returned ACL string.
6011 (tramp-sh-handle-set-file-acl): Do not use additional parentheses
6012 for "setfacl" command.
6013
6014 2012-12-18 Michael Albinus <michael.albinus@gmx.de>
6015
6016 * net/tramp.el (tramp-error-with-buffer): Give a hint to use
6017 `tramp-cleanup-this-connection', when the process has died.
6018 (Bug#13151)
6019
6020 2012-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
6021
6022 * icomplete.el (icomplete-completions): Also use … to truncate prefix.
6023
6024 2012-12-17 Kevin Ryde <user42@zip.com.au>
6025
6026 * files.el (auto-save-file-name-p): Use \` and \' (bug#13186).
6027
6028 2012-12-17 Michael Albinus <michael.albinus@gmx.de>
6029
6030 Add support for preserving ACL entries of files.
6031
6032 * net/tramp.el (tramp-file-name-for-operation): Add `file-acl' and
6033 `set-file-acl' handlers.
6034
6035 * net/tramp-adb.el (tramp-adb-handle-copy-file):
6036 Handle PRESERVE-EXTENDED-ATTRIBUTES.
6037
6038 * net/tramp-compat.el (tramp-compat-copy-file):
6039 Handle PRESERVE-EXTENDED-ATTRIBUTES.
6040
6041 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6042 Add `file-acl' and `set-file-acl' handlers.
6043 (tramp-gvfs-handle-copy-file):
6044 Handle PRESERVE-EXTENDED-ATTRIBUTES.
6045 (tramp-gvfs-handle-file-acl, tramp-gvfs-handle-set-file-acl):
6046 New defuns.
6047
6048 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6049 Add `file-acl' and `set-file-acl' handlers.
6050 (tramp-remote-acl-p, tramp-sh-handle-file-acl)
6051 (tramp-sh-handle-set-file-acl): New defuns.
6052 (tramp-sh-handle-copy-file, tramp-do-copy-or-rename-file):
6053 Handle PRESERVE-EXTENDED-ATTRIBUTES.
6054
6055 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
6056 Add `file-acl' and `set-file-acl' handlers.
6057 (tramp-smb-handle-copy-file): Handle PRESERVE-EXTENDED-ATTRIBUTES.
6058
6059 2012-12-17 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
6060
6061 * help-macro.el (make-help-screen): Instead of switch-to-buffer
6062 use pop-to-buffer with NORECORD argument t. As buffer name, use
6063 *Metahelp* with a leading space (Bug#13190).
6064
6065 2012-12-16 Romain Francoise <romain@orebokech.com>
6066
6067 * files.el (file-extended-attributes)
6068 (set-file-extended-attributes): New functions.
6069 (backup-buffer): Use them to handle both SELinux context and ACL
6070 entries.
6071 (backup-buffer-copy): Work with an alist of extended attributes,
6072 rather than an SELinux context.
6073 (basic-save-buffer-2): Ditto.
6074
6075 2012-12-16 Timo Myyrä <timo.myyra@gmail.com>
6076
6077 * battery.el (battery-bsd-apm): New function.
6078
6079 2012-12-16 Jay Belanger <jay.p.belanger@gmail.com>
6080
6081 * calc/calc.el (calc-standard-date-formats): Adjust one of the
6082 standard date formats.
6083
6084 2012-12-15 Juri Linkov <juri@jurta.org>
6085
6086 * isearch.el (isearch-mode-map): Bind `C-x 8 RET' to
6087 `isearch-insert-char-by-name'.
6088 (with-isearch-suspended): New defmacro with body mostly from
6089 `isearch-edit-string' except the part that sets
6090 `isearch-new-string' and `isearch-new-message'.
6091 (isearch-edit-string): Use new macro `with-isearch-suspended' with
6092 body that sets `isearch-new-string' and `isearch-new-message'.
6093 (isearch-insert-char-by-name): New command.
6094 * international/mule-cmds.el (read-char-by-name): Let-bind
6095 `enable-recursive-minibuffers' to t.
6096 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00234.html
6097
6098 2012-12-15 Juri Linkov <juri@jurta.org>
6099
6100 * isearch.el (isearch-delete-char, isearch-del-char): Doc fix.
6101 (Bug#13175)
6102
6103 2012-12-15 Christopher Schmidt <christopher@ch.ristopher.com>
6104
6105 * dired-x.el (dired-guess-shell-command): Put colon at the end of
6106 the prompt. (Bug#13045)
6107
6108 2012-12-14 Glenn Morris <rgm@gnu.org>
6109
6110 * emacs-lisp/macroexp.el (macroexp--warn-and-return):
6111 Try to include filename in non-bytecomp warning. (Bug#13132)
6112
6113 2012-12-14 Paul Eggert <eggert@cs.ucla.edu>
6114
6115 Fix permissions bugs with setgid directories etc. (Bug#13125)
6116 * files.el (backup-buffer): Don't rely on 9th output of
6117 file-attributes, as it's now a placeholder. Instead, use the new
6118 optional arg of file-ownership-preserved-p.
6119 (file-ownership-preserved-p): New optional arg GROUP.
6120 Fix mishandling of setuid directories that would cause this
6121 function to return t when it should have returned nil.
6122 Document what happens if the file does not exist, and when
6123 it's not known whether the ownership will be preserved.
6124 * net/tramp-sh.el (tramp-sh-handle-file-ownership-preserved-p):
6125 Likewise.
6126 (tramp-get-local-gid): Use group-gid for integer, as that's
6127 faster and more reliable.
6128
6129 2012-12-14 Julien Danjou <julien@danjou.info>
6130
6131 * progmodes/sql.el (sql-mode-postgres-font-lock-keywords):
6132 Update keywords list, data type and PL/pgSQL.
6133
6134 2012-12-14 Dave Abrahams <dave@boostpro.com>
6135
6136 * vc/ediff-util.el (ediff-buffer-type): New function.
6137 (ediff-clone-buffer-for-current-diff-comparison): Compute the buf-type
6138 rather than taking it as as argument.
6139 (ediff-inferior-compare-regions): Adjust calls accordingly (bug#11319).
6140
6141 2012-12-14 Ryan Crum <ryan.crum@eleostech.com>
6142
6143 * json.el: Add pretty-print option (bug#12634).
6144 (json-encoding-separator, json-encoding-default-indentation)
6145 (json--encoding-current-indentation, json-encoding-pretty-print)
6146 (json-encoding-lisp-style-closings): New vars.
6147 (json--with-indentation): New macro.
6148 (json-encode-hash-table, json-encode-alist, json-encode-plist)
6149 (json-encode-array): Use it to obey json-encoding-pretty-print.
6150 (json-pretty-print-buffer, json-pretty-print): New commands.
6151
6152 2012-12-14 Dmitry Gutov <dgutov@yandex.ru>
6153
6154 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
6155 Extract `ruby-syntax-propertize-expansions'.
6156 (ruby-syntax-propertize-expansions): Only change syntax on
6157 certain string delimiters, to punctuation. This way the common
6158 functions like forward-word and thing-at-point still work.
6159 (ruby-match-expression-expansion): Improve readability.
6160 (ruby-block-contains-point): New function.
6161 (ruby-add-log-current-method): Handle several edge cases.
6162
6163 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
6164
6165 * emacs-lisp/edebug.el (edebug-unload-function): Make sure that
6166 unload-feature finishes even when aborting an ongoing edebug session.
6167 Also, do not worry about edebug-mode, unload-feature takes care of it.
6168
6169 2012-12-13 Andreas Schwab <schwab@suse.de>
6170
6171 * net/tls.el (tls-program): Update customize type.
6172
6173 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
6174
6175 * emacs-lisp/edebug.el (edebug--require-cl-read): New function.
6176 (edebug-setup-hook, cl-read-load-hooks): Use it.
6177 (edebug-unload-function): New function. (Bug#13163)
6178
6179 2012-12-13 Michael Albinus <michael.albinus@gmx.de>
6180
6181 * net/tramp-adb.el (tramp-adb-file-name-p): Make it a defsubst.
6182 Otherwise, there could be errors in autoloading. (Bug#13151)
6183
6184 2012-12-13 JĂ¼rgen Hötzel <juergen@archlinux.org>
6185
6186 * net/tramp-adb.el (tramp-adb-wait-for-output): Remove spurious " ^H"
6187 sequences.
6188
6189 2012-12-13 Alan Mackenzie <acm@muc.de>
6190
6191 Make CC Mode not hang when _some_ lines end in CRLF. Bug #11841.
6192 * progmodes/cc-engine.el (c-backward-comments): Add code to work
6193 around `forward-comment' not recognizing ^M as whitespace.
6194
6195 2012-12-13 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
6196
6197 * progmodes/python.el (python-skeleton-class)
6198 (python-skeleton-def): Do not add space after defun name.
6199
6200 2012-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
6201
6202 * emacs-lisp/cl.el (letf): Make it an alias of cl-letf.
6203 (cl--symbol-function): Remove (now that funbound is like nil).
6204
6205 2012-12-12 Glenn Morris <rgm@gnu.org>
6206
6207 * button.el (button--area-button-p): Fix typo.
6208
6209 2012-12-12 Sam Steingold <sds@gnu.org>
6210
6211 * frame.el (frame-maximization-style): New user option.
6212 (toggle-frame-maximized): Toggle frame maximization according to
6213 `frame-maximization-style', bound to <f11>.
6214 (cycle-frame-maximized): Cycle between all maximization styles and
6215 non-maximized frame, bound to shift-<f11>.
6216
6217 2012-12-12 David Cadé <codename68@gmail.com>
6218
6219 * mpc.el (mpc-format): Use truncate-string-to-width (bug#13143).
6220
6221 2012-12-12 Jonas Bernoulli <jonas@bernoul.li>
6222
6223 * lisp/emacs-lisp/eieio.el: Prettier object pretty-printing (bug#13115).
6224 (eieio-override-prin1): Don't quote kewords and booleans.
6225 (object-write) <eieio-default-superclass>: Don't put closing parens
6226 on new line, avoid needless empty lines, align values that are objects
6227 with the slot keyword (instead of beginning on the same line).
6228 (eieio-list-prin1): Align value with slot keyword; increase
6229 eieio-print-depth before printing members of the list.
6230
6231 2012-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
6232
6233 * mail/emacsbug.el (report-emacs-bug): Move the intangible text to
6234 a display text-property.
6235 (report-emacs-bug-hook): Don't bother deleting it any more.
6236
6237 * hilit-chg.el (highlight-save-buffer-state): Delete.
6238 Use with-silent-modifications instead.
6239 (hilit-chg-set-face-on-change): Only fixup the text that's modified.
6240
6241 * button.el: Handle buttons in display text-properties.
6242 (button--area-button-p, button--area-button-string):
6243 Use (STRING . STRING-POS) representation instead of just STRING.
6244
6245 2012-12-11 Eli Zaretskii <eliz@gnu.org>
6246
6247 * makefile.w32-in (compile4-SH): Fix a typo that caused term
6248 subdirectory be skipped.
6249
6250 2012-12-11 Glenn Morris <rgm@gnu.org>
6251
6252 * net/rcirc.el (rcirc-urls, rcirc-condition-filter): Doc fixes.
6253
6254 * progmodes/f90.el (f90-line-continued, f90-indent-region):
6255 Treat preprocessor lines embedded in continuations like comments.
6256 (f90-indent-line): Special-case preprocessor lines. (Bug#13138)
6257
6258 2012-12-11 Jay Belanger <jay.p.belanger@gmail.com>
6259
6260 * calc/calc.el (calc-standard-date-formats): Add more date
6261 formats.
6262 * calc/calc-forms.el (math-parse-iso-date): New function.
6263 (math-parse-date): Use `math-parse-iso-date' when appropriate.
6264 (math-parse-iso-date-validate): Add extra error checking.
6265 (calc-date-notation): Add ability to access new date formats.
6266
6267 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
6268
6269 * hi-lock.el (hi-lock--regexps-at-point): Fix boundary case for
6270 font-lock as well as when there's no text-property.
6271
6272 2012-12-10 Jambunathan K <kjambunathan@gmail.com>
6273
6274 * hi-lock.el: Refine the choice of default face.
6275 (hi-lock-keyword->face): New function. Use it wherever we used
6276 cadadadr instead.
6277 (hi-lock--regexps-at-point): Ignore faces that can't come from hi-lock.
6278 (hi-lock--last-face): Remove var.
6279 (hi-lock--unused-faces): New var to replace it.
6280 (hi-lock-read-face-name): Use/maintain it.
6281 (hi-lock-unface-buffer): Maintain it. Fix error for the C-u case.
6282 (hi-lock-set-pattern): Ignore new rule if it has the same regexp even
6283 if it has another face.
6284
6285 2012-12-10 Eli Zaretskii <eliz@gnu.org>
6286
6287 * subr.el (w32notify-handle-event): New function.
6288 (inotify-handle-event): Doc fix.
6289
6290 2012-12-10 RĂ¼diger Sonderfeld <ruediger@c-plusplus.de>
6291
6292 * subr.el (inotify-event-p, inotify-handle-event): New functions.
6293
6294 2012-12-10 Dani Moncayo <dmoncayo@gmail.com>
6295
6296 * simple.el (just-one-space): Doc fix.
6297
6298 2012-12-10 Eli Zaretskii <eliz@gnu.org>
6299
6300 * textmodes/texinfo.el (texinfo-enable-quote-envs): Add "smallexample".
6301
6302 2012-12-10 Le Wang <l26wang@gmail.com>
6303
6304 * hilit-chg.el (hilit-chg-set-face-on-change): Don't burp in
6305 narrowed buffer (bug#12361).
6306
6307 2012-12-10 Juanma Barranquero <lekktu@gmail.com>
6308
6309 * vc/vc-hooks.el (vc-state): Doc fix.
6310
6311 2012-12-10 Glenn Morris <rgm@gnu.org>
6312
6313 * mail/rmail.el (rmail-maybe-display-summary):
6314 Preserve buffer, in case select-window changes it. (Bug#13066)
6315
6316 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
6317
6318 * emacs-lisp/cl.el, emacs-lisp/cl-lib.el: Move cl-unload-function and
6319 cl-load-hook where they belong.
6320
6321 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
6322
6323 * emacs-lisp/cl-lib.el (cl-declaim): Paren typo.
6324
6325 2012-12-09 Eli Zaretskii <eliz@gnu.org>
6326
6327 Parallelize byte compilation on MS-Windows.
6328 * makefile.w32-in (WINS_BASIC1, WINS_BASIC2, WINS_BASIC3)
6329 (WINS_BASIC4): New variables, subdivide subdirectories into 4 parts.
6330 (WINS_BASIC): Define as concatenation of the above.
6331 (compile): Subdivide into 4 separate and independent jobs that can
6332 be run in parallel.
6333 (compile0-CMD, compile0-SH): New targets for compiling
6334 COMPILE_FIRST files, which are prerequisites for the rest of the
6335 byte-compilation.
6336 (compile1-CMD, compile2-CMD, compile3-CMD, compile4-CMD):
6337 New targets for parallel compilation with cmd.exe.
6338 (compile1-SH, compile2-SH, compile3-SH, compile4-SH): Ditto for
6339 compiling under a Unixy shell.
6340
6341 2012-12-09 Chong Yidong <cyd@gnu.org>
6342
6343 * simple.el (set-mark-default-inactive): Delete this
6344 accidentally-introduced option.
6345 (set-mark-command, exchange-point-and-mark): Remove calls.
6346
6347 2012-12-09 Glenn Morris <rgm@gnu.org>
6348
6349 * emacs-lisp/lisp-mode.el (eval-defun-1): Doc fix.
6350 Respect a defcustom's :set function, if appropriate. (Bug#109)
6351 (eval-defun): Doc fix.
6352
6353 2012-12-08 Juri Linkov <juri@jurta.org>
6354
6355 * info.el (Info-copy-current-node-name, Info-breadcrumbs)
6356 (Info-fontify-node, Info-bookmark-make-record): Remove the
6357 file extension from Info-current-file (Bug#13016).
6358
6359 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
6360
6361 * hi-lock.el (hi-lock-unface-buffer): If there's no matching regexp at
6362 point, still provide some default.
6363 (hi-lock--regexps-at-point): Don't enforce a "hi-lock-" prefix on face
6364 names, since we don't use it right now. Actually return the list.
6365 (hi-lock-file-patterns, hi-lock-interactive-patterns): Use defvar-local.
6366
6367 2012-12-07 Chong Yidong <cyd@gnu.org>
6368
6369 * novice.el (disabled-command-function): Remove a spurious help
6370 xref (Bug#13043). Suggested by Kelly Dean.
6371
6372 * subr.el (text-clone-maintain): Fix clone overlay deletion when a
6373 syntax is specified (Bug#13025).
6374
6375 * info.el (Info-set-mode-line): Remove the file extension from
6376 Info-current-file if there is one (Bug#13016).
6377
6378 2012-12-07 Glenn Morris <rgm@gnu.org>
6379
6380 * mail/rmail.el (rmail-mime-decoded): New permanent local.
6381 (rmail-show-message-1): Set rmail-mime-decoded when appropriate.
6382 * mail/rmailedit.el (rmail-cease-edit): Respect rmail-mbox-format
6383 and rmail-mime-decoded. (Bug#9841)
6384
6385 * mail/unrmail.el (unrmail-mbox-format): New option. (Bug#6574)
6386 (batch-unrmail, unrmail): Doc fixes.
6387 (unrmail): Respect unrmail-mbox-format.
6388 * mail/rmail.el (rmail-mbox-format): New option.
6389 (rmail-show-message-1): Respect rmail-mbox-format.
6390
6391 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
6392
6393 * emacs-lisp/cl-macs.el (cl-tagbody): New macro.
6394
6395 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
6396
6397 Further cleanup of the "cl-" namespace. Fit CL in 80 columns.
6398 * emacs-lisp/cl-macs.el (cl--pop2, cl--optimize-safety)
6399 (cl--optimize-speed, cl--not-toplevel, cl--parse-loop-clause)
6400 (cl--expand-do-loop, cl--proclaim-history, cl--declare-stack)
6401 (cl--do-proclaim, cl--proclaims-deferred): Rename from the "cl-" prefix.
6402 (cl-progv): Don't rely on dynamic scoping to find the body.
6403 * emacs-lisp/cl-lib.el (cl--optimize-speed, cl--optimize-safety)
6404 (cl--proclaims-deferred): Rename from the "cl-" prefix.
6405 (cl-declaim): Use backquotes.
6406 * emacs-lisp/cl-extra.el (cl-make-random-state, cl-random-state-p):
6407 Use "cl--" prefix for the object's tag.
6408
6409 * ses.el: Use advice-add/remove.
6410 (ses--advice-copy-region-as-kill, ses--advice-yank): New functions.
6411 (copy-region-as-kill, yank): Use advice-add.
6412 (ses-unload-function): Use advice-remove.
6413
6414 2012-12-06 Jonas Bernoulli <jonas@bernoul.li>
6415
6416 * button.el: Make them work in header-lines (bug#12817).
6417 (button-map): Add bindings for header-line and mode-line use.
6418 (button-get, button-put, button-label): `button' may now be a string.
6419 (button-activate): Don't make it a defsubst.
6420 (button--area-button-p, button--area-button-string): New functions.
6421 (make-text-button): Fix the return value when `beg' was a string.
6422 (push-button): Handle the mode-line case.
6423
6424 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
6425
6426 * progmodes/sql.el: Use cl-lib and lexical-binding; various cleanup.
6427 (sql-signum): Remove. Use `cl-signum' instead.
6428 (sql-read-passwd): Remove; use read-passwd instread.
6429 (sql-get-login-ext): Use read-string.
6430 (sql-get-login): Use dolist and pcase.
6431 (sql--completion-table): Rename from sql-try-completion.
6432 Use complete-with-action.
6433 (sql-mode): Don't change abbrev-all-caps globally.
6434 (sql-connect): Don't rely on dynamic scoping for `new-name'.
6435 (sql-postgres-completion-object): Initialize vars in their `let'.
6436 (sql-comint-sybase, sql-comint-sqlite, sql-comint-mysql)
6437 (sql-comint-solid, sql-comint-ms, sql-comint-postgres)
6438 (sql-comint-interbase): Use a single append, without setq.
6439 (sql-comint-linter): Same, and unwind-protect the LINTER_MBX var.
6440
6441 * hi-lock.el: Rework the default face and the serialize regexp code.
6442 (hi-lock--auto-select-face-defaults): Remove.
6443 (hi-lock-string-serialize-serial): Remove.
6444 (hi-lock--hashcons-hash): Rename from hi-lock-string-serialize-hash;
6445 make weak.
6446 (hi-lock--hashcons): Rename from hi-lock-string-serialize, return an
6447 equal string.
6448 (hi-lock-set-pattern): Adjust accordingly.
6449 (hi-lock--regexps-at-point): Simplify accordingly.
6450 (hi-lock--auto-select-face-defaults): Remove.
6451 (hi-lock--last-face): New var to replace it.
6452 (hi-lock-read-face-name): Rewrite (bug#11095).
6453 (hi-lock-unface-buffer): Arrange for the face to be the next default.
6454
6455 2012-12-06 Michael Albinus <michael.albinus@gmx.de>
6456
6457 * net/tramp.el (tramp-replace-environment-variables):
6458 Hide compiler warning.
6459 (tramp-file-name-for-operation): Remove `executable-find',
6460 `start-process', `call-process' and `call-process-region'.
6461
6462 * net/tramp-compat.el (top): Don't require 'tramp-util and 'tramp-vc.
6463
6464 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Ensure backward
6465 compatibility.
6466
6467 * net/tramp-sh.el (top): Remove `tramp-sh-handle-call-process-region'.
6468
6469 2012-12-06 Chong Yidong <cyd@gnu.org>
6470
6471 * ffap.el (ffap-replace-file-component): Fix typo.
6472
6473 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
6474
6475 * progmodes/octave-mod.el (octave-mark-block): Move out of tokens and
6476 fix open-paren-like token test (bug#12785).
6477
6478 2012-12-06 Glenn Morris <rgm@gnu.org>
6479
6480 * mail/rmailsum.el (rmail-new-summary): Tweak for
6481 rmail-maybe-display-summary changing buffer. (Bug#13066)
6482
6483 2012-12-06 Juri Linkov <juri@jurta.org>
6484
6485 * info.el (Info-fontify-node): Don't hide the last newline.
6486 (Bug#12272)
6487
6488 2012-12-06 Katsumi Yamaoka <yamaoka@jpl.org>
6489
6490 * mail/mailabbrev.el (mail-abbrev-expand-wrapper): Work in minibuffer
6491 so as to enable message-read-from-minibuffer to expand mail aliases.
6492
6493 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
6494
6495 * minibuf-eldef.el (minibuf-eldef-update-minibuffer): Don't mess with
6496 the `intangible' property.
6497 Suggested by Christopher Schmidt <christopher@ch.ristopher.com>
6498
6499 2012-12-05 Deniz Dogan <deniz@dogan.se>
6500
6501 * net/rcirc.el (rcirc-urls): Update documentation.
6502 (rcirc-condition-filter): New function.
6503 (rcirc-browse-url, rcirc-markup-urls): Use only URLs before point
6504 and exclude consecutive duplicate URLs (Bug#6082).
6505
6506 2012-12-05 Michael Albinus <michael.albinus@gmx.de>
6507
6508 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
6509 Check return code of copy command.
6510
6511 * net/tramp-adb.el (tramp-adb-sdk-dir, tramp-adb-prompt):
6512 Use group `tramp'. Add version.
6513
6514 2012-12-05 Chong Yidong <cyd@gnu.org>
6515
6516 * ffap.el (ffap-url-regexp): Don't require matching at front of
6517 string (Bug#4952).
6518 (ffap-url-p): If only a substring matches, return that.
6519 (ffap-url-at-point): Use the return value of ffap-url-p.
6520 (ffap-read-file-or-url, ffap-read-file-or-url-internal)
6521 (find-file-at-point, dired-at-point, dired-at-point-prompter)
6522 (ffap-guess-file-name-at-point): Likewise.
6523 (ffap-replace-file-component): Fix typo.
6524
6525 * info.el (info-display-manual): Add existing Info buffers, whose
6526 files may not be in Info-directory-list, to the completion.
6527 (info--manual-names): New helper function.
6528
6529 2012-12-05 Glenn Morris <rgm@gnu.org>
6530
6531 * vc/vc-hg.el (vc-hg-resolve-when-done, vc-hg-find-file-hook):
6532 New functions, for detecting and resolving conflicts. (Bug#10709)
6533
6534 2012-12-04 Jambunathan K <kjambunathan@gmail.com>
6535
6536 * hi-lock.el (hi-lock-auto-select-face): New user variable.
6537 (hi-lock-auto-select-face-defaults): New buffer local variable.
6538 (hi-lock-read-face-name): Honor `hi-lock-auto-select-face'.
6539 (hi-lock-unface-buffer): Prompt user with useful defaults.
6540 With prefix arg, unhighlight all hi-lock patterns in buffer.
6541
6542 2012-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
6543
6544 * obsolete/terminal.el, obsolete/longlines.el: Add obsolecence info.
6545
6546 2012-12-04 Michael Albinus <michael.albinus@gmx.de>
6547
6548 * Makefile.in (TRAMP_SRC):
6549 * makefile.w32-in (TRAMP_SRC): Add tramp-adb.el.
6550
6551 2012-12-04 Juergen Hoetzel <juergen@archlinux.org>
6552
6553 * net/tramp-adb.el: New package.
6554
6555 2012-12-04 Chong Yidong <cyd@gnu.org>
6556
6557 * terminal.el: Move to obsolete/.
6558
6559 * longlines.el: Move to obsolete/.
6560
6561 * vc/ediff-diff.el (ediff-extract-diffs, ediff-extract-diffs3):
6562 Remove code referring to longlines mode.
6563
6564 2012-12-03 Juri Linkov <juri@jurta.org>
6565
6566 * sort.el (delete-duplicate-lines): New command. (Bug#13032)
6567
6568 2012-12-03 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
6569
6570 * textmodes/ispell.el (ispell-init-process)
6571 (ispell-start-process, ispell-internal-change-dictionary):
6572 Make sure personal dictionary name is expanded after initial
6573 `default-directory' value. Use expanded strings for
6574 keep/restart checks and for value (Bug#13019).
6575
6576 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
6577
6578 * calc/calc-forms.el (math-date-to-iso-dt): Fix weekday number.
6579
6580 2012-12-03 Leo Liu <sdl.web@gmail.com>
6581
6582 * files.el (dir-locals-read-from-file): Check file non-empty
6583 before reading. (Bug#13038)
6584
6585 2012-12-03 Glenn Morris <rgm@gnu.org>
6586
6587 * jka-cmpr-hook.el (jka-compr-get-compression-info):
6588 Remove any version extension before checking filename. (Bug#13006)
6589 (jka-compr-compression-info-list): Belated :version bump.
6590
6591 2012-12-03 Chong Yidong <cyd@gnu.org>
6592
6593 * simple.el (transient-mark-mode): Doc fix (Bug#11523).
6594
6595 * buff-menu.el (Buffer-menu-delete-backwards, Buffer-menu-mode)
6596 (buffer-menu): Doc fix (Bug#12294).
6597
6598 2012-12-03 Roland Winkler <winkler@gnu.org>
6599
6600 * calendar/diary-lib.el (diary-header-line-format): Use keybinding
6601 of diary-show-all-entries in the diary buffer (Bug#12994).
6602
6603 2012-12-03 Michael Albinus <michael.albinus@gmx.de>
6604
6605 * net/tramp-sh.el (tramp-perl-encode): Use "read STDIN" instead of
6606 "<STDIN>". This is binary safe.
6607
6608 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
6609
6610 * calc/calc-forms.el (math-absolute-from-iso-dt)
6611 (math-date-to-iso-dt, math-parse-iso-date-validate)
6612 (math-iso-dt-to-date): New functions.
6613 (math-fd-iso-dt, math-fd-isoyear, math-fd-isoweek)
6614 (math-fd-isoweekday): New variables.
6615 (calc-date-notation, math-parse-standard-date, math-format-date)
6616 (math-format-date-part): Add support for more formatting codes.
6617
6618 2012-12-02 Dmitry Gutov <dgutov@yandex.ru>
6619
6620 * vc/vc.el (vc-delete-file, vc-rename-file): Default to the
6621 current buffer's file name when called interactively (Bug#12488).
6622
6623 2012-12-02 Juri Linkov <juri@jurta.org>
6624
6625 * info.el (info-display-manual): Don't clobber an existing Info
6626 buffer (Bug#10770). Add completion (Bug#10771).
6627
6628 2012-12-01 Yuya Nishihara <yuya@tcha.org> (tiny change)
6629
6630 * vc/vc-hooks.el (vc-find-file-hook): Expand buffer-file-truename
6631 before using it for comparison (Bug#5297).
6632
6633 2012-12-01 Jari Aalto <jari.aalto@cante.net>
6634
6635 * textmodes/css-mode.el (css-current-defun-name): New function.
6636 (css-mode): Use it.
6637
6638 * textmodes/sgml-mode.el (html-current-defun-name): New function.
6639 (html-mode): Use it.
6640
6641 2012-12-01 Chong Yidong <cyd@gnu.org>
6642
6643 Modularize add-log-current-defun (Bug#2224).
6644 Suggested by Jari Aalto.
6645
6646 * vc/add-log.el (add-log-current-defun-function): Doc fix.
6647 (add-log-current-defun): Move mode-specific code to other files.
6648 (add-log-lisp-like-modes, add-log-c-like-modes)
6649 (add-log-tex-like-modes): Variables deleted.
6650
6651 * emacs-lisp/lisp-mode.el (lisp-current-defun-name): New.
6652 (lisp-mode-variables): Use it.
6653
6654 * progmodes/cc-mode.el (c-common-init):
6655 * progmodes/cperl-mode.el (cperl-mode): Set a value for
6656 add-log-current-defun-function.
6657
6658 * progmodes/m4-mode.el (m4-current-defun-name): New function.
6659 (m4-mode): Use it.
6660
6661 * progmodes/perl-mode.el (perl-current-defun-name): New.
6662 (perl-mode): Use it.
6663
6664 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
6665 Use lisp-current-defun-name.
6666
6667 * textmodes/tex-mode.el (tex-current-defun-name): New.
6668 (tex-common-initialization): Use it.
6669
6670 * textmodes/texinfo.el (texinfo-current-defun-name): New.
6671 (texinfo-mode): Use it.
6672
6673 2012-12-01 Chong Yidong <cyd@gnu.org>
6674
6675 * emacs-lisp/lisp-mode.el (lisp-mode-variables, lisp-mode):
6676 * progmodes/autoconf.el (autoconf-mode):
6677 * progmodes/js.el (js-mode):
6678 * progmodes/make-mode.el (makefile-mode, makefile-makepp-mode)
6679 (makefile-bsdmake-mode, makefile-imake-mode, makefile-browse):
6680 * progmodes/perl-mode.el (perl-mode):
6681 * progmodes/sh-script.el (sh-mode, sh-set-shell):
6682 * textmodes/css-mode.el (css-mode):
6683 * textmodes/sgml-mode.el (html-mode, sgml-mode)
6684 (sgml-tags-invisible, sgml-guess-indent):
6685 * textmodes/tex-mode.el (tex-common-initialization)
6686 (latex-complete-bibtex-keys, tex-shell, tex-main-file)
6687 (doctex-mode, plain-tex-mode, latex-mode):
6688 * textmodes/texinfo.el (texinfo-mode): Use setq-local.
6689
6690 2012-12-01 Kirk Kelsey <kirk.kelsey@0x4b.net>
6691
6692 * vc/vc-hg.el (vc-hg-next-revision):
6693 Ensure use of default "tip" output format. (Bug#6968)
6694
6695 2012-12-01 Kim F. Storm <storm@cua.dk>
6696
6697 * startup.el (fancy-startup-tail): Add a clickable link
6698 (Bug#2176).
6699
6700 2012-12-01 Chong Yidong <cyd@gnu.org>
6701
6702 * startup.el (fancy-startup-tail): Improve the message about
6703 auto-save files (Bug#2176).
6704
6705 * files.el (recover-session): Improve the descriptive message, and
6706 use substitute-command-keys.
6707
6708 2012-12-01 Glenn Morris <rgm@gnu.org>
6709
6710 * ido.el (ido-file-internal):
6711 Handle other-window, other-frame for dired. (Bug#13036)
6712
6713 2012-11-30 Glenn Morris <rgm@gnu.org>
6714
6715 * icomplete.el (icomplete-separator): Fix :version.
6716
6717 2012-11-30 Chong Yidong <cyd@gnu.org>
6718
6719 * shell.el (shell): For C-u M-x shell, use an inactive shell
6720 buffer as the default (Bug#1975).
6721 (shell-apply-ansi-color, shell-reapply-ansi-color): New functions.
6722 (shell-mode): Use them to reapply ansi colorization if Shell mode
6723 is re-enabled.
6724
6725 2012-11-30 Yuriy Vostrikov <delamonpansie@gmail.com> (tiny change)
6726
6727 * vc/vc-git.el (vc-git-command): Disable the pager (Bug#6137).
6728
6729 2012-11-30 Samuel Bronson <naesten@gmail.com>
6730
6731 * progmodes/grep.el (grep-compute-defaults): Do not pass the -e
6732 flag to xargs, for compatibility with BSD xargs (Bug#11703).
6733
6734 2012-11-30 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
6735
6736 * textmodes/fill.el (fill-region-as-paragraph): Handle overshoot
6737 by move-to-column (Bug#3234).
6738
6739 2012-11-30 Chong Yidong <cyd@gnu.org>
6740
6741 * longlines.el (longlines-wrap-line, longlines-encode-region):
6742 Preserve text properties (Bug#1425).
6743
6744 2012-11-30 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
6745
6746 * vc/vc.el (vc-register): Allow registering a file which is
6747 already registered with a different backend (Bug#10589).
6748
6749 2012-11-29 Jambunathan K <kjambunathan@gmail.com>
6750 Stefan Monnier <monnier@iro.umontreal.ca>
6751
6752 * icomplete.el: Change separator; add ido-style commands.
6753 (icomplete-show-key-bindings): Remove custom var.
6754 (icomplete-get-keys): Remove function.
6755 (icomplete-forward-completions, icomplete-backward-completions):
6756 New commands.
6757 (icomplete-minibuffer-map): New var.
6758 (icomplete-minibuffer-setup): Use it.
6759 (icomplete-exhibit): Don't delay if the list of completions is known.
6760 (icomplete-separator): New custom.
6761 (icomplete-completions): Use it.
6762 * minibuffer.el (completion-all-sorted-completions): Delete duplicates.
6763 (minibuffer-force-complete-and-exit): New command.
6764 (minibuffer--complete-and-exit): New function extracted from
6765 minibuffer-complete-and-exit.
6766 (minibuffer-complete-and-exit): Use it.
6767
6768 * progmodes/etags.el (visit-tags-table-buffer): Give a more precise
6769 error message when the file doesn't exist (bug#12974).
6770
6771 2012-11-29 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
6772
6773 * simple.el (activate-mark): Run activate-mark-hook (bug#13027).
6774
6775 2012-11-29 Glenn Morris <rgm@gnu.org>
6776
6777 * files.el (hack-dir-local-variables): Warn if try to set
6778 coding via dir-locals, since it doesn't work. (Bug#7169)
6779
6780 Add desktop support for restoring vc-dir buffers. (Bug#10606)
6781 * vc/vc-dir.el (vc-dir-mode): Autoload it (for desktop restore).
6782 Set buffer-local value of desktop-save-buffer.
6783 (vc-dir-desktop-buffer-misc-data, vc-dir-restore-desktop-buffer):
6784 New functions.
6785 (desktop-buffer-mode-handlers): Add vc-dir-mode entry.
6786 * desktop.el (desktop-save-buffer-p): Treat vc-dir like dired.
6787
6788 * files.el (inhibit-local-variables-ignore-case): New. (Bug#10610)
6789 (inhibit-local-variables-p): Use inhibit-local-variables-ignore-case.
6790 Doc fix.
6791 (inhibit-local-variables-regexps, inhibit-local-variables-suffixes):
6792 Doc fixes.
6793
6794 2012-11-28 Jay Belanger <jay.p.belanger@gmail.com>
6795
6796 * calc/calc-forms.el (calc-date-notation): Fix regexp
6797 used to find time codes. Fix symbol for seconds.
6798
6799 2012-11-27 Glenn Morris <rgm@gnu.org>
6800
6801 * emacs-lisp/derived.el (derived-mode-make-docstring):
6802 Don't mention "abbrev" or "syntax" if nil. (Bug#11277)
6803
6804 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
6805
6806 * textmodes/table.el (table-insert): Don't use `symbol-name' on
6807 lexically scoped variables (bug#13005).
6808
6809 2012-11-27 Glenn Morris <rgm@gnu.org>
6810
6811 * vc/vc-hooks.el (vc-mistrust-permissions):
6812 Default to t, to avoid data-loss. (Bug#11490)
6813
6814 2012-11-27 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
6815
6816 * progmodes/python.el (python-indent-guess-indent-offset):
6817 If indentation is guessed make python-indent-offset buffer-local.
6818
6819 Fix Imenu regression.
6820 * progmodes/python.el (python-nav-beginning-of-defun):
6821 Fix forward movement when statement(s) separates point from defun.
6822 (python-imenu-prev-index-position): New function.
6823
6824 2012-11-27 Eli Zaretskii <eliz@gnu.org>
6825
6826 * subr.el (buffer-file-type): Declare with defvar-local. Doc fix.
6827
6828 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
6829 Don't set buffer-file-type. Return nil. (Bug#12989)
6830
6831 2012-11-27 Glenn Morris <rgm@gnu.org>
6832
6833 * hippie-exp.el (hippie-expand-try-functions-list):
6834 Re-autoload it. (Bug#12982)
6835
6836 2012-11-27 Eli Zaretskii <eliz@gnu.org>
6837
6838 * descr-text.el (describe-char-padded-string):
6839 Call internal-char-font only on GUI frames. (Bug#11964)
6840
6841 2012-11-27 Andreas Schwab <schwab@linux-m68k.org>
6842
6843 * buff-menu.el (Buffer-menu-buffer+size-width): Fix customize type
6844 and obsoletion message.
6845
6846 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
6847
6848 * emacs-lisp/cl-macs.el (cl--transform-lambda): Add back `declare' in
6849 the constructs to keep outside of the `cl-block' (bug#12977).
6850
6851 2012-11-27 Chong Yidong <cyd@gnu.org>
6852
6853 * mouse.el (mouse-drag-line): Even if the line is not draggable,
6854 keep reading until we get the up-event anyway, in order to process
6855 the up-event for mouse-1-click-follows-link (Bug#12971).
6856
6857 2012-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
6858
6859 * emacs-lisp/advice.el (ad-should-compile): Don't compile advice if the
6860 base function is not yet defined (bug#12965).
6861 (ad-activate-advised-definition): Use ad-compile-function.
6862 (ad-activate): Use cond.
6863
6864 2012-11-25 Leo Liu <sdl.web@gmail.com>
6865
6866 * textmodes/sgml-mode.el (sgml-tag): Fix indentation for closing tag.
6867 (Bug#12979)
6868
6869 2012-11-24 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
6870
6871 * textmodes/reftex-parse.el (reftex-parse-from-file): Use variable
6872 reftex-section-info-function in order to be compatible with
6873 Texinfo integration.
6874
6875 * textmodes/reftex.el (reftex-section-pre-regexp)
6876 (reftex-section-post-regexp, reftex-section-info-function):
6877 New variable.
6878 (reftex-compile-variables): Use variables reftex-section-pre-regexp,
6879 reftex-section-post-regexp, and reftex-section-info-function in order
6880 to be compatible with Texinfo integration.
6881
6882 * textmodes/reftex-toc.el (reftex-toc-promote-action):
6883 use reftex-section-pre-regexp variable in order to be compatible with
6884 Texinfo integration.
6885
6886 2012-11-25 Chong Yidong <cyd@gnu.org>
6887
6888 * faces.el: Make face-spec-set more analogous to setq.
6889 (face-spec-set): Change the third arg to specify whether this
6890 function is being called via defface, customize, or a third party.
6891 Set the appropriate symbol properties. Clear the override spec if
6892 setting via Custom. Initialize face if necessary. (Bug#4988)
6893 (face-spec-recalc): Allow theme faces to completely replace the
6894 defface spec, in the same way as custom faces (Bug#8454).
6895
6896 * cus-face.el (custom-declare-face): Move face initialization to
6897 face-spec-set.
6898 (custom-theme-set-faces): Don't initialize the face name here, as
6899 that is now done in face-spec-set.
6900
6901 * cus-edit.el (custom-face-set, custom-face-mark-to-save)
6902 (custom-face-reset-saved, custom-face-mark-to-reset-standard):
6903 Simplify by using the new arg to face-spec-set.
6904
6905 * emacs-lisp/lisp-mode.el (eval-defun-1): When evaluating defface,
6906 reset face-override-spec too, and use custom-declare-face.
6907
6908 2012-11-24 Jan Djärv <jan.h.d@swipnet.se>
6909
6910 * term/ns-win.el (ns-initialize-window-system): Move creation of
6911 fontsets here (Bug#11964).
6912
6913 2012-11-24 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
6914
6915 * ses.el (ses-rename-cell): Correct bug on mode-line update after
6916 cell renaming.
6917
6918 2012-11-24 Chong Yidong <cyd@gnu.org>
6919
6920 * woman.el (woman-default-faces, woman-monochrome-faces): Mark as
6921 obsolete.
6922
6923 * custom.el (custom-theme-set-variables): Use a topological sort
6924 for ordering by custom dependencies (Bug#12952).
6925 (custom--sort-vars, custom--sort-vars-1): New functions.
6926
6927 2012-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
6928
6929 * emacs-lisp/bytecomp.el (byte-compile-file): Setup default value for
6930 lexical-binding (bug#12938).
6931
6932 2012-11-24 Wolfgang Jenkner <wjenkner@inode.at>
6933
6934 * image-mode.el (image-transform-check-size): Use assertions only
6935 for images of type imagemagick.
6936
6937 Otherwise no error, image-transform-fit-to-{width,height} is
6938 silently ignored, as before. Doc fix.
6939
6940 2012-11-24 Chong Yidong <cyd@gnu.org>
6941
6942 * faces.el (color-defined-p): Doc fix (Bug#12853).
6943
6944 2012-11-24 Juri Linkov <juri@jurta.org>
6945
6946 * dired.el (dired-mark): Add optional arg `interactive'.
6947 Check for `use-region-p' if `interactive' is non-nil.
6948 (dired-unmark, dired-flag-file-deletion): Add optional arg
6949 `interactive'. Call `dired-mark' with the arg `interactive'.
6950 (Bug#10624)
6951
6952 * wdired.el: Revert 2012-10-17 change partly and replace it with
6953 Patch by Christopher Schmidt <christopher@ch.ristopher.com>.
6954 (wdired-finish-edit): Add marks for new file names to
6955 `wdired-old-marks'. Restore marks using `dired-mark-remembered'
6956 after `revert-buffer'.
6957 (wdired-do-renames): Remove calls to `dired-remove-file',
6958 `dired-add-file', `dired-add-entry'. (Bug#11795)
6959
6960 2012-11-24 Alan Mackenzie <acm@muc.de>
6961
6962 * progmodes/cc-defs.el (c-version): Bump to 5.32.4.
6963
6964 Fix bugs in the state cache. Enhance a debugging mechanism.
6965 * progmodes/cc-engine.el (c-parse-state-get-strategy): Don't use
6966 "brace at column zero" strategy for C++.
6967 (c-append-lower-brace-pair-to-state-cache): Repair algorithm.
6968 (c-parse-state-point): New variable.
6969 (c-record-parse-state-state): Record old parse state with
6970 `copy-tree'. Record previous value of point.
6971 (c-debug-parse-state-double-cons): New debugging function.
6972 (c-debug-parse-state): Call the above new function.
6973 (c-toggle-parse-state-debug): Output a confirmatory message.
6974
6975 * progmodes/cc-mode.el (c-before-change, c-after-change):
6976 Call c-invalidate-state-cache from `c-before-change' instead of
6977 `c-after-change'.
6978
6979 2012-11-23 Chong Yidong <cyd@gnu.org>
6980
6981 * find-cmd.el (find-constituents): Add executable, ipath,
6982 readable, samefile, writable, daystart, regextype (Bug#12856).
6983
6984 2012-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
6985
6986 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: Use cl-lib and lexical-binding.
6987
6988 2012-11-22 Paul Eggert <eggert@cs.ucla.edu>
6989
6990 * calc/calc.el (calc-gregorian-switch): Move to after calc-refresh
6991 definition. This fixes a bootstrap failure.
6992 (calc-gregorian-switch): In menu, put dates before regions.
6993 This is easier to follow, lines up better in the menu, and lets us
6994 coalesce regions that switch at the same time. Give country
6995 names, not "Vatican", as that's better for non-expert users.
6996 Use names that are stable between the date of switch and now, e.g.,
6997 Bohemia and Moravia (which existed then and now) and not
6998 Czechoslovakia (which didn't exist then and doesn't exist now).
6999 What is now the U.S. mostly did not switch at the same time as
7000 Britain, so omit the U.S. Correct spelling of "Britain".
7001 Catholic Switzerland was too much of a mess, so omit it.
7002
7003 2012-11-22 Jay Belanger <jay.p.belanger@gmail.com>
7004
7005 * calc/calc.el (calc-gregorian-switch): Refresh the Calc buffer
7006 after the variable is changed.
7007
7008 2012-11-21 Daniel Colascione <dancol@dancol.org>
7009
7010 * progmodes/sql.el (sql-mode-font-lock-object-name): Support IF NOT EXISTS
7011 in SQL declarations for font-lock.
7012 (sql-imenu-generic-expression): Teach imenu about IF NOT EXISTS.
7013
7014 2012-11-21 Glenn Morris <rgm@gnu.org>
7015
7016 * faces.el (face-underline-p, face-inverse-video-p, face-bold-p)
7017 (face-italic-p): Add optional argument "inherit".
7018
7019 * faces.el (set-face-inverse-video, set-face-bold, set-face-italic):
7020 Remove -p suffix from names, for consistency with other set-face-*.
7021 (set-face-inverse-video): Fix interactive spec.
7022 * play/gamegrid.el (gamegrid-make-mono-tty-face):
7023 * textmodes/table.el (table--update-cell-face):
7024 Use set-face-inverse-video rather than now obsolete alias.
7025
7026 2012-11-21 Eli Zaretskii <eliz@gnu.org>
7027
7028 * simple.el (line-move): Don't call line-move-partial if
7029 scroll-conservatively is in effect. (Bug#12927)
7030
7031 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
7032
7033 * eshell/em-cmpl.el (eshell-pcomplete): Refine fix for bug#12838:
7034 Fallback on completion-at-point rather than
7035 pcomplete-expand-and-complete, and only if pcomplete actually failed.
7036 (eshell-cmpl-initialize): Setup completion-at-point.
7037
7038 * pcomplete.el (pcomplete--entries): Obey pcomplete-ignore-case.
7039
7040 * emacs-lisp/ert.el (ert--expand-should-1): Adapt to cl-lib.
7041
7042 2012-11-21 Michael Albinus <michael.albinus@gmx.de>
7043
7044 * net/tramp-sh.el (tramp-do-copy-or-rename-file): If both files
7045 are remote, check out-of-band property for both.
7046
7047 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
7048
7049 * window.el (switch-to-buffer): Re-add the warning that was lost in the
7050 code rewrite.
7051
7052 2012-11-21 Paul Eggert <eggert@cs.ucla.edu>
7053
7054 More minor time fixes.
7055 * calendar/time-date.el: Commentary fix.
7056 * net/tramp-sh.el (tramp-do-file-attributes-with-ls): Undo last change;
7057 too much other code depends on (0 0) time stamps.
7058 * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
7059 Add a couple of FIXME comments.
7060
7061 Minor cleanup for times as lists of four integers.
7062 * files.el (dir-locals-directory-cache):
7063 * ps-bdf.el (bdf-file-mod-time, bdf-read-font-info):
7064 Doc fixes.
7065 * net/tramp-sh.el (tramp-do-file-attributes-with-ls):
7066 * ps-bdf.el (bdf-file-newer-than-time):
7067 Process four-integers time stamps, not two. Doc fixes.
7068
7069 2012-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
7070
7071 * uniquify.el (uniquify-managed): Use defvar-local.
7072 (rename-buffer, create-file-buffer): Advise with advice-add.
7073 (uniquify-unload-function): Unadvise accordingly.
7074
7075 * emacs-lisp/trace.el: Rewrite, use nadvice and lexical-binding.
7076 (trace-buffer): Don't purecopy.
7077 (trace-entry-message, trace-exit-message): Add `context' arg.
7078 (trace--timer): New var.
7079 (trace-make-advice): Adjust for use in nadvice.
7080 Add `context' argument. Delay `display-buffer' via a timer.
7081 (trace-function-internal): Use advice-add.
7082 (trace--read-args): New function.
7083 (trace-function-foreground, trace-function-background): Use it.
7084 (trace-function): Rename to trace-function-foreground and redefine as
7085 an alias to that new name.
7086 (untrace-function, untrace-all): Adjust to the use of nadvice.
7087
7088 * emacs-lisp/bytecomp.el (byte-compile): Fix handling of closures.
7089
7090 * emacs-lisp/byte-run.el (defun-declarations-alist): Fix last change.
7091
7092 * subr.el (called-interactively-p-functions): New var.
7093 (internal--called-interactively-p--get-frame): New macro.
7094 (called-interactively-p, interactive-p): Rewrite in Lisp.
7095 * emacs-lisp/nadvice.el (advice--called-interactively-skip): New fun.
7096 (called-interactively-p-functions): Use it.
7097 * emacs-lisp/edebug.el (edebug--called-interactively-skip): New fun.
7098 (called-interactively-p-functions): Use it.
7099 * allout.el (allout-called-interactively-p): Don't assume
7100 called-interactively-p is a subr.
7101
7102 2012-11-20 Glenn Morris <rgm@gnu.org>
7103
7104 * profiler.el (profiler-report-mode-map): Add a menu.
7105 No need to bind `q' because we derive from special-mode.
7106 (profiler-report-find-entry): Handle calls from the menu-bar.
7107
7108 2012-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
7109
7110 * emacs-lisp/byte-run.el (defun-declarations-alist):
7111 Allow a compiler-macro to be a lambda expression.
7112
7113 * progmodes/python.el: Use cl-lib. Move var declarations outside of
7114 eval-when-compile.
7115 (python-syntax-context): Add compiler-macro.
7116 (python-font-lock-keywords): Simplify with De Morgan.
7117
7118 * vc/diff-mode.el (diff-hunk): Don't make useless timers.
7119
7120 * files.el (load-file): Require match in minibuffer selection, as was
7121 the case in Emacs-20 before we changed the spec to allow .elc files
7122 (bug#12935).
7123
7124 * json.el: Don't require cl since we don't use it.
7125 * color.el: Don't require cl.
7126 (color-complement): `caddr' -> `nth 2'.
7127
7128 * calendar/time-date.el (time-to-seconds): De-obsolete.
7129
7130 2012-11-19 Jay Belanger <jay.p.belanger@gmail.com>
7131
7132 * calc/calc-forms.el (math-leap-year-p): Fix formula for negative
7133 year numbers.
7134 (math-date-to-julian-dt): Adjust the initial approximation for the
7135 year to deal with the new definition of the DATE.
7136
7137 2012-11-19 Daniel Colascione <dancol@dancol.org>
7138
7139 * term/w32-win.el (cygwin-convert-path-from-windows):
7140 Accomodate rename of cygwin_convert_path* to cygwin_convert_file_name*.
7141
7142 2012-11-18 Chong Yidong <cyd@gnu.org>
7143
7144 * filecache.el (file-cache--read-list): New function.
7145 (file-cache-add-directory-list, file-cache-add-file-list)
7146 (file-cache-delete-file-list, file-cache-delete-directory-list):
7147 Use it to read a list of files or directories (Bug#12846).
7148 (file-cache-add-file, file-cache-add-directory)
7149 (file-cache-delete-file-list, file-cache-delete-file-regexp)
7150 (file-cache-delete-directory): Print an message.
7151
7152 2012-11-18 Jay Belanger <jay.p.belanger@gmail.com>
7153
7154 * calc/calc-forms.el (math-date-to-dt): Use integer date when
7155 calling `math-date-to-julian-dt' and 'math-date-to-gregorian-dt'.
7156
7157 2012-11-18 Glenn Morris <rgm@gnu.org>
7158
7159 * image.el (insert-image, insert-sliced-image): Doc fix.
7160
7161 2012-11-18 Chong Yidong <cyd@gnu.org>
7162
7163 * emacs-lisp/syntax.el (syntax-propertize-function): Doc fix
7164 (Bug#12810).
7165
7166 2012-11-18 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
7167
7168 * vc/vc-svn.el (vc-svn-merge-news): Properly parse the merge
7169 response when the target file is in a subdirectory (Bug#12757).
7170
7171 2012-11-18 Chong Yidong <cyd@gnu.org>
7172
7173 * filecache.el (file-cache-add-file-list): Doc fix (Bug#12694).
7174
7175 2012-11-18 Glenn Morris <rgm@gnu.org>
7176
7177 * emacs-lisp/cl-lib.el (face-underline-p):
7178 Use set-face-underline rather than the alias set-face-underline-p.
7179
7180 * window.el (with-temp-buffer-window): Doc fix.
7181 * subr.el (with-output-to-temp-buffer):
7182 Add doc xref to with-temp-buffer-window.
7183
7184 2012-11-18 Juanma Barranquero <lekktu@gmail.com>
7185
7186 * woman.el (woman-non-underline-faces): Use `set-face-underline'.
7187 * calc/calc.el (math-format-date-cache): Declare.
7188
7189 2012-11-17 Paul Eggert <eggert@cs.ucla.edu>
7190
7191 Calc by default uses the Gregorian calendar for all dates (Bug#12633).
7192 It also uses January 1, 1 AD as its day number 1.
7193 * calc/calc-forms.el (math-julian-date-beginning)
7194 (math-julian-date-beginning-int): Implement this.
7195
7196 2012-11-17 Juanma Barranquero <lekktu@gmail.com>
7197
7198 * descr-text.el (quail-find-key):
7199 * dired.el (desktop-file-name):
7200 * dirtrack.el (shell-prefixed-directory-name, shell-process-cd):
7201 * generic-x.el (comint-mode, comint-exec):
7202 * image-dired.el (widget-forward):
7203 * info.el (speedbar-add-expansion-list, speedbar-center-buffer-smartly)
7204 (speedbar-change-expand-button-char)
7205 (speedbar-change-initial-expansion-list, speedbar-delete-subblock)
7206 (speedbar-make-specialized-keymap, speedbar-make-tag-line):
7207 * printing.el (easy-menu-add-item, easy-menu-remove-item)
7208 (widget-field-action, widget-value-set):
7209 * speedbar.el (imenu--make-index-alist):
7210 * term.el (ring-empty-p, ring-ref, ring-insert-at-beginning)
7211 (ring-length, ring-insert):
7212 * vcursor.el (compare-windows-skip-whitespace):
7213 * woman.el (dired-get-filename):
7214 Declare functions.
7215
7216 * term/w32-win.el (cygwin-convert-path-from-windows): Fix declaration.
7217
7218 2012-11-17 Jay Belanger <jay.p.belanger@gmail.com>
7219
7220 * calc/calc.el (calc-gregorian-switch): New variable.
7221
7222 * calc/calc-forms.el (math-day-in-year, math-dt-before-p)
7223 (math-absolute-from-gregorian-dt, math-absolute-from-julian-dt)
7224 (math-date-to-julian-dt, math-date-to-gregorian-dt): New functions.
7225 (math-leap-year-p): Add option to distinguish between Julian
7226 and Gregorian calendars.
7227 (math-day-number): Use `math-day-in-year' to do the computations.
7228 (math-absolute-from-dt): Rename from `math-absolute-from-date'.
7229 Use `math-absolute-from-gregorian' and `math-absolute-from-julian'
7230 to do the computations.
7231 (math-date-to-dt): Use `math-date-to-julian-dt' and
7232 `math-date-to-gregorian-dt' to do the computations.
7233 (calcFunc-weekday, math-format-date-part): Use the new version of
7234 the DATE to determine the weekday.
7235 (calcFunc-newmonth, calcFunc-newyear): Use `calc-gregorian-switch'
7236 when necessary.
7237
7238 2012-11-17 Eli Zaretskii <eliz@gnu.org>
7239
7240 * term/w32-win.el (w32-handle-dropped-file): Use 'file://' only on
7241 Cygwin; otherwise use 'file:'. (Bug#12914)
7242 (cygwin-convert-path-from-windows): Declare, to avoid
7243 byte-compiler warnings.
7244
7245 2012-11-17 Andreas Politz <politza@fh-trier.de>
7246
7247 * ibuffer.el (ibuffer-mark-forward, ibuffer-unmark-forward)
7248 (ibuffer-unmark-backward, ibuffer-mark-interactive): Support plain
7249 prefix and negative numeric prefix args (Bug#12795).
7250
7251 2012-11-17 Stephen Berman <stephen.berman@gmx.net>
7252
7253 * play/gamegrid.el (gamegrid-add-score-with-update-game-score-1):
7254 Don't signal an error with a score that is too low to add to the
7255 list of top scores. (Bug#12779)
7256
7257 2012-11-17 Chong Yidong <cyd@gnu.org>
7258
7259 * help-mode.el (help-xref-interned): End on point-min (Bug#12737).
7260
7261 * filecache.el (file-cache-add-file): Handle relative file name in
7262 the argument (Bug#12694).
7263
7264 2012-11-16 JĂ¼rgen Hötzel <juergen@archlinux.org> (tiny change)
7265
7266 * eshell/em-unix.el (eshell/mkdir): Handle "--parents" (bug#12897).
7267
7268 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
7269
7270 * emacs-lisp/advice.el (ad-make-advised-definition): Improve last fix.
7271
7272 * emacs-lisp/cl-lib.el: Set more meaningful version number.
7273
7274 2012-11-16 Martin Rudalics <rudalics@gmx.at>
7275
7276 * window.el (enlarge-window, shrink-window): Don't mention return
7277 value in doc-string (Bug#12896).
7278 (window--display-buffer): Don't resize frames - it won't work
7279 with all window managers and defeat pop-up-frame-alist.
7280 (display-buffer-alist): In doc-string explain that CONDITION can
7281 be a function and which arguments are passed to it (Bug#12854).
7282 (display-buffer-assq-regexp): New argument ACTION. Handle lambda
7283 expressions (Bug#12854).
7284 (display-buffer): Pass ACTION argument to
7285 display-buffer-assq-regexp.
7286
7287 2012-11-16 Glenn Morris <rgm@gnu.org>
7288
7289 * window.el (fit-frame-to-buffer-bottom-margin)
7290 (fit-frame-to-buffer, fit-window-to-buffer): Doc fixes.
7291
7292 * faces.el (face-underline-p): Use face-attribute-specified-or.
7293
7294 2012-11-16 Juanma Barranquero <lekktu@gmail.com>
7295
7296 * emacs-lisp/cl-macs.el (cl-loop, cl-do, cl-do*): Doc fixes.
7297
7298 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
7299
7300 * emacs-lisp/cl-macs.el (cl-flet, cl-flet*): Fix docstring (bug#12895).
7301
7302 2012-11-16 Glenn Morris <rgm@gnu.org>
7303
7304 * eshell/em-cmpl.el (eshell-pcomplete): New command. (Bug#12838)
7305 (eshell-cmpl-initialize): Bind eshell-pcomplete to TAB, C-i.
7306
7307 * faces.el (face-underline-p): Doc fix. Handle :underline being
7308 things other than `t' (a string, a list).
7309 (face-inverse-video-p): Doc fix.
7310 (set-face-underline): Rename it back from set-face-underline-p.
7311 Doc fix. Allow interactive input of values other than t.
7312 (read-face-attribute): Apply formatting to :underline,
7313 since like :box and :stipple it can take list values.
7314
7315 * term.el (ansi-term): Don't let C-x escape-char binding
7316 clobber the more standard C-c binding. (Bug#12842)
7317
7318 * subr.el (set-temporary-overlay-map): Doc fix.
7319
7320 2012-11-16 Martin Rudalics <rudalics@gmx.at>
7321
7322 * window.el (record-window-buffer)
7323 (display-buffer-record-window): When copying the markers to
7324 window-point preserve window-point-insertion-type. (Bug#12588)
7325
7326 2012-11-16 Glenn Morris <rgm@gnu.org>
7327
7328 * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
7329 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error):
7330 Use new names for hooks rather than obsolete aliases.
7331
7332 2012-11-15 Daniel Colascione <dancol@dancol.org>
7333
7334 * term/w32-win.el (w32-handle-dropped-file): Use a "file://"
7335 prefix instead of "file:" so that when FILE-NAME begins with "//",
7336 as it does when the target file is on a network share, url-handler
7337 isn't confused.
7338
7339 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
7340
7341 * emacs-lisp/advice.el (ad-definition-type): Make sure we don't use
7342 a preactivated advice from an old advice.el; they're not compatible!
7343
7344 2012-11-15 Katsumi Yamaoka <yamaoka@jpl.org>
7345
7346 * emacs-lisp/nadvice.el (advice--make-interactive-form):
7347 Fix string-spec case.
7348
7349 * emacs-lisp/advice.el (ad-make-advised-definition): Fix undefined case.
7350
7351 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
7352
7353 * emacs-lisp/nadvice.el: Add buffer-local support to add-function.
7354 (advice--buffer-local-function-sample): New var.
7355 (advice--set-buffer-local, advice--buffer-local): New functions.
7356 (add-function, remove-function): Use them.
7357
7358 2012-11-15 Drew Adams <drew.adams@oracle.com>
7359
7360 * imenu.el (imenu--split-submenus): Use imenu--subalist-p (bug#12717).
7361
7362 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
7363
7364 * emacs-lisp/cl-macs.el (cl--transform-lambda): Defend against
7365 potential binding of print-gensym to t, and prettify (back)quotes in
7366 case they appear in args's default values (bug#12884).
7367
7368 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
7369
7370 * emacs-lisp/nadvice.el: Add around advice for interactive specs.
7371 (advice-eval-interactive-spec): New function.
7372 (advice--make-interactive-form): Support around advice (bug#12844).
7373
7374 2012-11-14 Dmitry Gutov <dgutov@yandex.ru>
7375
7376 * progmodes/ruby-mode.el (ruby-expr-beg): Make heredoc detection
7377 more strict. Add docstring.
7378 (ruby-expression-expansion-re): Extract from
7379 `ruby-match-expression-expansion'.
7380 (ruby-syntax-propertize-function): After everything else, search
7381 for expansions in string literals, mark their insides as
7382 whitespace syntax and save match data for font-lock.
7383 (ruby-font-lock-keywords): Use the 2nd group from expression
7384 expansion matches.
7385 (ruby-match-expression-expansion): Use the match data saved to the
7386 text property in ruby-syntax-propertize-function.
7387
7388 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
7389
7390 * emacs-lisp/gv.el (setf): Fix debug spec for multiple assignments
7391 (bug#12879).
7392
7393 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
7394
7395 * progmodes/ruby-mode.el (ruby-move-to-block): Looks for a block
7396 start/end keyword a bit harder. Works with different values of N.
7397 Add more comments.
7398 (ruby-end-of-block): Update accordingly.
7399
7400 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
7401
7402 * woman.el (woman-file-name): Don't mess with unread-command-events
7403 (bug#12861).
7404
7405 * emacs-lisp/advice.el: Layer on top of nadvice.el.
7406 Remove out of date self-require hack.
7407 (ad-do-advised-functions): Use simple `dolist'.
7408 (ad-advice-name, ad-advice-protected, ad-advice-enabled)
7409 (ad-advice-definition): Redefine as functions.
7410 (ad-advice-classes): Move before first use.
7411 (ad-make-origname, ad-set-orig-definition, ad-clear-orig-definition)
7412 (ad-make-mapped-call, ad-make-advised-docstring)
7413 (ad-make-plain-docstring, ad--defalias-fset): Remove functions.
7414 (ad-make-advicefunname, ad-clear-advicefunname-definition): New funs.
7415 (ad-get-orig-definition): Rewrite.
7416 (ad-make-advised-definition-docstring): Change base docstring.
7417 (ad-real-orig-definition): Rewrite.
7418 (ad-map-arglists): Change name of called function.
7419 (ad--make-advised-docstring): Redirect `function' from ad-Advice-...
7420 (ad-make-advised-definition): Simplify.
7421 (ad-assemble-advised-definition): Tweak for new calling context.
7422 (ad-activate-advised-definition): Setup ad-Advice-* i.s.o ad-Orig-*.
7423 (ad--defalias-fset): Rename from ad-handle-definition. Make it set the
7424 function and call ad-activate if needed.
7425 (ad-activate, ad-deactivate): Don't call ad-handle-definition any more.
7426 (ad-recover): Clear ad-Advice-* instead of ad-Orig-*.
7427 (ad-compile-function): Compile ad-Advice-*.
7428 (ad-activate-on-top-level, ad-with-auto-activation-disabled): Remove.
7429 (ad-start-advice, ad-stop-advice): Remove.
7430
7431 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
7432
7433 * progmodes/ruby-mode.el (ruby-add-log-current-method): Print the
7434 period before class method names, not after. Remove handling of
7435 one impossible case. Add comments.
7436
7437 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
7438
7439 * emacs-lisp/advice.el: Remove support for freezing.
7440 (ad-make-freeze-docstring, ad-make-freeze-definition): Remove functions.
7441 (ad-make-single-advice-docstring, ad-defadvice-flags, defadvice):
7442 Remove support for `freeze'.
7443
7444 * emacs-lisp/cl.el (dolist, dotimes, declare): Use advice-add to
7445 override the default.
7446 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Rewrite without using
7447 cl--dotimes/dolist.
7448 * subr.el (dolist, dotimes, declare): Redefine them normally, even when
7449 `cl' is loaded.
7450
7451 * emacs-lisp/nadvice.el (advice--normalize): New function, extracted
7452 from add-advice.
7453 (advice--strip-macro): New function.
7454 (advice--defalias-fset): Use them to handle macros.
7455 (advice-add): Use them.
7456 (advice-member-p): Correctly handle macros.
7457
7458 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
7459
7460 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
7461 Never font-lock the beginning of singleton class as heredoc.
7462
7463 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
7464
7465 * emacs-lisp/gv.el (gv-define-simple-setter): One more fix (bug#12871).
7466
7467 2012-11-13 Wolfgang Jenkner <wjenkner@inode.at>
7468
7469 * ansi-color.el (ansi-color-apply-sequence): Implement SGR codes
7470 39 and 49 (bug#12792). Also, treat unimplemented parameters as 0,
7471 thereby restoring the behavior of revisions prior to 2012-08-15T03:33:55Z!monnier@iro.umontreal.ca.
7472
7473 2012-11-13 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7474
7475 Fix end-of-defun misbehavior.
7476 * progmodes/python.el (python-nav-beginning-of-defun): Rename from
7477 python-beginning-of-defun-function. Handle nested defuns
7478 correctly.
7479 (python-nav-end-of-defun): Rename from
7480 python-end-of-defun-function. Ensure forward movement.
7481 (python-info-current-defun): Reimplement to work as intended
7482 with new fixed python-nav-{end,beginning}-of-defun. Stop scanning
7483 parent defuns as soon as possible.
7484
7485 2012-11-13 Glenn Morris <rgm@gnu.org>
7486
7487 * progmodes/flymake.el (flymake-error-bitmap)
7488 (flymake-warning-bitmap, flymake-fringe-indicator-position): Doc fixes.
7489 (flymake-error-bitmap, flymake-warning-bitmap): Fix :types.
7490
7491 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
7492
7493 * progmodes/ruby-mode.el (ruby-move-to-block): When moving
7494 backward, always stop at indentation. Reverts the change from
7495 2012-08-12T22:06:56Z!monnier@iro.umontreal.ca (Bug#12851).
7496
7497 2012-11-13 Glenn Morris <rgm@gnu.org>
7498
7499 * ibuffer.el (ibuffer-mode-map, ibuffer-mode):
7500 Add ibuffer-filter-by-derived-mode.
7501
7502 * ibuffer.el (ibuffer-mode-map): Don't have two menu items with
7503 the same name shadowing each other.
7504
7505 * window.el (with-temp-buffer-window): Doc tweak.
7506
7507 * emacs-lisp/debug.el (debugger-bury-or-kill): Doc tweak.
7508
7509 * help.el (temp-buffer-max-height):
7510 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-bottom-margin):
7511 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix :version.
7512
7513 2012-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
7514
7515 * emacs-lisp/nadvice.el: New package.
7516 * subr.el (special-form-p): New function.
7517 * emacs-lisp/elp.el: Use lexical-binding and advice-add.
7518 (elp-all-instrumented-list): Remove var.
7519 (elp-not-profilable): Remove elp-wrapper.
7520 (elp-profilable-p): Use autoloadp and special-form-p.
7521 (elp--advice-name): New const.
7522 (elp-instrument-function): Use advice-add.
7523 (elp--instrumented-p): New predicate.
7524 (elp-restore-function): Use advice-remove.
7525 (elp-restore-all, elp-reset-all): Use mapatoms.
7526 (elp-set-master): Use elp--instrumented-p.
7527 (elp--make-wrapper): Rename from elp-wrapper, return a function
7528 suitable for advice-add. Use cl-inf.
7529 (elp-results): Use mapatoms+elp--instrumented-p.
7530 * emacs-lisp/debug.el: Use lexical-binding and advice-add.
7531 (debug-function-list): Remove var.
7532 (debug): Rename arg, and then let-bind it explicitly inside.
7533 (debugger-setup-buffer): Rename arg.
7534 (debugger-setup-buffer): Adjust counts to new debug-on-entry setup.
7535 (debugger-frame-number): Adjust to new debug-on-entry setup.
7536 (debug--implement-debug-on-entry): Rename from
7537 implement-debug-on-entry, add argument.
7538 (debugger-special-form-p): Remove, use special-form-p instead.
7539 (debug-on-entry): Use advice-add.
7540 (debug--function-list): New function.
7541 (cancel-debug-on-entry): Use it, along with advice-remove.
7542 (debug-arglist, debug-convert-byte-code, debug-on-entry-1): Remove.
7543 (debugger-list-functions): Use debug--function-list instead of
7544 debug-function-list.
7545 * emacs-lisp/advice.el (ad-save-real-definition): Remove, unused.
7546 (ad-special-form-p): Remove, use special-form-p instead.
7547 (ad-set-advice-info): Use add-function and remove-function.
7548 (ad--defalias-fset): Adjust accordingly.
7549
7550 2012-11-10 Glenn Morris <rgm@gnu.org>
7551
7552 * mail/emacsbug.el (report-emacs-bug-tracker-url)
7553 (report-emacs-bug-bug-alist, report-emacs-bug-choice-widget)
7554 (report-emacs-bug-create-existing-bugs-buffer)
7555 (report-emacs-bug-parse-query-results)
7556 (report-emacs-bug-query-existing-bugs): Remove. (Bug#7449)
7557
7558 * term.el (term-default-fg-color, term-default-bg-color):
7559 Make obsolete, rather than just saying "deprecated" in the doc.
7560
7561 * term.el (term): Rename from `term-face'.
7562 (term-current-face, ansi-term-color-vector)
7563 (term-default-fg-color, term-default-bg-color, term-ansi-reset):
7564 Update all users.
7565
7566 2012-11-10 Jan Djärv <jan.h.d@swipnet.se>
7567
7568 * server.el (server-create-window-system-frame): Handle Nextstep
7569 specially (Bug#12780).
7570
7571 2012-11-10 Glenn Morris <rgm@gnu.org>
7572
7573 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
7574 Unautoload, and make obsolete. (Bug#7449)
7575
7576 2012-11-10 Chong Yidong <cyd@gnu.org>
7577
7578 * vc/diff-mode.el (diff-delete-trailing-whitespace): Rewrite, and
7579 rename from diff-remove-trailing-whitespace (Bug#12831).
7580
7581 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
7582
7583 * emacs-lisp/advice.el: Require `cl-lib' at run-time to fix
7584 miscompilation of trace.el.
7585
7586 2012-11-10 Glenn Morris <rgm@gnu.org>
7587
7588 * vc/diff-mode.el (diff-remove-trailing-whitespace): Doc fix.
7589
7590 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
7591
7592 * emacs-lisp/gv.el (gv-define-simple-setter): Fix last change
7593 (bug#12812).
7594
7595 2012-11-10 Chong Yidong <cyd@gnu.org>
7596
7597 * minibuf-eldef.el (minibuffer-eldef-shorten-default): Convert to
7598 a defcustom with an appropriate :set function.
7599 (minibuffer-default--in-prompt-regexps): New function.
7600
7601 2012-11-10 Glenn Morris <rgm@gnu.org>
7602
7603 * emacs-lisp/cl.el (define-setf-expander, defsetf)
7604 (define-modify-macro): Doc fixes.
7605
7606 * emacs-lisp/gv.el (gv-letplace): Fix doc typo.
7607 (gv-define-simple-setter): Update doc of `fix-return'.
7608
7609 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
7610
7611 * emacs-lisp/gv.el (gv-define-simple-setter): Don't evaluate `val'
7612 twice when `fix-return' is set (bug#12813).
7613
7614 * emacs-lisp/cl.el (defsetf): Pass the third arg to
7615 gv-define-simple-setter (bug#12812).
7616
7617 * woman.el (woman-decode-region): Disable adaptive-fill when rendering
7618 (bug#12756).
7619
7620 2012-11-10 Glenn Morris <rgm@gnu.org>
7621
7622 * emacs-lisp/gv.el (gv-define-setter): Fix doc typo.
7623
7624 * emacs-lisp/cl-extra.el (cl-prettyexpand):
7625 * emacs-lisp/cl-lib.el (cl-proclaim, cl-declaim):
7626 * emacs-lisp/cl-macs.el (cl-destructuring-bind, cl-locally)
7627 (cl-the, cl-compiler-macroexpand): Add basic doc strings.
7628
7629 * emacs-lisp/cl-extra.el (cl-maplist, cl-mapcan): Doc fix.
7630
7631 2012-11-10 Leo Liu <sdl.web@gmail.com>
7632
7633 * ido.el (ido-set-matches-1): Improve flex matching performance by
7634 removing backtracking in the regexp (suggested by Stefan). (Bug#12796)
7635
7636 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
7637
7638 * emacs-lisp/advice.el (ad-set-advice-info): Set defalias-fset-function.
7639 (ad--defalias-fset): New function.
7640 (ad-safe-fset): Remove.
7641 (ad-make-freeze-definition): Use cl-letf*.
7642
7643 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
7644
7645 * subr.el (dolist): Don't bind VAR in RESULT.
7646
7647 * emacs-lisp/advice.el: Miscellaneous cleanup. Use lexical-binding.
7648 (fset, documentation): Don't save real def since we don't advise.
7649 (ad-do-advised-functions): Remove problematic `result-form'.
7650 (ad-safe-fset): `ad-real-fset' => `fset'.
7651 (ad-read-advised-function): Don't assume that ad-do-advised-functions
7652 uses CL's dolist internally.
7653 (ad-arglist): Remove unused arg `name'.
7654 (ad-docstring, ad-make-advised-docstring):
7655 `ad-real-documentation' => `documentation'.
7656 (warning-suppress-types): Declare.
7657 (ad-set-arguments): Simple CSE.
7658 (ad-recover-normality): Sanity check.
7659
7660 * emacs-lisp/bytecomp.el (byte-compile-out-toplevel): Don't turn
7661 (funcall '(lambda ..) ..) into ((lambda ..) ..).
7662
7663 2012-11-09 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
7664
7665 * ses.el: Symbol to coordinate mapping is made by symbol property
7666 `ses-cell'. This means that the same mapping is done for all SES
7667 sheets. That is good enough for cells with standard A1 names, but
7668 not for named cell. So a hash map is added for the latter.
7669 (defconst ses-localvars): Add local variable ses--named-cell-hashmap
7670 (ses-sym-rowcol): Use hashmap for named cell.
7671 (ses-is-cell-sym-p): New defun.
7672 (ses-decode-cell-symbol): New defun.
7673 (ses-create-cell-variable): Add cell to hashmap when name is not
7674 A1-like.
7675 (ses-rename-cell): Check that cell new name is not already in
7676 spreadsheet with the use of ses-is-cell-sym-p
7677 (ses-rename-cell): Use hash map for named cells, but accept also
7678 renaming back to A1-like.
7679
7680 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
7681
7682 * emacs-lisp/advice.el: Use new dynamic docstrings.
7683 (ad-make-advised-definition-docstring, ad-advised-definition-p):
7684 Use dynamic-docstring-function instead of ad-advice-info.
7685 (ad--make-advised-docstring): New function extracted from
7686 ad-make-advised-docstring.
7687 (ad-make-advised-docstring): Use it.
7688 * progmodes/sql.el (sql--make-help-docstring): New function, extracted
7689 from sql-help.
7690 (sql-help): Use it with dynamic-docstring-function.
7691
7692 * env.el (env--substitute-vars-regexp): Don't use rx (for bootstrap).
7693
7694 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
7695
7696 * files.el (hack-one-local-variable--obsolete): New function.
7697 (hack-one-local-variable): Use it for obsolete settings.
7698
7699 * subr.el (locate-user-emacs-file): If both old and new name exist, use
7700 the new name.
7701
7702 * progmodes/js.el (js--filling-paragraph): New var.
7703 (c-forward-sws, c-backward-sws, c-beginning-of-macro): Advise.
7704 (js-c-fill-paragraph): Prefer advice to cl-letf so the rebinding is
7705 less sneaky.
7706
7707 2012-11-08 Julien Danjou <julien@danjou.info>
7708
7709 * progmodes/ruby-mode.el (auto-mode-alist): Add Rakefile in
7710 `auto-mode-alist' (Bug#12835).
7711
7712 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
7713
7714 * progmodes/perl-mode.el (perl-prettify-symbols): New defcustom.
7715 (perl--prettify-symbols-alist): New const.
7716 (perl--font-lock-compose-symbol, perl--font-lock-symbols-keywords):
7717 New functions.
7718 (perl-font-lock-keywords-2): Use them.
7719 (perl-electric-noindent-p): New function.
7720 (perl-mode): Use it to set up electric-indent-mode.
7721 (perl-electric-terminator, perl-indent-command): Mark obsolete.
7722 (perl-mode-map): Remove bindings for them.
7723 (perl-imenu-generic-expression, perl-outline-level):
7724 Match functions&packages in column>0.
7725
7726 * env.el (env--substitute-vars-regexp): New const.
7727 (substitute-env-vars): Use it. Add `only-defined' arg.
7728 * net/tramp.el (tramp-replace-environment-variables): Use it.
7729
7730 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
7731 Byte-compile *before* eval in eval-and-compile.
7732 (byte-compile-log-warning): Remove redundant inhibit-read-only.
7733 (byte-compile-file-form-autoload): Don't hide actual definition.
7734 (byte-compile-maybe-guarded): Accept `functionp' as well.
7735
7736 * emacs-lisp/gv.el (gv-ref, gv-deref): New function and macro.
7737
7738 2012-11-07 Michael Albinus <michael.albinus@gmx.de>
7739
7740 * notifications.el (notifications-get-server-information-method):
7741 New defconst.
7742 (notifications-get-capabilities): Fix docstring.
7743 (notifications-get-server-information): New defun.
7744
7745 2012-11-06 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
7746
7747 * textmodes/ispell.el (ispell-region): Standard re-indent for better
7748 readability.
7749
7750 * textmodes/ispell.el: Experimental support for support debugging.
7751 (ispell-create-debug-buffer): Create a `ispell-debug-buffer' debug
7752 buffer for ispell.
7753 (ispell-print-if-debug): New function to print stuff to
7754 `ispell-debug-buffer' if debugging is enabled.
7755 (ispell-region, ispell-process-line): Use `ispell-print-if-debug' to
7756 show some debugging info.
7757 (ispell-buffer-with-debug): New function that creates a debugging
7758 buffer and calls `ispell-buffer' with debugging enabled.
7759
7760 * textmodes/ispell.el (ispell-region): Do not prefix sent string by
7761 comment in autoconf mode. (Bug#12768)
7762
7763 2012-11-06 Dmitry Antipov <dmantipov@yandex.ru>
7764
7765 * emacs-lisp/byte-opt.el (toplevel): Add compare-window-configurations,
7766 frame-first-window, frame-root-window, frame-selected-window,
7767 minibuffer-selected-window, minibuffer-window,
7768 window-absolute-pixel-edges, window-at, window-body-height,
7769 window-body-width, window-display-table, window-combination-limit,
7770 window-frame, window-fringes, window-inside-absolute-pixel-edges,
7771 window-inside-edges, window-inside-pixel-edges, window-left-child,
7772 window-left-column, window-margins, window-next-buffers,
7773 window-next-sibling, window-new-normal, window-new-total,
7774 window-normal-size, window-parameter, window-parameters, window-parent,
7775 window-pixel-edges, window-point, window-prev-buffers,
7776 window-prev-sibling, window-redisplay-end-trigger, window-scroll-bars,
7777 window-start, window-text-height, window-top-child, window-top-line,
7778 window-total-height, window-total-width and window-use-time to the list
7779 of functions without side-effects.
7780 (toplevel): Add window-valid-p to the list of error-free functions
7781 without side-effects.
7782
7783 2012-11-05 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
7784
7785 * textmodes/ispell.el (ispell-program-name):
7786 Update spellchecker parameters when customized.
7787
7788 2012-11-04 Glenn Morris <rgm@gnu.org>
7789
7790 * vc/vc-svn.el (vc-svn-state-heuristic): Avoid calling svn. (Bug#7850)
7791
7792 2012-11-04 Chong Yidong <cyd@gnu.org>
7793
7794 * bookmark.el (bookmark-bmenu-switch-other-window): Avoid binding
7795 same-window-* variables.
7796
7797 2012-11-04 Juri Linkov <juri@jurta.org>
7798
7799 * isearch.el (isearch-help-for-help, isearch-describe-bindings)
7800 (isearch-describe-key, isearch-describe-mode): Use a display
7801 action instead of binding same-window-* variables (Bug#10040).
7802
7803 2012-11-03 Glenn Morris <rgm@gnu.org>
7804
7805 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
7806 Rename handler properties back from cl-- to cl-. (Bug#12788)
7807
7808 * emacs-lisp/cl-macs.el (cl-do-all-symbols): Add doc string.
7809
7810 2012-11-03 Eli Zaretskii <eliz@gnu.org>
7811
7812 * term/pc-win.el: Don't load term/internal from here.
7813
7814 * loadup.el: Load term/internal from here.
7815
7816 2012-11-03 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7817
7818 * progmodes/python.el (inferior-python-mode): Fix hang in
7819 jit-lock (Bug#12645).
7820
7821 2012-11-03 Martin Rudalics <rudalics@gmx.at>
7822
7823 * window.el (switch-to-visible-buffer)
7824 (switch-to-buffer-preserve-window-point): Fix doc-strings.
7825
7826 2012-11-03 Glenn Morris <rgm@gnu.org>
7827
7828 * emacs-lisp/cl-lib.el (cl--random-time):
7829 Rename from cl-random-time. (Bug#12773)
7830 (cl--gensym-counter, cl--random-state): Update callers.
7831 * emacs-lisp/cl-extra.el (cl-make-random-state): Update callers.
7832
7833 2012-11-03 Chong Yidong <cyd@gnu.org>
7834
7835 * cus-start.el: Make cursor-type customizable (Bug#11633).
7836
7837 2012-11-02 Glenn Morris <rgm@gnu.org>
7838
7839 * filecache.el: No need to load find-lisp when compiling.
7840 (find-lisp-find-files): Autoload it.
7841 (file-cache-add-directory-recursively): Don't require find-lisp.
7842
7843 * image.el (image-type-from-file-name): Trivial simplification.
7844
7845 * emacs-lisp/bytecomp.el (byte-compile-eval):
7846 Decouple "noruntime" and "cl-functions" warnings.
7847
7848 2012-11-01 Stephen Berman <stephen.berman@gmx.net>
7849
7850 * play/gomoku.el (gomoku-display-statistics): Update mode line
7851 only if in Gomoku buffer; don't capitalize "won" (Bug#12771).
7852
7853 2012-10-31 Martin Rudalics <rudalics@gmx.at>
7854
7855 * window.el (quit-restore-window): If the window has been
7856 created on an existing frame and ended up as the sole window on
7857 that frame, do not delete it (Bug#12764).
7858
7859 2012-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
7860
7861 * progmodes/sh-script.el (sh--inside-noncommand-expression):
7862 Rename from sh--inside-arithmetic-expression, handle more cases
7863 (bug#11263).
7864
7865 * progmodes/sh-script.el (sh--inside-arithmetic-expression): New func.
7866 (sh-font-lock-open-heredoc): Use it (bug#12770).
7867
7868 2012-10-30 Glenn Morris <rgm@gnu.org>
7869
7870 * emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie. Doc fix.
7871
7872 * emacs-lisp/cl.el (letf): Doc fix. (Bug#12760)
7873
7874 2012-10-29 Chong Yidong <cyd@gnu.org>
7875
7876 * isearch.el (isearch-other-meta-char): Ensure that a reprocessed
7877 function key is stored in a keyboard macro (Bug#4894).
7878
7879 * thingatpt.el (number-at-point): Apply a thing-at-point property.
7880
7881 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
7882
7883 * vc/diff-mode.el (diff-context->unified): Don't get confused by "hunk
7884 header comments".
7885 (diff-unified->context, diff-context->unified)
7886 (diff-reverse-direction, diff-fixup-modifs): Use `use-region-p'.
7887
7888 * emacs-lisp/cl.el (letf): Add missing indent rules (bug#12759).
7889
7890 * files.el (find-alternate-file): Only ask one question (bug#12487).
7891
7892 2012-10-29 Chong Yidong <cyd@gnu.org>
7893
7894 * vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer.
7895 Suggested by Dan Nicolaescu (Bug#6326).
7896
7897 * info.el (Info-complete-menu-item): Avoid duplicates (Bug#12705).
7898
7899 * startup.el (fancy-about-screen): Don't message (Bug#12680).
7900
7901 * thingatpt.el (thing-at-point): Doc fix (Bug#12691).
7902
7903 * imenu.el (imenu): Inhibit push-mark message (Bug#12726).
7904
7905 * face-remap.el (face-remap-add-relative): Handle the case where a
7906 face-remapping-alist entry is a cons cell (Bug#12762).
7907
7908 2012-10-29 Kevin Ryde <user42@zip.com.au>
7909
7910 * woman.el (woman-parse-numeric-value): Handle picas correctly
7911 (Bug#12639).
7912
7913 2012-10-29 Glenn Morris <rgm@gnu.org>
7914
7915 * emacs-lisp/cl.el (defsetf): Doc fix.
7916
7917 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
7918
7919 * progmodes/sh-script.el (sh-font-lock-paren): Also put punctuation
7920 syntax to the matching opener, if any (bug#12547).
7921 (sh-smie-sh-forward-token, sh-smie-sh-backward-token): Recognize this
7922 matching open as a "case-(".
7923 (sh-smie-rc-grammar): Add a corresponding rule for it.
7924
7925 2012-10-28 Daniel Hackney <dan@haxney.org>
7926
7927 * emacs-lisp/package.el (package-generate-autoloads): Kill buffer
7928 "PKGNAME-autoloads.el" in case we created it.
7929
7930 2012-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
7931
7932 * minibuffer.el (completion--sifn-requote): Rewrite to handle things
7933 like Tramp's "/foo:~bar//baz" -> "/scpc:foo:/baz" mapping (bug#11714).
7934 (completion--twq-all): Disable too-strict assertions.
7935
7936 * tmm.el (tmm-prompt): Use map-keymap (bug#12744).
7937
7938 2012-10-27 Eli Zaretskii <eliz@gnu.org>
7939
7940 * profiler.el (profiler-report-make-entry-part): Fix help-echo
7941 text to match the real keybindings.
7942
7943 2012-10-27 Juri Linkov <juri@jurta.org>
7944
7945 * wdired.el (wdired-keep-marker-rename): New defcustom.
7946 (wdired-do-renames): Use it instead of `dired-keep-marker-rename'.
7947 (Bug#11795)
7948
7949 * dired.el (dired-keep-marker-rename): Add reference to
7950 `wdired-keep-marker-rename' in the docstring.
7951 Add default character value ?R to display initially in
7952 Customization UI instead of ?@.
7953
7954 2012-10-27 Martin Rudalics <rudalics@gmx.at>
7955
7956 * window.el (display-buffer): In doc-string describe
7957 window-height and window-width alist entries.
7958
7959 * time.el (display-time-world): Restore fit-window-to-buffer
7960 behavior.
7961
7962 2012-10-27 Chong Yidong <cyd@gnu.org>
7963
7964 * subr.el (insert-buffer-substring-as-yank): Doc fix.
7965
7966 2012-10-26 Jambunathan K <kjambunathan@gmail.com>
7967
7968 * minibuffer.el (completion-category-overrides): New completion
7969 category `bookmark' (bug#11131).
7970
7971 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
7972
7973 * emacs-lisp/advice.el (ad-assemble-advised-definition):
7974 Silence bogus compiler warnings for ad-do-it.
7975
7976 * bookmark.el (bookmark-completing-read): Set the completion category
7977 to `bookmark' (bug#11131).
7978
7979 2012-10-26 Bastien <bzg@altern.org>
7980 Stefan Monnier <monnier@iro.umontreal.ca>
7981
7982 * face-remap.el: Use lexical-binding.
7983 (text-scale-adjust): Improve docstring. Use itself for the temporary
7984 overlay-map bindings, so as to repeat the "Use..." message each time.
7985
7986 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
7987
7988 * emacs-lisp/macroexp.el (macroexp--expand-all):
7989 Obey byte-compile-warning-enabled-p (bug#12486).
7990
7991 * vc/diff-mode.el (diff-end-of-hunk): Also skip potential "no LF at eol".
7992 (diff-refine-hunk): Similarly, handle the "no LF at eol" (bug#12584).
7993
7994 2012-10-26 Martin Rudalics <rudalics@gmx.at>
7995
7996 * mouse.el (mouse-drag-line): Move last form into preceding when
7997 clause (Bug#12731).
7998
7999 * help.el (resize-temp-buffer-window): Fix doc-string.
8000
8001 2012-10-25 David Engster <deng@randomsample.de>
8002
8003 * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
8004 Remove. This feature is already integrated in imenu.
8005
8006 * emacs-lisp/eieio-opt.el: Remove require for `button' since it is
8007 always loaded. Require `speedbar' unconditionally.
8008
8009 2012-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
8010
8011 * dired.el (dired-get-marked-files): Allow ! on . and .. (bug#12725).
8012
8013 * minibuffer.el (minibuffer-force-complete): Fix thinko.
8014
8015 * net/ldap.el (ldap-search-internal): The official ldif format starts
8016 with a "version: 1" header (bug#12724).
8017
8018 * emacs-lisp/package.el (package-installed-p): Warn if not ready
8019 (bug#12721).
8020
8021 2012-10-25 Glenn Morris <rgm@gnu.org>
8022
8023 * emacs-lisp/cl-macs.el (cl-progv): Doc fix.
8024
8025 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
8026
8027 * minibuffer.el (minibuffer-force-complete): Use one more marker
8028 for the temporary-overlay-map command (bug#12619).
8029
8030 2012-10-24 Chong Yidong <cyd@gnu.org>
8031
8032 * time.el (display-time-world-mode): Derive from special-mode.
8033 (display-time-world): Use display-buffer (Bug#12708).
8034 (display-time-world-mode-map): Variable deleted.
8035 (display-time-world-display): Wrap the final delete-char inside
8036 inhibit-read-only.
8037
8038 2012-10-24 Chong Yidong <cyd@gnu.org>
8039
8040 * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
8041 Doc fix.
8042
8043 * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
8044
8045 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
8046
8047 * minibuffer.el (completion--all-sorted-completions-location): New var.
8048 (completion--cache-all-sorted-completions)
8049 (completion--flush-all-sorted-completions): Use it.
8050 (completion-in-region, completion-in-region--postch)
8051 (completion-at-point, completion-help-at-point): Use markers in
8052 completion-in-region--data (bug#12619).
8053
8054 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
8055
8056 * progmodes/compile.el (compilation-start): Try to handle common
8057 quoting of `cd' argument (bug#12640).
8058
8059 * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
8060 (bug#12671).
8061
8062 2012-10-23 Glenn Morris <rgm@gnu.org>
8063
8064 * progmodes/gud.el (gud-menu-map):
8065 Check gdb-active-process is bound. (Bug#12358)
8066
8067 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
8068
8069 * repeat.el (repeat): Set real-this-command (bug#12232).
8070
8071 * htmlfontify.el (hfy-post-html-hook):
8072 * filesets.el (filesets-cache-fill-content-hook):
8073 * arc-mode.el (archive-extract-hook):
8074 * progmodes/cc-mode.el (c-prepare-bug-report-hook):
8075 * net/rcirc.el (rcirc-sentinel-functions)
8076 (rcirc-receive-message-functions, rcirc-activity-functions)
8077 (rcirc-print-functions):
8078 * net/dbus.el (dbus-event-error-functions):
8079 * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
8080 * emacs-lisp/checkdoc.el (checkdoc-style-functions)
8081 (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
8082 * term/sun.el (sun-raw-prefix-hooks):
8083 * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
8084
8085 2012-10-23 Michael Albinus <michael.albinus@gmx.de>
8086
8087 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
8088 Set `tramp-chunksize' to 1. This improves the performance.
8089 (tramp-smb-wait-for-output): Add timeout to
8090 `tramp-accept-process-output' calls.
8091
8092 2012-10-23 Chong Yidong <cyd@gnu.org>
8093
8094 * faces.el (font-list-limit): Define as an obsolete variable.
8095
8096 * startup.el (command-line):
8097 * cus-start.el: Don't refer to font-list-limit.
8098
8099 * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
8100
8101 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
8102
8103 * subr.el (internal-temp-output-buffer-show): Rename from
8104 temp-output-buffer-show, since previously compiled files expect this name.
8105
8106 2012-10-23 Glenn Morris <rgm@gnu.org>
8107
8108 * image.el (image-type-from-file-name): If multiple types match,
8109 return the first one that is supported. (Bug#9045)
8110
8111 2012-10-22 Glenn Morris <rgm@gnu.org>
8112
8113 * image.el (imagemagick-enabled-types): Doc fix.
8114
8115 2012-10-22 Takafumi Arakaki <aka.tkf@gmail.com> (tiny change)
8116
8117 * progmodes/which-func.el (which-func-current): The hash-table may have
8118 an explicit nil (bug#12338).
8119
8120 2012-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
8121
8122 * electric.el (electric-pair-delete-selection-self-insert-function):
8123 Rename to electric-pair-will-use-region, return a boolean.
8124 (electric-pair-mode): Adjust accordingly. Don't require delsel.
8125
8126 * delsel.el (delete-selection-helper): Use a function instead of a hook.
8127 (delete-selection-pre-hook): Use use-region-p.
8128 (delete-selection-self-insert-function): Remove.
8129 (self-insert-command): Obey self-insert-uses-region-functions.
8130 (self-insert-iso): Revert to previous setting, since we don't actually
8131 know what that command does.
8132 (delete-selection-self-insert-hooks): Remove.
8133
8134 2012-10-22 Simon Law <sfllaw@sfllaw.ca> (tiny change)
8135
8136 * delsel.el (delete-selection-helper): New function, extracted from
8137 delete-selection-pre-hook.
8138 (delete-selection-pre-hook): Use it.
8139 (delete-selection-self-insert-function): New function.
8140 (delete-selection-self-insert-hooks): New hook.
8141 (self-insert-command, self-insert-iso): Use it.
8142 * electric.el (electric-pair-syntax): New function, extracted from
8143 electric-pair-post-self-insert-function.
8144 (electric-pair-post-self-insert-function): Use it.
8145 (electric-pair-delete-selection-self-insert-function): New function.
8146 (electric-pair-mode): Require delsel and setup
8147 delete-selection-self-insert-hooks (bug#11520).
8148
8149 2012-10-20 Chong Yidong <cyd@gnu.org>
8150
8151 * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
8152 no changes to show (Bug#12586).
8153
8154 * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
8155 list explicitly (Bug#12571).
8156
8157 2012-10-20 Arne Jørgensen <arne@arnested.dk>
8158
8159 * progmodes/flymake.el (flymake-create-temp-inplace):
8160 Use file-truename.
8161
8162 2012-10-20 Eli Zaretskii <eliz@gnu.org>
8163
8164 * loadup.el: Update comment about uncompiled Lisp files. (Bug#12395)
8165
8166 2012-10-20 Jay Belanger <jay.p.belanger@gmail.com>
8167
8168 * calc/calc-units.el (math-extract-units): Properly extract powers
8169 of units.
8170
8171 2012-10-20 Daniel Colascione <dancol@dancol.org>
8172
8173 * frame.el (make-frame): Set x-display-name as we used to in order
8174 to unbreak creating an X11 frame from an Emacs daemon started
8175 without a display.
8176
8177 2012-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
8178
8179 * minibuffer.el (minibuffer-force-complete): Make the next completion use
8180 the same completion-field (bug#12221).
8181
8182 2012-10-19 Martin Rudalics <rudalics@gmx.at>
8183
8184 * emacs-lisp/debug.el (debug): Record height of debugger window
8185 also when debugger will be back (Bug#8789).
8186
8187 2012-10-18 Chong Yidong <cyd@gnu.org>
8188
8189 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
8190 Convert to defcustom.
8191 (gdb-get-source-file): Don't bind pop-up-windows.
8192
8193 * progmodes/gud.el (gud-display-line): Don't specially re-use
8194 other frames for the gdb-mi case (Bug#12648).
8195
8196 2012-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
8197
8198 * emacs-lisp/advice.el: Clean up commentary a bit.
8199 (ad-do-advised-functions, ad-with-originals): Use `declare'.
8200 (byte-code-function-p): Never redefine.
8201
8202 * emacs-lisp/gv.el (cond): Same fix as before for `if'.
8203
8204 2012-10-18 Glenn Morris <rgm@gnu.org>
8205
8206 * dired.el (dired-sort-toggle): Some ls implementations only allow
8207 a single option string. (Bug#12666)
8208
8209 * minibuffer.el (completion-cycle-threshold): Doc fix.
8210
8211 2012-10-17 Kenichi Handa <handa@gnu.org>
8212
8213 * international/mule.el (set-keyboard-coding-system):
8214 Recover input meta mode when the new coding system doesn not use 8-bit.
8215 Supply TERMINAL arg to set-input-meta-mode.
8216
8217 2012-10-17 Michael Heerdegen <michael_heerdegen@web.de>
8218
8219 * wdired.el (wdired-old-marks): New variable.
8220 (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
8221 (wdired-do-renames): Move point with renamed file and don't lose
8222 mark status (Bug#11795).
8223
8224 2012-10-16 Juri Linkov <juri@jurta.org>
8225
8226 * replace.el (query-replace-help): Mention multi-buffer replacement
8227 keys in the Help message. (Bug#12655)
8228
8229 2012-10-15 Chong Yidong <cyd@gnu.org>
8230
8231 * emacs-lisp/byte-run.el (defsubst): Doc fix.
8232
8233 2012-10-14 Eli Zaretskii <eliz@gnu.org>
8234
8235 * window.el (display-buffer): Doc fix.
8236
8237 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8238 Adjust the msft regexp to the output of Studio 2010, and move msft
8239 before edg-1. See the discussion on emacs-devel,
8240 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
8241 for the details.
8242
8243 2012-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
8244
8245 * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
8246 (oset): Move uses of object-class-fast macro after its definition.
8247
8248 * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
8249
8250 2012-10-13 Chong Yidong <cyd@gnu.org>
8251
8252 * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
8253 enabled, re-enable it (Bug#11963).
8254
8255 2012-10-13 Martin Rudalics <rudalics@gmx.at>
8256
8257 * emacs-lisp/debug.el (debug): When debugger-will-be-back is
8258 non-nil, restore window configuration (Bug#12623).
8259
8260 2012-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
8261
8262 * help-fns.el (describe-variable, describe-function-1):
8263 * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
8264
8265 * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
8266
8267 2012-10-12 Glenn Morris <rgm@gnu.org>
8268
8269 * mail/rmailsum.el (rmail-header-summary):
8270 Fix 2010-11-26 test for multiline Subject: field. (Bug#12625)
8271
8272 2012-10-12 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
8273
8274 * progmodes/python.el (python-mode-map):
8275 Replace subtitute-key-definition with proper command remapping.
8276 (python-nav--up-list): Fix behavior for blocks on the same level.
8277
8278 2012-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
8279
8280 * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
8281
8282 * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
8283 changes to the format of load-history.
8284
8285 * international/mule-cmds.el (read-char-by-name): Move let-binding of
8286 completion-ignore-case in case that var is buffer-local (bug#12615).
8287
8288 2012-10-11 Kenichi Handa <handa@gnu.org>
8289
8290 * international/eucjp-ms.el: Re-generated.
8291
8292 2012-10-10 Kenichi Handa <handa@gnu.org>
8293
8294 * select.el (xselect--encode-string): If a coding is specified for
8295 selection, and that is compatible with COMPOUND_TEXT, use it.
8296
8297 2012-10-10 Martin Rudalics <rudalics@gmx.at>
8298
8299 * window.el (switch-to-buffer-preserve-window-point): New option.
8300 (switch-to-buffer):
8301 Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
8302
8303 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
8304
8305 * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
8306 Don't document nil as a useful value (bug#12583).
8307
8308 2012-10-09 Michael Albinus <michael.albinus@gmx.de>
8309
8310 * net/tramp.el (tramp-debug-message):
8311 Remove "tramp-with-progress-reporter" from regexp of ignored functions.
8312 (with-tramp-progress-reporter): Rename from
8313 `tramp-with-progress-reporter'.
8314 (with-tramp-file-property, with-tramp-connection-property):
8315 Move from tramp-cache.el, rename from `with-file-property' and
8316 `with-connection-property', respectively.
8317
8318 * net/tramp-cache.el: Remove `with-file-property' and
8319 `with-connection-property'.
8320
8321 * net/tramp.el:
8322 * net/tramp-gvfs.el:
8323 * net/tramp-sh.el:
8324 * net/tramp-smb.el: Adapt callees.
8325
8326 * net/trampver.el: Update release number.
8327
8328 2012-10-09 Glenn Morris <rgm@gnu.org>
8329
8330 * w32-fns.el (set-message-beep):
8331 * term/w32-win.el (set-message-beep): Update declarations.
8332
8333 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
8334
8335 * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
8336 (mode-line-widen, mode-line-input-method-map)
8337 (mode-line-coding-system-map, mode-line-remote)
8338 (mode-line-unbury-buffer, mode-line-bury-buffer)
8339 (mode-line-next-buffer, mode-line-previous-buffer):
8340 Replace save-selected-window+select-window => with-selected-window.
8341
8342 * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
8343 * progmodes/cc-vars.el (bq-process): Remove, unused.
8344
8345 * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
8346
8347 2012-10-09 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
8348
8349 Implemented `backward-up-list'-like navigation.
8350 * progmodes/python.el (python-nav-up-list)
8351 (python-nav-backward-up-list): New functions.
8352 (python-mode-map): Define substitute key for backward-up-list to
8353 python-nav-backward-up-list.
8354
8355 2012-10-08 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
8356
8357 * progmodes/python.el (python-fill-paragraph): Rename from
8358 python-fill-paragraph-function. Fixed fill-paragraph for
8359 decorators (Bug#12605).
8360
8361 2012-10-08 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
8362
8363 * progmodes/python.el (python-shell-output-filter): Handle extra
8364 carriage return in OSX (Bug#12409).
8365
8366 2012-10-08 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
8367
8368 Fix shell handling of unbalanced quotes and parens in output.
8369 * progmodes/python.el (python-rx-constituents): Add string-delimiter.
8370 (python-syntax-propertize-function): Use it.
8371 (python-shell-output-syntax-table): New var.
8372 (inferior-python-mode): Prevent unbalanced parens/quotes from
8373 previous output mess with current input context.
8374
8375 2012-10-08 Juanma Barranquero <lekktu@gmail.com>
8376
8377 * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
8378 Make obsolete aliases of js-mode and js-mode-hook (from js.el).
8379
8380 2012-10-08 Michael Albinus <michael.albinus@gmx.de>
8381
8382 * ffap.el (ffap-replace-file-component): Support Tramp file name
8383 syntax, not only ange-ftp's one.
8384
8385 2012-10-08 Glenn Morris <rgm@gnu.org>
8386
8387 * cus-start.el (message-log-max): Set :version.
8388
8389 * calendar/calendar.el (calendar-intermonth-header): Doc fix.
8390
8391 2012-10-08 Martin Rudalics <rudalics@gmx.at>
8392
8393 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
8394 the minibuffer window (Bug#10851).
8395
8396 2012-10-08 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
8397
8398 Enhancements on forward-sexp movement.
8399 * progmodes/python.el (python-nav-beginning-of-statement)
8400 (python-nav-end-of-statement): Return point-marker.
8401 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
8402 (python-info-current-symbol)
8403 (python-info-statement-starts-block-p): Rename from
8404 python-info-beginning-of-block-p.
8405 (python-info-statement-ends-block-p): Rename from
8406 python-info-end-of-block-p.
8407 (python-info-beginning-of-statement-p)
8408 (python-info-end-of-statement-p)
8409 (python-info-beginning-of-block-p, python-info-end-of-block-p):
8410 New functions.
8411
8412 2012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
8413
8414 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
8415 frame-selected-windows.
8416
8417 2012-10-08 Daniel Colascione <dancol@dancol.org>
8418
8419 * battery.el (battery-status-function): Check for
8420 w32-battery-status itself, not system-time windows-nt.
8421
8422 * frame.el: Require cl-lib.
8423 (display-format-alist): New variable mapping frame types to
8424 functions that initialize them.
8425 (window-system-for-display): New function: interprets
8426 display-format-alist.
8427 (make-frame-on-display): Remove existing display-selection logic
8428 and just forward to make-frame, which will now DTRT.
8429 (make-frame): Restructure to use window-system-for-display to
8430 figure out how to create a frame on a given display.
8431 (display-mouse-p): Look for frame-type w32, not a particular
8432 system-type.
8433
8434 * loadup.el: Load w32 lisp code when we have the w32 feature.
8435
8436 * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
8437 system-type windows-nt.
8438
8439 * server.el (server-create-window-system-frame): Look for window
8440 type.
8441 (server-proces-filter): Only force a window system when windows-nt
8442 _and_ w32. Explain why.
8443
8444 * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
8445 of window systems we configure for the mode.
8446
8447 * startup.el (command-line): Mark window system is initialized
8448 after we've done it.
8449
8450 * common-win.el (x-select-text): Look for w32, not windows-nt.
8451
8452 * ns-win.el: Require cl-lib. Add ourselves to
8453 display-format-alist.
8454 (ns-initialize-window-system): Assert we're not initialized twice.
8455
8456 * w32-win.el: Enable lexical binding; require cl-lib; add
8457 ourselves to display-format-alist.
8458 (w32-handle-dropped-file): Convert incoming dropped files from
8459 Windows paths to Cygwin ones before passing them on to the rest of
8460 Emacs.
8461 (w32-drag-n-drop): New paramter new-frame. Simplify logic.
8462 (w32-initialize-window-system): Assert we're not initialized twice.
8463
8464 * x-win.el: Require cl-lib; add ourselves to display-format-alist.
8465 (x-initialize-window-system): Assert we're not initialized twice.
8466
8467 * w32-common-fns.el: New File.
8468 (w32-version, w32-using-nt, w32-get-clipboard-data)
8469 (w32-set-clipboard-data, x-set-selection, x-get-selection)
8470 (w32-charset-info-alist, x-last-selected, text)
8471 (x-get-selection-value, x-selection-value): Move here.
8472
8473 * w32-fns.el: Require w32-common-fns.
8474 (w32-version, w32-using-nt, w32-get-clipboard-data)
8475 (w32-set-clipboard-data, x-set-selection, x-get-selection)
8476 (w32-charset-info-alist, x-last-selected, text)
8477 (x-get-selection-value, x-selection-value): Move to
8478 w32-common-fns.
8479
8480 * w32-vars.el:
8481 (w32-allow-system-shell, w32-system-shells): Define only in
8482 non-cygwin case.
8483
8484 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
8485
8486 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
8487 (read-passwd): Remove a few more potential sources of leaks.
8488
8489 2012-10-07 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
8490
8491 * progmodes/python.el (inferior-python-mode)
8492 (python-shell-make-comint): Fix initialization of local
8493 variables copied from parent buffer.
8494
8495 2012-10-07 Jan Djärv <jan.h.d@swipnet.se>
8496
8497 * term/ns-win.el (ns-read-file-name): Update declaration to match
8498 nsfns.m.
8499 (ns-respond-to-change-font): Change fontsize separately so we are sure
8500 it is set when font is acted upon.
8501
8502 2012-10-07 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
8503
8504 Enhancements to indentation.
8505 * progmodes/python.el (python-indent-context): Give priority to
8506 inside-string context. Make comments indentation markers.
8507 (python-indent-region): Do not mess with strings, unless it's the
8508 enclosing set of quotes.
8509
8510 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
8511
8512 * window.el (internal--before-save-selected-window)
8513 (internal--after-save-selected-window): New functions extracted from
8514 save-selected-window. Make sure we return the `alist' we construct.
8515 (save-selected-window): Use them.
8516
8517 * textmodes/tex-mode.el (tex-recenter-output-buffer):
8518 Use with-selected-window.
8519
8520 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
8521 forms that define macros (bug#12593).
8522
8523 2012-10-07 Kenichi Handa <handa@gnu.org>
8524
8525 * international/mule-conf.el (compound-text-with-extensions):
8526 Add :mime-charset property as x-ctext.
8527
8528 2012-10-07 Stefan Merten <smerten@oekonux.de>
8529
8530 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
8531 (rst-indent-literal-normal, rst-indent-literal-minimized)
8532 (rst-indent-comment): Correct :version tag.
8533 (rst-official-cvs-rev): Correct version string.
8534
8535 2012-10-07 Glenn Morris <rgm@gnu.org>
8536
8537 * mail/rmailmm.el (rmail-mime-process-multipart):
8538 Do not confuse a multipart message with an epilogue
8539 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
8540
8541 2012-10-07 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
8542
8543 Fix shell output retrieval and comint-prompt-regexp init.
8544 * progmodes/python.el (inferior-python-mode):
8545 (python-shell-make-comint): Fix initialization of
8546 comint-prompt-regexp from copied file local variables.
8547 (python-shell-fetched-lines): Remove var.
8548 (python-shell-output-filter-in-progress): Rename from
8549 python-shell-fetch-lines-in-progress.
8550 (python-shell-output-filter-buffer): Rename from
8551 python-shell-fetch-lines-string.
8552 (python-shell-fetch-lines-filter): Delete function.
8553 (python-shell-output-filter): New function.
8554 (python-shell-send-string-no-output): Use them.
8555
8556 2012-10-07 Glenn Morris <rgm@gnu.org>
8557
8558 * hi-lock.el (hi-lock-process-phrase):
8559 Try to make it less fragile. (Bug#7161)
8560
8561 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
8562
8563 2012-10-06 Glenn Morris <rgm@gnu.org>
8564
8565 * ehelp.el (electric-help-mode): Use help-mode rather than
8566 non-existent mode `help'.
8567 (electric-help-map): Use button-buffer-map. (Bug#10917)
8568
8569 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
8570 (reftex-create-bibtex-footer): Fix custom types.
8571
8572 * progmodes/sh-script.el (sh-indent-after-continuation):
8573 Add explicit :group.
8574
8575 * textmodes/rst.el (rst-preferred-decorations)
8576 (rst-shift-basic-offset): Clarify obsolescence versions.
8577
8578 * profiler.el (profiler): Add missing group :version tag.
8579 * avoid.el (mouse-avoidance-banish-position):
8580 * proced.el (proced-renice-command):
8581 * calc/calc.el (calc-ensure-consistent-units):
8582 * calendar/icalendar.el (icalendar-import-format-uid):
8583 * net/tramp.el (tramp-save-ad-hoc-proxies):
8584 * progmodes/bug-reference.el (bug-reference-bug-regexp):
8585 * progmodes/flymake.el (flymake-error-bitmap)
8586 (flymake-warning-bitmap, flymake-fringe-indicator-position):
8587 * progmodes/sh-script.el (sh-indent-after-continuation):
8588 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
8589 (verilog-before-save-font-hook, verilog-after-save-font-hook):
8590 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
8591 (vhdl-array-index-record-field-in-sensitivity-list)
8592 (vhdl-indent-comment-like-next-code-line):
8593 * textmodes/reftex-vars.el (reftex-ref-style-alist)
8594 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
8595 (reftex-cite-key-separator, reftex-create-bibtex-header)
8596 (reftex-create-bibtex-footer):
8597 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
8598 (rst-indent-literal-normal, rst-indent-literal-minimized)
8599 (rst-indent-comment): Add missing custom :version tags.
8600
8601 * calendar/timeclock.el (timeclock-modeline-display):
8602 Add missing obsolete alias for renamed user option.
8603
8604 * strokes.el (strokes-modeline-string):
8605 * emulation/crisp.el (crisp-mode-modeline-string):
8606 * eshell/esh-mode.el (eshell-status-in-modeline):
8607 Aliases to defcustoms must come before the defcustom.
8608
8609 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
8610 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
8611 (cal-tex-cursor-week-monday): Doc fixes.
8612 (cal-tex-cursor-week2-summary): Doc fix.
8613 Rename from cal-tex-cursor-week-at-a-glance.
8614
8615 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
8616 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
8617
8618 * calendar/calendar.el (calendar-mode-map):
8619 Add cal-tex-cursor-week2-summary.
8620
8621 2012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
8622
8623 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
8624
8625 * subr.el (read-passwd-map): New var.
8626 (read-passwd): Use `read-string' again.
8627 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
8628
8629 2012-10-06 Jambunathan K <kjambunathan@gmail.com>
8630
8631 * register.el (append-to-register, prepend-to-register):
8632 Deactivate mark, as does `copy-to-register' (bug#12389).
8633
8634 2012-10-06 Chong Yidong <cyd@gnu.org>
8635
8636 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
8637
8638 2012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
8639
8640 * international/characters.el: Fix simple mistake ((car chars) ->
8641 elt), delete duplicated code.
8642
8643 2012-10-06 Glenn Morris <rgm@gnu.org>
8644
8645 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
8646
8647 2012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
8648
8649 * color.el (color-hsl-to-rgb): Fix incorrect results for
8650 small and large hue values. (Bug#12559)
8651
8652 2012-10-05 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
8653
8654 Enhancements to docstring formatting when filling paragraphs.
8655 * progmodes/python.el (python-fill-docstring-style): Rename from
8656 python-fill-string-style. Added new style.
8657 (python-fill-string): Use new style. Better checks for
8658 docstrings.
8659
8660 2012-10-05 Glenn Morris <rgm@gnu.org>
8661
8662 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
8663
8664 * color.el (color-name-to-rgb, color-rgb-to-hex)
8665 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
8666 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
8667 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
8668 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
8669
8670 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
8671
8672 2012-10-05 Juanma Barranquero <lekktu@gmail.com>
8673
8674 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
8675 to get the correct size across symlinks.
8676
8677 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
8678
8679 2012-10-04 Juri Linkov <juri@jurta.org>
8680
8681 * replace.el (query-replace-interactive): Declare obsolete.
8682 (query-replace-read-from): Add the last incremental search string
8683 to the list of default values accessible via M-n.
8684 (map-query-replace-regexp): Use `read-regexp'.
8685 (query-replace, query-replace-regexp, query-replace-regexp-eval)
8686 (map-query-replace-regexp, replace-string, replace-regexp):
8687 Fix docstrings to replace mentions of `query-replace-interactive'
8688 with alternatives. (Bug#12526)
8689
8690 2012-10-04 Juri Linkov <juri@jurta.org>
8691
8692 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
8693 (dired-pop-to-buffer): Declare obsolete.
8694 (dired-mark-pop-up): Doc fix.
8695
8696 2012-10-04 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
8697
8698 Allow user to set docstring style for fill-paragraph.
8699 * progmodes/python.el
8700 (python-fill-comment-function, python-fill-string-function)
8701 (python-fill-decorator-function, python-fill-paren-function):
8702 Remove :safe for defcustoms.
8703 (python-fill-string-style): New defcustom
8704 (python-fill-paragraph-function): Enhance context detection.
8705 (python-fill-string): Honor python-fill-string-style settings.
8706
8707 2012-10-04 Martin Rudalics <rudalics@gmx.at>
8708
8709 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
8710 after setting its buffer (Bug#10805).
8711
8712 2012-10-03 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
8713
8714 Fix cornercase for string syntax.
8715 * progmodes/python.el (python-syntax-propertize-function):
8716 Simplify and enhance the regexp for unescaped quotes. Now it also
8717 matches quotes in weird situations like the single quote in
8718 "something\"'".
8719 (python-syntax-stringify): Simplify num-quotes detecting code.
8720
8721 2012-10-03 Glenn Morris <rgm@gnu.org>
8722
8723 * help-macro.el (three-step-help):
8724 Revert 2012-09-29 change. (Bug#12567)
8725
8726 2012-10-03 Martin Rudalics <rudalics@gmx.at>
8727
8728 * menu-bar.el (kill-this-buffer): Don't do anything when
8729 `menu-frame' is not alive or visible (Bug#8184).
8730
8731 * emacs-lisp/debug.el (debug): When quitting the debugger window
8732 restore current buffer (Bug#12502).
8733
8734 2012-10-02 Chong Yidong <cyd@gnu.org>
8735
8736 * progmodes/hideif.el (hif-lookup, hif-defined):
8737 Handle semantic-c-takeover-hideif.
8738
8739 2012-10-02 Paul Eggert <eggert@cs.ucla.edu>
8740
8741 Change sampling interval units from ms to ns.
8742 * profiler.el (profiler-sampling-interval): Change units
8743 from ms to ns, multiplying the default by 1000000 so that
8744 it remains 1 ms.
8745 (profiler-report-cpu-line-format): Give enough room for
8746 the maximum counters on 64-bit hosts.
8747 (profiler-report-render-calltree-1): Call them "CPU samples",
8748 not "Time (ms)", since they are not milliseconds now (and
8749 never really were).
8750
8751 2012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
8752
8753 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
8754 Fix querying BBDB for entries without a last name (Bug#11580).
8755
8756 2012-10-02 Chong Yidong <cyd@gnu.org>
8757
8758 * emacs-lisp/eieio.el: Restore Version header.
8759
8760 2012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
8761
8762 * vc/diff-mode.el (diff--auto-refine-data): New var.
8763 (diff-hunk): Use it to delay refinement.
8764 (diff-mode): Remove overlays when we turn off font-lock.
8765
8766 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
8767 (table-initialize-table-fixed-width-mode)
8768 (table-set-table-fixed-width-mode): Remove functions.
8769 (table-command-list): Move initialization into declaration.
8770 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
8771 (table-with-cache-buffer): Use `declare'.
8772 (table-span-cell): Simplify via CSE.
8773 (table-fixed-width-mode): Use define-minor-mode.
8774 (table-call-interactively, table-funcall, table-apply): Remove.
8775 (table-function): New function, to replace them.
8776
8777 * bookmark.el (bookmark-search-pattern): Remove var.
8778 (bookmark-read-search-input): Remove function.
8779 (bookmark-bmenu-search): Reimplement using a minibuffer.
8780
8781 * faces.el (modeline): Remove obsolete face name.
8782
8783 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
8784 and give a non-nil default value.
8785 (add-change-log-entry): Simplify accordingly.
8786
8787 2012-10-01 Dmitry Gutov <dgutov@yandex.ru>
8788
8789 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
8790 (vc-git-log-edit-toggle-amend): New function.
8791 (vc-git-log-edit-toggle-signoff): New function.
8792 (vc-git-log-edit-mode): New major mode.
8793 (vc-git-log-edit-mode-map): Keymap for it.
8794 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
8795
8796 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
8797 header names.
8798 (log-edit-toggle-header): New function.
8799 (log-edit-extract-headers): Accept function values in HEADERS alist.
8800
8801 2012-10-01 David Engster <deng@randomsample.de>
8802
8803 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
8804 from symbol property and change message to be more consistent with
8805 Emacs proper.
8806 (eieio-describe-generic): Add filename for each implementation.
8807 Fix indices for generic and normal methods.
8808 (eieio-method-def, eieio-class-def): New buttons.
8809 (eieio-help-find-method-definition)
8810 (eieio-help-find-class-definition): New functions.
8811 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
8812 class, constructor and method definitions.
8813
8814 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
8815 information in symbol property.
8816 (scoped-class): Remove.
8817 (eieio-slot-name-index, call-next-method): Check if it is bound.
8818
8819 2012-10-01 Leo P. White <lpw25@cam.ac.uk>
8820
8821 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
8822 (eieio-custom-mode): New major mode.
8823 (eieio-customize-object): Use it.
8824
8825 2012-10-01 Eric Ludlam <zappo@gnu.org>
8826
8827 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
8828 specifying the expected class, and whether subclassing is allowed.
8829 (eieio-persistent-convert-list-to-object):
8830 (eieio-persistent-validate/fix-slot-value)
8831 (eieio-persistent-slot-type-is-class-p): New functions.
8832 (eieio-named::slot-missing): Doc fix.
8833
8834 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
8835 Stop using unused publd variable.
8836
8837 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
8838 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
8839 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
8840 (eieio-speedbar-handle-click): Do not specify a class for the
8841 method. Fixes method invocation order problems with EDE.
8842
8843 2012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
8844
8845 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
8846 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
8847
8848 2012-10-01 Karl Fogel <kfogel@red-bean.com>
8849
8850 * bookmark.el (bookmark-version-control): Give tags in the
8851 :type choices (Bug#12309), and improve doc string.
8852 (bookmark-write-file): Bind `print-circle' to `t' to allow
8853 circular custom bookmark types. (Bug#12503)
8854
8855 2012-10-01 Paul Eggert <eggert@cs.ucla.edu>
8856
8857 Revert the FOLLOW-SYMLINKS change for file-attributes.
8858 * files.el (remote-file-name-inhibit-cache, after-find-file):
8859 * time.el (display-time-file-nonempty-p): Undo last change.
8860
8861 * profiler.el (profiler-sampling-interval): Change default back to 1.
8862 See Stefan Monnier in
8863 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
8864
8865 2012-10-01 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
8866
8867 Shell output catching a la gud-gdb.
8868 * progmodes/python.el (python-shell-fetch-lines-in-progress)
8869 (python-shell-fetch-lines-string, python-shell-fetched-lines):
8870 New Vars.
8871 (python-shell-fetch-lines-filter): New function.
8872 (python-shell-send-string-no-output): Use them.
8873
8874 2012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
8875
8876 * profiler.el (profiler-sampling-interval): Rename from
8877 profiler-sample-interval.
8878 (profiler-sampling-interval): Default to 10.
8879 (profiler-find-profile): New command (was profiler-find-log).
8880 (profiler-find-profile-other-window): New command.
8881 (profiler-find-profile-other-frame): New command.
8882 (profiler-profile): Introduce API-level data structure.
8883
8884 2012-09-30 Paul Eggert <eggert@cs.ucla.edu>
8885
8886 file-attributes has a new optional arg FOLLOW-SYMLINKS.
8887 * files.el (remote-file-name-inhibit-cache):
8888 * time.el (display-time-file-nonempty-p): Use it.
8889 * files.el (after-find-file): Don't chase links before calling
8890 file-exists-p, as file-exists-p already does the right thing.
8891
8892 2012-09-30 Ralf Angeli <angeli@caeruleus.net>
8893
8894 Merge from standalone RefTeX repository.
8895
8896 The following ChangeLog entries are shortened versions of the
8897 original ones with file paths adapted. A not so strongly edited
8898 version of the original ChangeLog can be found in the commit log.
8899
8900 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
8901 (reftex-arg-cite): Use `reftex-cite-key-separator'.
8902 Correctly handle new value type returned by `reftex-citation'.
8903
8904 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
8905 that entries with whitespace at various places are found.
8906 Doc fix. Include entries that are cross-referenced from cited entries.
8907 Include @String definitions in the resulting bib file. Add header
8908 and footer defined in `reftex-create-bibtex-header' and
8909 `reftex-create-bibtex-footer'.
8910 (reftex-do-citation): Make it possible again to insert
8911 non-existent entries. Save match data when asking for optional
8912 arguments. Return all keys, not just the first one.
8913 (reftex-all-used-citation-keys): Fix regexp to correctly extract
8914 all citations in the same line.
8915 (reftex-parse-bibtex-entry): Accept additional optional argument
8916 `raw' and keep quotes or braces if it is non-nil. Match fields
8917 containing hyphens besides word constituents.
8918 (reftex-get-string-refs): New function.
8919 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
8920 and ask if it should be reread in case it did.
8921 (reftex-pop-to-bibtex-entry)
8922 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
8923 entries with spaces or tabs in front of arguments.
8924 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
8925 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
8926 Match entries containing numbers and symbol constituents.
8927 (reftex-do-citation, reftex-figure-out-cite-format):
8928 Use `reftex-cite-key-separator'.
8929
8930 * textmodes/reftex-dcr.el: Move provide statement to end of file.
8931 (reftex-mouse-view-crossref): Explain why point is set.
8932
8933 * textmodes/reftex-global.el: Whitespace changes.
8934
8935 * textmodes/reftex-index.el: Move provide statement to end of
8936 file.
8937 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
8938 (reftex-index-visit-phrases-buffer): Set marker when visiting
8939 buffer. This allows for returning from the phrases file to the
8940 file one was just editing instead of the file where the last
8941 phrases was added from.
8942 (reftex-index-phrases-syntax-table): New variable. Give ?\"
8943 punctuation syntax as it usually is not used as string quote in
8944 TeX-related modes and may occur unmatched. The change also
8945 prevents fontification of quoted content.
8946 (reftex-index-phrases-mode): Use it.
8947
8948 * textmodes/reftex-parse.el (reftex-parse-from-file):
8949 Move backward one char if a `\' was matched after a section macro.
8950 (reftex-parse-from-file): Use beginning of match instead of end as
8951 bound.
8952
8953 * textmodes/reftex-ref.el: Adapt creation of
8954 `reftex-<package>-<macro>' functions to new structure of
8955 `reftex-ref-style-alist'.
8956 (reftex-reference): Use `reftex-ref-style-list' function.
8957 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
8958 reference macro if `reftex-ref-macro-prompt' is non-nil.
8959 (reftex-reference): Pass refstyle to `reftex-format-special'.
8960 Determine reference macro by looking at
8961 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
8962 Use only one special format function.
8963 (reftex-varioref-vref, reftex-fancyref-fref)
8964 (reftex-fancyref-Fref): Remove definitions. The functions are now
8965 generated from `reftex-ref-style-alist'.
8966 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
8967 Remove.
8968 (reftex-format-special): New function.
8969
8970 * textmodes/reftex-sel.el
8971 (reftex-select-cycle-ref-style-internal): Adapt to new structure
8972 of `reftex-ref-style-alist'. Remove code for testing macro type.
8973 (reftex-select-toggle-varioref)
8974 (reftex-select-toggle-fancyref): Remove.
8975 (reftex-select-cycle-ref-style-internal)
8976 (reftex-select-cycle-ref-style-forward)
8977 (reftex-select-cycle-ref-style-backward): New functions.
8978 (reftex-select-label-map): Use `v' and `V' for general cycling
8979 through reference styles. Add `p' for switching between number
8980 and page reference types.
8981
8982 * textmodes/reftex-toc.el (reftex-re-enlarge):
8983 Call `enlarge-window' only if there is something to do because in Emacs
8984 the horizontal version throws an error even if the parameter is 0.
8985
8986 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
8987 (reftex-plug-into-AUCTeX): Doc fix.
8988 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
8989 string. Adapt to new name.
8990 (reftex-ref-style-alist): Change structure so that it is not
8991 possible to use multiple different package names within a style.
8992 Remove the symbols for symbols for macro type distinction.
8993 Add characters for macro selection.
8994 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
8995 (reftex-create-bibtex-footer): New variables.
8996 (reftex-format-ref-function): Mention third argument of special
8997 format function.
8998 (reftex-ref-style-alist, reftex-ref-style-default-list):
8999 New variables.
9000 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
9001 to new implementation. Mark as obsolete. Add compatibility code
9002 for honoring the variable values in case they are set.
9003 (reftex-cite-format-builtin, reftex-bibliography-commands):
9004 Add support for ConTeXt.
9005 (reftex-format-ref-function, reftex-format-cite-function):
9006 Fix custom type.
9007 (reftex-cite-key-separator): New variable.
9008
9009 * textmodes/reftex.el (reftex-syntax-table-for-bib)
9010 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
9011 `reftex-syntax-table' because parens have to retain their paren
9012 syntax in order for parsing of BibTeX entries like @book(...) to
9013 work.
9014 (reftex-in-comment): Do not error out if `comment-start-skip' is
9015 not set. Deal correctly with escaped comment characters.
9016 (reftex-tie-multifile-symbols): Add doc string.
9017 Initialize `reftex-ref-style-list'.
9018 (reftex-untie-multifile-symbols): Add doc string.
9019 (reftex-add-index-macros): Doc fix.
9020 (reftex-ref-style-activate, reftex-ref-style-toggle)
9021 (reftex-ref-style-list): New functions.
9022 (reftex-mode-menu): Use them. Adapt to new structure of
9023 `reftex-ref-style-alist'.
9024 (reftex-select-with-char): Kill the RefTeX Select buffer when
9025 done.
9026 (reftex-remove-if): New function.
9027 (reftex-erase-all-selection-and-index-buffers)
9028 (reftex-mode-menu): Reference styles are now computed from
9029 `reftex-ref-style-alist'. Fix typo.
9030 (reftex-report-bug): New function.
9031 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
9032 algorithms with O(n log n). Introduce optional argument SORT (not
9033 yet used).
9034
9035 2012-09-30 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
9036
9037 Enhancements for triple-quote string syntax.
9038 * progmodes/python.el (python-syntax-propertize-function):
9039 Match both quote cases in one regexp.
9040 (python-syntax-stringify): Handle matches properly.
9041
9042 2012-09-30 Juri Linkov <juri@jurta.org>
9043
9044 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
9045 to nil around the call to `insert' to prevent
9046 directory time modification by lock_file. (Bug#2295)
9047 * tar-mode.el (tar-summarize-buffer): Idem.
9048
9049 2012-09-30 Juri Linkov <juri@jurta.org>
9050
9051 * facemenu.el (list-colors-sort): Add option "Luminance".
9052 (list-colors-sort-key): Implement it.
9053
9054 * vc/diff-mode.el (diff-refine-removed):
9055 * vc/ediff-init.el (ediff-fine-diff-A):
9056 * vc/smerge-mode.el (smerge-refined-removed):
9057 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
9058
9059 2012-09-30 Jan Djärv <jan.h.d@swipnet.se>
9060
9061 * term/ns-win.el (x-file-dialog): New function.
9062
9063 2012-09-30 Juanma Barranquero <lekktu@gmail.com>
9064
9065 * ido.el (ido-max-directory-size): Default to nil; the current
9066 default is small for POSIX systems, and impractical on Windows 7
9067 now that lstat returns directory sizes for NTFS.
9068
9069 2012-09-30 Martin Rudalics <rudalics@gmx.at>
9070
9071 In buffer display functions handle window-height/window-width
9072 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
9073 * window.el (window--display-buffer): New argument ALIST.
9074 Obey window-height and window-width alist entries.
9075 (window--try-to-split-window): New argument ALIST.
9076 Bind window-combination-limit to t when the window's size shall be
9077 changed and window-combination-limit equals `window-size'.
9078 (display-buffer-in-atom-window)
9079 (display-buffer-in-major-side-window)
9080 (display-buffer-in-side-window, display-buffer-same-window)
9081 (display-buffer-reuse-window, display-buffer-pop-up-frame)
9082 (display-buffer-pop-up-window, display-buffer-below-selected)
9083 (display-buffer-at-bottom, display-buffer-in-previous-window)
9084 (display-buffer-use-some-window): Adjust all callers of
9085 window--display-buffer and window--try-to-split-window.
9086 (fit-frame-to-buffer): New option.
9087 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
9088 is non-nil.
9089 (display-buffer-in-major-side-window): Evaluate window-height /
9090 window-width alist entries.
9091
9092 * help.el (temp-buffer-resize-frames)
9093 (temp-buffer-resize-regexps): Remove options.
9094 (temp-buffer-resize-mode): Adjust doc-string.
9095 (resize-temp-buffer-window): Don't consult
9096 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
9097 temp-buffer-resize-frames.
9098
9099 * dired.el (dired-mark-pop-up):
9100 Call display-buffer-below-selected with a fit-window-to-buffer alist
9101 entry.
9102
9103 2012-09-30 Chong Yidong <cyd@gnu.org>
9104
9105 * server.el (server-host): Document the security implications.
9106 (server-auth-key): Doc fix.
9107
9108 * startup.el (initial-buffer-choice): Doc fix.
9109
9110 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
9111
9112 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
9113 restriction change.
9114
9115 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
9116
9117 * help-fns.el (help-fns--obsolete): Fix last change.
9118
9119 2012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
9120
9121 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
9122 (minor-mode-map-alist): Remove redundant code.
9123
9124 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
9125 visited in a buffer.
9126 (cvs-insert-visited-file): New function.
9127 (find-file-hook): Use it.
9128
9129 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
9130
9131 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
9132 chose face.
9133 (log-edit-empty-buffer-p): Don't require a space after a header.
9134
9135 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
9136
9137 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
9138
9139 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
9140 a proper minor-mode.
9141
9142 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
9143
9144 2012-09-29 Glenn Morris <rgm@gnu.org>
9145
9146 * winner.el (winner-mode): Remove variable (let define-minor-mode
9147 handle it).
9148 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
9149 Doc fixes.
9150 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
9151 (winner-mode): Use define-minor-mode.
9152
9153 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
9154 the full definition in loaddefs, rather than duplicating it.
9155
9156 * help-macro.el (three-step-help): No need to autoload defcustom.
9157
9158 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
9159 (inferior-lisp-program, inferior-lisp-load-command)
9160 (inferior-lisp-prompt, inferior-lisp-mode-hook):
9161 No need to autoload defcustoms.
9162
9163 * hippie-exp.el (hippie-expand-try-functions-list)
9164 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
9165 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
9166 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
9167 (hippie-expand-only-buffers): No need to autoload defcustoms.
9168 * progmodes/vhdl-mode.el (vhdl-line-expand):
9169 Explicitly load hippie-exp, so it does not get autoloaded
9170 while hippie-expand-try-functions-list is let-bound.
9171
9172 2012-09-28 Glenn Morris <rgm@gnu.org>
9173
9174 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
9175
9176 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
9177 Only "cl.el" counts as cl these days.
9178
9179 2012-09-28 Juri Linkov <juri@jurta.org>
9180
9181 Display archive errors in the echo area instead of inserting
9182 to the file buffer.
9183
9184 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
9185 to STDERR-TEST that can be a regexp matching a successful output.
9186 Create a temporary file and redirect stderr to it. Search for
9187 STDERR-TEST in the stderr output and display it in the echo area
9188 if no match is found.
9189 (archive-extract-by-file): New function like
9190 `archive-extract-by-stdout' but extracting archives to files
9191 and looking for successful matches in stdout. Function body is
9192 mostly copied from `archive-rar-extract'.
9193 (archive-rar-extract): Use `archive-extract-by-file'.
9194 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
9195
9196 2012-09-28 Leo Liu <sdl.web@gmail.com>
9197
9198 * pcomplete.el (pcomplete-show-completions):
9199 Use minibuffer-message to make pcomplete usable in minibuffer.
9200
9201 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
9202
9203 2012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
9204
9205 * type-break.el: Use lexical-binding.
9206 (type-break-mode): Use define-minor-mode.
9207
9208 * emacs-lisp/pcase.el (pcase--mark-used): New.
9209 (pcase--u1): Use it (bug#12512).
9210
9211 * custom.el (load-theme): Set buffer-file-name so the load is recorded
9212 in load-history with the right file name.
9213
9214 2012-09-28 Tassilo Horn <tsdh@gnu.org>
9215
9216 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
9217 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
9218 (doc-view-get-bounding-box): Make bounding box slicing work for
9219 ODF and DVI documents.
9220
9221 2012-09-28 Glenn Morris <rgm@gnu.org>
9222
9223 * type-break.el (type-break-mode, type-break-interval)
9224 (type-break-good-rest-interval, type-break-keystroke-threshold):
9225 No need to autoload.
9226 (type-break-good-rest-interval, type-break-keystroke-threshold):
9227 Add :set-after.
9228
9229 2012-09-28 Chong Yidong <cyd@gnu.org>
9230
9231 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
9232 Add :version tag.
9233
9234 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
9235
9236 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
9237
9238 2012-09-27 Glenn Morris <rgm@gnu.org>
9239
9240 * faces.el (x-display-name): Declare (for without-x builds).
9241
9242 * linum.el (linum-format): Don't autoload it. Improve :type.
9243
9244 * progmodes/tcl.el: Don't require outline when compiling.
9245 (outline-regexp, outline-level): Declare.
9246 * textmodes/sgml-mode.el: Don't require outline when compiling.
9247 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
9248
9249 * term.el (term-ansi-reset):
9250 Try setting term-ansi-face-already-done to nil. (Bug#11785)
9251
9252 * vc/vc.el (vc-next-action): Only gripe about committing read-only
9253 files for RCS and SCCS. (Bug#9781)
9254
9255 2012-09-27 Chong Yidong <cyd@gnu.org>
9256
9257 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
9258 change; value should be t.
9259
9260 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
9261
9262 * image-mode.el: Use lexical-binding.
9263 (image-mode-winprops): Use t to stand for the window of
9264 a buffer that's not displayed.
9265 * doc-view.el (doc-view-new-window-function): Handle the new
9266 t in winprops.
9267 (doc-view-enlarge): Make it a real nop if the size is not changed.
9268 (doc-view-display): Handle the case where the buffer is not (yet?)
9269 displayed in any window.
9270 (doc-view-saved-settings): New var.
9271 (doc-view-mode): Use it.
9272 (doc-view-fallback-mode): Set it.
9273
9274 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
9275 Set lexical-binding.
9276 (minibuffer-eldef-shorten-default): New var.
9277 (minibuffer-default-in-prompt-regexps): Use it for new default.
9278 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
9279
9280 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
9281
9282 * international/uni-bidi.el:
9283 * international/uni-category.el:
9284 * international/uni-name.el:
9285 * international/uni-numeric.el: Regenerate.
9286
9287 2012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
9288 Stefan Monnier <monnier@iro.umontreal.ca>
9289
9290 * profiler.el: New file.
9291
9292 2012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
9293
9294 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
9295 (testcover-reinstrument): Simplify with CSE.
9296
9297 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
9298
9299 * window.el (temp-buffer-window-setup): Fix typo in docstring.
9300
9301 2012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
9302
9303 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
9304 (verilog-auto-input, verilog-auto-insert-lisp)
9305 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
9306 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
9307 (verilog-auto-unused, verilog-auto-wire)
9308 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
9309 newline. Reported by Andrew Jones.
9310 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
9311 Reported by Brad Dobbie.
9312 (verilog-batch-delete-trailing-whitespace):
9313 Create verilog-batch-delete-trailing-whitespace.
9314 Reported by Brad Dobbie.
9315 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
9316 parameters from another module. Reported by Dan Katz.
9317 (verilog-auto, verilog-auto-assign-modport)
9318 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
9319 AUTOINOUTMODPORT for UVM interface module shell generation.
9320 Reported by Brad Dobbie.
9321 (verilog-auto-inst-interfaced-ports): Make default nil, as more
9322 standard behavior.
9323 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
9324 Reported by Matt Martin.
9325
9326 2012-09-25 Martin Rudalics <rudalics@gmx.at>
9327
9328 * window.el (window--resize-child-windows): When resizing child
9329 windows proportionally, process them in reverse order to
9330 preserve the "when splitting a window the new one gets the odd
9331 line" behavior.
9332 (window--resize-root-window-vertically): When resizing the
9333 minibuffer window try to affect only windows at the bottom of the
9334 frame. (Bug#12419)
9335
9336 2012-09-25 Chong Yidong <cyd@gnu.org>
9337
9338 * subr.el (declare): Doc fix.
9339
9340 * help-fns.el (help-fns--obsolete): Handle macros properly.
9341
9342 2012-09-25 Chong Yidong <cyd@gnu.org>
9343
9344 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
9345 this function obsolete.
9346
9347 * calendar/cal-x.el (calendar-two-frame-setup)
9348 (calendar-only-one-frame-setup, calendar-one-frame-setup):
9349 * calendar/calendar.el (american-calendar, european-calendar)
9350 (calendar-for-loop):
9351 * comint.el (comint-dynamic-simple-complete)
9352 (comint-dynamic-complete-as-filename, comint-unquote-filename):
9353 * desktop.el (desktop-load-default):
9354 * dired-x.el (dired-omit-here-always)
9355 (dired-hack-local-variables, dired-default-directory):
9356 * emacs-lisp/derived.el (derived-mode-class):
9357 * emacs-lisp/timer.el (timer-set-time-with-usecs):
9358 * emacs-lock.el (toggle-emacs-lock):
9359 * epa.el (epa-display-verify-result):
9360 * epg.el (epg-sign-keys, epg-start-sign-keys)
9361 (epg-passphrase-callback-function):
9362 * eshell/esh-util.el (eshell-for):
9363 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
9364 (eshell-add-to-window-buffer-names):
9365 * files.el (locate-file-completion):
9366 * imenu.el (imenu-example--create-c-index)
9367 (imenu-example--create-lisp-index)
9368 (imenu-example--lisp-extract-index-name)
9369 (imenu-example--name-and-position):
9370 * international/mule-cmds.el (princ-list):
9371 * international/mule-diag.el (decode-codepage-char):
9372 * international/mule-util.el (detect-coding-with-priority):
9373 * iswitchb.el (iswitchb-read-buffer):
9374 * mail/mailalias.el (mail-complete):
9375 * mail/sendmail.el (mail-sent-via):
9376 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
9377 (mouse-major-mode-menu):
9378 * password-cache.el (password-read-and-add):
9379 * pcomplete.el (pcomplete-parse-comint-arguments):
9380 * progmodes/sh-script.el (sh-maybe-here-document):
9381 * replace.el (query-replace-regexp-eval):
9382 * savehist.el (savehist-load):
9383 * simple.el (choose-completion-delete-max-match):
9384 * term.el (term-dynamic-simple-complete):
9385 * vc/ediff-init.el (ediff-check-version):
9386 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
9387 * vc/vc.el (vc-diff-switches-list):
9388 * view.el (view-return-to-alist-update): Likewise.
9389
9390 * subr.el (eval-next-after-load, makehash, insert-string)
9391 (assoc-ignore-representation, assoc-ignore-case): Use declare to
9392 mark obsolete.
9393 (mode-line-inverse-video): Variable deleted.
9394
9395 * international/mule-util.el (string-to-sequence): Remove.
9396
9397 * calendar/calendar.el (calendar-version):
9398 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
9399 (icalendar-convert-diary-to-ical):
9400 * cus-edit.el (custom-mode):
9401 * ansi-color.el (ansi-color-unfontify-region):
9402 * international/latin1-disp.el (latin1-char-displayable-p):
9403 * progmodes/cwarn.el (turn-on-cwarn-mode):
9404 * progmodes/which-func.el (which-func-update-1):
9405 Use define-obsolete-function-alias.
9406
9407 * net/newst-backend.el (newsticker-cache-filename):
9408 * net/newst-treeview.el (newsticker-groups-filename):
9409 Fix incorrect obsolescence declaration.
9410
9411 * allout.el (allout-passphrase-hint-string): Likewise.
9412 (allout-init): Use a declare form to mark obsolete.
9413
9414 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
9415 this applies to functions.
9416
9417 * iswitchb.el (iswitchb-read-buffer): Move code of
9418 iswitchb-define-mode-map here, and delete that obsolete function.
9419
9420 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
9421 font-lock-reference-face.
9422
9423 2012-09-25 Glenn Morris <rgm@gnu.org>
9424
9425 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
9426 Doc fixes.
9427
9428 * eshell/em-term.el (eshell-term-name):
9429 Default to term-term-name. (Bug#12485)
9430
9431 2012-09-24 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
9432
9433 * progmodes/python.el (python-shell-send-buffer): Better handling
9434 of "if __name__ == '__main__':" conditionals when sending the buffer.
9435
9436 2012-09-24 Glenn Morris <rgm@gnu.org>
9437
9438 * eshell/esh-cmd.el (eshell-find-alias-function):
9439 Tighten up file-name regexp. (Bug#12499)
9440
9441 2012-09-24 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
9442
9443 Enhancements for triple-quote string syntax.
9444 * progmodes/python.el (python-quote-syntax): Remove.
9445 (python-syntax-propertize-function): New value.
9446 (python-syntax-count-quotes, python-syntax-stringify):
9447 New functions.
9448
9449 2012-09-24 Chong Yidong <cyd@gnu.org>
9450
9451 * mail/supercite.el (sc-version): Remove obsolete function.
9452 (sc-describe): Don't mark as obsolete, since it is bound.
9453 (sc-submit-bug-report): Remove.
9454
9455 * vc/log-edit.el (cvs-changelog-full-paragraphs)
9456 (cvs-commit-buffer-require-final-newline): Remove.
9457 (log-edit-require-final-newline)
9458 (log-edit-changelog-full-paragraphs): Default to t.
9459
9460 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
9461 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
9462 * vc/vc.el (vc-checkout-carefully): Likewise.
9463
9464 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
9465 (emerge-version): Remove.
9466
9467 * progmodes/compile.el (compile-internal): Remove.
9468 (compilation-parse-errors-function): Fix typo.
9469
9470 * international/mule.el (set-char-table-default): Remove.
9471 (set-coding-priority, make-coding-system, generic-char-p)
9472 (charset-list, charset-bytes, charset-id): Use declare to mark
9473 functions as obsolete.
9474
9475 * vc/pcvs-defs.el (cvs-buffer-name-alist)
9476 (cvs-invert-ignore-marks): Remove references to obsolete vars.
9477 * vc/vc-hooks.el (vc-default-registered): Don't use
9478 vc-master-templates.
9479
9480 * font-lock.el (font-lock-reference-face):
9481 Use define-obsolete-variable-alias.
9482
9483 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
9484 * calendar/calendar.el (calendar-font-lock-keywords):
9485 * calendar/diary-lib.el (diary-font-lock-keywords)
9486 (diary-fancy-font-lock-keywords):
9487 * textmodes/reftex-sel.el (reftex-insert-docstruct):
9488 * textmodes/reftex-index.el (reftex-insert-index):
9489 * textmodes/reftex-cite.el (reftex-format-bib-entry):
9490 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
9491 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
9492 * progmodes/prolog.el (prolog-font-lock-keywords):
9493 * progmodes/idlwave.el (idlwave-idl-keywords):
9494 * progmodes/ada-mode.el (ada-font-lock-keywords):
9495 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
9496
9497 2012-09-24 Glenn Morris <rgm@gnu.org>
9498
9499 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
9500
9501 2012-09-23 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
9502
9503 * progmodes/python.el (python-indent-line): More consistent cursor
9504 movement behavior.
9505
9506 2012-09-23 Stefan Merten <smerten@oekonux.de>
9507
9508 * textmodes/rst.el: Fix compiler warning.
9509
9510 2012-09-23 Roland Winkler <winkler@gnu.org>
9511
9512 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
9513 Transcribe also LaTeX hyphenation.
9514 (bibtex-reformat): Bug fix. Do not quote twice the elements of
9515 bibtex-reformat-previous-options.
9516
9517 2012-09-23 Roland Winkler <winkler@gnu.org>
9518
9519 * proced.el (proced-renice-command): New variable.
9520 (proced-marked-processes): New function.
9521 (proced-with-processes-buffer): New macro.
9522 (proced-send-signal): Use them.
9523 (proced-renice): New command bound to r.
9524
9525 2012-09-23 Roland Winkler <winkler@gnu.org>
9526
9527 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
9528 ibuffer-saved-filter-groups has one element, shortcut the call of
9529 completing-read. (Bug#12331)
9530
9531 2012-09-23 Chong Yidong <cyd@gnu.org>
9532
9533 * bindings.el (mode-line-toggle-read-only):
9534 * bs.el (bs-toggle-readonly):
9535 * buff-menu.el (Buffer-menu-toggle-read-only):
9536 * dired.el (dired-toggle-read-only):
9537 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
9538
9539 2012-09-23 Chong Yidong <cyd@gnu.org>
9540
9541 * image.el (image-type-available-p): Adapt to init-image-library
9542 argument changes.
9543
9544 2012-09-22 Juri Linkov <juri@jurta.org>
9545
9546 * dired.el (dired-mode-map): Add [remap read-only-mode] for
9547 `dired-toggle-read-only'. (Bug#12462)
9548
9549 2012-09-22 Martin Rudalics <rudalics@gmx.at>
9550
9551 * subr.el (temp-output-buffer-show): New function.
9552 (with-output-to-temp-buffer): Call temp-output-buffer-show
9553 instead of internal-temp-output-buffer-show.
9554
9555 2012-09-22 Chong Yidong <cyd@gnu.org>
9556
9557 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
9558 (Bug#12462).
9559
9560 * repeat.el (repeat): Doc fix (Bug#12348).
9561
9562 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
9563 (Bug#10909).
9564
9565 * simple.el (shell-command-on-region): Doc fix.
9566 (read-only-mode): Doc fix.
9567
9568 2012-09-22 Eli Zaretskii <eliz@gnu.org>
9569
9570 * emacs-lisp/timer.el (run-with-idle-timer)
9571 (timer-activate-when-idle): Warn against reinvoking an idle timer
9572 from within its own timer action. (Bug#12447)
9573
9574 2012-09-22 Martin Rudalics <rudalics@gmx.at>
9575
9576 * cus-start.el (window-combination-limit): Add new optional
9577 values.
9578 * window.el (temp-buffer-window-show)
9579 (window--try-to-split-window): Handle new values of
9580 window-combination-limit (Bug#1806).
9581 (split-window): Test window-combination-limit for t instead of
9582 non-nil.
9583 (display-buffer-at-bottom): New buffer display action function.
9584 * help.el (temp-buffer-resize-regexps): New option.
9585 (temp-buffer-resize-mode): Rewrite doc-string.
9586 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
9587 Don't resize reused window. Suggested by Glenn Morris.
9588
9589 2012-09-22 Stefan Merten <smerten@oekonux.de>
9590
9591 * textmodes/rst.el: Revamp section title faces.
9592 (rst-official-version)
9593 (rst-package-emacs-version-alist): Sync with official version
9594 V1.4.0.
9595 (rst-faces-defaults, rst-set-level-default)
9596 (rst-level-face-max, rst-level-face-base-color)
9597 (rst-level-face-base-light, rst-level-face-format-light)
9598 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
9599 (rst-adornment-faces-alist): Match new setup.
9600 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
9601 (rst-level-5, rst-level-6): New faces.
9602
9603 2012-09-22 Chong Yidong <cyd@gnu.org>
9604
9605 * simple.el (undo): Handle indirect buffers (Bug#8207).
9606
9607 2012-09-21 Leo Liu <sdl.web@gmail.com>
9608
9609 IDO: Disable match re-ordering for buffer switching.
9610 * ido.el (ido-buffer-disable-smart-matches): New variable.
9611 (ido-set-matches-1): Use it. (Bug#2042)
9612
9613 2012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
9614
9615 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
9616 Fix 2011-05-17 change. (Bug#12418)
9617
9618 2012-09-21 Leo Liu <sdl.web@gmail.com>
9619
9620 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
9621
9622 2012-09-21 Glenn Morris <rgm@gnu.org>
9623
9624 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
9625 Be more robust about locating simple.el.
9626
9627 2012-09-21 Glenn Morris <rgm@gnu.org>
9628
9629 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
9630
9631 2012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
9632
9633 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
9634
9635 2012-09-20 Juri Linkov <juri@jurta.org>
9636
9637 * replace.el (query-replace-read-from): Use `read-regexp' instead
9638 of `read-from-minibuffer' when `regexp-flag' is non-nil.
9639 (occur-read-primary-args): Use `read-regexp' instead of
9640 `read-string'.
9641 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
9642 `read-from-minibuffer'.
9643 * isearch.el (isearch-occur): Use `read-regexp' instead of
9644 `read-string'.
9645 * dired.el (dired-read-regexp): Use `read-regexp' instead of
9646 `read-from-minibuffer'.
9647 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
9648 of `read-string'. (Bug#7567)
9649
9650 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
9651 and allow accepting a list of strings prepended to a list of
9652 standard default values. Doc fix. (Bug#12321)
9653
9654 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
9655
9656 * replace.el (read-regexp): Don't add ": " when PROMPT already
9657 ends with a colon and space. (Bug#12321)
9658
9659 2012-09-20 Tassilo Horn <tsdh@gnu.org>
9660
9661 * doc-view.el (doc-view-display): Better fix for the cl-assertion
9662 error.
9663
9664 2012-09-20 Stefan Merten <smerten@oekonux.de>
9665
9666 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
9667 Fixes feature request bug#11711.
9668 (rst-mode): Create `imenu-create-index-function'.
9669 (rst-get-stripped-line): Delete after refactoring.
9670 (rst-section-tree, rst-section-tree-rec)
9671 (rst-section-tree-point): Refactor and document properly.
9672 (rst-imenu-find-adornments-for-position)
9673 (rst-imenu-convert-cell, rst-imenu-create-index):
9674 New function.
9675
9676 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
9677
9678 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
9679 (macroexp--expand-all): Use it.
9680 (macroexp--funcall-and-return): Remove by folding it into its sole
9681 caller (macroexp--warn-and-return).
9682 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
9683 Use macroexp--obsolete-warning.
9684
9685 * calc/calc.el: Fix last change by removing the whole chunk, since it
9686 was only needed back when Calc was not bundled.
9687
9688 2012-09-20 Martin Rudalics <rudalics@gmx.at>
9689
9690 * emacs-lisp/debug.el (debug): Restore assignment to
9691 debugger-old-buffer removed on 2012-09-08.
9692
9693 2012-09-20 Juri Linkov <juri@jurta.org>
9694
9695 * dired-aux.el (dired-diff): Remove (require 'diff) since
9696 `diff-latest-backup-file' is now autoloaded.
9697
9698 2012-09-20 Chong Yidong <cyd@gnu.org>
9699
9700 * vc/diff.el (diff-latest-backup-file): Autoload.
9701
9702 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
9703
9704 * calc/calc.el: Remove redundant autoload shape check.
9705 (sel-mode): Don't defvar.
9706 (calc-get-stack-element): Add `sel-mode' arg instead.
9707 (calc-top, calc-top-list): Pass it this additional argument.
9708 * calc/calc-store.el (calc-store-map):
9709 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
9710 (calc-map-equation, calc-outer-product, calc-inner-product):
9711 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
9712
9713 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
9714
9715 2012-09-19 Juri Linkov <juri@jurta.org>
9716
9717 * dired-aux.el (dired-diff): Add (require 'diff) because
9718 `diff-latest-backup-file' is not autoloaded.
9719 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
9720 of `dired-get-filename' to t to not report error when there is
9721 no default file on the current line.
9722
9723 2012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
9724
9725 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
9726 macroexp--eval-if-compile.
9727 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
9728 (macroexp--expand-all): Use them (bug#12371).
9729
9730 * doc-view.el (doc-view-guess-paper-size)
9731 (doc-view-scale-bounding-box): Fix unbound `caddr'.
9732
9733 2012-09-19 Tassilo Horn <tsdh@gnu.org>
9734
9735 New feature: set optimal slice from BoundingBox information.
9736 * doc-view.el (doc-view-mode-map): Add keybinding.
9737 (doc-view-menu): Add menu entry.
9738 (doc-view-set-slice): Adapt docstring.
9739 (doc-view-get-bounding-box, doc-view-guess-paper-size)
9740 (doc-view-scale-bounding-box)
9741 (doc-view-set-slice-from-bounding-box): New functions.
9742 (doc-view-paper-sizes): New defvar.
9743
9744 2012-09-19 Glenn Morris <rgm@gnu.org>
9745
9746 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
9747 (byte-compile-log-warning): Autoload. (Bug#12371)
9748
9749 * calendar/calendar.el (calendar-american-month-header)
9750 (calendar-european-month-header, calendar-iso-month-header)
9751 (calendar-month-header): New options.
9752 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
9753 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
9754
9755 2012-09-19 Jan Djärv <jan.h.d@swipnet.se>
9756
9757 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
9758
9759 2012-09-18 Juri Linkov <juri@jurta.org>
9760
9761 * dired-aux.el (dired-diff): Restore original functionality of
9762 getting the default value, but keep new feature of using the
9763 latest existing backup file (`diff-latest-backup-file').
9764
9765 2012-09-18 Juri Linkov <juri@jurta.org>
9766
9767 * dired.el (dired-mark): If the region is active in Transient Mark
9768 mode, mark all files in the active region. Doc fix.
9769 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
9770 Doc fix. (Bug#10624)
9771
9772 2012-09-18 Juri Linkov <juri@jurta.org>
9773
9774 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
9775 attributes for M-n are pulled from the file at point.
9776 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
9777 Suggested by Drew Adams. (Bug#10624)
9778
9779 2012-09-18 Dmitry Gutov <dgutov@yandex.ru>
9780
9781 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
9782 whitespace after "end".
9783 (ruby-do-end-to-brace): Collapse block to one line if it fits
9784 within fill-column.
9785
9786 2012-09-18 Martin Rudalics <rudalics@gmx.at>
9787
9788 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
9789 value.
9790 (debug): Don't remove debugger window when debugger is expected
9791 to be back.
9792
9793 2012-09-18 Chong Yidong <cyd@gnu.org>
9794
9795 * custom.el (defface): Doc fix.
9796
9797 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
9798
9799 2012-09-18 Martin Blais <blais@furius.ca> (tiny change)
9800
9801 * progmodes/compile.el (compilation-start): Use compilation-always-kill
9802 to initialize query-on-exit; then test that instead (bug#12288).
9803
9804 2012-09-17 Stefan Merten <smerten@oekonux.de>
9805
9806 * textmodes/rst.el: Add support for `testcover'.
9807 (rst-defcustom-testcover, rst-testcover-add-compose)
9808 (rst-testcover-add-1value): New functions.
9809 (rst-portable-mark-active-p): Replace by `use-region-p'.
9810 (rst-update-section, rst-classify-adornment)
9811 (rst-find-title-line): Mark `1value' forms.
9812 (rst-classify-adornment): Remove superfluous form.
9813 (rst-update-section, rst-get-adornments-around)
9814 (rst-adornment-complete-p, rst-get-next-adornment)
9815 (rst-adjust, rst-promote-region)
9816 (rst-display-adornments-hierarchy, rst-straighten-adornments)
9817 (rst-find-pfx-in-region, rst-section-tree-rec)
9818 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
9819 (rst-toc-node, rst-toc, rst-forward-section)
9820 (rst-iterate-leftmost-paragraphs)
9821 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
9822 (rst-bullet-list-region)
9823 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
9824 (rst-compile-find-conf, rst-compile)
9825 (rst-repeat-last-character): Fix style.
9826
9827 2012-09-17 Chong Yidong <cyd@gnu.org>
9828
9829 * comint.el (comint--complete-file-name-data): Don't add a space
9830 if the status is `sole'; that adds a gratuitous space in the
9831 completion-cycling case (Bug#12092).
9832
9833 * pcomplete.el (pcomplete-completions-at-point): Likewise.
9834
9835 2012-09-17 Richard Stallman <rms@gnu.org>
9836
9837 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
9838 only in the mime-shown mode, not in raw mode.
9839 (rmail-mime): Toggle off mime by displaying the message without
9840 mime processing. (Bug#12305)
9841
9842 * mail/rmail.el (rmail-retry-failure):
9843 Turn off mime processing first. (Bug#12037)
9844
9845 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
9846
9847 2012-09-17 Chong Yidong <cyd@gnu.org>
9848
9849 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
9850 (shell-dynamic-complete-functions): Convert to defcustom.
9851 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
9852
9853 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
9854 * comint.el (comint-prompt-read-only):
9855 * custom.el (defcustom):
9856 * hi-lock.el (hi-lock-mode):
9857 * ibuffer.el (ibuffer-formats):
9858 * ielm.el (ielm-prompt-read-only):
9859 * novice.el (disable-command):
9860 * saveplace.el (toggle-save-place):
9861 * speedbar.el (speedbar-supported-extension-expressions):
9862 * startup.el (auto-save-list-file-prefix, init-file-user)
9863 (after-init-hook, inhibit-startup-echo-area-message):
9864 * strokes.el (strokes-help):
9865 * time-stamp.el (time-stamp):
9866 * calendar/calendar.el (calendar, diary-file):
9867 * calendar/diary-lib.el (diary-mail-entries, diary)
9868 (diary-list-entries-hook):
9869 * calendar/holidays.el (holidays, calendar-holidays):
9870 * calendar/lunar.el (lunar-phases):
9871 * calendar/solar.el (sunrise-sunset):
9872 * emulation/edt.el (edt-load-keys):
9873 * emulation/viper.el (viper-mode):
9874 * eshell/em-alias.el (eshell-command-aliases-list):
9875 * eshell/esh-util.el (eshell-convert-numeric-arguments):
9876 * international/ogonek.el (ogonek-information):
9877 * net/tramp-cmds.el (tramp-bug):
9878 * net/quickurl.el (quickurl-reread-hook-postfix):
9879 * play/decipher.el (decipher-font-lock-keywords):
9880 * progmodes/cc-styles.el (c-set-style):
9881 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
9882 * progmodes/inf-lisp.el (inferior-lisp-prompt):
9883 * progmodes/octave-mod.el (octave-mode):
9884 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
9885 * progmodes/verilog-mode.el (verilog-read-defines):
9886 * textmodes/two-column.el (2C-mode): Likewise.
9887
9888 2012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
9889
9890 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
9891 that holds many addresses.
9892
9893 2012-09-16 Chong Yidong <cyd@gnu.org>
9894
9895 * align.el (align-areas): Call the indication function with
9896 positions instead of markers for arguments (Bug#12343).
9897
9898 * files.el (parse-colon-path): Use split-string (Bug#12351).
9899
9900 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
9901 (display-buffer-function): Mark as obsolete.
9902
9903 * progmodes/compile.el (compilation-parse-errors): Accept list
9904 values similar to font-lock-keywords (Bug#12136).
9905 Suggested by Oleksandr Manzyuk.
9906 (compilation-error-regexp-alist): Doc fix.
9907
9908 2012-09-15 Glenn Morris <rgm@gnu.org>
9909
9910 * version.el (emacs-bzr-version-bzr): New function.
9911 (emacs-bzr-get-version): Add optional EXTERNAL argument.
9912
9913 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
9914 checkouts, check the parent dirstate matches the branch.
9915 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
9916 empty string.
9917
9918 * version.el (emacs-bzr-version): Doc fix.
9919 (emacs-bzr-version-dirstate): New function.
9920 (emacs-bzr-get-version): For lightweight checkouts, if the parent
9921 is local try and check that it matches the branch. If not, just
9922 use dirstate information. (Bug#12441)
9923
9924 2012-09-14 Juri Linkov <juri@jurta.org>
9925
9926 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
9927 (Bug#12399)
9928
9929 2012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
9930
9931 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
9932
9933 * emacs-lisp/edebug.el: Miscellaneous cleanup.
9934 Remove obsolete byte-compiler hack that tried to silence some warnings.
9935 (edebug-submit-bug-report): Remove.
9936 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
9937 Remove aliases, use the un-prefixed name instead.
9938 (edebug-pop-to-buffer): Consider other frames.
9939 (edebug-original-read):: Make it more obvious that it's always defined.
9940 (edebug--make-form-data-entry, edebug--form-data-name)
9941 (edebug--form-data-begin, edebug--form-data-end): Rename from the
9942 single-dashed name, and implement with cl-defstruct.
9943 (edebug-set-form-data-entry): Use the standard accessors.
9944 (edebug-make-top-form-data-entry): Use push.
9945 (edebug-no-match): Drop useless `funcall'.
9946 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
9947 to functions.
9948 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
9949 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
9950 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
9951 (easy-menu-define, with-custom-print): Remove redundant specs.
9952 (edebug-outside-overriding-local-map)
9953 (edebug-outside-overriding-terminal-local-map): Remove, unused.
9954 (edebug--display): Bind unread-command-events directly to nil rather
9955 than binding it to unread-command-events and later setting it to nil.
9956 (edebug--display): Kill edebug-eval-buffer here...
9957 (edebug--recursive-edit): ...rather than here.
9958 Bind standard-output and standard-input.
9959 (edebug-eval): Check cl-macroexpand-all is fboundp.
9960 (edebug-temp-display-freq-count): Fix last change.
9961
9962 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
9963 * subr.el (noreturn, 1value): Add `debug' spec.
9964 * emacs-lisp/advice.el: Require cl-lib.
9965 (ad-copy-tree): Remove, use copy-tree instead.
9966 (ad-dolist): Remove use dolist or cl-dolist instead.
9967 (ad-do-return): Remove, use cl-return instead.
9968 (defadvice): Add `debug' spec.
9969
9970 2012-09-13 Juri Linkov <juri@jurta.org>
9971
9972 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
9973 (Bug#12399)
9974
9975 2012-09-13 Glenn Morris <rgm@gnu.org>
9976
9977 * calc/calc.el (math-compose-expr):
9978 * calc/calc-ext.el (math-compose-expr):
9979 * progmodes/cc-defs.el (cl-macroexpand-all):
9980 * progmodes/cc-langs.el (delete-duplicates, mapcan)
9981 (cl-macroexpand-all): Update declarations.
9982
9983 * vc/vc.el: No need to require ediff.
9984 (ediff-load-version-control): Declare.
9985 (ediff-vc-internal): Fix declaration.
9986 (vc-version-ediff): Require ediff.
9987
9988 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
9989
9990 Use a more backwards-compatible timer format (Bug#12430).
9991 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
9992 being right after USECS, as that better supports old code that
9993 inadvisedly looked directly at the timer vector.
9994
9995 2012-09-13 Kenichi Handa <handa@gnu.org>
9996
9997 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
9998 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
9999 `coding-priority' property of these language environment.
10000
10001 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
10002
10003 Fix glitches caused by addition of psec to timers (Bug#12430).
10004 * image.el (image-animate-timer):
10005 * time.el (display-time-world-timer):
10006 Use timer--function and timer--args rather than raw access to
10007 timer vector.
10008
10009 2012-09-13 Glenn Morris <rgm@gnu.org>
10010
10011 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
10012 If not compiling a file, try using load-file-name.
10013
10014 2012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
10015
10016 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
10017 Fix last change.
10018 (edebug-update-eval-list): Use `push'.
10019
10020 * emacs-lisp/edebug.el: Use lexical-binding.
10021 Remove the "edebug-" prefix from non-dynamically-scoped variables.
10022 Mark unused args with underscore.
10023 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
10024 (edebug-form-data): Use defvar-local.
10025 (edebug-make-before-and-after-form, edebug-make-after-form):
10026 Use backquote.
10027 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
10028 Not dynamically scoped any more.
10029 (edebug--enter-trace): Add arguments `function' and `args'.
10030 Rename from edebug-enter-trace.
10031 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
10032 (edebug--update-coverage): Add `after-index' and `value' args.
10033 Rename from edebug-update-coverage.
10034 (edebug-slow-after): Call it accordingly.
10035 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
10036 edebug-recursive-edit.
10037 (edebug--display): Call it accordingly. Add args `value',
10038 `offset-index', and `arg-mode'. Rename from edebug-display.
10039 (edebug-debugger, edebug): Call it accordingly.
10040 (edebug-eval-display-list): Use dolist.
10041
10042 2012-09-12 Juri Linkov <juri@jurta.org>
10043
10044 * info.el (Info-search): Don't check for isearch-mode and
10045 isearch-regexp before let-binding search-spaces-regexp to
10046 Info-search-whitespace-regexp.
10047 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
10048 search-whitespace-regexp if isearch-lax-whitespace or
10049 isearch-regexp-lax-whitespace is non-nil.
10050 (Info-mode): Don't set local variable search-whitespace-regexp.
10051 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
10052
10053 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
10054
10055 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
10056 (debugger-env-macro): Remove support for unread-command-char.
10057
10058 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
10059 the temporary map re-appearing on emulation-mode-map-alists.
10060
10061 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
10062 since 22.1.
10063
10064 * ehelp.el (with-electric-help): Accept functions in
10065 electric-help-form-to-execute.
10066 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
10067 And replace unread-command-char -> unread-command-events.
10068
10069 2012-09-12 Michael Albinus <michael.albinus@gmx.de>
10070
10071 Sync with Tramp 2.2.6.
10072
10073 * net/tramp.el (tramp-accept-process-output): Don't use
10074 JUST-THIS-ONE in the XEmacs case.
10075
10076 * net/trampver.el: Update release number.
10077
10078 2012-09-12 Martin Rudalics <rudalics@gmx.at>
10079
10080 * emacs-lisp/debug.el (debugger-previous-window-height):
10081 New variable.
10082 (debug): When debugger-jumping-flag is non-nil try to restore
10083 height of debugger window. (Bug#8789)
10084
10085 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
10086
10087 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
10088 overriding-local-map and pre/post-command-hook here.
10089 (edebug-recursive-edit): Do it here instead (bug#12345).
10090 (edebug-outside-unread-command-char): Remove all uses of
10091 unread-command-char.
10092
10093 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
10094 inhibit-debugger is bound instead.
10095
10096 2012-09-11 Bastien Guerry <bzg@gnu.org>
10097
10098 * subr.el (set-temporary-overlay-map): Add a docstring.
10099 (Bug#12346)
10100
10101 2012-09-11 Bastien Guerry <bzg@gnu.org>
10102
10103 * minibuffer.el (completion-table-subvert): Fix docstring.
10104 (Bug#12347)
10105
10106 2012-09-11 Bastien Guerry <bzg@gnu.org>
10107
10108 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
10109
10110 2012-09-10 Michael R. Mauger <mmaug@yahoo.com>
10111
10112 * progmodes/sql.el: Version 3.1
10113 (sql-db2-escape-newlines): New variable.
10114 (sql-escape-newlines-filter): Use it.
10115
10116 2012-09-10 Juanma Barranquero <lekktu@gmail.com>
10117
10118 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
10119
10120 2012-09-10 Dan Nicolaescu <dann@gnu.org>
10121
10122 * vc/diff-mode.el (diff-mode-menu):
10123 Bind diff-remove-trailing-whitespace.
10124
10125 2012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
10126
10127 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
10128 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
10129 (emacs-lisp-byte-code-mode): New functions.
10130 (eval-sexp-add-defvars): Don't skip defvars in column >0.
10131 (eval-defun-2): Remove bogus interactive spec.
10132 (lisp-indent-line): Remove redundant whole-exp code, now done in
10133 indent-according-to-mode.
10134 (save-match-data): Remove redundant indent data.
10135
10136 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
10137 Use `declare'.
10138
10139 2012-09-09 Juri Linkov <juri@jurta.org>
10140
10141 * replace.el (replace-regexp-lax-whitespace): New defcustom.
10142 (replace-lax-whitespace, query-replace-regexp)
10143 (query-replace-regexp-eval, replace-regexp): Doc fix.
10144 (perform-replace, replace-highlight): Let-bind
10145 isearch-lax-whitespace to replace-lax-whitespace and
10146 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
10147
10148 * isearch.el (isearch-query-replace): Let-bind
10149 replace-lax-whitespace to isearch-lax-whitespace and
10150 replace-regexp-lax-whitespace to
10151 isearch-regexp-lax-whitespace. (Bug#10885)
10152
10153 2012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
10154
10155 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
10156
10157 2012-09-09 Alan Mackenzie <acm@muc.de>
10158
10159 * progmodes/cc-engine.el (c-state-cache-init):
10160 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
10161 (c-record-parse-state-state):
10162 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
10163
10164 2012-09-09 Andreas Schwab <schwab@linux-m68k.org>
10165
10166 * register.el (register-separator): Rename from
10167 separator-register. All uses changed. Doc fix.
10168 (register): Fix version.
10169
10170 2012-09-09 Chong Yidong <cyd@gnu.org>
10171
10172 * replace.el (query-replace-map): Bind four new symbols for
10173 requesting window scrolling.
10174
10175 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
10176 query-replace-map (Bug#8948).
10177
10178 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
10179
10180 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
10181 since they are now in query-replace-map.
10182
10183 * window.el (scroll-other-window-down): Make the arg optional.
10184
10185 2012-09-09 Chong Yidong <cyd@gnu.org>
10186
10187 * files.el (hack-local-variables-confirm): Use quit-window to kill
10188 the *Local Variables* buffer.
10189
10190 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
10191
10192 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
10193 not just expect to be at its beginning. Adjust callees.
10194 Succeed when do-end block has no space before the pipe character.
10195 (ruby-brace-to-do-end): When the original block is one-liner,
10196 convert to multiline. Reindent the result.
10197
10198 2012-09-08 Jambunathan K <kjambunathan@gmail.com>
10199
10200 * register.el (register): New group.
10201 (separator-register): New user option.
10202 (increment-register): Route it to `append-to-register', if
10203 register contains text. Implication is that `C-x r +' can now be
10204 used for appending to a text register (bug#12217).
10205 (append-to-register, prepend-to-register): Add separator based on
10206 `separator-register'.
10207
10208 2012-09-08 Alan Mackenzie <acm@muc.de>
10209
10210 AWK Mode: make auto-newline work when there's "==" in the pattern.
10211 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
10212 correctly.
10213 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
10214 Test more rigorously for "=" token.
10215
10216 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
10217
10218 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
10219 Only fail when reached LIMIT.
10220
10221 2012-09-08 Chong Yidong <cyd@gnu.org>
10222
10223 * dired.el (dired-mode-map): Don't bind M-=.
10224
10225 * dired-aux.el (dired-diff): Use backup file as default.
10226
10227 2012-09-08 Drew Adams <drew.adams@oracle.com>
10228
10229 * subr.el (add-to-history): Fix delete usage (Bug#12314).
10230
10231 2012-09-08 Chong Yidong <cyd@gnu.org>
10232
10233 * subr.el (syntax-after, syntax-class): Doc fix.
10234
10235 2012-09-08 Martin Rudalics <rudalics@gmx.at>
10236
10237 * window.el (display-buffer-in-previous-window): New buffer
10238 display action function.
10239
10240 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
10241 (debugger-previous-window): New variable.
10242 (debug): Rewrite using display-buffer-in-previous-window,
10243 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
10244
10245 2012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
10246
10247 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
10248
10249 2012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
10250
10251 * progmodes/python.el (python-shell-send-string):
10252 When default-directory is remote, create temp file on remote
10253 filesystem.
10254 (python-shell-send-file): When file is remote, pass local view of
10255 file paths to remote Python interpreter. (Bug#12340)
10256
10257 2012-09-07 Chong Yidong <cyd@gnu.org>
10258
10259 * window.el (switch-to-buffer): Doc fix (Bug#12181).
10260
10261 * files.el (after-find-file): Don't fail on a read-only buffer if
10262 require-final-newline is `visit' or `visit-save' (Bug#11156).
10263
10264 * subr.el (read-char-choice): Allow quitting via ESC ESC.
10265
10266 * userlock.el (ask-user-about-supersession-threat):
10267 Use read-char-choice (Bug#12093).
10268
10269 2012-09-07 Chong Yidong <cyd@gnu.org>
10270
10271 * subr.el (buffer-narrowed-p): New function.
10272
10273 * ses.el (ses-widen):
10274 * simple.el (count-words--buffer-message):
10275 * net/browse-url.el (browse-url-of-buffer): Use it.
10276
10277 * simple.el (count-words-region): Don't signal an error if there
10278 is a non-nil prefix arg and the mark is not set.
10279
10280 * help.el (describe-key-briefly): Allow the message to be seen
10281 when invoked from the minibuffer (Bug#7014).
10282
10283 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
10284
10285 * progmodes/ruby-mode.el (ruby-end-of-defun)
10286 (ruby-beginning-of-defun): Simplify, allow indentation before
10287 block beginning and end keywords.
10288 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
10289 (ruby-end-of-defun): Expect that the point is at the beginning of
10290 the defun.
10291
10292 2012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
10293
10294 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
10295 (bug#12367).
10296 (cl--make-usage-args): Strip _ from argument names.
10297
10298 2012-09-06 RĂ¼diger Sonderfeld <ruediger@c-plusplus.de>
10299
10300 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
10301 obsolete alias speedbar-key-map.
10302 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
10303 (vhdl-index-menu-init): Don't use obsolete variable
10304 font-lock-maximum-size.
10305
10306 2012-09-06 Chong Yidong <cyd@gnu.org>
10307
10308 * frame.el (window-system-version): Mark as obsolete.
10309
10310 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
10311 of obsolete variable speedbar-key-map.
10312
10313 2012-09-06 Juri Linkov <juri@jurta.org>
10314
10315 * replace.el (replace-lax-whitespace): New defcustom.
10316 (query-replace, query-replace-regexp, query-replace-regexp-eval)
10317 (replace-string, replace-regexp): Mention it in docstrings.
10318 (perform-replace, replace-highlight): Let-bind
10319 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
10320 to the values of replace-lax-whitespace and regexp-flag.
10321 Don't let-bind search-whitespace-regexp. (Bug#10885)
10322
10323 * isearch.el (isearch-query-replace): Let-bind
10324 replace-lax-whitespace instead of let-binding
10325 replace-search-function and replace-re-search-function.
10326 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
10327 and isearch-regexp-lax-whitespace to lazy-highlight variables.
10328 (isearch-toggle-symbol): Set isearch-regexp to nil
10329 in isearch-word mode (like in isearch-toggle-word).
10330
10331 2012-09-06 Juri Linkov <juri@jurta.org>
10332
10333 * replace.el (replace-search-function)
10334 (replace-re-search-function): Set default values to nil.
10335 (perform-replace): Let-bind isearch-related variables based on
10336 replace-related values, call `isearch-search-fun' and let-bind
10337 the result to `search-function'. Remove code that sets
10338 `search-function' and `search-string' separately for
10339 `delimited-flag'.
10340 (replace-highlight): Add new argument `delimited-flag' and
10341 rename other arguments to the names used in `perform-replace'.
10342 Let-bind `isearch-word' to the argument `delimited-flag'.
10343 (Bug#10885, bug#10887)
10344
10345 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
10346
10347 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
10348 ruby-beginning-of-indent, simplify, allow all keywords to have
10349 indentation before them.
10350 (ruby-beginning-of-indent): Adjust for above. Search until the
10351 found point is not inside a string or comment.
10352 (ruby-font-lock-keywords): Allow symbols to start with "@"
10353 character, give them higher priority than variables.
10354 (ruby-syntax-propertize-function)
10355 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
10356 matchers. Expression expansions are not comments when inside a
10357 string, and there comment syntax status is irrelevant.
10358 (ruby-match-expression-expansion): New function. Check that
10359 expression expansion is inside a string, and it's not escaped.
10360 (ruby-font-lock-keywords): Use it.
10361
10362 2012-09-05 Martin Rudalics <rudalics@gmx.at>
10363
10364 * help.el (temp-buffer-max-height): New default value.
10365 (temp-buffer-resize-frames): New option.
10366 (resize-temp-buffer-window): Optionally resize frame.
10367
10368 * window.el (fit-frame-to-buffer-bottom-margin): New option.
10369 (fit-frame-to-buffer): New function.
10370
10371 2012-09-05 Glenn Morris <rgm@gnu.org>
10372
10373 * emulation/cua-rect.el (cua--init-rectangles):
10374 * textmodes/picture.el (picture-mode-map):
10375 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
10376 like forward-char and backward-char. (Bug#12317)
10377
10378 2012-09-05 Leo Liu <sdl.web@gmail.com>
10379
10380 * progmodes/flymake.el (flymake-warning-re): New variable.
10381 (flymake-parse-line): Use it.
10382
10383 2012-09-05 Glenn Morris <rgm@gnu.org>
10384
10385 * calendar/holidays.el (holiday-christian-holidays):
10386 Rename an entry. (Bug#12289)
10387
10388 2012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
10389
10390 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
10391 (bug#12222).
10392
10393 2012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
10394
10395 * loadup.el: Load macroexp. Remove hack.
10396 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
10397 (macroexp--expand-all): Use it to get better warnings.
10398 (macroexp--backtrace, macroexp--trim-backtrace-frame)
10399 (internal-macroexpand-for-load): New functions.
10400 (macroexp--pending-eager-loads): New var.
10401 (emacs-startup-hook): New hack to replace one in loadup.el.
10402 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
10403 (cl--compiler-macro-cXXr): Move to top, before they can be used.
10404 (cl-psetf): Simplify.
10405 (cl-defstruct): Add indent rule.
10406
10407 2012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
10408
10409 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
10410 over `user-mail-address' for the SMTP MAIL FROM envelope.
10411 (smtpmail-via-smtp): Ditto.
10412
10413 2012-09-04 Dmitry Gutov <dgutov@yandex.ru>
10414
10415 * progmodes/ruby-mode.el: Clean up keybindings.
10416 (ruby-mode-map): Don't bind ruby-electric-brace,
10417 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
10418 backward-kill-word, reindent-then-newline-and-indent.
10419 (ruby-mark-defun): Remove.
10420 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
10421 (ruby-mode): Set local beginning-of-defun-function and
10422 end-of-defun-function values.
10423
10424 2012-09-03 Martin Rudalics <rudalics@gmx.at>
10425
10426 * window.el (temp-buffer-window-setup-hook)
10427 (temp-buffer-window-show-hook): New hooks.
10428 (temp-buffer-window-setup, temp-buffer-window-show)
10429 (with-temp-buffer-window): New functions.
10430 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
10431 (special-display-popup-frame): Make sure the window used shows BUFFER.
10432
10433 * help.el (temp-buffer-resize-mode): Fix doc-string.
10434 (resize-temp-buffer-window): New optional argument WINDOW.
10435
10436 * files.el (recover-file, save-buffers-kill-emacs):
10437 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
10438
10439 2012-09-02 Michael Albinus <michael.albinus@gmx.de>
10440
10441 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
10442 remote definition of `default-directory', ensure we can connect.
10443
10444 2012-09-02 Juri Linkov <juri@jurta.org>
10445
10446 Toggle whitespace matching mode with M-s SPC.
10447 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
10448
10449 * isearch.el (search-whitespace-regexp): Doc fix.
10450 Remove cons cell customization.
10451 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
10452 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
10453 New variables.
10454 (isearch-forward, isearch-forward-regexp): Doc fix.
10455 (isearch-toggle-lax-whitespace): New command.
10456 (search-forward-lax-whitespace, search-backward-lax-whitespace)
10457 (re-search-forward-lax-whitespace)
10458 (re-search-backward-lax-whitespace): New functions.
10459 (isearch-whitespace-regexp): Remove function.
10460 (isearch-query-replace): Let-bind replace-search-function and
10461 replace-re-search-function.
10462 (isearch-occur): Let-bind search-spaces-regexp according to the
10463 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
10464 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
10465 condition for C-q SPC.
10466 (isearch-search-fun-default): Use new functions mentioned above.
10467 (isearch-search-forward, isearch-search-backward): Remove functions.
10468 (isearch-search): Don't let-bind search-spaces-regexp.
10469 (isearch-lazy-highlight-space-regexp): Remove variable.
10470 (isearch-lazy-highlight-lax-whitespace)
10471 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
10472 (isearch-lazy-highlight-new-loop): Use them.
10473 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
10474
10475 2012-09-02 Chong Yidong <cyd@gnu.org>
10476
10477 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
10478
10479 2012-09-02 Glenn Morris <rgm@gnu.org>
10480
10481 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
10482
10483 2012-09-01 Glenn Morris <rgm@gnu.org>
10484
10485 * term.el: Tidy up menu definitions.
10486 (term-mode-map): Use easymenu for In/Out, Complete menus.
10487 (term-pager-break-map): Initialize in the defvar.
10488 (term-terminal-menu, term-signals-menu): Define with easymenu.
10489 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
10490 (term-pager-menu): New, extracted from term-process-pager.
10491 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
10492 (term-update-mode-line): Propertize line/char and page items.
10493 (term-process-pager): Move keymap initialization elsewhere.
10494
10495 2012-09-01 Martin Rudalics <rudalics@gmx.at>
10496
10497 * window.el (switch-to-prev-buffer): Handle additional values of
10498 BURY-OR-KILL argument. Don't switch in minibuffer window.
10499 (switch-to-next-buffer): Don't switch in minibuffer window.
10500 (quit-restore-window): New function based on quit-window.
10501 Handle additional values of former KILL argument.
10502 (quit-window): Call quit-restore-window with appropriate
10503 interpretation of KILL argument.
10504 (display-buffer-below-selected): New buffer display action
10505 function.
10506
10507 2012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
10508
10509 * minibuffer.el (completion-at-point-functions): Complete docstring
10510 (bug#12254).
10511
10512 2012-09-01 Paul Eggert <eggert@cs.ucla.edu>
10513
10514 Better seed support for (random).
10515 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
10516 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
10517 * play/mpuz.el, play/tetris.el, play/zone.el:
10518 * calc/calc-comb.el (math-init-random-base):
10519 * play/blackbox.el (bb-init-board):
10520 * play/life.el (life):
10521 * server.el (server-use-tcp):
10522 * type-break.el (type-break):
10523 Remove unnecessary call to (random t).
10524 * net/sasl.el (sasl-unique-id-function):
10525 Change (random t) to (random), now that the latter is more random.
10526 * play/life.el (life-initialized): Remove no-longer-needed var.
10527
10528 2012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
10529
10530 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
10531 Consider frame's buffer predicate when choosing the buffer.
10532 (Bug#12081)
10533
10534 2012-08-30 Richard Stallman <rms@gnu.org>
10535
10536 * simple.el (special-mode-map): Delete binding for `z'.
10537
10538 2012-08-30 Andreas Schwab <schwab@linux-m68k.org>
10539
10540 * progmodes/compile.el (compilation-always-kill): Doc fix.
10541
10542 2012-08-30 Chong Yidong <cyd@gnu.org>
10543
10544 * window.el (display-buffer-reuse-frames): Make the obsolescence
10545 message more informative.
10546
10547 2012-08-30 Glenn Morris <rgm@gnu.org>
10548
10549 * paren.el (show-paren-delay):
10550 Add a :set function. Doc fix. (Bug#12297)
10551
10552 2012-08-29 Martin Blais <blais@furius.ca> (tiny change)
10553
10554 * progmodes/compile.el (compilation-always-kill): New var.
10555 (compilation-start): Use it.
10556
10557 2012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
10558
10559 * simple.el (read-only-mode): Move from files.el for bootstrapping.
10560 * files.el (read-only-mode): Move to simple.el.
10561
10562 * files.el (read-only-mode): New minor mode.
10563 (toggle-read-only): Use it and mark obsolete.
10564 (find-file--read-only):
10565 * vc/vc.el (vc-next-action, vc-checkout):
10566 * vc/vc-cvs.el (vc-cvs-checkout):
10567 * obsolete/vc-mcvs.el (vc-mcvs-update):
10568 * ffap.el (ffap--toggle-read-only): Update callers.
10569
10570 2012-08-29 Michael Albinus <michael.albinus@gmx.de>
10571
10572 * eshell/esh-ext.el (eshell-external-command): Do not examine
10573 remote shell scripts.
10574 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
10575
10576 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
10577 "/usr/local/sbin".
10578
10579 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
10580
10581 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
10582
10583 2012-08-28 Leo Liu <sdl.web@gmail.com>
10584
10585 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
10586 completion-at-point. (Bug#12220)
10587
10588 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
10589
10590 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
10591
10592 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
10593
10594 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
10595 be buffer-local; add delete-trailing-whitespace (bug#12259).
10596
10597 2012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
10598
10599 * progmodes/hideif.el (hif-compress-define-list):
10600 Fix typo. (Bug#11951)
10601
10602 2012-08-28 Dan Nicolaescu <dann@gnu.org>
10603
10604 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
10605 buffer local setting.
10606
10607 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
10608 rcirc-encode-coding-system.
10609
10610 2012-08-28 Leo Liu <sdl.web@gmail.com>
10611
10612 * net/rcirc.el (rcirc-split-message): New function.
10613 (rcirc-send-message): Use it. (Bug#12051)
10614
10615 2012-08-28 Juri Linkov <juri@jurta.org>
10616
10617 * info.el (Info-fontify-node): Hide empty lines at the end of
10618 the node. (Bug#12272)
10619
10620 2012-08-27 Drew Adams <drew.adams@oracle.com>
10621
10622 * dired.el (dired-pop-to-buffer): Make window start at beginning
10623 of buffer (Bug#12281).
10624
10625 2012-08-26 Chong Yidong <cyd@gnu.org>
10626
10627 * window.el (special-display-regexps, special-display-frame-alist)
10628 (special-display-buffer-names, special-display-function)
10629 (display-buffer-reuse-frames): Mark as obsolete.
10630
10631 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
10632
10633 * help.el (help-print-return-message): Don't treat
10634 display-buffer-reuse-frames specially.
10635
10636 2012-08-26 Chong Yidong <cyd@gnu.org>
10637
10638 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
10639 New variable, replacing gdb-frame-parameters.
10640 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
10641 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
10642 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
10643 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
10644 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
10645 the functions directly with gdb-display-buffer-other-frame-action.
10646 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
10647 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
10648 (gdb-display-stack-buffer, gdb-display-locals-buffer)
10649 (gdb-display-registers-buffer): Define directly.
10650 (def-gdb-display-buffer): Macro deleted.
10651 (gdb-display-buffer): Remove second and third args, callers don't
10652 use them. Defer to the default display-buffer behavior, apart
10653 from making windows dedicated.
10654 (gdb-setup-windows): Don't call display-buffer unnecessarily.
10655
10656 * progmodes/gud.el (gud-display-line): Just use display-buffer.
10657
10658 * window.el (display-buffer-pop-up-frame): Handle a
10659 pop-up-frame-parameters alist entry.
10660 (display-buffer): Document it.
10661
10662 2012-08-26 Chong Yidong <cyd@gnu.org>
10663
10664 * isearch.el (search-whitespace-regexp): Make string and nil
10665 values apply to both ordinary and regexp search. Allow a cons
10666 cell value to distinguish between the two.
10667 (isearch-whitespace-regexp, isearch-search-forward)
10668 (isearch-search-backward): New functions.
10669 (isearch-occur, isearch-search-fun-default, isearch-search)
10670 (isearch-lazy-highlight-new-loop): Use them.
10671 (isearch-forward, isearch-forward-regexp): Doc fix.
10672
10673 2012-08-26 Chong Yidong <cyd@gnu.org>
10674
10675 * faces.el (help-argument-name): Always inherit from italic
10676 (Bug#12213).
10677
10678 2012-08-25 Martin Rudalics <rudalics@gmx.at>
10679
10680 * window.el (window--even-window-heights): Even heights when
10681 WINDOW and the selected window form a vertical combination.
10682 (display-buffer-use-some-window): Provide that window used gets
10683 sized back by quit-window. (Bug#11880) and (Bug#12091)
10684
10685 2012-08-24 Paul Eggert <eggert@cs.ucla.edu>
10686
10687 Fix file time stamp problem with bzr and CVS (Bug#12001).
10688 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
10689 in the file's time stamp, since the version control system loses
10690 that information.
10691
10692 2012-08-22 Juri Linkov <juri@jurta.org>
10693
10694 * info.el (Info-fontify-node): Hide the suffix of the
10695 Info file name in the header line. (Bug#12187)
10696
10697 2012-08-22 Glenn Morris <rgm@gnu.org>
10698
10699 * calendar/cal-tex.el (cal-tex-weekly-common):
10700 Restore leading blank page.
10701
10702 2012-08-22 Le Wang <l26wang@gmail.com>
10703
10704 * misc.el (forward-to-word, backward-to-word): Activate or extend
10705 the region under `shift-select-mode'. (Bug#12231)
10706
10707 2012-08-22 Bastien Guerry <bzg@gnu.org>
10708
10709 * progmodes/executable.el (executable-prefix): Set to "#!" instead
10710 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
10711 gives details on why the space is never needed.
10712
10713 2012-08-22 Martin Rudalics <rudalics@gmx.at>
10714
10715 * window.el (walk-window-tree, window-with-parameter):
10716 New optional argument MINIBUF to control whether these functions
10717 should run on the minibuffer window.
10718 (window-at-side-list): Don't operate on minibuffer window.
10719 (window-in-direction): Simplify and rewrite doc-string.
10720 (window--size-ignore): Rename to window--size-ignore-p.
10721 Update callers.
10722 (display-buffer-in-atom-window, window--major-non-side-window)
10723 (window--major-side-window, display-buffer-in-major-side-window)
10724 (delete-side-window, display-buffer-in-side-window):
10725 New functions.
10726 (window--side-check, window-deletable-p, delete-window)
10727 (delete-other-windows, split-window): Handle side windows and
10728 atomic windows appropriately.
10729 (window--display-buffer): Call display-buffer-record-window also
10730 when the window buffer did not change.
10731
10732 2012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
10733
10734 * help-fns.el (help-fns--key-bindings):
10735 Abbreviate non-symbol remap targets. (Bug#12174)
10736
10737 2012-08-22 Martin Rudalics <rudalics@gmx.at>
10738
10739 * dired.el (dired-mark-remembered): Don't clobber point.
10740 (Bug#11795)
10741
10742 2012-08-22 Glenn Morris <rgm@gnu.org>
10743
10744 * progmodes/bug-reference.el (bug-reference): New custom group.
10745 (bug-reference-bug-regexp): Make it a defcustom.
10746
10747 2012-08-22 Daiki Ueno <ueno@unixuser.org>
10748
10749 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
10750 (js-paren-indent-offset, js-square-indent-offset)
10751 (js-curly-indent-offset): Add :safe (Bug#12257).
10752
10753 2012-08-22 Edward O'Connor <hober0@gmail.com>
10754
10755 * json.el (json-key-format): Add error properties.
10756 (json-encode-key): New function.
10757 (json-encode-hash-table, json-encode-alist, json-encode-plist):
10758 Use json-encode-key.
10759
10760 2012-08-22 Glenn Morris <rgm@gnu.org>
10761
10762 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
10763 (cal-tex-leftday, cal-tex-rightday): Remove functions.
10764 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
10765 Update for above change.
10766
10767 2012-08-21 Andreas Schwab <schwab@linux-m68k.org>
10768
10769 * cus-face.el (custom-face-attributes): Fix customize type for the
10770 :underline attribute. (Bug#11805)
10771
10772 2012-08-21 Martin Rudalics <rudalics@gmx.at>
10773
10774 * window.el (window-point-1, set-window-point-1): Remove.
10775 (window-in-direction, record-window-buffer)
10776 (set-window-buffer-start-and-point, split-window-below)
10777 (window--state-get-1, display-buffer-record-window):
10778 Replace calls to window-point-1 and set-window-point-1 by calls to
10779 window-point and set-window-point respectively.
10780
10781 2012-08-21 Glenn Morris <rgm@gnu.org>
10782
10783 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
10784 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
10785 Use it.
10786
10787 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
10788 (cal-tex-shortday): New function.
10789 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
10790 (cal-tex-cursor-filofax-daily): Use the above.
10791
10792 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
10793 New functions.
10794 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
10795 (cal-tex-cursor-filofax-week): Use them.
10796
10797 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
10798 New constants.
10799 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
10800 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
10801
10802 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
10803 (cal-tex-end-document): Don't rely on buffer name.
10804
10805 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
10806 Use cal-tex-vspace.
10807 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
10808 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
10809 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
10810 Use cal-tex-arg.
10811
10812 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
10813 (cal-tex-cursor-week, cal-tex-cursor-week2)
10814 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
10815 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
10816 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
10817 (cal-tex-insert-preamble, cal-tex-b-document)
10818 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
10819 Improve cal-tex-cmd usage.
10820
10821 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
10822 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
10823 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
10824 (cal-tex-weekly-paper): New function.
10825 (cal-tex-cursor-week, cal-tex-cursor-week2)
10826 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
10827 (cal-tex-cursor-day): Use it.
10828
10829 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
10830 (cal-tex-cursor-filofax-week): Remove leading blank page.
10831
10832 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
10833 Add autoload cookie. For now at least, don't use color, since
10834 no other cal-tex function does.
10835
10836 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
10837 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
10838 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
10839
10840 2012-08-21 Juri Linkov <juri@jurta.org>
10841
10842 * info.el (Info-file-attributes): New variable.
10843 (info-insert-file-contents): Add file attributes to
10844 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
10845 `Info-toc-nodes' when previous modtime of the Info file is less
10846 than new modtime.
10847 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
10848 of info.el. (Bug#12230)
10849
10850 2012-08-20 Glenn Morris <rgm@gnu.org>
10851
10852 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
10853 * calendar/holidays.el (calendar-holiday-list):
10854 Report errors with display-warning rather than beep'n'sleep.
10855
10856 2012-08-20 Michael Albinus <michael.albinus@gmx.de>
10857
10858 * net/tramp.el (tramp-accept-process-output): Accept only output
10859 from PROC. Otherwise, process filters and sentinels might be
10860 confused. (Bug#12145)
10861
10862 2012-08-20 Chong Yidong <cyd@gnu.org>
10863
10864 * descr-text.el (describe-text-properties-1): Use overlays-in to
10865 report on empty overlays (Bug#3322).
10866
10867 2012-08-20 Glenn Morris <rgm@gnu.org>
10868
10869 * mail/rmailout.el (rmail-output-read-file-name):
10870 Trap and report errors in rmail-output-file-alist elements.
10871
10872 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
10873 since most non-font-lock faces are not also variables).
10874
10875 2012-08-20 Edward Reingold <reingold@iit.edu>
10876
10877 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
10878 New function. (Bug12160)
10879
10880 2012-08-19 Glenn Morris <rgm@gnu.org>
10881
10882 * mail/rmailout.el (rmail-output-read-file-name):
10883 Fix previous change (when the alist is nil or does not match).
10884
10885 2012-08-19 Chong Yidong <cyd@gnu.org>
10886
10887 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
10888 (Bug#12228).
10889
10890 2012-08-18 Chong Yidong <cyd@gnu.org>
10891
10892 * simple.el (yank-handled-properties): New defcustom.
10893 (yank-excluded-properties): Add font-lock-face and category.
10894 (yank): Doc fix.
10895
10896 * subr.el (remove-yank-excluded-properties):
10897 Obey yank-handled-properties. The special handling of font-lock-face
10898 and category is now done this way, instead of being hard-coded.
10899 (insert-for-yank-1): Remove font-lock-face handling.
10900 (yank-handle-font-lock-face-property)
10901 (yank-handle-category-property): New function.
10902
10903 2012-08-17 Glenn Morris <rgm@gnu.org>
10904
10905 * mail/rmailout.el (rmail-output-read-file-name):
10906 Check rmail-output-file-alist against the full message body
10907 in the correct rmail buffer. (Bug#12214)
10908
10909 2012-08-17 Michael Albinus <michael.albinus@gmx.de>
10910
10911 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
10912 Eliminate superfluous prompt. (Bug#12203)
10913
10914 2012-08-17 Chong Yidong <cyd@gnu.org>
10915
10916 * mouse.el (mouse-appearance-menu): If x-select-font returns a
10917 font spec, set the font directly (Bug#3228).
10918
10919 2012-08-17 Martin Rudalics <rudalics@gmx.at>
10920
10921 * window.el (delete-window): Fix last fix.
10922
10923 2012-08-16 Martin Rudalics <rudalics@gmx.at>
10924
10925 * window.el (window-valid-p): Move to window.c.
10926 (window-child, window-child-count, window-last-child)
10927 (window-normalize-window, window-combined-p)
10928 (window-combinations, window-atom-root, window-min-size)
10929 (window-sizable, window-sizable-p, window-size-fixed-p)
10930 (window-min-delta, window-max-delta, window--resizable)
10931 (window--resizable-p, window-resizable, window-total-size)
10932 (window-full-height-p, window-full-width-p, window-body-size)
10933 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
10934 (minimize-window, window-deletable-p, delete-window)
10935 (delete-other-windows, set-window-buffer-start-and-point)
10936 (next-buffer, previous-buffer, split-window, balance-windows-2)
10937 (set-window-text-height, window-buffer-height)
10938 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
10939 (truncated-partial-width-window-p): Minor code adjustments.
10940 In doc-strings state whether the argument window has to denote a
10941 live, valid or any window.
10942
10943 2012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
10944
10945 * progmodes/subword.el (subword-forward-function)
10946 (subword-backward-function, subword-forward-regexp)
10947 (subword-backward-regexp): New variables.
10948 (subword-forward, subword-forward-internal, subword-backward-internal):
10949 Use new variables, eg so that different "word" definitions
10950 can be easily used. (Bug#11411)
10951
10952 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
10953
10954 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
10955 for composite selectors.
10956 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
10957 operation just because we can't find a previous revision.
10958
10959 2012-08-15 Chong Yidong <cyd@gnu.org>
10960
10961 * frame.el (set-frame-font): Accept font objects.
10962
10963 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
10964
10965 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
10966
10967 2012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
10968
10969 * man.el (Man-overstrike-face, Man-underline-face)
10970 (Man-reverse-face): Remove variables.
10971 (Man-overstrike, Man-underline, Man-reverse): New faces.
10972 (Man-fontify-manpage): Use them instead of the variables.
10973 (Man-cleanup-manpage): Comment change.
10974 (Man-ansi-color-map): New variable.
10975 (Man-fontify-manpage): Use it.
10976 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
10977
10978 Implement ANSI SGR parameters 22-27 (bug#12146).
10979 * ansi-color.el (ansi-colors): Doc fix.
10980 (ansi-color-context, ansi-color-context-region): Doc fix.
10981 (ansi-color--find-face): New function.
10982 (ansi-color-apply, ansi-color-apply-on-region): Use it.
10983 Rename the local variable `face' to `codes' since it is now a list of
10984 ansi codes. Doc fix.
10985 (ansi-color-get-face): Remove.
10986 (ansi-color-parse-sequence): New function, derived from
10987 ansi-color-get-face.
10988 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
10989 codes 22-27.
10990
10991 2012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
10992
10993 * subr.el (read-passwd): Allow use from a minibuffer.
10994
10995 2012-08-14 Eli Zaretskii <eliz@gnu.org>
10996
10997 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
10998 inside comments and strings as identifiers.
10999
11000 * progmodes/gud.el (gud-tooltip-print-command): Quote the
11001 expression to evaluate. This allows to evaluate expressions with
11002 embedded whitespace.
11003 (gud-tooltip-tips): Add a blank before the newline in the
11004 message-box text, for the benefit of message-box emulation on
11005 MS-Windows.
11006
11007 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
11008 messages from GDB, pop them up in a tooltip to give feedback to
11009 user.
11010 (gdb-tooltip-print-1): Quote the expression to evaluate.
11011 This allows to evaluate expressions with embedded whitespace.
11012 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
11013 if the TTY name is nil or empty (which happens when communicating
11014 with the inferior via pipes, e.g. on MS-Windows).
11015 (gdb-internals): If GDB sends a "&\n" empty debugging message,
11016 don't send that to the GUD buffer.
11017
11018 2012-08-14 Glenn Morris <rgm@gnu.org>
11019
11020 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
11021 Optimize away setq-default with no args, as for setq. (Bug#12195)
11022
11023 2012-08-14 Chong Yidong <cyd@gnu.org>
11024
11025 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
11026
11027 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
11028 (Bug#12085).
11029
11030 2012-08-14 Glenn Morris <rgm@gnu.org>
11031
11032 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
11033
11034 2012-08-14 Michael Albinus <michael.albinus@gmx.de>
11035
11036 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
11037 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
11038 Use cached shell name.
11039
11040 2012-08-14 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
11041
11042 * progmodes/python.el (python-shell-send-string):
11043 (python-shell-send-setup-code): Do not use `format' with `message'.
11044
11045 2012-08-14 Dmitry Gutov <dgutov@yandex.ru>
11046
11047 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
11048 (ruby-percent-literal-beg-re): New constant.
11049 (ruby-syntax-general-delimiters-goto-beg): Rename to
11050 `ruby-syntax-enclosing-percent-literal', improve literal type check.
11051 (ruby-syntax-propertize-general-delimiters): Rename to
11052 `ruby-syntax-propertize-percent-literal', it's a shorter and more
11053 popular term. Adjust comments everywhere.
11054 (ruby-syntax-propertize-percent-literal): Only propertize when not
11055 inside a simple string or comment. When the literal is unclosed,
11056 leave the text after it unpropertized.
11057 (ruby-syntax-methods-before-regexp): New constant.
11058 (ruby-syntax-propertize-function): Use it to recognize regexps.
11059 Don't look at the text after regexp, just use the whitelist.
11060
11061 2012-08-14 Andreas Schwab <schwab@linux-m68k.org>
11062
11063 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
11064 non-nil always load the compiled file if it exists. (Bug#12197)
11065
11066 2012-08-14 Chong Yidong <cyd@gnu.org>
11067
11068 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
11069 (hi-lock-set-pattern): When deciding whether to use font lock or
11070 overlays, look at font-lock-mode instead of font-lock-fontified
11071 (Bug#12168).
11072 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
11073 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
11074
11075 2012-08-14 Daiki Ueno <ueno@unixuser.org>
11076
11077 * subr.el (internal--after-with-selected-window): Fix typo
11078 (Bug#12193).
11079
11080 2012-08-14 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
11081
11082 Use `completion-table-dynamic' for completion functions.
11083 * progmodes/python.el
11084 (python-shell-completion--do-completion-at-point)
11085 (python-shell-completion--get-completions):
11086 Remove functions.
11087 (python-shell-completion-complete-at-point): New function.
11088 (python-completion-complete-at-point): Use it.
11089
11090 2012-08-13 Jambunathan K <kjambunathan@gmail.com>
11091
11092 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
11093 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
11094
11095 2012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
11096
11097 * subr.el (function-get): Refine `autoload' arg so it can also
11098 autoload functions for gv.el (bug#12191).
11099 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
11100 autoloads macros.
11101
11102 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
11103 Prefer pcase-let over destructuring-bind.
11104 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
11105 Also, remove whitespace as we go, rather than after accumulating the
11106 various places.
11107
11108 * subr.el (internal--before-with-selected-window)
11109 (internal--after-with-selected-window): Fix typo seleted->selected.
11110 (with-selected-window): Adjust callers.
11111 Reported by Dmitry Gutov <dgutov@yandex.ru>.
11112
11113 2012-08-13 Bastien Guerry <bzg@gnu.org>
11114
11115 * window.el (special-display-popup-frame): Minor docstring
11116 enhancement. (Bug#12172)
11117
11118 2012-08-13 Andreas Schwab <schwab@linux-m68k.org>
11119
11120 * tar-mode.el (tar-header-data-end): Only ignore size for files of
11121 type 1-6.
11122 (tar-header-block-summarize, tar-get-descriptor): Handle pax
11123 extended headers.
11124
11125 * files.el (hack-local-variables-filter): Remove useless eval.
11126
11127 2012-08-13 Martin Rudalics <rudalics@gmx.at>
11128
11129 * subr.el (with-selected-window): Fix last change.
11130
11131 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
11132
11133 * subr.el (internal--before-with-seleted-window)
11134 (internal--after-with-seleted-window): New functions.
11135 (with-selected-window): Use them, to replace dependency on
11136 tty-top-frame.
11137
11138 2012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
11139
11140 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
11141 binding for `newline'.
11142 (ruby-move-to-block): When moving backward, stop at block opening,
11143 not indentation.
11144 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
11145 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
11146 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
11147 `ruby-toggle-block'.
11148
11149 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
11150
11151 * ibuffer.el (ibuffer-do-toggle-read-only):
11152 * dired.el (dired-toggle-read-only):
11153 * buff-menu.el (Buffer-menu-toggle-read-only):
11154 * bindings.el (mode-line-toggle-read-only):
11155 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
11156
11157 2012-08-12 Andreas Schwab <schwab@linux-m68k.org>
11158
11159 * descr-text.el (describe-char): Put the overlays over the
11160 "displayed as" character.
11161
11162 2012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
11163
11164 * calc/calc-units.el (math-default-units-table): Give an
11165 initial value.
11166 (math-put-default-units): Add options to put composite units and
11167 unit systems in the default units table.
11168 (calc-convert-units): Send composite units to
11169 `math-put-default-units' when appropriate.
11170
11171 2012-08-11 Glenn Morris <rgm@gnu.org>
11172
11173 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
11174
11175 * tutorial.el (help-with-tutorial):
11176 * emacs-lisp/copyright.el (copyright-update-directory):
11177 * emacs-lisp/autoload.el (autoload-find-generated-file)
11178 (autoload-find-file): Disable local eval: (for insurance).
11179
11180 * files.el (hack-local-variables-filter): If an eval: form is not
11181 known to be safe, and enable-local-variables is :safe, then ignore
11182 the form totally, as is done for non-eval forms. (Bug#12155)
11183 This is CVE-2012-3479.
11184
11185 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
11186
11187 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
11188 (rx-form): Simplify.
11189
11190 2012-08-09 Dmitry Gutov <dgutov@yandex.ru>
11191
11192 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
11193 ?, _, and : are symbol constituents, ! is not (but kinda should be).
11194 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
11195 (ruby-syntax-propertize-function): Adjust for changes in
11196 `ruby-syntax-propertize-heredoc'.
11197
11198 2012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
11199
11200 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
11201 binding (use `M-;' instead).
11202 (ruby-singleton-class-p): New function.
11203 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
11204
11205 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
11206
11207 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
11208
11209 2012-08-10 Chong Yidong <cyd@gnu.org>
11210
11211 * progmodes/python.el (python-shell-get-process-name): Don't mess
11212 with same-window-buffer-names.
11213
11214 * eshell/eshell.el (eshell-add-to-window-buffer-names)
11215 (eshell-remove-from-window-buffer-names): Make obsolete.
11216 (eshell-buffer-name, eshell-unload-hook): Don't use them.
11217 (eshell): Just use pop-to-buffer-same-window instead.
11218
11219 2012-08-10 Chong Yidong <cyd@gnu.org>
11220
11221 * bindings.el: Bind M-= back to count-words-region.
11222
11223 * simple.el (count-words-region): Accept a prefix arg for acting
11224 on the entire buffer.
11225 (count-words--buffer-message): New helper function.
11226
11227 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
11228
11229 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
11230 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
11231 (event-start, event-end): Use posn-at-point to return a more
11232 informative posn.
11233 (posnp): New function.
11234 * mouse.el (popup-menu-normalize-position): Use it.
11235
11236 2012-08-10 Masatake YAMATO <yamato@redhat.com>
11237
11238 * mouse.el (popup-menu-normalize-position): New function.
11239 (popup-menu): Use `popup-menu-normalize-position' to normalize
11240 the form for POSITION argument.
11241
11242 * term/x-win.el (x-menu-bar-open):
11243 Use the value returend from (posn-at-point) as position
11244 passed to `popup-menu'.
11245
11246 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
11247
11248 * calc/calccomp.el (math-compose-expr): Add extra argument
11249 indicating that parentheses should be put around products in
11250 denominators. Give multiplication precedence over division during
11251 composition.
11252
11253 2012-08-09 Chong Yidong <cyd@gnu.org>
11254
11255 * man.el (Man-switches, Man-sed-command, Man-awk-command)
11256 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
11257 (Man-untabify-command, manual-program): Convert to defcustom
11258 (Bug#10429).
11259
11260 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
11261
11262 * descr-text.el (describe-char): Don't insert extra newlines
11263 (Bug#10127).
11264
11265 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
11266 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
11267
11268 * align.el (align-region): Delete temporary markers (Bug#10047).
11269 Plus some code cleanups.
11270
11271 2012-08-09 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
11272
11273 * progmodes/python.el (python-pdbtrack-tracked-buffer)
11274 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
11275 (python-shell-internal-last-output): Use make-local-variable
11276 instead of make-variable-buffer-local.
11277
11278 2012-08-09 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
11279
11280 * progmodes/python.el: Enhancements to forward-sexp.
11281 (python-nav-forward-sexp): Rename from
11282 python-nav-forward-sexp-function.
11283 (python-nav--forward-sexp, python-nav--backward-sexp):
11284 New functions.
11285
11286 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
11287
11288 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
11289 modes and simplification modes.
11290
11291 2012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
11292
11293 * delsel.el (delete-selection-pre-hook): Don't propagate the
11294 file-supersession signals (bug#12161).
11295
11296 2012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
11297
11298 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
11299 (cl-map-extents): Add compatibility aliases (bug#12135).
11300
11301 2012-08-08 Michael Albinus <michael.albinus@gmx.de>
11302
11303 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
11304 tests by `ignore-error'.
11305 (tramp-find-shell): Open also a new shell, when cache is already
11306 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
11307
11308 2012-08-08 Juri Linkov <juri@jurta.org>
11309
11310 * bookmark.el: Add `defaults' property to the bookmark record.
11311 (bookmark-current-buffer): Doc fix.
11312 (bookmark-make-record): Add `defaults' property with default values
11313 to the bookmark record.
11314 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
11315 with `bookmark-insert-current-bookmark'.
11316 (bookmark-set): Get `defaults' property from the bookmark record
11317 and use it in `read-from-minibuffer'.
11318 (bookmark-insert-current-bookmark): Remove function.
11319
11320 * info.el (Info-bookmark-make-record): Add `defaults' property
11321 with values of canonical Info node name, the current Info file
11322 name and the current Info node name. (Bug#12107)
11323
11324 2012-08-08 Juri Linkov <juri@jurta.org>
11325
11326 * files.el (basic-save-buffer): Use `buffer-name' as the default
11327 of `read-file-name' when buffer is not visiting a file (bug#12128).
11328
11329 2012-08-08 Juri Linkov <juri@jurta.org>
11330
11331 * info.el (Info-isearch-search): Doc fix.
11332 (Info-search): Change search-failed message from "initial node" to
11333 "end of node" (bug#12078).
11334 (Info-isearch-search): Change `isearch-string-state' to
11335 `isearch--state-string'.
11336
11337 2012-08-08 Glenn Morris <rgm@gnu.org>
11338
11339 * language/persian.el: Remove file.
11340 * language/misc-lang.el: Move unique part of persian.el here.
11341 * loadup.el: Remove language/persian.
11342
11343 2012-08-08 Ă“scar Fuentes <ofv@wanadoo.es>
11344
11345 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
11346
11347 2012-08-08 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
11348
11349 * progmodes/python.el: Fix defsubst warning.
11350 (python-syntax-context) Rename from python-info-ppss-context.
11351 (python-syntax-context-type): Rename from
11352 python-info-ppss-context-type.
11353 (python-syntax-comment-or-string-p): Rename from
11354 python-info-ppss-comment-or-string-p.
11355
11356 2012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
11357
11358 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
11359
11360 2012-08-07 Andreas Schwab <schwab@linux-m68k.org>
11361
11362 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
11363 a defcustom that is quoted with backquote.
11364
11365 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
11366 Fix handling of interactive spec when the body uses return.
11367 (math-do-arg-check, math-define-function-body): Use backquote forms.
11368 * calc/calc-ext.el (math-defcache): Likewise.
11369 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
11370 * allout.el (allout-new-exposure): Likewise.
11371 * calc/calcalg2.el (math-tracing-integral): Likewise.
11372 * info.el (Info-last-menu-item): Likewise.
11373 * emulation/vip.el (vip-loop): Likewise.
11374 * textmodes/artist.el (artist-funcall): Likewise.
11375 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
11376 Construct menu-item directly.
11377
11378 * progmodes/autoconf.el (font-lock-syntactic-keywords):
11379 Don't declare.
11380
11381 2012-08-07 Chong Yidong <cyd@gnu.org>
11382
11383 * simple.el (deactivate-mark): Preserve text properties when
11384 saving the primary selection (Bug#8384).
11385
11386 2012-08-07 Kevin Ryde <user42@zip.com.au>
11387
11388 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
11389 (woman-parse-numeric-value): On a bad .IP line, issue a warning
11390 and continue processing (Bug#12110).
11391
11392 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
11393
11394 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
11395 syntax-propertize-function (bug#10095).
11396
11397 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
11398
11399 * help-fns.el (help-fns--key-bindings, help-fns--signature)
11400 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
11401 describe-function-1.
11402 (describe-function-1): Use them. Move compiler macro after sig.
11403 (help-fns--compiler-macro): Use function-get. Assume we're already in
11404 standard-output. Adjust layout to new call order.
11405
11406 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
11407 re-binding a symbol that has a symbol-macro (bug#12119).
11408
11409 2012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
11410
11411 * language/persian.el: New file. (Bug#11812)
11412 * loadup.el: Add language/persian.el.
11413
11414 2012-08-06 Chong Yidong <cyd@gnu.org>
11415
11416 * window.el (window--maybe-raise-frame): New function.
11417 (window--display-buffer): Split off from here.
11418 (display-buffer-reuse-window, display-buffer-pop-up-frame)
11419 (display-buffer-pop-up-window, display-buffer-use-some-window):
11420 Obey an inhibit-switch-frame action alist entry.
11421 (display-buffer): Update doc.
11422
11423 * replace.el (occur-after-change-function): Avoid losing focus by
11424 using the inhibit-switch-frame display parameter (Bug#12139).
11425
11426 2012-08-06 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
11427
11428 Make internal shell process buffer names start with space.
11429 * progmodes/python.el (python-shell-make-comint): Add optional
11430 argument INTERNAL.
11431 (run-python-internal): Use it.
11432 (python-shell-internal-get-or-create-process): Check for new
11433 internal buffer names.
11434
11435 2012-08-06 Glenn Morris <rgm@gnu.org>
11436
11437 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
11438 Do less getting and setting of environment variables.
11439
11440 2012-08-05 Chong Yidong <cyd@gnu.org>
11441
11442 * proced.el (proced): Add substitution string to docstring to
11443 trigger autoloading of the proced library on C-h f (Bug#1768).
11444
11445 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
11446 Don't show defvars which have no second argument (Bug#8638).
11447
11448 * imenu.el (imenu-generic-expression): Move documentation here
11449 from imenu--generic-function.
11450 (imenu--generic-function): Refer to imenu-generic-expression.
11451
11452 2012-08-05 Vegard Ă˜ye <vegard_oye@hotmail.com> (tiny change)
11453
11454 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
11455 indentation declaration.
11456 (viper-loop): Add indentation declaration (Bug#7025).
11457
11458 2012-08-05 Chong Yidong <cyd@gnu.org>
11459
11460 * help-fns.el (describe-variable): Add hyperlink for
11461 directory-local variables files. Improve buffer-local and
11462 permanent-local reporting; suggested by MON KEY (Bug#6644).
11463
11464 * help-mode.el (help-dir-local-var-def): New button type.
11465
11466 * files.el (kill-buffer-hook): Provide a defvar.
11467
11468 2012-08-05 Glenn Morris <rgm@gnu.org>
11469
11470 * eshell/esh-ext.el (eshell/addpath):
11471 Also update eshell-path-env. (Bug#12013)
11472
11473 2012-08-05 Chong Yidong <cyd@gnu.org>
11474
11475 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
11476
11477 * fringe.el (fringe-styles): Add docstring.
11478 (fringe--check-mode): New function.
11479 (set-fringe-mode, set-fringe-style): Use it.
11480 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
11481
11482 * files.el (set-auto-mode): Fix invalid setq call.
11483
11484 2012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
11485
11486 * isearch.el: Misc simplification; use defstruct.
11487 (isearch-mode-map): Dense maps now work like sparse ones.
11488 (isearch--state): New defstruct.
11489 (isearch-string-state, isearch-message-state, isearch-point-state)
11490 (isearch-success-state, isearch-forward-state)
11491 (isearch-other-end-state, isearch-word-state, isearch-error-state)
11492 (isearch-wrapped-state, isearch-barrier-state)
11493 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
11494 replaced by defstruct's accessors.
11495 (isearch--set-state): Rename from isearch-top-state and change
11496 calling convention.
11497 (isearch-push-state): Use new isearch--get-state.
11498 (isearch-toggle-word): Disable regexp when enabling word.
11499 (isearch-message-prefix): Remove unused arg _c-q-hack.
11500 (isearch-message-suffix): Remove unused arg _ellipsis.
11501
11502 2012-08-04 Andreas Schwab <schwab@linux-m68k.org>
11503
11504 * simple.el (list-processes--refresh): For a server use :host or
11505 :local as the address.
11506 (list-processes): Doc fix.
11507
11508 2012-08-04 Michal Nazarewicz <mina86@mina86.com>
11509
11510 * lisp/mpc.el: Support password in host argument.
11511 (mpc--proc-connect): Parse and use new password element.
11512 Set mpc-proc variable instead of returning process.
11513 (mpc-proc): Adjust accordingly.
11514
11515 2012-08-03 Eli Zaretskii <eliz@gnu.org>
11516
11517 * whitespace.el (whitespace-display-mappings): Use Unicode
11518 codepoints, instead of emacs-mule codepoints. See
11519 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
11520 for the details.
11521
11522 * files.el (file-truename): Don't skip symlink-chasing part on
11523 windows-nt. Incorporate the resolution of 8+3 short aliases on
11524 Windows into the loop that recursively chases symlinks.
11525 Compare directory and its parent case-insensitively on MS-Windows and
11526 MS-DOS.
11527
11528 2012-08-03 Chong Yidong <cyd@gnu.org>
11529
11530 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
11531
11532 * sort.el (sort-regexp-fields): Doc fix.
11533
11534 2012-08-03 Tassilo Horn <tsdh@gnu.org>
11535
11536 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
11537 labels regex position point at the expected place.
11538
11539 2012-08-03 MON KEY <monkey@sandpframing.com>
11540
11541 * net/imap.el (imap-interactive-login, imap-authenticate)
11542 (imap-mailbox-lsub, imap-mailbox-list)
11543 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
11544 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
11545 (imap-parse-response): Doc fix.
11546
11547 2012-08-03 JoĂ£o TĂ¡vora <joaotavora@gmail.com>
11548
11549 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
11550 if sexp scanning does not move point (Bug#5734).
11551
11552 2012-08-02 Tassilo Horn <tsdh@gnu.org>
11553
11554 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
11555 Add listings, minted, and ctable packages.
11556 (reftex-label-alist-builtin): Move listings, minted, and ctable
11557 entries before LaTeX.
11558 (reftex-label-alist): Docfix.
11559
11560 2012-08-02 Bastien Guerry <bzg@gnu.org>
11561
11562 * replace.el (occur): Fix docstring (bug#12122).
11563
11564 2012-08-02 Glenn Morris <rgm@gnu.org>
11565
11566 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
11567
11568 2012-08-02 Paul Eggert <eggert@cs.ucla.edu>
11569
11570 Obsolete alias inactivate-current-input-method-function (Bug#10150).
11571 * international/mule-cmds.el: Create
11572 inactivate-current-input-method-function as an obsolete alias for
11573 deactivate-current-input-method-function. See Katsumi Yamaoka in
11574 <http://bugs.gnu.org/10150#46>.
11575
11576 2012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
11577
11578 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
11579 of nested `if's.
11580
11581 2012-08-01 Glenn Morris <rgm@gnu.org>
11582
11583 * progmodes/autoconf.el (autoconf-definition-regexp):
11584 Add AH_TEMPLATE, adjust submatch numbering.
11585 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
11586 (autoconf-current-defun-function): Update for above change.
11587 (autoconf-current-defun-function): First skip to end of current word.
11588
11589 2012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
11590
11591 * calendar/cal-html.el (cal-html-insert-agenda-days):
11592 Fix typo. (Bug#12018)
11593
11594 2012-07-31 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
11595
11596 Shell processes: enhancements to startup and CEDET compatibility.
11597 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
11598 (python-shell-make-comint): accept-process-output at startup.
11599 (run-python-internal): Set inferior-python-mode-hook to nil.
11600 (python-shell-internal-get-or-create-process): Call sit-for.
11601 (python-preoutput-result): Add obsolete alias.
11602 (python-shell-internal-send-string): Use it.
11603 (python-shell-send-setup-code): Remove call to
11604 accept-process-output.
11605
11606 2012-07-31 Andreas Schwab <schwab@linux-m68k.org>
11607
11608 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
11609 (Bug#12108)
11610
11611 2012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
11612
11613 * calc-mode.el (calc-basic-simplification-mode): Rename from
11614 `calc-limited-simplification-mode'.
11615 (calc-alg-simplification-mode): New function.
11616 (calc-set-simplify-mode): Adjust message.
11617
11618 * calc.el (calc-set-mode-line): Adjust mode line display for
11619 basic simplification mode.
11620
11621 * calc-help.el (calc-m-prefix-help): Update help message.
11622
11623 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
11624 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
11625
11626 2012-07-31 Bastien Guerry <bzg@gnu.org>
11627
11628 * man.el (man): Fix comment. (bug#12101)
11629
11630 2012-07-31 Martin Rudalics <rudalics@gmx.at>
11631
11632 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
11633 Don't return a non-nil value when no suitable buffer was found.
11634
11635 2012-07-31 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
11636
11637 * progmodes/python.el (run-python-internal): Disable font lock for
11638 internal shells.
11639
11640 2012-07-30 Stefan Merten <smerten@oekonux.de>
11641
11642 * textmodes/rst.el: Silence `checkdoc-ispell'.
11643 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
11644 (rst-official-version, rst-official-cvs-rev)
11645 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
11646 (rst-mode-map): New key binding.
11647
11648 2012-07-30 Paul Eggert <eggert@cs.ucla.edu>
11649
11650 Update .PHONY listings in makefiles.
11651 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
11652 autoloads, update-subdirs, updates, bzr-update, update-authors,
11653 compile-onefile, compile-calc, backup-compiled-files,
11654 compile-after-backup, compile-one-process, mh-autoloads,
11655 bootstrap-clean, distclean, maintainer-clean.
11656
11657 2012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
11658
11659 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
11660 (calc-set-mode-line): Don't display "AlgSimp ".
11661
11662 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
11663 (calc-lim-simplify-mode): New function.
11664 (calc-set-simplify-mode): Default to 'alg.
11665 (calc-default-simplify-mode): Make algebraic simplifications
11666 the default.
11667
11668 * calc/calc-ext.el (calc-init-extensions): Remove binding for
11669 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
11670
11671 * calc/calc-help.el (calc-m-prefix-help): Change messages to
11672 indicate new simplification modes.
11673
11674 * calc/README: Mention new default simplification mode.
11675
11676 * calc/calc.el (math-normalize-error): New variable.
11677 (math-normalize): Set `math-normalize-error' to t
11678 when there's an error.
11679
11680 * calc/calc-alg.el (math-simplify): Don't simplify when
11681 `math-normalize' returns an error.
11682
11683 2012-07-29 Eli Zaretskii <eliz@gnu.org>
11684
11685 * international/mule-cmds.el (set-locale-environment): Revert last
11686 change, since display-graphic-p returns nil when this function is
11687 called during startup. Instead...
11688
11689 * term/w32console.el (terminal-init-w32console): ...setup the
11690 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
11691
11692 2012-07-29 Juri Linkov <juri@jurta.org>
11693
11694 * simple.el (goto-line): Don't display default line number in the
11695 prompt because it should be displayed by `read-number' (bug#9952).
11696 Add the current line number to the defaults of `goto-line' to
11697 allow its easier modification by users with `M-n' (bug#9201).
11698
11699 * subr.el (read-number): Support multiple default values like in
11700 other minibuffer reading functions. Replace `read' with
11701 `string-to-number' for consistency with `number-to-string'.
11702
11703 2012-07-29 Paul Eggert <eggert@cs.ucla.edu>
11704
11705 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
11706 * emulation/viper-init.el (viper-deactivate-input-method-action):
11707 Rename from viper-inactivate-input-method-action.
11708 (viper-deactivate-input-method):
11709 Rename from viper-inactivate-input-method.
11710 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
11711 * international/mule-cmds.el (deactivate-input-method):
11712 Rename from inactivate-input-method.
11713 Also run input-method-deactivate-hook.
11714 (deactivate-current-input-method-function):
11715 Rename from inactivate-current-input-method-function.
11716 (input-method-deactivate-hook): New hook.
11717 (input-method-inactivate-hook): Mark obsolete.
11718 (inactivate-input-method): Mark obsolete.
11719
11720 * international/quail.el (quail-activate):
11721 Also run quail-deactivate-hook.
11722 (quail-deactivate): Rename from quail-inactivate.
11723 * international/robin.el (robin-activate):
11724 Also run robin-deactivate-hook.
11725 (robin-deactivate): Rename from robin-inactivate.
11726
11727 2012-07-29 Chong Yidong <cyd@gnu.org>
11728
11729 * simple.el (indicate-copied-region): New function.
11730 (kill-ring-save): Split off from here.
11731
11732 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
11733 (kill-rectangle): Set deactivate-mark to t on read-only error.
11734
11735 * register.el (copy-to-register, copy-rectangle-to-register):
11736 Deactivate the mark, and use indicate-copied-region (Bug#10056).
11737 (append-to-register, prepend-to-register): Call indicate-copied-region.
11738
11739 2012-07-29 Juri Linkov <juri@jurta.org>
11740
11741 * simple.el (async-shell-command-buffer): New defcustom.
11742 (shell-command): Use it. (Bug#4719)
11743
11744 2012-07-28 Eli Zaretskii <eliz@gnu.org>
11745
11746 * international/mule-cmds.el (set-locale-environment): In a
11747 console session on MS-Windows, set up keyboard and terminal
11748 encoding from the OEM codepage, not the ANSI codepage.
11749 (Bug#12055)
11750
11751 2012-07-28 Chong Yidong <cyd@gnu.org>
11752
11753 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
11754 gdb-get-location.
11755
11756 2012-07-28 Leo Liu <sdl.web@gmail.com>
11757
11758 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
11759 the alist (bug#12029).
11760
11761 2012-07-28 Eli Zaretskii <eliz@gnu.org>
11762
11763 * makefile.w32-in (custom-deps, finder-data, updates, compile)
11764 (compile-always, compile-first)
11765 ($(lisp)/calendar/cal-loaddefs.el)
11766 ($(lisp)/calendar/diary-loaddefs.el)
11767 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
11768 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
11769 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
11770 instead of on update-subdirs.
11771 (bootstrap-clean): Delete $(lisp)/subdirs.el.
11772
11773 2012-07-28 Chong Yidong <cyd@gnu.org>
11774
11775 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
11776 directory if vc-deduce-backend returns nil (Bug#7350).
11777
11778 * simple.el (delete-trailing-lines): New option.
11779 (delete-trailing-whitespace): Obey it (Bug#11879).
11780
11781 2012-07-28 David Engster <deng@randomsample.de>
11782
11783 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
11784 Explanation of new 'symbol-qnames feature in doc-strings.
11785 (xml-maybe-do-ns): Return expanded names as plain symbols if
11786 'symbol-qnames was provided in XML-NS argument (Bug#11916).
11787 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
11788
11789 2012-07-27 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
11790
11791 Consistent completion in inferior python with emacs -nw.
11792 * progmodes/python.el (inferior-python-mode): Replace "<tab>"
11793 binding in inferior-python-mode-map with "\t".
11794 (python-shell-completion-complete-at-point)
11795 (python-completion-complete-at-point): Remove interactive spec.
11796
11797 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
11798
11799 * calc/calccomp.el (math-compose-expr): Undo previous change.
11800
11801 2012-07-27 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
11802
11803 * progmodes/python.el (python-mode-map): Add keybinding for
11804 run-python.
11805 (python-shell-make-comint): Fix pop-to-buffer call.
11806 (run-python): Autoload. New arg SHOW.
11807 (python-shell-get-or-create-process): Do not pop python process
11808 buffer.
11809
11810 2012-07-27 Michael Albinus <michael.albinus@gmx.de>
11811
11812 * notifications.el (notifications-on-action-signal)
11813 (notifications-on-closed-signal): Use also the bus address for the map.
11814 (notifications-notify, notifications-close-notification)
11815 (notifications-get-capabilities): Add optional argument BUS.
11816
11817 2012-07-27 Tassilo Horn <tsdh@gnu.org>
11818
11819 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
11820 Add support for the lstlisting and minted environments, and for the
11821 ctable macro.
11822 * textmodes/reftex.el (reftex-compile-variables): Also recognize
11823 labels written in keyvals syntax.
11824
11825 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
11826
11827 * calc/calccomp.el (math-compose-expr): Use parentheses when
11828 there is a product in the denominator of a fraction.
11829
11830 2012-07-26 Eli Zaretskii <eliz@gnu.org>
11831
11832 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
11833 ($(lisp)/calendar/diary-loaddefs.el)
11834 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
11835 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
11836 Fixes failures in parallel bootstrap because subdirs.el is being
11837 rewritten while the autoload files are built at the same time,
11838 which needs to load subdirs.el.
11839
11840 2012-07-26 Martin Rudalics <rudalics@gmx.at>
11841
11842 * mouse.el (popup-menu): Fix doc-string and re-indent code.
11843 (mouse-drag-line): Don't exit tracking when a switch-frame or
11844 switch-window event occurs (Bug#12006).
11845
11846 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
11847
11848 * mouse.el (popup-menu): Fix last change.
11849
11850 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
11851
11852 Autoload from Lisp with more care. Follow aliases when looking for
11853 function properties.
11854 * subr.el (autoloadp): New function.
11855 (symbol-file): Use it.
11856 (function-get): New function.
11857 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
11858 autoload-do-load.
11859 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
11860 (lisp-indent-function):
11861 * emacs-lisp/gv.el (gv-get):
11862 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
11863 * emacs-lisp/byte-opt.el (byte-optimize-form):
11864 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
11865 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
11866 Use function-get.
11867 * emacs-lisp/cl.el: Don't propagate function properties any more.
11868
11869 * speedbar.el (speedbar-add-localized-speedbar-support):
11870 * emacs-lisp/disass.el (disassemble-internal):
11871 * desktop.el (desktop-load-file):
11872 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
11873 (describe-function-1):
11874 * emacs-lisp/find-func.el (find-function-noselect):
11875 * emacs-lisp/elp.el (elp-instrument-function):
11876 * emacs-lisp/advice.el (ad-has-proper-definition):
11877 * apropos.el (apropos-safe-documentation, apropos-macrop):
11878 * emacs-lisp/debug.el (debug-on-entry):
11879 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
11880 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
11881 * calc/calc.el (name): Use autoloadp & autoload-do-load.
11882
11883 2012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
11884
11885 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
11886 function, not an obsolete variable (Bug#12046).
11887
11888 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
11889
11890 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
11891
11892 2012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
11893
11894 * emacs-lisp/pp.el (pp-display-expression): Select old selected
11895 window only if it is still live (Bug#12034).
11896
11897 2012-07-25 Martin Rudalics <rudalics@gmx.at>
11898
11899 * subr.el (redirect-frame-focus): Add advertised calling
11900 convention (Bug#12030).
11901
11902 2012-07-25 Paul Eggert <eggert@cs.ucla.edu>
11903
11904 Prefer typical American spelling for "acknowledgment".
11905 * vc/add-log.el (change-log-acknowledgment): Rename from
11906 change-log-acknowledgement, with an alias for the old name.
11907
11908 2012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
11909
11910 * calc-alg.el (math-simplify-divide): Don't cross multiply
11911 in an equation when the lhs is a variable.
11912
11913 2012-07-24 Julien Danjou <julien@danjou.info>
11914
11915 * net/netrc.el (netrc-find-service-number, netrc-store-data):
11916 Remove, unused.
11917
11918 2012-07-23 Eli Zaretskii <eliz@gnu.org>
11919
11920 * startup.el (command-line): Don't display an empty user name in
11921 the error message about non-existent home directory, when
11922 init-file-user was set to an empty string. See
11923 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
11924 for the details and context.
11925
11926 2012-07-22 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
11927
11928 * ses.el (ses-cell-formula-aset): New macro.
11929 (ses-cell-references-aset): New macro.
11930 (ses-cell-p): New function.
11931 (ses-rename-cell): Do no longer rely on complex operations like
11932 ses-cell-set-formula or ses-set-cell to change the cell and handle
11933 the undo at the same time, but rather use lower level new macros
11934 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
11935 the undo directly. Refresh the mode line.
11936
11937 2012-07-21 Leo Liu <sdl.web@gmail.com>
11938
11939 * progmodes/cc-cmds.el (c-defun-name):
11940 Use match-string-no-properties instead for consistency.
11941
11942 2012-07-20 Leo Liu <sdl.web@gmail.com>
11943
11944 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
11945 (Bug#7879)
11946
11947 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
11948
11949 2012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
11950
11951 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
11952 * progmodes/bug-reference.el, misearch.el: Provide themselves
11953 (bug#11915).
11954
11955 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
11956 of narrowed buffer (bug#11966).
11957
11958 2012-07-20 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
11959
11960 * ses.el (ses-rename-cell): Set new name also in reference list of
11961 cells of which the renamed cell depends.
11962
11963 2012-07-20 Masatake YAMATO <yamato@redhat.com>
11964
11965 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
11966 to check whether menu-bar is shown or not. If not shown,
11967 show the menu-bar as a popup menu instead of using tmm.
11968 * mouse.el (popup-menu): Accept `point' as `position' argument.
11969
11970 2012-07-20 Dmitry Gutov <dgutov@yandex.ru>
11971
11972 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
11973 up inside string symbol literal (bug#11923).
11974
11975 2012-07-20 Eli Zaretskii <eliz@gnu.org>
11976
11977 * startup.el (fancy-startup-text): Read the whole tutorial, not
11978 just its first 256 bytes. Prevents gibberish in display of the
11979 tutorial title.
11980
11981 2012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
11982
11983 Drop idle buffer compaction due to an absence of the
11984 proved efficiency.
11985 * compact.el: Remove.
11986
11987 2012-07-19 Sam Steingold <sds@gnu.org>
11988
11989 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
11990 vc-bzr-pull & vc-bzr-merge-branch.
11991 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
11992 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
11993 for consistency with compilation-error-regexp-alist.
11994 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
11995 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
11996 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
11997 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
11998
11999 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
12000
12001 * emacs-lisp/chart.el: Use lexical-binding.
12002 (chart-emacs-storage): Don't hardcode the list of entries.
12003
12004 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
12005
12006 Next round of tweaks caused by Fgarbage_collect changes.
12007 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
12008
12009 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
12010
12011 Compact buffers when idle.
12012 * compact.el: New file.
12013
12014 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
12015
12016 * subr.el (eventp): Presume that if it looks vaguely like an event,
12017 it's an event (bug#10190).
12018
12019 2012-07-19 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
12020
12021 Enhancements to ppss related code (thanks Stefan).
12022 * progmodes/python.el (python-indent-context)
12023 (python-indent-calculate-indentation, python-indent-dedent-line)
12024 (python-indent-electric-colon, python-nav-forward-block)
12025 (python-mode-abbrev-table)
12026 (python-info-assignment-continuation-line-p): Simplify checks
12027 for ppss context.
12028 (python-info-continuation-line-p): Cleanup.
12029 (python-info-ppss-context): Do not catch 'quote.
12030 (python-info-ppss-context-type)
12031 (python-info-ppss-comment-or-string-p): Simplify.
12032
12033 2012-07-18 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
12034
12035 * progmodes/python.el: Enhancements to eldoc support.
12036 (python-info-current-symbol): New function.
12037 (python-eldoc-at-point): Use python-info-current-symbol.
12038 (python-info-current-defun): Fix cornercase on first defun scan.
12039 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
12040 and signal error when no inferior python process is available.
12041
12042 2012-07-18 Dmitry Gutov <dgutov@yandex.ru>
12043
12044 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
12045 assume it's always t.
12046 (vc-git-registered): Remove caching, the function is only called
12047 once.
12048 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
12049
12050 2012-07-18 Chong Yidong <cyd@gnu.org>
12051
12052 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
12053
12054 * simple.el (count-words): Report on narrowing (Bug#9959).
12055
12056 * bindings.el: Bind M-= to count-words.
12057
12058 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
12059
12060 2012-07-18 Masatake YAMATO <yamato@redhat.com>
12061
12062 * progmodes/sh-script.el (sh-imenu-generic-expression):
12063 Capture a function with `function' keyword and without parentheses
12064 like "function FOO" (bug#11856).
12065
12066 2012-07-18 Tassilo Horn <tassilo@member.fsf.org>
12067
12068 * window.el (split-window-sensibly): Make WINDOW argument
12069 optional.
12070
12071 2012-07-18 Chong Yidong <cyd@gnu.org>
12072
12073 * subr.el (keyboard-translate): Doc fix (Bug#7261).
12074
12075 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
12076 and make C-x 8 RET exit isearch (Bug#11439).
12077
12078 * international/iso-transl.el: Move isearch-mode-map key
12079 definitions to isearch.el.
12080
12081 2012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
12082
12083 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
12084 (eieio-defclass): Use gv-define-setter when possible.
12085
12086 2012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
12087
12088 Reflect recent changes in Fgarbage_collect.
12089 * emacs-lisp/chart.el (chart-emacs-storage): Change to
12090 reflect new format of data returned by Fgarbage_collect.
12091
12092 2012-07-17 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
12093
12094 New utility functions + python-info-ppss-context fix (Bug#11910).
12095 * progmodes/python.el (python-info-beginning-of-block-statement-p)
12096 (python-info-ppss-comment-or-string-p): New functions.
12097 (python-info-ppss-context): Small fix for string check.
12098
12099 2012-07-17 Juri Linkov <juri@jurta.org>
12100
12101 * dired-aux.el (dired-do-async-shell-command): Doc fix.
12102 (dired-do-async-shell-command): Don't add `*' at the end of the
12103 command (Bug#11815).
12104 (dired-do-shell-command): Doc fix.
12105 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
12106 Join the individual commands using either "&" or ";" as the
12107 separator depending on the values of these trailing characters.
12108 At the end re-add the trailing "&". (Bug#10598)
12109
12110 * simple.el (async-shell-command): Sync the interactive spec with
12111 `shell-command'. Doc fix.
12112 (shell-command): Doc fix.
12113
12114 2012-07-17 Juri Linkov <juri@jurta.org>
12115
12116 * descr-text.el (describe-char): Fix format args. (Bug#10129)
12117
12118 2012-07-17 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
12119
12120 Final renames and doc fixes for movement commands (bug#11899).
12121 * progmodes/python.el (python-nav-beginning-of-statement):
12122 Rename from python-nav-statement-start.
12123 (python-nav-end-of-statement): Rename from
12124 python-nav-statement-end.
12125 (python-nav-beginning-of-block): Rename from
12126 python-nav-block-start.
12127 (python-nav-end-of-block): Rename from python-nav-block-end.
12128
12129 2012-07-17 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
12130
12131 * progmodes/python.el (python-shell-send-string-no-output):
12132 Allow accept-process-output to quit, keeping shell process ready for
12133 future interactions (Bug#11868).
12134
12135 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
12136
12137 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
12138
12139 * emacs-lisp/elint.el (elint-find-args-in-code):
12140 Use help-function-arglist, so as to handle lexical byte-code.
12141
12142 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
12143 change (bug#11826).
12144
12145 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
12146
12147 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
12148 Avoid spuriously marking the buffer as modified because of c-is-sws.
12149
12150 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
12151 as not-a-comment (bug#11946).
12152
12153 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
12154 for uninterned vars.
12155
12156 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
12157 Use read-event since we don't really want to read chars but bytes.
12158
12159 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
12160 $$..$$ but also $..$ using regexps (bug#11953).
12161 Use tex-verbatim for \url and \path.
12162 (tex-font-lock-keywords): Define as defconst like the others.
12163 (tex-common-initialization): Don't use font-lock-syntax-table any more.
12164
12165 2012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
12166
12167 * international/mule-cmds.el (ucs-insert): Make it an obsolete
12168 alias for insert-char.
12169
12170 2012-07-16 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
12171
12172 * progmodes/python.el: Simplified imenu implementation.
12173 (python-nav-jump-to-defun): Remove command.
12174 (python-mode-map): Use `imenu' instead.
12175 (python-nav-list-defun-positions-cache)
12176 (python-imenu-include-defun-type, python-imenu-make-tree)
12177 (python-imenu-subtree-root-label, python-imenu-index-alist):
12178 Remove vars.
12179 (python-nav-list-defun-positions, python-nav-read-defun)
12180 (python-imenu-tree-assoc, python-imenu-make-element-tree)
12181 (python-imenu-make-tree, python-imenu-create-index):
12182 Remove functions.
12183 (python-mode): Update to interact with imenu by setting
12184 `imenu-extract-index-name-function' only.
12185
12186 2012-07-16 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
12187
12188 * progmodes/python.el: Enhancements to navigation commands.
12189 (python-nav-backward-sentence)
12190 (python-nav-forward-sentence): Remove.
12191 (python-nav-backward-statement, python-nav-forward-statement)
12192 (python-nav-statement-start, python-nav-statement-end)
12193 (python-nav-backward-block, python-nav-forward-block)
12194 (python-nav-block-start, python-nav-block-end)
12195 (python-nav-forward-sexp-function)
12196 (python-info-current-line-comment-p)
12197 (python-info-current-line-empty-p): New functions.
12198 (python-indent-context): Use `python-nav-statement-start'.
12199
12200 2012-07-16 Michael Albinus <michael.albinus@gmx.de>
12201
12202 * eshell/em-ls.el (eshell/ls): Use `apply'.
12203
12204 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
12205 multi-hops, instead of Tramp internals.
12206
12207 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
12208
12209 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
12210 when F1 and F2 are located on different hosts.
12211
12212 2012-07-14 Chong Yidong <cyd@gnu.org>
12213
12214 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
12215 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
12216 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
12217 (xterm-mouse--read-event-sequence-1000)
12218 (xterm-mouse--read-event-sequence-1006): New functions. For old
12219 mouse protocol, handle M-mouse-X events correctly.
12220 (xterm-mouse-event): New arg specifying mouse protocol.
12221 (turn-on-xterm-mouse-tracking-on-terminal)
12222 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
12223 sequence to toggle extended coordinates on newer XTerms.
12224 This appears to be harmless on terminals which do not support this.
12225
12226 2012-07-14 Leo Liu <sdl.web@gmail.com>
12227
12228 Add fringe bitmap indicators for flymake. (Bug#11253)
12229 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
12230 (flymake-make-overlay): New arg BITMAP.
12231 (flymake-error-bitmap, flymake-warning-bitmap)
12232 (flymake-fringe-indicator-position): New user variables.
12233
12234 * fringe.el: New bitmap exclamation-mark.
12235
12236 2012-07-14 Jan Djärv <jan.h.d@swipnet.se>
12237
12238 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
12239 also (Bug#7879).
12240
12241 2012-07-14 Chong Yidong <cyd@gnu.org>
12242
12243 * electric.el (electric-pair-post-self-insert-function): Fix pair
12244 insertion in empty-region case (Bug#11520).
12245
12246 2012-07-14 Chong Yidong <cyd@gnu.org>
12247
12248 * bindings.el: Consolidate ctl-x-r-map bindings.
12249 Bind copy-rectangle-as-kill to C-x r w.
12250
12251 * rect.el, register.el: Move bindings to bindings.el.
12252
12253 2012-07-14 Reuben Thomas <rrt@sc3d.org>
12254
12255 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
12256
12257 2012-07-13 Andreas Schwab <schwab@linux-m68k.org>
12258
12259 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
12260
12261 2012-07-13 Juanma Barranquero <lekktu@gmail.com>
12262
12263 * bindings.el (top): Use `mapc' instead of `mapcar'.
12264
12265 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
12266
12267 2012-07-13 Michael Albinus <michael.albinus@gmx.de>
12268
12269 * progmodes/sql.el (sql-comint): Suppress the check for program on
12270 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
12271 (Bug#11908)
12272
12273 2012-07-13 Chong Yidong <cyd@gnu.org>
12274
12275 * bindings.el: Assign a non-nil permanent-local property to
12276 per-buffer variables which lack a default value (Bug#11930).
12277
12278 * help-fns.el (describe-variable): In the "automatically becomes
12279 local" notice, take note of permanent-local variables.
12280
12281 2012-07-13 Chong Yidong <cyd@gnu.org>
12282
12283 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
12284 to allow printing the message when called from Lisp.
12285
12286 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
12287 Remove toggle-read-only.
12288
12289 * bs.el (bs-toggle-readonly):
12290 * buff-menu.el (Buffer-menu-toggle-read-only):
12291 Remove with-no-warnings around toggle-read-only.
12292
12293 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
12294 Remove with-no-warnings around toggle-read-only.
12295 (ffap-read-only, ffap-read-only-other-window)
12296 (ffap-read-only-other-frame): Callers changed.
12297
12298 * help-mode.el: Don't require view package.
12299 (help-mode-finish): Set buffer-read-only instead of calling
12300 toggle-read-only.
12301
12302 * bindings.el (mode-line-toggle-read-only):
12303 * dired.el (dired-toggle-read-only):
12304 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
12305 with non-nil second arg.
12306
12307 * emacs-lisp/eieio-custom.el (eieio-customize-object):
12308 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
12309 directly.
12310
12311 2012-07-12 Eli Zaretskii <eliz@gnu.org>
12312
12313 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
12314 not incf.
12315
12316 2012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
12317
12318 More CL cleanups and reduction of use of cl.el.
12319 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
12320 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
12321 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
12322 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
12323 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
12324 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
12325 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
12326 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
12327 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
12328 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
12329 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
12330 * eshell/em-cmpl.el, eshell/em-banner.el:
12331 * calendar/parse-time.el: Use cl-lib.
12332 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
12333 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
12334 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
12335 * term/ns-win.el, term.el, shell.el, ps-samp.el:
12336 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
12337 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
12338 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
12339 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
12340 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
12341 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
12342 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
12343 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
12344 `lambda' rather than with `quote'.
12345 (eshell-do-opt): Adjust accordingly.
12346 (eshell-process-option): Simplify.
12347 * eshell/esh-var.el:
12348 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
12349 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
12350 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
12351 to `pcase--dontcare'.
12352 * emacs-lisp/cl.el (labels): Mark obsolete.
12353 (cl--letf, letf): Move to cl-lib.
12354 (cl--letf*, letf*): Remove.
12355 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
12356 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
12357 (cl-progv): Rewrite.
12358 (cl--letf, cl-letf): Move from cl.el.
12359 (cl-letf*): New macro.
12360 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
12361
12362 2012-07-11 Michael Albinus <michael.albinus@gmx.de>
12363
12364 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
12365
12366 2012-07-11 Chong Yidong <cyd@gnu.org>
12367
12368 * vc/log-edit.el (log-edit-vc-backend): New variable.
12369 (log-edit): Doc fix.
12370
12371 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
12372 argument of log-edit to set up all local variables.
12373 (vc-start-logentry): New optional arg specifying VC backend.
12374
12375 * vc/vc.el (vc-checkin): Use it.
12376 (vc-deduce-fileset): Handle Log Edit buffers.
12377 (vc-diff): Make first argument optional too.
12378
12379 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
12380
12381 2012-07-10 Michael Albinus <michael.albinus@gmx.de>
12382
12383 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
12384 command, just in case. The function is not needed anymore.
12385 (eshell-external-command): Do not call `eshell-remote-command'.
12386
12387 2012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
12388
12389 Reduce use of (require 'cl).
12390 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
12391 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
12392 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
12393 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
12394 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
12395 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
12396 * battery.el, avoid.el, abbrev.el: Use cl-lib.
12397 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
12398 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
12399 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
12400 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
12401 * calculator.el, autorevert.el, apropos.el: Don't require CL.
12402 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
12403 (byte-compile-unfold-bcf, byte-compile-check-variable):
12404 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
12405 (byte-compile-nilconstp):
12406 * emacs-lisp/autoload.el (make-autoload): Use pcase.
12407 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
12408
12409 * emacs-lisp/gv.el (cond): Make it a valid place.
12410 (if): Simplify slightly.
12411
12412 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
12413 (pcase--self-quoting-p): New function.
12414 (pcase--u1): Use it.
12415
12416 2012-07-10 Glenn Morris <rgm@gnu.org>
12417
12418 * emacs-lisp/authors.el (authors-fixed-entries):
12419 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
12420
12421 2012-07-09 Paul Eggert <eggert@cs.ucla.edu>
12422
12423 Rename configure.in to configure.ac (Bug#11603).
12424 * emacs-lisp/authors.el (authors-canonical-file-name):
12425 * progmodes/autoconf.el (autoconf-mode):
12426 Prefer configure.ac to configure.in.
12427
12428 2012-07-08 Chong Yidong <cyd@gnu.org>
12429
12430 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
12431 Implement the mouse-1-click-follows-link handling properly.
12432
12433 * info.el (Info-link-keymap): Use follow-link mechanism for
12434 header-line links (Bug#374).
12435
12436 * simple.el (deactivate-mark): Do not set the primary selection
12437 if another program has acquired it (Bug#11772).
12438
12439 2012-07-07 Kevin Ryde <user42@zip.com.au>
12440
12441 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
12442 (woman-decode-region): Replace escaped-escapes without destroying
12443 bold or underline (Bug#11552).
12444 (woman2-process-escapes): Handle nofill regions (Bug#11591).
12445
12446 2012-07-07 Chong Yidong <cyd@gnu.org>
12447
12448 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
12449 (interprogram-cut-function, interprogram-paste-function):
12450 Mention that we typically mean the clipboard.
12451
12452 2012-07-06 Glenn Morris <rgm@gnu.org>
12453
12454 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
12455
12456 * files.el (toggle-read-only): Restrict message to interactive use.
12457
12458 2012-07-06 Michael Albinus <michael.albinus@gmx.de>
12459
12460 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
12461
12462 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
12463
12464 2012-07-06 Glenn Morris <rgm@gnu.org>
12465
12466 * Makefile.in (compile-one-process): Rename from "recompile".
12467
12468 * Makefile.in (bzr-update): "compile" is the same as "recompile
12469 autoloads", but parallelizable, so use that instead.
12470
12471 2012-07-06 Dmitry Gutov <dgutov@yandex.ru>
12472
12473 * window.el (quit-window): Always restore window height when
12474 it's saved in quit-restore parameter (Bug#11810).
12475
12476 2012-07-06 Glenn Morris <rgm@gnu.org>
12477
12478 * simple.el (kill-whole-line): Doc tweak.
12479
12480 2012-07-06 Eli Zaretskii <eliz@gnu.org>
12481
12482 * files.el (file-relative-name): Compare file names
12483 case-insensitively if on MS-Windows or MS-DOS, or if
12484 read-file-name-completion-ignore-case is non-nil. Don't use
12485 case-fold-search for this purpose. (Bug#11827)
12486
12487 2012-07-17 Andreas Schwab <schwab@linux-m68k.org>
12488
12489 * calendar/cal-dst.el (calendar-current-time-zone):
12490 Return calendar-current-time-zone-cache if non-nil.
12491
12492 2012-07-17 Masatake YAMATO <yamato@redhat.com>
12493 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
12494
12495 * calendar/cal-dst.el (calendar-current-time-zone):
12496 Return calendar-current-time-zone-cache if non-nil.
12497
12498 2012-07-06 Glenn Morris <rgm@gnu.org>
12499
12500 * Makefile.in (cvs-update): Remove old alias.
12501
12502 2012-07-05 Michael Albinus <michael.albinus@gmx.de>
12503
12504 Sync with Tramp 2.2.6-pre.
12505
12506 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
12507 compatible declaration.
12508
12509 * net/tramp-cmds.el (tramp-append-tramp-buffers):
12510 Protect `list-load-path-shadows' call.
12511
12512 * net/tramp-compat.el (top): Require packages, which aren't
12513 autoloaded anymore for XEmacs. Protect call of
12514 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
12515 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
12516 it hurts at least for SXEmacs.
12517 (tramp-compat-temporary-file-directory): In XEmacs, there is no
12518 standard-value for `temporary-file-directory'.
12519
12520 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
12521 Redirect stderr to /dev/null.
12522 (tramp-sh-handle-write-region): uid and gid can be floats.
12523 Reported by Russell Sim <russell.sim@gmail.com>.
12524 (tramp-sh-handle-vc-registered): Hide errors.
12525 (tramp-vc-file-name-handler): Use dummy results for `process-file'
12526 and `start-file-process'.
12527 (tramp-maybe-open-connection): Check also whether `non-essential'
12528 is bound.
12529
12530 2012-07-04 Chong Yidong <cyd@gnu.org>
12531
12532 * xml.el (xml--parse-buffer): Use xml-syntax-table.
12533 (xml-parse-tag): Likewise, and avoid changing entity tables.
12534 (xml-syntax-table): Define from scratch, making sure not to give
12535 x2000 and other Unicode spaces whitespace syntax, since those are
12536 not spaces in XML.
12537 (xml-parse-fragment): Delete unused function.
12538 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
12539 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
12540 (xml-entity-ref, xml-pe-reference-re)
12541 (xml-reference-re, xml-att-value-re, xml-tokenized-type-re)
12542 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
12543 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
12544 (xml-entity-value-re): Use syntax references in regexps where
12545 possible; no need to define inside a let-binding.
12546 (xml-parse-dtd): Use xml-pe-reference-re.
12547 (xml-entity-or-char-ref-re): New defconst.
12548 (xml-parse-string, xml-substitute-special): Use it.
12549
12550 2012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
12551
12552 * files.el (locate-dominating-file): Allow `name' to be a predicate.
12553 (find-file--read-only): New function.
12554 (find-file-read-only, find-file-read-only-other-window)
12555 (find-file-read-only-other-frame): Use it.
12556 (insert-file-contents-literally): Don't `fset'.
12557 (get-free-disk-space): Use locate-dominating-file.
12558
12559 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
12560 function is already compiled.
12561
12562 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
12563
12564 2012-07-03 Michael Albinus <michael.albinus@gmx.de>
12565
12566 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
12567 files on the same host.
12568
12569 2012-07-03 Andreas Schwab <schwab@linux-m68k.org>
12570
12571 * help-fns.el (describe-function-1): Only call
12572 help-fns--autoloaded-p when we have a file name. (Bug#11848)
12573
12574 2012-07-03 Chong Yidong <cyd@gnu.org>
12575
12576 * xml.el: Protect parser against XML bombs.
12577 (xml-entity-expansion-limit): New variable.
12578 (xml-parse-string, xml-substitute-special): Use it.
12579 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
12580
12581 2012-07-03 Glenn Morris <rgm@gnu.org>
12582
12583 * progmodes/bug-reference.el (bug-reference-bug-regexp):
12584 Allow linking to specific messages in debbugs reports (eg 123#5).
12585
12586 2012-07-02 Chong Yidong <cyd@gnu.org>
12587
12588 * xml.el: Fix entity and character reference expansion, allowing
12589 them to expand into markup as per XML spec.
12590 (xml-default-ns): New variable.
12591 (xml-entity-alist): Use XML spec definitions for lt and amp.
12592 (xml-parse-region): Make first two arguments optional.
12593 Discard text properties.
12594 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
12595 All callers changed.
12596 (xml-parse-tag): Call xml-parse-tag-1. For backward
12597 compatibility, this function should not modify buffer contents.
12598 (xml-parse-tag-1): Fix opening-tag regexp.
12599 (xml-parse-string): Rewrite, handling entity and character
12600 references properly.
12601 (xml--entity-replacement-text): Signal an error if a parameter
12602 entity is undefined.
12603
12604 2012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
12605
12606 * comint.el (comint-output-filter): Filter out repeated prompts.
12607
12608 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
12609 and file-name-absolute-p.
12610 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
12611 internal calls.
12612
12613 2012-07-02 Paul Eggert <eggert@cs.ucla.edu>
12614
12615 Spelling fixes.
12616 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
12617 Rename from byte-compile--refiy-function. All uses changed.
12618
12619 2012-07-01 Chong Yidong <cyd@gnu.org>
12620
12621 * xml.el (xml--parse-buffer): New function. Move most of
12622 xml-parse-region here.
12623 (xml-parse-region): Copy region into a temporary buffer, since
12624 parameter entity substitution requires changing buffer contents.
12625 Use xml--parse-buffer.
12626 (xml-parse-file): Use xml--parse-buffer.
12627 (xml-parse-dtd): Make parameter entity substitution work right.
12628 Use proper regexps for ELEMENT declarations (Bug#7172).
12629
12630 2012-06-30 Glenn Morris <rgm@gnu.org>
12631
12632 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
12633
12634 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
12635 Remove outdated and unnecessary dbus declarations.
12636
12637 2012-06-30 Eli Zaretskii <eliz@gnu.org>
12638
12639 * emacs-lisp/timer.el (timer-until): Subtract results of
12640 float-time, instead of taking float-time of the result of
12641 time-subtract, since float-time signals an error for negative time
12642 arguments.
12643
12644 2012-06-30 Chong Yidong <cyd@gnu.org>
12645
12646 * xml.el (xml-*-re): Convert defvars into defconsts, and
12647 eval-and-compile them so eval-and-compile works on derivatives.
12648 (xml--entity-replacement-text): Use eval-and-comple.
12649
12650 2012-06-30 Michael Albinus <michael.albinus@gmx.de>
12651
12652 * vc/vc-git.el (vc-git-registered): Use cache property
12653 `git-registered'.
12654 (vc-git-mode-line-string): Call `vc-working-revision' instead of
12655 `vc-git-working-revision' in order to benefit from the cache.
12656 (vc-git-root): Use cache property `git-root'. (Bug#11757)
12657
12658 2012-06-30 Dmitry Gutov <dgutov@yandex.ru>
12659
12660 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
12661 removed (likely outside Emacs). (Bug#11757)
12662
12663 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
12664
12665 * emacs-lisp/cl-lib.el: Require macroexp.
12666
12667 2012-06-30 Chong Yidong <cyd@gnu.org>
12668
12669 * xml.el: Implement XML parameter entities.
12670 (xml-parameter-entity-alist): New variable.
12671 (xml-parse-region, xml-parse-fragment): Preserve previous values
12672 of xml-entity-alist and xml-parameter-entity-alist, so that
12673 repeated calls on different documents do not change them.
12674 (xml-parse-tag): Fix doctype regexp.
12675 (xml--entity-replacement-text): New function.
12676 (xml-parse-dtd): Use it. Don't handle system entities; doing that
12677 properly requires url retrieval which is unimplemented.
12678 (xml-escape-string): Doc fix.
12679
12680 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
12681
12682 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
12683
12684 2012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
12685
12686 * fringe.el (fringe-mode): Doc fix.
12687
12688 2012-06-29 Michael Albinus <michael.albinus@gmx.de>
12689
12690 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
12691 is non-nil.
12692 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
12693 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
12694
12695 2012-06-29 Andreas Schwab <schwab@linux-m68k.org>
12696
12697 * calendar/cal-dst.el (calendar-current-time-zone):
12698 Return calendar-current-time-zone-cache if non-nil.
12699
12700 2012-06-29 Masatake YAMATO <yamato@redhat.com>
12701
12702 * progmodes/which-func.el (which-func-format):
12703 Add mouse-face. (Bug#11698)
12704
12705 2012-06-29 Leo Liu <sdl.web@gmail.com>
12706
12707 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
12708
12709 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
12710
12711 * minibuffer.el (minibuffer-confirm-exit-commands):
12712 Add completion-at-point (bug#11725).
12713
12714 2012-06-29 Glenn Morris <rgm@gnu.org>
12715
12716 * progmodes/f90.el (f90-font-lock-keywords-2):
12717 Add some preprocessor elements. (Bug#10499)
12718
12719 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
12720
12721 * progmodes/cperl-mode.el (cperl-update-syntaxification):
12722 Use syntax-propertize (bug#11739).
12723
12724 2012-06-28 Juanma Barranquero <lekktu@gmail.com>
12725
12726 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
12727
12728 2012-06-28 Julien Danjou <julien@danjou.info>
12729
12730 * term.el (term-handle-colors-array): Use a set of new faces to
12731 color the terminal. Also uses :inverse-video property.
12732 (term-default-fg-color): Set to nil by default, deprecate in favor
12733 of `term-face'.
12734 (term-default-bg-color): Set to nil by default, deprecate in favor
12735 of `term-face'.
12736 (term-current-face): Use `term-face' by default.
12737 (term-bold-attribute): Variable deleted.
12738
12739 2012-06-28 Glenn Morris <rgm@gnu.org>
12740
12741 * simple.el (completion-list-mode-finish):
12742 Don't use toggle-read-only. (Since completion-list-mode has
12743 a special mode-class, it wasn't doing anything extra anyway.)
12744
12745 2012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
12746
12747 Make inlining of other-mode interpreted functions work (bug#11799).
12748 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
12749 (byte-compile): Use it to fix compilation of lexical-binding closures.
12750 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
12751 function, if needed.
12752
12753 2012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
12754
12755 * help-mode.el (help-make-xrefs): Don't just withstand
12756 cyclic-variable-indirection but any error in documentation-property.
12757
12758 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
12759 memory use.
12760 * bindings.el (bindings--define-key): New function.
12761 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
12762 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
12763 * bindings.el: Use it to purecopy define-key bindings.
12764
12765 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
12766
12767 * emacs-lisp/cl.el (flet): Mark obsolete.
12768 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
12769 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
12770 * progmodes/js.el (js-c-fill-paragraph):
12771 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
12772 (ebrowse-switch-member-buffer-to-derived-class):
12773 * play/5x5.el (5x5-solver): Use cl-flet.
12774
12775 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
12776 (cl--symbol-function): New macro.
12777 (cl--letf, cl--letf*): Use it.
12778
12779 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
12780 Strip "toggle-" if any.
12781
12782 2012-06-27 Glenn Morris <rgm@gnu.org>
12783
12784 * info.el (Info-default-directory-list): Move here from paths.el.
12785 * paths.el: Remove file, which is now empty.
12786 * loadup.el: No longer load "paths".
12787
12788 * custom.el (custom-initialize-delay): Doc fix.
12789
12790 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
12791 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
12792 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
12793 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
12794 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
12795 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
12796 * eshell/eshell.el (eshell-defgroup): Remove alias.
12797
12798 2012-06-27 Chong Yidong <cyd@gnu.org>
12799
12800 * help.el (help-enable-auto-load): New variable.
12801
12802 * help-fns.el (help-fns--autoloaded-p): New function.
12803 (describe-function-1): Refer to a function as "autoloaded" if it
12804 was autoloaded at any time in the past. Perform autoloading if
12805 help-enable-auto-load is non-nil.
12806
12807 2012-06-26 Eli Zaretskii <eliz@gnu.org>
12808
12809 * makefile.w32-in (compile, compile-always): Depend on
12810 update-subdirs, not on subdirs.el. Otherwise, several different
12811 sub-targets of 'bootstrap' running in parallel could
12812 simultaneously write to subdirs.el, producing a garbled file.
12813
12814 2012-06-26 Sam Steingold <sds@gnu.org>
12815
12816 * files.el (file-name-base): New convenience function.
12817 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
12818 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
12819 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
12820 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
12821 * textmodes/ispell.el, textmodes/reftex-ref.el:
12822 * textmodes/tex-mode.el: Use it.
12823 Did not touch cedet and org because they are maintained elsewhere.
12824
12825 2012-06-26 Martin Rudalics <rudalics@gmx.at>
12826
12827 * calendar/calendar.el (calendar-exit): Don't try to delete or
12828 iconify last frame. See:
12829 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
12830
12831 2012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
12832
12833 * server.el (server-process-filter): Remember dir in the
12834 process's `server-client-directory' properties.
12835
12836 2012-06-24 Chong Yidong <cyd@gnu.org>
12837
12838 * xml.el (xml-parse-tag): Correctly handle comment embedded in
12839 non-tag text.
12840
12841 2012-06-23 Juanma Barranquero <lekktu@gmail.com>
12842
12843 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
12844
12845 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
12846
12847 * help-fns.el (describe-variable): Don't croak when doc is not found.
12848 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
12849 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
12850 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
12851 * emacs-lisp/smie.el (smie-next-sexp): CSE.
12852 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
12853 ((lambda ..) ..).
12854 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
12855
12856 2012-06-23 Chong Yidong <cyd@gnu.org>
12857
12858 * info.el (Info-mouse-follow-link): Accept symbol values of
12859 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
12860 (Info-fontify-node): Use Info-link-keymap for all navigation
12861 buttons, with link-args property to perform the desired action.
12862 (Info-link-keymap): Doc fix.
12863 (Info-next-link-keymap, Info-prev-link-keymap)
12864 (Info-up-link-keymap): Delete now-unused keymaps.
12865
12866 2012-06-23 Chong Yidong <cyd@gnu.org>
12867
12868 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
12869
12870 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
12871 system abbrevs.
12872
12873 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
12874
12875 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
12876
12877 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
12878 (bug#11719).
12879
12880 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
12881 the requote function doesn't work properly (bug#11714).
12882
12883 2012-06-23 Glenn Morris <rgm@gnu.org>
12884
12885 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
12886
12887 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
12888
12889 Further GV/CL cleanups.
12890 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
12891 gv-expander.
12892 (gv--defun-declaration): New function.
12893 (defun-declarations-alist): Use it.
12894 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
12895 (gv-place): Autoload.
12896 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
12897 original definition of dotimes and dolist.
12898 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
12899 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
12900 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
12901 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
12902 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
12903 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
12904 to the function's definition.
12905 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
12906 * window.el:
12907 * files.el:
12908 * faces.el:
12909 * env.el: Don't use CL.
12910
12911 2012-06-22 Paul Eggert <eggert@cs.ucla.edu>
12912
12913 Support higher-resolution time stamps (Bug#9000).
12914
12915 * calendar/time-date.el (with-decoded-time-value): New arg
12916 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
12917 (encode-time-value): New optional arg PICO. New type 3.
12918 (time-to-seconds) [!float-time]: Support the new picoseconds
12919 component if it's used.
12920 (seconds-to-time, time-subtract, time-add):
12921 Support ps-resolution time stamps as well.
12922
12923 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
12924 (timerp): Timer vectors now have length 9, not 8.
12925 (timer--time): Support new-style (4-part) time stamps.
12926 (timer-next-integral-multiple-of-time): Time stamps now have
12927 picosecond resolution, so take a bit more care about rounding.
12928 (timer-relative-time, timer-inc-time): New optional arg psecs.
12929 (timer-set-time-with-usecs): Set psecs to 0.
12930 (timer--activate): Check psecs component, too.
12931
12932 * proced.el (proced-time-lessp): Support ps-resolution stamps.
12933
12934 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
12935
12936 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
12937 Move the non-essential binding to the post/pre-command-hook where it is
12938 more obviously correct.
12939
12940 * subr.el (read-passwd): Don't use a history at all.
12941 * savehist.el (savehist-save): Remove password saved accidentally
12942 because of the above bug.
12943
12944 2012-06-22 Bastien Guerry <bzg@gnu.org>
12945
12946 * files.el (toggle-read-only): Display a message telling whether
12947 the buffer is read-only or not (bug#11726).
12948
12949 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
12950
12951 * emacs-lisp/gv.el: New file.
12952 * subr.el (push, pop): Extend to generalized variables.
12953 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
12954 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
12955 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
12956 gv-define-simple-setter, and gv-define-expander.
12957 Remove setf-methods defined in gv. Rename cl-setf -> setf.
12958 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
12959 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
12960 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
12961 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
12962 gv-letplace.
12963 (cl-defstruct): Don't define setf-method any more.
12964 * emacs-lisp/cl.el (flet): Don't autoload.
12965 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
12966 (define-setf-expander, defsetf, define-modify-macro)
12967 (cl-struct-setf-expander): Move from cl-lib.el.
12968 * emacs-lisp/syntax.el:
12969 * emacs-lisp/ewoc.el:
12970 * emacs-lisp/smie.el:
12971 * emacs-lisp/cconv.el:
12972 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
12973 (timer--time): Use gv-define-simple-setter.
12974 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
12975 to avoid coding-system problems in subr.el. Adjust all users.
12976 (macroexp--maxsize, macroexp-small-p): New functions.
12977 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
12978 * scroll-bar.el (scroll-bar-mode):
12979 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
12980 (normal-erase-is-backspace-mode): Don't use the `eq' place.
12981 * winner.el (winner-configuration, winner-make-point-alist)
12982 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
12983 * files.el (locate-file-completion-table): Avoid list*.
12984
12985 2012-06-22 Chong Yidong <cyd@gnu.org>
12986
12987 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
12988 (dired-create-files): Doc fix (Bug#11329).
12989 (dired-do-copy): Doc fix (Bug#11334).
12990 (dired-mark-read-string): Doc fix (Bug#11553).
12991
12992 * dired.el (dired-recursive-copies, dired-recursive-deletes):
12993 Doc fix (Bug#11326).
12994 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
12995 (dired-dwim-target): Doc fix.
12996
12997 * wdired.el (wdired-mode): Doc fix.
12998
12999 2012-06-22 Glenn Morris <rgm@gnu.org>
13000
13001 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
13002 (pcmpl-rpm-cache-stamp-file): New constant.
13003 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
13004 (pcmpl-rpm-packages): Optionally cache list of packages.
13005
13006 * pcmpl-rpm.el (pcmpl-rpm): New group.
13007 (pcmpl-rpm-query-options): New option.
13008 (pcmpl-rpm-packages): No need to inline it.
13009 Use pcmpl-rpm-query-options.
13010
13011 * calendar/calendar.el (calendar-in-read-only-buffer):
13012 Avoid some needless mode changes.
13013
13014 2012-06-21 Chong Yidong <cyd@gnu.org>
13015
13016 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
13017 (desktop-path): Remove . from the default value (Bug#10977).
13018 (desktop-read): Use user-emacs-directory if desktop-path is nil.
13019
13020 2012-06-20 Chong Yidong <cyd@gnu.org>
13021
13022 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
13023
13024 2012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
13025
13026 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
13027 (bug#11201).
13028
13029 2012-06-20 Chong Yidong <cyd@gnu.org>
13030
13031 * term.el (term-window-width): Handle the case of a missing right
13032 fringe (Bug#8837).
13033 (term-check-size): Use window-text-height (Bug#5445).
13034 (term-mode): Use define-derived-mode. Minor cleanups.
13035 Set font-lock-defaults (Bug#7692).
13036 (term-move-columns, term-insert-char, term-emulate-terminal)
13037 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
13038
13039 2012-06-20 Michael Albinus <michael.albinus@gmx.de>
13040
13041 * net/ange-ftp.el (ange-ftp-get-passwd):
13042 Bind `enable-recursive-minibuffers'.
13043 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
13044
13045 2012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
13046
13047 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
13048
13049 2012-06-19 Glenn Morris <rgm@gnu.org>
13050
13051 * progmodes/python.el (python-mode): Derive from prog-mode.
13052
13053 2012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
13054
13055 * emulation/edt.el (edt-default-menu-bar-update-buffers)
13056 (edt-user-menu-bar-update-buffers): New functions.
13057 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
13058
13059 2012-06-19 Chong Yidong <cyd@gnu.org>
13060
13061 * subr.el (with-selected-window): Preserve the selected window's
13062 terminal's top-frame (Bug#4702).
13063
13064 * window.el (save-selected-window): Likewise.
13065
13066 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
13067
13068 * progmodes/python.el (python-rx-constituents): Move backquote.
13069 (python-skeleton-define, python-define-auxiliary-skeleton):
13070 Use `declare'.
13071
13072 2012-06-18 Michael Albinus <michael.albinus@gmx.de>
13073
13074 * minibuffer.el (read-file-name-default): Revert the patch from
13075 2012-06-17.
13076
13077 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
13078
13079 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
13080 (pcase--u1, pcase--q1): Don't use apply-partially.
13081
13082 2012-06-18 Glenn Morris <rgm@gnu.org>
13083
13084 * progmodes/python.el (python-proc, python-buffer)
13085 (python-send-receive, python-send-string): Fix obsolete versions.
13086
13087 2012-06-18 Martin Rudalics <rudalics@gmx.at>
13088
13089 * window.el (special-display-p): Completely remove stringp
13090 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
13091
13092 2012-06-17 Michael Albinus <michael.albinus@gmx.de>
13093
13094 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
13095
13096 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
13097
13098 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
13099 * net/tramp-sh.el (tramp-maybe-open-connection):
13100 Throw if `non-essential' is non-nil.
13101
13102 2012-06-17 Martin Rudalics <rudalics@gmx.at>
13103
13104 * window.el (special-display-p): Signal an error if BUFFER-NAME
13105 is not a string (Bug#11713).
13106
13107 2012-06-17 Paul Eggert <eggert@cs.ucla.edu>
13108
13109 * progmodes/python.el (python-info-beginning-of-backslash):
13110 Rename from python-info-beginning-of-backlash, as a spelling fix.
13111
13112 2012-06-17 Chong Yidong <cyd@gnu.org>
13113
13114 * term.el (term-emulate-terminal): If term-check-size is called,
13115 move point to the process mark without resetting point (Bug#4635).
13116
13117 2012-06-17 Glenn Morris <rgm@gnu.org>
13118
13119 * international/mule-cmds.el (mule-menu-keymap)
13120 (set-language-environment, set-locale-environment): Doc tweaks.
13121
13122 2012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
13123
13124 * cus-face.el (custom-face-attributes): Add wave-style underline
13125 attribute.
13126 * faces.el (set-face-attribute): Update docstring to describe
13127 wave-style underline attribute.
13128
13129 2012-06-16 Chong Yidong <cyd@gnu.org>
13130
13131 * term/xterm.el (terminal-init-xterm): Discard input before
13132 querying background mode (Bug#10959).
13133
13134 2012-06-16 Stefan Merten <smerten@oekonux.de>
13135
13136 * textmodes/rst.el: Added and corrected some comments.
13137 (rst-re-alist-def): Improve symbol syntax.
13138 (rst-mode-syntax-table): Correct syntax entries.
13139 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
13140 (rst-official-version, rst-official-cvs-rev): Update version
13141 information.
13142
13143 2012-06-15 Juanma Barranquero <lekktu@gmail.com>
13144
13145 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
13146 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
13147
13148 2012-06-15 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
13149
13150 * progmodes/python.el: New python.el merge.
13151 (python-guess-indent): Obsolete var.
13152 (python-indent-guess-indent-offset): New defcustom.
13153 (python-indent): Obsolete var.
13154 (python-indent-offset): New defcustom.
13155 (python-python-command, python-jython-command): Delete var.
13156 (python-shell-interpreter): New defcustom.
13157 (python-pdbtrack-do-tracking-p): Delete var.
13158 (python-pdbtrack-activate): New defcustom.
13159 (python-use-skeletons): Obsolete var.
13160 (python-skeleton-autoinsert): New defcustom.
13161 (inferior-python-filter-regexp, python-continuation-offset)
13162 (python-honour-comment-indentation, python-indent-string-contents)
13163 (python-jython-packages, python-mode-hook)
13164 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
13165 (python-shell-prompt-alist)
13166 (python-source-modes): Delete defcustoms.
13167 (python-check-buffer-name, python-eldoc-setup-code)
13168 (python-eldoc-string-code, python-ffap-setup-code)
13169 (python-ffap-string-code, python-fill-comment-function)
13170 (python-fill-decorator-function, python-fill-paren-function)
13171 (python-fill-string-function, python-imenu-include-defun-type)
13172 (python-imenu-make-tree, python-imenu-subtree-root-label)
13173 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
13174 (python-shell-compilation-regexp-alist)
13175 (python-shell-completion-module-string-code)
13176 (python-shell-completion-pdb-string-code)
13177 (python-shell-completion-setup-code)
13178 (python-shell-completion-string-code)
13179 (python-shell-enable-font-lock, python-shell-exec-path)
13180 (python-shell-extra-pythonpaths)
13181 (python-shell-internal-buffer-name, python-shell-interpreter-args)
13182 (python-shell-process-environment)
13183 (python-shell-prompt-block-regexp)
13184 (python-shell-prompt-output-regexp)
13185 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
13186 (python-shell-send-setup-max-wait, python-shell-setup-codes)
13187 (python-shell-virtualenv-path): New defcustoms.
13188 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
13189 (inferior-python-mode-syntax-table, python--prompt-regexp)
13190 (python-buffer, python-command python-python-command)
13191 (python-default-template, python-imports, python-indent-index)
13192 (python-indent-list, python-indent-list-length)
13193 (python-mode-running, python-pdbtrack-is-tracking-p)
13194 (python-preoutput-continuation, python-preoutput-leftover)
13195 (python-preoutput-result, python-preoutput-skip-next-prompt)
13196 (python-prev-dir/file, python-recursing)
13197 (python-saved-check-command, python-version-checked)
13198 (python-which-func-length-limit)
13199 (view-return-to-alist): Delete vars.
13200 (python-check-custom-command, python-dotty-syntax-table)
13201 (python-imenu-index-alist, python-indent-current-level)
13202 (python-indent-dedenters, python-indent-levels)
13203 (python-nav-beginning-of-defun-regexp)
13204 (python-nav-list-defun-positions-cache)
13205 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
13206 (python-shell-internal-buffer)
13207 (python-skeleton-available): New vars.
13208 (def-python-skeleton): Delete macro.
13209 (python-skeleton-define): New macro.
13210 (python-define-auxiliary-skeleton, python-rx): New macros.
13211 (python-insert-class): Delete command.
13212 (python-skeleton-class): New command.
13213 (python-insert-def): Delete command.
13214 (python-skeleton-def): New command.
13215 (python-insert-for): Delete command.
13216 (python-skeleton-for): New command.
13217 (python-insert-if): Delete command.
13218 (python-skeleton-if): New command.
13219 (python-insert-try/except, python-insert-try/finally): Delete commands.
13220 (python-skeleton-try): New command.
13221 (python-insert-while): Delete command.
13222 (python-skeleton-while): New command.
13223 (python-backspace): Delete command.
13224 (python-indent-dedent-line-backspace): New command.
13225 (python-electric-colon): Delete command.
13226 (python-indent-electric-colon): New command.
13227 (python-guess-indent): Delete command.
13228 (python-indent-guess-indent-offset): New command.
13229 (python-shift-left): Delete command.
13230 (python-indent-shift-left): New command.
13231 (python-shift-right): Delete command.
13232 (python-indent-shift-right): New command.
13233 (python-find-function): Delete command.
13234 (python-nav-jump-to-defun): New command.
13235 (python-next-statement): Delete command.
13236 (python-nav-forward-sentence): New command.
13237 (python-previous-statement): Delete command.
13238 (python-nav-backward-sentence): New command.
13239 (python-fill-paragraph): Delete command.
13240 (python-fill-paragraph-function): New command.
13241 (python-send-buffer): Delete command.
13242 (python-shell-send-buffer): New command.
13243 (python-send-defun): Delete command.
13244 (python-shell-send-defun): New command.
13245 (python-send-region, python-send-region-and-go): Delete commands.
13246 (python-shell-send-region)
13247 (python-shell-switch-to-shell): New commands.
13248 (python-send-string): Delete command.
13249 (python-shell-send-string): New command.
13250 (python-switch-to-python): Delete command.
13251 (python-shell-switch-to-shell): New command.
13252 (python-describe-symbol): Delete command.
13253 (python-eldoc-at-point): New command.
13254 (python--set-prompt-regexp, python-args-to-list)
13255 (python-after-info-look, python-check-version)
13256 (python-check-comint-prompt, python-find-imports)
13257 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
13258 (python-unload-function, python-expand-template)
13259 (python-maybe-jython, python-preoutput-filter)
13260 (python-pdbtrack-get-source-buffer)
13261 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
13262 (python-pdbtrack-toggle-stack-tracking)
13263 (python-pdbtrack-track-stack-file, python-initial-text)
13264 (python-first-word, python-comment-line-p, python-send-command)
13265 (python-setup-brm, python-sentinel, python-set-proc)
13266 (python-skip-out, python-input-filter, python-outdent-p)
13267 (python-outline-level, python-backslash-continuation-line-p)
13268 (python-end-of-block, python-end-of-statement, python-mark-block)
13269 (python-beginning-of-block, python-beginning-of-statement)
13270 (python-blank-line-p, python-beginning-of-string)
13271 (python-open-block-statement-p): Delete functions.
13272 (python-indent-line, python-indent-line-1): Delete functions.
13273 (python-indent-line): New function.
13274 (python-indentation-levels): Delete function.
13275 (python-indent-calculate-levels): New function.
13276 (python-proc): Delete function.
13277 (python-shell-get-process): New function.
13278 (python-send-receive): Delete function.
13279 (python-shell-send-string-no-output): New function.
13280 (python-module-path): Delete function.
13281 (python-ffap-module-path): New function.
13282 (python-completion-at-point)
13283 (python-symbol-completions): Delete functions.
13284 (python-completion-complete-at-point): New function.
13285 (python-load-file): Delete function.
13286 (python-shell-send-file): New function.
13287 (python-calculate-indentation): Delete function.
13288 (python-indent-calculate-indentation): New function.
13289 (python-skip-comments/blanks): Delete function.
13290 (python-util-forward-comment): New function.
13291 (python-continuation-line-p): Delete function.
13292 (python-info-continuation-line-p): New function.
13293 (python-which-func, python-current-defun): Delete function.
13294 (python-info-current-defun): New function.
13295 (python-beginning-of-defun): Delete function.
13296 (python-nav-beginning-of-defun): New function.
13297 (python-close-block-statement-p)
13298 (python-block-end-p): Delete function.
13299 (python-info-closing-block): New function.
13300 (python-comint-output-filter-function)
13301 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
13302 (python-fill-comment, python-fill-decorator, python-fill-paren)
13303 (python-fill-string, python-imenu-make-element-tree)
13304 (python-imenu-make-tree, python-imenu-tree-assoc)
13305 (python-indent-context, python-indent-dedent-line)
13306 (python-indent-line-function)
13307 (python-indent-post-self-insert-function)
13308 (python-indent-toggle-levels)
13309 (python-info-assignment-continuation-line-p)
13310 (python-info-beginning-of-backlash)
13311 (python-info-block-continuation-line-p)
13312 (python-info-closing-block-message)
13313 (python-info-line-ends-backslash-p)
13314 (python-info-looking-at-beginning-of-defun)
13315 (python-info-ppss-context, python-info-ppss-context-type)
13316 (python-nav-list-defun-positions, python-nav-read-defun)
13317 (python-nav-sentence-end, python-nav-sentence-start)
13318 (python-pdbtrack-comint-output-filter-function)
13319 (python-pdbtrack-set-tracked-buffer)
13320 (python-shell-calculate-exec-path)
13321 (python-shell-calculate-process-environment)
13322 (python-shell-completion--do-completion-at-point)
13323 (python-shell-completion--get-completions)
13324 (python-shell-completion-complete-at-point)
13325 (python-shell-completion-complete-or-indent)
13326 (python-shell-get-or-create-process)
13327 (python-shell-get-process-name)
13328 (python-shell-internal-get-or-create-process)
13329 (python-shell-internal-get-process-name)
13330 (python-shell-internal-send-string, python-shell-make-comint)
13331 (python-shell-parse-command, python-shell-send-setup-code)
13332 (python-skeleton-add-menu-items)
13333 (python-util-clone-local-variables, python-util-position)
13334 (run-python-internal, python-indentation-levels)
13335 (python-nav-beginning-of-defun)
13336 (python-completion-complete-at-point): New functions.
13337 (run-python): Change arguments. New API requirements.
13338
13339 2012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
13340
13341 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
13342 (bug#11649).
13343
13344 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
13345 (macroexp--expand-all): Use it.
13346
13347 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
13348 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
13349 Use `cl-function' instead.
13350
13351 2012-06-14 Juanma Barranquero <lekktu@gmail.com>
13352
13353 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
13354 Suggested by Stefan Monnier while discussing bug#11657.
13355
13356 2012-06-14 Sam Steingold <sds@gnu.org>
13357
13358 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
13359
13360 2012-06-14 Andreas Schwab <schwab@linux-m68k.org>
13361
13362 * play/doctor.el (doctor-doc): Remove parameter and use
13363 doctor-sent instead of sent.
13364 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
13365
13366 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
13367
13368 * files.el: Require cl-lib.
13369 (file-name-non-special): Replace case -> cl-case.
13370
13371 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
13372
13373 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
13374 mapping from #' to function*.
13375
13376 2012-06-13 Chong Yidong <cyd@gnu.org>
13377
13378 * mouse.el (mouse-drag-track): Do not set the mark if the user
13379 releases the mouse without selecting anything (Bug#11588).
13380
13381 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
13382
13383 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
13384 as well (bug#11646).
13385
13386 * loadup.el: Count byte-code functions as well.
13387
13388 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
13389 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
13390
13391 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
13392 (bug#11649). Add cl-defun and cl-defmacro.
13393
13394 2012-06-13 Drew Adams <drew.adams@oracle.com>
13395
13396 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
13397 Fix last change.
13398
13399 2012-06-13 Michael Albinus <michael.albinus@gmx.de>
13400
13401 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
13402 Otherwise, it blocks in batch mode.
13403
13404 2012-06-13 Juanma Barranquero <lekktu@gmail.com>
13405
13406 * help-mode.el (bookmark-make-record-default): Declare.
13407
13408 2012-06-13 Chong Yidong <cyd@gnu.org>
13409
13410 * emacs-lisp/package.el (list-packages): Compute a list of
13411 packages that are newly-available since the last list-packages
13412 invocation.
13413 (package-menu--new-package-list): New var.
13414 (package-menu--generate, package-menu--print-info)
13415 (package-menu--status-predicate, package-menu-mark-install):
13416 Handle new status label "new".
13417
13418 2012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
13419
13420 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
13421 conversion to backquotes.
13422
13423 2012-06-12 Chong Yidong <cyd@gnu.org>
13424
13425 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
13426 Rename from gud-inhibit-global-bindings.
13427
13428 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
13429
13430 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
13431 hook from nxml-glyph-set-hook.
13432
13433 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
13434 declaration.
13435
13436 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
13437
13438 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
13439 Convert to defcustom.
13440
13441 2012-06-12 Drew Adams <drew.adams@oracle.com>
13442
13443 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
13444 New functions.
13445 (help-mode): Use them.
13446
13447 2012-06-11 Glenn Morris <rgm@gnu.org>
13448
13449 * progmodes/fortran.el (fortran-font-lock-keywords-3):
13450 Use preprocessor face for directives.
13451 (fortran-directive-re): Doc fix.
13452
13453 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
13454
13455 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
13456 conversion to backquotes (bug#11652).
13457
13458 Fix compiler-expansion of CL's cXXr functions (bug#11673).
13459 * emacs-lisp/cl-lib.el (cl--defalias): New function.
13460 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
13461 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
13462 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
13463 (cl-ninth, cl-tenth): Mark them as inlinable.
13464 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
13465 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
13466 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
13467 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
13468 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
13469 (cl-list*, cl-adjoin): Don't put an autoload manually.
13470 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
13471 (cl--compiler-macro-list*): Add autoload cookie.
13472 (cl--compiler-macro-cXXr): New function.
13473
13474 * help-fns.el (help-fns--compiler-macro): New function extracted from
13475 describe-function-1; follow aliases and use `compiler-macro' property.
13476 (describe-function-1): Use it.
13477
13478 2012-06-11 Chong Yidong <cyd@gnu.org>
13479
13480 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
13481 is uninstalled, if imagemagick is installed.
13482
13483 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
13484
13485 * emacs-lisp/cl-lib.el: Use lexical-binding.
13486 (cl-map-extents, cl-maclisp-member): Remove.
13487 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
13488 (cl--set-substring, cl--block-wrapper, cl--block-throw)
13489 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
13490 * emacs-lisp/cl-extra.el: Use lexical-binding.
13491 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
13492 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
13493 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
13494 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
13495 * emacs-lisp/cl-seq.el: Use lexical-binding.
13496 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
13497 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
13498 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
13499 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
13500 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
13501 CL's internals.
13502
13503 2012-06-11 Michael Albinus <michael.albinus@gmx.de>
13504
13505 Sync with Tramp 2.2.6-pre.
13506
13507 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
13508 `print-length' and `print-level' to nil, in order to avoid
13509 truncation. Reported by Christopher Schmidt
13510 <christopher@ristopher.com>.
13511
13512 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
13513
13514 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
13515 New defmacro.
13516 (tramp-compat-copy-directory): Add optional argument
13517 COPY-CONTENTS. It is not handled yet.
13518
13519 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
13520 (tramp-ftp-file-name-p): Simplify.
13521
13522 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
13523 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
13524 connection vector.
13525
13526 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
13527 (tramp-methods): Do not use `tramp-password-end-of-line'.
13528 (tramp-completion-function-alist-putty): Handle UNIX case.
13529 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
13530 (tramp-do-file-attributes-with-stat)
13531 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
13532 gid as real numbers. They could run out of integer range on cygwin.
13533 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
13534 (tramp-sh-handle-expand-file-name): Handle hops.
13535 (tramp-open-connection-setup-interactive-shell):
13536 Use `tramp-cleanup'. Move check for busyboxes ...
13537 (tramp-find-shell): ... here. Simplify implementation.
13538 Set "remote-shell" property also for alternative shells.
13539 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
13540 If failing, a regular file would be written otherwise.
13541 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
13542 (tramp-find-inline-encoding): Cache the coding commands in the
13543 process cache. Apply test command on the remote side, if defined.
13544 (tramp-find-inline-compress): Cache the compress commands in the
13545 process cache.
13546 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
13547 when requested. Handle hops.
13548 (tramp-current-connection): New defvar.
13549 (tramp-maybe-open-connection): Use `tramp-cleanup'.
13550 Throw `suppress', if there was a failed connection shortly before.
13551 Handle user interrupt. (Bug#10187)
13552 (tramp-get-inline-compress, tramp-get-inline-coding):
13553 Read connection properties from the process cache.
13554
13555 * net/tramp-smb.el (tramp-smb-server-version)
13556 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
13557 New defconsts.
13558 (tramp-smb-prompt): Extend for powershell prompt.
13559 (tramp-smb-file-name-handler-alist): Add handlers for
13560 `process-file', `shell-command' and `start-file-process'.
13561 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
13562 (tramp-smb-winexe-shell-command-switch): New defcustoms.
13563 (tramp-smb-file-name-p): Simplify.
13564 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
13565 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
13566 (tramp-smb-shell-quote-argument): New defuns.
13567 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
13568 Implement using "tar". By this, time-stamps are preserved.
13569 (tramp-smb-handle-copy-file): Handle also the case of directories.
13570 (tramp-smb-do-file-attributes-with-stat)
13571 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
13572 Use `tramp-get-connection-buffer').
13573 (tramp-smb-handle-rename-file): Use "rename", when source and
13574 target are on the same share.
13575 (tramp-smb-maybe-open-connection): Handle wrong passwords.
13576 Use `tramp-smb-server-version'.
13577 (tramp-smb-wait-for-output): Remove prompt.
13578
13579 * net/tramp.el (top): Require 'cl.
13580 (tramp-methods, tramp-rsh-end-of-line):
13581 Remove `tramp-password-end-of-line' from docstring.
13582 (tramp-save-ad-hoc-proxies): New defcustom.
13583 (tramp-completion-function-alist): Adapt docstring.
13584 (tramp-default-password-end-of-line): Remove defcustom.
13585 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
13586 (tramp-user-regexp, tramp-file-name-regexp-unified)
13587 (tramp-file-name-regexp-url): Extend regexp by hop separator.
13588 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
13589 (tramp-remote-file-name-spec-regexp): New defconst.
13590 (tramp-file-name-structure): Extend structure for hops.
13591 (tramp-get-method-parameter): Move up.
13592 (tramp-file-name-p, tramp-dissect-file-name)
13593 (with-parsed-tramp-file-name): Handle hops.
13594 (tramp-file-name-hop): New defun.
13595 (tramp-make-tramp-file-name): New optional arg HOP.
13596 (tramp-message-show-progress-reporter-message): New defvar.
13597 (tramp-with-progress-reporter): Use it. We cannot use
13598 `tramp-message-show-message' here, because this suppresses also
13599 error buffers.
13600 (tramp-error-with-buffer): Suppress buffer view, if
13601 `tramp-message-show-message' is nil.
13602 Use `tramp-get-connection-buffer'.
13603 (tramp-cleanup): New defun.
13604 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
13605 (tramp-file-name-handler): If `debug-on-error' is set, propagate
13606 an error unchanged.
13607 (tramp-completion-handle-file-name-all-completions): Handle hops.
13608 Fix an error when called from ido.
13609 (tramp-completion-dissect-file-name): Use better local variable
13610 name. Add hop to the vector.
13611 (tramp-handle-insert-file-contents): Use progress-reporter for the
13612 whole scenario.
13613 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
13614 to `t'.
13615 (tramp-check-for-regexp): Simplify search.
13616 (tramp-enter-password): Remove it. Move implementation ...
13617 (tramp-action-password): ... here.
13618 (tramp-mode-string-to-int, tramp-local-host-p)
13619 (tramp-make-tramp-temp-file, tramp-read-passwd)
13620 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
13621 Set tramp-autoload cookie.
13622
13623 * net/trampver.el: Update release number.
13624
13625 2012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13626 Michael Albinus <michael.albinus@gmx.de>
13627
13628 * net/tramp.el (tramp-set-completion-function): Fix docstring.
13629 (tramp-parse-group, tramp-parse-file)
13630 (tramp-parse-shostkeys-sknownhosts): New defuns.
13631 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
13632 (tramp-parse-shosts-group, tramp-parse-sconfig)
13633 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
13634 (tramp-parse-sknownhosts, tramp-parse-hosts)
13635 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
13636 Use them.
13637 (tramp-parse-passwd-group, tramp-parse-netrc-group)
13638 (tramp-parse-putty-group): Don't narrow.
13639 (tramp-parse-putty): Make a loop.
13640 (tramp-file-name-handler): Catch the `suppress' signal.
13641
13642 2012-06-11 Chong Yidong <cyd@gnu.org>
13643
13644 * image.el (imagemagick-register-types): Put the ImageMagick entry
13645 at the end of image-type-file-name-regexps.
13646
13647 2012-06-11 Johan BockgĂ¥rd <bojohan@gnu.org>
13648
13649 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
13650 (pcase, pcase-let*, pcase-dolist): Use them.
13651
13652 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
13653
13654 * emacs-lisp/pcase.el (pcase--let*): New function.
13655 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
13656 (pcase--expand): Use macroexp-let².
13657
13658 2012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
13659
13660 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
13661 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
13662 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
13663 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
13664 * emacs-lisp/derived.el: Use pcase instead of `cl'.
13665 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
13666
13667 2012-06-10 Glenn Morris <rgm@gnu.org>
13668
13669 * mail/rmail.el (rmail-yank-current-message): Leave point at
13670 correct position. (Bug#11660)
13671
13672 2012-06-10 Chong Yidong <cyd@gnu.org>
13673
13674 * allout-widgets.el: Fix code header.
13675
13676 2012-06-10 Chong Yidong <cyd@gnu.org>
13677
13678 * cus-edit.el (customize-changed-options-previous-release):
13679 Bump to 24.1.
13680
13681 2012-06-09 Andreas Schwab <schwab@linux-m68k.org>
13682
13683 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
13684
13685 2012-06-09 Chong Yidong <cyd@gnu.org>
13686
13687 * ebuff-menu.el (electric-buffer-list): Preserve header line.
13688
13689 2012-06-09 Martin Rudalics <rudalics@gmx.at>
13690
13691 * window.el (special-display-popup-frame): Don't use
13692 window--display-buffer (Bug#11651).
13693
13694 2012-06-09 Eli Zaretskii <eliz@gnu.org>
13695
13696 Fix parallel builds: make sure loaddefs.el is not being written
13697 while Lisp files are compiled.
13698 (compile): Don't depend on 'mh-autoloads'.
13699 (compile-CMD, compile-SH): Depend on 'autoloads'.
13700 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
13701
13702 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
13703
13704 2012-06-09 Chong Yidong <cyd@gnu.org>
13705
13706 * face-remap.el (face-remap-add-relative, face-remap-set-base)
13707 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
13708 Doc fixes (Bug#11225).
13709
13710 2012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
13711
13712 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
13713 a function if there's a clear indication that it has a compiler-macro.
13714 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
13715 (macro-declarations-alist): Add arglist to declaration functions.
13716 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
13717 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
13718 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
13719 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
13720 Also add autoload to find the compiler macro.
13721 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
13722 (cl--compiler-macro-member, cl--compiler-macro-assoc)
13723 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
13724 (cl--compiler-macro-get): New functions, replacing calls to
13725 cl-define-compiler-macro.
13726 (cl-typep) [compiler-macro]: Use macroexp-let².
13727
13728 2012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
13729
13730 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
13731 string properly, fixes Bug#11473.
13732
13733 2012-06-08 Chong Yidong <cyd@gnu.org>
13734
13735 * faces.el (set-face-attribute): Doc fix.
13736 (modify-face): Don't use :bold and :italic.
13737 (error, warning, success): Tweak definitions.
13738
13739 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
13740 (custom-modified, custom-set, custom-changed, custom-themed)
13741 (custom-saved, custom-button, custom-button-mouse)
13742 (custom-button-pressed, custom-state, custom-comment-tag)
13743 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
13744 (custom-group-subtitle): Use new-style face specs.
13745 (custom-invalid-face, custom-rogue-face, custom-modified-face)
13746 (custom-set-face, custom-changed-face, custom-saved-face)
13747 (custom-button-face, custom-button-pressed-face)
13748 (custom-documentation-face, custom-state-face)
13749 (custom-comment-face, custom-comment-tag-face)
13750 (custom-variable-tag-face, custom-variable-button-face)
13751 (custom-face-tag-face, custom-group-tag-face-1)
13752 (custom-group-tag-face): Remove obsolete face alias.
13753
13754 * epa.el (epa-validity-high, epa-validity-medium)
13755 (epa-validity-low, epa-mark, epa-field-name, epa-string)
13756 (epa-field-name, epa-field-body):
13757 * font-lock.el (font-lock-comment-face, font-lock-string-face)
13758 (font-lock-keyword-face, font-lock-builtin-face)
13759 (font-lock-function-name-face, font-lock-variable-name-face)
13760 (font-lock-type-face, font-lock-constant-face):
13761 * ido.el (ido-first-match, ido-only-match, ido-subdir)
13762 (ido-virtual, ido-indicator, ido-incomplete-regexp):
13763 * speedbar.el (speedbar-button-face, speedbar-file-face)
13764 (speedbar-directory-face, speedbar-tag-face)
13765 (speedbar-selected-face, speedbar-highlight-face)
13766 (speedbar-separator-face):
13767 * whitespace.el (whitespace-newline, whitespace-space)
13768 (whitespace-hspace, whitespace-tab, whitespace-trailing)
13769 (whitespace-line, whitespace-space-before-tab)
13770 (whitespace-space-after-tab, whitespace-indentation)
13771 (whitespace-empty):
13772 * emulation/cua-base.el (cua-global-mark):
13773 * eshell/em-prompt.el (eshell-prompt):
13774 * net/newst-plainview.el (newsticker-new-item-face)
13775 (newsticker-old-item-face, newsticker-immortal-item-face)
13776 (newsticker-obsolete-item-face, newsticker-date-face)
13777 (newsticker-statistics-face, newsticker-default-face):
13778 * net/newst-reader.el (newsticker-feed-face)
13779 (newsticker-extra-face, newsticker-enclosure-face):
13780 * net/newst-treeview.el (newsticker-treeview-face)
13781 (newsticker-treeview-new-face, newsticker-treeview-old-face)
13782 (newsticker-treeview-immortal-face)
13783 (newsticker-treeview-obsolete-face)
13784 (newsticker-treeview-selection-face):
13785 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
13786 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
13787 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
13788 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
13789 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
13790 (nxml-outline-active-indicator, nxml-outline-ellipsis):
13791 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
13792 (mpuz-text):
13793 * progmodes/vera-mode.el (vera-font-lock-number)
13794 (vera-font-lock-function, vera-font-lock-interface):
13795 * textmodes/table.el (table-cell): Use new-style face specs, and
13796 don't use the old :bold and :italic attributes.
13797
13798 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
13799 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
13800 (ebrowse-member-class, ebrowse-progress): Likewise.
13801 (ebrowse-tree-mark-face, ebrowse-root-class-face)
13802 (ebrowse-file-name-face, ebrowse-default-face)
13803 (ebrowse-member-attribute-face, ebrowse-member-class-face)
13804 (ebrowse-progress-face): Remove obsolete faces.
13805
13806 * progmodes/flymake.el (flymake-errline, flymake-warnline):
13807 Inherit from error and warning faces respectively.
13808
13809 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
13810 Likewise.
13811 (flyspell-incorrect-face, flyspell-duplicate-face):
13812 Remove obsolete aliases.
13813
13814 2012-06-08 Michael Albinus <michael.albinus@gmx.de>
13815
13816 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
13817 Avoid infloop.
13818
13819 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
13820
13821 * startup.el (argv, argi): Make lexically scoped.
13822 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
13823 * emacs-lisp/cl-macs.el: Use lexical-binding.
13824 Rename cl-bind-* to cl--bind-*.
13825 * files.el: Don't require `cl' since it doesn't use it.
13826 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
13827
13828 2012-06-08 Juanma Barranquero <lekktu@gmail.com>
13829
13830 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
13831 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
13832 instead of calling external sort utility.
13833 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
13834
13835 2012-06-08 Eli Zaretskii <eliz@gnu.org>
13836
13837 * descr-text.el (describe-char): Mention how to insert the
13838 character, if the current input method doesn't support it.
13839 See the discussion in this thread for the details:
13840 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
13841
13842 2012-06-08 Sam Steingold <sds@gnu.org>
13843
13844 * bindings.el (global-map): Bind XF86Forward to next-buffer and
13845 XF86Back to previous-buffer.
13846 (minibuffer-local-map): Bind them to next-history-element and
13847 previous-history-element respectively.
13848 * help-mode.el (help-mode-map): Bind them to help-go-forward and
13849 help-go-back respectively.
13850 * info.el (Info-mode-map): Bind them to Info-history-forward and
13851 Info-history-back respectively.
13852 These are the keys next to Up on the ThinkPad keyboard.
13853
13854 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
13855
13856 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
13857 * emacs-lisp/cl-macs.el: Provide itself.
13858 (cl--labels-convert-cache): New var.
13859 (cl--labels-convert): New function.
13860 (cl-flet, cl-labels): New implementation with new semantics, relying on
13861 lexical-binding.
13862 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
13863 (cl-closure-vars, cl--function-convert-cache)
13864 (cl--function-convert): Move from cl-macs.el.
13865 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
13866 rename by removing the "cl-" prefix.
13867 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
13868
13869 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
13870
13871 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
13872 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
13873 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
13874 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
13875 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
13876 (cl-hash-table-count): Add old compatibility aliases.
13877
13878 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
13879 Use macroexpand-all-environment instead.
13880 (cl--old-macroexpand): New var.
13881 (cl--sm-macroexpand): New function.
13882 (cl-symbol-macrolet): Use it during macro expansion.
13883 (cl--function-convert-cache): New var.
13884 (cl--function-convert): New function, extracted from
13885 cl-macroexpand-all.
13886 (cl-lexical-let): Use it.
13887
13888 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
13889 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
13890 (cl-member): Remove old alias.
13891
13892 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
13893 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
13894 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
13895 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
13896 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
13897 (cl-macroexpand-cmacs): Remove var.
13898 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
13899 Use macroexpand-all instead.
13900
13901 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
13902
13903 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
13904 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
13905 (macroexp-copyable-p): New functions and macros.
13906 * emacs-lisp/edebug.el (edebug-unwrap):
13907 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
13908 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
13909 (pcase--let*): Remove.
13910 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
13911 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
13912 macroexp-const-p instead.
13913 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
13914
13915 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
13916 instead of "cl-" for internal definitions. Use macroexp-const-p.
13917 (cl-old-bc-file-form): Remove var.
13918 (cl-const-exprs-p): Remove fun.
13919 (cl-labels, cl-macrolet): Use backquote.
13920 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
13921 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
13922 (cl-define-setf-expander): Rename from cl-define-setf-method.
13923 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
13924
13925 * international/mule-cmds.el: Don't require CL.
13926 (view-hello-file): Don't use `letf'.
13927
13928 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
13929
13930 * tmm.el (tmm-prompt): Use string-prefix-p.
13931 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
13932 (tmm-add-prompt): Use minibuffer-completion-help.
13933 (tmm-delete-map): Remove.
13934
13935 * subr.el (kbd): Make it its own function.
13936
13937 2012-06-07 Stefan Merten <smerten@oekonux.de>
13938
13939 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
13940 Silence compiler warnings. Fix versions.
13941 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
13942 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
13943 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
13944 (rst-package-emacs-version-alist): Correct Emacs version to
13945 represent major merge with upstream.
13946 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
13947
13948 2012-06-06 Glenn Morris <rgm@gnu.org>
13949
13950 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
13951 Only print environment variables if set.
13952
13953 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
13954
13955 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
13956 (macroexp--cons): Rename from maybe-cons.
13957 (macroexp--accumulate): Rename from macroexp-accumulate.
13958 (macroexp--all-forms): Rename from macroexpand-all-forms.
13959 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
13960 (macroexp--expand-all): Rename from macroexpand-all-1.
13961
13962 2012-06-06 Sam Steingold <sds@gnu.org>
13963
13964 * calendar/calendar.el (calendar-in-read-only-buffer):
13965 Call `special-mode' to enable the standard read-only keybindings.
13966
13967 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
13968
13969 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
13970 with "loading" messages (bug#11635).
13971
13972 2012-06-06 Michael Albinus <michael.albinus@gmx.de>
13973
13974 * files.el (enable-remote-dir-locals): New option.
13975 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
13976
13977 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
13978 Ensure, that the temp directory is local.
13979
13980 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
13981 `temporary-file-directory'.
13982
13983 * progmodes/python.el (python-send-region): Ensure, that the
13984 temporary file is created also in the remote case.
13985
13986 2012-06-06 Glenn Morris <rgm@gnu.org>
13987
13988 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
13989 (vc-rcs-update-changelog): Use it.
13990
13991 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
13992
13993 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
13994 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
13995 (vc-sccs-diff): Replace use of the external vcdiff script.
13996
13997 2012-06-05 Glenn Morris <rgm@gnu.org>
13998
13999 * ledit.el: Move to obsolete/.
14000
14001 2012-06-05 Sam Steingold <sds@gnu.org>
14002
14003 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
14004 patch (Bug#11140).
14005
14006 2012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
14007
14008 * emacs-lisp/cust-print.el: Move to obsolete.
14009
14010 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
14011 compiler-macro expansion.
14012
14013 Add native compiler-macro support.
14014 * emacs-lisp/macroexp.el (macroexpand-all-1):
14015 Support compiler-macros directly. Properly follow aliases and apply
14016 the compiler macros more thoroughly.
14017 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
14018 macroexpand now properly follows aliases.
14019 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
14020 (cl-compiler-macroexpand): Use new prop.
14021 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
14022
14023 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
14024
14025 2012-06-05 Martin Rudalics <rudalics@gmx.at>
14026
14027 * window.el (get-lru-window, get-mru-window, get-largest-window):
14028 New argument NOT-SELECTED to avoid picking the selected window.
14029 (window--display-buffer-1, window--display-buffer-2): Replace by
14030 new function window--display-buffer
14031 (display-buffer-same-window, display-buffer-reuse-window)
14032 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
14033 Use window--display-buffer.
14034 (display-buffer-use-some-window): Remove temporary dedication
14035 hack by calling get-lru-window and get-largest-window with
14036 NOT-SELECTED argument non-nil. Call window--display-buffer.
14037
14038 2012-06-05 Glenn Morris <rgm@gnu.org>
14039
14040 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
14041 Replace external vcdiff script.
14042
14043 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
14044
14045 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
14046
14047 2012-06-04 Chong Yidong <cyd@gnu.org>
14048
14049 * image.el (imagemagick-types-inhibit): Revert last change.
14050 Add INFO and M.
14051 (imagemagick-enabled-types): Remove CIN and EPS*.
14052
14053 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
14054
14055 * emacs-lisp/cl-lib.el: Rename from cl.el.
14056 * emacs-lisp/cl.el: New compatibility file.
14057 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
14058 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
14059 to obey the "cl-" prefix.
14060 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
14061
14062 2012-06-03 Glenn Morris <rgm@gnu.org>
14063
14064 * emacs-lisp/authors.el (authors-aliases): Addition.
14065
14066 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
14067 Fix :version.
14068
14069 2012-06-03 Stefan Merten <smerten@oekonux.de>
14070
14071 * textmodes/rst.el: Add comments.
14072 (rst-transition, rst-adornment): New faces.
14073 (rst-adornment-faces-alist): Make default safe to reevaluate.
14074 Fixes
14075 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
14076 Improve customization tags.
14077 (rst-define-level-faces): Clarify meaning.
14078
14079 2012-06-03 Chong Yidong <cyd@gnu.org>
14080
14081 * progmodes/compile.el (compilation-mode-line-fail)
14082 (compilation-mode-line-run, compilation-mode-line-exit):
14083 New faces.
14084 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
14085
14086 2012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
14087
14088 * progmodes/which-func.el (which-func-update-ediff-windows):
14089 New function. Use it in ediff-select-hook (Bug#11478).
14090
14091 2012-06-03 Chong Yidong <cyd@gnu.org>
14092
14093 * bindings.el: Remove explicit help text from format-mode-line.
14094 It is now supplied by mode-line-default-help-echo.
14095 (mode-line-front-space, mode-line-end-spaces)
14096 (mode-line-misc-info): New variables.
14097 (mode-line-modes, mode-line-position): Move the default value to
14098 the variable definition.
14099 (mode-line-default-help-echo): New defcustom.
14100 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
14101 (mode-line-modified-help-echo): New functions.
14102 (mode-line-mule-info, mode-line-modified): Use them.
14103 (mode-line-eol-desc, propertized-buffer-identification):
14104 Consistency fixes for help text.
14105 (mode-line-coding-system-map): Allow using mouse-3 to invoke
14106 set-buffer-file-coding-system (Bug#289).
14107 (mode-line-mule-info-help-echo): Update help text.
14108
14109 2012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
14110
14111 * simple.el (execute-extended-command): Set real-this-command
14112 (bug#11506).
14113
14114 2012-06-02 Chong Yidong <cyd@gnu.org>
14115
14116 Remove incorrect uses of "modeline" in comments, docstrings, and
14117 function/variable names (Bug#10329).
14118
14119 * cus-edit.el (mode-line):
14120 * dframe.el (dframe-mouse-hscroll):
14121 * emacs-lisp/re-builder.el:
14122 * emacs-lisp/easy-mmode.el (define-minor-mode):
14123 * frame.el (set-frame-name):
14124 * help.el (lookup-minor-mode-from-indicator):
14125 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
14126 * progmodes/cc-cmds.el (c-toggle-auto-newline)
14127 (c-toggle-hungry-state):
14128 * progmodes/antlr-mode.el (antlr-language-alist):
14129 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
14130 * progmodes/vhdl-mode.el (vhdl-mode):
14131 * progmodes/which-func.el (which-func, which-func-cleanup-function):
14132 * term/ns-win.el (ns-face-at-pos):
14133 * term/sup-mouse.el (sup-mouse-report):
14134 * textmodes/flyspell.el (flyspell-mode-line-string):
14135 * textmodes/ispell.el (ispell-highlight-face):
14136 * textmodes/reftex-global.el:
14137 * vc/vc-arch.el (vc-arch-mode-line-string):
14138 * vc/vc-cvs.el (vc-cvs-mode-line-string):
14139 * vc/vc-git.el (vc-git-mode-line-string):
14140 * vc/vc-hooks.el (vc-display-status)
14141 (vc-default-mode-line-string):
14142 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
14143
14144 * ansi-color.el (ansi-color-faces-vector): Change default faces.
14145
14146 * dired.el (dired-sort-set-mode-line): Rename from
14147 dired-sort-set-modeline. All callers changed.
14148
14149 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
14150 eshell-status-in-modeline.
14151
14152 * foldout.el (foldout-mode-line-string): Rename from
14153 foldout-modeline-string. All callers changed.
14154 (foldout-update-mode-line): Rename from foldout-update-modeline.
14155
14156 * subr.el (redraw-modeline): Make into obsolete alias.
14157
14158 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
14159 timeclock-modeline-display. Make old name an alias.
14160 (timeclock-update-mode-line): Likewise. All callers changed.
14161 (timeclock-mode-line-display): No need to check before using
14162 add-hook.
14163 (timeclock-relative, timeclock-day-over-hook)
14164 (timeclock-use-elapsed, timeclock-mode-string)
14165 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
14166
14167 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
14168 crisp-mode-modeline-string.
14169
14170 * play/solitaire.el (solitaire-build-mode-line): Rename from
14171 solitaire-build-modeline. All callers changed.
14172
14173 * play/zone.el (zone-hiding-mode-line): Rename from
14174 zone-hiding-modeline. All callers changed.
14175 (zone): Remove unusued `modeline-hidden-level' property.
14176
14177 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
14178 xscheme-modeline-initialize. All callers changed.
14179
14180 * strokes.el (strokes-lighter): Rename from
14181 strokes-modeline-string.
14182
14183 * textmodes/sgml-mode.el (html-face-tag-alist)
14184 (html-tag-face-alist): Use mode-line face instead of obsolete
14185 alias modeline.
14186
14187 2012-06-02 Stefan Merten <smerten@oekonux.de>
14188
14189 * textmodes/rst.el: Always require `cl'.
14190 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
14191
14192 2012-06-02 Chong Yidong <cyd@gnu.org>
14193
14194 * image.el (imagemagick-enabled-types): Rename from
14195 imagemagick-types-enable. Add many more types.
14196 (imagemagick-types-inhibit): Change default to nil.
14197 (imagemagick-filter-types): Caller changed.
14198
14199 2012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
14200
14201 * emacs-lisp/cl-macs.el: Use backquotes.
14202 (cl-transform-function-property): Use eval-and-compile rather than
14203 abusing `require'.
14204 (defstruct): Use declare-function instead of with-no-warnings.
14205
14206 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
14207 (byte-compile-output-docform): Re-add the print-circle bindings.
14208 (byte-compile-fix-header): Use #$ just because it's shorter.
14209 (byte-compile-output-file-form): Remove defun/defmacro.
14210
14211 2012-06-01 Martin Rudalics <rudalics@gmx.at>
14212
14213 * simple.el (choose-completion): Remove now obsolete binding for
14214 owindow.
14215
14216 2012-06-01 Michael Albinus <michael.albinus@gmx.de>
14217
14218 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
14219 in order to avoid "Stack overflow in regexp matcher".
14220
14221 2012-05-31 Glenn Morris <rgm@gnu.org>
14222
14223 * image.el: For clarity, call imagemagick-register-types at
14224 top-level, rather than relying on a custom :initialize.
14225 (imagemagick-types-enable): New option. (Bug#11557)
14226 (imagemagick-filter-types): New function. (Bug#7406)
14227 (imagemagick-register-types): Use imagemagick-filter-types.
14228 If disabling support, remove elements altogether rather
14229 than using an impossible regexp.
14230 (imagemagick-types-inhibit): Give it the default init function.
14231
14232 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
14233
14234 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
14235 Handle arbitrary file name lengths (Bug#11585).
14236
14237 2012-05-31 Martin Rudalics <rudalics@gmx.at>
14238
14239 * desktop.el (desktop-read): Clear previous and next buffers for
14240 all windows and bury *Messages* buffer (bug#11556).
14241
14242 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
14243
14244 Add `declare' for `defun'. Align `defmacro's with it.
14245 * emacs-lisp/easy-mmode.el (define-minor-mode)
14246 (define-globalized-minor-mode): Don't autoload the var definitions.
14247 * emacs-lisp/byte-run.el: Use lexical-binding.
14248 (defun-declarations-alist, macro-declarations-alist): New vars.
14249 (defmacro, defun): Use them.
14250 (make-obsolete, define-obsolete-function-alias)
14251 (make-obsolete-variable, define-obsolete-variable-alias):
14252 Use `declare'.
14253 (macro-declaration-function): Mark obsolete.
14254 * emacs-lisp/autoload.el: Use lexical-binding.
14255 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
14256
14257 2012-05-30 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
14258
14259 * textmodes/ispell.el (ispell-with-no-warnings):
14260 Define as a macro.
14261 (ispell-kill-ispell, ispell-change-dictionary):
14262 Use `called-interactively-p' for Emacs instead of obsolete
14263 `interactive-p'.
14264
14265 2012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
14266
14267 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
14268 (macro-declaration-function): Move var from C code.
14269 (macro-declaration-function): Define function with defalias.
14270 * emacs-lisp/macroexp.el (macroexpand-all-1):
14271 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
14272 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
14273 defun/defmacro any more.
14274 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
14275 Provide fallback for unknown arglist.
14276 (byte-compile-arglist-warn): Change calling convention.
14277 (byte-compile-output-file-form): Move print-vars binding.
14278 (byte-compile-output-docform): Simplify accordingly.
14279 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
14280 (byte-compile-defmacro-declaration): Remove.
14281 (byte-compile-file-form-defmumble): Generalize to defalias.
14282 (byte-compile-output-as-comment): Return byte-positions.
14283 Simplify callers accordingly.
14284 (byte-compile-lambda): Use `assert'.
14285 (byte-compile-defun, byte-compile-defmacro): Remove.
14286 (byte-compile-file-form-defalias):
14287 Use byte-compile-file-form-defmumble.
14288 (byte-compile-defalias-warn): Remove.
14289
14290 2012-05-29 Stefan Merten <smerten@oekonux.de>
14291
14292 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
14293 possible. Fix authors. Improve comments. Improve loading of `cl'.
14294
14295 (rst-mode-abbrev-table): Merge definition.
14296 (rst-mode): Make sure `font-lock-defaults' is buffer local.
14297 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
14298
14299 2012-05-29 Ulf Jasper <ulf.jasper@web.de>
14300
14301 * calendar/icalendar.el
14302 (icalendar-export-region): Export UID properly.
14303
14304 2012-05-29 Leo Liu <sdl.web@gmail.com>
14305 * calendar/icalendar.el (icalendar-import-format):
14306 Add `icalendar-import-format-uid' (Bug#11525).
14307 (icalendar-import-format-uid): New.
14308 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
14309 Export UID.
14310
14311 2012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
14312
14313 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
14314 different alternative patterns.
14315 (pcase-codegen): Be more careful to preserve identity.
14316 (pcase--u1): Don't forget to mark vars as used.
14317
14318 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
14319 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
14320 (byte-compile-from-buffer): ...rather than here.
14321
14322 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
14323 functions from byte-compile-function-environment.
14324
14325 2012-05-29 Troels Nielsen <bn.troels@gmail.com>
14326
14327 * window.el (window-deletable-p): Avoid deleting the root window
14328 of a frame with an active minibuffer.
14329
14330 2012-05-29 Martin Rudalics <rudalics@gmx.at>
14331
14332 * simple.el (choose-completion): Use quit-window (Bug#11567).
14333
14334 2012-05-29 Chong Yidong <cyd@gnu.org>
14335
14336 * whitespace.el (whitespace-cleanup): Fix usage of
14337 whitespace-empty-at-bob-regexp (Bug#11492).
14338
14339 2012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
14340
14341 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
14342 revert (Bug#11488).
14343
14344 2012-05-29 Juri Linkov <juri@jurta.org>
14345
14346 * isearch.el (isearch-mode-map): Bind `M-s _' to
14347 `isearch-toggle-symbol'. Bind `M-s c' to
14348 `isearch-toggle-case-fold'.
14349 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
14350 (isearch-forward): Add `M-s _' to the docstring.
14351 (isearch-forward-symbol, isearch-toggle-case-fold)
14352 (isearch-symbol-regexp): New functions. (Bug#11381)
14353
14354 2012-05-29 Juri Linkov <juri@jurta.org>
14355
14356 * isearch.el (isearch-word): Add docstring. (Bug#11381)
14357 (isearch-occur, isearch-search-and-update): If `isearch-word' is
14358 a function, call it to get the regexp.
14359 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
14360 property `isearch-message-prefix' instead of the string "word ".
14361 (isearch-search-fun-default): For the case of `isearch-word',
14362 return a lambda that calls re-search-forward/re-search-backward
14363 with a regexp returned by `word-search-regexp' or by the function
14364 in `isearch-word'.
14365
14366 2012-05-29 Juri Linkov <juri@jurta.org>
14367
14368 * isearch.el (isearch-search-fun-default): New function.
14369 (isearch-search-fun): Move default part to the new function
14370 `isearch-search-fun-default'.
14371 (isearch-search-fun-function): Set the default value to
14372 `isearch-search-fun-default'. (Bug#11381)
14373
14374 * comint.el (comint-history-isearch-end):
14375 Use `isearch-search-fun-default'.
14376 (comint-history-isearch-search): Use `isearch-search-fun-default'
14377 and remove spacial case for `isearch-word'.
14378 (comint-history-isearch-wrap): Remove spacial case for
14379 `isearch-word'.
14380
14381 * hexl.el (hexl-isearch-search-function):
14382 Use `isearch-search-fun-default'.
14383
14384 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
14385 Use `word-search-regexp' for `isearch-word'.
14386
14387 * misearch.el (multi-isearch-search-fun):
14388 Use `isearch-search-fun-default'.
14389
14390 * simple.el (minibuffer-history-isearch-search):
14391 Use `isearch-search-fun-default' and remove spacial case for
14392 `isearch-word'.
14393 (minibuffer-history-isearch-wrap): Remove spacial case for
14394 `isearch-word'.
14395
14396 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
14397 Remove spacial case for `isearch-word'.
14398 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
14399
14400 2012-05-28 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
14401
14402 Decrease XEmacs incompatibilities.
14403 * textmodes/flyspell.el (flyspell-check-pre-word-p):
14404 Use `string-match'.
14405 (flyspell-delete-region-overlays): Use alternative definition for
14406 XEmacs.
14407 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
14408 (flyspell-word): Use `process-kill-without-query' if XEmacs.
14409 (flyspell-mode-on): Use `interactive-p' if XEmacs.
14410 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
14411 `define-obsolete-face-alias' under XEmacs, but old method.
14412
14413 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
14414 `with-no-warnings' definition or Emacs alias.
14415 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
14416 (ispell-word): Do not use `region-p' if XEmacs.
14417
14418 2012-05-28 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
14419
14420 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
14421 Check for `ispell-dictionary-base-alist' instead of full
14422 `ispell-dictionary-alist'.
14423 (ispell-init-process): Show spellchecker when starting new Ispell
14424 process.
14425
14426 2012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
14427
14428 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
14429 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
14430
14431 2012-05-27 Juanma Barranquero <lekktu@gmail.com>
14432
14433 * version.el (motif-version-string, gtk-version-string)
14434 (ns-version-string): Declare.
14435
14436 2012-05-27 Juri Linkov <juri@jurta.org>
14437
14438 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
14439 after the `eval-defun-1' specialcaseing
14440 like in `edebug-eval-defun' (bug#10181).
14441
14442 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
14443 like in `eval-defun-1'.
14444
14445 2012-05-27 Eli Zaretskii <eliz@gnu.org>
14446
14447 * mail/sendmail.el (mail-yank-region):
14448 Recognize rmail-yank-current-message in addition to insert-buffer.
14449 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
14450 a *mail* buffer created through rmail-start-mail with sendmail as
14451 mail-user-agent.
14452
14453 2012-05-27 Chong Yidong <cyd@gnu.org>
14454
14455 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
14456 Default to 256 (Bug#11267).
14457
14458 * help.el (describe-mode): Doc fix.
14459
14460 2012-05-26 Glenn Morris <rgm@gnu.org>
14461
14462 * w32-fns.el (w32-init-info): Remove.
14463 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
14464
14465 * info.el (info-initialize): For self-contained NS builds, put the
14466 included info/ directory at the front. (Bug#2791)
14467
14468 * paths.el (Info-default-directory-list): Make it a defcustom,
14469 mainly so that we can use custom-initialize-delay.
14470
14471 2012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
14472
14473 * subr.el (buffer-has-markers-at): Mark obsolete.
14474
14475 * subr.el (lambda): Use declare.
14476
14477 * emacs-lisp/lisp-mode.el (lambda):
14478 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
14479
14480 2012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
14481
14482 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
14483
14484 2012-05-26 Glenn Morris <rgm@gnu.org>
14485
14486 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
14487
14488 2012-05-25 Glenn Morris <rgm@gnu.org>
14489
14490 * paths.el: Remove no-byte-compile.
14491 * loadup.el: No need to load paths.el uncompiled.
14492
14493 * image.el (imagemagick-types-inhibit): Doc fix.
14494
14495 * version.el: Remove no-byte-compile and associated formatting.
14496 * loadup.el: No need to load version.el uncompiled. AFAICS, this
14497 is ancient code from when there was an "inc-vers.el".
14498
14499 2012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
14500
14501 * progmodes/gdb-mi.el: Minor style changes.
14502 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
14503 Turn into minor modes.
14504 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
14505 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
14506 (gdb-shell): Remove unneeded let-binding.
14507 (gdb-get-many-fields): Eliminate O(n²) behavior.
14508
14509 2012-05-25 Eli Zaretskii <eliz@gnu.org>
14510
14511 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
14512 platforms that don't link in fontset.c.
14513
14514 2012-05-25 Juri Linkov <juri@jurta.org>
14515
14516 Use the same diff color scheme as in modern VCSes (bug#10181).
14517
14518 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
14519 to avoid confusion with `diff-added' that now uses green colors.
14520 (diff-removed): Use shades of red.
14521 (diff-added): Use shades of green.
14522 (diff-changed): Leave just the yellow color.
14523 (diff-use-changed-face): New variable.
14524 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
14525 how to highlight context diff changes.
14526 (diff-refine-change): Use shades of yellow.
14527 (diff-refine-removed): New face that uses shades of red.
14528 (diff-refine-added): New face that uses shades of green.
14529 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
14530 `diff-refine-removed' in the call to `smerge-refine-subst'
14531 depending on the value of `diff-use-changed-face'.
14532
14533 * vc/smerge-mode.el (smerge-mine): Use shades of red.
14534 (smerge-other): Use shades of green.
14535 (smerge-base): Use shades of yellow.
14536 (smerge-refined-change): Empty face.
14537 (smerge-refined-removed): New face that uses shades of red.
14538 (smerge-refined-added): New face that uses shades of green.
14539 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
14540 args `props-r' and `props-a', and use them. Doc fix.
14541 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
14542 on its value use different faces `smerge-refined-change',
14543 `smerge-refined-removed', `smerge-refined-added' in the call to
14544 `smerge-refine-subst'.
14545
14546 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
14547 Add face condition `min-colors 88' with shades of red.
14548 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
14549 `min-colors 88' with shades of green.
14550 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
14551 `min-colors 88' with shades of yellow.
14552
14553 2012-05-24 Glenn Morris <rgm@gnu.org>
14554
14555 * paths.el (prune-directory-list, remote-shell-program): Move to...
14556 * files.el (prune-directory-list, remote-shell-program): ...here.
14557 For the latter, delay initialization, prefer ssh, just search PATH.
14558
14559 * paths.el (term-file-prefix): Move to faces.el (the only user).
14560 * faces.el (term-file-prefix): Move here, make it a defcustom.
14561
14562 * paths.el (news-directory, news-path, news-inews-program):
14563 Move to gnus/nnspool.el.
14564
14565 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
14566
14567 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
14568 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
14569 Make the latter a defcustom, with a delayed initialization.
14570
14571 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
14572 These were deleted from Gnus itself late 2010.
14573
14574 2012-05-22 Juanma Barranquero <lekktu@gmail.com>
14575
14576 * progmodes/which-func.el (which-func-ff-hook):
14577 Check against user-error, not error.
14578
14579 * emacs-lisp/edebug.el (top): Do not load or set up loading of
14580 cl-specs.el, which no longer exists.
14581
14582 2012-05-22 Glenn Morris <rgm@gnu.org>
14583
14584 * info.el (info-emacs-bug): New command.
14585 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
14586 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
14587
14588 2012-05-21 Glenn Morris <rgm@gnu.org>
14589
14590 * makefile.w32-in (update-subdirs-SH):
14591 * Makefile.in (update-subdirs): Update for moved update-subdirs.
14592
14593 2012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
14594
14595 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
14596
14597 * progmodes/compile.el (compilation-error-regexp-alist-alist):
14598 Simplify Maven regexp, and make sure the file can't start with a space
14599 (bug#11517).
14600
14601 2012-05-21 Glenn Morris <rgm@gnu.org>
14602
14603 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
14604 Scrap superfluous subshells.
14605
14606 2012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
14607
14608 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
14609 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
14610
14611 2012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
14612
14613 * calc/calc.el (calc-ensure-consistent-units): New variable.
14614
14615 * calc/calc-units.el (math-consistent-units-p)
14616 (math-check-unit-consistency): New functions.
14617 (calc-quick-units, calc-convert-units):
14618 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
14619 is non-nil.
14620 (calc-extract-units): Fix typo.
14621
14622 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
14623
14624 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
14625
14626 * textmodes/flyspell.el: Commenting style, plus code simplifications.
14627 (flyspell-default-deplacement-commands): Don't spell check after
14628 repeated window/frame switches (e.g. triggered by mouse-movement).
14629 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
14630 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
14631 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
14632 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
14633 Remove unused vars.
14634 (flyspell-get-casechars, flyspell-get-not-casechars):
14635 Simplify; Don't bother removing a ] just to add it back.
14636 * textmodes/ispell.el (ispell-program-name): Use executable-find.
14637
14638 2012-05-18 RĂ¼diger Sonderfeld <ruediger@c-plusplus.de>
14639
14640 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
14641 New functions.
14642 (math-function-table): Add support for more C functions.
14643
14644 2012-05-18 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
14645
14646 * textmodes/flyspell.el (flyspell-check-pre-word-p)
14647 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
14648 Protect delay handling for otherchars against empty otherchars.
14649
14650 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
14651
14652 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
14653 their respective macro declarations.
14654 * skeleton.el (define-skeleton):
14655 * progmodes/compile.el (define-compilation-mode):
14656 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
14657 (define-ibuffer-filter):
14658 * emacs-lisp/generic.el (define-generic-mode):
14659 * emacs-lisp/easy-mmode.el (define-minor-mode)
14660 (define-globalized-minor-mode):
14661 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
14662 * emacs-lisp/byte-run.el (defsubst):
14663 * custom.el (deftheme): Add doc-string metadata.
14664
14665 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
14666
14667 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
14668
14669 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
14670
14671 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
14672
14673 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
14674 * emacs-lisp/cl-macs.el: Idem.
14675 * emacs-lisp/cl-specs.el: Remove.
14676
14677 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
14678
14679 Minor renaming of internal CL functions and variables.
14680 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
14681 (cl--position): Rename from cl-position.
14682 (cl--delete-duplicates): Rename from cl-delete-duplicates.
14683 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
14684 (cl--random-state): Rename from *random-state*.
14685
14686 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
14687
14688 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
14689 parens around the arg list (bug#11499).
14690
14691 2012-05-17 Juri Linkov <juri@jurta.org>
14692
14693 * isearch.el (word-search-regexp, word-search-backward)
14694 (word-search-forward, word-search-backward-lax)
14695 (word-search-forward-lax): Move functions from search.c
14696 (bug#10145, bug#11381).
14697
14698 2012-05-16 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
14699
14700 * textmodes/flyspell.el (flyspell-check-pre-word-p)
14701 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
14702 Delay for otherchars as for normal word components.
14703
14704 2012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
14705
14706 * minibuffer.el (completion--sifn-requote): Fix last change.
14707 (minibuffer-local-must-match-filename-map):
14708 Move define-obsolete-variable-alias before its var.
14709
14710 2012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
14711
14712 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
14713
14714 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
14715 behavior.
14716 (completion--string-equal-p): New function.
14717 (completion--twq-all): Use it to get better assertion failure data.
14718
14719 Only handle ".." and '..' quoting in shell-mode (bug#11466).
14720 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
14721 (shell--requote-argument): New functions.
14722 (shell-completion-vars): Use them.
14723 (shell--parse-pcomplete-arguments): Rename from
14724 shell-parse-pcomplete-arguments.
14725 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
14726 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
14727 Obey comint-file-name-quote-list.
14728
14729 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
14730 (smie-indent-keyword): Use it.
14731
14732 2012-05-14 Stefan Merten <smerten@oekonux.de>
14733
14734 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
14735
14736 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
14737
14738 * net/rlogin.el (rlogin-mode-map): Fix last change.
14739
14740 2012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
14741
14742 * mail/smtpmail.el (smtpmail-send-command): Send the command and
14743 the following \r\n using a single `process-send-string', since the
14744 Lotus SMTP server refuses to accept any commands if they are sent
14745 with two `process-send-string's (Bug#11444).
14746
14747 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
14748
14749 * shell.el (shell-parse-pcomplete-arguments):
14750 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
14751
14752 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
14753
14754 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
14755 (image-transform-scale, image-transform-right-angle-fudge): New vars.
14756 (image-transform-width, image-transform-fit-width): New functions.
14757 (image-transform-properties): Use them.
14758 (image-transform-check-size): New function.
14759 (image-toggle-display-image): Use it (for testing).
14760 (image-transform-set-rotation): Reduce angle mod 360.
14761 Delete obsolete comment.
14762
14763 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
14764
14765 * image-mode.el: Fix scaling (bug#11399).
14766 (image-transform-resize): Doc fix.
14767 (image-transform-properties): Default scale is 1 and height should
14768 be an integer.
14769
14770 2012-05-13 Johan BockgĂ¥rd <bojohan@gnu.org>
14771
14772 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
14773 than hard-coding `car', to fix misbehavior when moving forward.
14774
14775 2012-05-13 Chong Yidong <cyd@gnu.org>
14776
14777 * emacs-lisp/tabulated-list.el (tabulated-list-format)
14778 (tabulated-list-entries, tabulated-list-padding)
14779 (tabulated-list-sort-key): Make permanent-local.
14780
14781 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
14782 (electric-buffer-list): Put electric buffer menu
14783 command descriptions in this docstring, instead of the docstring
14784 of electric-buffer-menu-mode. Code cleanups.
14785 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
14786 Electric-buffer-menu-mode.
14787 (electric-buffer-update-highlight): Minor code cleanup.
14788
14789 2012-05-13 Michael Albinus <michael.albinus@gmx.de>
14790
14791 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
14792 (Bug#11447)
14793
14794 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
14795
14796 Move define-obsolete-variable-alias before the var's definition.
14797 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
14798 * tooltip.el (tooltip-hook):
14799 * textmodes/reftex-toc.el (reftex-toc-map):
14800 * textmodes/reftex-sel.el (reftex-select-label-map)
14801 (reftex-select-bib-map):
14802 * textmodes/reftex-index.el (reftex-index-map)
14803 (reftex-index-phrases-map):
14804 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
14805 * progmodes/meta-mode.el (meta-mode-map):
14806 * novice.el (disabled-command-hook):
14807 * loadhist.el (unload-hook-features-list):
14808 * frame.el (blink-cursor):
14809 * files.el (find-file-not-found-hooks, write-file-hooks)
14810 (write-contents-hooks):
14811 * emulation/tpu-edt.el (GOLD-map):
14812 * emacs-lock.el (emacs-lock-from-exiting):
14813 * emacs-lisp/generic.el (generic-font-lock-defaults):
14814 * emacs-lisp/chart.el (chart-map):
14815 * dos-fns.el (register-name-alist):
14816 * dired-x.el (dired-omit-files-p):
14817 * desktop.el (desktop-enable):
14818 * cus-edit.el (custom-mode-hook):
14819 * buff-menu.el (buffer-menu-mode-hook):
14820 * bookmark.el (bookmark-read-annotation-text-func)
14821 (bookmark-exit-hooks):
14822 * allout.el (allout-mode-deactivate-hook)
14823 (allout-exposure-change-hook, allout-structure-added-hook)
14824 (allout-structure-deleted-hook, allout-structure-shifted-hook):
14825 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
14826 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
14827 comes before the corresponding variable's definition.
14828
14829 2012-05-12 Chong Yidong <cyd@gnu.org>
14830
14831 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
14832 (Buffer-menu-mouse-select): Restore function (Bug#11459).
14833 (Buffer-menu-mode-map): Bind it.
14834 (Buffer-menu--pretty-name): Add a mouse-face property.
14835
14836 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
14837
14838 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
14839 (prolog-upper-case-string, prolog-lower-case-string)
14840 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
14841 (prolog-use-smie, prolog-smie-grammar): New vars.
14842 (prolog-smie-forward-token, prolog-smie-backward-token)
14843 (prolog-smie-rules): New funs.
14844 (prolog-comment-indent): Remove.
14845 (prolog-mode-variables): Use default comment indentation instead.
14846 Setup SMIE.
14847 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
14848 (prolog-mode): Don't call them any more.
14849 (prolog-electric-colon, prolog-electric-dash)
14850 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
14851
14852 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
14853
14854 * minibuffer.el (completion--twq-all): Again, allow case differences.
14855
14856 * term.el: Move keymap initialization code to be more idiomatic.
14857 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
14858 (term-terminal-menu): Move initialization into declaration.
14859 (term-escape-char): Let the user set it in her .emacs.
14860
14861 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
14862 Provide SMIE-based indentation (not enabled by default yet).
14863 (sh-mode-map): Don't bind electric keys.
14864 Use electric-pair-mode instead of skeleton-pair.
14865 (sh-assignment-regexp): Fit within 80 columns.
14866 (sh-indent-supported): Specify actual shell name instead of boolean.
14867 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
14868 (sh-maybe-here-document): Use it. Make obsolete.
14869 (sh-electric-here-document-mode) New minor mode.
14870 (sh-mode): Use it. Don't set sh-indent-supported-here here.
14871 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
14872 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
14873 (sh-smie-rc-grammar, sh-use-smie): New vars.
14874 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
14875 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
14876 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
14877 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
14878 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
14879 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
14880 (sh-set-shell): Use smie-setup if requested.
14881
14882 * term.el (term-set-escape-char): Properly set term-escape-char.
14883 See http://stackoverflow.com/questions/10524656.
14884
14885 2012-05-10 Chong Yidong <cyd@gnu.org>
14886
14887 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
14888 Use url-generic-parse-url, and handle host names and Windows
14889 filenames properly.
14890 (ffap-url-unwrap-remote): Use url-generic-parse-url.
14891 (ffap-url-unwrap-remote): Accept list values, specifying a list of
14892 URL schemes to work on.
14893 (ffap--toggle-read-only): New function.
14894 (ffap-read-only, ffap-read-only-other-window)
14895 (ffap-read-only-other-frame): Use it.
14896 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
14897 necessary for ffap-url-unwrap-remote.
14898
14899 2012-05-10 Dave Abrahams <dave@boostpro.com>
14900
14901 * cus-start.el (create-lockfiles): Add it.
14902
14903 2012-05-09 Chong Yidong <cyd@gnu.org>
14904
14905 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
14906 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
14907
14908 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
14909
14910 * shell.el (shell-completion-vars): Fix last change (bug#11348).
14911
14912 2012-05-09 Chong Yidong <cyd@gnu.org>
14913
14914 * ansi-color.el (ansi-color-process-output): Check for validity of
14915 comint-last-output-start before using it. This avoids a bad
14916 interaction with gdb-mi's input/output buffer.
14917
14918 2012-05-09 Glenn Morris <rgm@gnu.org>
14919
14920 * files.el (dir-locals-read-from-file):
14921 Mention dir-locals in any error message.
14922
14923 2012-05-09 Chong Yidong <cyd@gnu.org>
14924
14925 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
14926 package (Bug#11410).
14927
14928 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
14929 variables into description.
14930
14931 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
14932
14933 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
14934 shell-delimiter-argument-list (bug#11348).
14935 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
14936
14937 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
14938
14939 * textmodes/rst.el: Silence byte-compiler warnings.
14940 (rst-re-alist, rst-reset-section-caches): Move around.
14941 (rst-re): Use `characterp', not `char-valid-p'.
14942 (font-lock-beg, font-lock-end): Declare.
14943
14944 * progmodes/idlw-shell.el (specs): Remove reference to deleted
14945 variable `idlwave-shell-activate-alt-keybindings' and simplify.
14946
14947 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
14948
14949 2012-05-08 Glenn Morris <rgm@gnu.org>
14950
14951 * files.el (auto-mode-alist): Treat ".make" like ".mk".
14952
14953 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
14954
14955 * vc/log-edit.el: Add GNU coding standards highlighting.
14956 (log-edit-font-lock-gnu-style)
14957 (log-edit-font-lock-gnu-keywords): New vars.
14958 (log-edit-font-lock-keywords): New fun.
14959 (log-edit-mode): Don't fold case in font-lock.
14960 (log-edit-font-lock-keywords): Do not assume case-folding.
14961
14962 * imenu.el: Misc cleanup. Make docstrings out of comments.
14963 Use lexical-binding.
14964 (imenu--index-alist, imenu--last-menubar-index-alist)
14965 (imenu-menubar-modified-tick): Use defvar-local.
14966 (imenu--split-menu): Remove unused var.
14967 (imenu--cleanup-seen): Declare as global.
14968 (imenu--cleanup): Use dolist.
14969
14970 * subr.el (defvar-local): Add debug spec and doc-string position.
14971
14972 2012-05-08 Glenn Morris <rgm@gnu.org>
14973
14974 * language/burmese.el, language/cham.el, language/czech.el:
14975 * language/english.el, language/georgian.el, language/greek.el:
14976 * language/japanese.el, language/khmer.el, language/korean.el:
14977 * language/lao.el, language/misc-lang.el, language/romanian.el:
14978 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
14979 * language/thai.el, language/utf-8-lang.el:
14980 Remove no-byte-compile setting.
14981
14982 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
14983
14984 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
14985
14986 * progmodes/make-mode.el (makefile-browse):
14987 Remove unnecessary interactive. (Bug#11324)
14988
14989 2012-05-07 Glenn Morris <rgm@gnu.org>
14990
14991 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
14992
14993 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
14994
14995 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
14996
14997 * loadup.el: Preload newcomment.el.
14998 * newcomment.el: Move autoload-only code to toplevel.
14999
15000 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
15001 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
15002 Handle new :right-align column property.
15003 (tabulated-list-print-col): Idem, plus use `display' text-property to
15004 try and preserve alignment for variable pitch fonts.
15005
15006 2012-05-07 Chong Yidong <cyd@gnu.org>
15007
15008 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
15009 (tabulated-list-use-header-line): New var.
15010 (tabulated-list-init-header): Use it.
15011 (tabulated-list-print-fake-header): New function.
15012 (tabulated-list-print): Use it.
15013 (tabulated-list-sort-button-map): Add non-header-line commands.
15014 (tabulated-list-init-header): Add column name property to basic
15015 labels as well.
15016 (tabulated-list-col-sort): Handle non-header-line button case.
15017 (tabulated-list--sort-by-column-name): Fix a corner case.
15018
15019 * buff-menu.el (list-buffers--refresh):
15020 Handle Buffer-menu-use-header-line.
15021
15022 2012-05-06 Chong Yidong <cyd@gnu.org>
15023
15024 * buff-menu.el: Convert to Tabulated List mode.
15025 (Buffer-menu-buffer+size-width): Make obsolete.
15026 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
15027 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
15028 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
15029 documentation into docstring of buffer-menu.
15030 (Buffer-menu-toggle-files-only): Add an informative message.
15031 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
15032 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
15033 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
15034 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
15035 (Buffer-menu-execute, Buffer-menu-select)
15036 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
15037 (Buffer-menu-bury): Use Tabulated List machinery.
15038 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
15039 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
15040 Delete.
15041 (list-buffers--refresh): New function.
15042 (list-buffers-noselect): Use it.
15043 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
15044 (Buffer-menu--pretty-file-name): New helper functions.
15045
15046 * loadup.el: Preload tabulated-list.
15047
15048 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
15049 tabulated-list-sort-column.
15050 (tabulated-list-init-header): Add the initial aligning space even
15051 if tabulated-list-padding is zero.
15052
15053 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
15054
15055 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
15056 whose cdr is not a cons cell correctly (bug#11038).
15057
15058 2012-05-06 Chong Yidong <cyd@gnu.org>
15059
15060 * emacs-lisp/tabulated-list.el (tabulated-list-format):
15061 Accept additional plist in column descriptors.
15062 (tabulated-list-init-header): Obey it.
15063 (tabulated-list-get-entry): New function.
15064 (tabulated-list-put-tag): Use it. Use string-width instead of
15065 length.
15066 (tabulated-list--column-number): New function.
15067 (tabulated-list-print): Use it.
15068 (tabulated-list-print-col): New function.
15069 Set `tabulated-list-column-name' property on each column's text.
15070 (tabulated-list-print-entry): Use it.
15071 (tabulated-list-delete-entry, tabulated-list-set-col):
15072 New functions.
15073 (tabulated-list-sort-column): New command (Bug#11337).
15074
15075 * buff-menu.el (list-buffers): Move C-x C-b binding from
15076 buff-menu.el to bindings.el.
15077
15078 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
15079 :advertised-binding feature.
15080
15081 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
15082
15083 * progmodes/compile.el (compilation-internal-error-properties):
15084 Calculate start position correctly when end-col is set but
15085 end-line is not (Bug#11382).
15086
15087 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
15088
15089 * man.el (Man-unindent): Use text-property-default-nonsticky to
15090 prevent untabify from inheriting face properties (Bug#11408).
15091
15092 2012-05-05 Stefan Merten <smerten@oekonux.de>
15093
15094 * textmodes/rst.el: Major merge with upstream development up to
15095 Docutils SVN r7399 / rst.el V1.2.1.
15096
15097 Clarify maintainership and authors.
15098
15099 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
15100 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
15101 (rst-official-version, rst-official-cvs-rev, rst-version)
15102 (rst-package-emacs-version-alist): New functions and variables
15103 for version information.
15104
15105 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
15106 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
15107 (rst-mode-syntax-table, rst-mode): New and corrected functions
15108 and variables representing reStructuredText features.
15109
15110 (rst-re): New function for reStructuredText regexes. Use in
15111 many places.
15112
15113 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
15114 (rst-mode-map): Rebind keys.
15115
15116 (rst-mode-lazy, rst-font-lock-keywords)
15117 (rst-font-lock-extend-region)
15118 (rst-font-lock-extend-region-internal)
15119 (rst-font-lock-extend-region-extend)
15120 (rst-font-lock-find-unindented-line-limit)
15121 (rst-font-lock-find-unindented-line-match)
15122 (rst-adornment-level, rst-font-lock-adornment-level)
15123 (rst-font-lock-adornment-match)
15124 (rst-font-lock-handle-adornment-pre-match-form)
15125 (rst-font-lock-handle-adornment-matcher): Major revision of
15126 font-locking. Integrate with other code. Use `jit-lock-mode'.
15127
15128 (rst-preferred-adornments, rst-adjust-hook)
15129 (rst-new-adornment-down, rst-preferred-bullets)
15130 (rst-preferred-bullets, rst-indent, rst-indent-width)
15131 (rst-indent-field, rst-indent-literal-normal)
15132 (rst-indent-literal-minimized, rst-indent-comment): Change,
15133 extend and improve customization.
15134
15135 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
15136 (rst-normalize-cursor-position, rst-get-decoration)
15137 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
15138 (rst-rstrip, rst-toc-insert-find-delete-contents)
15139 (rst-shift-fill-region, rst-compute-bullet-tabs)
15140 (rst-debug-print-tabs, rst-debug-mark-found)
15141 (rst-shift-region-guts, rst-shift-region-right)
15142 (rst-shift-region-left, rst-use-char-classes)
15143 (rst-font-lock-keywords-function)
15144 (rst-font-lock-indentation-point)
15145 (rst-font-lock-find-unindented-line-begin)
15146 (rst-font-lock-find-unindented-line-end)
15147 (rst-font-lock-find-unindented-line)
15148 (rst-font-lock-adornment-point, rst-font-lock-level)
15149 (rst-adornment-level-alist): Remove functions and variables.
15150
15151 (rst-compare-adornments, rst-get-adornment-match)
15152 (rst-suggest-new-adornment, rst-get-adornments-around)
15153 (rst-adornment-complete-p, rst-get-next-adornment)
15154 (rst-adjust-adornment, rst-display-adornments-hierarchy)
15155 (rst-straighten-adornments): Standardize function names to
15156 use "adornment" instead of "decoration". Correct callers.
15157 Similar standardizing in many places.
15158
15159 (rst-update-section, rst-adjust, rst-promote-region)
15160 (rst-enumerate-region, rst-bullet-list-region)
15161 (rst-repeat-last-character): Correct use of `interactive'.
15162
15163 (rst-classify-adornment, rst-find-all-adornments)
15164 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
15165 (rst-find-leftmost-column, rst-repeat-last-character):
15166 Refactor functions.
15167
15168 (rst-find-title-line, rst-reset-section-caches)
15169 (rst-get-adornments-around, rst-adjust-adornment-work)
15170 (rst-arabic-to-roman, rst-roman-to-arabic)
15171 (rst-insert-list-pos, rst-insert-list-new-item)
15172 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
15173 New functions.
15174
15175 (rst-all-sections, rst-section-hierarchy)
15176 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
15177 New variables.
15178
15179 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
15180 configuration instead of only buffer. Change where necessary.
15181
15182 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
15183 (rst-shift-region, rst-adaptive-fill): New functions for
15184 indentation and filling.
15185
15186 (rst-comment-line-break, rst-comment-indent)
15187 (rst-comment-insert-comment, rst-comment-region)
15188 (rst-uncomment-region): New functions for handling comments.
15189
15190 (rst-compile): Quote shell arguments.
15191
15192 (rst-compile-pdf-preview, rst-compile-slides-preview):
15193 Delete temporary files after use.
15194
15195 2012-05-05 Glenn Morris <rgm@gnu.org>
15196
15197 * calendar/cal-html.el: Optionally include holidays in the output.
15198 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
15199 (cal-html-holidays): New option.
15200 (cal-html-css-default): Add holiday entry.
15201 (holiday-in-range): Autoload it.
15202 (cal-html-htmlify-entry): Add optional class argument.
15203 (cal-html-htmlify-list): Add optional holidays argument.
15204 (cal-html-insert-agenda-days): Include holidays in the output.
15205 (cal-html-one-month): Maybe include holidays.
15206
15207 * calendar/holidays.el (holiday-in-range):
15208 Move here from cal-tex-list-holidays.
15209 * calendar/cal-tex.el (cal-tex-list-holidays):
15210 Make it an obsolete alias for holiday-in-range. Update all callers.
15211
15212 2012-05-05 Chong Yidong <cyd@gnu.org>
15213
15214 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
15215 Nextstep.
15216
15217 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
15218
15219 * files.el (file-auto-mode-skip): New var.
15220 (set-auto-mode-1): Use it.
15221
15222 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
15223
15224 * repeat.el: Use lexical-binding.
15225 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
15226 (repeat-undo-count): Remove.
15227 (repeat):
15228 * progmodes/octave-mod.el (octave-abbrev-start):
15229 * progmodes/f90.el (f90-abbrev-start):
15230 * face-remap.el (text-scale-adjust):
15231 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
15232
15233 * emacs-lisp/pcase.el (pcase--let*): New function.
15234 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
15235 a bit more.
15236 (pcase--split-pred): Be more clever about ruling out overlap between
15237 a predicate and some constant pattern.
15238 (pcase--q1): Use `null' instead of (eq foo nil).
15239
15240 * subr.el (setq-local, defvar-local): New macros.
15241 (kbd): Redefine as an alias.
15242 (with-selected-window): Leave unrelated frames alone.
15243 (set-temporary-overlay-map): New function.
15244
15245 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
15246
15247 * subr.el (user-error): New function.
15248 * window.el (switch-to-buffer):
15249 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
15250 (smerge-match-conflict):
15251 * simple.el (previous-matching-history-element)
15252 (next-matching-history-element, goto-history-element, undo-more)
15253 (undo-start):
15254 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
15255 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
15256 (next-file, tags-loop-scan, list-tags, complete-tag):
15257 * progmodes/compile.el (compilation-loop):
15258 * mouse.el (mouse-minibuffer-check):
15259 * man.el (Man-bgproc-sentinel, Man-goto-page):
15260 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
15261 (Info-history-forward, Info-follow-reference, Info-menu)
15262 (Info-extract-menu-item, Info-extract-menu-counting)
15263 (Info-forward-node, Info-backward-node, Info-next-menu-item)
15264 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
15265 (Info-next-reference, Info-prev-reference, Info-index)
15266 (Info-index-next, Info-follow-nearest-node)
15267 (Info-copy-current-node-name):
15268 * imenu.el (imenu--make-index-alist)
15269 (imenu-default-create-index-function, imenu-add-to-menubar):
15270 * files.el (basic-save-buffer, recover-file):
15271 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
15272 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
15273 (checkdoc-message-text, checkdoc-defun):
15274 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
15275 * cus-edit.el (customize-changed-options, customize-rogue)
15276 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
15277 (custom-variable-mark-to-reset-standard)
15278 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
15279 (custom-file):
15280 * completion.el (check-completion-length):
15281 * comint.el (comint-search-arg)
15282 (comint-previous-matching-input-string-position)
15283 (comint-previous-matching-input)
15284 (comint-replace-by-expanded-history-before-point, comint-send-input)
15285 (comint-copy-old-input, comint-backward-matching-input)
15286 (comint-goto-process-mark, comint-set-process-mark):
15287 * calendar/calendar.el (calendar-cursor-to-date): Use it.
15288 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
15289
15290 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
15291
15292 * dabbrev.el (dabbrev--ignore-case-p): New function.
15293 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
15294 Use it.
15295
15296 * files.el (automount-dir-prefix): Mark as obsolete.
15297
15298 2012-05-04 Glenn Morris <rgm@gnu.org>
15299
15300 * patcomp.el, play/bruce.el: Move to obsolete/.
15301
15302 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
15303
15304 Fix minor Y10k bugs.
15305 * arc-mode.el (archive-unixdate):
15306 * autoinsert.el (auto-insert-alist):
15307 * calc/calc-forms.el (math-this-year):
15308 * emacs-lisp/copyright.el (copyright-current-year)
15309 (copyright-update-year, copyright):
15310 * tar-mode.el (tar-clip-time-string):
15311 * time.el (display-time-update):
15312 Don't assume years have 4 digits.
15313
15314 2012-05-04 Chong Yidong <cyd@gnu.org>
15315
15316 * dos-w32.el (file-name-buffer-file-type-alist)
15317 (direct-print-region-use-command-dot-com):
15318 * ffap.el (ffap-menu-regexp):
15319 * find-file.el (ff-special-constructs):
15320 * follow.el (follow-debug):
15321 * forms.el (forms--debug):
15322 * iswitchb.el (iswitchb-all-frames):
15323 * ido.el (ido-all-frames):
15324 * emacs-lisp/timer.el (timer-max-repeats):
15325 * mail/feedmail.el (feedmail-mail-send-hook)
15326 (feedmail-mail-send-hook-queued):
15327 * mail/footnote.el (footnote-signature-separator):
15328 * mail/mailabbrev.el (mail-alias-separator-string)
15329 (mail-abbrev-mode-regexp):
15330 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
15331 * progmodes/idlwave.el (idlwave-libinfo-file)
15332 (idlwave-default-completion-case-is-down)
15333 (idlwave-library-routines): Convert defvars to defcustoms.
15334
15335 * mail/rmail.el (rmail-decode-mime-charset):
15336 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
15337 (idlwave-shell-fix-inserted-breaks)
15338 (idlwave-shell-activate-alt-keybindings)
15339 (idlwave-shell-use-breakpoint-glyph):
15340 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
15341
15342 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
15343
15344 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
15345
15346 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
15347
15348 * progmodes/verilog-mode.el (font-lock-keywords):
15349 Fix mis-highligting auto. Reported by Craig Barner.
15350 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
15351 defines from global name space. Reported by Dan Dever.
15352 (verilog-auto-reset, verilog-auto-reset-widths)
15353 (verilog-auto-tieoff): Support using unbased numbers for
15354 AUTORESET and AUTOTIEOFF.
15355 (verilog-submit-bug-report): Update variable list.
15356 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
15357 parenthesis from not matching. Reported by Michael Rytting.
15358 (verilog-auto-template-lint): Fix hash error when linting modules
15359 with no used templates.
15360 (verilog-warn, verilog-warn-error)
15361 (verilog-warn-fatal): When non-interactive report multiple
15362 warnings before exiting. Suggested by Brad Dobbie.
15363 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
15364 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
15365 to report unused template errors. Reported by Brad Dobbie.
15366 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
15367 nets, bug438. Reported by Vns Blore.
15368 (verilog-auto-inout-module, verilog-auto-reg)
15369 (verilog-read-decls, verilog-read-sub-decls-sig)
15370 (verilog-signals-edit-wire-reg, verilog-signals-with):
15371 Fix passing of Verilog data types in ANSI input/output ports
15372 such as "output logic" into the AUTOs. Special case "wire" and
15373 "reg" for backwards compatibility presuming Verilog 2001.
15374 (verilog-auto-ascii-enum): Add "auto enum" as alias.
15375 (verilog-preprocess): Fix replication of preprocess output.
15376 Reported by Brad Dobbie.
15377 (verilog-auto-inst-interfaced-ports):
15378 Create verilog-auto-inst-interfaced-ports, bug429.
15379 Reported by Julian Gorfajn.
15380 (verilog-after-save-font-hook)
15381 (verilog-before-save-font-hook): New variable.
15382 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
15383 (verilog-save-font-mods): Wrap disabling fontification, reported
15384 by David Rogoff.
15385 (verilog-do-indent, verilog-pretty-declarations-auto)
15386 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
15387 Reported by Pierre-David Pfister.
15388 (verilog-set-auto-endcomments): Fix endtask auto comments outside
15389 of class declarations, bug292. Reported by Kevin Heilman.
15390 (verilog-read-decls): Fix 'parameter type' not appearing in
15391 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
15392 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
15393 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
15394 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
15395 Reported by David Kravitz.
15396
15397 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
15398
15399 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
15400 assignment with tests in ifs and for loops.
15401 (verilog-extended-complete-re, verilog-complete-reg): Change so
15402 that DPI inport functions don't look like fuction declarations.
15403 (verilog-pretty-expr): Don't line up assignment
15404 operations to the test and increment in if and for loops
15405 (verilog-extended-complete-re, verilog-complete-reg): Change so
15406 that DPI inport functions don't look like fuction declarations.
15407
15408 2012-05-03 Kenichi Handa <handa@m17n.org>
15409
15410 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
15411 decoding, and show a warning message without signaling an error
15412 (Bug#11282).
15413
15414 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
15415
15416 * emacs-lisp/bytecomp.el
15417 (byte-compile-file-form-custom-declare-variable): Compile all elements,
15418 since cconv.el might have introduced :fun-body, internal-make-closure,
15419 and friends for bytecomp to handle (bug#11391).
15420 * custom.el (defcustom): Avoid ((λ ..) ..).
15421
15422 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
15423
15424 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
15425
15426 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
15427
15428 * notifications.el (dbus-debug):
15429 * term/linux.el (gpm-mouse-enable):
15430 * term/screen.el (xterm-register-default-colors): Declare.
15431
15432 2012-05-02 Chong Yidong <cyd@gnu.org>
15433
15434 * cus-start.el (gc-cons-percentage, exec-suffixes)
15435 (dos-display-scancodes, dos-hyper-key, dos-super-key)
15436 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
15437 (make-cursor-line-fully-visible, void-text-area-pointer)
15438 (font-list-limit): Add customization data.
15439
15440 * allout.el (allout-exposure-change-functions)
15441 (allout-structure-added-functions)
15442 (allout-structure-deleted-functions)
15443 (allout-structure-shifted-functions): Rename abnormal hooks from
15444 *-hook, and convert to defcustoms.
15445 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
15446 Convert to defcustoms.
15447 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
15448
15449 * allout-widgets.el: Hook callers changed.
15450
15451 2012-05-02 Eli Zaretskii <eliz@gnu.org>
15452
15453 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
15454 the yanked message in preference to the default value of
15455 buffer-file-coding-system.
15456
15457 2012-05-02 Martin Rudalics <rudalics@gmx.at>
15458
15459 * window.el (display-buffer--action-function-custom-type):
15460 Fix entry.
15461
15462 2012-05-02 Alan Mackenzie <acm@muc.de>
15463
15464 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
15465
15466 2012-05-01 Glenn Morris <rgm@gnu.org>
15467
15468 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
15469
15470 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
15471
15472 * cus-edit.el (custom-variable-documentation): Simplify with format.
15473
15474 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
15475 Stefan Monnier <monnier@iro.umontreal.ca>
15476
15477 * simple.el (suggest-key-bindings, execute-extended-command):
15478 Move from keyboard.c.
15479
15480 2012-05-01 Chong Yidong <cyd@gnu.org>
15481
15482 * follow.el: Eliminate advice.
15483 (set-process-filter, process-filter, sit-for): Advice deleted.
15484 (follow-mode-off-hook): Obsolete hook removed.
15485 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
15486 Vars deleted.
15487 (follow-auto): Use a :set function.
15488 (follow-mode): Rewritten. Don't advise process filters.
15489 (follow-switch-to-current-buffer-all, follow-scroll-up)
15490 (follow-scroll-down): Assume follow-mode is bound.
15491 (follow-comint-scroll-to-bottom)
15492 (follow-align-compilation-windows): New functions.
15493 (follow--window-sorter): New function.
15494 (follow-all-followers): Use it to explicitly sort windows by their
15495 positions; don't make assumptions about next-window order.
15496 (follow-windows-start-end, follow-delete-other-windows-and-split)
15497 (follow-calc-win-start): Doc fix.
15498 (follow-windows-aligned-p, follow-select-if-visible): Don't call
15499 vertical-motion unnecessarily.
15500 (follow-adjust-window): New function.
15501 (follow-post-command-hook): Use it.
15502 (follow-call-set-process-filter, follow-call-process-filter)
15503 (follow-intercept-process-output, follow-tidy-process-filter-alist)
15504 (follow-stop-intercept-process-output, follow-generic-filter):
15505 Functions deleted.
15506 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
15507 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
15508 New functions, replacing advice on scroll-bar-* commands.
15509 (follow-mwheel-scroll): New function (Bug#4112).
15510
15511 * comint.el (comint-adjust-point): New function.
15512 (comint-postoutput-scroll-to-bottom): Use it.
15513 Call follow-comint-scroll-to-bottom for Follow mode buffers.
15514
15515 2012-05-01 Glenn Morris <rgm@gnu.org>
15516
15517 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
15518 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
15519 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
15520 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
15521 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
15522 Remove no-byte-compile setting.
15523
15524 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
15525
15526 * minibuffer.el (completion-table-with-quoting): Fix compatibility
15527 all-completions code to not return a number in the last cdr.
15528
15529 2012-04-30 Leo Liu <sdl.web@gmail.com>
15530
15531 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
15532 read-only error.
15533
15534 2012-04-29 Chong Yidong <cyd@gnu.org>
15535
15536 * follow.el (follow-calc-win-end): Rewrite to handle partial
15537 screen lines correctly (Bug#8390).
15538 (follow-avoid-tail-recenter): Minor cleanup.
15539
15540 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
15541
15542 Avoid the obsolete `assoc' package.
15543 * speedbar.el (speedbar-refresh): Avoid adelete.
15544 (speedbar-file-lists): Simplify and avoid aput.
15545 * man.el (Man--sections, Man--refpages): New vars, replacing
15546 Man-sections-alist and Man-refpages-alist.
15547 (Man-build-section-alist, Man-build-references-alist):
15548 Use them; avoid aput.
15549 (Man--last-section, Man--last-refpage): New vars.
15550 (Man-follow-manual-reference): Use them.
15551 Use the `default' arg of completing-read.
15552 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
15553
15554 2012-04-27 Chong Yidong <cyd@gnu.org>
15555
15556 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
15557
15558 * startup.el (x-apply-session-resources): New function.
15559
15560 * term/ns-win.el (ns-initialize-window-system):
15561 * term/w32-win.el (w32-initialize-window-system):
15562 * term/x-win.el (x-initialize-window-system): Use it to properly
15563 set menu-bar-mode and other vars from X resources, even if the
15564 initial frame is not a window-system frame (Bug#2299).
15565
15566 * subr.el (read-key): Avoid running filter function when setting
15567 up temporary tool bar entries (Bug#9922).
15568
15569 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
15570
15571 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
15572 (Bug#11344)
15573
15574 2012-04-27 Chong Yidong <cyd@gnu.org>
15575
15576 * select.el (xselect--encode-string): New function, split from
15577 xselect-convert-to-string.
15578 (xselect-convert-to-string): Use it.
15579 (xselect-convert-to-filename, xselect-convert-to-os)
15580 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
15581 returned strings are properly encoded (Bug#11315).
15582
15583 2012-04-27 Chong Yidong <cyd@gnu.org>
15584
15585 * simple.el (delete-active-region): Move to killing custom group.
15586
15587 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
15588
15589 * progmodes/which-func.el (which-func-current): Quote %
15590 characters for mode-line processing.
15591
15592 2012-04-27 Chong Yidong <cyd@gnu.org>
15593
15594 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
15595 reaching eob (Bug#11286).
15596
15597 2012-04-27 Eli Zaretskii <eliz@gnu.org>
15598
15599 * progmodes/gdb-mi.el (gdb-control-level): New variable.
15600 (gdb): Make it buffer-local and init to zero.
15601 (gdb-control-commands-regexp): New variable.
15602 (gdb-send): Don't wrap in "-interpreter-exec console" if
15603 gdb-control-level is positive. Increment gdb-control-level
15604 whenever the command matches gdb-control-commands-regexp, and
15605 decrement it each time the command is "end". (Bug#11279)
15606
15607 2012-04-27 Martin Rudalics <rudalics@gmx.at>
15608
15609 * window.el (adjust-window-trailing-edge, enlarge-window)
15610 (shrink-window, window-resize):
15611 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
15612 windows (Bug#11276).
15613
15614 2012-04-27 Chong Yidong <cyd@gnu.org>
15615
15616 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
15617 fix "missing prefix" warning. All callers changed.
15618
15619 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
15620
15621 * emacs-lisp/assoc.el: Move to obsolete/.
15622
15623 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
15624
15625 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
15626
15627 * term/ns-win.el (ns-define-service):
15628 * progmodes/pascal.el (pascal-goto-defun):
15629 * progmodes/js.el (js--read-tab):
15630 * progmodes/etags.el (tags-lazy-completion-table):
15631 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
15632 * emacs-lisp/ewoc.el (ewoc--wrap):
15633 * emacs-lisp/assoc.el (aput, adelete, amake):
15634 * doc-view.el (doc-view-convert-current-doc):
15635 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
15636
15637 2012-04-26 Chong Yidong <cyd@gnu.org>
15638
15639 * image.el (image-type-from-buffer): Only return supported image
15640 type (Bug#9045).
15641
15642 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
15643 value, for symmetry with diff-end-of-hunk.
15644 (diff-split-hunk, diff-find-source-location)
15645 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
15646 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
15647 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
15648 compute the relevant hunk or file properly (Bug#6005).
15649 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
15650
15651 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
15652
15653 * vc/vc-mtn.el:
15654 * vc/vc-hg.el:
15655 * vc/vc-git.el:
15656 * vc/vc-dir.el:
15657 * vc/vc-cvs.el:
15658 * vc/vc-bzr.el:
15659 * vc/vc-arch.el:
15660 * vc/vc.el: Replace lexical-let by lexical-binding.
15661 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
15662 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
15663 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
15664
15665 2012-04-26 Chong Yidong <cyd@gnu.org>
15666
15667 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
15668 (diff-mode-shared-map): Bind it to / and [remap undo].
15669
15670 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
15671 (ediff-window-setup-function): Use it as the default, to set up
15672 windows based on whether the current frame is graphical (Bug#2138).
15673 (ediff-choose-window-setup-function-automatically): Make obsolete.
15674
15675 * vc/ediff-init.el: Always define ediff-pixel-width/height.
15676
15677 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
15678
15679 * ffap.el: Remove old code for obsolete package.
15680 (ffap-complete-as-file-p): Remove.
15681
15682 Use completion-table-with-quoting for comint and pcomplete.
15683 * comint.el (comint--unquote&requote-argument)
15684 (comint--unquote-argument, comint--requote-argument): New functions.
15685 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
15686 (comint-quote-filename): Use regexp-opt-charset.
15687 (comint--common-suffix, comint--common-quoted-suffix)
15688 (comint--table-subvert): Remove.
15689 (comint-unquote-function, comint-requote-function): New vars.
15690 (comint--complete-file-name-data): Use them with
15691 completion-table-with-quoting.
15692 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
15693 * pcomplete.el (pcomplete-arg-quote-list)
15694 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
15695 (pcomplete-unquote-argument-function): Default to non-nil.
15696 (pcomplete-unquote-argument): Simplify.
15697 (pcomplete--common-quoted-suffix): Remove.
15698 (pcomplete-requote-argument-function): New var.
15699 (pcomplete--common-suffix): New function.
15700 (pcomplete-completions-at-point): Use completion-table-with-quoting
15701 and completion-table-subvert.
15702
15703 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
15704 (minibuffer--double-dollars): Preserve properties.
15705 (completion--sifn-requote): New function.
15706 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
15707
15708 * minibuffer.el: Add support for completion of quoted/escaped data.
15709 (completion-table-with-quoting, completion-table-subvert): New funs.
15710 (completion--twq-try, completion--twq-all): New functions.
15711 (completion--nth-completion): New function.
15712 (completion-try-completion, completion-all-completions): Use it.
15713
15714 2012-04-25 Leo Liu <sdl.web@gmail.com>
15715
15716 * progmodes/python.el (python-pdbtrack-get-source-buffer):
15717 Use compilation-message if available to find real filename.
15718
15719 2012-04-25 Chong Yidong <cyd@gnu.org>
15720
15721 * vc/diff-mode.el (diff-setup-whitespace): New function.
15722 (diff-mode): Use it.
15723
15724 * vc/diff.el (diff-sentinel):
15725 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
15726 Whitespace mode variables based on diff style (Bug#8612).
15727
15728 2012-04-25 Leo Liu <sdl.web@gmail.com>
15729
15730 * progmodes/python.el (python-send-region): Add suffix .py to the
15731 temp file.
15732
15733 * files.el (auto-mode-alist): Use javascript-mode instead.
15734
15735 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
15736
15737 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
15738
15739 * net/soap-client.el (soap-resolve-references-for-sequence-type)
15740 (soap-resolve-references-for-array-type): Hack to prevent self
15741 references, see Bug#9.
15742 (soap-parse-envelope): Report the contents of the 'detail' node
15743 when receiving a fault reply.
15744 (soap-parse-envelope): Report the contents of the entire 'detail' node.
15745
15746 * net/soap-inspect.el (soap-sample-value-for-simple-type)
15747 (soap-inspect-simple-type): New function.
15748
15749 * net/soap-client.el (soap-simple-type): New struct.
15750 (soap-default-xsd-types, soap-default-soapenc-types)
15751 (soap-decode-basic-type, soap-encode-basic-type):
15752 support unsignedInt and double basic types.
15753 (soap-resolve-references-for-simple-type)
15754 (soap-parse-simple-type, soap-encode-simple-type): New function.
15755 (soap-parse-schema): Parse xsd:simpleType declarations.
15756
15757 * net/soap-client.el (soap-default-xsd-types)
15758 (soap-default-soapenc-types): Add integer, byte and anyURI types.
15759 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
15760 the local name of "soapenc:Array".
15761 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
15762 decoding integer, byte and anyURI xsd types.
15763
15764 2012-04-25 Chong Yidong <cyd@gnu.org>
15765
15766 * cus-edit.el (custom-buffer-create-internal): Update header text.
15767
15768 2012-04-25 Eli Zaretskii <eliz@gnu.org>
15769
15770 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
15771 settings on 'system-type', not on 'window-system'. On MS-Windows,
15772 set interactive-mode on in GDB.
15773
15774 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
15775
15776 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
15777 (ruby-syntax-propertize-regexp): Remove.
15778 (ruby-syntax-propertize-function): Split regexp into chunks.
15779 Match following code directly.
15780
15781 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
15782
15783 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
15784 (ruby-syntax-propertize-regexp): New function.
15785 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
15786 by a special keyword.
15787
15788 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
15789 (ruby-syntax-general-delimiters-goto-beg)
15790 (ruby-syntax-propertize-general-delimiters): New functions.
15791 (ruby-syntax-propertize-function): Use them to handle GDL.
15792 (ruby-font-lock-keywords): Move old handling of GDL...
15793 (ruby-font-lock-syntactic-keywords): .. to here.
15794 (ruby-calculate-indent): Adjust indentation for GDL.
15795
15796 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
15797
15798 * notifications.el (top): Remove unneeded declarations.
15799 (notifications-specification-version): Change to "1.2".
15800 (notifications-interface, notifications-notify-method)
15801 (notifications-close-notification-method): Fix docstring.
15802 (notifications-get-capabilities-method): New defconst.
15803 (notifications-notify): Add :action-items, :resident and
15804 :transient hints. Change "image_data" to "image-data" and
15805 "image_path" to "image-path".
15806 (notifications-get-capabilities): New defun.
15807
15808 2012-04-24 Leo Liu <sdl.web@gmail.com>
15809
15810 * progmodes/python.el: Move hideshow setup to the end.
15811
15812 2012-04-24 Martin Rudalics <rudalics@gmx.at>
15813
15814 * window.el (handle-select-window): Clear echo area since this is
15815 no more done by read_char (Bug#11304).
15816
15817 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
15818
15819 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
15820 and `/ M' to filter-derived-mode.
15821 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
15822 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
15823 (ibuffer-mark-by-mode): Use default rather than initial-input.
15824 (ibuffer-filter-by-derived-mode): Autoload and require-match.
15825
15826 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
15827
15828 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
15829 (ibuffer-filter-by-derived-mode): New filter.
15830 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
15831
15832 2012-04-23 Andreas Politz <politza@fh-trier.de>
15833
15834 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
15835
15836 2012-04-23 Chong Yidong <cyd@gnu.org>
15837
15838 * cus-edit.el (customize-apropos, customize-apropos-options):
15839 Disable matching of non-option variables (Bug#11176).
15840 (customize-option, customize-option-other-window)
15841 (customize-changed-options): Doc fix.
15842 (customize-apropos-options, customize-apropos-faces)
15843 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
15844
15845 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
15846 Fix word list splitting (Bug#11132).
15847 (apropos-symbol, apropos-keybinding, apropos-label)
15848 (apropos-property, apropos-function-button)
15849 (apropos-variable-button, apropos-misc-button): New faces.
15850 (apropos-symbol-face, apropos-keybinding-face)
15851 (apropos-label-face, apropos-property-face, apropos-match-face):
15852 Variables removed (Bug#8396).
15853 (apropos-library-button, apropos-format-plist, apropos-print)
15854 (apropos-print-doc, apropos-describe-plist): Callers changed.
15855
15856 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
15857
15858 * net/xesam.el (xesam-mode-map): Use let-bound map in
15859 initialization. (Bug#11292)
15860
15861 2012-04-23 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
15862
15863 Preserve ispell session localwords when switching back to
15864 original buffer.
15865
15866 * textmodes/ispell.el (ispell-buffer-session-localwords):
15867 New buffer-local variable to hold buffer session localwords.
15868 (ispell-kill-ispell): Add option 'clear to delete session
15869 localwords.
15870 (ispell-command-loop, ispell-change-dictionary)
15871 (ispell-buffer-local-words): Preserve session localwords when
15872 needed.
15873
15874 * textmodes/flyspell.el (flyspell-process-localwords)
15875 (flyspell-do-correct): Preserve session localwords when needed.
15876
15877 2012-04-23 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
15878
15879 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
15880 using obsolete `translation-table-for-input'.
15881 (ispell-word, ispell-process-line, ispell-complete-word):
15882 Use plain `insert' instead of removed `ispell-insert-word'.
15883
15884 2012-04-22 Chong Yidong <cyd@gnu.org>
15885
15886 * cus-edit.el (custom-variable-menu)
15887 (custom-variable-reset-saved, custom-face-menu)
15888 (custom-face-reset-saved): If there is no saved value, make the
15889 "reset-saved" operation bring back the default (Bug#9509).
15890 (custom-face-state): Properly detect themed faces.
15891
15892 * faces.el (face-spec-set): Stop supporting deprecated form of
15893 third arg.
15894
15895 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
15896
15897 Move functions from C to Lisp. Make non-blocking method calls
15898 the default. Implement further D-Bus standard interfaces.
15899
15900 * net/dbus.el (dbus-message-internal): Declare function.
15901 Remove unneeded function declarations.
15902 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
15903 (dbus-message-type-method-return, dbus-message-type-error)
15904 (dbus-message-type-signal): Declare variables. Remove local
15905 definitions.
15906 (dbus-interface-dbus, dbus-interface-peer)
15907 (dbus-interface-introspectable, dbus-interface-properties)
15908 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
15909 Adapt docstring.
15910 (dbus-interface-objectmanager): New defconst.
15911 (dbus-call-method, dbus-call-method-asynchronously)
15912 (dbus-send-signal, dbus-method-return-internal)
15913 (dbus-method-error-internal, dbus-register-service)
15914 (dbus-register-signal, dbus-register-method): New defuns, moved
15915 from dbusbind.c
15916 (dbus-call-method-handler, dbus-setenv)
15917 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
15918 New defuns.
15919 (dbus-call-method-non-blocking): Make it an obsolete function.
15920 (dbus-unregister-object, dbus-unregister-service)
15921 (dbus-handle-event, dbus-register-property)
15922 (dbus-property-handler): Obey the new structure of
15923 `bus-registered-objects'.
15924 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
15925 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
15926 Use `dbus-call-method'.
15927
15928 2012-04-22 Chong Yidong <cyd@gnu.org>
15929
15930 * cus-edit.el (custom-commands, custom-reset-menu)
15931 (Custom-reset-standard): Tweak labels.
15932 (custom-reset-button-menu): Change default to t.
15933 (custom-buffer-create-internal): For the custom-reset-button-menu
15934 case, put the revert button first.
15935 (custom-group-subtitle): New face.
15936 (custom-group-value-create): Align docstring to a specific column.
15937
15938 * wid-edit.el (widget-documentation-link-add): Don't handle
15939 indentation in this function.
15940 (widget-documentation-string-indent-to): New function.
15941 (widget-documentation-string-value-create): Use it.
15942
15943 * autorevert.el (auto-revert):
15944 * epg-config.el (epg):
15945 * ibuffer.el (ibuffer):
15946 * mpc.el (mpc):
15947 * ses.el (ses):
15948 * eshell/eshell.el (eshell):
15949 * net/ange-ftp.el (ange-ftp):
15950 * progmodes/ebnf2ps.el (postscript):
15951 * progmodes/flymake.el (flymake):
15952 * progmodes/prolog.el (prolog):
15953 * progmodes/verilog-mode.el (verilog-mode):
15954 * progmodes/which-func.el (which-func):
15955 * term/xterm.el (xterm):
15956 * textmodes/picture.el (picture):
15957 * textmodes/tildify.el (tildify):
15958 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
15959 customization buffers.
15960
15961 2012-04-22 Alan Mackenzie <acm@muc.de>
15962
15963 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
15964 Adding a ) can hide the resulting (..) from searches. Fix it.
15965 Bound the backward search to the position of the existing (.
15966
15967 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
15968
15969 * progmodes/verilog-mode.el (verilog-mode): Check whether
15970 which-func-modes is t before adding verilog-mode.
15971 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
15972
15973 2012-04-21 Leo Liu <sdl.web@gmail.com>
15974
15975 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
15976
15977 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
15978
15979 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
15980 filling of the last column of a table (Bug#5635).
15981 (woman-find-next-control-line): New arg, specifying an additional
15982 regexp component for the control line.
15983 (woman2-roff-buffer): Use it.
15984 (woman-break-table): New function.
15985 (woman2-TS): Use it.
15986
15987 2012-04-21 Chong Yidong <cyd@gnu.org>
15988
15989 * woman.el (woman-set-buffer-display-table, woman-decode-region)
15990 (woman-horizontal-escapes, woman-negative-vertical-space)
15991 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
15992 (WoMan-warn-ignored): Use ?\s instead of ?\ .
15993
15994 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
15995
15996 * minibuffer.el (completion-file-name-table): Complete user names.
15997
15998 2012-04-20 Leo Liu <sdl.web@gmail.com>
15999
16000 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
16001 and pcase-let*.
16002
16003 2012-04-20 Chong Yidong <cyd@gnu.org>
16004
16005 * server.el (server-execute): Respect initial-buffer-choice if it
16006 is a string and there are no files to open (Bug#2825).
16007 (server-create-window-system-frame, server-create-tty-frame):
16008 Don't switch buffers here.
16009 (server-process-filter): Only try to open a window system frame if
16010 compiled with graphical support (Bug#8314).
16011
16012 2012-04-20 Dan Nicolaescu <dann@gnu.org>
16013
16014 * battery.el (battery-echo-area-format): Display remaining time
16015 for sysfs backend too (Bug#11269).
16016 (battery-linux-sysfs): Fix conditional for the charge.
16017
16018 2012-04-20 Chong Yidong <cyd@gnu.org>
16019
16020 * progmodes/gdb-mi.el (gdb): Revert previous change.
16021 (gdb-inferior-io--init-proc): New function.
16022 (gdb-init-1): Use it.
16023 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
16024 responsible for allocating a new pty and hooking it to gdb when
16025 the old pty gets an EIO due to process exit.
16026 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
16027 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
16028 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
16029
16030 2012-04-20 Eli Zaretskii <eliz@gnu.org>
16031
16032 * window.el (window-min-size, window-sizable, window-min-delta)
16033 (window-max-delta, window--resizable, window-resizable)
16034 (window-total-size, window-full-height-p, window-full-width-p)
16035 (window-in-direction, window--resize-mini-window, window-resize)
16036 (window--resize-child-windows-normal)
16037 (window--resize-child-windows, window--resize-siblings)
16038 (window--resize-this-window, adjust-window-trailing-edge)
16039 (enlarge-window, shrink-window): Doc fixes.
16040
16041 2012-04-20 Chong Yidong <cyd@gnu.org>
16042
16043 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
16044 New function to call delete-process on the gdb-inferior buffer's pty.
16045 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
16046 pty process (Bug#11273).
16047 (gdb-update): New arg to suppress talking to the gdb process.
16048 (gdb-done-or-error): Use it.
16049 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
16050 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
16051 sentinel not being called.
16052
16053 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
16054
16055 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
16056
16057 2012-04-20 Glenn Morris <rgm@gnu.org>
16058
16059 * net/network-stream.el (open-network-stream): Doc fix.
16060
16061 2012-04-20 Chong Yidong <cyd@gnu.org>
16062
16063 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
16064
16065 2012-04-20 Alan Mackenzie <acm@muc.de>
16066
16067 Ensure searching for keywords is case sensitive.
16068
16069 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
16070 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
16071 (c-defun-name, c-mark-function, c-cpp-define-name)
16072 (c-comment-indent, c-scan-conditionals, c-indent-defun)
16073 (c-context-line-break): Bind case-fold-search to nil.
16074
16075 * progmodes/cc-mode.el (c-font-lock-fontify-region):
16076 Bind case-fold-search to nil.
16077
16078 2012-04-20 Chong Yidong <cyd@gnu.org>
16079
16080 * mail/sendmail.el (mail-bury): Call return action with the right
16081 Rmail buffer (Bug#11242).
16082
16083 * server.el (server-process-filter): Handle corner case where both
16084 tty and nowait options are present (Bug#11102).
16085
16086 2012-04-20 Eli Zaretskii <eliz@gnu.org>
16087
16088 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
16089 (top level): Put into the executable the ident-style '$Id:' tag on
16090 windows-nt as well.
16091
16092 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
16093
16094 * electric.el (electric-indent-post-self-insert-function): Check that
16095 electric-indent-mode is enabled in current buffer.
16096
16097 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
16098
16099 * imenu.el (imenu-progress-message): Restore; it is "used" in
16100 erc/erc-imenu.el and net/snmp-mode.el.
16101
16102 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
16103
16104 * avoid.el (mouse-avoidance-mode): Mark unused arg.
16105 (mouse-avoidance-nudge-mouse): Remove unused binding.
16106
16107 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
16108
16109 * descr-text.el (describe-char):
16110 * progmodes/python.el (python-describe-symbol):
16111 Don't call `toggle-read-only', set `buffer-read-only'.
16112
16113 * imenu.el (imenu-default-goto-function): Mark unused args.
16114 (imenu-progress-message): Remove obsolete macro; all callers changed.
16115
16116 * subr.el (keymap-canonicalize): Remove unused binding.
16117 (read-passwd): Mark unused arg.
16118
16119 * tutorial.el (tutorial--display-changes): Remove unused binding.
16120 (tutorial--save-tutorial-to): Remove unused variable.
16121
16122 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
16123 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
16124 (package-generate-autoloads, package-menu--generate)
16125 (package-menu--find-upgrades): Remove unused bindings.
16126
16127 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
16128 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
16129 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
16130 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
16131 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
16132 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
16133 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
16134 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
16135 (cua-delete-char-rectangle): Mark unused args.
16136 (cua-align-rectangle): Remove unused binding.
16137
16138 * mail/rmail.el (compilation--message->loc)
16139 (epa--find-coding-system-for-mime-charset): Declare.
16140
16141 * net/dbus.el (dbus-register-service): Declare.
16142 (dbus-name-owner-changed-handler): Remove unused binding.
16143
16144 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
16145 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
16146 (nxml-scan-backward-within): Mark unused arg.
16147 (nxml-dynamic-markup-word): Remove unused binding.
16148
16149 * mouse.el (mouse-menu-major-mode-map):
16150 * emacs-lisp/authors.el (authors-scan-change-log)
16151 (authors-add-to-author-list):
16152 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
16153 * emacs-lisp/smie.el (smie-auto-fill):
16154 * mail/sendmail.el (mail-bury):
16155 * mail/unrmail.el (unrmail):
16156 * net/tls.el (open-tls-stream):
16157 * textmodes/picture.el (picture-mouse-set-point):
16158 Remove unused bindings.
16159
16160 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
16161
16162 * net/tramp.el (tramp-action-password): Let-bind
16163 `enable-recursive-minibuffers' to t.
16164
16165 2012-04-18 Sam Steingold <sds@gnu.org>
16166
16167 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
16168 instead of 'string to accommodate values like [f11].
16169 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
16170 * progmodes/gdb-mi.el: Likewise.
16171
16172 2012-04-18 Leo Liu <sdl.web@gmail.com>
16173
16174 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
16175 current buffer.
16176 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
16177 LOCAL is nil.
16178
16179 2012-04-18 Chong Yidong <cyd@gnu.org>
16180
16181 * simple.el (line-move): Use forward-line if in batch mode
16182 (Bug#11053).
16183
16184 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
16185
16186 * files.el (after-find-file): Do not try to add a final newline if
16187 the buffer is read-only (Bug#11156).
16188
16189 2012-04-17 Richard Stallman <rms@gnu.org>
16190
16191 * mail/rmail.el (rmail-start-mail):
16192 Pass (rmail-mail-return...) for the return-action.
16193 Pass (rmail-yank-current-message...) for the yank-action.
16194 (rmail-yank-current-message): New function.
16195 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
16196 (rmail-reply): Likewise.
16197 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
16198
16199 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
16200 buffer, not the last. Reject temp buffers. Use the rmail-mode
16201 buffer, not newbuf.
16202
16203 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
16204
16205 * server.el (server-ensure-safe-dir): Simplify.
16206
16207 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
16208
16209 * emacs-lisp/smie.el: Provide smarter auto-filling.
16210 (smie-auto-fill): New function.
16211 (smie-setup): Use it.
16212
16213 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
16214
16215 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
16216
16217 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
16218 (comment-indent): Use it.
16219
16220 2012-04-17 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
16221
16222 * ses.el: The overall change is to add cell renaming, that is
16223 setting fancy names for cell symbols other than name matching
16224 "\\`[A-Z]+[0-9]+\\'" regexp .
16225 (ses-localvars): Add ses--renamed-cell-symb-list.
16226 (ses-create-cell-variable): New defun.
16227 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
16228 (ses-relocate-formula): Relocate formulas only for cells the
16229 symbols of which are not renamed, i.e. symbols whose names do not
16230 match regexp "\\`[A-Z]+[0-9]+\\'".
16231 (ses-relocate-all): Relocate values only for cells the symbols of
16232 which are not renamed.
16233 (ses-load): Create cells variables as the (ses-cell ...) are read,
16234 in order to check row col consistency with cell symbol name only
16235 for cells that are not renamed.
16236 (ses-replace-name-in-formula): New defun.
16237 (ses-rename-cell): New defun.
16238
16239 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
16240
16241 * progmodes/perl-mode.el (perl-indent-parens-as-block):
16242 New option (bug#11118).
16243 (perl-calculate-indent): Respect it.
16244
16245 2012-04-17 Glenn Morris <rgm@gnu.org>
16246
16247 * dired-aux.el (dired-mark-read-string): Doc fix.
16248
16249 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
16250
16251 * dired-aux.el (dired-mark-read-string): Offer optional completion.
16252 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
16253
16254 2012-04-17 Glenn Morris <rgm@gnu.org>
16255
16256 * mouse.el (mouse-drag-track):
16257 * speedbar.el (speedbar-frame-mode):
16258 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
16259
16260 2012-04-16 Leo Liu <sdl.web@gmail.com>
16261
16262 * progmodes/python.el: Trivial cleanup.
16263
16264 2012-04-16 Glenn Morris <rgm@gnu.org>
16265
16266 * vc/vc.el (vc-string-prefix-p):
16267 * vc/pcvs-util.el (cvs-string-prefix-p):
16268 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
16269 * mpc.el (mpc-string-prefix-p):
16270 Make all of these into obsolete aliases for string-prefix-p.
16271 Update callers.
16272 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
16273
16274 * textmodes/two-column.el: Move custom options to the start.
16275 (frame-width): Remove compat definition.
16276 (2C-associate-buffer, 2C-dissociate):
16277 Use with-current-buffer rather than save-excursion.
16278 (2C-dissociate): Force a mode-line update.
16279 (2C-autoscroll): Use ignore-errors.
16280
16281 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
16282 Autoload trivia.
16283
16284 * emacs-lisp/cl-extra.el (*random-state*):
16285 Remove unnecessary declaration.
16286
16287 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
16288
16289 * play/cookie1.el (cookie-snarf):
16290 Give an explicit error if input file cannot be read.
16291
16292 * play/yow.el (yow-file): Use expand-file-name rather than concat.
16293
16294 * progmodes/perl-mode.el (c-macro-expand):
16295 Remove unnecessary autoload (it is in loaddefs.el).
16296
16297 * textmodes/picture.el (picture-desired-column)
16298 (picture-update-desired-column): Convert comments to doc-strings.
16299 (picture-substitute): Remove function.
16300 (picture-mode-map): Initialize in the defvar.
16301
16302 * woman.el: Remove eval-after-load for tar-mode.
16303 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
16304 (woman-tar-extract-file): Autoload it.
16305
16306 * frame.el (automatic-hscrolling): Make this alias obsolete.
16307
16308 2012-04-12 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
16309
16310 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
16311 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
16312 (ispell-dictionary-base-alist): Revert to original XEmacs
16313 friendly version for default. [:alpha:] will be added in
16314 `ispell-set-spellchecker-params' if needed.
16315
16316 2012-04-16 Chong Yidong <cyd@gnu.org>
16317
16318 * image.el (imagemagick--file-regexp): New variable.
16319 (imagemagick-register-types): Use it.
16320 (imagemagick-types-inhibit): Add :set function. Allow new value
16321 of t to inhibit all types.
16322
16323 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
16324 so we can preload it.
16325
16326 * loadup.el (fboundp): Preload regexp-opt, needed by
16327 imagemagick-register-types.
16328
16329 2012-04-15 Chong Yidong <cyd@gnu.org>
16330
16331 * frame.el (scrolling): Remove nearly unused customization group.
16332
16333 * scroll-all.el (scroll-all-mode): Move to windows group.
16334
16335 2012-04-15 Chong Yidong <cyd@gnu.org>
16336
16337 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
16338
16339 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
16340
16341 Avoid the use of ((lambda ...) ...) in lexical-binding code.
16342 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
16343
16344 2012-04-15 Glenn Morris <rgm@gnu.org>
16345
16346 * simple.el (process-file-side-effects): Doc fix.
16347
16348 2012-04-15 Glenn Morris <rgm@gnu.org>
16349
16350 * international/mule-cmds.el (set-language-environment): Doc fix.
16351
16352 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
16353
16354 * server.el (server-auth-key, server-generate-key): Doc fixes.
16355 (server-get-auth-key): Doc fix. Use `string-match-p'.
16356 (server-start): Reflow docstring.
16357
16358 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
16359
16360 * server.el (server-generate-key): `called-interactively-p'
16361 requires a parameter.
16362
16363 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
16364
16365 * server.el (server-auth-key): New variable.
16366 (server-generate-key, server-get-auth-key): New function.
16367 (server-start): Use the new variable and functions to allow
16368 setting a permanent server key (bug#9423).
16369
16370 2012-04-14 Leo Liu <sdl.web@gmail.com>
16371
16372 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
16373
16374 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
16375
16376 Spelling fixes.
16377 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
16378 Emacs uses American spelling.
16379
16380 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
16381
16382 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
16383 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
16384 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
16385 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
16386
16387 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
16388
16389 * progmodes/which-func.el (which-func-modes): Change default.
16390
16391 2012-04-14 Kim F. Storm <storm@cua.dk>
16392
16393 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
16394 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
16395
16396 2012-04-14 Chong Yidong <cyd@gnu.org>
16397
16398 * custom.el (custom-theme-set-variables): Doc fix.
16399
16400 2012-04-14 Glenn Morris <rgm@gnu.org>
16401
16402 * international/mule.el (set-auto-coding-for-load): Doc fix.
16403
16404 2012-04-14 Alan Mackenzie <acm@muc.de>
16405
16406 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
16407 imenu work again for Objective C Mode. Correct the *-index values,
16408 these having been disturbed by a previous change in 2011-08.
16409
16410 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
16411 Correct two search limits.
16412
16413 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
16414
16415 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
16416
16417 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
16418
16419 * international/characters.el: Fix sorting.
16420
16421 2012-04-14 Eli Zaretskii <eliz@gnu.org>
16422
16423 * international/characters.el: Add more missing Latin case pairs.
16424
16425 2012-04-14 Glenn Morris <rgm@gnu.org>
16426
16427 * files.el (dir-locals-set-class-variables): Doc fix.
16428
16429 2012-04-14 Eli Zaretskii <eliz@gnu.org>
16430
16431 * international/characters.el: Add set-case-syntax-pair call for
16432 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
16433 counterpart. (Bug#11209)
16434
16435 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
16436
16437 2012-04-14 Glenn Morris <rgm@gnu.org>
16438
16439 * calendar/holidays.el (calendar-check-holidays): Doc fix.
16440
16441 2012-04-14 Eli Zaretskii <eliz@gnu.org>
16442
16443 * textmodes/ispell.el (ispell-dictionary-base-alist):
16444 Add data for Hebrew.
16445
16446 2012-04-14 Chong Yidong <cyd@gnu.org>
16447
16448 * net/rcirc.el (rcirc-cmd-quit):
16449 Revert 2012-03-18 change (Bug#11192).
16450
16451 2012-04-14 Glenn Morris <rgm@gnu.org>
16452
16453 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
16454
16455 2012-04-14 Eli Zaretskii <eliz@gnu.org>
16456
16457 * minibuffer.el (completion-in-region-mode-map):
16458 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
16459
16460 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
16461
16462 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
16463
16464 2012-04-13 Masatake YAMATO <yamato@redhat.com>
16465
16466 * minibuffer.el (minibuffer-local-filename-syntax): New variable
16467 to allow `C-M-f' and `C-M-b' to move to the nearest path
16468 separator (bug#9511).
16469
16470 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
16471
16472 * avoid.el: Require cl when compiling. And also move the
16473 `provide' to the end.
16474
16475 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16476
16477 * avoid.el (mouse-avoidance-banish-position): New variable.
16478 (mouse-avoidance-banish-destination): Use it (bug#10165).
16479
16480 2012-04-13 Leo Liu <sdl.web@gmail.com>
16481
16482 * progmodes/which-func.el (which-func-modes): Add objc-mode.
16483
16484 2012-04-13 Ken Brown <kbrown@cornell.edu>
16485
16486 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
16487 this is no longer needed now that cygstart understands file:// URLs.
16488 (browse-url-filename-alist): For the same reason, don't modify
16489 file:// URLs on Cygwin.
16490
16491 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
16492
16493 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
16494 the region on shift if the binding is already shifted (bug#11221).
16495
16496 2012-04-12 Glenn Morris <rgm@gnu.org>
16497
16498 * mail/mailpost.el: Move to obsolete/.
16499
16500 2012-04-12 Drew Adams <drew.adams@oracle.com>
16501
16502 * imenu.el (imenu--generic-function): Ignore invisible definitions
16503 (bug#10123).
16504
16505 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
16506
16507 * hexl.el (hexl-bits): New variable.
16508 (hexl-options): Mention the variable in the doc string.
16509 (hexl-rulerise, hexl-line-displen): New functions.
16510 (hexl-mode): Mention the new variable.
16511 (hexl-mode, hexl-current-address, hexl-current-address):
16512 Use the displen.
16513 (hexl-ascii-start-column): New function.
16514 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
16515 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
16516
16517 2012-04-12 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
16518
16519 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
16520 '("-i" ENCODING), in 2 separate command-line arguments, to specify
16521 the encoding, as expected by hunspell.
16522
16523 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
16524
16525 * battery.el (battery--linux-sysfs-regexp): New const.
16526 (battery-status-function): Use it. Remove yeeloong special case.
16527 (battery-yeeloong-sysfs): Remove.
16528 (battery-echo-area-format): Remove yeeloong special case.
16529
16530 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
16531
16532 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
16533 Reported by Noah Friedman.
16534
16535 * subr.el (read-passwd): Use read-string.
16536
16537 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
16538
16539 * vcursor.el (vcursor-move): Increase the priority of the overlay
16540 (bug#9663).
16541
16542 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
16543
16544 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
16545 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
16546
16547 2012-04-11 William Stevenson <yhvh2000@gmail.com>
16548
16549 * textmodes/artist.el (artist-mode): Convert artist-mode to use
16550 define-minor-mode (bug#10760).
16551
16552 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
16553
16554 * progmodes/grep.el (rgrep): Tweak the find command line so
16555 that directories matching `grep-find-ignored-files' won't be
16556 pruned (bug#10351).
16557
16558 2012-04-11 Chong Yidong <cyd@gnu.org>
16559
16560 * startup.el (command-line): Remove support for long-obsolete
16561 variable font-lock-face-attributes.
16562
16563 2012-04-11 Glenn Morris <rgm@gnu.org>
16564
16565 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
16566
16567 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
16568
16569 * window.el (window--state-get-1): Obey window-point-insertion-type.
16570
16571 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
16572
16573 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
16574 to previous function when point is on the first character of a
16575 function. Take care of that in `narrow-to-defun' (bug#6157).
16576
16577 2012-04-11 Glenn Morris <rgm@gnu.org>
16578
16579 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
16580 not just file-errors.
16581
16582 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
16583 (vc-bzr-sha1): Use internal sha1.
16584
16585 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
16586
16587 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
16588
16589 2012-04-10 SĂ©bastien Gross <seb@chezwam.org> (tiny change)
16590
16591 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
16592 that start in the middle of the line (bug#10496).
16593
16594 2012-04-10 Dan Nicolaescu <dann@gnu.org>
16595
16596 * battery.el (battery-linux-proc-acpi): Only one battery is
16597 discharged at a time, but that seems to confuse battery.el when
16598 computing `rate-type' for the battery not being discharged
16599 (bug#10332).
16600
16601 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
16602
16603 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
16604
16605 * international/quail.el: Use dolist and simplify.
16606 (quail-define-package, quail-update-keyboard-layout)
16607 (quail-define-rules): Use dolist.
16608 (quail-insert-kbd-layout, quail-get-translation): CSE.
16609
16610 * tmm.el: Use dolist, remove left over hook.
16611 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
16612 Use dolist.
16613 (calendar-load-hook): Don't mess with it.
16614
16615 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
16616 Use derived-mode-p. Run the diff asynchronously.
16617
16618 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
16619
16620 * obsolete/mouse-sel.el: Add an Obsolete-since header.
16621
16622 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
16623
16624 * misc.el: Display absolute path of loaded DLLs (bug#10424).
16625 (list-dynamic-libraries--loaded): New function.
16626 (list-dynamic-libraries--refresh): Use it.
16627
16628 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
16629
16630 * progmodes/python.el (python-fill-paragraph):
16631 Make python-fill-region in a multiline string work when font-lock is
16632 disabled (bug#7018).
16633
16634 2012-04-10 Laimonas VÄ—bra <laimonas.vebra@gmail.com> (tiny change)
16635
16636 * language/european.el (cp775): Add oem/legacy (en)coding on
16637 DOS/MS Windows for the Baltic languages. There are still plenty
16638 of texts written in this encoding/codepage (bug#6519).
16639
16640 2012-04-10 Glenn Morris <rgm@gnu.org>
16641
16642 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
16643 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
16644
16645 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
16646
16647 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
16648 next-line "n" and previous-line "p" in order to make recentf more
16649 consistent with ibuffer, dired or org-mode (bug#9387).
16650
16651 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
16652
16653 * image.el (put-image): Return the overlay created instead of the
16654 optional input string (bug#7834). Note that this may break code
16655 that is (for some reason or other) depending on `put-image'
16656 returning the string.
16657
16658 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
16659
16660 * simple.el (zap-to-char): Allow zapping using input methods
16661 (bug#1580).
16662
16663 * textmodes/fill.el (fill-region): Leave point and mark where they
16664 were before filling (bug#5399).
16665
16666 2012-04-09 Glenn Morris <rgm@gnu.org>
16667
16668 * version.el (emacs-bzr-get-version):
16669 Handle lightweight checkouts of local branches.
16670
16671 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
16672
16673 * international/characters.el: Recover lost case pairs. (Bug#11209)
16674
16675 2012-04-09 Chong Yidong <cyd@gnu.org>
16676
16677 * custom.el (custom-variable-p): Return nil for non-symbol
16678 arguments instead of signaling an error.
16679 (user-variable-p): Obsolete alias for custom-variable-p.
16680
16681 * apropos.el (apropos-variable):
16682 * files-x.el (read-file-local-variable):
16683 * simple.el (set-variable):
16684 * woman.el (woman-mini-help):
16685 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
16686
16687 2012-04-09 Glenn Morris <rgm@gnu.org>
16688
16689 * startup.el (normal-top-level): Don't look for leim-list.el
16690 in places where it will not be found. (Bug#910)
16691
16692 * international/mule-cmds.el (set-default-coding-systems):
16693 * files.el (normal-mode):
16694 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
16695 This function was removed with ucs-tables.el in 2008.
16696
16697 2012-04-08 Eli Zaretskii <eliz@gnu.org>
16698
16699 * textmodes/ispell.el (ispell-check-version): For hunspell, set
16700 ispell-encoding8-command to "-i", without a trailing space.
16701 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
16702 separate command-line arguments, to specify the encoding, since
16703 that's how hunspell expects it.
16704
16705 2012-04-08 Glenn Morris <rgm@gnu.org>
16706
16707 * loadup.el: Load bindings before cus-start.
16708 This reduces somewhat the number of "rogue" settings in emacs -Q.
16709
16710 2012-04-07 Glenn Morris <rgm@gnu.org>
16711
16712 * version.el (emacs-bzr-get-version): New function.
16713 (emacs-bzr-version): New variable.
16714 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
16715 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
16716
16717 2012-04-07 Eli Zaretskii <eliz@gnu.org>
16718
16719 * international/uni-bidi.el, international/uni-category.el:
16720 * international/uni-combining.el, international/uni-decimal.el:
16721 * international/uni-decomposition.el, international/uni-digit.el:
16722 * international/uni-lowercase.el, international/uni-mirrored.el:
16723 * international/uni-name.el, international/uni-numeric.el:
16724 * international/uni-titlecase.el, international/uni-uppercase.el:
16725 Update for Unicode 6.1.
16726
16727 2012-04-07 Eli Zaretskii <eliz@gnu.org>
16728
16729 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
16730
16731 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
16732
16733 * window.el (shrink-window): Mention the `window-min-height'
16734 variable in the doc string.
16735
16736 2012-04-05 Bastien Guerry <bzg@altern.org>
16737
16738 * color.el (color-lighten-name): Fix typo.
16739
16740 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
16741
16742 * server.el (server--on-display-p): New function.
16743 (server--on-display-p): Use it.
16744
16745 2012-04-04 GĂ¡bor Vida <vidagabor@gmail.com> (tiny change)
16746
16747 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
16748 (bug#11145).
16749
16750 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
16751
16752 * comint.el (comint--common-quoted-suffix): Check string boundary
16753 before comparing (bug#11158).
16754 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
16755
16756 2012-04-04 Chong Yidong <cyd@gnu.org>
16757
16758 * minibuffer.el (completion-extra-properties): Doc fix.
16759
16760 * subr.el (delayed-warnings-hook): Doc fix.
16761
16762 2012-04-04 Daiki Ueno <ueno@unixuser.org>
16763
16764 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
16765 selection (Bug#11159).
16766 (epa-insert-keys): Inform that the default public key will be
16767 exported if no key is selected.
16768
16769 2012-04-04 Richard Stallman <rms@gnu.org>
16770
16771 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
16772
16773 2012-04-03 Chong Yidong <cyd@gnu.org>
16774
16775 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
16776 mail-insert-file, not its obsolete alias mail-attach-file.
16777
16778 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
16779
16780 * notifications.el (notifications-notify): Fix docstring.
16781
16782 2012-04-02 Glenn Morris <rgm@gnu.org>
16783
16784 * emacs-lisp/authors.el (authors-aliases): Another addition.
16785
16786 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
16787
16788 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
16789 `tramp-compat-call-process' instead of `tramp-local-call-process'.
16790 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
16791
16792 2012-04-01 Chong Yidong <cyd@gnu.org>
16793
16794 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
16795 Handle root directory properly.
16796 (copy-directory): Caller changed.
16797
16798 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
16799 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
16800
16801 2012-03-31 Glenn Morris <rgm@gnu.org>
16802
16803 * term/xterm.el (xterm-extra-capabilities): Doc fix.
16804
16805 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
16806
16807 * calendar/calendar.el (calendar-window-list)
16808 (calendar-hide-window): Restore. (Bug#11140)
16809 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
16810
16811 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
16812
16813 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16814
16815 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
16816 Check if file is a symlink (Bug#10489).
16817
16818 * files.el (copy-directory): Likewise.
16819
16820 2012-03-30 Chong Yidong <cyd@gnu.org>
16821
16822 * image.el (imagemagick-types-inhibit)
16823 (imagemagick-register-types): Doc fix.
16824
16825 2012-03-30 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
16826
16827 * textmodes/ispell.el (ispell-get-extended-character-mode):
16828 Disable extended-char-mode for hunspell. hunspell does not support it
16829 and treats ~word as ordinary words in pipe mode.
16830
16831 2012-03-30 Glenn Morris <rgm@gnu.org>
16832
16833 * tutorial.el (help-with-tutorial): Ensure local variables don't
16834 happen to make the buffer read-only. (Bug#11127)
16835
16836 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
16837
16838 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
16839 (perl-calculate-indent): Return `noindent' in strings.
16840
16841 2012-03-28 Sam Steingold <sds@gnu.org>
16842
16843 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
16844 instead of the broken adhockery which does not prevent calendar
16845 buffers from being displayed at random after exit.
16846 (calendar-window-list, calendar-hide-window): Remove the broken
16847 adhockery.
16848
16849 2012-03-28 Glenn Morris <rgm@gnu.org>
16850
16851 * replace.el (query-replace-map): Doc fix.
16852
16853 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
16854
16855 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
16856 contents. (Bug#11109)
16857
16858 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
16859
16860 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
16861 (bug#11077).
16862 (avl-tree--check, avl-tree--check-node): New funs.
16863
16864 2012-03-27 Martin Rudalics <rudalics@gmx.at>
16865
16866 * window.el (switch-to-visible-buffer): New option.
16867 (switch-to-prev-buffer, switch-to-next-buffer):
16868 Observe switch-to-visible-buffer. Make sure that checking for a window
16869 showing a buffer already is done on the same frame.
16870
16871 2012-03-27 Glenn Morris <rgm@gnu.org>
16872
16873 * startup.el (mail-host-address): Doc fix.
16874
16875 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
16876
16877 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
16878 than 197 variables.
16879
16880 2012-03-26 Ami Fischman <ami@fischman.org>
16881
16882 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
16883
16884 2012-03-26 Glenn Morris <rgm@gnu.org>
16885
16886 * files.el (save-buffers-kill-emacs): Doc fix.
16887
16888 * startup.el (normal-top-level, command-line, command-line-1):
16889 Give them doc strings.
16890
16891 2012-03-25 Eli Zaretskii <eliz@gnu.org>
16892
16893 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
16894 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
16895
16896 2012-03-25 Chong Yidong <cyd@gnu.org>
16897
16898 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
16899 theme if it was previously enabled before (Bug#11031).
16900
16901 * cus-theme.el (custom-theme-write-faces): Retrieve current face
16902 spec with custom-face-get-current-spec if its :shown-value is not
16903 determined yet (Bug#9337).
16904 (customize-create-theme, custom-theme-revert): Doc fixes.
16905
16906 * button.el (button-at): Minor addition to docstring.
16907
16908 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
16909
16910 * vc/vc.el (vc-merge): Fix a prompt.
16911
16912 2012-03-24 Chong Yidong <cyd@gnu.org>
16913
16914 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
16915 point (Bug#9623).
16916
16917 * button.el (button-at): Minor addition to docstring.
16918
16919 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
16920
16921 * newcomment.el (comment-choose-indent): No space after BOL.
16922
16923 2012-03-22 Sam Steingold <sds@gnu.org>
16924
16925 * window.el (switch-to-prev-buffer): Revert last patch because the
16926 bug turned out to be an advertised feature (Elisp manual 28.14).
16927
16928 2012-03-22 Glenn Morris <rgm@gnu.org>
16929
16930 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
16931 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
16932
16933 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
16934
16935 * net/network-stream.el (network-stream-open-starttls): Make error
16936 message under Windows be less misleading.
16937
16938 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
16939
16940 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
16941 understands (bug#9942).
16942
16943 2012-03-22 Chong Yidong <cyd@gnu.org>
16944
16945 * simple.el (end-of-visible-line): Handle return value of
16946 next-single-property-change properly (Bug#9371).
16947
16948 2012-03-22 Kenichi Handa <handa@m17n.org>
16949
16950 * international/quail.el (quail-insert-kbd-layout): Fix previous
16951 change. To avoid unwanted bidi reordering, use
16952 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
16953
16954 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
16955
16956 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
16957 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
16958 (ruby-beginning-of-indent): Be more careful with the difference
16959 between word-boundary and symbol boundary.
16960 (ruby-mode-syntax-table): Make : a symbol constituent.
16961
16962 2012-03-21 Andreas Politz <politza@fh-trier.de>
16963
16964 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
16965
16966 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
16967
16968 * progmodes/etags.el (tags-completion-at-point-function):
16969 Improve last fix.
16970
16971 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
16972
16973 2012-03-21 Sam Steingold <sds@gnu.org>
16974
16975 * progmodes/etags.el (tags-completion-at-point-function):
16976 Avoid the error when point is inside the pattern.
16977
16978 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
16979
16980 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
16981 line (Bug#10855).
16982
16983 2012-03-21 Drew Adams <drew.adams@oracle.com>
16984
16985 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
16986
16987 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
16988
16989 * ido.el (ido-set-current-directory, ido-read-internal)
16990 (ido-choose-completion-string, ido-completion-help): Handle nil
16991 value of ido-completion-buffer (Bug#11008).
16992
16993 2012-03-21 Sam Steingold <sds@gnu.org>
16994
16995 * window.el (switch-to-prev-buffer): Do not switch to a visible
16996 window previous buffer, just like with the frame previous buffers.
16997
16998 2012-03-21 Chong Yidong <cyd@gnu.org>
16999
17000 * faces.el (make-face, make-empty-face, copy-face):
17001 * face-remap.el (face-remap-add-relative, face-remap-set-base):
17002 Doc fixes.
17003
17004 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
17005
17006 * wid-edit.el (widget-complete-field): Remove (bug#11051).
17007 (widget-complete): Remove broken use of it.
17008
17009 2012-03-20 Chong Yidong <cyd@gnu.org>
17010
17011 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
17012 Use string-width and truncate-string-width to handle arbitrary
17013 characters.
17014
17015 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
17016
17017 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
17018 to draw rectangles, not squares. (Regression introduced by revno
17019 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
17020
17021 2012-03-18 Chong Yidong <cyd@gnu.org>
17022
17023 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
17024 it is not yet defined (for temacs).
17025
17026 2012-03-18 Leo Liu <sdl.web@gmail.com>
17027
17028 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
17029 prefix.
17030
17031 2012-03-17 Eli Zaretskii <eliz@gnu.org>
17032
17033 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
17034 (ispell-choices-win-default-height, ispell-silently-savep)
17035 (ispell-dictionary-alist, ispell-encoding8-command)
17036 (ispell-check-version, ispell-aspell-find-dictionary)
17037 (ispell-valid-dictionary-list, ispell-words-keyword)
17038 (ispell-get-word, ispell-internal-change-dictionary)
17039 (ispell-region, ispell-skip-region-list)
17040 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
17041 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
17042 (ispell-message-text-end, ispell-message)
17043 (ispell-buffer-local-parsing): Doc fix.
17044
17045 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
17046
17047 * htmlfontify.el: Add support for code block fontification for ODT
17048 export (Bug #9914).
17049 (hfy-optimisations): Define new option
17050 `body-text-only'
17051 (hfy-fontify-buffer): Honor above setting.
17052 (hfy-begin-span, hfy-end-span): New routines factored out form
17053 `hfy-fontify-buffer'.
17054 (hfy-begin-span-handler, hfy-end-span-handler): New variables
17055 that permit insertion of custom tags.
17056 (hfy-fontify-buffer): Use above handlers.
17057 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
17058 (hfy-face-to-css): Re-defined to be a variable.
17059 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
17060 over multiple runs. This is made possible by having the caller let
17061 bind a special variable `hfy-user-sheet-assoc'.
17062 (htmlfontify-string): New defun.
17063 (hfy-compile-face-map): Make sure that the last char in the
17064 buffer is correctly fontified.
17065 (hfy-face-resolve-face): Whitespace only change.
17066
17067 2012-03-17 Eli Zaretskii <eliz@gnu.org>
17068
17069 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
17070 message more clear.
17071
17072 2012-03-16 Leo Liu <sdl.web@gmail.com>
17073
17074 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
17075
17076 2012-03-16 Alan Mackenzie <acm@muc.de>
17077
17078 Further optimize the handling of large macros.
17079
17080 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
17081 limit to a call of `c-literal-limits'.
17082 (c-determine-+ve-limit): New function.
17083 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
17084 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
17085 In CASE 5B, restrict a search limit to 500.
17086 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
17087
17088 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
17089 Restrict macro bounds to +-500 from after-change's BEG END.
17090
17091 2012-03-16 Leo Liu <sdl.web@gmail.com>
17092
17093 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
17094
17095 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
17096
17097 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
17098 `special-mode' setting of `buffer-read-only'. (Bug#11010)
17099
17100 2012-03-16 Glenn Morris <rgm@gnu.org>
17101
17102 * view.el (view-buffer, view-buffer-other-window)
17103 (view-buffer-other-frame): Doc fixes re special mode-class.
17104
17105 * subr.el (eval-after-load): If named feature is provided not from
17106 a file, run after-load forms. (Bug#10946)
17107
17108 * calendar/calendar.el (calendar-insert-at-column):
17109 Handle non-unit-width characters a bit better. (Bug#10978)
17110
17111 2012-03-15 Chong Yidong <cyd@gnu.org>
17112
17113 * emacs-lisp/ring.el (ring-extend): New function.
17114 (ring-insert+extend): Extend the ring correctly (Bug#11019).
17115
17116 * comint.el (comint-read-input-ring)
17117 (comint-add-to-input-history): Grow comint-input-ring lazily.
17118
17119 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
17120
17121 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
17122 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
17123
17124 * imenu.el: Fix multiple inheritance breakage (bug#9199).
17125 (imenu-add-to-menubar): Don't add a redundant index.
17126 (imenu-update-menubar): Handle a dynamically composed keymap.
17127
17128 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
17129
17130 * mail/sendmail.el (mail-encode-header):
17131 Bind rfc2047-encode-encoded-words to nil.
17132
17133 2012-03-13 Glenn Morris <rgm@gnu.org>
17134
17135 * calendar/calendar.el (calendar-string-spread):
17136 Handle non-unit-width characters a bit better. (Bug#10978)
17137
17138 2012-03-13 Leo Liu <sdl.web@gmail.com>
17139
17140 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
17141 directory and file as argument (Bug#10822).
17142
17143 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
17144
17145 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
17146 For dynamically generated code, follow $PC.
17147 (gdb-disassembly-handler-custom): Handle no function name case.
17148
17149 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
17150
17151 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
17152 * emulation/ws-mode.el (ws-query-replace):
17153 * sort.el (sort-regexp-fields):
17154 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
17155
17156 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
17157
17158 * dabbrev.el: Fix cycle completion order (bug#10963).
17159 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
17160 (dabbrev-completion): Don't use an obarray; provide
17161 a cycle-sort-function.
17162
17163 2012-03-12 Leo Liu <sdl.web@gmail.com>
17164
17165 * simple.el (kill-new): Use equal-including-properties for comparison.
17166 (kill-do-not-save-duplicates): Doc fix.
17167
17168 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
17169
17170 * dabbrev.el: Fix cycle completion (bug#10963).
17171 Use lexical binding and wrap to 80 columns.
17172 (dabbrev-completion): Delay computing the list of completions.
17173
17174 2012-03-12 Kenichi Handa <handa@m17n.org>
17175
17176 * international/quail.el (quail-insert-kbd-layout): Surround each
17177 row by LRO and PDF instead of inserting many LRMs. Pad the left
17178 and right of each non-spacing marks. Insert invisible space
17179 between lower and upper characters to prevent composition.
17180
17181 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
17182
17183 * minibuffer.el (minibuffer-complete): Don't get confused when the
17184 function is run twice via different commands (bug#10958).
17185 (complete-with-action): Fix docstring.
17186
17187 2012-03-12 Chong Yidong <cyd@gnu.org>
17188
17189 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
17190 (nxml-completion-at-point-function): New function.
17191 (nxml-mode): Use it.
17192 (nxml-bind-meta-tab-to-complete-flag): Default to t.
17193
17194 * emacs-lisp/package.el (package-unpack, package-unpack-single):
17195 Load generated autoloads file before byte compiling (Bug#10970).
17196 (package--make-autoloads-and-compile): New helper fun.
17197
17198 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
17199
17200 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
17201
17202 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
17203
17204 * autorevert.el (auto-revert-handler): Ensure, that
17205 file-readable-p is applied only for local files or in
17206 auto-revert-tail-mode.
17207
17208 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
17209
17210 * server.el (server-eval-at): Handle non-tcp connections.
17211 Decode result string.
17212
17213 * server.el (server-msg-size): New constant.
17214 (server-reply-print): New function.
17215 (server-eval-and-print): Use it.
17216 (server-eval-at): Use server-quote-arg and server-unquote-arg.
17217 Handle -print-nonl.
17218
17219 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
17220
17221 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
17222 (Bug#10987).
17223
17224 2012-03-11 Chong Yidong <cyd@gnu.org>
17225
17226 * simple.el (goto-line): Doc fix (Bug#9938).
17227
17228 * subr.el (save-window-excursion): Doc fix (Bug#9979).
17229
17230 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
17231 when finished (Bug#10963).
17232
17233 2012-03-11 Martin Rudalics <rudalics@gmx.at>
17234
17235 * window.el (split-window-below): Fix bug in case where
17236 split-window-keep-point is nil (Bug#10971).
17237
17238 2012-03-11 Juri Linkov <juri@jurta.org>
17239
17240 * replace.el (replace-highlight): Set isearch-word to nil
17241 unconditionally. (Bug#10887)
17242
17243 2012-03-10 Eli Zaretskii <eliz@gnu.org>
17244
17245 * net/mairix.el (mairix-replace-invalid-chars): Rename from
17246 mairix-replace-illegal-chars; all callers changed. Don't remove
17247 ^, ~, and = characters: they are meaningful in mairix search specs.
17248 (mairix-widget-create-query): Add usage information about mairix
17249 search forms: negating words, searching for substrings, etc.
17250
17251 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
17252
17253 * international/fontset.el (font-encoding-alist): Add an entry for
17254 ksx1001 (Bug#5667).
17255
17256 2012-03-10 Richard Stallman <rms@gnu.org>
17257
17258 * mail/sendmail.el (mail-encode-header):
17259 Set rfc2047-encode-encoded-words.
17260
17261 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
17262
17263 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
17264 view buffer means not swapped.
17265 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
17266 (rmail-write-region-annotate): Error if real text has disappeared.
17267
17268 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
17269
17270 2012-03-10 Chong Yidong <cyd@gnu.org>
17271
17272 * emulation/cua-rect.el (cua--init-rectangles):
17273 * emulation/cua-base.el (cua--init-keymaps):
17274 Add delete-forward-char to remappings (Bug#9666).
17275
17276 2012-03-10 Martin Rudalics <rudalics@gmx.at>
17277
17278 * speedbar.el (speedbar-unhighlight-one-tag-line):
17279 Avoid unhighlighting due to frame switching (Bug#10275).
17280
17281 2012-03-10 Chong Yidong <cyd@gnu.org>
17282
17283 * minibuffer.el (completion-in-region, completion-help-at-point):
17284 Give the completion field overlay a high priority (Bug#6830).
17285
17286 * dired.el (dired-goto-file): Recognize absolute file name
17287 listings (Bug#7126).
17288 (dired-goto-file-1): New helper function.
17289 (dired-toggle-read-only): Inhibit warnings.
17290
17291 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
17292
17293 * net/dbus.el (dbus-property-handler): Return empty array if
17294 there are no properties.
17295
17296 2012-03-09 Leo Liu <sdl.web@gmail.com>
17297
17298 * savehist.el (savehist-printable): Stricter check for string
17299 value (Bug#10937).
17300
17301 2012-03-09 Eli Zaretskii <eliz@gnu.org>
17302
17303 * mail/smtpmail.el (smtpmail-send-it):
17304 Bind coding-system-for-write to *-unix, so that FCC files are kept in
17305 valid mbox format.
17306
17307 2012-03-09 Glenn Morris <rgm@gnu.org>
17308
17309 * files.el (dir-locals-find-file):
17310 Don't check result is regular, readable.
17311 (dir-locals-read-from-file): Demote errors.
17312
17313 2012-03-08 Eli Zaretskii <eliz@gnu.org>
17314
17315 * international/quail.el (quail-insert-kbd-layout):
17316 Insert invisible LRM characters before each character in a keyboard
17317 layout cell, to prevent their reordering by bidi display engine.
17318 For details, see the discussion in
17319 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
17320
17321 2012-03-08 Alan Mackenzie <acm@muc.de>
17322
17323 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
17324 the starting position; make it extend the marked region when
17325 invoked repeatedly - all under appropriate circumstances.
17326 Fixes bugs #5525, #10906.
17327
17328 2012-03-08 Glenn Morris <rgm@gnu.org>
17329
17330 * files.el (locate-dominating-file, dir-locals-find-file):
17331 Undo 2012-03-06 change.
17332
17333 2012-03-07 Eli Zaretskii <eliz@gnu.org>
17334
17335 * international/quail.el (quail-help):
17336 Force bidi-paragraph-direction be left-to-right. See discussion in
17337 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
17338 for the reason.
17339
17340 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
17341
17342 Avoid superfluous registering of signals. (Bug#10807)
17343
17344 * notifications.el (notifications-on-action-object)
17345 (notifications-on-close-object): New defvars.
17346 (notifications-on-action-signal, notifications-on-closed-signal):
17347 Unregister the signal if not needed any longer.
17348 (notifications-notify): Register `notifications-action-signal' or
17349 `notifications-closed-signal', if :on-action or :on-close has been
17350 passed as argument.
17351
17352 2012-03-07 Chong Yidong <cyd@gnu.org>
17353
17354 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
17355 non-X platforms.
17356
17357 2012-03-06 Glenn Morris <rgm@gnu.org>
17358
17359 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
17360 (x-disown-selection-internal, x-get-selection-internal):
17361 Doc fix (add arglist signatures). (Bug#10783)
17362
17363 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
17364
17365 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
17366 Handle breakpoints with no "type".
17367
17368 2012-03-06 Glenn Morris <rgm@gnu.org>
17369
17370 * files.el (locate-dominating-file): Add optional predicate argument.
17371 (dir-locals-find-file): Make use of above change.
17372
17373 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
17374
17375 * info.el (Info-insert-dir): Also try "dir.gz".
17376
17377 2012-03-06 Glenn Morris <rgm@gnu.org>
17378
17379 * files.el (dir-locals-find-file):
17380 Ignore non-readable or non-regular files. (Bug#10928)
17381
17382 * files.el (locate-dominating-file): Doc fix.
17383
17384 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
17385
17386 * calendar/calendar.el (calendar-set-mode-line):
17387 `getenv' returns a string. (Bug#10951)
17388
17389 2012-03-05 Leo Liu <sdl.web@gmail.com>
17390
17391 * simple.el (backward-delete-char-untabify): Constrain point to
17392 field (Bug#10939).
17393
17394 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
17395
17396 2012-03-05 Chong Yidong <cyd@gnu.org>
17397
17398 * simple.el (count-words): If called from Lisp, return the word
17399 count, for symmetry with `count-lines'. Arglist changed.
17400 (count-words--message): Args changed. Consolidate counting code
17401 from count-words and count-words-region.
17402 (count-words-region): Caller changed.
17403 (count-lines-region): Make it an obsolete alias.
17404
17405 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
17406
17407 * saveplace.el (save-place-to-alist)
17408 (save-place-ignore-files-regexp): Allow value nil to disable this
17409 feature.
17410
17411 2012-03-04 Chong Yidong <cyd@gnu.org>
17412
17413 * faces.el (face-spec-reset-face): For the default face, reset the
17414 attributes to default values (Bug#10748).
17415
17416 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
17417
17418 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
17419 previous patch: Check `message-send-mail-function', and not the
17420 default function (bug#10897).
17421
17422 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
17423
17424 * notifications.el (notifications-on-action-signal)
17425 (notifications-on-closed-signal): Check for unique service name of
17426 incoming event. Fix error in removing entry.
17427 (top): Register for signals with wildcard service name.
17428 (notifications-notify): Use daemon unique service name for map entries.
17429
17430 2012-03-04 Chong Yidong <cyd@gnu.org>
17431
17432 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
17433
17434 2012-03-04 Glenn Morris <rgm@gnu.org>
17435
17436 * abbrev.el (copy-abbrev-table, abbrev-table-p)
17437 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
17438 (expand-abbrev, define-abbrev-table): Doc fixes.
17439
17440 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
17441
17442 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
17443 `message-default-send-mail-function' and not `send-mail-function'
17444 when doing the prompting for `sendmail-query-once' before sending
17445 in Message buffers (bug#10897).
17446
17447 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
17448 This is inconsistent with all the other stream functions, which leave
17449 the setting up to the higher levels (if so wanted) (bug#10931).
17450
17451 2012-03-02 Alan Mackenzie <acm@muc.de>
17452
17453 Depessimize the handling of very large macros.
17454
17455 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
17456 (c-macro-cache-syntactic): New variables to implement a one
17457 element macro cache.
17458 (c-invalidate-macro-cache): New function.
17459 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
17460 Adapt to use the new cache.
17461 (c-state-safe-place): Use better the cache of safe positions.
17462 (c-state-semi-nonlit-pos-cache)
17463 (c-state-semi-nonlit-pos-cache-limit):
17464 New variables for...
17465 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
17466 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
17467 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
17468 Use c-state-semi-safe-place.
17469
17470 * progmodes/cc-langs.el (c-get-state-before-change-functions):
17471 Add c-invalidate-macro-cache to the C, C++, Obj entries.
17472
17473 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
17474
17475 * jka-compr.el (jka-compr-call-process):
17476 Apply `file-accessible-directory-p' only when the default directory is
17477 not remote.
17478
17479 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
17480
17481 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
17482 access of FILE2, if FILE1 does not exist.
17483
17484 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
17485 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
17486
17487 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
17488 Add "PAGER=" to `process-environment'.
17489
17490 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
17491
17492 * progmodes/sql.el: Bug fix
17493 (sql-get-login-ext): Save login values in globals.
17494 (sql-get-login): Use new version of `sql-get-login-ext'.
17495 (sql-interactive-mode): Set global `sql-connection' to nil.
17496 (sql-connect): Set global values for connection.
17497 (sql-product-interactive): Save global values as buffer local.
17498
17499 2012-02-29 Leo Liu <sdl.web@gmail.com>
17500
17501 * abbrev.el (define-abbrevs): Reset sys to nil.
17502
17503 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
17504
17505 * files.el (file-equal-p): Rename from `files-equal-p'.
17506 Return nil when one or both files don't exist.
17507 (file-subdir-of-p): Now only top directory must exists,
17508 return nil if it doesn't.
17509 (copy-directory): No need to test with `file-subdir-of-p' after
17510 creating dir.
17511 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
17512 to `file-equal-p'.
17513
17514 2012-02-28 Glenn Morris <rgm@gnu.org>
17515
17516 * shell.el (shell-mode):
17517 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
17518 * play/landmark.el (landmark-font-lock-face-O):
17519 * play/handwrite.el (handwrite):
17520 * play/gomoku.el (gomoku-O):
17521 * net/browse-url.el (browse-url-browser-display):
17522 * international/mule.el (define-charset):
17523 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
17524 * filesets.el (filesets-find-file-delay):
17525 * eshell/em-xtra.el (eshell-xtra):
17526 * eshell/em-unix.el (eshell-grep):
17527 * emulation/viper.el (viper-mode):
17528 * emacs-lisp/regexp-opt.el (regexp-opt-group):
17529 * emacs-lisp/easymenu.el (easy-menu-define):
17530 * calendar/timeclock.el (timeclock-use-display-time):
17531 * bs.el (bs-mode):
17532 * bookmark.el (bookmark-save-flag):
17533 Doc fix (standardize possessive apostrophe usage).
17534
17535 2012-02-27 Chong Yidong <cyd@gnu.org>
17536
17537 * emulation/viper-cmd.el (viper-intercept-ESC-key):
17538 Fix key-binding lookup for ESC key (Bug#9146).
17539
17540 * font-lock.el (font-lock-specified-p): Rename from
17541 font-lock-spec-present. Callers changed.
17542
17543 2012-02-27 Daniel Hackney <dan@haxney.org>
17544
17545 * emacs-lisp/package.el (package-compute-transaction):
17546 Handle holding a package version to t in package-load-list.
17547
17548 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
17549
17550 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
17551 (tramp-get-inode, tramp-get-device): Use cached values.
17552
17553 2012-02-26 Alan Mackenzie <acm@muc.de>
17554
17555 Check there is a font-lock specification before doing initial
17556 fontification.
17557
17558 * font-core.el (font-lock-mode): Move the conditional from
17559 :after-hook to font-lock-initial-fontify.
17560 (font-lock-default-function): Move the check for a specification
17561 to font-lock-spec-present.
17562
17563 * font-lock.el (font-lock-initial-fontify): Call ...
17564 (font-lock-spec-present): New function.
17565
17566 2012-02-26 Jim Blandy <jimb@red-bean.com>
17567
17568 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
17569 (gdb-send): Apply it to the operand of the '-interpreter-exec
17570 console' command, so that we can pass arguments with (say) quotes
17571 in them. Store exact string sent in gdb-debug-log (Bug#10765).
17572
17573 2012-02-26 Chong Yidong <cyd@gnu.org>
17574
17575 * help-fns.el (describe-function-1): Clarify description of
17576 remapping (Bug#10844).
17577
17578 * files.el (files-equal-p): Doc fix.
17579 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
17580 and quit the loop once a mismatch is found.
17581
17582 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
17583
17584 * bs.el (bs--show-with-configuration): Don't throw an error
17585 if the window cannot be split; otherwise, subsequent calls to
17586 bs-show fail, restoring a stale window config. (Bug#10882)
17587
17588 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
17589
17590 * term/ns-win.el (global-map): Bind ns-drag-file to
17591 ns-find-file (Bug#5855, Bug#10050).
17592
17593 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
17594
17595 * calendar/parse-time.el (parse-time-string): Allow extractor to
17596 return nil.
17597
17598 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
17599
17600 * net/tramp.el (tramp-file-name-for-operation):
17601 Add `files-equal-p' and `file-subdir-of-p'.
17602
17603 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
17604 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
17605 Add COPY-CONTENTS argument.
17606
17607 2012-02-25 Chong Yidong <cyd@gnu.org>
17608
17609 Add custom groups for VC backends, for consistency with vc-bzr.
17610
17611 * vc/vc-arch.el (vc-arch):
17612 * vc/vc-cvs.el (vc-cvs):
17613 * vc/vc-git.el (vc-git):
17614 * vc/vc-hg.el (vc-hg):
17615 * vc/vc-mtn.el (vc-mtn):
17616 * vc/vc-rcs.el (vc-rcs):
17617 * vc/vc-sccs.el (vc-sccs):
17618 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
17619 All relevant defcustoms reassigned.
17620
17621 2012-02-25 Chong Yidong <cyd@gnu.org>
17622
17623 * newcomment.el (comment-styles): Add autoload (Bug#10868).
17624
17625 * term/x-win.el (x-initialize-window-system): Reduce default for
17626 x-selection-timeout to 5 seconds (Bug#8869).
17627
17628 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
17629
17630 * files.el (files-equal-p, file-subdir-of-p): New functions.
17631 (copy-directory): Error when trying to copy a directory on itself.
17632 Add missing copy-contents arg to tramp handler.
17633 * dired-aux.el (dired-copy-file-recursive): Same.
17634 (dired-create-files): Modify destination when source is equal to
17635 dest when copying files.
17636 Return also when dest is a subdir of source. (Bug#10489)
17637
17638 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
17639
17640 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
17641 (Bug#10874)
17642
17643 2012-02-23 Alan Mackenzie <acm@muc.de>
17644
17645 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
17646 parameter "after-hook:" to allow the expansion to run code after
17647 the execution of the mode hooks.
17648
17649 * font-lock.el (font-lock-initial-fontify): New function extracted
17650 from font-lock-mode-internal.
17651
17652 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
17653 :after-hook.
17654
17655 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
17656
17657 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
17658 (completion--cache-all-sorted-completions): New function.
17659 (completion-all-sorted-completions): Use it.
17660 (completion--do-completion, minibuffer-force-complete):
17661 Use it to re-instate the flush hook.
17662
17663 * icomplete.el (icomplete-completions): Replace last fix with a better
17664 one (bug#10850).
17665
17666 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
17667
17668 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
17669 when it might call us back infinitely (bug#10797).
17670
17671 2012-02-23 Glenn Morris <rgm@gnu.org>
17672
17673 * minibuffer.el (completion-category-overrides): Doc fix.
17674
17675 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
17676
17677 * minibuffer.el (completion-table-with-context): Fix inf-loop.
17678 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
17679
17680 2012-02-23 Glenn Morris <rgm@gnu.org>
17681
17682 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
17683 (authors-obsolete-files-regexps, authors-ignored-files)
17684 (authors-ambiguous-files, authors-renamed-files-alist):
17685 Add more entries.
17686
17687 2012-02-23 Juri Linkov <juri@jurta.org>
17688
17689 * isearch.el (isearch-occur): Sync interactive spec with occur's
17690 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
17691
17692 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
17693
17694 2012-02-22 Juri Linkov <juri@jurta.org>
17695
17696 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
17697 (ucs-insert): Doc fix. Check for hex digits in the string.
17698 Don't display `nil' in the error message. (Bug#10857)
17699
17700 2012-02-22 Alan Mackenzie <acm@muc.de>
17701
17702 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
17703
17704 2012-02-22 Glenn Morris <rgm@gnu.org>
17705
17706 * ffap.el (ffap-c-path):
17707 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
17708
17709 2012-02-22 Chong Yidong <cyd@gnu.org>
17710
17711 * custom.el (load-theme): Doc fix.
17712
17713 2012-02-22 Glenn Morris <rgm@gnu.org>
17714
17715 * dired-x.el (dired-guess-shell-alist-default):
17716 Remove escape sequences from nroff output. (Bug#172)
17717
17718 2012-02-21 Glenn Morris <rgm@gnu.org>
17719
17720 * vc/emerge.el (emerge-defvar-local):
17721 Set `permanent-local' property rather than unused `preserved'.
17722
17723 * textmodes/picture.el (picture-delete-char): New alias.
17724 (picture-mode-map): Use it. (Bug#10860)
17725 (picture-mode): Doc fix.
17726
17727 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
17728
17729 * newcomment.el (uncomment-region-default): Remove unused binding.
17730
17731 2012-02-21 Glenn Morris <rgm@gnu.org>
17732
17733 * textmodes/picture.el (picture-motion, picture-motion-reverse)
17734 (picture-self-insert, picture-tab-chars): Doc fix.
17735 (picture-mode-map): Fix C-a, C-e.
17736
17737 2012-02-20 Glenn Morris <rgm@gnu.org>
17738
17739 * emacs-lisp/authors.el (authors-aliases): Add another entry.
17740
17741 2012-02-20 Leo Liu <sdl.web@gmail.com>
17742
17743 * icomplete.el (icomplete-completions): Check FROM arg before
17744 passing to substring (Bug#10850).
17745
17746 2012-02-19 Chong Yidong <cyd@gnu.org>
17747
17748 * comint.el: Require ansi-color.
17749 (comint-output-filter-functions): Add ansi-color-process-output.
17750
17751 * ansi-color.el: Don't set comint-output-filter-functions; it is
17752 now in the initial value defined in comint.el.
17753 (ansi-color-apply-face-function): New variable.
17754 (ansi-color-apply-on-region): Use it.
17755 (ansi-color-apply-overlay-face): New function.
17756
17757 * shell.el (shell): No need to require ansi-color.
17758 (shell-mode): Use ansi-color-apply-face-function to highlight
17759 color escapes using font-lock-face property (Bug#10835).
17760
17761 2012-02-19 Chong Yidong <cyd@gnu.org>
17762
17763 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
17764 mode-line formats (Bug#10839).
17765
17766 2012-02-18 Glenn Morris <rgm@gnu.org>
17767
17768 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
17769
17770 * mail/undigest.el (unforward-rmail-message): Doc fix.
17771
17772 * saveplace.el (save-place-ignore-files-regexp): Add :version.
17773
17774 2012-02-18 Eli Zaretskii <eliz@gnu.org>
17775
17776 * international/characters.el (script-list): Sync with the latest
17777 Unicode Character Database.
17778
17779 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
17780
17781 * international/titdic-cnv.el: Remove duplicate coding tag.
17782 * language/cham.el: Likewise.
17783 * language/tai-viet.el: Likewise.
17784
17785 2012-02-18 Glenn Morris <rgm@gnu.org>
17786
17787 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
17788 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
17789 (calendar-bahai-all-holidays-flag, calendar-other-dates):
17790 * calendar/diary-lib.el (diary-abbreviated-year-flag):
17791 * calendar/holidays.el (holiday-bahai-holidays)
17792 (calendar-holidays, list-holidays):
17793 Use utf-8 BahĂ¡'Ă­ in doc-strings, menus, etc.
17794
17795 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
17796
17797 * saveplace.el (save-place-ignore-files-regexp): New variable
17798 allowing for excluding files from saving their location of point.
17799 The default value matches the temporary commit message editing
17800 files from Git, SVN, Bazaar, and Mercurial.
17801 (save-place-to-alist): Use it.
17802
17803 2012-02-17 Lawrence Mitchell <wence@gmx.li>
17804 Stefan Monnier <monnier@iro.umontreal.ca>
17805
17806 * newcomment.el (uncomment-region-default): Don't leave extra space
17807 when an arg is provided (bug#8150).
17808
17809 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
17810
17811 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
17812
17813 2012-02-17 Glenn Morris <rgm@gnu.org>
17814
17815 * net/socks.el: Require network-stream. (Bug#10599)
17816
17817 2012-02-17 Kenichi Handa <handa@m17n.org>
17818
17819 * international/charprop.el:
17820 * international/uni-name.el:
17821 * international/uni-old-name.el:
17822 * international/uni-comment.el: Regenerate.
17823
17824 2012-02-16 Glenn Morris <rgm@gnu.org>
17825
17826 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
17827 Interactively in calendar buffer, give an error if not on a date.
17828
17829 2012-02-15 Glenn Morris <rgm@gnu.org>
17830
17831 * shell.el (shell-delimiter-argument-list):
17832 Revert 2011-02-17 change. (Bug#8027)
17833
17834 2012-02-15 Chong Yidong <cyd@gnu.org>
17835
17836 * minibuffer.el (completion-at-point-functions): Doc fix.
17837
17838 * custom.el (defcustom): Doc fix; note use of defvar.
17839
17840 2012-02-15 Glenn Morris <rgm@gnu.org>
17841
17842 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
17843 Doc fixes.
17844
17845 2012-02-14 Glenn Morris <rgm@gnu.org>
17846
17847 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
17848
17849 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
17850
17851 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
17852 way the ports list is computed.
17853 (smtpmail-query-smtp-server): Prompt the user for a port number if
17854 we can't connect to any of the standard ports (bug#10810).
17855
17856 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
17857
17858 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
17859
17860 2012-02-13 Glenn Morris <rgm@gnu.org>
17861
17862 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
17863
17864 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
17865
17866 * net/gnutls.el (gnutls-trustfiles): New variable.
17867 (gnutls-negotiate): Use it.
17868
17869 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
17870
17871 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
17872 does its stuff if Gnus is running.
17873
17874 2012-02-13 Alan Mackenzie <acm@muc.de>
17875
17876 Fix a loop in c-set-fl-decl-start.
17877
17878 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
17879 c-backward-syntactic-ws actually moves backwards.
17880
17881 2012-02-13 Leo Liu <sdl.web@gmail.com>
17882
17883 * net/rcirc.el (rcirc-markup-attributes): Move point to the
17884 beginning so that all \C-o chars are removed.
17885
17886 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
17887
17888 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
17889
17890 2012-02-12 Alan Mackenzie <acm@muc.de>
17891
17892 Fix infinite loop with long macros.
17893 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
17894
17895 2012-02-12 Chong Yidong <cyd@gnu.org>
17896
17897 * window.el (display-buffer): Doc fix (Bug#10785).
17898
17899 2012-02-12 Glenn Morris <rgm@gnu.org>
17900
17901 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
17902 (x-disown-selection-internal, x-get-selection-internal):
17903 Sync docs with the xselect.c versions.
17904
17905 * allout-widgets.el: Add missing license notice.
17906
17907 2012-02-11 Glenn Morris <rgm@gnu.org>
17908
17909 * select.el (x-get-selection-internal, x-own-selection-internal)
17910 (x-disown-selection-internal):
17911 * x-dnd.el (x-get-selection-internal): Update declarations.
17912
17913 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
17914
17915 * window.el (window-sides-slots):
17916 * tool-bar.el (tool-bar-position):
17917 * term/xterm.el (xterm-extra-capabilities):
17918 * ses.el (ses-self-reference-early-detection):
17919 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
17920 (verilog-auto-wire-type)
17921 (verilog-auto-delete-trailing-whitespace)
17922 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
17923 (verilog-auto-tieoff-declaration):
17924 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
17925 (sql-oracle-statement-starters, sql-oracle-scan-on):
17926 * progmodes/prolog.el (prolog-align-comments-flag)
17927 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
17928 (prolog-left-indent-regexp, prolog-paren-indent-p)
17929 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
17930 (prolog-types, prolog-mode-specificators)
17931 (prolog-determinism-specificators, prolog-directives)
17932 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
17933 (prolog-electric-dot-flag)
17934 (prolog-electric-dot-full-predicate-template)
17935 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
17936 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
17937 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
17938 (prolog-program-switches, prolog-prompt-regexp)
17939 (prolog-debug-on-string, prolog-debug-off-string)
17940 (prolog-trace-on-string, prolog-trace-off-string)
17941 (prolog-zip-on-string, prolog-zip-off-string)
17942 (prolog-use-standard-consult-compile-method-flag)
17943 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
17944 (prolog-imenu-max-lines, prolog-info-predicate-index)
17945 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
17946 (prolog-char-quote-workaround):
17947 * progmodes/cc-vars.el (c-defun-tactic):
17948 * net/tramp.el (tramp-encoding-command-interactive)
17949 (tramp-local-end-of-line):
17950 * net/soap-client.el (soap-client):
17951 * net/netrc.el (netrc-file):
17952 * net/gnutls.el (gnutls):
17953 * minibuffer.el (completion-category-overrides)
17954 (completion-cycle-threshold)
17955 (completion-pcm-complete-word-inserts-delimiters):
17956 * man.el (Man-name-local-regexp):
17957 * mail/feedmail.el (feedmail-display-full-frame):
17958 * international/characters.el (glyphless-char-display-control):
17959 * eshell/em-ls.el (eshell-ls-date-format):
17960 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
17961 (lisp-lambda-list-keyword-parameter-indentation)
17962 (lisp-lambda-list-keyword-parameter-alignment):
17963 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
17964 * dired-x.el (dired-omit-verbose):
17965 * cus-theme.el (custom-theme-allow-multiple-selections):
17966 * calc/calc.el (calc-highlight-selections-with-faces)
17967 (calc-lu-field-reference, calc-lu-power-reference)
17968 (calc-note-threshold):
17969 * battery.el (battery-mode-line-limit):
17970 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
17971 (archive-7z-update):
17972 * allout.el (allout-prefixed-keybindings)
17973 (allout-unprefixed-keybindings)
17974 (allout-inhibit-auto-fill-on-headline)
17975 (allout-flattened-numbering-abbreviation):
17976 * allout-widgets.el (allout-widgets-auto-activation)
17977 (allout-widgets-icons-dark-subdir)
17978 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
17979 (allout-widgets-theme-dark-background)
17980 (allout-widgets-theme-light-background)
17981 (allout-widgets-item-image-properties-emacs)
17982 (allout-widgets-item-image-properties-xemacs)
17983 (allout-widgets-run-unit-tests-on-load)
17984 (allout-widgets-time-decoration-activity)
17985 (allout-widgets-hook-error-post-time)
17986 (allout-widgets-track-decoration):
17987 Add missing :version tags to new defcustoms and defgroups.
17988
17989 * progmodes/sql.el (sql-ansi-statement-starters)
17990 (sql-oracle-statement-starters): Add custom type.
17991
17992 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
17993 (prolog-system-version): Give it a type.
17994
17995 2012-02-11 Eli Zaretskii <eliz@gnu.org>
17996
17997 * term/pc-win.el (x-select-text, x-selection-owner-p)
17998 (x-own-selection-internal, x-disown-selection-internal)
17999 (x-get-selection-internal): Sync doc strings and argument lists
18000 with xselect.c, common-win.el and x-win.el. (Bug#10783)
18001
18002 2012-02-11 Leo Liu <sdl.web@gmail.com>
18003
18004 * progmodes/python.el (python-end-of-statement): Fix infinite
18005 loop. (Bug#10788)
18006
18007 2012-02-10 Glenn Morris <rgm@gnu.org>
18008
18009 * international/mule-cmds.el (unify-8859-on-encoding-mode)
18010 (unify-8859-on-decoding-mode): Properly mark as obsolete.
18011
18012 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
18013
18014 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
18015 about SMTP before checking the From header.
18016
18017 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
18018 into own function for reuse by emacsbug.el.
18019
18020 2012-02-10 Leo Liu <sdl.web@gmail.com>
18021
18022 * subr.el (condition-case-unless-debug): Rename from
18023 condition-case-no-debug. All callers changed.
18024 (with-demoted-errors): Fix caller.
18025
18026 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
18027 * nxml/rng-valid.el (rng-do-some-validation):
18028 * emacs-lisp/package.el (package-refresh-contents)
18029 (package-menu-execute):
18030 * desktop.el (desktop-create-buffer):
18031 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
18032
18033 2012-02-10 Glenn Morris <rgm@gnu.org>
18034
18035 * textmodes/bibtex.el:
18036 Add missing :version tags for new/changed defcustoms.
18037
18038 * files.el (remote-file-name-inhibit-cache): Doc fixes.
18039
18040 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
18041
18042 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
18043 (smtpmail-via-smtp): Use it, or fall back on the From address.
18044 (smtpmail-send-it): Ditto.
18045
18046 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
18047
18048 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
18049 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
18050 (byte-compile-tmp-var): New const.
18051 (byte-compile-defvar): Use it to minimize .elc size.
18052 Just use `defvar' rather than simulate it (bug#10761).
18053
18054 2012-02-09 Glenn Morris <rgm@gnu.org>
18055
18056 * files.el (rename-uniquely): Doc fix. (Bug#3806)
18057
18058 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
18059 Add :version tags.
18060
18061 * progmodes/compile.el (compilation-error-screen-columns)
18062 (compilation-first-column, compilation-filter-start): Doc fixes.
18063
18064 * vc/log-view.el (log-view-toggle-entry-display):
18065 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
18066
18067 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
18068 (report-emacs-bug-can-use-xdg-email):
18069 (report-emacs-bug-insert-to-mailer): Doc fixes.
18070 (report-emacs-bug): Message fix.
18071
18072 * net/browse-url.el (browse-url-can-use-xdg-open)
18073 (browse-url-xdg-open): Doc fixes.
18074
18075 * electric.el (electric-indent-mode, electric-pair-mode)
18076 (electric-layout-rules, electric-layout-mode): Doc fixes.
18077 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
18078
18079 2012-02-08 Martin Rudalics <rudalics@gmx.at>
18080
18081 * server.el (server-unselect-display): Don't inadvertently kill
18082 the current buffer. (Bug#10729)
18083
18084 2012-02-08 Glenn Morris <rgm@gnu.org>
18085
18086 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
18087 (sql-list-table): Doc fixes.
18088
18089 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
18090 Comment out (does nothing).
18091
18092 * completion.el (dynamic-completion-mode):
18093 * dirtrack.el (dirtrack-debug-mode):
18094 * electric.el (electric-layout-mode):
18095 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
18096 * face-remap.el (text-scale-mode, buffer-face-mode):
18097 * iimage.el (iimage-mode):
18098 * image-mode.el (image-transform-mode):
18099 * minibuffer.el (completion-in-region-mode):
18100 * scroll-lock.el (scroll-lock-mode):
18101 * simple.el (next-error-follow-minor-mode):
18102 * tar-mode.el (tar-subfile-mode):
18103 * tooltip.el (tooltip-mode):
18104 * vcursor.el (vcursor-use-vcursor-map):
18105 * wid-browse.el (widget-minor-mode):
18106 * emulation/tpu-edt.el (tpu-edt-mode):
18107 * emulation/tpu-extras.el (tpu-cursor-free-mode):
18108 * international/iso-ascii.el (iso-ascii-mode):
18109 * language/thai-util.el (thai-word-mode):
18110 * mail/supercite.el (sc-minor-mode):
18111 * net/goto-addr.el (goto-address-mode):
18112 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
18113 * progmodes/cwarn.el (cwarn-mode):
18114 * progmodes/flymake.el (flymake-mode):
18115 * progmodes/glasses.el (glasses-mode):
18116 * progmodes/hideshow.el (hs-minor-mode):
18117 * progmodes/pascal.el (pascal-outline-mode):
18118 * textmodes/enriched.el (enriched-mode):
18119 * vc/smerge-mode.el (smerge-mode):
18120 Doc fixes (minor mode argument).
18121
18122 2012-02-07 Eli Zaretskii <eliz@gnu.org>
18123
18124 * ls-lisp.el (ls-lisp-sanitize): New function.
18125 (ls-lisp-insert-directory): Use it to fix or remove any elements
18126 in file-alist with missing attributes. (Bug#4673)
18127
18128 2012-02-07 Alan Mackenzie <acm@muc.de>
18129
18130 Fix spurious recognition of c-in-knr-argdecl.
18131
18132 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
18133 putative K&R region.
18134
18135 2012-02-07 Alan Mackenzie <acm@muc.de>
18136
18137 * progmodes/cc-engine.el (c-forward-objc-directive):
18138 Prevent looping in "#pragma mark @implementation".
18139
18140 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
18141
18142 * notifications.el (notifications-on-closed-signal): Make `reason'
18143 optional. (Bug#10744)
18144
18145 2012-02-07 Glenn Morris <rgm@gnu.org>
18146
18147 * emacs-lisp/easy-mmode.el (define-minor-mode):
18148 Doc fixes for the macro and the mode it defines.
18149
18150 * image.el (imagemagick-types-inhibit): Doc fix.
18151
18152 * cus-start.el (imagemagick-render-type): Add it.
18153
18154 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
18155
18156 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
18157 Set the default at load time, too, so that `font-lock-fontify-buffer'
18158 can be called without setting up the entire mode first. This fixes
18159 a bug in `mm-inline-text' with C MIME parts.
18160
18161 2012-02-06 Chong Yidong <cyd@gnu.org>
18162
18163 * simple.el (list-processes--refresh): Delete exited processes
18164 (Bug#8094).
18165
18166 * comint.el (comint-next-prompt): next-single-char-property-change
18167 and prev-single-char-property-change never return nil (Bug#8657).
18168
18169 * custom.el (defcustom): Doc fix (Bug#9711).
18170
18171 2012-02-05 Chong Yidong <cyd@gnu.org>
18172
18173 * cus-edit.el (custom-variable-reset-backup): Quote the value
18174 before storing it in the customized-value property (Bug#6712).
18175 (custom-display): Add a customization type tag.
18176 (custom-buffer-create-internal): Improve tooltip message.
18177
18178 * wid-edit.el (widget-field-value-get): New optional arg to
18179 suppress trailing whitespace truncation.
18180 (character): Use it (Bug#2689).
18181
18182 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
18183
18184 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
18185 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
18186
18187 2012-02-05 Chong Yidong <cyd@gnu.org>
18188
18189 * cus-edit.el (custom-variable-value-create): For mismatched
18190 types, show the current value (Bug#7600).
18191
18192 * custom.el (defcustom): Doc fix.
18193
18194 2012-02-05 Glenn Morris <rgm@gnu.org>
18195
18196 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
18197
18198 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
18199
18200 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
18201 (pp-buffer): Use `ignore-errors', `looking-at-p'.
18202 (pp-last-sexp): Use `looking-at-p'.
18203
18204 2012-02-04 Glenn Morris <rgm@gnu.org>
18205
18206 * files.el (revert-buffer):
18207 Doc fix (mention revert-buffer-in-progress-p).
18208
18209 * emacs-lisp/ert-x.el (ert-simulate-command):
18210 Check deferred-action-list (which is obsolete) is bound.
18211
18212 * subr.el (with-wrapper-hook): Doc fixes.
18213
18214 * simple.el (filter-buffer-substring-functions)
18215 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
18216
18217 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
18218
18219 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
18220 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
18221
18222 2012-02-04 Leo Liu <sdl.web@gmail.com>
18223
18224 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
18225
18226 2012-02-04 Glenn Morris <rgm@gnu.org>
18227
18228 * image.el (image-extension-data): Add obsolete alias.
18229
18230 * isearch.el (isearch-update): Doc fix.
18231
18232 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
18233
18234 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
18235
18236 2012-02-03 Glenn Morris <rgm@gnu.org>
18237
18238 * image.el (image-animated-p): Doc fix. Use image-animated-types.
18239 (image-animate-timeout): Doc fix.
18240
18241 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
18242
18243 2012-02-02 Glenn Morris <rgm@gnu.org>
18244
18245 * server.el (server-auth-dir): Doc fix.
18246 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
18247
18248 * subr.el (run-mode-hooks): Doc fix.
18249
18250 2012-02-02 Juri Linkov <juri@jurta.org>
18251
18252 * image-mode.el (image-toggle-display-image): Remove tautological
18253 `major-mode' from the `derived-mode-p' test.
18254
18255 2012-02-02 Kenichi Handa <handa@m17n.org>
18256
18257 * composite.el (compose-region): Cancel previous change.
18258
18259 2012-02-02 Kenichi Handa <handa@m17n.org>
18260
18261 * composite.el (compose-region, compose-string): Signal error for
18262 a null string component (Bug#6988).
18263
18264 2012-02-01 Chong Yidong <cyd@gnu.org>
18265
18266 * view.el (view-buffer-other-window, view-buffer-other-frame):
18267 Handle special modes like view-buffer (Bug#10650).
18268 (view-buffer): Simplify.
18269
18270 * frame.el (set-frame-font): Tweak meaning of third argument.
18271
18272 * dynamic-setting.el (font-setting-change-default-font):
18273 Use set-frame-font (Bug#9982).
18274
18275 2012-02-01 Glenn Morris <rgm@gnu.org>
18276
18277 * progmodes/compile.el (compilation-internal-error-properties):
18278 Respect compilation-first-column in the "*compilation*" buffer.
18279
18280 * emacs-lisp/easy-mmode.el (define-minor-mode):
18281 Relax :variable's test for a named function.
18282
18283 2012-01-31 Alan Mackenzie <acm@muc.de>
18284
18285 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
18286 off by one error.
18287
18288 2012-01-31 Chong Yidong <cyd@gnu.org>
18289
18290 * frame.el (set-frame-font): New arg ALL-FRAMES.
18291
18292 * menu-bar.el (menu-set-font): Use set-frame-font.
18293
18294 * faces.el (face-spec-reset-face): Don't apply unspecified
18295 attribute values to the default face.
18296
18297 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
18298
18299 * progmodes/cwarn.el (cwarn): Remove dead link.
18300 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
18301 Remove * from defcustom docstrings.
18302 (turn-on-cwarn-mode): Make obsolete.
18303 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
18304 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
18305
18306 2012-01-31 Glenn Morris <rgm@gnu.org>
18307
18308 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
18309 Fix :variable handling of mode a symbol not equal to modefun.
18310 Allow named functions to be used as the cdr of :variable.
18311
18312 2012-01-30 Glenn Morris <rgm@gnu.org>
18313
18314 * emacs-lisp/authors.el (authors-fixed-entries):
18315 Remove reference to deleted file rnewspost.el.
18316
18317 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
18318
18319 * window.el (window-with-parameter): Remove unused variable `windows'.
18320 (window--side-check): Remove unused variable `code'.
18321 (window--resize-siblings): Remove unused variable `first'.
18322 (adjust-window-trailing-edge): Remove unused variable `failed'.
18323 (window-deletable-p, window--delete): Remove unused variable `buffer'.
18324 Use `let', not `let*'.
18325 (balance-windows-2): Remove unused variable `found'.
18326 (window--state-put-2): Remove unused variable `splits'.
18327 (window-state-put): Remove unused variable `selected'.
18328 (same-window-p): Use `string-match-p'.
18329 (display-buffer-assq-regexp): Remove unused variable `value'.
18330 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
18331 Mark argument ALIST as ignored.
18332 (pop-to-buffer): Remove unused variable `old-window'.
18333
18334 2012-01-29 Eli Zaretskii <eliz@gnu.org>
18335
18336 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
18337 and .lzma compressed files.
18338
18339 2012-01-29 Chong Yidong <cyd@gnu.org>
18340
18341 * frame.el (window-system-default-frame-alist): Doc fix.
18342
18343 * dynamic-setting.el (font-setting-change-default-font): Don't
18344 change the default face if SET-FONT argument is non-nil (Bug#9982).
18345
18346 2012-01-29 Samuel Bronson <naesten@gmail.com>
18347
18348 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
18349
18350 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
18351
18352 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
18353 breakpoints in files outside current directory (Bug#6098).
18354
18355 2012-01-29 Chong Yidong <cyd@gnu.org>
18356
18357 * progmodes/python.el: Require ansi-color at top-level.
18358
18359 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
18360 Define and use in Emacs Lisp mode (Bug#9360).
18361 (lisp-mode-abbrev-table): Add doc.
18362 (lisp-mode-variables): Don't set local-abbrev-table.
18363 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
18364
18365 2012-01-28 Roland Winkler <winkler@gnu.org>
18366
18367 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
18368
18369 2012-01-28 Roland Winkler <winkler@gnu.org>
18370
18371 * textmodes/bibtex.el (bibtex-entry-alist): New function.
18372 (bibtex-set-dialect): Use it. Either set global values of
18373 dialect-dependent variables or bind these variables buffer-locally
18374 (Bug#10254).
18375 (bibtex-mode): Call bibtex-set-dialect via
18376 hack-local-variables-hook.
18377 (bibtex-dialect): Update docstring.
18378 Add safe-local-variable predicate.
18379 (bibtex-entry-alist, bibtex-field-alist): Initialize via
18380 bibtex-set-dialect.
18381 (bibtex-mode-map): Define menu for each dialect.
18382 (bibtex-entry): Fix docstring.
18383
18384 2012-01-28 Chong Yidong <cyd@gnu.org>
18385
18386 * eshell/esh-arg.el (eshell-quote-argument): New function.
18387
18388 * eshell/esh-ext.el (eshell-invoke-batch-file):
18389 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
18390 first arg to eshell-parse-command (Bug#10523).
18391
18392 2012-01-28 Drew Adams <drew.adams@oracle.com>
18393
18394 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
18395 `default-directory' is non-nil.
18396
18397 2012-01-28 Eli Zaretskii <eliz@gnu.org>
18398
18399 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
18400 line that displays system-configuration-options. (Bug#9924)
18401
18402 2012-01-28 Drew Adams <drew.adams@oracle.com>
18403
18404 * descr-text.el (describe-char): Show information about POS, in
18405 addition to information about the character at POS. Improve and
18406 update the doc string. Change "code point" to "code point in
18407 charset", to avoid confusion with the character's Unicode code
18408 point shown above that. (Bug#10129)
18409
18410 2012-01-28 Eli Zaretskii <eliz@gnu.org>
18411
18412 * descr-text.el (describe-char): Show the raw character, not only
18413 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
18414 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
18415 for the reasons.
18416
18417 2012-01-28 Phil Hagelberg <phil@hagelb.org>
18418
18419 * emacs-lisp/package.el (package-install):
18420 Run package-refresh-contents if there is no archive yet (Bug#9798).
18421
18422 2012-01-28 Chong Yidong <cyd@gnu.org>
18423
18424 * emacs-lisp/package.el (package-maybe-load-descriptor):
18425 New function, split from package-maybe-load-descriptor.
18426 (package-maybe-load-descriptor): Use it.
18427 (package-download-transaction): Fully load required packages
18428 inside the loop, so that `require' calls work (Bug#10593).
18429 (package-install): No need to call package-initialize now.
18430
18431 2012-01-28 Chong Yidong <cyd@gnu.org>
18432
18433 * simple.el (deactivate-mark): Doc fix (Bug#8614).
18434
18435 * tooltip.el (tooltip-mode): Doc fix.
18436 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
18437
18438 * frame.el (set-cursor-color): Doc fix (Bug#352).
18439
18440 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
18441 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
18442
18443 * cus-edit.el (custom-buffer-create-internal): Fix search button
18444 action (Bug#10542).
18445 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
18446
18447 2012-01-27 Eduard Wiebe <usenet@pusto.de>
18448
18449 * dired.el (dired-mark-files-regexp):
18450 Include any subdirectory components. (Bug#10445)
18451
18452 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
18453
18454 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
18455 Handle [host]:port syntax. (Bug#10533)
18456
18457 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
18458
18459 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
18460
18461 2012-01-26 Glenn Morris <rgm@gnu.org>
18462
18463 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
18464 * term.el (term-raw-escape-map): Use Control-X-prefix.
18465 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
18466
18467 2012-01-25 Martin Rudalics <rudalics@gmx.at>
18468
18469 * window.el (window-state-get, window--state-get-1): Don't deal
18470 with fixed-sizeness of windows. Simplify code.
18471
18472 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
18473
18474 * window.el (window--state-get-1, window--state-put-2):
18475 Don't save and restore the mark.
18476
18477 2012-01-25 Chong Yidong <cyd@gnu.org>
18478
18479 * custom.el (custom-variable-p): Doc fix.
18480
18481 2012-01-25 Glenn Morris <rgm@gnu.org>
18482
18483 * dired.el (dired-goto-file): Handle some of the more common
18484 characters that `ls -b' escapes. (Bug#10596)
18485
18486 * progmodes/compile.el (compilation-next-error-function):
18487 Respect compilation-first-column in the "*compilation*" buffer.
18488 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
18489
18490 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
18491
18492 2012-01-24 Glenn Morris <rgm@gnu.org>
18493
18494 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
18495
18496 2012-01-24 Julien Danjou <julien@danjou.info>
18497
18498 * color.el (color-rgb-to-hsl): Fix value computing.
18499 (color-hue-to-rgb): New function.
18500 (color-hsl-to-rgb): New function.
18501 (color-clamp, color-saturate-hsl, color-saturate-name)
18502 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
18503 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
18504
18505 2012-01-24 Glenn Morris <rgm@gnu.org>
18506
18507 * vc/vc-rcs.el (vc-rcs-create-tag):
18508 * vc/vc-sccs.el (vc-sccs-create-tag):
18509 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
18510
18511 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
18512
18513 * eshell/esh-util.el (eshell-read-hosts-file):
18514 Skip comment lines. (Bug#10549)
18515
18516 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
18517
18518 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
18519
18520 * subr.el (display-delayed-warnings): Doc fix.
18521 (collapse-delayed-warnings): New function to collapse identical
18522 adjacent warnings.
18523 (delayed-warnings-hook): Add it.
18524
18525 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
18526
18527 * net/tramp.el (tramp-action-login): Set connection property "login-as".
18528
18529 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
18530 (tramp-default-user-alist): Don't add "pscp".
18531 (tramp-do-copy-or-rename-file-out-of-band): Use connection
18532 property "login-as", if set. (Bug#10530)
18533
18534 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
18535
18536 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
18537 "plink1" and "psftp". (Bug#10530)
18538
18539 2012-01-21 Kenichi Handa <handa@m17n.org>
18540
18541 * international/mule-cmds.el (prefer-coding-system): Show a
18542 warning message if the default value of file-name-coding-system
18543 was not changed.
18544
18545 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
18546
18547 * windmove.el (windmove-reference-loc):
18548 Fix windmove-reference-loc miscalculation.
18549
18550 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
18551
18552 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
18553 default unit.
18554
18555 2012-01-21 Glenn Morris <rgm@gnu.org>
18556
18557 * international/mule.el (auto-coding-alist): Add .tbz.
18558
18559 * files.el (local-enable-local-variables): Doc fix.
18560 (inhibit-local-variables-regexps): Rename from
18561 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
18562 Doc fix. Add some extensions from auto-coding-alist.
18563 (inhibit-local-variables-suffixes):
18564 Rename from inhibit-first-line-modes-suffixes. Doc fix.
18565 (inhibit-local-variables-p):
18566 New function, extracted from set-auto-mode-1.
18567 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
18568 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
18569 (hack-local-variables): Doc fix. Make the mode-only case
18570 respect enable-local-variables and friends.
18571 Respect inhibit-local-variables-regexps for file-locals, but
18572 not for directory-locals.
18573 (set-visited-file-name):
18574 Take account of inhibit-local-variables-regexps.
18575 Whether it applies may change as the file name is changed.
18576 * jka-cmpr-hook.el (jka-compr-install):
18577 * jka-compr.el (jka-compr-uninstall):
18578 Update for inhibit-first-line-modes-suffixes name change.
18579
18580 2012-01-20 Martin Rudalics <rudalics@gmx.at>
18581
18582 * help-macro.el (make-help-screen): Temporarily restore original
18583 binding for minor-mode-map-alist (Bug#10454).
18584
18585 2012-01-19 Julien Danjou <julien@danjou.info>
18586
18587 * color.el (color-name-to-rgb): Use the white color to find the max
18588 color component value and return correctly computed values.
18589 (color-name-to-rgb): Add missing float conversion for max value.
18590
18591 2012-01-19 Martin Rudalics <rudalics@gmx.at>
18592
18593 * window.el (window--state-get-1, window-state-get): Do not use
18594 special state value for window-persistent-parameters.
18595 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
18596 (window--state-put-2): Reset all window parameters to nil before
18597 assigning values of persistent parameters.
18598
18599 2012-01-18 Alan Mackenzie <acm@muc.de>
18600
18601 Eliminate sluggishness and hangs in fontification of "semicolon
18602 deserts".
18603
18604 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
18605 Change value 10000 -> 3000.
18606 (c-state-safe-place): Reformulate so it doesn't stack up an
18607 infinite number of wrong entries in c-state-nonlit-pos-cache.
18608 (c-determine-limit-get-base, c-determine-limit): New functions to
18609 determine backward search limits disregarding literals.
18610 (c-find-decl-spots): Amend commenting.
18611 (c-cheap-inside-bracelist-p): New function which detects "={".
18612
18613 * progmodes/cc-fonts.el
18614 (c-make-font-lock-BO-decl-search-function): Give a limit to a
18615 backward search.
18616 (c-font-lock-declarations): Fix an occurrence of point being
18617 undefined. Check additionally for point being in a bracelist or
18618 near a macro invocation without a semicolon so as to avoid a
18619 fruitless time consuming search for a declarator. Give a more
18620 precise search limit for declarators using the new
18621 c-determine-limit.
18622
18623 2012-01-18 Glenn Morris <rgm@gnu.org>
18624
18625 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
18626 (set-auto-mode): Doc fixes.
18627
18628 2012-01-17 Glenn Morris <rgm@gnu.org>
18629
18630 * isearch.el (search-nonincremental-instead): Fix doc typo.
18631
18632 * dired.el (dired-insert-directory): Handle newlines in directory name.
18633 (dired-build-subdir-alist): Unescape newlines in directory name.
18634
18635 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
18636
18637 * net/tramp.el (tramp-local-end-of-line): New defcustom.
18638 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
18639 (tramp-action-terminal): Use it. (Bug#10530)
18640
18641 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
18642
18643 * minibuffer.el (completion--replace): Strip properties (bug#10062).
18644
18645 2012-01-16 Martin Rudalics <rudalics@gmx.at>
18646
18647 * window.el (window-state-ignored-parameters): Remove variable.
18648 (window--state-get-1): Rename argument MARKERS to IGNORE.
18649 Handle persistent window parameters. Make copy of clone-of
18650 parameter only if requested. (Bug#10348)
18651 (window--state-put-2): Install a window parameter only if it has
18652 a non-nil value or an existing parameter shall be overwritten.
18653
18654 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
18655
18656 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
18657
18658 2012-01-14 Eli Zaretskii <eliz@gnu.org>
18659
18660 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
18661 don't pass the (nil) value of `upnode' to string-match.
18662
18663 2012-01-14 Chong Yidong <cyd@gnu.org>
18664
18665 * startup.el (command-line): Fix X resource class for cursorColor.
18666 Fix values recognized by the cursorBlink resource.
18667
18668 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
18669
18670 * epg.el (epg--make-temp-file): Avoid permission race condition
18671 when running on old Emacs versions (bug#10403).
18672
18673 2012-01-14 Glenn Morris <rgm@gnu.org>
18674
18675 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
18676
18677 2012-01-13 Alan Mackenzie <acm@muc.de>
18678
18679 Fix filling for when filladapt mode is enabled.
18680
18681 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
18682 c-mask-paragraph, pass in `fill-paragraph' rather than
18683 `fill-region-as-paragraph'. (This is a reversion of a previous
18684 change.)
18685 * progmodes/cc-mode.el (c-basic-common-init):
18686 Make fill-paragraph-handle-comment buffer local and set it to nil.
18687
18688 2012-01-13 Glenn Morris <rgm@gnu.org>
18689
18690 * dired.el (dired-switches-escape-p): New function.
18691 (dired-insert-directory): Use dired-switches-escape-p.
18692 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
18693
18694 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
18695
18696 2012-01-12 Glenn Morris <rgm@gnu.org>
18697
18698 * mail/sendmail.el (mail-mode): Update paragraph-separate for
18699 changes in adaptive-fill-regexp. (Bug#10276)
18700
18701 2012-01-11 Alan Mackenzie <acm@muc.de>
18702
18703 Fix Emacs bug #10463 - put `widen's around the critical spots.
18704
18705 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
18706 widen around each invocation of c-state-pp-to-literal. Remove an
18707 unused let variable.
18708
18709 2012-01-11 Glenn Morris <rgm@gnu.org>
18710
18711 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
18712 Doc fix.
18713
18714 2012-01-10 Chong Yidong <cyd@gnu.org>
18715
18716 * net/network-stream.el (network-stream-open-starttls):
18717 Avoid emitting a confusing error message when the server gives a bad
18718 response to the capability command.
18719
18720 2012-01-10 Glenn Morris <rgm@gnu.org>
18721
18722 * mail/unrmail.el (unrmail): Tweak previous change.
18723
18724 2012-01-09 Chong Yidong <cyd@gnu.org>
18725
18726 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
18727
18728 2012-01-08 Alan Mackenzie <acm@muc.de>
18729
18730 Optimize font locking in long enum definitions.
18731
18732 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
18733 arm to a cond form to handle enums.
18734 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
18735 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
18736
18737 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
18738
18739 * files.el (move-file-to-trash): Preserve default file modes on error.
18740 (Bug#10401)
18741
18742 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
18743
18744 * faces.el (set-face-attribute): Clarify the meaning of the nil
18745 frame (bug#10294).
18746
18747 * subr.el (with-selected-frame): Mention that the selected frame
18748 is restored (bug#9980).
18749
18750 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
18751 (bug#9759).
18752
18753 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
18754 (password-read): Don't autoload unused function.
18755
18756 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
18757
18758 * progmodes/which-func.el (which-func-mode): Turn into a
18759 non-interactive function and mark as obsolete (bug#10428).
18760
18761 2012-01-06 Chong Yidong <cyd@gnu.org>
18762
18763 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
18764 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
18765 functions, along with 1 and -1.
18766
18767 2012-01-06 Eli Zaretskii <eliz@gnu.org>
18768
18769 * time.el (display-time-load-average)
18770 (display-time-default-load-average): Doc fixes. See the thread
18771 starting at
18772 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
18773 for the details.
18774
18775 2012-01-06 Glenn Morris <rgm@gnu.org>
18776
18777 * mail/unrmail.el (unrmail): Give an explicit error if the input file
18778 has no messages. (Bug#10377)
18779
18780 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
18781 than Info-edit. (Bug#10385)
18782
18783 * time.el (display-time-load-average, display-time-next-load-average):
18784 Doc fixes.
18785
18786 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
18787 local setting of buffer-read-only to the input buffer. (Bug#10419)
18788
18789 * calendar/calendar.el (calendar-mode):
18790 Locally set scroll-margin to 0. (Bug#10379)
18791
18792 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
18793
18794 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
18795
18796 2012-01-05 Glenn Morris <rgm@gnu.org>
18797
18798 * eshell/em-unix.el (diff-no-select): Autoload it.
18799 (eshell/diff): Use diff-no-select. (Bug#10420)
18800
18801 2012-01-05 Chong Yidong <cyd@gnu.org>
18802
18803 * shell.el (shell-dynamic-complete-functions): Revert last change.
18804 (shell-command-completion-function): New function.
18805 (shell-completion-vars): Use it to implement
18806 shell-completion-execonly (Bug#10417).
18807
18808 * custom.el (enable-theme): Don't set custom-safe-themes.
18809
18810 * cus-theme.el (custom-theme-merge-theme):
18811 Ignore custom-enabled-themes and custom-safe-themes.
18812
18813 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
18814
18815 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
18816 first prompt in `sql-interacive-mode'.
18817 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
18818 keywords.
18819 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
18820 (sql-product-interactive): Bug fix: Set `sql-buffer' in
18821 context of original buffer. Invoke `sql-login-hook'.
18822
18823 2012-01-04 Eli Zaretskii <eliz@gnu.org>
18824
18825 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
18826 letters in cite-prefix.
18827
18828 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
18829
18830 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
18831
18832 2012-01-03 Chong Yidong <cyd@gnu.org>
18833
18834 * shell.el (shell-dynamic-complete-functions):
18835 Put pcomplete-completions-at-point, so as to try
18836 comint-filename-completion first (Bug#10417).
18837
18838 2012-01-02 Richard Stallman <rms@gnu.org>
18839
18840 * battery.el (battery-status-function):
18841 Detect when to use battery-yeeloong-sysfs.
18842 (battery-echo-area-format): Add string for Yeeloong.
18843 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
18844 (battery-yeeloong-sysfs): New function.
18845
18846 2012-01-02 Chong Yidong <cyd@gnu.org>
18847
18848 * dirtrack.el (dirtrack-list): Eliminate unused third element.
18849 (dirtrack): Merge code for handling relative filenames in prompt
18850 from shell-dir-cookie-watcher.
18851 (dirtrack-debug-message): New arg to avoid excess format calls.
18852
18853 * shell.el (shell-dir-cookie-re): Variable deleted.
18854 (shell-dir-cookie-watcher): Function deleted.
18855 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
18856 with dirtrack-mode.
18857
18858 2012-01-01 Eli Zaretskii <eliz@gnu.org>
18859
18860 * term/w32-win.el (dynamic-library-alist) <gnutls>:
18861 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
18862 libgnutls-26.dll.
18863
18864 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
18865
18866 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
18867
18868 2011-12-31 Eli Zaretskii <eliz@gnu.org>
18869
18870 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
18871 headers of non-MIME messages, when rmail-enable-mime is non-nil.
18872
18873 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
18874
18875 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
18876 also for alternative shells.
18877 (tramp-open-connection-setup-interactive-shell): Check, whether
18878 the shell is a busybox.
18879 (tramp-send-command): Don't suppress multiple prompts for
18880 busyboxes, it hurts.
18881
18882 2011-12-28 Chong Yidong <cyd@gnu.org>
18883
18884 * progmodes/gdb-mi.el (gdb-get-source-file-list)
18885 (gdb-get-source-file): Move mode line update to
18886 gdb-get-source-file (Bug#10087).
18887
18888 2011-12-25 Chong Yidong <cyd@gnu.org>
18889
18890 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
18891 gud-gdb-marker-filter without taking it as an argument.
18892 (gud-gdb-run-command-fetch-lines): Caller changed.
18893 (gud-gdb-completion-function): New variable.
18894 (gud-gdb-completion-at-point): Use it.
18895 (gud-gdb-completions-1): Split from gud-gdb-completions.
18896
18897 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
18898 function as separate arguments.
18899 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
18900 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
18901 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
18902 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
18903 (gdb-stopped, def-gdb-auto-update-trigger)
18904 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
18905 (gdb-get-changed-registers, gdb-get-main-selected-frame):
18906 Callers changed.
18907 (gud-gdbmi-completions): New function.
18908 (gdb): Use it for generating the completion table.
18909
18910 2011-12-24 Alan Mackenzie <acm@muc.de>
18911
18912 Introduce a mechanism to widen the region used in context font
18913 locking. Use this to protect declarations from losing their contexts.
18914
18915 * progmodes/cc-langs.el (c-before-font-lock-functions):
18916 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
18917 (c-before-context-fontification-functions): New defvar, a list of
18918 functions to be run just before context (etc.) font locking.
18919
18920 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
18921 New, functionality extracted from
18922 c-neutralize-syntax-in-and-mark-CPP.
18923 (c-in-after-change-fontification): New variable.
18924 (c-after-change): Set c-in-after-change-fontification.
18925 (c-set-fl-decl-start): Rejig its interface, so it can be called
18926 from both after-change and context fontifying.
18927 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
18928 New functions.
18929 (c-standard-font-lock-fontify-region-function): New variable.
18930 (c-font-lock-fontify-region): New function.
18931
18932 2011-12-24 Juri Linkov <juri@jurta.org>
18933
18934 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
18935 (Bug#10348)
18936
18937 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
18938
18939 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
18940 existence of source file. (Bug#10325)
18941
18942 2011-12-23 Alan Mackenzie <acm@muc.de>
18943
18944 Fix unstable fontification inside templates.
18945
18946 * progmodes/cc-langs.el (c-before-font-lock-functions):
18947 Newly created from the singular version. The (c c++ objc) entry now
18948 additionally has c-set-fl-decl-start. The other languages (apart
18949 from AWK) have that as a single entry.
18950
18951 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
18952 The functionality for "local" declarations has been extracted to
18953 c-set-fl-decl-start.
18954
18955 * progmodes/cc-mode.el (c-common-init, c-after-change):
18956 Changes due to pluralisation of c-before-font-lock-functions.
18957 (c-set-fl-decl-start): New function, extracted from
18958 c-font-lock-enclosing-decls and enhanced.
18959
18960 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
18961
18962 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
18963
18964 2011-12-22 Juri Linkov <juri@jurta.org>
18965
18966 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
18967
18968 2011-12-22 Chong Yidong <cyd@gnu.org>
18969
18970 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
18971
18972 2011-12-21 Drew Adams <drew.adams@oracle.com>
18973
18974 * files.el (file-remote-p): Fix docstring. (Bug#10319)
18975
18976 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
18977
18978 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
18979
18980 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
18981
18982 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
18983 highlighting and support. Fix up comments for capitalization.
18984 (cfengine-mode-debug): New var.
18985 (cfengine3-mode): Change the modeline indicator to "CFE3".
18986 (cfengine3-font-lock-keywords): Improve defun highlighting.
18987 (cfengine2-actions): Rename from `cfengine-actions'.
18988 (cfengine2-font-lock-keywords): Rename from
18989 `cfengine-font-lock-keywords'.
18990 (cfengine2-imenu-expression): Rename from
18991 `cfengine-imenu-expression'.
18992 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
18993 (cfengine2-beginning-of-defun): Rename from
18994 `cfengine-beginning-of-defun'.
18995 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
18996 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
18997 (cfengine2-mode): Rename from `cfengine-mode'. Change the
18998 modeline indicator to "CFE2".
18999 (cfengine-mode): Defalias to `cfengine-auto-mode'.
19000 (cfengine-mode-abbrevs): Mark obsolete.
19001
19002 2011-12-21 Chong Yidong <cyd@gnu.org>
19003
19004 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
19005 filename argument.
19006
19007 2011-12-20 Martin Rudalics <rudalics@gmx.at>
19008
19009 * window.el (window-normalize-buffer-to-display): Remove.
19010 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
19011
19012 2011-12-19 Chong Yidong <cyd@gnu.org>
19013
19014 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
19015 Don't signal an error in a predicate function; return non-nil.
19016 (vc-dir-mark-file): Move the error here.
19017 (vc-dir-mark-unmark): If acting on the region, keep going if one
19018 of the entries cannot be marked/unmarked.
19019 (vc-dir-mark-all-files): If current entry is a directory, mark
19020 only child files, as documented.
19021
19022 2011-12-19 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
19023
19024 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
19025 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
19026 addition.
19027
19028 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
19029
19030 * term/ns-win.el (ns-get-selection-internal)
19031 (ns-store-selection-internal): Declare.
19032 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
19033 Declare as obsolete.
19034 (ns-get-pasteboard, ns-paste-secondary):
19035 Use ns-get-selection-internal.
19036 (ns-set-pasteboard, ns-copy-including-secondary):
19037 Use ns-store-selection-internal.
19038
19039 2011-12-17 Chong Yidong <cyd@gnu.org>
19040
19041 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
19042 (vc-deduce-fileset): Doc fix.
19043
19044 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
19045
19046 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
19047
19048 2011-12-13 Sam Steingold <sds@gnu.org>
19049
19050 * man.el (Man-getpage-in-background): When running under a
19051 window-system, ignore $MANWIDTH and $COLUMNS.
19052
19053 2011-12-15 Kenichi Handa <handa@m17n.org>
19054
19055 * language/ethio-util.el: Change coding tag to utf-8-emacs.
19056 (setup-ethiopic-environment-internal): Comment out key-binding for
19057 ethio-toggle-punctuation.
19058
19059 2011-12-13 Alan Mackenzie <acm@muc.de>
19060
19061 Add the switch statement to AWK Mode.
19062
19063 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
19064 "default" to the keywords regexp.
19065
19066 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
19067 expression as the rest.
19068 (c-nonlabel-token-key): Allow string literals for AWK.
19069 Refactor for the other modes.
19070
19071 Large brace-block initialisation makes CC Mode slow: Fix.
19072 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
19073 routines. Limit backward searching in c-font-lock-enclosing.decl.
19074
19075 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
19076 pp-state and literal type in addition to the limits.
19077 (c-state-safe-place): New defun, extracted from c-state-literal-at.
19078 (c-state-literal-at): Use the above new defun.
19079 (c-slow-in-literal, c-fast-in-literal): Remove.
19080 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
19081
19082 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
19083 being in a literal. Add a limit for backward searching.
19084
19085 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
19086 c-slow-in-literal.
19087
19088 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
19089
19090 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
19091
19092 2011-12-13 Martin Rudalics <rudalics@gmx.at>
19093
19094 * window.el (delete-other-windows): Use correct frame in call to
19095 window-with-parameter.
19096
19097 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
19098
19099 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
19100 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
19101 (makefile-gmake-statements, makefile-makepp-statements):
19102 Use it and add new makepp keywords.
19103 (makefile-makepp-font-lock-keywords): Add new patterns.
19104 (makefile-match-function-end): Match new [...] and [[...]].
19105
19106 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
19107
19108 * ses.el (ses-call-printer-return, ses-cell-property-get)
19109 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
19110 (ses-create-cell-variable, ses-reset-header-string)
19111 (ses-cell-set-formula, ses-repair-cell-reference-all)
19112 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
19113 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
19114 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
19115 (ses-aset-with-undo, ses-load, ses-truncate-cell)
19116 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
19117 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
19118 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
19119 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
19120 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
19121 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
19122 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
19123 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
19124
19125 2011-12-11 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
19126
19127 * ses.el: The overall change is to add cell renaming, that is
19128 setting fancy names for cell symbols other than name matching
19129 "\\`[A-Z]+[0-9]+\\'" regexp .
19130 (ses-create-cell-variable): New defun.
19131 (ses-relocate-formula): Relocate formulas only for cells the
19132 symbols of which are not renamed, i.e. symbols whose names do not
19133 match regexp "\\`[A-Z]+[0-9]+\\'".
19134 (ses-relocate-all): Relocate values only for cells the symbols of
19135 which are not renamed.
19136 (ses-load): Create cells variables as the (ses-cell ...) are read,
19137 in order to check row col consistency with cell symbol name only
19138 for cells that are not renamed.
19139 (ses-replace-name-in-formula): New defun.
19140 (ses-rename-cell): New defun.
19141
19142 2011-12-11 Chong Yidong <cyd@gnu.org>
19143
19144 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
19145 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
19146
19147 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
19148
19149 * window.el (other-window): Fix docstring.
19150
19151 2011-12-10 Eli Zaretskii <eliz@gnu.org>
19152
19153 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
19154 `from' or `to' address before taking its substring.
19155 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
19156 encoded name is chopped in the middle of the encoded string, and
19157 thus displayed encoded.
19158
19159 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
19160
19161 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
19162
19163 2011-12-10 Eli Zaretskii <eliz@gnu.org>
19164
19165 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
19166 to use texinfo-update-node and commands that call it if the
19167 Texinfo file uses @node lines without next/prev/up pointers.
19168 Correct outdated description about texinfo-master-menu.
19169 (texinfo-all-menus-update, texinfo-master-menu)
19170 (texinfo-update-node, texinfo-every-node-update)
19171 (texinfo-multiple-files-update): Doc fix. Warn against updating
19172 all the @node lines.
19173 (texinfo-master-menu): Only call texinfo-update-node if the prefix
19174 argument is numeric. Explain better in the doc string what the
19175 function really does.
19176 (texinfo-insert-master-menu-list): Improve the error message
19177 displayed if there's no menu in the Top node.
19178 (Bug#2975) See also this thread:
19179 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
19180
19181 2011-12-09 Manuel GĂ³mez <mgrojo@gmail.com> (tiny change)
19182
19183 * speedbar.el (speedbar-supported-extension-expressions):
19184 Add .adb and .ads, commonly used for Ada source code (bug#10256).
19185
19186 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
19187
19188 * printing.el (pr-mode-alist):
19189 * simple.el (filter-buffer-substring-functions)
19190 (completion-list-insert-choice-function):
19191 * window.el (window-with-parameter, window-atom-root)
19192 (window-sides-slots, window-size-fixed, window-min-delta)
19193 (window-max-delta, window--resize-mini-window)
19194 (window--resize-child-windows-normal, window-tree)
19195 (delete-other-windows, quit-window, split-window)
19196 (display-buffer-record-window, special-display-buffer-names)
19197 (special-display-regexps, special-display-popup-frame)
19198 (same-window-p, split-window-sensibly)
19199 (display-buffer-overriding-action, display-buffer-alist)
19200 (display-buffer-base-action, display-buffer, switch-to-buffer)
19201 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
19202 (fit-window-to-buffer, recenter-positions)
19203 (mouse-autoselect-window-state, mouse-autoselect-window-select):
19204 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
19205 and remove unneeded backslashes in docstrings.
19206
19207 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
19208
19209 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
19210
19211 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
19212 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
19213 end in ".mk".
19214 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
19215 when reading the makefile (bug#10116).
19216
19217 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
19218
19219 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
19220 (bug#10116).
19221
19222 2011-12-06 Glenn Morris <rgm@gnu.org>
19223
19224 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
19225
19226 2011-12-06 Chong Yidong <cyd@gnu.org>
19227
19228 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
19229
19230 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
19231
19232 * textmodes/table.el (table-shorten-cell): Fix typo.
19233
19234 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
19235
19236 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
19237
19238 2011-12-05 Eli Zaretskii <eliz@gnu.org>
19239
19240 * descr-text.el (describe-char): Fix display of strong
19241 right-to-left characters and directional embeddings and overrides.
19242
19243 * simple.el (what-cursor-position): Fix display of codepoints of
19244 strong right-to-left characters.
19245
19246 2011-12-05 Chong Yidong <cyd@gnu.org>
19247
19248 * faces.el (read-color): Doc fix.
19249
19250 2011-12-05 Glenn Morris <rgm@gnu.org>
19251
19252 * align.el (align--set-marker): Add doc-string.
19253 Don't try to move something that is not a marker. (Bug#10216)
19254
19255 2011-12-04 Glenn Morris <rgm@gnu.org>
19256
19257 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
19258 overly zealous deletion of trailing whitespace.
19259
19260 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
19261
19262 * server.el (server-delete-client): On Windows, do not try to delete
19263 the only terminal.
19264 (server-process-filter): On Windows, treat requests for a tty frame as
19265 if they were for a GUI frame if the running server is in GUI mode.
19266
19267 2011-12-03 Glenn Morris <rgm@gnu.org>
19268
19269 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
19270
19271 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
19272
19273 * electric.el: Streamline electric-indent's hook.
19274 (electric-indent-chars): Revert to simple list.
19275 (electric-indent-functions): New var.
19276 (electric-indent-post-self-insert-function): Use it.
19277
19278 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
19279 there's no inferior buffer (bug#10196).
19280 (prolog-consult-compile): Don't use toggle-read-only.
19281
19282 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
19283
19284 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
19285 interrupt. (Bug#10187)
19286
19287 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
19288
19289 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
19290 (bug#9160).
19291
19292 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
19293 (bug#10191).
19294
19295 2011-12-02 Juri Linkov <juri@jurta.org>
19296
19297 * info.el (Info-search): Display "end of manual" when Isearch
19298 reaches the end of single-file Info manual. (Bug#9918)
19299
19300 2011-12-02 Eli Zaretskii <eliz@gnu.org>
19301
19302 * isearch.el (isearch-message-prefix): Run the input method part
19303 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
19304
19305 2011-12-02 Juri Linkov <juri@jurta.org>
19306
19307 * isearch.el (isearch-occur): Use `word-search-regexp' for
19308 `isearch-word'.
19309 (isearch-search-and-update): Add condition for `isearch-word' and
19310 call `word-search-regexp'. (Bug#10145)
19311
19312 2011-12-01 Glenn Morris <rgm@gnu.org>
19313
19314 * eshell/em-hist.el (eshell-hist-initialize):
19315 Handle eshell-history-size nil and HISTSIZE set or unset.
19316 (eshell-history-file-name, eshell-history-size): Fix custom type.
19317
19318 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
19319
19320 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
19321
19322 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
19323
19324 * progmodes/verilog-mode.el (verilog-pretty-expr):
19325 Rework verilog-pretty-expr to handle new assignment operators in system
19326 verilog, such as += *= and the like.
19327 (verilog-assignment-operator-re): Regular expression to find the
19328 assigment operator in a verilog assignment.
19329 (verilog-assignment-operation-re): Regular expression to find an
19330 assignment statement for pretty-expr.
19331 (verilog-in-attribute-p): Query returns true if point is in an
19332 attribute context; used to skip these for expression line up from
19333 pretty-expr.
19334 (verilog-in-parameter-p): Query returns true if point is in an
19335 parameter definition context; used to skip these for expression
19336 line up from pretty-expr.
19337 (verilog-in-parenthesis-p): Query returns true if point is in a
19338 parenthetical expression, specifically ( ) but not [ ] or { };
19339 used by pretty-expr.
19340 (verilog-just-one-space): If there is no space, don't add one.
19341 (verilog-get-lineup-indent-2): Specifically skip just attribute
19342 contexts for expression lineup, rather than skipping all
19343 parenthetical expressions.
19344 (verilog-calculate-indent): Fix comment, and fix indent.
19345 (verilog-do-indent): Indent declarations in lists (suggested by
19346 Joachim Lechner).
19347 (verilog-mode-abbrev-table): Populate abbrev mode with the various
19348 skeleton items.
19349 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
19350 by Alain Mellan).
19351
19352 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
19353
19354 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
19355 parameters with embedded comments. Reported by Ray Stevens.
19356 (verilog-calc-1, verilog-fork-wait-re, verilog-forward-sexp)
19357 (verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
19358 Reported by Tim Holt.
19359 (verilog-auto): Fix AUTOing a upper module then AUTOing module
19360 instantiated by upper module causing wrong expansion until AUTOed a
19361 second time. Reported by K C Buckenmaier.
19362 (verilog-diff-auto): Fix showing .* as a difference when
19363 `verilog-auto-star-save' off. Reported by Dan Dever.
19364 (verilog-auto-reset, verilog-read-always-signals)
19365 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
19366 temporary signals in reset list if
19367 verilog-auto-reset-blocking-in-non is nil, and match assignment
19368 style to each signal's assignment type, bug381.
19369 Reported by Thomas Esposito.
19370 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
19371 (verilog-uvm-statement-re): Support UVM indentation and
19372 highlighting, with old OVM keywords only.
19373 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
19374 Support AUTOTIEOFF creating non-wire data types.
19375 Suggested by Jonathan Greenlaw.
19376 (verilog-auto-insert-lisp, verilog-delete-to-paren)
19377 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
19378 (verilog-inject-sense, verilog-read-inst-pins)
19379 (verilog-read-sub-decls, verilog-read-sub-decls-line):
19380 Fix mismatching parenthesis inside commented out code when deleting
19381 AUTOINST, bug383. Reported by Jonathan Greenlaw.
19382 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
19383 non-numeric vector width. Reported by Alex Reed.
19384 (verilog-auto-ascii-enum): Add "onehot" option to work around not
19385 detecting signals with parameter widths. Reported by Alex Reed.
19386 (verilog-auto-delete-trailing-whitespace):
19387 With `verilog-auto-delete-trailing-whitespace' remove trailing
19388 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
19389 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
19390 Fix verilog-scan-cache corruption when running user AUTO expansion
19391 hooks that call indentation routines.
19392 (verilog-simplify-range-expression): Fix typo ignoring lower case
19393 identifiers.
19394 (verilog-delete-auto): Fix delete-autos to also remove user created
19395 automatics, as long as they start with AUTO.
19396 (verilog-batch-diff-auto, verilog-diff-auto)
19397 (verilog-diff-function): Add `verilog-diff-auto' and bind to
19398 "C-c?" to report differences in AUTO expansion, ignoring spaces.
19399 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
19400 (verilog-in-paren-quick, verilog-re-search-backward-quick)
19401 (verilog-re-search-forward-quick, verilog-syntax-ppss):
19402 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
19403 is disabled and its cache will get corrupt, causing AUTOS not to
19404 expand. Instead use only -quick functions.
19405 (verilog-scan-region): Fix scanning over escaped quotes.
19406 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
19407 (verilog-re-search-backward-quick)
19408 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
19409 related functions now ignore strings, to fix misparsing of strings
19410 with magic comments embedded in them.
19411 (verilog-read-auto-template):
19412 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
19413 Reported by Brad Dobbie.
19414 (verilog-read-auto-template):
19415 Fix 'verilog-auto-inst-template-numbers' with comments.
19416 Reported by Brad Dobbie.
19417 (verilog-auto-inst, verilog-auto-inst-param)
19418 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
19419 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
19420 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
19421 debugging templates without merge conflicts, bug357.
19422 Reported by Brad Dobbie.
19423 (verilog-read-auto-template):
19424 Fix verilog-auto-inst-template-numbers with multiple templates.
19425 Reported by Brad Dobbie.
19426 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
19427 abbrevs so user won't be asked to save.
19428 (verilog-read-auto-lisp-present): Fix to start at beginning of
19429 buffer in case called outside of verilog-auto.
19430 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
19431 to "X-2". Reported by Matthew Myers.
19432 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
19433 all inputs from module templates. Reported by Leith Johnson.
19434 (verilog-module-inside-filename-p): Fix locating programs as with
19435 modules.
19436 (verilog-auto-inst-port): Fix vl-width expressions when using
19437 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
19438 (verilog-decls-get-regs, verilog-decls-get-signals,
19439 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
19440 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
19441 verilog-read-decls): Combine reg and wire structures into one var
19442 structure to represent SystemVerilog concepts.
19443 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
19444 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
19445 (verilog-auto-wire-type, verilog-insert-definition):
19446 Add verilog-auto-wire-type and AUTOLOGIC to support using
19447 SystemVerilog "logic" keyword instead of "wire"/"reg".
19448 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
19449 to declares outputs that also have assignments (presumably in an
19450 ifdef or generate if so there's not a driver conflict).
19451 Reported by Matthew Myers.
19452 (verilog-auto-declare-nettype, verilog-insert-definition):
19453 Add verilog-auto-declare-nettype to fix declarations using
19454 `default_nettype none. Reported by Julian Gorfajn.
19455 (verilog-read-always-signals-recurse, verilog-read-decls)
19456 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
19457 malformed end statement, bug325. Reported by Joshua Wise and
19458 Andrew Drake.
19459 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
19460 (verilog-inst-comment-re): Fix not deleting Interfaced comment
19461 when expanding .* in interfaces, bug320.
19462 Reported by Pierre-David Pfister.
19463 (verilog-read-module-name): Fix import statements between module
19464 name and open parenthesis, bug317.
19465 Reported by Pierre-David Pfister.
19466 (verilog-simplify-range-expression): Fix simplification of
19467 multiplications inside AUTOWIRE connections, bug303.
19468 (verilog-auto-inst-port): Support parameter expansion in
19469 multidimensional arrays.
19470 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
19471 after "assert property". Reported by Julian Gorfajn.
19472 (verilog-simplify-range-expression): Fix "couldn't merge" errors
19473 with multiplication, bug303.
19474 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
19475 Reported by Jan Frode Lonnum.
19476
19477 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
19478
19479 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
19480 (hfy-shell-file-name, hfy-shell):
19481 * international/fontset.el (x-decompose-font-name): Fix typos.
19482
19483 2011-11-29 Ken Brown <kbrown@cornell.edu>
19484
19485 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
19486 (gdb-version): Remove defvar.
19487 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
19488 (gdb-gud-context-command, gdb-non-stop-handler)
19489 (gdb-current-context-command, gdb-stopped): Use it.
19490 (gdb-init-1): Enable pretty printing here.
19491 (gdb-non-stop-handler): Don't enable pretty-printing here.
19492 Check to see if the target supports non-stop mode; if not, turn off
19493 non-stop mode. Use the following.
19494 (gdb-check-target-async): New defun.
19495 (gud-watch, gdb-stopped): Fix whitespace.
19496 (gdb-get-source-file): Don't try to display the source file if
19497 `gdb-main-file' is nil.
19498
19499 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
19500
19501 * align.el: Try to generate fewer markers (bug#10047).
19502 (align--set-marker): New macro.
19503 (align-region): Use it.
19504
19505 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
19506
19507 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
19508
19509 2011-11-29 Chong Yidong <cyd@gnu.org>
19510
19511 * indent.el (indent-for-tab-command, indent-according-to-mode):
19512 Doc fix.
19513 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
19514
19515 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
19516
19517 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
19518 aware of remote file names. (Bug#10124)
19519
19520 2011-11-29 Chong Yidong <cyd@gnu.org>
19521
19522 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
19523
19524 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
19525
19526 * files.el (find-file): Don't use force-same-window (bug#10144).
19527 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
19528 use pop-to-buffer if the selected window can't be used.
19529 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
19530
19531 2011-11-28 Eli Zaretskii <eliz@gnu.org>
19532
19533 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
19534 special-mode-map.
19535
19536 2011-11-28 Chong Yidong <cyd@gnu.org>
19537
19538 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
19539
19540 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
19541
19542 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
19543 gdb-get-source-file-list on gdb-create-source-file-list.
19544
19545 2011-11-26 Eli Zaretskii <eliz@gnu.org>
19546
19547 * whitespace.el (whitespace-newline): Use a different foreground
19548 color for 16-color light-background displays.
19549
19550 2011-11-24 Chong Yidong <cyd@gnu.org>
19551
19552 * window.el (display-buffer--special-action): Doc fix.
19553
19554 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
19555
19556 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
19557 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
19558 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
19559 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
19560 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
19561 (avl-tree-stack-first):
19562 * emacs-lisp/cconv.el (cconv--analyse-use):
19563 * net/gnutls.el (gnutls-negotiate): Fix typos.
19564
19565 2011-11-24 Glenn Morris <rgm@gnu.org>
19566
19567 * lpr.el (lpr-windows-system, lpr-lp-system):
19568 * mail/binhex.el (binhex-begin-line):
19569 * progmodes/grep.el (grep-history, grep-find-history):
19570 * textmodes/flyspell.el:
19571 * vc/pcvs-defs.el (cvs-global-menu):
19572 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
19573 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
19574 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
19575
19576 * net/tls.el: Fix case of "GnuTLS".
19577
19578 * paths.el (rmail-file-name): Format doc-string for make-docfile.
19579
19580 * version.el (emacs-build-system): Give it a doc-string.
19581
19582 2011-11-24 Juri Linkov <juri@jurta.org>
19583
19584 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
19585
19586 2011-11-24 Glenn Morris <rgm@gnu.org>
19587
19588 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
19589 if called on a non-mime message just toggle the headers. (Bug#8006)
19590
19591 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
19592
19593 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
19594 (allout-lead-with-comment-string, allout-structure-deleted-hook)
19595 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
19596 (allout-rebullet-heading, allout-open-sibtopic)
19597 (allout-toggle-current-subtree-encryption)
19598 (allout-toggle-subtree-encryption, allout-encrypt-string)
19599 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
19600 (allout-distinctive-bullets-string, allout-auto-activation):
19601 * window.el (window-normalize-buffer-to-display):
19602 * progmodes/verilog-mode.el (verilog-batch-indent):
19603 * textmodes/bibtex.el (bibtex-field-braces-opt)
19604 (bibtex-field-strings-opt):
19605 * vc/cvs-status.el (cvs-tree-merge):
19606 Fix typos.
19607
19608 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
19609
19610 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
19611 `non-essential' to t, in order to avoid remote connections.
19612
19613 2011-11-23 Eli Zaretskii <eliz@gnu.org>
19614
19615 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
19616 On MS-DOS and MS-Windows, compare with loaddefs.el
19617 case-insensitively.
19618
19619 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
19620
19621 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
19622
19623 2011-11-23 Glenn Morris <rgm@gnu.org>
19624
19625 * paths.el (rmail-file-name): Reformat the doc-string so that it
19626 is picked up.
19627
19628 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
19629 (rmail-auto-file): Ignore case in the "special" field names,
19630 as mail-fetch-field does for all others.
19631
19632 * mail/rmail.el (rmail-forward):
19633 * mail/rmailkwd.el (rmail-set-label):
19634 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
19635 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
19636
19637 * mail/rmail.el (rmail-current-message): Doc fix.
19638
19639 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
19640
19641 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
19642
19643 * server.el (server-eval-and-print): Allow C-g (bug#6585).
19644
19645 2011-11-22 Glenn Morris <rgm@gnu.org>
19646
19647 * mail/rmailmm.el (test-rmail-mime-handler)
19648 (test-rmail-mime-bulk-handler)
19649 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
19650
19651 2011-11-21 Juri Linkov <juri@jurta.org>
19652
19653 * calc/calc.el (calc-read-key-sequence):
19654 Let-bind `input-method-function' to nil. (Bug#10018)
19655
19656 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
19657
19658 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
19659 Tell the caller that the next line needs recomputation, even
19660 though it doesn't start a sexp (bug#10094).
19661
19662 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
19663
19664 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
19665
19666 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
19667
19668 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
19669 Use force-same-window.
19670
19671 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
19672
19673 * descr-text.el (describe-char-unicode-data):
19674 * json.el (json-string-escape):
19675 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
19676 (Footnote-unicode, Footnote-style-p):
19677 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
19678
19679 2011-11-20 Chong Yidong <cyd@gnu.org>
19680
19681 * window.el (replace-buffer-in-windows): Restore interactive spec.
19682
19683 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
19684
19685 * electric.el (electric-indent-mode): Fix last change (too optimistic).
19686
19687 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
19688 (byte-compile-global-not-obsolete-vars): New var.
19689 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
19690 Use it.
19691 (byte-compile-warn-obsolete): Align text with the one in *Help*.
19692
19693 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
19694
19695 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
19696 * progmodes/pascal.el (electric-pascal-equal):
19697 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
19698 * xml.el (xml-substitute-special): Fix typos.
19699
19700 2011-11-20 Glenn Morris <rgm@gnu.org>
19701
19702 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
19703 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
19704 Doc fixes.
19705 (rmail-decode-mime-charset): Mark as obsolete.
19706
19707 * mail/rmailsum.el (rmail-message-regexp-p-1):
19708 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
19709 Before using mime functions, check they are set. (Bug#10077)
19710
19711 2011-11-19 Juri Linkov <juri@jurta.org>
19712
19713 * info.el (Info-finder-find-node): Use `package--builtins' instead
19714 of `package-alist'. Use node names formed by the pattern "Keyword "
19715 and the keyword name.
19716
19717 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
19718
19719 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
19720
19721 2011-11-19 Juri Linkov <juri@jurta.org>
19722
19723 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
19724 that calls `revert-buffer' on all Info buffers. (Bug#9915)
19725 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
19726 `old-history', `old-history-forward'. Add let-binding
19727 `window-selected'. Remove calls to `kill-buffer',
19728 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
19729 before calling `Info-find-node', so `Info-find-node-2' will reread
19730 the Info file. Restore window positions only when `window-selected'
19731 is non-nil.
19732
19733 2011-11-19 Juri Linkov <juri@jurta.org>
19734
19735 * isearch.el (isearch-lazy-highlight-new-loop):
19736 Remove condition `(not isearch-error)'. (Bug#9918)
19737
19738 * misearch.el (multi-isearch-search-fun): Add condition
19739 `(not bound)' to ignore lazy-highlighting search.
19740 Add the search-failed message "end of multi" when the end of
19741 multi-sequence is reached. Uncapitalize the search-failed
19742 message "Repeat for next buffer".
19743
19744 * info.el (Info-search): Add the search-failed message
19745 "end of the manual" when the end of the manual is reached
19746 in Isearch mode.
19747
19748 2011-11-19 Juri Linkov <juri@jurta.org>
19749
19750 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
19751 Use non-destructive `remove' instead of `delete' because
19752 `Info-history-list' stored to `Info-isearch-initial-history-list' in
19753 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
19754
19755 2011-11-19 Juri Linkov <juri@jurta.org>
19756
19757 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
19758 to nil instead of binding `search-ring' and `regexp-search-ring'.
19759 (Bug#9185)
19760
19761 2011-11-19 Eli Zaretskii <eliz@gnu.org>
19762
19763 * simple.el (line-move): Force movement by logical lines for any
19764 hscrolled window, not only when auto-hscroll-mode is on.
19765 (line-move-visual): Update doc string to that effect. (Bug#10076)
19766
19767 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
19768
19769 * language/european.el (macintosh): Define as alias for mac-roman.
19770
19771 2011-11-19 Eli Zaretskii <eliz@gnu.org>
19772
19773 * mail/rmailmm.el (rmail-mime-display-header)
19774 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
19775 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
19776 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
19777 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
19778 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
19779 of a raw aref.
19780 (rmail-mime-entity-segment): To get past the tagline, move forward
19781 2 more lines, to account for the 2 empty lines that precede and
19782 follow the line with the buttons.
19783 (rmail-mime-update-tagline): Move one more line, to get past the
19784 empty line that follows the buttons in the tagline. (Bug#9520)
19785
19786 2011-11-19 Martin Rudalics <rudalics@gmx.at>
19787
19788 * window.el (window-max-delta-1, window-min-delta-1)
19789 (window-min-size-1, window-state-get-1, window-state-put-1)
19790 (window-state-put-2): Use "window--" prefix.
19791
19792 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
19793
19794 * emacs-lisp/smie.el: Improve warnings and conflict detection.
19795 (smie-warning-count): New var.
19796 (smie-set-prec2tab): Use it.
19797 (smie-bnf->prec2): Improve warnings. Add docstring.
19798 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
19799 (smie-bnf--set-class): New function.
19800 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
19801 corner case.
19802
19803 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
19804 (compilation-error-properties, compilation-move-to-column):
19805 Handle compilation-first-column while in the target buffer.
19806
19807 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
19808 Don't hardcode point-min==1.
19809
19810 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
19811 (eshell-rewrite-for-command): Remove workaround.
19812 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
19813 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
19814 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
19815
19816 * files-x.el (modify-file-local-variable): Obey commenting conventions.
19817
19818 2011-11-17 Glenn Morris <rgm@gnu.org>
19819
19820 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
19821 Ignore buffer-local generated-autoload-file if it is the same
19822 as the global value. (Bug#10049)
19823
19824 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
19825
19826 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
19827 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
19828 (reftex-toc-previous-heading, reftex-toc-max-level)
19829 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
19830 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
19831 (reftex-toc-do-promote, reftex-toc-promote-prepare)
19832 (reftex-toc-promote-action, reftex-toc-extract-section-number)
19833 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
19834 (reftex-toc-rename-label, reftex-toc-visit-location)
19835 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
19836 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
19837 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
19838 leaving "*toc*" only for references to the buffer.
19839
19840 2011-11-17 Martin Rudalics <rudalics@gmx.at>
19841
19842 * window.el (window-resize, delete-window, split-window):
19843 Replace window-splits by window-combination-resize.
19844 * cus-start.el (window-splits): Replace by window-combination-resize.
19845
19846 2011-11-17 Glenn Morris <rgm@gnu.org>
19847
19848 * progmodes/sh-script.el (sh-font-lock-keywords-var):
19849 Make bash entry derive from sh entry, not shell entry.
19850
19851 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
19852
19853 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
19854 local file name.
19855
19856 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
19857
19858 * menu-bar.el (menu-bar-file-menu):
19859 * printing.el (pr-ps-utility):
19860 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
19861 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
19862 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
19863 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
19864 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
19865 (icalendar--convert-cyclic-to-ical)
19866 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
19867 (icalendar--convert-ical-to-diary)
19868 (icalendar--convert-recurring-to-diary)
19869 (icalendar--convert-non-recurring-all-day-to-diary)
19870 (icalendar-import-format-sample):
19871 * progmodes/idlw-shell.el (idlwave-shell-mode):
19872 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
19873 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
19874 (vhdl-ps-print-init): Fix typos.
19875
19876 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
19877
19878 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
19879 FSF and collapse date sequence, obscure author/maintainer email address
19880 better, remove extra version line, track relocation of author's webpage.
19881
19882 * progmodes/python.el (python-pdbtrack-input-prompt)
19883 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
19884 regular python pdb prompts. Adjustments shamelessly taken exactly as
19885 suggested in EmacsWiki page (tiny change):
19886 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
19887
19888 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
19889
19890 * expand.el (expand-pos, expand-index, expand-point):
19891 Remove redundant info from docstring.
19892 (expand-add-abbrevs): Doc fix.
19893 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
19894 (expand-sample-perl-mode-expand-list): Fix typos.
19895
19896 * net/dbus.el (dbus-event-member-name):
19897 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
19898 * term/pc-win.el (msdos-create-frame-with-faces):
19899 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
19900
19901 2011-11-16 Martin Rudalics <rudalics@gmx.at>
19902
19903 * window.el (split-window, window-state-get-1)
19904 (window-state-put-1, window-state-put-2): Rename occurrences of
19905 window-nest to window-combination-limit.
19906 * cus-start.el (window-nest): Rename to window-combination-limit.
19907
19908 2011-11-16 Chong Yidong <cyd@gnu.org>
19909
19910 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
19911 regexp (Bug#10033).
19912
19913 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
19914
19915 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
19916 `completing-read' will remove *Completions* and will preserve
19917 current-buffer for us.
19918 (tmm-add-prompt): Users of *Completions* will always (re)set its
19919 major mode.
19920 (tmm-old-comp-map): Remove.
19921
19922 2011-11-16 Glenn Morris <rgm@gnu.org>
19923
19924 * mail/rmailedit.el: Require rmailmm when compiling.
19925 (rmail-old-mime-state): New declaration.
19926 (rmail-edit-current-message): If editing a mime message,
19927 edit the "raw" message from the mbox buffer.
19928 (rmail-cease-edit): Handle mime messages. (Bug#9840)
19929
19930 2011-11-15 Glenn Morris <rgm@gnu.org>
19931
19932 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
19933 which wasn't being used. Add optional arg to force given state.
19934 (rmail-mime): Add optional arg to force given state.
19935
19936 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
19937
19938 * allout.el (allout-encryption-plaintext-sanitization-regexps):
19939 * frame.el (display-mm-dimensions-alist):
19940 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
19941 (outline-move-subtree-down):
19942 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
19943 (newsticker--treeview-do-get-node):
19944 * net/quickurl.el (quickurl-list-buffer-name):
19945 * progmodes/dcl-mode.el (dcl-mode):
19946 * progmodes/gdb-mi.el (gdb-mapcar*):
19947 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
19948
19949 2011-11-15 Glenn Morris <rgm@gnu.org>
19950
19951 * mail/rmail.el (rmail-file-coding-system): It's only ever used
19952 in a boolean sense, so just make it a boolean, and fix the doc.
19953 (rmail-show-mime-function, rmail-mime-feature)
19954 (rmail-require-mime-maybe): Doc fixes.
19955 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
19956
19957 * mail/rmailmm.el (rmail-show-mime): Doc fix.
19958
19959 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
19960
19961 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
19962 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
19963 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
19964 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
19965
19966 2011-11-15 Glenn Morris <rgm@gnu.org>
19967
19968 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
19969 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
19970 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
19971 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
19972 (rmail-mime, rmail-show-mime): Doc fixes.
19973
19974 * term/ns-win.el (mode-line-frame-identification):
19975 Leave it alone. (Bug#10051)
19976
19977 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
19978
19979 * mail/rmailout.el (rmail-output-to-rmail-buffer):
19980 Handle empty buffers. (Bug#9978)
19981
19982 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
19983
19984 * international/mule.el (define-charset):
19985 * mail/rmailmm.el (rmail-mime-find-header-encoding):
19986 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
19987 * progmodes/verilog-mode.el (verilog-backward-token):
19988 * textmodes/ispell.el (lookup-words):
19989 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
19990
19991 2011-11-14 Glenn Morris <rgm@gnu.org>
19992
19993 * progmodes/executable.el
19994 (executable-make-buffer-file-executable-if-script-p):
19995 Handle file-modes returning nil.
19996
19997 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
19998 message - not necessary, and causes problems. (Bug#9831)
19999
20000 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
20001
20002 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
20003
20004 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
20005 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
20006 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
20007
20008 2011-11-12 Martin Rudalics <rudalics@gmx.at>
20009
20010 * window.el (window-resize, delete-window): Use window-splits
20011 variable instead of function.
20012 (window-state-get-1, window-state-put-2, window-state-put):
20013 Don't deal with windows' splits status.
20014
20015 2011-11-12 Glenn Morris <rgm@gnu.org>
20016
20017 * apropos.el (apropos-do-all, apropos-library, apropos-value)
20018 (apropos-documentation): Doc fixes.
20019
20020 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
20021
20022 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
20023 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
20024
20025 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
20026
20027 * electric.el (electric-indent-post-self-insert-function): Make it
20028 possible for a char to only indent in some circumstances.
20029 (electric-indent-mode): Simplify.
20030
20031 2011-11-11 Martin Rudalics <rudalics@gmx.at>
20032
20033 * window.el (windows-with-parameter): Remove unused function.
20034 (windows-at-side): Rename to window-at-side-list.
20035 (window-check, window-atom-check, window-atom-check-1)
20036 (window-side-check, window-size-ignore, window-size-fixed-1)
20037 (window-in-direction-2): Prefix with "window--".
20038 (window-tree-1): Rename to window--subtree, fix doc-string.
20039
20040 2011-11-11 Glenn Morris <rgm@gnu.org>
20041
20042 * subr.el (eval-after-load): If FILE is already loaded,
20043 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
20044
20045 2011-11-10 Glenn Morris <rgm@gnu.org>
20046
20047 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
20048 Call svn via vc-svn-command rather than vc-do-command.
20049 (vc-svn-command): Add --non-interactive. (Bug#9993)
20050 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
20051
20052 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
20053 Add toggle-read-only. (Bug#7292)
20054 * files.el (toggle-read-only): Mention that it should only
20055 be used interactively. (Bug#10006)
20056
20057 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
20058
20059 * progmodes/compile.el (compilation-error-regexp-alist-alist):
20060 Adjust regexp for OCaml warnings.
20061
20062 * electric.el (electric-pair-post-self-insert-function): Let user
20063 turn it off buffer-locally (bug#9932).
20064
20065 * progmodes/python.el (python-beginning-of-statement):
20066 Rewrite (bug#2703).
20067
20068 * progmodes/compile.el: Better handle TABs (bug#9749).
20069 (compilation-internal-error-properties)
20070 (compilation-next-error-function): Obey the target buffer's
20071 compilation-error-screen-columns.
20072
20073 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
20074
20075 * progmodes/meta-mode.el: Remove obsolete comments.
20076 (meta-right-comment-regexp, meta-ignore-comment-regexp):
20077 Fix typos in docstrings.
20078
20079 2011-11-09 Martin Rudalics <rudalics@gmx.at>
20080
20081 * window.el (window-size-fixed-p): Rewrite doc-string.
20082 (window-resizable-p): Rename to window--resizable-p. Update callers.
20083 (window--resizable): New function. Make all callers of
20084 window-resizable call window--resizable instead.
20085 (window-resizable): Rewrite in terms of window--resizable.
20086
20087 2011-11-08 Glenn Morris <rgm@gnu.org>
20088
20089 * progmodes/delphi.el (delphi-mode-syntax-table):
20090 Let define-derived-mode define a proper syntax table. (Bug#9994)
20091
20092 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
20093
20094 * window.el: Stay away from defsubst.
20095 (window-list-no-nils): Remove.
20096 (window-state-get-1, window-state-get): Use backquote instead.
20097
20098 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
20099
20100 * emacs-lisp/find-func.el (find-function-read):
20101 Fix incorrect use of default argument in `completing-read'.
20102
20103 2011-11-08 Martin Rudalics <rudalics@gmx.at>
20104
20105 * window.el (display-buffer-function, special-display-function):
20106 Mention display-buffer-record-window but do not mention
20107 help-setup parameter in doc-strings.
20108 (window-min-delta): Fix doc-string typo.
20109
20110 2011-11-08 Chong Yidong <cyd@gnu.org>
20111
20112 * window.el (window-total-height, window-total-width): Doc fix.
20113 (window-body-size): Move from C.
20114 (window-body-height, window-body-width): Move to C.
20115
20116 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
20117
20118 * window.el: Make special-display like display-buffer-alist (bug#9532).
20119 (display-buffer--special-action): New function, morphed
20120 from display-buffer--special.
20121 (display-buffer): Use it to handle special-display-buffers at higher
20122 priority (just after display-buffer-alist).
20123 (display-buffer-fallback-action, display-buffer--other-frame-action)
20124 (pop-to-buffer-same-window): Remove display-buffer--special.
20125
20126 2011-11-07 Glenn Morris <rgm@gnu.org>
20127
20128 * calendar/cal-menu.el (cal-menu-set-date-title):
20129 Do nothing if not in a calendar. (Bug#9976)
20130
20131 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
20132
20133 * files.el (find-file): Always use selected-window.
20134
20135 2011-11-07 Martin Rudalics <rudalics@gmx.at>
20136
20137 * window.el (window-combinations): Make WINDOW argument
20138 mandatory. Rewrite doc-string.
20139 (walk-window-subtree, window-atom-check, window-min-delta)
20140 (window-max-delta, window--resize-this-window)
20141 (window--resize-root-window-vertically, window-tree)
20142 (balance-windows, window-state-put): Rewrite doc-strings as to
20143 not mention the term "subwindow".
20144 (window--resize-subwindows-skip-p): Rename to
20145 window--resize-child-windows-skip-p.
20146 (window--resize-subwindows-normal): Rename to
20147 window--resize-child-windows-normal.
20148 (window--resize-subwindows): Rename to
20149 window--resize-child-windows.
20150 (window-or-subwindow-p): Rename to window--in-subtree-p.
20151
20152 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
20153
20154 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
20155 Ensure that mbox format messages end in two newlines (Bug#9974).
20156
20157 2011-11-06 Chong Yidong <cyd@gnu.org>
20158
20159 * window.el (window-combination-p): Function deleted; its
20160 side-effect is not used in any existing code.
20161 (window-combinations, window-combined-p): Call window-*-child
20162 directly.
20163
20164 2011-11-05 Chong Yidong <cyd@gnu.org>
20165
20166 * window.el (window-valid-p): Rename from window-any-p.
20167 (window-size-ignore, window-state-get): Callers changed.
20168 (window-normalize-window): Rename from window-normalize-any-window.
20169 New arg LIVE-ONLY, replacing window-normalize-live-window.
20170 (window-normalize-live-window): Delete.
20171 (window-combination-p, window-combined-p, window-combinations)
20172 (walk-window-subtree, window-atom-root, window-min-size)
20173 (window-sizable, window-sizable-p, window-size-fixed-p)
20174 (window-min-delta, window-max-delta, window-resizable)
20175 (window-resizable-p, window-full-height-p, window-full-width-p)
20176 (window-current-scroll-bars, window-point-1, set-window-point-1)
20177 (window-at-side-p, window-in-direction, window-resize)
20178 (adjust-window-trailing-edge, maximize-window, minimize-window)
20179 (window-deletable-p, delete-window, delete-other-windows)
20180 (record-window-buffer, unrecord-window-buffer)
20181 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
20182 (quit-window, split-window, window-state-put)
20183 (set-window-text-height, fit-window-to-buffer)
20184 (shrink-window-if-larger-than-buffer): Callers changed.
20185
20186 2011-11-04 Eli Zaretskii <eliz@gnu.org>
20187
20188 * mail/rmail.el (rmail-simplified-subject): Decode subject with
20189 rfc2047-decode-string.
20190 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
20191 warnings.
20192
20193 * window.el (window-body-height, window-body-width): Mention in
20194 the doc string that the return values are in frame's canonical
20195 units. (Bug#9949)
20196
20197 2011-11-03 Alan Mackenzie <acm@muc.de>
20198
20199 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
20200 change in cc-engine.el.
20201
20202 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
20203
20204 * window.el (switch-to-buffer): Use `force-same-window' interactively.
20205
20206 2011-11-02 Martin Rudalics <rudalics@gmx.at>
20207
20208 * window.el (quit-window): Call unrecord-window-buffer after
20209 showing another buffer in the window. (Bug#9937)
20210 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
20211
20212 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
20213
20214 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
20215 Accept status with more than 9 shelves. (Bug#9935)
20216 Reported by Colin D Bennett <colin@gibibit.com>.
20217
20218 2011-11-01 Martin Rudalics <rudalics@gmx.at>
20219
20220 * help.el (with-help-window): Don't reference
20221 temp-buffer-show-specifiers in doc-string.
20222
20223 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
20224
20225 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
20226 menu-item.
20227
20228 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
20229
20230 * whitespace.el: New version 13.2.2.
20231 (whitespace-newline-mode): Disable properly. Reported by Sarah
20232 <EmacsWiki>.
20233
20234 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
20235
20236 * net/newst-treeview.el: Remove "Time-stamp".
20237 (newsticker--group-manage-orphan-feeds): Do not call
20238 newsticker--treeview-tree-update.
20239 (newsticker-treeview-update, newsticker-treeview):
20240 Call newsticker--treeview-tree-update if necessary.
20241
20242 2011-10-30 Martin Rudalics <rudalics@gmx.at>
20243
20244 * window.el (window-iso-combination-p, window-iso-combined-p)
20245 (window-iso-combinations): Remove "iso-" infix.
20246 Suggested by Chong Yidong.
20247 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
20248 (window-max-delta-1, window-resize, window--resize-siblings)
20249 (window--resize-this-window, adjust-window-trailing-edge)
20250 (split-window, balance-windows-1)
20251 (shrink-window-if-larger-than-buffer):
20252 * calendar/calendar.el (calendar-generate-window):
20253 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
20254
20255 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
20256
20257 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
20258 in place (bug#9907).
20259 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
20260 (eshell-rewrite-if-command, eshell-rewrite-for-command)
20261 (eshell-structure-basic-command, eshell-rewrite-while-command)
20262 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
20263 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
20264 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
20265 (eshell-do-pipelines-synchronously, eshell-eval-command):
20266 Use backquotes and prefer setq to set.
20267 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
20268 (eshell-macrop): Use functionp.
20269 (eshell-do-eval): Handle multiple expressions in `while' body.
20270
20271 2011-10-30 Chong Yidong <cyd@gnu.org>
20272
20273 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
20274 instead of set-mark (Bug#9810).
20275
20276 2011-10-30 Chong Yidong <cyd@gnu.org>
20277
20278 * window.el (split-window-below, split-window-right): Rename from
20279 split-window-above-each-other and split-window-side-by-side
20280 respectively. All callers changed.
20281 (split-window-sensibly, split-window-sensibly): Use them.
20282 (split-window-keep-point): Doc fix.
20283
20284 * isearch.el: Add isearch-scroll property to split-window-below
20285 and split-window-right.
20286
20287 * follow.el (follow-mode):
20288 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
20289 * progmodes/ada-xref.el (ada-gdb-application):
20290 * emulation/vip.el (vip-buffer-in-two-windows):
20291 * image-dired.el (image-dired-dired-with-window-configuration):
20292 * dired-x.el (dired-do-find-marked-files):
20293 * dired.el (dired-pop-to-buffer):
20294 * bs.el (bs--show-with-configuration):
20295 * vc/emerge.el (emerge-setup-windows):
20296 * textmodes/two-column.el (2C-two-columns):
20297 * textmodes/reftex-toc.el (reftex-toc):
20298 * progmodes/gdb-mi.el (gdb-setup-windows):
20299 * progmodes/fortran.el (fortran-window-create):
20300 * net/newst-treeview.el (newsticker--treeview-window-init):
20301 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
20302 * emulation/tpu-edt.el (tpu-gold-map):
20303 * emulation/crisp.el (crisp-mode-map):
20304 * calendar/calendar.el (calendar-basic-setup): Callers changed.
20305
20306 2011-10-29 Chong Yidong <cyd@gnu.org>
20307
20308 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
20309
20310 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
20311
20312 * textmodes/flyspell.el (flyspell-word): Fix char offset for
20313 forged Ispell output (Bug#7904).
20314
20315 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
20316
20317 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
20318
20319 * doc-view.el: Avoid ugly errors about not finding nil.
20320 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
20321 (doc-view-dvipdf-program, doc-view-unoconv-program)
20322 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
20323 Avoid nil or absolute file name as default value.
20324 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
20325
20326 2011-10-28 Alan Mackenzie <acm@muc.de>
20327
20328 * progmodes/cc-defs.el (c-version): -> 5.32.2.
20329
20330 2011-10-28 Alan Mackenzie <acm@muc.de>
20331
20332 Amend the handling of c-beginning/end-of-defun in nested declaration
20333 scopes.
20334
20335 * progmodes/cc-vars.el (c-defun-tactic): Move here from
20336 cc-langs.el. Change it to a defcustom.
20337
20338 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
20339 cc-vars.el.
20340
20341 * progmodes/cc-engine.el (c-beginning-of-statement-1):
20342 Prevent "class foo : bar" being spuriously recognized as a label.
20343
20344 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
20345 Add parameter `inclusive' (to include enclosing braces in the region).
20346 (c-widen-to-enclosing-decl-scope): New function.
20347 (c-while-widening-to-decl-block): New macro.
20348 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
20349 outward for defun boundaries, and correspondingly change symbol
20350 `respect-enclosure' to `go-outward'.
20351 (c-declaration-limits): Change algorithm to report only the "innermost"
20352 defun's boundaries.
20353
20354 2011-10-28 Deniz Dogan <deniz@dogan.se>
20355
20356 * net/rcirc.el (rcirc-mode): Use hard newlines.
20357
20358 2011-10-28 Alan Mackenzie <acm@muc.de>
20359
20360 Amend to indent and fontify macros "which include their own semicolon"
20361 correctly, using the "virtual semicolon" mechanism.
20362
20363 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
20364
20365 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
20366 Recode to scan one line at a time rather than having \n and \r
20367 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
20368 (c-forward-label): Amend for virtual semicolons.
20369 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
20370
20371 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
20372 of the new C macros.
20373
20374 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
20375 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
20376 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
20377 (c-opt-cpp-macro-define): Make into a full language variable.
20378 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
20379 AWK Mode (including \n, \r) removed, no longer needed.
20380
20381 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
20382 Invoke c-make-macro-with-semi-re.
20383
20384 * progmodes/cc-vars.el (c-macro-with-semi-re):
20385 (c-macro-names-with-semicolon): New variables.
20386 (c-make-macro-with-semi-re): New function.
20387
20388 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
20389
20390 * vc/log-edit.el: Fill empty field rather than adding new one.
20391 (log-edit-add-field): New function.
20392 (log-edit-insert-changelog): Use it.
20393
20394 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
20395
20396 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
20397
20398 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
20399
20400 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
20401 (gdb--check-interpreter): New function.
20402 (gdb): Use it.
20403
20404 2011-10-27 Glenn Morris <rgm@gnu.org>
20405
20406 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
20407 (least-positive-float, least-negative-float)
20408 (least-positive-normalized-float, least-negative-normalized-float)
20409 (float-epsilon, float-negative-epsilon):
20410 Remove unnecessary declarations.
20411
20412 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
20413 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
20414 (least-positive-float, least-negative-float)
20415 (least-positive-normalized-float, least-negative-normalized-float)
20416 (float-epsilon, float-negative-epsilon): Add doc-strings,
20417 based on those in cl.texi.
20418
20419 * files.el (set-visited-file-name): If the major-mode changed,
20420 reload the local variables. (Bug#9796)
20421
20422 2011-10-27 Chong Yidong <cyd@gnu.org>
20423
20424 * subr.el (change-major-mode-after-body-hook): New hook.
20425 (run-mode-hooks): Run it.
20426
20427 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
20428 Use change-major-mode-before-body-hook.
20429
20430 * simple.el (fundamental-mode):
20431 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
20432 change introducing fundamental-mode-hook.
20433
20434 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
20435
20436 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
20437
20438 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
20439
20440 * ido.el (ido-file-name-all-completions-1): Do not require
20441 tramp.el explicitly. (Bug#7583)
20442
20443 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
20444
20445 * progmodes/octave-mod.el:
20446 * progmodes/octave-inf.el: Update maintainer.
20447
20448 2011-10-26 Chong Yidong <cyd@gnu.org>
20449
20450 * subr.el (with-wrapper-hook): Rewrite doc.
20451
20452 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
20453
20454 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
20455 filenames "/method:foo:". (Bug#9793)
20456
20457 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
20458
20459 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
20460 (bug#9865).
20461
20462 2011-10-24 Glenn Morris <rgm@gnu.org>
20463
20464 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
20465
20466 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
20467
20468 * notifications.el: Add the requirement of a running D-Bus session
20469 bus to the Commentary.
20470
20471 2011-10-24 Juri Linkov <juri@jurta.org>
20472
20473 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
20474 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
20475 (Bug#9364)
20476
20477 2011-10-24 Juri Linkov <juri@jurta.org>
20478
20479 * info.el (Info-following-node-name-re): Add newline to the list
20480 of allowed characters for leading space. (Bug#9824)
20481
20482 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
20483
20484 * progmodes/octave-inf.el (inferior-octave-mode-map):
20485 Fix C-c C-h binding.
20486 * progmodes/octave-mod.el (octave-help): Remove.
20487
20488 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
20489
20490 Sync with Tramp 2.2.3.
20491
20492 * net/tramp-cache.el (top): Pacify byte-compiler using
20493 `init-file-user' and `site-run-file'.
20494
20495 * net/trampver.el: Update release number.
20496
20497 2011-10-23 Chong Yidong <cyd@gnu.org>
20498
20499 * files.el (toggle-read-only): Remove obsolete comment about
20500 version control.
20501
20502 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
20503 for toggle-read-only. Note that this hasn't called vc-next-action
20504 since 2008-05-02, though it wasn't documented at the time.
20505
20506 * vc/ediff-init.el (ediff-toggle-read-only-function):
20507 Use toggle-read-only.
20508
20509 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
20510
20511 Fix bug #9560, sporadic wrong indentation; improve instrumentation
20512 of c-parse-state.
20513
20514 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
20515 correct faulty logical expression.
20516 (c-parse-state-state, c-record-parse-state-state):
20517 (c-replay-parse-state-state): New defvar/defuns.
20518 (c-debug-parse-state): Use new functions.
20519
20520 2011-10-22 Martin Rudalics <rudalics@gmx.at>
20521
20522 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
20523 last fix. Use window-in-direction correctly.
20524
20525 2011-10-21 Chong Yidong <cyd@gnu.org>
20526
20527 * progmodes/idlwave.el (idlwave-mode):
20528 * progmodes/vera-mode.el (vera-mode): No need to set
20529 require-final-newline; that's done in prog-mode.
20530 Suggested by Stefan Monnier.
20531
20532 2011-10-21 Martin Rudalics <rudalics@gmx.at>
20533
20534 * mouse.el (mouse-drag-window-above)
20535 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
20536 (mouse-drag-mode-line-1, mouse-drag-header-line)
20537 (mouse-drag-vertical-line-rightward-window): Remove.
20538 (mouse-drag-line): New function.
20539 (mouse-drag-mode-line, mouse-drag-header-line)
20540 (mouse-drag-vertical-line): Call mouse-drag-line.
20541 * window.el (window-at-side-p, windows-at-side): New functions.
20542
20543 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
20544
20545 * tar-mode.el (tar-grind-file-mode):
20546 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
20547
20548 2011-10-21 Chong Yidong <cyd@gnu.org>
20549
20550 * progmodes/idlwave.el (idlwave-mode):
20551 * progmodes/vera-mode.el (vera-mode):
20552 Use mode-require-final-newline.
20553
20554 2011-10-20 Glenn Morris <rgm@gnu.org>
20555
20556 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
20557
20558 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
20559
20560 * emulation/cua-base.el (cua-set-mark): Fix case of string.
20561
20562 2011-10-20 Chong Yidong <cyd@gnu.org>
20563
20564 * emulation/cua-base.el (cua-mode):
20565 * mail/footnote.el (footnote-mode):
20566 * mail/mailabbrev.el (mail-abbrevs-mode):
20567 * net/xesam.el (xesam-minor-mode):
20568 * progmodes/bug-reference.el (bug-reference-mode):
20569 * progmodes/cap-words.el (capitalized-words-mode):
20570 * progmodes/compile.el (compilation-minor-mode)
20571 (compilation-shell-minor-mode):
20572 * progmodes/gud.el (gud-tooltip-mode):
20573 * progmodes/hideif.el (hide-ifdef-mode):
20574 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
20575 * progmodes/subword.el (subword-mode):
20576 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
20577 * progmodes/which-func.el (which-function-mode):
20578 * term/tvi970.el (tvi970-set-keypad-mode):
20579 * term/vt100.el (vt100-wide-mode):
20580 * textmodes/flyspell.el (flyspell-mode):
20581 * textmodes/ispell.el (ispell-minor-mode):
20582 * textmodes/nroff-mode.el (nroff-electric-mode):
20583 * textmodes/paragraphs.el (use-hard-newlines):
20584 * textmodes/refill.el (refill-mode):
20585 * textmodes/reftex.el (reftex-mode):
20586 * textmodes/rst.el (rst-minor-mode):
20587 * textmodes/sgml-mode.el (html-autoview-mode)
20588 (sgml-electric-tag-pair-mode):
20589 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
20590 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
20591 * emulation/crisp.el (crisp-mode):
20592 * emacs-lisp/eldoc.el (eldoc-mode):
20593 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
20594 minor mode behavior.
20595
20596 2011-10-19 Juri Linkov <juri@jurta.org>
20597
20598 * descr-text.el (describe-char): Add #x2010 and #x2011 to
20599 the list of hard-coded chars with escape-glyph face.
20600
20601 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
20602
20603 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
20604
20605 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
20606
20607 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
20608 running process.
20609
20610 2011-10-19 Glenn Morris <rgm@gnu.org>
20611
20612 * vc/vc-bzr.el (vc-bzr-after-dir-status):
20613 Ignore ignored files. (Bug#9726)
20614
20615 2011-10-19 Chong Yidong <cyd@gnu.org>
20616
20617 Doc fix for minor modes, stating that an omitted argument enables
20618 the mode unconditionally when called from Lisp.
20619
20620 * abbrev.el (abbrev-mode):
20621 * allout.el (allout-mode):
20622 * autoinsert.el (auto-insert-mode):
20623 * autoarg.el (autoarg-mode, autoarg-kp-mode):
20624 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
20625 (global-auto-revert-mode):
20626 * battery.el (display-battery-mode):
20627 * composite.el (global-auto-composition-mode)
20628 (auto-composition-mode):
20629 * delsel.el (delete-selection-mode):
20630 * desktop.el (desktop-save-mode):
20631 * dired-x.el (dired-omit-mode):
20632 * dirtrack.el (dirtrack-mode):
20633 * doc-view.el (doc-view-minor-mode):
20634 * double.el (double-mode):
20635 * electric.el (electric-indent-mode, electric-pair-mode):
20636 * emacs-lock.el (emacs-lock-mode):
20637 * epa-hook.el (auto-encryption-mode):
20638 * follow.el (follow-mode):
20639 * font-core.el (font-lock-mode):
20640 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
20641 * help.el (temp-buffer-resize-mode):
20642 * hilit-chg.el (highlight-changes-mode)
20643 (highlight-changes-visible-mode):
20644 * hi-lock.el (hi-lock-mode):
20645 * hl-line.el (hl-line-mode, global-hl-line-mode):
20646 * icomplete.el (icomplete-mode):
20647 * ido.el (ido-everywhere):
20648 * image-file.el (auto-image-file-mode):
20649 * image-mode.el (image-minor-mode):
20650 * iswitchb.el (iswitchb-mode):
20651 * jka-cmpr-hook.el (auto-compression-mode):
20652 * linum.el (linum-mode):
20653 * longlines.el (longlines-mode):
20654 * master.el (master-mode):
20655 * mb-depth.el (minibuffer-depth-indicate-mode):
20656 * menu-bar.el (menu-bar-mode):
20657 * minibuf-eldef.el (minibuffer-electric-default-mode):
20658 * mouse-sel.el (mouse-sel-mode):
20659 * msb.el (msb-mode):
20660 * mwheel.el (mouse-wheel-mode):
20661 * outline.el (outline-minor-mode):
20662 * paren.el (show-paren-mode):
20663 * recentf.el (recentf-mode):
20664 * reveal.el (reveal-mode, global-reveal-mode):
20665 * rfn-eshadow.el (file-name-shadow-mode):
20666 * ruler-mode.el (ruler-mode):
20667 * savehist.el (savehist-mode):
20668 * scroll-all.el (scroll-all-mode):
20669 * scroll-bar.el (scroll-bar-mode):
20670 * server.el (server-mode):
20671 * shell.el (shell-dirtrack-mode):
20672 * simple.el (auto-fill-mode, transient-mark-mode)
20673 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
20674 (line-number-mode, column-number-mode, size-indication-mode)
20675 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
20676 * strokes.el (strokes-mode):
20677 * time.el (display-time-mode):
20678 * t-mouse.el (gpm-mouse-mode):
20679 * tool-bar.el (tool-bar-mode):
20680 * tooltip.el (tooltip-mode):
20681 * type-break.el (type-break-mode-line-message-mode)
20682 (type-break-query-mode):
20683 * view.el (view-mode):
20684 * whitespace.el (whitespace-mode, whitespace-newline-mode)
20685 (global-whitespace-mode, global-whitespace-newline-mode):
20686 * xt-mouse.el (xterm-mouse-mode): Doc fix.
20687
20688 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
20689 Fix autogenerated docstring.
20690
20691 2011-10-19 Juri Linkov <juri@jurta.org>
20692
20693 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
20694 by checking environment variables "DESKTOP_SESSION" and
20695 "XDG_CURRENT_DESKTOP". (Bug#9779)
20696
20697 2011-10-19 Juri Linkov <juri@jurta.org>
20698
20699 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
20700 (browse-url-chromium-program, browse-url-chromium-arguments):
20701 New defcustoms.
20702 (browse-url-default-browser): Check for `browse-url-chromium' and
20703 call `browse-url-chromium-program'.
20704 (browse-url-chromium): New command. (Bug#9779)
20705
20706 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
20707
20708 * facemenu.el (list-colors-duplicates): On Windows, detect more
20709 duplicates by assuming that only colors matching "^System" are
20710 special "system colors". (Bug#9722)
20711
20712 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
20713
20714 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
20715 to distinguish the author from the committer.
20716
20717 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
20718
20719 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
20720
20721 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
20722
20723 * international/mule.el (sgml-html-meta-auto-coding-function):
20724 Add support for detecting encoding in HTML5 specified only as
20725 <meta charset="UTF-8">. Implementation just makes http-equiv and
20726 content-type parts from HTML4 encoding string optional. (Bug#9716)
20727
20728 2011-10-18 Glenn Morris <rgm@gnu.org>
20729
20730 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
20731
20732 2011-10-18 Chong Yidong <cyd@gnu.org>
20733
20734 * faces.el (cursor): Doc fix.
20735
20736 2011-10-17 Chong Yidong <cyd@gnu.org>
20737
20738 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
20739
20740 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
20741
20742 * dirtrack.el (dirtrack): Support shell buffers with path
20743 prefixes, e.g. tramp-based remote shells. (Bug#9647)
20744
20745 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
20746
20747 * json.el: Bump version to 1.3 and note change in History.
20748 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
20749
20750 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
20751
20752 * comint.el (comint-insert-input, comint-send-input)
20753 (comint-get-old-input-default, comint-backward-matching-input)
20754 (comint-next-prompt): Use nil instead of `input' for field property of
20755 past user input (bug#114).
20756
20757 * minibuffer.el (completion--replace): Inherit surrounding properties
20758 (bug#114).
20759 (minibuffer-complete-and-exit): Use it.
20760
20761 * comint.el (comint--table-subvert): Quote the all-completions output
20762 (bug#9160).
20763
20764 2011-10-17 Martin Rudalics <rudalics@gmx.at>
20765
20766 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
20767
20768 * menu-bar.el (menu-bar-file-menu): Add entry for making new
20769 window on right of selected. (Bug#9350) Reword other window
20770 entries and separate them from frame entries.
20771
20772 2011-10-15 Glenn Morris <rgm@gnu.org>
20773
20774 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
20775 Doc fixes.
20776
20777 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
20778
20779 * net/network-stream.el (network-stream-open-starttls):
20780 Improve detection of failure due to lack of TLS support.
20781
20782 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
20783 putting the input text in front and in bold.
20784
20785 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
20786
20787 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
20788
20789 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
20790 empty buffer.
20791
20792 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
20793 unread-command-events rather than pushing yet-another event.
20794
20795 2011-10-14 Eli Zaretskii <eliz@gnu.org>
20796
20797 * mail/sendmail.el (sendmail-query-once): Improve the wording of
20798 the explanation of the possible choices. Make the options passed
20799 to completing-read shorter.
20800
20801 2011-10-13 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
20802
20803 * textmodes/flyspell.el (flyspell-large-region): Make sure
20804 extended character mode is used if defined (Bug#1339).
20805
20806 2011-10-13 Eli Zaretskii <eliz@gnu.org>
20807
20808 * simple.el (what-cursor-position): Fix the display of the
20809 character info for LRE, LRO, RLE, and RLO characters by appending
20810 an invisible PDF.
20811
20812 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
20813
20814 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
20815 even in case of error; add debug spec; simplify data flow.
20816 (with-timeout-handler): Remove.
20817
20818 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
20819
20820 Fix Bug#6019, Bug#9315.
20821
20822 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
20823 complete `buffer-file-name', the local file name part could look
20824 remotely (for example on VMS).
20825
20826 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
20827 `tramp-run-real-handler'.
20828 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
20829 already quoted by '"'.
20830
20831 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
20832 Let `file-name-handler-alist' be nil, the local file name part
20833 could look remotely (for example on VMS).
20834
20835 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
20836
20837 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
20838 from here...
20839 (flyspell-post-command-hook): ...to here.
20840
20841 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
20842
20843 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
20844 if not needed.
20845 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
20846 using completion. Protect against "slow" callers.
20847 Remove the "message hack".
20848
20849 2011-10-11 Juri Linkov <juri@jurta.org>
20850
20851 * isearch.el (isearch-lazy-highlight-word): New variable.
20852 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
20853 Use it. (Bug#9727)
20854
20855 2011-10-11 Glenn Morris <rgm@gnu.org>
20856
20857 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
20858 like f90-previous-statement does.
20859
20860 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
20861
20862 * eshell/eshell.el (eshell-command): History should be saved
20863 only in interactive use, to avoid error.
20864
20865 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
20866
20867 * minibuffer.el (completion-file-name-table): Fix last change,
20868 i.e. ignore normal errors but not the other ones.
20869
20870 2011-10-10 Martin Rudalics <rudalics@gmx.at>
20871
20872 * window.el (special-display-buffer-names)
20873 (special-display-regexps): Remove some remnants of earlier
20874 changes from doc-strings.
20875 (quit-windows-on): New function.
20876
20877 * vc/vc.el (vc-revert, vc-rollback):
20878 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
20879 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
20880 (Bug#6183) (Bug#7074) (Bug#7447)
20881
20882 2011-10-09 Martin Rudalics <rudalics@gmx.at>
20883
20884 * window.el (frame-auto-hide-function): Add version tag.
20885 (Bug#9699)
20886
20887 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
20888
20889 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
20890 condition.
20891
20892 2011-10-09 Leo Liu <sdl.web@gmail.com>
20893
20894 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
20895 (Bug#9701)
20896
20897 2011-10-08 Glenn Morris <rgm@gnu.org>
20898
20899 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
20900 before the first code statement zero indent. (Bug#9690)
20901
20902 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
20903
20904 * simple.el (count-words-region): Always count in the region.
20905 Report the number of lines and characters too.
20906 (count-words): New command, which counts in the buffer if the
20907 region is inactive, as count-words-region used to.
20908 (count-words--message): New function. Handle plurals.
20909 (count-lines-region): Make it an alias for count-words-region.
20910
20911 * bindings.el (esc-map): Replace count-lines-region with
20912 count-words-region.
20913
20914 2011-10-08 Martin Rudalics <rudalics@gmx.at>
20915
20916 * window.el (window--delete): Delete dedicated frame
20917 unconditionally when argument KILL is non-nil. (Bug#9699)
20918 (switch-to-buffer): Fix doc-string typo.
20919
20920 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
20921
20922 * eshell/eshell.el (eshell-command): Avoid using hooks.
20923
20924 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
20925
20926 * bindings.el ([M-left], [M-right]): Bind to left-word and
20927 right-word respectively.
20928
20929 2011-10-07 Glenn Morris <rgm@gnu.org>
20930
20931 * cus-start.el (debug-on-quit): Fix custom type.
20932
20933 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
20934
20935 * subr.el (define-key-after): Clarify that the function is not
20936 useful for non-menu keymaps.
20937
20938 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
20939
20940 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
20941
20942 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
20943 in current minibuffer (Fix bug with recursive minibuffers).
20944
20945 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
20946
20947 * progmodes/gdb-mi.el (gdb): Doc fix.
20948
20949 2011-10-05 Martin Rudalics <rudalics@gmx.at>
20950
20951 * window.el (frame-auto-hide-function): New option replacing
20952 frame-auto-delete. Suggested by Stefan Monnier.
20953 (window--delete): Call frame-auto-hide-function instead of
20954 investigating frame-auto-delete.
20955 (window-point-1, set-window-point-1): New functions.
20956 (window-in-direction, record-window-buffer, window-state-get-1)
20957 (display-buffer-record-window): Use window-point-1 instead of
20958 window-point.
20959 (set-window-buffer-start-and-point): Use set-window-point-1.
20960
20961 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
20962
20963 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
20964
20965 2011-10-05 Glenn Morris <rgm@gnu.org>
20966
20967 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
20968 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
20969
20970 2011-10-05 Leo Liu <sdl.web@gmail.com>
20971
20972 * subr.el (read-char-choice): Fix argument to buffer-live-p which
20973 works with buffer object.
20974
20975 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
20976
20977 * mpc.el (mpc-tool-bar-map): Add labels.
20978
20979 2011-10-04 Glenn Morris <rgm@gnu.org>
20980
20981 * calendar/holidays.el (calendar-check-holidays): Doc fix.
20982
20983 2011-10-04 Martin Rudalics <rudalics@gmx.at>
20984
20985 * window.el (window--delete): New function.
20986 (frame-auto-delete): Resuscitate option.
20987 (bury-buffer, replace-buffer-in-windows)
20988 (quit-window): Rewrite using window--delete.
20989 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
20990 Pass display-buffer-mark-dedicated to window--display-buffer-2
20991 (Bug#9639).
20992
20993 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
20994
20995 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
20996 returns a list (bug#9554). Add remote file name completion.
20997 * comint.el (comint--table-subvert): Curry and get quote&unquote
20998 functions as arguments.
20999 (comint--complete-file-name-data): Adjust call accordingly.
21000 * pcomplete.el (pcomplete--table-subvert): Remove.
21001 (pcomplete-completions-at-point): Use comint--table-subvert instead.
21002
21003 * minibuffer.el (completion-table-case-fold): Use currying.
21004 (completion--styles-type, completion--cycling-threshold-type):
21005 New constants.
21006 (completion-styles, completion-category-overrides)
21007 (completion-cycle-threshold): Use them.
21008 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
21009 completion-table-case-fold.
21010
21011 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
21012
21013 * minibuffer.el (completion-category-overrides): Fix type of styles
21014 and add more user friendly tags (bug#9660).
21015
21016 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
21017
21018 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
21019 (mule-input-method-string): New widget.
21020 (default-input-method, language-info-custom-alist): Use it.
21021
21022 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
21023
21024 * pcomplete.el: Require comint.
21025 (pcomplete--common-suffix): Remove.
21026 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
21027 (pcomplete--table-subvert): Sync with comint--table-subvert.
21028 (pcomplete--entries): Use comint-completion-file-name-table.
21029 * comint.el (comint-unquote-filename): Simplify.
21030 (comint-completion-file-name-table): New function (bug#9616).
21031 (comint--complete-file-name-data): Use it.
21032
21033 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
21034 (pcmpl-gnu-tar-buffer): Remove.
21035 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
21036 around. Make sure pcomplete-suffix-list is only changed temporarily.
21037 Don't look inside the tar's file if it's too large.
21038
21039 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
21040
21041 * cus-edit.el (custom-mode-map):
21042 * epa.el (epa-key-list-mode-map):
21043 * man.el (Man-mode-map):
21044 * startup.el (splash-screen-keymap):
21045 * simple.el (special-mode-map): Use scroll-up-command and
21046 scroll-down-command.
21047
21048 * progmodes/idlw-help.el (idlwave-help-mode-map):
21049 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
21050 * net/newst-plainview.el (newsticker-mode-map):
21051 * emulation/ws-mode.el (wordstar-mode-map):
21052 * emulation/vi.el (vi-com-map):
21053 * calc/calc-graph.el (calc-graph-show-dumb):
21054 * term/sun.el (terminal-init-sun):
21055 * term/ns-win.el (global-map):
21056 * progmodes/grep.el (grep-mode-map):
21057 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
21058 * mail/rmail.el (rmail-mode-map):
21059 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
21060
21061 * custom.el (custom-safe-themes, load-theme): Treat value of t for
21062 custom-safe-themes as special.
21063
21064 2011-10-01 Julien Danjou <julien@danjou.info>
21065
21066 * notifications.el (notifications-notify): Fix docstring.
21067
21068 2011-10-01 Per Starbäck <per@starback.se>
21069
21070 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
21071
21072 2011-09-30 Martin Rudalics <rudalics@gmx.at>
21073
21074 * startup.el (command-line-1): Fix last fix by inserting
21075 initial-scratch-message into *scratch* before displaying it.
21076 (Bug#9605) and (Bug#9636)
21077
21078 2011-09-29 Eli Zaretskii <eliz@gnu.org>
21079
21080 * simple.el (line-move): If auto-hscroll-mode is disabled and the
21081 window is hscrolled, move by logical lines. (Bug#9607)
21082 (line-move-visual): Update the doc string to the above effect.
21083
21084 2011-09-29 Martin Rudalics <rudalics@gmx.at>
21085
21086 * window.el (display-buffer-record-window): When WINDOW is the
21087 selected window use `point' instead of `window-point'. (Bug#9626)
21088
21089 * startup.el (command-line-1): Use insert-before-markers when
21090 inserting initial-scratch-message. (Bug#9605)
21091
21092 * help.el (help-window): Remove variable.
21093
21094 2011-09-29 Glenn Morris <rgm@gnu.org>
21095
21096 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
21097
21098 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
21099
21100 * descr-text.el (describe-char-categories): Accept category
21101 descriptions more than one line long.
21102
21103 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
21104
21105 * simple.el (delete-trailing-whitespace): Fix last change.
21106
21107 * progmodes/perl-mode.el (perl-syntax-propertize-function):
21108 Don't confuse "y => 3" as the beginning of a `y' operation.
21109
21110 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
21111 object has more than 4 slots (bug#9613).
21112
21113 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
21114
21115 * subr.el (with-output-to-temp-buffer):
21116 * net/quickurl.el (quickurl, quickurl-browse-url):
21117 Fix typos in docstrings.
21118
21119 2011-09-27 Eli Zaretskii <eliz@gnu.org>
21120
21121 * minibuffer.el (completion-styles)
21122 (completion-category-overrides): Cross reference each other in doc
21123 strings.
21124
21125 2011-09-27 Glenn Morris <rgm@gnu.org>
21126
21127 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
21128 to split-string. (Bug#9606)
21129
21130 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
21131
21132 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
21133 (bug#9615).
21134
21135 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
21136
21137 * emacs-lisp/package.el (list-packages): Fix echo area message.
21138
21139 2011-09-27 Leo Liu <sdl.web@gmail.com>
21140
21141 * ido.el (ido-read-internal): Accept cons cell HIST arg.
21142
21143 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
21144
21145 * net/dbus.el (dbus-unregister-object): Don't release services for
21146 registered signals. (Bug#9581)
21147
21148 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
21149
21150 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
21151 function that picks between cfengine 2 and 3 support
21152 automatically. Update docs accordingly.
21153
21154 2011-09-22 Kenichi Handa <handa@m17n.org>
21155
21156 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
21157 ZERO.
21158 (indian-itrans-v5-table-for-tamil): New variable.
21159 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
21160
21161 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
21162
21163 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
21164 that's true if the current command involved collapsing of text.
21165 It's reset to false at the beginning of the next command.
21166 (allout-post-command-business): Move the cursor to the beginning
21167 of entry if the cursor is hidden and collapsing activity just
21168 happened.
21169
21170 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
21171
21172 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
21173 tracking (Bug#9541).
21174
21175 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
21176
21177 * net/newst-reader.el (newsticker-html-renderer)
21178 (newsticker-show-news): Automatically load html rendering package
21179 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
21180 because w3m-fill-column is let-bound" and the error "Symbol's value
21181 as variable is void: w3m-fill-column".
21182
21183 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
21184
21185 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
21186 Release services only if they are defined. (Bug#9581)
21187
21188 2011-09-23 Richard Stallman <rms@gnu.org>
21189
21190 * textmodes/paragraphs.el (forward-sentence): For backwards case,
21191 distinguish start of paragraph from start of its text.
21192
21193 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
21194
21195 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
21196 (rmail-generate-viewer-buffer): Put that hook on view buffer.
21197 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
21198
21199 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
21200
21201 * international/mule-diag.el (mule-diag): Insert a newline after
21202 each fontset description.
21203
21204 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
21205
21206 * simple.el (delete-trailing-whitespace):
21207 Document last change; simplify.
21208
21209 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
21210
21211 * simple.el (delete-trailing-whitespace): Also delete
21212 extra newlines at the end of the buffer.
21213
21214 * textmodes/picture.el: Make motion commands obey shift-select-mode.
21215 (picture-newline): Use forward-line so as to ignore fields.
21216
21217 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
21218
21219 * subr.el (with-wrapper-hook): Fix edebug spec.
21220
21221 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
21222
21223 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
21224 (bug#4538).
21225
21226 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
21227
21228 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
21229 Fix nasty bug using wrong cached values.
21230
21231 2011-09-23 Alan Mackenzie <acm@muc.de>
21232
21233 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
21234
21235 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
21236
21237 * window.el (pop-to-buffer): Ensure right window is selected if we
21238 chose another frame.
21239
21240 2011-09-22 Eli Zaretskii <eliz@gnu.org>
21241
21242 * simple.el (what-cursor-position): Use get-char-property-change
21243 and next-single-char-property-change, to be able to show display
21244 properties that come from overlays as well as text properties.
21245
21246 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
21247
21248 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
21249
21250 * cmuscheme.el (run-scheme, switch-to-scheme):
21251 * cus-edit.el (customize-group, custom-buffer-create)
21252 (customize-browse):
21253 * info.el (info):
21254 * shell.el (shell):
21255 * mail/sendmail.el (mail):
21256 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
21257
21258 2011-09-22 Richard Stallman <rms@gnu.org>
21259
21260 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
21261 move back only to line beg, don't move back over blank lines.
21262
21263 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
21264
21265 * files.el (copy-directory): Set directory attributes only in case
21266 they could be retrieved from the source directory. (Bug#9565)
21267
21268 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
21269
21270 * progmodes/hideshow.el (hs-looking-at-block-start-p)
21271 (hs-find-block-beginning, hs-hide-level-recursive):
21272 Ignore strings as well as comments. (Bug#9502)
21273
21274 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
21275
21276 * progmodes/sql.el (sql-comint-postgres):
21277 Convert port number to a string. (Bug#9566)
21278
21279 2011-09-22 Martin Rudalics <rudalics@gmx.at>
21280
21281 * window.el (quit-window): Undedicate window when switching to
21282 previous buffer. Reported by Thierry Volpiatto
21283 <thierry.volpiatto@gmail.com>.
21284 (special-display-popup-frame): When popping up a new frame reset
21285 its previous buffers to nil. Simplify code.
21286
21287 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
21288
21289 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
21290 and process filter, as done also in `shell-command'.
21291
21292 2011-09-21 Martin Rudalics <rudalics@gmx.at>
21293
21294 * window.el (set-window-buffer-start-and-point):
21295 Call set-window-start with NOFORCE argument t.
21296 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
21297 (quit-window): Reword doc-string. Handle new format of
21298 quit-restore parameter. Don't delete window if it has a
21299 previous buffer we can show instead of the present one.
21300 (display-buffer-record-window): Rewrite using a new format for
21301 the quit-restore window parameter
21302 (special-display-popup-frame, display-buffer-same-window)
21303 (display-buffer-reuse-window, display-buffer-pop-up-frame)
21304 (display-buffer-pop-up-window, display-buffer-use-some-window):
21305 Adapt symbol passed to display-buffer-record-window.
21306 * help.el (help-window-setup): Handle new format of quit-restore
21307 parameter.
21308
21309 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
21310
21311 * faces.el (face-list): Fix docstring (bug#9564).
21312
21313 * window.el (display-buffer--action-function-custom-type):
21314 Don't include internal functions in the Custom interface.
21315
21316 2011-09-20 Juri Linkov <juri@jurta.org>
21317
21318 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
21319 (Info-forward-node, Info-backward-node, Info-next-preorder)
21320 (Info-last-preorder): Use it. (Bug#9528)
21321
21322 2011-09-20 Juri Linkov <juri@jurta.org>
21323
21324 * info.el (Info-last-preorder): Visit last menu item only when
21325 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
21326
21327 2011-09-20 Julien Danjou <julien@danjou.info>
21328
21329 * password-cache.el (password-cache-remove): Remove entries even if the
21330 value is nil, so that password with a nil value (negative caching) is
21331 possible to invalidate.
21332
21333 2011-09-20 Lawrence Mitchell <wence@gmx.li>
21334
21335 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
21336 all whitespace around breakpoint. (Bug#9553)
21337 (f90-find-breakpoint): Only break at whitespace inside a comment.
21338
21339 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
21340
21341 * minibuffer.el (completion-file-name-table): Keep track of errors.
21342 (completion-table-with-predicate): Handle the case where pred1 is nil.
21343 * pcomplete.el (pcomplete-completions-at-point): Simplify.
21344
21345 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
21346
21347 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
21348 (debugger-return-value): Signal an error if the debugging context does
21349 not await any return value.
21350
21351 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
21352 * image-mode.el (image-toggle-display-text)
21353 (image-toggle-display-image): Stay away from evil `intangible'.
21354
21355 2011-09-19 Leo Liu <sdl.web@gmail.com>
21356
21357 * replace.el (occur-revert-arguments): Make it permanent-local.
21358 (occur-mode): Don't call font-lock-defontify.
21359
21360 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
21361
21362 * net/ldap.el (ldap-search-internal): Don't push empty search
21363 result (Bug#9508).
21364
21365 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
21366
21367 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
21368
21369 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
21370
21371 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
21372 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
21373
21374 2011-09-18 Juri Linkov <juri@jurta.org>
21375
21376 * buff-menu.el (Buffer-menu-mode-map):
21377 * dired.el (dired-mode-map):
21378 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
21379 (lisp-interaction-mode-map):
21380 * emacs-lisp/package.el (package-menu-mode-map):
21381 * epa.el (epa-key-list-mode-map):
21382 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
21383 (menu-bar-options-menu):
21384 * outline.el (outline-mode-menu-bar-map):
21385 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
21386 * vc/vc-dir.el (vc-dir-menu-map):
21387 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
21388 Capitalize non-function content words in menu item strings.
21389
21390 * dired.el (dired-mode-map): Add menu item for
21391 `image-dired-dired-toggle-marked-thumbs'.
21392
21393 2011-09-18 Juri Linkov <juri@jurta.org>
21394
21395 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
21396 to `isearch-case-fold-search' and restore its original value
21397 after the `isearch-mode' call.
21398
21399 2011-09-18 Juri Linkov <juri@jurta.org>
21400
21401 * progmodes/grep.el (grep-process-setup): Don't check code for 1
21402 because `zgrep' returns 1 for successful matches (bug#9226).
21403
21404 2011-09-18 Juri Linkov <juri@jurta.org>
21405
21406 * info.el (Info-extract-menu-node-name): Check the second match
21407 for empty string (second test-case of bug#9528).
21408 (Info-last-preorder): Let-bind `Info-history' to nil to not add
21409 intermediate nodes to the history (first test-case of bug#9528).
21410
21411 2011-09-18 Juri Linkov <juri@jurta.org>
21412
21413 * info.el (Info-mode-syntax-table): New variable.
21414 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
21415
21416 2011-09-18 Juri Linkov <juri@jurta.org>
21417
21418 * info.el (Info-file-supports-index-cookies):
21419 Increment line-beginning-position's arg from 3 to 4 because makeinfo
21420 outputs one more line for long file names (bug#4142).
21421
21422 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
21423
21424 * newcomment.el (comment-normalize-vars): If prompting for
21425 comment-start, set comment-start-skip too (Bug#8424).
21426
21427 2011-09-18 Johan BockgĂ¥rd <bojohan@gnu.org>
21428
21429 * icomplete.el: Fix previous fix of Bug#5849.
21430 (icomplete-mode): Don't set completion-show-inline-help.
21431 (icomplete-minibuffer-setup): Set completion-show-inline-help
21432 locally during icompletion.
21433
21434 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
21435
21436 * woman.el (woman2-process-escapes): Don't delete unrecognized
21437 escapes (Bug#7843).
21438
21439 * files.el (inhibit-first-line-modes-regexps): Add image files.
21440 (hack-local-variables-prop-line): Return nil for malformed
21441 prop-lines (Bug#9044).
21442
21443 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
21444
21445 * net/tramp.el (top): Don't require 'shell.
21446 (tramp-methods): Fix docstring.
21447 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
21448 Return complete remote file name. Handle "smb" case.
21449 Use `tramp-tmpdir', if defined for the respective method.
21450 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
21451
21452 * net/tramp-compat.el (top): Require 'shell.
21453
21454 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
21455 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
21456 `tramp-current-host'.
21457 (tramp-get-remote-tmpdir): Remove.
21458
21459 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
21460 `tramp-tmpdir' entries.
21461 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
21462 (tramp-smb-handle-file-attributes): Ignore errors.
21463 (tramp-smb-wait-for-output): Check also for process end.
21464
21465 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
21466
21467 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
21468 when sending QUIT (bug#9312).
21469
21470 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
21471
21472 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
21473 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
21474 occur-mode-display-occurrence.
21475 (occur-edit-mode): Add usage message.
21476 (occur-cease-edit): New command.
21477 (occur-after-change-function): Use text properties to find the
21478 position of the prefix text.
21479 (occur-engine): Set stickiness of prefix text properties.
21480
21481 2011-09-17 Glenn Morris <rgm@gnu.org>
21482
21483 * progmodes/etags.el (complete-tag):
21484 Fix call to completion-in-region. (Bug#9526)
21485
21486 2011-09-17 Juri Linkov <juri@jurta.org>
21487
21488 * textmodes/ispell.el (ispell-word): Add to the error message
21489 the word, ispell program name and current dictionary (bug#9121).
21490 (ispell-tex-arg-end): Capitalize "error" in the error message.
21491
21492 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
21493
21494 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
21495 check. (Bug#4251)
21496
21497 2011-09-17 Juri Linkov <juri@jurta.org>
21498
21499 * window.el (window-safe-min-height, window-safe-min-width):
21500 Fix typos (followup to bug#9522).
21501
21502 2011-09-17 Sven Joachim <svenjoac@gmx.de>
21503
21504 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
21505
21506 2011-09-16 Eli Zaretskii <eliz@gnu.org>
21507
21508 * simple.el (line-move): If goal-column is set, move by logical
21509 lines, not by display lines. (Bug#971)
21510 (next-line, previous-line, goal-column, line-move-visual): Doc fix
21511 to reflect the above change.
21512
21513 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
21514
21515 * image.el (imagemagick-register-types): Use regexp-opt.
21516
21517 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
21518
21519 * window.el (display-buffer-base-action): Rename from
21520 display-buffer-default-action. Make default value empty.
21521 (display-buffer-overriding-action): Convert to defvar.
21522 (display-buffer-fallback-action): New var.
21523
21524 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
21525
21526 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
21527 declaration.
21528 (package--add-to-archive-contents): If there is a duplicate entry
21529 with an older version, remove it.
21530 (package-menu-mark-delete, package-menu-mark-install)
21531 (package-menu-mark-unmark): Make unused args optional.
21532 (package-menu-mark-obsolete-for-deletion):
21533 Use package-menu-get-status instead of a regexp search.
21534 (package-menu-get-status): Use tabulated-list-entry.
21535 (package-menu-mark-upgrades): New command.
21536 (package-menu-mode-map): Bind it to U. Add it to menu bar.
21537 (package-menu-execute): Do installation before deletion.
21538 (package-menu-refresh, package-menu-execute): Use derived-mode-p
21539 instead of checking major-mode.
21540 (package-menu--find-upgrades): New function.
21541
21542 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
21543
21544 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
21545 passwords in the log buffer.
21546 (smtpmail-process-filter): Update the process marker so that the
21547 "broken by peer" status message is inserted in the right place.
21548
21549 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
21550
21551 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
21552 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
21553 bibtex-completion-at-point-function.
21554 (bibtex-completion-at-point-function): Use them.
21555
21556 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
21557
21558 * mpc.el (mpc-constraints-tag-lookup): New function.
21559 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
21560 also to browser "album|playlist".
21561
21562 2011-09-14 Juri Linkov <juri@jurta.org>
21563
21564 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
21565 (isearch-edit-string): Use length of `isearch-string' when
21566 `isearch-fail-pos' returns nil.
21567 (isearch-message): Remove duplicate code and call
21568 `isearch-fail-pos' with arg `t'.
21569
21570 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
21571
21572 * replace.el (occur-mode-goto-occurrence): Don't force using other
21573 window (Bug#9499).
21574
21575 * dired-aux.el (dired-do-chmod): Don't provide initial input.
21576
21577 2011-09-14 Martin Rudalics <rudalics@gmx.at>
21578
21579 * window.el (display-buffer-window): Remove.
21580 (display-buffer-record-window): Use help-setup window parameter
21581 instead of variable display-buffer-window.
21582 (display-buffer-function, special-display-buffer-names)
21583 (special-display-function): Mention help-setup parameter instead
21584 of display-buffer-window in doc-string.
21585 * help.el (help-window-setup): New argument help-window.
21586 Use help-window-setup parameter instead of display-buffer-window.
21587 Reword some messages.
21588 (with-help-window): Pass window used for displaying the buffer
21589 to help-window-setup. Don't set display-buffer-window.
21590
21591 2011-09-13 Glenn Morris <rgm@gnu.org>
21592
21593 * emacs-lisp/debug.el (debugger-make-xrefs):
21594 Preserve point. (Bug#9462)
21595
21596 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
21597
21598 * window.el (window-deletable-p): Use next-frame.
21599
21600 2011-09-13 Martin Rudalics <rudalics@gmx.at>
21601
21602 * window.el (window-auto-delete): Remove.
21603 (window-deletable-p): Remove argument FORCE. Don't deal with
21604 dedication and previous buffers.
21605 (switch-to-prev-buffer): Don't delete window.
21606 (delete-windows-on): Delete a window's frame if and only if the
21607 window is dedicated.
21608 (replace-buffer-in-windows): Delete buffer's window or frame if
21609 and only if window is dedicated.
21610 (quit-window): Handle quit-restore as before last change.
21611 (bury-buffer): Delete window only if window-deletable-p returns t.
21612
21613 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
21614
21615 * window.el (window-deletable-p): Never delete the last frame on a
21616 given terminal.
21617
21618 2011-09-13 Glenn Morris <rgm@gnu.org>
21619
21620 * help.el (describe-key-briefly): Copy previous standard-output change.
21621
21622 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
21623
21624 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
21625
21626 2011-09-13 Glenn Morris <rgm@gnu.org>
21627
21628 * emacs-lisp/lisp-mode.el (lisp-indent-function):
21629 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
21630
21631 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
21632
21633 * dired-aux.el (dired-mark-read-string): Don't return default
21634 value on empty input (Bug#9361).
21635 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
21636 Omit initial minibuffer contents.
21637 (dired-do-chmod): Signal an error on empty input.
21638 (dired-mark-read-string): Don't return default on empty input.
21639
21640 * files.el (file-modes-symbolic-to-number): Doc fix.
21641
21642 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
21643
21644 * international/mule-cmds.el (ucs-completions): Remove.
21645 (read-char-by-name): Use complete-with-action instead; add metadata.
21646
21647 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
21648
21649 * window.el (display-buffer--action-function-custom-type)
21650 (display-buffer--action-custom-type): New vars.
21651 (display-buffer-alist, display-buffer-default-action)
21652 (display-buffer-overriding-action): Add defcustom types.
21653
21654 * frame.el (delete-other-frames): Doc fix (Bug#276).
21655
21656 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
21657
21658 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
21659
21660 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
21661
21662 Change modes that used same-window-* vars to use switch-to-buffer.
21663
21664 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
21665 Use switch-to-buffer.
21666
21667 * cus-edit.el (customize-group, custom-buffer-create)
21668 (customize-browse, custom-buffer-create-other-window):
21669 Use switch-to-buffer or switch-to-buffer-other-window.
21670
21671 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
21672 (Info-prev, Info-up, Info-speedbar-goto-node)
21673 (info-display-manual): Use switch-to-buffer.
21674 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
21675
21676 * mail/sendmail.el (mail): Use switch-to-buffer.
21677 (mail-recover): Use switch-to-buffer-other-window.
21678
21679 * cmuscheme.el (run-scheme, switch-to-scheme):
21680 * ielm.el (ielm):
21681 * shell.el (shell):
21682 * net/rlogin.el (rlogin):
21683 * net/telnet.el (telnet, rsh):
21684 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
21685
21686 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
21687
21688 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
21689
21690 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
21691
21692 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
21693 so don't mention it (bug#9301).
21694 (dired-sort-toggle-or-edit): Clarify string further.
21695
21696 * faces.el (face-spec-set-match-display): Make `(type graphic)'
21697 match `x', `w32' and `ns', like the manual says (bug#9029).
21698
21699 * subr.el (eval-after-load): Doc string clarification (bug#9125).
21700 (process-kill-buffer-query-function): Mention the buffer name in
21701 the query.
21702
21703 * image-mode.el (image-next-line): The line parameter is mandatory
21704 (bug#9258).
21705
21706 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
21707 which can be useful (bug#9301).
21708
21709 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
21710
21711 * subr.el (match-string): Mention that the current buffer should
21712 be the same as the search was done in (bug#9282).
21713
21714 * facemenu.el: Disable the remove-* commands if the mark isn't
21715 active (bug#9162).
21716
21717 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
21718
21719 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
21720 of display-buffer.
21721 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
21722
21723 * replace.el (occur-mode-goto-occurrence)
21724 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
21725 and display-buffer.
21726
21727 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
21728 display-buffer.
21729
21730 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
21731 special-display and same-window variables.
21732 (mail-other-window): Use switch-to-buffer-other-window.
21733 (mail-other-frame): USe switch-to-buffer-other-frame.
21734
21735 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
21736 Use display-buffer-other-frame.
21737 (gdb-display-gdb-buffer): Use pop-to-buffer.
21738
21739 * progmodes/gud.el (gud-goto-info): Use info-other-window.
21740
21741 * progmodes/python.el: Don't set same-window-buffer-names.
21742
21743 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
21744
21745 * window.el (display-buffer-alist): Add *Python*.
21746
21747 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
21748
21749 * window.el (display-buffer-alist): Add entry for buffers
21750 previously handled same-window-*.
21751 (display-buffer-alist, display-buffer-default-action)
21752 (display-buffer-overriding-action): Mark as risky.
21753 (display-buffer-alist): Document action function changes.
21754 (display-buffer--same-window-action)
21755 (display-buffer--other-frame-action): New variables.
21756 (switch-to-buffer, display-buffer-other-frame): Use them.
21757 (display-buffer): Rename reuse-frame entry to reusable-frames.
21758 (display-buffer-reuse-selected-window): Function deleted.
21759 (display-buffer-reuse-window): Handle reusable-frames alist entry.
21760 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
21761 (display-buffer-special): New function.
21762 (display-buffer--maybe-pop-up-frame-or-window): Rename from
21763 display-buffer-reuse-or-pop-window. Split off special-display
21764 part into display-buffer-special.
21765 (display-buffer-use-some-window): Don't perform any special
21766 pop-up-frames handling.
21767 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
21768 (display-buffer--maybe-same-window): Rename from
21769 display-buffer-maybe-same-window.
21770
21771 * info.el: Don't set same-window-regexps.
21772 (info-setup): New function.
21773 (info-other-window, info): Call it.
21774
21775 * cus-edit.el: Don't set same-window-regexps.
21776 (customize-group): New argument.
21777 (customize-group-other-window): Use it.
21778 (customize-face, customize-face-other-window): Likewise.
21779 (custom-buffer-create-other-window): Use pop-to-buffer directly.
21780
21781 * net/rlogin.el:
21782 * net/telnet.el:
21783 * progmodes/gud.el: Don't set same-window-regexps.
21784
21785 * cmuscheme.el:
21786 * ielm.el:
21787 * shell.el:
21788 * mail/sendmail.el:
21789 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
21790
21791 2011-09-10 Juri Linkov <juri@jurta.org>
21792
21793 * isearch.el (isearch-edit-string): Remove obsolete mention of
21794 `C-w' (`isearch-yank-word-or-char') from docstring.
21795 (isearch-query-replace): Fix typo in docstring (bug#9466).
21796
21797 2011-09-10 Juri Linkov <juri@jurta.org>
21798
21799 * paren.el (show-paren-function): Don't show escaped parens.
21800 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
21801
21802 2011-09-10 Eli Zaretskii <eliz@gnu.org>
21803
21804 * mail/sendmail.el (mml-to-mime, mml-attach-file)
21805 (mm-default-file-encoding): Remove autoload forms, they are
21806 replaced with autoload cookies in mml.el and mm-encode.el.
21807 (mail-add-attachment): New command.
21808 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
21809 (mail-mode): Mention mail-insert-file and mail-add-attachment in
21810 the doc string.
21811 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
21812
21813 2011-09-10 Reuben Thomas <rrt@sc3d.org>
21814
21815 * simple.el (count-words-region): Use buffer if there's no region
21816 (bug#9429).
21817
21818 2011-09-09 Juri Linkov <juri@jurta.org>
21819
21820 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
21821 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
21822 (wdired-isearch-filter-read-only): New function. (Bug#6362)
21823
21824 2011-09-09 Alan Mackenzie <acm@muc.de>
21825
21826 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
21827 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
21828
21829 2011-09-09 Eli Zaretskii <eliz@gnu.org>
21830
21831 Fix for Savannah bug#9392.
21832 * simple.el (mail-encode-mml): New defvar.
21833
21834 * mail/rmail.el (mail-encode-mml): Add a defvar.
21835 (rmail-enable-mime-composing): Default to t.
21836 (rmail-forward): Use MIME method of forwarding only if both
21837 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
21838 Set mail-encode-mml non-nil if the MIME method was used.
21839
21840 * mail/sendmail.el (mml-to-mime): Add autoload form.
21841 (mail-encode-mml): Add a defvar.
21842 (mail-mode): Make mail-encode-mml buffer-local and initialize it
21843 to nil.
21844 (mail-send): If mail-encode-mml is non-nil, run the outgoing
21845 message through mml-to-mime, and reset mail-encode-mml to nil.
21846
21847 2011-09-09 Glenn Morris <rgm@gnu.org>
21848
21849 * woman.el (woman-if-body): When processing an .el block,
21850 do not delete the next .el block as well. (Bug#9447)
21851 (woman-special-characters): Add oq, cq, and hy characters.
21852
21853 2011-09-08 Martin Rudalics <rudalics@gmx.at>
21854
21855 * window.el (window-deletable-p): Make sure window is live before
21856 invoking window-prev-buffers.
21857
21858 2011-09-08 Leo Liu <sdl.web@gmail.com>
21859
21860 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
21861
21862 2011-09-08 Juri Linkov <juri@jurta.org>
21863
21864 * progmodes/compile.el (compilation-environment): Make it
21865 a defcustom (bug#8340).
21866
21867 2011-09-08 Martin Rudalics <rudalics@gmx.at>
21868
21869 * window.el (frame-auto-delete): Rename to window-auto-delete.
21870 Make it control auto-deletion of windows and/or frames.
21871 (window-deletable-p): New argument FORCE. Rewrite conditions
21872 for deleting window/frame. (Bug#9419)
21873 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
21874 Rewrite handling of case when window/frame can be deleted.
21875 (delete-windows-on): Call window-deletable-p with new FORCE
21876 argument t. (Bug#9456)
21877
21878 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
21879
21880 * help-mode.el (help-mode): Restore autoload.
21881
21882 2011-09-07 Juri Linkov <juri@jurta.org>
21883
21884 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
21885 `compilation-environment'. Set buffer-local
21886 `compilation-environment' to `thisenv' later after (funcall mode).
21887 (Bug#8340)
21888
21889 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
21890 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
21891 instead of replacing its value. (Bug#8340)
21892
21893 2011-09-07 Juri Linkov <juri@jurta.org>
21894
21895 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
21896 based on text properties put by `grep-filter' instead of matching
21897 escape sequences.
21898 (grep-mode): Set buffer-local `compilation-error-screen-columns'
21899 to the value of `grep-error-screen-columns' (bug#9438).
21900
21901 2011-09-07 Juri Linkov <juri@jurta.org>
21902
21903 * simple.el (next-error-highlight, next-error-highlight-no-select):
21904 Doc fix (bug#9432).
21905
21906 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
21907
21908 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
21909 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
21910
21911 2011-09-07 Leo Liu <sdl.web@gmail.com>
21912
21913 * net/rcirc.el (rcirc-mode): Conditionally initialize
21914 rcirc-input-ring.
21915
21916 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
21917
21918 * emacs-lisp/find-func.el (find-function-C-source): Only set
21919 find-function-C-source-directory after checking that we found a source
21920 file there (bug#9440).
21921
21922 2011-09-06 Alan Mackenzie <acm@muc.de>
21923
21924 * isearch.el (isearch-other-meta-char): Wherever a key list is
21925 unread, "unread" the prefix arg, too. This fixes bug #8901.
21926
21927 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
21928
21929 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
21930
21931 2011-09-05 Juri Linkov <juri@jurta.org>
21932
21933 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
21934
21935 2011-09-05 Juri Linkov <juri@jurta.org>
21936
21937 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
21938 keeping point where processing of grep matches begins, and
21939 continue to delete remaining escape sequences from the same point.
21940 (grep-filter): Make leading zero optional in "0?1;31m" because
21941 git-grep emits "\033[1;31m" escape sequences unlike expected
21942 "\033[01;31m" as GNU Grep does (bug#9408).
21943 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
21944
21945 2011-09-05 Juri Linkov <juri@jurta.org>
21946
21947 * subr.el (y-or-n-p): Capitalize "yes".
21948
21949 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
21950
21951 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
21952 `tramp-cache-unload-hook' where appropriate.
21953 (tramp-methods): Rename `tramp-remote-sh' to
21954 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
21955 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
21956
21957 * net/tramp-sh.el (top): Don't require 'shell.
21958 (tramp-methods): Add `tramp-remote-shell' and
21959 `tramp-remote-shell-args' entries.
21960 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
21961 (tramp-sh-handle-shell-command): Remove.
21962 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
21963 Use `tramp-remote-shell'.
21964
21965 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
21966
21967 * mail/sendmail.el (sendmail-query-once-function): Delete.
21968 (sendmail-query-once): Save directly to send-mail-function.
21969 Update message-send-mail-function too.
21970
21971 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
21972
21973 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
21974
21975 * progmodes/python.el (python-mode-map): Use correct function to
21976 start python interpreter from menu-bar (as reported by Geert
21977 Kloosterman).
21978 (inferior-python-mode-map): Fix typo.
21979 (python-shell-map): Remove.
21980
21981 2011-09-03 Deniz Dogan <deniz@dogan.se>
21982
21983 * net/rcirc.el (rcirc-print): Simplify code for
21984 rcirc-scroll-show-maximum-output. There is no need to walk
21985 through all windows to find the right one.
21986
21987 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
21988
21989 * help.el (help-return-method): Doc fix.
21990
21991 2011-09-03 Martin Rudalics <rudalics@gmx.at>
21992
21993 * window.el (window-deletable-p): Don't return a non-nil value
21994 when there's a buffer that was shown in the window before.
21995 (Bug#9419)
21996 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
21997 Set window's previous buffers to nil.
21998
21999 2011-09-03 Eli Zaretskii <eliz@gnu.org>
22000
22001 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
22002 newline before and after the tag line, so it doesn't interfere
22003 with determining the paragraph direction of bidirectional text.
22004
22005 2011-09-03 Leo Liu <sdl.web@gmail.com>
22006
22007 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
22008
22009 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
22010
22011 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
22012 (pop-to-buffer): Change interactive spec. Pass second argument
22013 directly to display-buffer.
22014 (display-buffer): Fix interactive spec. Use functionp to
22015 distinguish between a function and a list of functions.
22016
22017 * abbrev.el (edit-abbrevs):
22018 * arc-mode.el (archive-extract):
22019 * autoinsert.el (auto-insert):
22020 * bookmark.el (bookmark-bmenu-list):
22021 * files.el (find-file):
22022 * view.el (view-buffer):
22023 * progmodes/compile.el (compilation-goto-locus):
22024 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
22025
22026 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
22027
22028 * window.el (display-buffer-alist): Doc fix.
22029 (display-buffer): Add docstring. Don't treat
22030 display-buffer-default specially.
22031 (display-buffer-reuse-selected-window)
22032 (display-buffer-same-window, display-buffer-maybe-same-window)
22033 (display-buffer-reuse-window, display-buffer-pop-up-frame)
22034 (display-buffer-pop-up-window)
22035 (display-buffer-reuse-or-pop-window)
22036 (display-buffer-use-some-window): New functions.
22037 (display-buffer-default-action): Use them.
22038 (display-buffer-default): Delete.
22039 (pop-to-buffer-1): Fix choice of actions.
22040
22041 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
22042
22043 * minibuffer.el (completion--insert-strings): Don't get confused by
22044 completion entries that end with an LF char.
22045
22046 2011-09-01 Eli Zaretskii <eliz@gnu.org>
22047
22048 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
22049
22050 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
22051
22052 * window.el (display-buffer): Restore interactive spec.
22053 (display-buffer-same-window, display-buffer-other-window):
22054 New functions.
22055 (pop-to-buffer-1): New function. Use the above.
22056 (pop-to-buffer, pop-to-buffer-same-window): Use it.
22057 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
22058
22059 * view.el (view-buffer-other-window, view-buffer-other-frame):
22060 Just use pop-to-buffer.
22061
22062 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
22063
22064 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
22065
22066 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
22067
22068 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
22069
22070 2011-08-31 Richard Stallman <rms@gnu.org>
22071
22072 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
22073 of the separation of rmail-view-buffer from rmail-buffer.
22074 If you say no to "replace original", the decrypt is in the
22075 view buffer. If you say yes, the decrypt goes into the
22076 rmail buffer also.
22077
22078 2011-08-31 Martin Rudalics <rudalics@gmx.at>
22079
22080 * window.el (display-buffer-window): Rewrite doc-string.
22081 (display-buffer-record-window): New function.
22082 (display-buffer-macro-specifiers)
22083 (display-buffer-even-window-sizes, display-buffer-set-height)
22084 (display-buffer-set-width, display-buffer-in-window)
22085 (display-buffer-reuse-window, display-buffer-split-specifiers)
22086 (display-buffer-side-specifiers, display-buffer-split-window-1)
22087 (display-buffer-split-window, display-buffer-split-atom-window)
22088 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
22089 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
22090 (display-buffer-other-window-means-other-frame)
22091 (display-buffer-normalize-special)
22092 (display-buffer-normalize-default)
22093 (display-buffer-normalize-argument)
22094 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
22095 (display-buffer-normalize-specifiers, display-buffer-frame)
22096 (display-buffer-same-window, display-buffer-same-frame)
22097 (display-buffer-other-window)
22098 (display-buffer-same-frame-other-window)
22099 (display-buffer-other-frame, pop-to-buffer-same-window)
22100 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
22101 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
22102 (switch-to-buffer-same-frame)
22103 (switch-to-buffer-other-window-same-frame)
22104 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
22105 (display-buffer-alist-set-1, display-buffer-alist-set-2)
22106 (display-buffer-alist-set): Remove.
22107 (display-buffer-function, special-display-buffer-names)
22108 (special-display-regexps, special-display-function):
22109 In doc-string refer to display-buffer-window and quit-restore
22110 parameter.
22111 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
22112 (special-display-frame-alist, special-display-popup-frame)
22113 (same-window-buffer-names, same-window-regexps, same-window-p)
22114 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
22115 (split-window-preferred-function, split-height-threshold)
22116 (split-width-threshold, window-splittable-p)
22117 (split-window-sensibly, window--try-to-split-window)
22118 (window--frame-usable-p, even-window-heights)
22119 (window--even-window-heights, window--display-buffer-1)
22120 (window--display-buffer-2, display-buffer-other-frame):
22121 Restore old Emacs 23 code, order and doc-strings where applicable.
22122 (display-buffer-default, display-buffer-assq-regexp): New functions.
22123 (display-buffer-alist): Rewrite doc-string.
22124 (display-buffer-default-action)
22125 (display-buffer-overriding-action): New variables.
22126 (display-buffer, switch-to-buffer): Rewrite.
22127 (pop-to-buffer): Restore Emacs 23 behavior but use
22128 window-normalize-buffer-to-display.
22129 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
22130 Restore Emacs 23 behavior but use
22131 window-normalize-buffer-to-switch-to.
22132 (pop-to-buffer-same-window): Rewrite.
22133 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
22134 Rewrite using Emacs 23 options.
22135
22136 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
22137
22138 * net/tramp.el (tramp-root-regexp): Remove.
22139 (tramp-completion-file-name-regexp-unified)
22140 (tramp-completion-file-name-regexp-separate)
22141 (tramp-completion-file-name-regexp-url): Don't use leading volume
22142 letter on w32 systems. (Bug#5303, Bug#9311)
22143 (tramp-drop-volume-letter): Simplify definition.
22144 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
22145
22146 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
22147
22148 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
22149 (bug#9356).
22150
22151 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
22152
22153 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
22154
22155 2011-08-29 Juri Linkov <juri@jurta.org>
22156
22157 * isearch.el (isearch-done): Don't display message "Mark saved"
22158 when arg `edit' is non-nil to prevent its flicker in the echo area.
22159
22160 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
22161
22162 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
22163 obsolete packages for deletion.
22164
22165 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
22166
22167 * help-mode.el (help-mode-map): Add special-mode-map to parent.
22168 (help-mode): Derive help-mode from special-mode. Don't invoke
22169 view-mode from help-mode.
22170 (help-xref-override-view-map): Remove.
22171 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
22172 view-mode is not used anymore.
22173
22174 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
22175
22176 * server.el (server-port): Doc fix.
22177
22178 * cus-theme.el (custom-theme-choose-mode): Inherit from
22179 special-mode (Bug#9124).
22180 (custom-theme-choose-mode-map): Add special-mode to parent.
22181
22182 2011-08-28 Alan Mackenzie <acm@muc.de>
22183
22184 * progmodes/cc-fonts.el
22185 (c-make-font-lock-BO-decl-search-function): New function.
22186 (c-basic-matchers-after - "Fontify the clauses after various
22187 keywords"): Extract the three keyword lists for the 3 erroneous
22188 constructs from the list of four, and use the new function above
22189 in place of an old one.
22190
22191 2011-08-28 Deniz Dogan <deniz@dogan.se>
22192
22193 * net/rcirc.el (rcirc-insert-prev-input)
22194 (rcirc-insert-next-input): Remove unused argument.
22195
22196 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
22197
22198 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
22199
22200 2011-08-27 Alan Mackenzie <acm@muc.de>
22201
22202 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
22203 handle function pointer parameters properly.
22204
22205 2011-08-27 Martin Rudalics <rudalics@gmx.at>
22206
22207 * window.el (display-buffer-reuse-window): Fix case where
22208 selected window was reused with non-nil OTHER-WINDOW argument.
22209 (Bug#9381)
22210
22211 2011-08-27 Deniz Dogan <deniz@dogan.se>
22212
22213 * net/rcirc.el (rcirc-check-auth-status): Adding support for
22214 oftc's NickServ messages.
22215
22216 2011-08-27 Glenn Morris <rgm@gnu.org>
22217
22218 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
22219
22220 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
22221
22222 * emacs-lisp/package.el (package-install): Call package-initialize
22223 if called interactively.
22224
22225 2011-08-26 Leo Liu <sdl.web@gmail.com>
22226
22227 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
22228
22229 2011-08-25 Juri Linkov <juri@jurta.org>
22230
22231 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
22232 `search-whitespace-regexp' (bug#9364).
22233
22234 2011-08-25 Juri Linkov <juri@jurta.org>
22235
22236 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
22237 `regexp-search-ring' to their global values to protect from
22238 updating by `read-from-minibuffer' (bug#9185).
22239
22240 2011-08-25 Juri Linkov <juri@jurta.org>
22241
22242 * textmodes/ispell.el (ispell-command-loop): Add newline
22243 at the end of the "Use option `i'..." line.
22244
22245 2011-08-25 Juri Linkov <juri@jurta.org>
22246
22247 * battery.el (display-battery-mode): If `battery-status-function'
22248 or `battery-mode-line-format' is nil, display the message and set
22249 `display-battery-mode' to nil (bug#9363).
22250
22251 2011-08-25 Eli Zaretskii <eliz@gnu.org>
22252
22253 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
22254 bidi-string-mark-left-to-right; they are unnecessary now.
22255
22256 2011-08-25 Deniz Dogan <deniz@dogan.se>
22257
22258 * net/quickurl.el: Documentation typo fixes.
22259
22260 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
22261
22262 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
22263
22264 2011-08-25 Glenn Morris <rgm@gnu.org>
22265
22266 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
22267
22268 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
22269 (smtpmail-via-smtp): Handle nil response from smtp.
22270
22271 2011-08-24 Juri Linkov <juri@jurta.org>
22272
22273 * proced.el (proced-marked): Inherit from `error' instead of
22274 `font-lock-warning-face'.
22275
22276 * ibuffer.el (ibuffer-marked-face): Change default face from
22277 `font-lock-warning-face' to `warning'.
22278 (ibuffer-deletion-face): Change default face from
22279 `font-lock-type-face' to `error'.
22280
22281 * battery.el (battery-update): Use the face `error' instead of
22282 `font-lock-warning-face' (bug#6117).
22283
22284 2011-08-24 Juri Linkov <juri@jurta.org>
22285
22286 * faces.el (success): Change face color from "Green3" to
22287 "ForestGreen" on light background (bug#9353).
22288
22289 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
22290
22291 * window.el (quit-window): Rename from quit-restore-window.
22292 Use same arglist as old quit-window.
22293 (frame-auto-delete): Doc fix.
22294
22295 * view.el (view-mode-exit): Use quit-window.
22296
22297 2011-08-24 Juri Linkov <juri@jurta.org>
22298
22299 * isearch.el (isearch-ring-adjust1): Start visiting previous
22300 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
22301 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
22302 for empty search string (when the last search string is reused
22303 automatically) to adjust the isearch ring to the last element and
22304 prepare the correct index for further M-p commands (bug#9185).
22305
22306 2011-08-24 Kenichi Handa <handa@m17n.org>
22307
22308 * international/ucs-normalize.el: If decomposition property of
22309 CHAR is the default one (i.e. a list of CHAR itself), treat it as
22310 nil.
22311 (nfd, nfkd): Likewise.
22312
22313 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
22314
22315 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
22316 from process filters aren't reliably transmitted to the surrounding
22317 accept-process-output.
22318 (mpc-proc-check): New function.
22319 (mpc-proc-sync): Use it (bug#8293)
22320
22321 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
22322
22323 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
22324 Add compatibility functions (bug#9313).
22325
22326 2011-08-23 Eli Zaretskii <eliz@gnu.org>
22327
22328 * cus-start.el (all): Add entry for bidi-paragraph-direction.
22329
22330 * international/uni-bidi.el: Regenerate.
22331
22332 2011-08-23 Kenichi Handa <handa@m17n.org>
22333
22334 * international/charprop.el:
22335 * international/uni-bidi.el:
22336 * international/uni-category.el:
22337 * international/uni-combining.el:
22338 * international/uni-comment.el:
22339 * international/uni-decimal.el:
22340 * international/uni-decomposition.el:
22341 * international/uni-digit.el:
22342 * international/uni-lowercase.el:
22343 * international/uni-mirrored.el:
22344 * international/uni-name.el:
22345 * international/uni-numeric.el:
22346 * international/uni-old-name.el:
22347 * international/uni-titlecase.el:
22348 * international/uni-uppercase.el: Regenerate.
22349
22350 2011-08-23 Martin Rudalics <rudalics@gmx.at>
22351
22352 * help.el (help-window-setup): Fix message displayed when other
22353 window is reused. (Bug#9341)
22354
22355 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
22356
22357 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
22358 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
22359
22360 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
22361 Mark obsolete.
22362 * shell.el (shell-parse-pcomplete-arguments): New function.
22363 (shell-completion-vars): Use it instead (bug#9160).
22364
22365 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
22366
22367 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
22368 strings and comments (bug#9333).
22369
22370 * emacs-lisp/debug.el (debug-arglist): New function.
22371 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
22372 (debug-on-entry-1): Handle interpreted closures (bug#9120).
22373
22374 2011-08-22 Juri Linkov <juri@jurta.org>
22375
22376 * progmodes/compile.el (compilation-mode-font-lock-keywords):
22377 Revert regexp that highlights output switches to its old
22378 pre-2010-10-28 value and remove one `?' from it (bug#9319).
22379
22380 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
22381 to check for empty output (bug#9226).
22382
22383 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
22384
22385 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
22386 symbol-constituent as the default, as that stops font-lock from
22387 working properly (Bug#8843).
22388
22389 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
22390
22391 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
22392 `coding-system-for-*' around the process open call to avoid
22393 auth-source side effects.
22394 (smtpmail-try-auth-methods): Expand the secret password.
22395 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
22396 probe hangs.
22397
22398 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
22399
22400 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
22401
22402 * emacs-lisp/find-func.el (find-function-noselect): New arg
22403 lisp-only.
22404
22405 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
22406 signal an error for built-in functions (Bug#6664).
22407
22408 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
22409
22410 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
22411 (smtpmail-try-auth-methods): Use it.
22412
22413 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
22414
22415 * font-lock.el (font-lock-fontify-region)
22416 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
22417 (font-lock-default-unfontify-buffer)
22418 (font-lock-default-fontify-region)
22419 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
22420
22421 * progmodes/compile.el (compilation-error-properties):
22422 Fix confusion between file struct and message struct (Bug#9319).
22423 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
22424 `ant' regexp.
22425
22426 * net/browse-url.el (browse-url-firefox): Don't call
22427 browse-url-firefox-sentinel unless using -remote (Bug#9328).
22428
22429 2011-08-20 Glenn Morris <rgm@gnu.org>
22430
22431 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
22432
22433 * tutorial.el (tutorial--default-keys): Update some default bindings.
22434
22435 * files.el (hack-local-variables): Fully ignore case for "mode:".
22436
22437 2011-08-20 Alan Mackenzie <acm@muc.de>
22438
22439 Resolve invalid use of a regexp in regexp-opt.
22440
22441 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
22442 detection for a java annotation.
22443
22444 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
22445 detection for a java annotation.
22446
22447 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
22448 handling for java.
22449 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
22450
22451 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
22452
22453 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
22454 (Bug#9274).
22455
22456 2011-08-20 Alan Mackenzie <acm@muc.de>
22457
22458 Fontify CPP expressions correctly when starting in the middle of
22459 such a construct. Mainly for when jit-lock etc. starts a chunk
22460 here.
22461
22462 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
22463 variable.
22464 (c-make-font-lock-search-form): New function, extracted from
22465 c-make-font-lock-search-function.
22466 (c-make-font-lock-search-function): Use the above function.
22467 (c-make-font-lock-context-search-function): New function.
22468 (c-cpp-matchers): Enhance the preprocessor expression case with
22469 the above function
22470 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
22471 which takes an expression.
22472
22473 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
22474
22475 2011-08-20 Martin Rudalics <rudalics@gmx.at>
22476
22477 * window.el (display-buffer-reuse-window)
22478 (display-buffer-pop-up-window): Don't reuse or split a side
22479 window.
22480
22481 2011-08-19 Glenn Morris <rgm@gnu.org>
22482
22483 * files.el (hack-local-variables-prop-line, hack-local-variables):
22484 Downcase "Mode:". (Bug#9331)
22485
22486 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
22487
22488 * international/characters.el: Add L and R categories.
22489
22490 * subr.el (bidi-string-mark-left-to-right): Rename from
22491 string-mark-left-to-right. Use category search.
22492
22493 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
22494
22495 2011-08-18 Juri Linkov <juri@jurta.org>
22496
22497 * faces.el (error, warning, success): New faces with definitions
22498 copied from old default values of `font-lock-warning-face',
22499 `compilation-warning', `compilation-info' (bug#6117).
22500
22501 * font-lock.el (font-lock-warning-face): Inherit from `error'.
22502
22503 * progmodes/compile.el (compilation-error): Inherit from `error'.
22504 (compilation-warning): Inherit from `warning'.
22505 (compilation-info): Inherit from `success'.
22506
22507 * dired.el (dired-marked): Inherit from `warning'.
22508 (dired-flagged): Inherit from `error'.
22509
22510 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
22511
22512 * mail/smtpmail.el (auth-source): Require to avoid problems with
22513 binding variables (bug#9298). Also clean up some unused
22514 autoloads.
22515
22516 * net/network-stream.el (network-stream-open-starttls):
22517 Support using starttls.el without using gnutls-cli.
22518
22519 2011-08-17 Juri Linkov <juri@jurta.org>
22520
22521 * progmodes/grep.el (rgrep): Handle the case when
22522 `grep-find-command' is a cons cell (bug#9278).
22523
22524 2011-08-17 Martin Rudalics <rudalics@gmx.at>
22525
22526 * window.el (display-buffer-pop-up-frame): Run frame creation
22527 function with BUFFER current (as special-display-popup-frame
22528 does). Reported by Drew Adams.
22529
22530 2011-08-17 Daiki Ueno <ueno@unixuser.org>
22531
22532 * epa-mail.el: Simplify GnuPG group expansion using
22533 epg-expand-group.
22534 (epa-mail-group-alist, epa-mail-group-modtime)
22535 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
22536 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
22537 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
22538 Remove.
22539
22540 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
22541
22542 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
22543
22544 2011-08-16 Alan Mackenzie <acm@muc.de>
22545
22546 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
22547 Correct, to avoid the inside of macros.
22548
22549 2011-08-16 Richard Stallman <rms@gnu.org>
22550
22551 * epa-mail.el: Handle GnuPG group definitions.
22552 (epa-mail-group-alist, epa-mail-group-modtime)
22553 (epa-mail-gnupg-conf-file): New variables.
22554 (epa-mail-parse-groups, epa-mail-sync-groups)
22555 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
22556 (epa-mail-expand-recipients): New functions.
22557 (epa-mail-encrypt): Call epa-mail-expand-recipients.
22558
22559 * mail/rmail.el (rmail-epa-decrypt): New command.
22560
22561 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
22562 Don't bind buffer-read-only, just inhibit-read-only.
22563 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
22564 (epa-decrypt-armor-in-region): Make error message clearer.
22565
22566 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
22567
22568 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
22569 and "a2b" to "ab" for `prefix'.
22570
22571 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
22572
22573 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
22574 filter groups.
22575 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
22576 Fourquet (Bug#8804).
22577
22578 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
22579
22580 * startup.el (argi): Declare as global variable (bug#9275).
22581
22582 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
22583
22584 * subr.el (string-mark-left-to-right): Search the entire string
22585 for RTL script, not just the terminating character. Doc fix.
22586
22587 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
22588
22589 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
22590 New function.
22591 (js--regexp-literal, js-syntax-propertize-function): Remove.
22592 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
22593 (js-mode-map): Don't rebind electric keys.
22594 (js-insert-and-indent): Remove.
22595 (js-mode): Setup electric-layout and electric-indent instead.
22596
22597 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
22598
22599 2011-08-12 Daiki Ueno <ueno@unixuser.org>
22600
22601 * epa.el (epa-progress-callback-function): Fix the logic of
22602 displaying progress.
22603 * epa-file.el (epa-file-insert-file-contents): Make progress
22604 display more user-friendly.
22605 (epa-file-write-region): Ditto.
22606
22607 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
22608
22609 * subr.el (string-mark-left-to-right): New function.
22610
22611 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
22612 Use string-mark-left-to-right.
22613 (list-buffers-noselect): Caller changed.
22614
22615 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
22616 Use string-mark-left-to-right.
22617 (tabulated-list-print): Recenter after moving point.
22618
22619 2011-08-10 Juri Linkov <juri@jurta.org>
22620
22621 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
22622 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
22623 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
22624
22625 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
22626
22627 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
22628 (Bug#7554).
22629
22630 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
22631
22632 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
22633 character. (Bug#6594)
22634
22635 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
22636
22637 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
22638 (image-dired--with-db-file): New macro.
22639 (image-dired-write-tags, image-dired-remove-tag)
22640 (image-dired-create-gallery-lists, image-dired-write-comments)
22641 (image-dired-get-comment, image-dired-mark-tagged-files)
22642 (image-dired-list-tags, image-dired-gallery-generate): Use it.
22643 (image-dired-gallery-generate): Use insert-file-contents.
22644
22645 * time.el (display-time-world-list, display-time-world-display):
22646 * time-stamp.el (time-stamp-string):
22647 * vc/add-log.el (add-change-log-entry): Use setenv instead of
22648 set-time-zone-rule (Bug#7337).
22649
22650 2011-08-08 Daiki Ueno <ueno@unixuser.org>
22651
22652 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
22653 (epg-error-to-string, epg-errors-to-string): New function.
22654 (epg-wait-for-completion): Reverse errors list.
22655 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
22656 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
22657 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
22658 (epg-sign-keys, epg-generate-key-from-file)
22659 (epg-generate-key-from-string): Format errors by using
22660 epg-errors-to-string (bug#9255).
22661 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
22662
22663 2011-08-07 Juri Linkov <juri@jurta.org>
22664
22665 * faces.el (list-faces-display): Remove extra angle bracket
22666 from `help-mode-map'.
22667
22668 * info.el (Info-history-toc-nodes): Doc fix.
22669
22670 * longlines.el (longlines-mode): Doc fix.
22671
22672 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
22673
22674 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
22675 of statements and in a few more cases (bug#9183).
22676
22677 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
22678 New functions.
22679 (cl-transform-lambda): Use them (bug#9239).
22680
22681 2011-08-05 Martin Rudalics <rudalics@gmx.at>
22682
22683 * window.el (display-buffer-same-window)
22684 (display-buffer-same-frame, display-buffer-other-window)
22685 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
22686 (pop-to-buffer-other-window)
22687 (pop-to-buffer-same-frame-other-window)
22688 (pop-to-buffer-other-frame): Make them defuns.
22689 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
22690
22691 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
22692
22693 * subr.el (make-composed-keymap): Move from C. Change calling
22694 convention, and improve docstring to bring attention to a subtle point.
22695 * minibuffer.el (completing-read-default): Adjust accordingly.
22696
22697 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
22698
22699 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
22700 (tramp-open-shell): Use `tramp-shell-quote-argument'.
22701
22702 * net/trampver.el: Update release number.
22703
22704 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
22705
22706 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
22707 "in" (bug#9190).
22708
22709 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
22710
22711 * mail/sendmail.el (sendmail-query-once): Restore the current
22712 buffer after querying (bug#9074).
22713
22714 * dired.el (dired-flagged): Use different faces for marked and
22715 flagged files (bug#6117).
22716
22717 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
22718 (bug#4433).
22719
22720 * ido.el (ido-mode): Switch off the message if called
22721 non-interactively.
22722
22723 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
22724 before 587, since it appears that that's more likely to work for
22725 more people.
22726
22727 * cus-edit.el (custom-file): When running under emacs -q, always
22728 refuse to save the customizations, even if the .emacs file doesn't
22729 exist.
22730
22731 * info.el: Remove the `Info-beginning-of-buffer' function
22732 (bug#8325).
22733
22734 * net/network-stream.el (network-stream-open-starttls):
22735 Use `starttls-available-p' to see whether starttls.el can be used.
22736
22737 2011-08-01 Martin Rudalics <rudalics@gmx.at>
22738
22739 * window.el (display-buffer-in-window): Don't set dedicated status
22740 of window here (Bug#9215).
22741 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
22742 (display-buffer-pop-up-side-window)
22743 (display-buffer-in-side-window): Set dedicated status of window here.
22744
22745 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
22746
22747 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
22748 before binding generated-autoload-file.
22749
22750 2011-08-01 Deniz Dogan <deniz@dogan.se>
22751
22752 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
22753
22754 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
22755
22756 Sync with Tramp 2.2.2.
22757
22758 * net/trampver.el: Update release number.
22759
22760 2011-07-30 Juri Linkov <juri@jurta.org>
22761
22762 * dired-aux.el (dired-touch-initial): Remove function.
22763 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
22764 current time, and `default' to the last modification time of the
22765 current marked file (bug#6887).
22766
22767 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
22768
22769 * simple.el (goto-line): Use string-to-number to provide a
22770 numeric argument to read-number (bug#9163).
22771
22772 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
22773
22774 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
22775 connection process, it could be nil.
22776
22777 2011-07-27 Leo Liu <sdl.web@gmail.com>
22778
22779 Simplify url handling in rcirc-mode.
22780
22781 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
22782 (rcirc-browse-url-at-mouse): Remove.
22783 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
22784
22785 2011-07-26 Alan Mackenzie <acm@muc.de>
22786
22787 Fontify bitfield declarations properly.
22788
22789 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
22790 (c-symbol-chars): Now exported as a lang variable.
22791 (c-not-primitive-type-keywords): New lang variable.
22792
22793 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
22794 QT keyword "more" to prevent "more slots: ...." being spuriously
22795 parsed as a bitfield declaration.
22796
22797 * progmodes/cc-engine.el (c-beginning-of-statement-1):
22798 Refactor and enhance to handle bitfield declarations.
22799 (c-punctuation-in): New function.
22800 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
22801 declarations properly.
22802
22803 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
22804
22805 * calendar/icalendar.el (icalendar--all-events): Take care of
22806 multiple vcalendars in a single file.
22807 (icalendar--convert-float-to-ical): Checkdoc fixes.
22808
22809 2011-07-25 Deniz Dogan <deniz@dogan.se>
22810
22811 * image.el (insert-image): Clarifying docstring.
22812
22813 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
22814
22815 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
22816 `tramp-send-command-and-check' if there is no error.
22817 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
22818
22819 2011-07-22 Alan Mackenzie <acm@muc.de>
22820
22821 Prevent cc-langs.elc being loaded at run time.
22822
22823 * progmodes/cc-mode.el: Remove two autoload forms which loaded
22824 cc-langs.
22825
22826 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
22827 "(require 'cc-langs)". Quote a form so it will evaluate at
22828 (cc-mode's) compilation time.
22829
22830 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
22831
22832 * net/tramp.el (tramp-file-name-handler): Avoid recursive
22833 loading. (Bug#9114)
22834
22835 2011-07-21 Martin Rudalics <rudalics@gmx.at>
22836
22837 * window.el (display-buffer-pop-up-window)
22838 (display-buffer-pop-up-side-window)
22839 (display-buffer-in-side-window): Call display-buffer-set-height
22840 and display-buffer-set-width after setting the new window's
22841 buffer so `fit-window-to-buffer' and friends work on the right buffer.
22842
22843 2011-07-20 Sam Steingold <sds@gnu.org>
22844
22845 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
22846 (etags-tags-included-tables): Call `convert-standard-filename' on
22847 the file names contained in TAGS so that windows Emacs can handle
22848 TAGS files created by cygwin ctags.
22849
22850 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
22851
22852 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
22853 which apparently didn't work.
22854
22855 2011-07-19 Roland Winkler <winkler@gnu.org>
22856
22857 * proced.el (proced-send-signal): For *Marked Processes* buffer
22858 put point at beginning of buffer.
22859
22860 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
22861
22862 * proced.el (proced-format): Make header lines align with the text
22863 (bug#1779).
22864
22865 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
22866
22867 * view.el (view-buffer): Allow running in `special' modes if we're
22868 visiting a file (bug#8615).
22869
22870 2011-07-19 Martin Rudalics <rudalics@gmx.at>
22871
22872 * window.el (display-buffer-alist-of-strings-p)
22873 (display-buffer-alist-set-1, display-buffer-alist-set-2):
22874 New functions.
22875 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
22876 more accurately.
22877
22878 2011-07-18 Alan Mackenzie <acm@muc.de>
22879
22880 Fontify declarators properly when, e.g., a jit-lock chunk begins
22881 inside a declaration.
22882
22883 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
22884
22885 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
22886 New function.
22887 (c-complex-decl-matchers): Insert reference to
22888 c-font-lock-enclosing-decls.
22889
22890 * progmodes/cc-engine.el (c-backward-single-comment):
22891 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
22892 to nil around calls to (forward-comment -1).
22893
22894 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
22895
22896 * image.el (put-image): Doc typo fix.
22897
22898 * progmodes/etags.el (tags-search): Doc typo fix.
22899
22900 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
22901 password if we get errors 550 to 554.
22902
22903 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
22904
22905 * net/gnutls.el (gnutls-log-level): Remove.
22906
22907 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
22908 indentation character (bug#6380).
22909
22910 * files.el (buffer-offer-save): Made permanently local (bug#6241).
22911
22912 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
22913 to clarify what the problem is (bug#4291).
22914
22915 * simple.el (current-kill): Clarify what
22916 `interprogram-paste-function' does (bug#7500).
22917 (auto-fill-mode): Document `auto-fill-function' in relation to
22918 `auto-fill-mode' (bug#2470).
22919
22920 2011-07-16 Lawrence Mitchell <wence@gmx.li>
22921
22922 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
22923 method if slot is read-only (bug#9035).
22924
22925 2011-07-16 Martin Rudalics <rudalics@gmx.at>
22926
22927 * frame.el (select-frame-set-input-focus): New argument NORECORD.
22928 * window.el (pop-to-buffer): Select window used even if it was
22929 selected before, see discussion of (Bug#8615), (Bug#6954).
22930 Pass argument NORECORD on to select-frame-set-input-focus.
22931
22932 2011-07-15 Glenn Morris <rgm@gnu.org>
22933
22934 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
22935 Respect help-form.
22936
22937 2011-07-09 Lawrence Mitchell <wence@gmx.li>
22938
22939 * net/gnutls.el (gnutls-min-prime-bits): New variable.
22940 (gnutls-negotiate): Use it.
22941
22942 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
22943
22944 * net/gnutls.el (gnutls-negotiate):
22945 Upcase `gnutls-algorithm-priority'.
22946
22947 2011-07-15 Glenn Morris <rgm@gnu.org>
22948
22949 * jka-compr.el (jka-compr-verbose): Move from here...
22950 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
22951 Add missing :version tag.
22952 * info.el: No need to require jka-compr when compiling.
22953
22954 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
22955
22956 * net/gnutls.el (gnutls-algorithm-priority): New variable.
22957 (gnutls-negotiate): Use it.
22958
22959 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
22960
22961 * info.el (Info-beginning-of-buffer): New command.
22962 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
22963 announcing `b' as the key (bug#8325).
22964 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
22965
22966 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
22967
22968 * international/mule-cmds.el
22969 (describe-specified-language-support): Make the error message
22970 clearer (bug#8905).
22971
22972 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
22973
22974 * isearch.el (isearch-barrier): Add a doc string, since it's
22975 mentioned in a function doc string (bug#8678).
22976
22977 2011-07-15 Martin Rudalics <rudalics@gmx.at>
22978
22979 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
22980 buffer argument (Bug#9083) and self-identifying label argument.
22981
22982 2011-07-15 Glenn Morris <rgm@gnu.org>
22983
22984 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
22985
22986 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
22987
22988 * man.el (Man-fontify-manpage): Fix message when formatting the
22989 man page (bug#7929).
22990
22991 2011-07-14 Eli Zaretskii <eliz@gnu.org>
22992
22993 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
22994 argument LRM; if non-nil, append an invisible LRM character to the
22995 buffer name.
22996 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
22997 last argument non-nil, when formatting buffer names.
22998 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
22999 paragraph direction.
23000
23001 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
23002
23003 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
23004 the man page name (bug#7929).
23005
23006 * image.el (put-image): Mention the `put-image' overlay property
23007 (bug#7834).
23008
23009 * scroll-bar.el (set-scroll-bar-mode): Mention that
23010 `scroll-bar-mode' lists the values (bug#7772).
23011
23012 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
23013 command (bug#7729).
23014
23015 * rect.el (apply-on-rectangle): Return the point after the last
23016 operation.
23017 (string-rectangle): Go to the point after the last operation
23018 (bug#7522).
23019
23020 * printing.el (pr-toggle-region): Clarify the documentation
23021 slightly (bug#7493).
23022
23023 * time.el (display-time-update):
23024 Allow `display-time-mail-function' to return nil (bug#7158).
23025 Fix suggested by Detlev Zundel.
23026
23027 * vc/diff.el (diff): Clarify the order the file names are read
23028 (bug#7111).
23029
23030 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
23031 the doc string (bug#7015).
23032
23033 * font-lock.el (font-lock-maximum-decoration): Mention what
23034 numeric levels mean (bug#6935).
23035
23036 * startup.el (initial-buffer-choice): Don't mention the `none'
23037 selection, which is against policy.
23038
23039 2011-07-14 Martin Rudalics <rudalics@gmx.at>
23040
23041 * window.el (display-buffer-normalize-special):
23042 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
23043
23044 2011-07-14 Eli Zaretskii <eliz@gnu.org>
23045
23046 * subr.el (version<, version<=, version=): Mention "-CVS" and
23047 "-12345" alpha version numbers.
23048
23049 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
23050
23051 * bindings.el: Add advertised binding for set-mark-command
23052 (Bug#5772).
23053
23054 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
23055
23056 * bindings.el (mode-line-other-buffer):
23057 * bookmark.el (bookmark-bmenu-2-window):
23058 * bs.el (bs-cycle-next, bs-cycle-previous):
23059 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
23060 switch-to-buffer.
23061
23062 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
23063 Delete.
23064
23065 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
23066
23067 * follow.el (follow-debug-message, follow-redisplay):
23068 * jka-cmpr-hook.el (with-auto-compression-mode):
23069 Fix typos in docstrings.
23070
23071 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
23072
23073 * subr.el (with-silent-modifications): Clarify somewhat what the
23074 macro inhibits (bug#6525).
23075
23076 * simple.el (eval-expression): Note what it does if called
23077 interactively (bug#6495).
23078
23079 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
23080
23081 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
23082 Use pop-to-buffer buffer-or-name if it is nil.
23083
23084 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
23085 Remove switch-to-buffer.
23086
23087 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
23088
23089 * files.el (make-directory): Clarify that an error will be raised
23090 if there's an error (bug#6397).
23091
23092 * startup.el (initial-buffer-choice): Add `none' as a choice
23093 (bug#6234).
23094
23095 * subr.el (add-hook): Clarify section about buffer-local hooks
23096 (bug#6218).
23097
23098 * dired.el (dired-flagged): Clarify doc string (bug#6117).
23099
23100 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
23101
23102 * tabify.el (untabify): Preserve the current column so that point
23103 doesn't move (bug#6032).
23104
23105 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
23106
23107 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
23108 Rewrite to avoid awkward possessive "s" (bug#5986).
23109
23110 2011-07-13 Glenn Morris <rgm@gnu.org>
23111
23112 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
23113 (dired-insert-directory): Give a message the first time
23114 if ls is found not to support --dired.
23115
23116 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
23117
23118 * simple.el (toggle-truncate-lines): Clarify what is toggled
23119 (bug#5580). Text by Drew Adams.
23120
23121 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
23122
23123 * simple.el (blink-matching-open): Make the error message from the
23124 last change less verbose.
23125
23126 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
23127
23128 * font-lock.el (font-lock-comment-face): Use the high contrast
23129 "yellow" color for font-lock-comment-face on low color terminals
23130 using a dark background color (bug#4221).
23131
23132 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
23133
23134 * dired.el (dired-insert-set-properties): Make the doc string
23135 reflect what it does now (bug#5325).
23136
23137 * simple.el (blink-matching-open): Say that we were unable to find
23138 the match within the limit, if we're limited (bug#5122).
23139
23140 * international/mule-cmds.el (prefer-coding-system): Add an
23141 example (bug#4869).
23142
23143 * progmodes/etags.el (tags-search): Document `file-list-form'
23144 (bug#4731).
23145
23146 2011-07-13 Lawrence Mitchell <wence@gmx.li>
23147
23148 * net/browse-url.el (browse-url-default-browser)
23149 (browse-url-browser-function): Make the default browser choice a
23150 bit more logical (bug#4300). Also clean up the doc string.
23151
23152 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
23153
23154 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
23155 binary endings (bug#4440).
23156
23157 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
23158
23159 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
23160 which can be pretty annoying (bug#8971).
23161
23162 * jka-compr.el (jka-compr-verbose): New variable, and use
23163 throughout (bug#8971).
23164
23165 * info.el (Info-find-file): Fall back on the installation
23166 directory if we can't find the info node anywhere else.
23167
23168 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
23169
23170 * vc/vc.el (vc-revert-file):
23171 Don't set file time-stamp in the past. (Bug#5181)
23172
23173 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
23174
23175 * files.el (after-find-file): Give a better error message when
23176 trying to find a symlink that points to a file that doesn't exist
23177 (bug#4398).
23178
23179 * progmodes/cc-vars.el: Remove (probably) misleading comment
23180 (bug#4396).
23181
23182 2011-07-12 Johan BockgĂ¥rd <bojohan@gnu.org>
23183
23184 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
23185
23186 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
23187
23188 * mouse-sel.el: Hack restoring functionality, while keeping
23189 compatibility with 2010-07-03 changes to mouse selection.
23190 (mouse-sel-primary-overlay): New var.
23191 (mouse-sel-selection-alist): Use it.
23192 (mouse-sel-mode): Doc fix; remove points that are default features
23193 of mouse.el.
23194
23195 2011-07-12 Johan BockgĂ¥rd <bojohan@gnu.org>
23196
23197 * progmodes/compile.el (compilation-error-regexp-alist-alist):
23198 Fix previous fix (bug#2490).
23199
23200 2011-07-12 Roland Winkler <winkler@gnu.org>
23201
23202 * textmodes/bibtex.el (bibtex-initialize):
23203 Use pop-to-buffer-same-window.
23204 (bibtex-search-entries): Fix interactive call.
23205
23206 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
23207
23208 * progmodes/compile.el (compilation-error-regexp-alist-alist):
23209 Fontise bytecomp Error lines more correctly (bug#2490).
23210 Fix suggested by Johan BockgĂ¥rd.
23211
23212 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
23213
23214 * dired-x.el (dired-guess-default): Use `delete-dups'.
23215
23216 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
23217
23218 * dired.el (dired-mark-prompt):
23219 * dired-aux.el (dired-read-shell-command): Doc fix.
23220
23221 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
23222
23223 * mail/sendmail.el (sendmail-query-once):
23224 Use `customize-save-variable' unconditionally, now that it works under
23225 emacs -Q.
23226
23227 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
23228
23229 * cus-edit.el (custom-file): Take an optional no-error variable.
23230 (customize-save-variable): Set the variable, and give a warning if
23231 running under "emacs -q".
23232
23233 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
23234
23235 * loadhist.el (unload-feature-special-hooks):
23236 Add `auto-coding-functions', `fill-nobreak-predicate' and
23237 `find-directory-functions' (bug#5327).
23238
23239 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
23240
23241 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
23242
23243 * cus-edit.el (custom-guess-name-alist): -alist variables should
23244 use the `alist' type (bug#3120). Suggested by Drew Adams.
23245
23246 * printing.el: Add documentation to all the `pr-toggle-' commands.
23247
23248 2011-07-11 Leo Liu <sdl.web@gmail.com>
23249
23250 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
23251 backends where it makes sense (bug#2623).
23252
23253 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
23254
23255 * dired-x.el (dired-guess-default): Remove duplicate shell command
23256 entries (bug#2028).
23257 (dired-guess-default): Fix grammar in doc string (bug#2028).
23258 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
23259
23260 * subr.el (remove-duplicates): New conveniency function.
23261
23262 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
23263
23264 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
23265 (bug#1526).
23266
23267 2011-07-10 Martin Rudalics <rudalics@gmx.at>
23268
23269 * window.el (display-buffer-normalize-default): Don't invert
23270 meaning of even-window-heights. Reported by Eli Zaretskii
23271 <eliz@gnu.org>.
23272
23273 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
23274
23275 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
23276
23277 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
23278
23279 * window.el (display-buffer): Fix arguments to
23280 display-buffer-reuse-window in last change.
23281
23282 * faces.el (link): Use a less saturated blue on light backgrounds.
23283
23284 * startup.el (fancy-startup-text, fancy-about-text)
23285 (fancy-startup-tail): Use font-lock faces, for background safety.
23286
23287 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
23288
23289 * emulation/viper-cmd.el (viper-change-state-to-vi):
23290 Limit triggering of abbrev expansion (Bug#9038).
23291
23292 2011-07-09 Martin Rudalics <rudalics@gmx.at>
23293
23294 * window.el (display-buffer-default-specifiers): Remove.
23295 (display-buffer-macro-specifiers): Remove default specifiers.
23296 (display-buffer-alist): Default to nil.
23297 (display-buffer-reuse-window): New optional argument other-window.
23298 (display-buffer-pop-up-window): Allow splitting internal
23299 windows. Check whether a live window was created.
23300 (display-buffer-other-window-means-other-frame)
23301 (display-buffer-normalize-arguments): Rename to
23302 display-buffer-normalize-argument and rewrite. Set the
23303 other-window specifier.
23304 (display-buffer-normalize-special): New function.
23305 (display-buffer-normalize-options): Rename to
23306 display-buffer-normalize-default and rewrite.
23307 (display-buffer-normalize-options-inhibit): Remove.
23308 (display-buffer-normalize-specifiers): Rewrite.
23309 (display-buffer): Process other-window specifier and call
23310 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
23311 more faithfully.
23312 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
23313 (display-buffer-alist-set): Don't handle 'unset default values.
23314 (display-buffer-in-window, display-buffer-alist-set):
23315 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
23316 <tassilo@member.fsf.org>.
23317
23318 2011-07-09 Leo Liu <sdl.web@gmail.com>
23319
23320 * register.el (insert-register): Restore accidental change on
23321 2011-06-26. (Bug#9028)
23322
23323 2011-07-09 Glenn Morris <rgm@gnu.org>
23324
23325 * subr.el (remq): Handle the empty list. (Bug#9024)
23326
23327 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
23328
23329 * mail/sendmail.el (send-mail-function): No longer delay custom
23330 initialization.
23331 * custom.el (custom-initialize-delay): Doc fix.
23332
23333 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
23334
23335 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
23336
23337 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
23338
23339 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
23340 human-friendly prompt.
23341
23342 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
23343
23344 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
23345 provided by a particular plugin.
23346
23347 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
23348
23349 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
23350 save customizations (with "emacs -Q"), just set the variable
23351 instead of erroring out.
23352
23353 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
23354
23355 2011-07-08 Juri Linkov <juri@jurta.org>
23356
23357 * arc-mode.el (archive-zip-expunge, archive-zip-update)
23358 (archive-zip-update-case): Use 7z if found by `executable-find'.
23359 The order of searching the available programs is the same as in
23360 `archive-zip-extract' (bug#8968).
23361
23362 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
23363
23364 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
23365 (menu-bar-options-menu): Tweak descriptions.
23366
23367 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
23368
23369 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
23370 menu items into verb phrases (bug#1421). Also refill to fit under
23371 80 columns.
23372
23373 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
23374
23375 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
23376 (Info-read-node-name): Doc fix (Bug#1084).
23377
23378 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
23379 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
23380 (end-of-sexp, beginning-of-sexp)
23381 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
23382 (forward-symbol, forward-same-syntax, word-at-point)
23383 (sentence-at-point): Doc fix (Bug#1144).
23384
23385 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
23386
23387 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
23388 should cover it (bug#1281).
23389
23390 * cus-edit.el (custom-show): Mark as obsolete.
23391
23392 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
23393 negotiation fails, then possibly try again with a non-encrypted
23394 connection (bug#9017).
23395
23396 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
23397 be used.
23398
23399 2011-07-07 Richard Stallman <rms@gnu.org>
23400
23401 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
23402 property, and handle its changed format.
23403 Look for the correct line number.
23404 Use file's line contents (but not past first =) to find
23405 correct line in message.
23406
23407 2011-07-07 Kenichi Handa <handa@m17n.org>
23408
23409 * international/characters.el (build-unicode-category-table):
23410 Delete it.
23411 (unicode-category-table): Set it by unicode-property-table-internal.
23412
23413 * international/mule-cmds.el (char-code-property-alist): Move to
23414 to src/chartab.c.
23415 (get-char-code-property): Call unicode-property-table-internal to
23416 load a file. Call get-unicode-property-internal where necessary.
23417 (put-char-code-property): Call unicode-property-table-internal to
23418 load a file. Call put-unicode-property-internal where necessary.
23419 put-unicode-property-internal where necessary.
23420 (char-code-property-description):
23421 Call unicode-property-table-internal to load a file.
23422
23423 * international/charprop.el:
23424 * international/uni-bidi.el:
23425 * international/uni-category.el:
23426 * international/uni-combining.el:
23427 * international/uni-comment.el:
23428 * international/uni-decimal.el:
23429 * international/uni-decomposition.el:
23430 * international/uni-digit.el:
23431 * international/uni-lowercase.el:
23432 * international/uni-mirrored.el:
23433 * international/uni-name.el:
23434 * international/uni-numeric.el:
23435 * international/uni-old-name.el:
23436 * international/uni-titlecase.el:
23437 * international/uni-uppercase.el: Regenerate.
23438
23439 * loadup.el: Load international/charprop.el before
23440 international/characters.
23441
23442 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
23443
23444 * window.el (next-buffer, previous-buffer): Signal an error if
23445 called from a minibuffer window.
23446
23447 * bindings.el: Revert 2011-07-04 change.
23448
23449 2011-07-06 Richard Stallman <rms@gnu.org>
23450
23451 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
23452 (rmail-mime-insert-bulk, rmail-mime-insert-text):
23453 Treat markers like ints.
23454 (rmail-mime-entity): Doc fix.
23455
23456 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
23457
23458 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
23459 defcustom again for backwards compatibility.
23460
23461 * simple.el (shell-command-on-region): Fill.
23462
23463 * dired-aux.el (dired-kill-line): Add a doc string.
23464
23465 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
23466 to "\\sw\\|\\s_" (bug#358).
23467
23468 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
23469 (dired-unmark-backward): Ditto.
23470 (dired-flag-backup-files): Ditto.
23471
23472 * dired-x.el (dired-mark-sexp): Ditto.
23473
23474 2011-07-06 Richard Stallman <rms@gnu.org>
23475
23476 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
23477 (rmail-mime-entity): New arg TRUNCATED.
23478 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
23479 New functions.
23480 (rmail-mime-save): Warn if entity is truncated.
23481 (rmail-mime-toggle-hidden): Likewise, for showing.
23482 (rmail-mime-process-multipart): Record when an entity is truncated.
23483
23484 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
23485 if ENTITY is a string.
23486
23487 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
23488
23489 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
23490 of faces when `M-C-x'-ing their definitions (bug#8378).
23491 Also clean up the code slightly.
23492
23493 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
23494 because that makes the colors go away.
23495
23496 * mail/sendmail.el (send-mail-function): Change the default to
23497 `sendmail-query-once'.
23498 (sendmail-query-once): Add an autoload cookie.
23499
23500 * net/network-stream.el (network-stream-open-starttls): Try using
23501 a plain connection even if the server offered STARTTLS, and we
23502 kinda wanted to use it, if Emacs doesn't have any STARTTLS
23503 capability. This should make smtpmail.el work in slightly more
23504 configurations.
23505
23506 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
23507
23508 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
23509 New defun.
23510 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
23511
23512 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
23513
23514 * progmodes/sql.el: Version 3.0
23515 (sql-product-alist): Add product :completion-object,
23516 :completion-column, and :statement attributes.
23517 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
23518 (sql-mode-syntax-table): Mark all punctuation.
23519 (sql-font-lock-keywords-builder): Temporarily remove fallback on
23520 ansi keywords.
23521 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
23522 (sql-mode-oracle-font-lock-keywords): Improve.
23523 (sql-oracle-show-reserved-words): New function for development.
23524 (sql-product-font-lock): Simplify for source code buffers.
23525 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
23526 New functions.
23527 (sql-highlight-product): Set product specific syntax table.
23528 (sql-mode-map): Add statement movement functions.
23529 (sql-ansi-statement-starters, sql-oracle-statement-starters):
23530 New variable.
23531 (sql-statement-regexp, sql-beginning-of-statement)
23532 (sql-end-of-statement, sql-signum): New functions.
23533 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
23534 (sql-show-sqli-buffer): Bug fix.
23535 (sql-interactive-mode): Store connection data as buffer local.
23536 (sql-connect): Add NEW-NAME parameter. Redesign interaction
23537 with sql-interactive-mode.
23538 (sql-save-connection): Save buffer local settings.
23539 (sql-connection-menu-filter): Change menu entry name.
23540 (sql-product-interactive): Bug fix.
23541 (sql-preoutput-hold): New variable.
23542 (sql-interactive-remove-continuation-prompt): Bug fixes.
23543 (sql-debug-redirect): New variable.
23544 (sql-str-literal): New function.
23545 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
23546 Redesign.
23547 (sql-oracle-save-settings, sql-oracle-restore-settings)
23548 (sql-oracle-list-all, sql-oracle-list-table): New functions.
23549 (sql-completion-object, sql-completion-column)
23550 (sql-completion-sqlbuf): New variables.
23551 (sql-build-completions-1, sql-build-completions)
23552 (sql-try-completion): New functions.
23553 (sql-read-table-name): Use them.
23554 (sql-contains-names): New buffer local variable.
23555 (sql-list-all, sql-list-table): Use it.
23556 (sql-oracle-completion-types): New variable.
23557 (sql-oracle-completion-object, sql-sqlite-completion-object)
23558 (sql-postgres-completion-object): New functions.
23559
23560 2011-07-06 Glenn Morris <rgm@gnu.org>
23561
23562 * window.el (pop-to-buffer): Doc fix.
23563
23564 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
23565
23566 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
23567
23568 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
23569
23570 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
23571
23572 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
23573
23574 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
23575
23576 * button.el (button): Inherit from link face. Suggested by Dan
23577 Nicolaescu.
23578
23579 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
23580
23581 * progmodes/gdb-mi.el: Fit in 80 columns.
23582 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
23583 switch-to-buffer.
23584
23585 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
23586 if imenu is simply not configured (bug#8941).
23587
23588 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
23589
23590 * allout.el (allout-post-undo-hook): New allout outline-change
23591 event hook to signal undo activity.
23592 (allout-post-command-business): Run allout-post-undo-hook if an
23593 undo just occurred.
23594 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
23595 * allout-widgets.el (allout-widgets-after-undo-function):
23596 Ensure the integrity of the current item's decoration after it has been
23597 in the vicinity of an undo.
23598 (allout-widgets-mode): Include allout-widgets-after-undo-function
23599 on the new allout-post-undo-hook.
23600
23601 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
23602
23603 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
23604 Let define-derived-mode define it.
23605 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
23606 cycles of abbrev-table inheritance (bug#8998).
23607
23608 2011-07-05 Roland Winkler <winkler@gnu.org>
23609
23610 * textmodes/bibtex.el: Add support for biblatex.
23611 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
23612 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
23613 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
23614 (bibtex-entry-alist, bibtex-field-alist): New variables.
23615 (bibtex-entry-field-alist): Obsolete alias for
23616 bibtex-BibTeX-entry-alist.
23617 (bibtex-entry-alist, bibtex-field-alist): New widgets.
23618 (bibtex-set-dialect): New command.
23619 (bibtex-entry-type, bibtex-entry-head)
23620 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
23621 Bind via bibtex-set-dialect.
23622 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
23623 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
23624 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
23625 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
23626 Define via bibtex-set-dialect.
23627 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
23628 Obey bibtex-no-opt-remove-re.
23629 (bibtex-vec-push, bibtex-vec-incr): New functions.
23630 (bibtex-format-entry, bibtex-field-list)
23631 (bibtex-print-help-message, bibtex-validate)
23632 (bibtex-search-entries): Use new format of bibtex-entry-alist.
23633
23634 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
23635
23636 * progmodes/compile.el (compilation-goto-locus):
23637 * net/tramp-cmds.el (tramp-append-tramp-buffers):
23638 * bs.el (bs-cycle-next, bs-cycle-previous):
23639 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
23640 * bindings.el (mode-line-other-buffer):
23641 * autoinsert.el (auto-insert):
23642 * arc-mode.el (archive-extract):
23643 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
23644
23645 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
23646
23647 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
23648 Fix check of `emacs-lock-unlockable-modes'.
23649 Coerce true values of `emacs-lock--try-unlocking' to t.
23650
23651 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
23652
23653 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
23654 * emacs-lock.el: New file.
23655
23656 2011-07-05 Julien Danjou <julien@danjou.info>
23657
23658 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
23659 than `boundp' to check if face is set.
23660
23661 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
23662
23663 * register.el (registerv-make):
23664 * window.el (window-min-height): Fix typos in docstrings.
23665
23666 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
23667
23668 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
23669 Update doc string.
23670
23671 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
23672
23673 * server.el (server-execute): Catch quit and call
23674 `server-return-error' to pass the error back to emacsclient and
23675 close the connection (bug#8942).
23676
23677 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
23678
23679 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
23680 insecure exception for current topic. Also note that auto-saves
23681 are handled differently.
23682
23683 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
23684 State variables for tracking auto-save inhibition situation.
23685
23686 (allout-write-contents-hook-handler): Rename from
23687 'allout-write-file-hook-handler', and describe how it depends on
23688 write-contents-functions sensitivity to non-nil value to prevent
23689 file write.
23690
23691 (allout-auto-save-hook-handler): Remove. auto-save does not check
23692 this in individual buffers, only in the starting buffer, so this
23693 is not the right way for us to inhibit auto-save in a buffer
23694 according to its condition.
23695
23696 (allout-mode): Use new allout-write-contents-hook-handler, and
23697 only with write-contents-functions. Remove auto-save provisions -
23698 they're implemented elsewhere.
23699
23700 (allout-before-change-handler): If undo is in progress, note that
23701 for attention of allout-post-command-business.
23702
23703 (allout-post-command-business): If the command we're following was
23704 an undo, check for change in the status of encrypted items and
23705 adjust auto-save inhibitions accordingly.
23706
23707 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
23708 according to whether there are or aren't any plain-text topics
23709 pending encryption.
23710
23711 (allout-inhibit-auto-save-info-for-decryption):
23712 Adjust buffer-saved-size and some allout state to inhibit auto-saves
23713 if there are plain-text topics pending encryption.
23714
23715 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
23716 buffer-saved-size and some allout state to not inhibit auto-saves
23717 if there are no longer any plain-text topics pending encryption.
23718
23719 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
23720 No longer provide for exemption of the current topic.
23721
23722 2011-07-04 Juri Linkov <juri@jurta.org>
23723
23724 Add 7z operations to delete and save changed members (bug#8968).
23725 * arc-mode.el (archive-7z-expunge, archive-7z-update):
23726 New defcustoms.
23727 (archive-7z-write-file-member): New function.
23728 (archive-7z-summarize): Fix the number of dashes in the
23729 listing output.
23730
23731 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
23732
23733 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
23734 (bug#8958).
23735
23736 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
23737
23738 * bindings.el: Ignore next-buffer and previous-buffer in
23739 minibuffer-local-map.
23740
23741 * font-lock.el (font-lock-builtin-face): Change light background
23742 color to dark slate blue (Bug#6693).
23743
23744 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
23745
23746 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
23747
23748 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
23749
23750 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
23751 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
23752 Add switch-to-buffer.
23753
23754 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
23755
23756 * isearch.el (isearch-search-fun-function): Clarify further the
23757 meaning of the function returned.
23758
23759 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
23760
23761 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
23762
23763 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
23764 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
23765 Use it.
23766 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
23767 `tramp-default-remote-path' does not exist.
23768 (tramp-send-command-and-read): New optional argument NOERROR.
23769 (tramp-open-connection-setup-interactive-shell)
23770 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
23771 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
23772 (tramp-process-sentinel): Flush also process' connection property.
23773 (tramp-sh-handle-start-file-process): Do not set process
23774 sentinel. It is done now ...
23775 (tramp-maybe-open-connection): ... here. (Bug#8929)
23776
23777 2011-07-04 MON KEY <monkey@sandpframing.com>
23778
23779 * play/animate.el (animate-string): Doc fixes and allow changing
23780 the buffer name (bug#5417).
23781
23782 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
23783
23784 * play/animate.el (animation-buffer-name): Rename from *animate*.
23785
23786 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
23787
23788 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
23789 This is simpler and helps future-proof the code.
23790 (timer-until): Use time-subtract and float-time.
23791 (timer--time-less-p): Use time-less-p.
23792
23793 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
23794
23795 * type-break.el (timep): Use the value of `float-time' to avoid a
23796 byte-compiler warning.
23797
23798 * server.el (server-eval-and-print): Return any result, even nil.
23799
23800 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
23801
23802 * type-break.el: Accept time formats that the builtins accept.
23803 (timep, type-break-time-difference): Accept any format that
23804 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
23805 This is simpler and helps future-proof the code.
23806 (type-break-time-difference): Round rather than ignoring
23807 subseconds components.
23808
23809 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
23810
23811 * info.el (Info-apropos-matches): Make non-interactive, since it
23812 doesn't seem to do anything useful as a command (bug#8829).
23813
23814 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
23815
23816 * frame.el (frame-background-mode, frame-set-background-mode):
23817 Move from faces.el.
23818 (frame-default-terminal-background): New function.
23819
23820 * custom.el (custom-push-theme): Don't record faces in `changed'
23821 theme; this doesn't work correctly for per-frame face settings.
23822 (disable-theme): Use face-set-after-frame-default to reset faces.
23823 (custom--frame-color-default): New function.
23824
23825 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
23826
23827 * dired.el (dired-flagging-regexp): Remove unused variable
23828 (bug#8769).
23829
23830 2011-03-29 Kevin Ryde <user42@zip.com.au>
23831
23832 * progmodes/compile.el (compilation-error-regexp-alist-alist):
23833 `perl-Test2' extend to match possible "fail #N" rep count
23834 (bug#8377).
23835
23836 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
23837
23838 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
23839 `smtpmail-via-smtp' now returns the error instead of nil.
23840
23841 * isearch.el (isearch-search-fun-function): Clarify the doc string
23842 (bug#8101).
23843
23844 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
23845
23846 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
23847 unnecessary spaces (bug#8987).
23848
23849 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
23850
23851 * net/network-stream.el (open-network-stream): Use the
23852 :end-of-capability command thoughout.
23853
23854 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
23855
23856 * net/network-stream.el (open-network-stream): Add the
23857 :end-of-capability command parameter, used by pop3.el.
23858
23859 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
23860
23861 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
23862
23863 * fringe.el (fringe-query-style): Remove redundant text " (type ?
23864 for list)" (bug#6475).
23865
23866 * files.el (file-expand-wildcards): Ignore non-readable
23867 sub-directories while trying to find matches instead of signaling
23868 an error (bug#6297).
23869
23870 * man.el (Man-reference-regexp): Allow matching possible
23871 word-wrapped references (bug#6289).
23872
23873 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
23874 for consistency with the other vc buffers (bug#6197).
23875 (vc-checkin): Ditto.
23876
23877 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
23878
23879 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
23880
23881 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
23882
23883 * custom.el (defcustom): Clarify that :set is only used in the
23884 Customize user interface (bug#6089).
23885
23886 * progmodes/flymake.el (flymake-mode): If the buffer isn't
23887 associated with a file, refuse to run instead of erroring out
23888 (bug#6084).
23889
23890 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
23891 the doc string, since it appears that using `fill-column' always
23892 controls the width (bug#7845).
23893
23894 * simple.el (shell-command-on-region): Say where the error output
23895 went if `shell-command-default-error-buffer' is set (bug#6857).
23896
23897 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
23898
23899 * allout.el (allout-yank-processing): Adjust cursor position for
23900 backwards-deleted space.
23901
23902 (allout-rebullet-heading): Register changes with
23903 allout-exposure-changed-hook, so the modified topic is properly
23904 decorated.
23905
23906 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
23907
23908 * minibuffer.el (completion-in-region): Document PREDICATE
23909 (bug#7136).
23910
23911 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
23912 of keyword/argument pairs (bug#6904).
23913
23914 * replace.el (multi-occur):
23915 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
23916
23917 2011-07-02 Drew Adams <drew.adams@oracle.com>
23918
23919 * dired.el (dired-mark-if): Make the message about whether it's
23920 marking or unmarking clearer (bug#8523).
23921
23922 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
23923
23924 * disp-table.el (display-table-print-array): New function.
23925 (describe-display-table): Use it to print the vectors more pretty
23926 (Bug#8859).
23927
23928 2011-07-02 Martin Rudalics <rudalics@gmx.at>
23929
23930 * window.el (window-state-get-1): Don't assign clone numbers.
23931 Add clone-of item to list of window parameters.
23932 (window-state-put-2): Don't process clone numbers.
23933 (display-buffer-alist): Fix doc-string.
23934
23935 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
23936
23937 * subr.el (remq): Don't allocate if it's not needed.
23938 (keymap--menu-item-binding, keymap--menu-item-with-binding)
23939 (keymap--merge-bindings): New functions.
23940 (keymap-canonicalize): Use them to refine the canonicalization.
23941 * minibuffer.el (minibuffer-local-completion-map)
23942 (minibuffer-local-must-match-map): Move initialization from C.
23943 (minibuffer-local-filename-completion-map): Move initialization from C;
23944 don't inherit from anything here.
23945 (minibuffer-local-filename-must-match-map): Make obsolete.
23946 (completing-read-default): Use make-composed-keymap to combine
23947 minibuffer-local-filename-completion-map with either
23948 minibuffer-local-must-match-map or
23949 minibuffer-local-filename-completion-map.
23950
23951 2011-07-01 Glenn Morris <rgm@gnu.org>
23952
23953 * type-break.el (type-break-time-sum): Use dolist.
23954
23955 * textmodes/flyspell.el (flyspell-word-search-backward):
23956 Replace CL function.
23957
23958 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
23959
23960 * mouse.el (mouse--strip-first-event): New function.
23961 (function-key-map): Use it to map fringe clicks to normal clicks
23962 by default.
23963
23964 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
23965 (vc-bzr-revision-completion-table): Add support for annotate and date.
23966
23967 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
23968 inherit from parent.
23969
23970 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
23971
23972 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
23973 (dired-show-file-type): Doc fixup (bug#8818).
23974
23975 * dired.el (dired-mode): Fix up the doc string as suggested by
23976 Drew Adams (bug#8817).
23977
23978 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
23979 cookie, since the manual says that it should be possible to add
23980 this function to `find-file-hook' (bug#8709).
23981
23982 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
23983
23984 * progmodes/cfengine.el: Moved all cfengine3.el functionality
23985 here. Noted Ted Zlatanov as the maintainer.
23986 (cfengine-common-settings, cfengine-common-syntax): New functions
23987 to set up common things between `cfengine-mode' and
23988 `cfengine3-mode'.
23989 (cfengine3-mode): New mode.
23990 (cfengine3-defuns cfengine3-defuns-regex
23991 (cfengine3-class-selector-regex cfengine3-category-regex)
23992 (cfengine3-vartypes cfengine3-font-lock-keywords)
23993 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
23994 (cfengine3-indent-line): Add from cfengine3.el.
23995
23996 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
23997
23998 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
23999
24000 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
24001
24002 2011-07-01 Martin Rudalics <rudalics@gmx.at>
24003
24004 * window.el (same-window-buffer-names, same-window-regexps)
24005 (same-window-p, special-display-frame-alist)
24006 (special-display-popup-frame, special-display-function)
24007 (special-display-buffer-names, special-display-regexps)
24008 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
24009 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
24010 (split-window-preferred-function, split-height-threshold)
24011 (split-width-threshold, even-window-heights)
24012 (display-buffer-mark-dedicated, window-splittable-p)
24013 (split-window-sensibly, window-safely-shrinkable-p):
24014 Un-obsolete.
24015 (display-buffer): Don't spread args with function specifier
24016 because special-display-popup-frame won't like it.
24017
24018 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
24019
24020 Time-stamp simplifications and fixes.
24021 These improve accuracy slightly, and future-proof the code
24022 against some potential changes to current-time format.
24023
24024 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
24025 by using time-since and float-time.
24026
24027 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
24028 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
24029 + NNN microseconds".
24030
24031 * type-break.el (type-break-time-sum): Rewrite using time-add.
24032
24033 * play/hanoi.el (hanoi-current-time-float): Remove.
24034 All uses replaced by float-time.
24035
24036 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
24037 This yields a more-accurate answer.
24038 (rng-time-to-float): Remove; no longer needed.
24039
24040 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
24041
24042 * calendar/timeclock.el (timeclock-seconds-to-time):
24043 Defalias to seconds-to-time, since they're the same thing.
24044
24045 * emacs-lisp/elp.el (elp-elapsed-time):
24046 * emacs-lisp/benchmark.el (benchmark-elapse):
24047 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
24048
24049 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
24050
24051 * window.el (bury-buffer): Don't iconify the only frame.
24052 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
24053 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
24054
24055 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
24056
24057 * eshell/em-smart.el (eshell-smart-display-navigate-list):
24058 Add mouse-yank-primary.
24059
24060 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
24061
24062 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
24063
24064 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
24065
24066 * emacs-lisp/find-func.el (find-library--load-name): New fun.
24067 (find-library-name): Use it to find relative load names when provided
24068 absolute file name (bug#8803).
24069
24070 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
24071
24072 * textmodes/flyspell.el (flyspell-word): Consider words that
24073 differ only in case as potential doublons (bug#5687).
24074
24075 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
24076 Remove two rather uninteresting debugging-like messages to make
24077 debbugs.el more silent.
24078
24079 * comint.el (comint-password-prompt-regexp): Accept "Response" as
24080 a password-like phrase.
24081
24082 2011-06-30 Masatake YAMATO <yamato@redhat.com>
24083
24084 * progmodes/cc-guess.el: New file.
24085
24086 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
24087
24088 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
24089 derived from `c-basic-common-init'.
24090
24091 * progmodes/cc-mode.el (top-level): Require cc-guess.
24092 (c-basic-common-init): Use `cc-choose-style-for-mode'.
24093
24094 2011-06-30 Lawrence Mitchell <wence@gmx.li>
24095
24096 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
24097
24098 2011-06-30 Alan Mackenzie <acm@muc.de>
24099
24100 * progmodes/cc-engine.el (c-guess-continued-construct):
24101 Correct the handling of template-args-cont, particularly for when font
24102 lock is disabled. Name this case as "CASE G".
24103
24104 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
24105
24106 * allout.el (allout-yank-processing): Fix injection of extra space
24107 between bullet and non-whitespace character in first topic when
24108 pasting, ensuring that the actual spacing in the pasted topic
24109 following the bullet char is preserved. This extra space was
24110 causing pasted encrypted topics to get a decrypted status even
24111 when the content was actually still encrypted. Now the decryption
24112 status from before the paste is preserved.
24113
24114 (allout-flag-region): Set all allout overlays so they evaporate
24115 when reduced to zero length (evanescent), to prevent overlay
24116 leakage.
24117
24118 2011-06-30 Glenn Morris <rgm@gnu.org>
24119
24120 * w32-fns.el (w32-charset-info-alist): Declare.
24121
24122 * find-dired.el (find-grep-options): Simplify.
24123
24124 * term/ns-win.el (ns-set-resource): Declare.
24125
24126 * ses.el (row, col): Declare dynamic variables honestly.
24127
24128 * textmodes/reftex-parse.el (index-tags): Declare.
24129
24130 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
24131
24132 * cus-edit.el (customize-push-and-save): New function.
24133
24134 * files.el (hack-local-variables-confirm): Use it.
24135
24136 * custom.el (load-theme): New arg NO-CONFIRM.
24137 Use customize-push-and-save (Bug#8720).
24138 (custom-enabled-themes): Doc fix.
24139
24140 * cus-theme.el (customize-create-theme)
24141 (custom-theme-merge-theme): Callers to load-theme changed.
24142
24143 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
24144
24145 * thingatpt.el (thing-at-point-short-url-regexp): Require that
24146 short URLs have at least one dot in them (bug #7614).
24147
24148 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
24149 nil, because using a pty is apparently too slow (bug #895).
24150
24151 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
24152
24153 * mail/sendmail.el (sendmail-query-once): New function.
24154 (sendmail-query-once-function): New variable.
24155
24156 2011-06-29 Glenn Morris <rgm@gnu.org>
24157
24158 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
24159
24160 * ses.el (top-level): Require cl when compiling.
24161 (ses-set-localvars): Fix error statement.
24162 Call it at compile time to silence a storm of warnings.
24163
24164 2011-06-29 Martin Rudalics <rudalics@gmx.at>
24165
24166 * window.el (normalize-live-buffer): Rename to
24167 window-normalize-buffer.
24168 (normalize-live-frame): Rename to window-normalize-frame.
24169 (normalize-any-window): Rename to window-normalize-any-window.
24170 (normalize-live-window): Rename to window-normalize-live-window.
24171 (make-window-atom): Rename to window-make-atom.
24172 (window-resize-reset): Rename to window--resize-reset.
24173 (window-resize-reset-1): Rename to window--resize-reset-1.
24174 (resize-mini-window): Rename to window--resize-mini-window.
24175 (resize-subwindows-skip-p): Rename to
24176 window--resize-subwindows-skip-p.
24177 (resize-subwindows-normal): Rename to
24178 window--resize-subwindows-normal.
24179 (resize-subwindows): Rename to window--resize-subwindows.
24180 (resize-other-windows): Rename to window--resize-siblings.
24181 (resize-this-window): Rename to window--resize-this-window.
24182 (resize-root-window): Rename to window--resize-root-window.
24183 (resize-root-window-vertically): Rename to
24184 window--resize-root-window-vertically.
24185 (normalize-buffer-to-display): Rename to
24186 window-normalize-buffer-to-display.
24187 (normalize-buffer-to-switch-to): Rename to
24188 window-normalize-buffer-to-switch-to.
24189 Correspondingly update all callers of the functions listed
24190 above.
24191 (display-buffer-alist, display-buffer-normalize-arguments)
24192 (display-buffer-normalize-options, display-buffer)
24193 (display-buffer-alist-set): Use "function" instead of
24194 "fun-with-args".
24195
24196 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
24197
24198 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
24199 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
24200 debbugs.gnu.org. Mention acknowledgment email.
24201
24202 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
24203
24204 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
24205 buffer multibyteness, since it shouldn't matter.
24206
24207 2011-06-28 Martin Rudalics <rudalics@gmx.at>
24208
24209 * window.el (display-buffer-in-side-window): Handle dedicated
24210 windows as in display-buffer-reuse-window.
24211 (display-buffer-normalize-alist): Use value of override
24212 specifier.
24213 (display-buffer-normalize-specifiers): Use value of
24214 other-window-means-other-frame specifier.
24215 (display-buffer-alist): Rewrite some texts in widgets.
24216 (display-buffer): Spread arguments when calling function
24217 specified by fun-with-args.
24218
24219 2011-06-28 Deniz Dogan <deniz@dogan.se>
24220
24221 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
24222 Unnest `let'.
24223
24224 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
24225 selectors (Bug#5732).
24226 (css-proprietary-nmstart-re): Use `regexp-opt'.
24227
24228 2011-06-27 Jari Aalto <jari.aalto@cante.net>
24229
24230 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
24231 (eshell-ls-date-format): New defcustom.
24232 (eshell-ls-file): Use it.
24233
24234 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
24235
24236 * help-fns.el (describe-variable): Fix message for terminal-local vars.
24237
24238 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
24239
24240 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
24241 (ange-ftp-make-tmp-name): New arg.
24242 (ange-ftp-file-local-copy): Use it.
24243
24244 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
24245
24246 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
24247 no-conversion (Bug#8870).
24248
24249 2011-06-27 Martin Rudalics <rudalics@gmx.at>
24250
24251 * window.el (window-right, window-left, window-child)
24252 (window-child-count, window-last-child)
24253 (window-iso-combination-p, walk-window-tree-1)
24254 (window-atom-check-1, window-tree-1, delete-window)
24255 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
24256 new naming conventions - window-vchild, window-hchild,
24257 window-next and window-prev are now called window-top-child,
24258 window-left-child, window-next-sibling and window-prev-sibling
24259 respectively.
24260 (resize-window-reset): Rename to window-resize-reset.
24261 (resize-window-reset-1): Rename to window-resize-reset-1.
24262 (resize-window): Rename to window-resize.
24263 (window-min-height, window-min-width)
24264 (resize-mini-window, resize-this-window, resize-root-window)
24265 (resize-root-window-vertically, adjust-window-trailing-edge)
24266 (enlarge-window, shrink-window, maximize-window)
24267 (minimize-window, delete-window, quit-restore-window)
24268 (split-window, balance-windows, balance-windows-area-adjust)
24269 (balance-windows-area, window-state-put-2)
24270 (display-buffer-even-window-sizes, display-buffer-set-height)
24271 (display-buffer-set-width, set-window-text-height)
24272 (fit-window-to-buffer): Rename all "resize-window" prefixed
24273 calls to use the "window-resize" prefix convention.
24274 (display-buffer-alist): Fix symbol for label specifier.
24275 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
24276 corresponding specifier.
24277 Reported by Juanma Barranquero <lekktu@gmail.com>.
24278
24279 2011-06-27 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
24280
24281 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
24282 convention.
24283 (ses-call-printer): Does not pass an empty string to formatter when the
24284 cell is empty to keep from barking printer Calc math-format-value.
24285
24286 2011-06-27 Richard Stallman <rms@gnu.org>
24287
24288 * battery.el (battery-mode-line-limit): New variable.
24289 (battery-update): Handle it.
24290
24291 * mail/rmailmm.el (rmail-mime-process-multipart):
24292 Handle truncated messages.
24293
24294 2011-06-27 Glenn Morris <rgm@gnu.org>
24295
24296 * progmodes/flymake.el (flymake-err-line-patterns):
24297 Allow for column numbers in the ant/javac pattern. (Bug#8866)
24298
24299 2011-06-27 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
24300
24301 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
24302 (ses--clean-!, ses--clean-_): New functions.
24303 (ses-range): Add configurability of readout order, and conversion
24304 to Calc vector.
24305
24306 * ses.el (ses-repair-cell-reference-all): New function.
24307 (ses-cell-symbol): Set macro as safe, so that it can be used in
24308 formulas.
24309
24310 * ses.el: Update cycle detection algorithm.
24311 (ses-localvars): Add ses--Dijkstra-attempt-nb and
24312 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
24313 (ses-set-localvars): New function.
24314 (ses-make-cell): Add property-list as a cell element.
24315 (ses-cell-property-get-fun, ses-cell-property-get)
24316 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
24317 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
24318 New functions.
24319 (ses-cell-property-set, ses-cell-property-pop)
24320 (ses-cell-property-get-handle): New macro.
24321 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
24322 New aliases, used for code readability.
24323 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
24324 cycle detection.
24325 (ses-self-reference-early-detection): New defcustom.
24326 (ses-formula-references): Robustify against self-referring cells.
24327 (ses-mode): Use ses-set-localvars.
24328 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
24329 before lauching the update processing.
24330 (ses-initialize-Dijkstra-attempt): New function.
24331 (ses-recalculate-cell): Update for cycle detection based on
24332 Dijkstra algorithm.
24333
24334 * ses.el: Fix commenting and indenting convention.
24335
24336 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
24337
24338 * bs.el (bs-cycle-next): Complete last change.
24339
24340 2011-06-27 Drew Adams <drew.adams@oracle.com>
24341
24342 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
24343
24344 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
24345
24346 * net/network-stream.el (network-stream-open-starttls):
24347 Don't re-get capabilities unless we've reestablished connection.
24348 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
24349
24350 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
24351 to binary to possibly avoid line encoding issues on Windows (among
24352 other things).
24353
24354 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
24355
24356 * net/network-stream.el (open-network-stream): Return an :error
24357 saying what the problem was, if possible.
24358
24359 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
24360 server.
24361
24362 * net/network-stream.el (network-stream-open-starttls): If we
24363 wanted to use STARTTLS, and the server offered it, but we weren't
24364 able to because we had no STARTTLS support, then close the connection.
24365 (open-network-stream): Return an :error element, if present.
24366
24367 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
24368
24369 * hl-line.el (hl-line-sticky-flag): Doc fix.
24370 (global-hl-line-sticky-flag): New option (Bug#8323).
24371 (global-hl-line-highlight): Obey it.
24372
24373 * vc/vc.el (vc-revert-show-diff): Default to t.
24374
24375 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
24376
24377 * allout-widgets.el (allout-widgets-post-command-business):
24378 Stop decorating intermediate isearch matches. They're not being
24379 undecorated when an isearch is continued past, and isearch
24380 automatically collapses them. This leads to "widget leaks", where
24381 decorated items accumulate in collapsed areas. Lines with lots of
24382 hidden widgets can slow down cursor travel, substantially.
24383 Too much complicated machinery would be needed to ensure undecoration,
24384 so we're doing without this nicety.
24385
24386 (allout-widgets-tally-string): Don't try to do a hash-table-count
24387 of allout-widgets-tally when it's nil. This eliminates spurious "Error
24388 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
24389 *Messages* when allout-widgets-maintain-tally is t.
24390
24391 2011-06-26 Martin Rudalics <rudalics@gmx.at>
24392
24393 * window.el (display-buffer-normalize-argument): Rename to
24394 display-buffer-normalize-arguments. Handle special meaning of
24395 LABEL argument. Respect special-display-function when popping up
24396 a new frame. Fix code searching for a window showing the buffer
24397 on another frame.
24398 (display-buffer-normalize-specifiers):
24399 Call display-buffer-normalize-arguments.
24400 (display-buffer-in-window): Don't undedicate the window if its
24401 buffer remains the same.
24402 Reported by Drew Adams <drew.adams@oracle.com>.
24403 (display-buffer-alist): Add choice for same-window macro
24404 specfier.
24405 (display-buffer): Mention special meaning of LABEL argument in
24406 doc-string. Fix quoting. Don't pop up a new frame even as
24407 fallback.
24408
24409 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
24410
24411 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
24412 avoid deleting the current window in some cases (bug#8911).
24413
24414 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
24415
24416 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
24417 (Bug#8934)
24418
24419 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
24420
24421 * net/network-stream.el (network-stream-open-starttls):
24422 Use built-in TLS support if `gnutls-available-p' is true.
24423 (network-stream-open-tls): Ditto.
24424
24425 2011-06-26 Leo Liu <sdl.web@gmail.com>
24426
24427 * register.el (registerv): New struct.
24428 (registerv-make): New function.
24429 (jump-to-register, describe-register-1, insert-register):
24430 Support the jump-func, print-func and insert-func slot of a registerv
24431 struct. (Bug#8415)
24432
24433 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
24434
24435 * vc/vc.el (vc-revert-show-diff): New defcustom.
24436 (vc-diff-internal): New arg specifying diff buffer.
24437 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
24438 reuse an existing *vc-diff* buffer (Bug#8927).
24439
24440 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
24441
24442 2011-06-26 Glenn Morris <rgm@gnu.org>
24443
24444 * progmodes/f90.el (f90-critical-indent): New option.
24445 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
24446 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
24447 (f90-mode): Doc fix.
24448 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
24449 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
24450 (f90-beginning-of-block, f90-next-block, f90-indent-region)
24451 (f90-match-end): Handle block, critical.
24452
24453 2011-06-25 Glenn Morris <rgm@gnu.org>
24454
24455 * calendar/diary-lib.el (diary-included-files): Doc fix.
24456 (diary-include-files): New function, extracted from
24457 diary-include-other-diary-files and diary-mark-included-diary-files.
24458 (diary-include-other-diary-files, diary-mark-included-diary-files):
24459 Just call diary-include-files.
24460 (diary-mark-entries): Reset diary-included-files on first call.
24461
24462 * calendar/diary-lib.el (diary-mark-entries)
24463 (diary-mark-included-diary-files):
24464 Visit included diary-files in temp buffers.
24465
24466 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
24467 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
24468 (f90-start-block-re, f90-imenu-generic-expression)
24469 (f90-looking-at-program-block-start, f90-no-block-limit):
24470 Add support for submodules.
24471
24472 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
24473 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
24474
24475 2011-06-25 Eli Zaretskii <eliz@gnu.org>
24476
24477 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
24478 buffer-file-type before setting its value, to avoid disastrous
24479 global effects on decoding files for DOS/Windows systems. (Bug#8780)
24480
24481 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
24482
24483 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
24484
24485 * ses.el (ses-unload-function):
24486 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
24487
24488 * proced.el (proced-unload-function):
24489 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
24490
24491 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
24492
24493 * server.el (server-create-window-system-frame): Add parameters arg.
24494 (server-process-filter): Doc fix. Handle frame-parameters.
24495
24496 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
24497
24498 Fix bug#8730, bug#8781.
24499
24500 * loadhist.el (unload--set-major-mode): New function.
24501 (unload-feature): Use it.
24502
24503 * progmodes/python.el (python-after-info-look): Add autoload cookie.
24504 (python-unload-function): New function.
24505
24506 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
24507
24508 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
24509
24510 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
24511
24512 * net/browse-url.el (browse-url-firefox-program): Add icecat to
24513 the candidates list.
24514
24515 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
24516
24517 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
24518
24519 2011-06-23 Richard Stallman <rms@gnu.org>
24520
24521 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
24522 (rmail-variables): Set next-error-move-function.
24523 (rmail-what-message): Take argument POS.
24524 (rmail-next-error-move): New function.
24525
24526 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
24527
24528 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
24529 messages for adjacent non-terminals.
24530
24531 2011-06-23 Richard Stallman <rms@gnu.org>
24532
24533 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
24534 (rmail-show-message-1): Preserve buffer modified flag.
24535 (rmail-start-mail): Don't specify use of rmail-mail-return;
24536 that's done by mail-bury now.
24537 (rmail-mail-return): Handle arg NEWBUF.
24538
24539 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
24540
24541 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
24542 SIZE is a number.
24543
24544 2011-06-23 Martin Rudalics <rudalics@gmx.at>
24545
24546 * window.el (get-lru-window, get-mru-window)
24547 (get-largest-window): Never return a minibuffer window.
24548 (display-buffer-pop-up-window): Fix a bug that could lead to
24549 reusing the minibuffer window.
24550 (display-buffer): Pass original specifier argument to
24551 display-buffer-function instead of the normalized one.
24552 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
24553
24554 2011-06-22 Leo Liu <sdl.web@gmail.com>
24555
24556 * minibuffer.el (completing-read-function)
24557 (completing-read-default): Move from minibuf.c.
24558
24559 2011-06-22 Richard Stallman <rms@gnu.org>
24560
24561 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
24562 to Rmail even if not started by a special Rmail command.
24563
24564 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
24565 Copy the buffer currently showing just one message.
24566
24567 2011-06-22 Roland Winkler <winkler@gnu.org>
24568
24569 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
24570 (bibtex-clean-entry): First delete the old key so that a
24571 customized algorithm for generating the new key does not get
24572 confused by the old key.
24573 (bibtex-url): Obey regexp of first step.
24574 (bibtex-search-entries): Do not use add-to-list with local
24575 list-var.
24576
24577 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
24578
24579 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
24580 stored a user name, then query for the password first, instead of
24581 waiting for SMTP to give an error message and the trying again.
24582
24583 2011-06-22 Lawrence Mitchell <wence@gmx.li>
24584
24585 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
24586 BUFFER in call-process.
24587
24588 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
24589
24590 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
24591 QUIT twice.
24592 (smtpmail-try-auth-methods): Require user name and password from
24593 auth-source.
24594
24595 2011-06-22 Martin Rudalics <rudalics@gmx.at>
24596
24597 * window.el (display-buffer-default-specifiers)
24598 (display-buffer-alist): Remove entries for pop-up-frame-alist.
24599 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
24600 (split-window): Normalize SIDE argument (Bug#8916).
24601
24602 * frame.el (pop-up-frame-alist, pop-up-frame-function)
24603 (special-display-frame-alist, special-display-popup-frame):
24604 Remove duplicate declarations. These are now in window.el.
24605
24606 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
24607
24608 * mail/smtpmail.el (smtpmail-via-smtp):
24609 Set :use-starttls-if-possible so that we always use STARTTLS if the
24610 server supports it. SMTP servers that support STARTTLS commonly
24611 require it.
24612
24613 * net/network-stream.el (network-stream-open-starttls): Support
24614 upgrading to STARTTLS always, even if we don't have built-in support.
24615 (open-network-stream): Add the :always-query-capabilities keyword.
24616
24617 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
24618 upgrades with `open-network-stream', and rely solely on
24619 auth-source for all credentials. Big changes throughout the file,
24620 but in particular:
24621 (smtpmail-auth-credentials): Remove.
24622 (smtpmail-starttls-credentials): Remove.
24623 (smtpmail-via-smtp): Check for servers saying they want AUTH after
24624 MAIL FROM, too.
24625
24626 * net/network-stream.el (network-stream-open-starttls):
24627 Provide support for client certificates both for external and built-in
24628 STARTTLS.
24629 (auth-source): Require.
24630 (open-network-stream): Document the :client-certificate keyword.
24631 (network-stream-certificate): Change cert-cert to cert and
24632 cert-key to key.
24633
24634 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
24635
24636 * net/tramp-cache.el (top): Don't load the persistency file when
24637 "emacs -Q" has been called.
24638
24639 2011-06-21 Tim Harper <timcharper@gmail.com>
24640
24641 * term/ns-win.el (ns-initialize-window-system):
24642 Set application-specific `ApplePressAndHoldEnabled' system
24643 resource to NO as it is not yet supported by the NS port.
24644
24645 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
24646
24647 * misc.el (list-dynamic-libraries--refresh): Compute header here...
24648 (list-dynamic-libraries): ...not here.
24649
24650 2011-06-21 Leo Liu <sdl.web@gmail.com>
24651
24652 * subr.el (sha1): Implement sha1 using secure-hash.
24653
24654 2011-06-21 Martin Rudalics <rudalics@gmx.at>
24655
24656 * window.el (display-buffer-alist): In default value do not
24657 enforce searching a window on any but the selected frame.
24658 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
24659 (display-buffer-select-window): Remove function.
24660 (display-buffer-in-window): When a window on another frame gets
24661 reused, do not select it any more but just raise its frame if
24662 necessary (Bug#8851) and (Bug#8856).
24663 (display-buffer-normalize-options): Handle pop-up-frames related
24664 options more faithfully.
24665 (pop-to-buffer): Don't rely on `display-buffer' selecting the
24666 window if it is on another frame.
24667 (display-buffer-alist, display-buffer-default-specifiers):
24668 Don't make new frame unsplittable by default.
24669 (display-buffer-normalize-argument): Fix doc-string typo and use
24670 'same-frame-other-window instead of 'other-window when associating
24671 with display-buffer-macro-specifiers.
24672
24673 2011-06-21 Vincent BelaĂ¯che <vincent.b.1@hotmail.fr>
24674
24675 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
24676 New functions.
24677 (5x5-mode-map, 5x5-mode-menu): Bind them.
24678 (5x5-draw-grid): Tweak the solver's rendering.
24679
24680 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
24681
24682 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
24683 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
24684
24685 2011-06-21 Drew Adams <drew.adams@oracle.com>
24686
24687 * menu-bar.el: Use function variable instead of switch-to-buffer.
24688 (menu-bar-select-buffer-function): New variable.
24689 (menu-bar-update-buffers): Use it (bug#8876).
24690
24691 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
24692
24693 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
24694 variable's status.
24695
24696 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
24697
24698 * x-dnd.el (x-dnd-version-from-flags)
24699 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
24700 and long as number (Bug#8899).
24701 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
24702
24703 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
24704
24705 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
24706 (completion-try-completion, completion-all-completions): Compute the
24707 metadata argument if it's missing; make it optional (bug#8795).
24708
24709 * wid-edit.el: Use lex-bind and move towards completion-at-point.
24710 (widget-complete): Use new :completion-function property.
24711 (widget-completions-at-point): New function.
24712 (default): Use :completion-function instead of :complete.
24713 (widget-default-completions): Rename from widget-default-complete;
24714 Rewrite.
24715 (widget-string-complete, widget-file-complete, widget-color-complete):
24716 Remove functions.
24717 (file, symbol, function, variable, coding-system, color):
24718 * international/mule-cmds.el (default-input-method, charset)
24719 (language-info-custom-alist):
24720 * cus-edit.el (face): Use new property :completions.
24721
24722 * progmodes/pascal.el (pascal-completions-at-point): New function.
24723 (pascal-mode): Use it.
24724 (pascal-mode-map): Use completion-at-point.
24725 (pascal-toggle-completions): Make obsolete.
24726 (pascal-complete-word, pascal-show-completions):
24727 * progmodes/octave-mod.el (octave-complete-symbol):
24728 Redefine as obsolete alias.
24729 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
24730 Signal absence of completion info for old Octave,
24731 (inferior-octave-complete): Redefine as obsolete alias.
24732 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
24733 (meta-completions-at-point): Rename from meta-complete-symbol and
24734 adapt it for use on completion-at-point-functions.
24735 (meta-common-mode): Use it.
24736 (meta-looking-at-backward, meta-match-buffer): Remove.
24737 (meta-complete-symbol): Redefine as obsolete alias.
24738 (meta-common-mode-map): Use completion-at-point.
24739 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
24740 (makefile-mode-map): Use completion-at-point.
24741 (makefile-completions-at-point): Rename from makefile-complete and
24742 adapt it for use on completion-at-point-functions.
24743 (makefile-mode): Use it.
24744 (makefile-complete): Redefine as obsolete alias.
24745
24746 2011-06-20 Deniz Dogan <deniz@dogan.se>
24747
24748 * net/rcirc.el: Delete trailing whitespaces once and for all.
24749
24750 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
24751
24752 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
24753
24754 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
24755
24756 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
24757
24758 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
24759
24760 2011-06-19 Martin Rudalics <rudalics@gmx.at>
24761
24762 * window.el (display-buffer-other-window-means-other-frame):
24763 Call display-buffer-normalize-alist.
24764 (display-buffer-normalize-specifiers-1): Rename to
24765 display-buffer-normalize-argument. New argument other-frame.
24766 Rewrite.
24767 (display-buffer-normalize-specifiers-2): Rename to
24768 display-buffer-normalize-options.
24769 (display-buffer-normalize-alist-1): New function.
24770 (display-buffer-normalize-specifiers-3): Rename to
24771 display-buffer-normalize-alist.
24772 Call display-buffer-normalize-alist-1.
24773 (display-buffer-normalize-options-inhibit): New variable.
24774 (display-buffer-normalize-specifiers): Rewrite calling
24775 display-buffer-normalize-alist,
24776 display-buffer-normalize-argument, and
24777 display-buffer-normalize-options. Don't call the latter if
24778 display-buffer-normalize-options-inhibit is non-nil.
24779 (frame-auto-delete): New option.
24780 (window-deletable-p): Use frame-auto-delete.
24781 (window-list-no-nils, window-state-ignored-parameters)
24782 (window-state-get-1, window-state-get, window-state-put-list)
24783 (window-state-put-1, window-state-put-2, window-state-put):
24784 New functions.
24785 (display-buffer-normalize-options): Move special-display-p group
24786 after pop-up-frame group (Bug#8851) and (Bug#8856).
24787
24788 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
24789
24790 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
24791 groups (Bug#8776).
24792 (rx-submatch-n): New function.
24793 (rx): Document it.
24794
24795 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
24796 (Bug#8768).
24797
24798 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
24799
24800 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
24801
24802 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
24803 anytime existing face settings are present (Bug#8889).
24804
24805 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
24806 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
24807 Remove unused argument.
24808
24809 2011-06-18 Martin Rudalics <rudalics@gmx.at>
24810
24811 * window.el (display-buffer-default-specifiers):
24812 Remove pop-up-frame. Add pop-up-window-min-height,
24813 pop-up-window-min-width, and another reuse-window specifier
24814 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
24815 (display-buffer-normalize-specifiers-2):
24816 Handle split-height-threshold and split-width-threshold also when
24817 pop-up-windows is unset. Add a reuse-window specifier for the
24818 case popping up a new window fails.
24819 (special-display-popup-frame): Remove double quoting.
24820 (display-buffer-normalize-specifiers-1): Fix thinko.
24821
24822 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
24823
24824 * shell.el (shell-completion-vars): Set pcomplete-termination-string
24825 according to comint-completion-addsuffix.
24826
24827 * pcomplete.el: Convert to lexical binding and fix bug#8819.
24828 (pcomplete-suffix-list): Mark as obsolete.
24829 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
24830 pcomplete-seen in the closure.
24831 (pcomplete-comint-setup): Setup completion-at-point as well.
24832 (pcomplete--entries): New function.
24833 (pcomplete--env-regexp): New var.
24834 (pcomplete-entries): Rewrite to work with partial-completion and
24835 without relying on pcomplete-suffix-list.
24836 (pcomplete-pare-list): Remove, unused.
24837
24838 2011-06-17 Martin Rudalics <rudalics@gmx.at>
24839
24840 * window.el (display-buffer-alist): Set pop-up-window-min-height
24841 and pop-up-window-min-width in default value. Reported by
24842 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
24843 other-window-means-other-frame.
24844 (display-buffer-macro-specifiers): Comment out entry for
24845 other-window specifier.
24846 (display-buffer-other-window-means-other-frame): New function.
24847 (display-buffer-normalize-specifiers-1): New arguments
24848 buffer-name and label. Treat other-window case specially.
24849 (display-buffer-normalize-specifiers-2): Treat other-window case
24850 specially.
24851 (display-buffer-normalize-specifiers-3): New function.
24852 (display-buffer-normalize-specifiers):
24853 Call display-buffer-normalize-specifiers-3.
24854
24855 2011-06-17 Martin Rudalics <rudalics@gmx.at>
24856
24857 * window.el (same-window-p): Fix two typos introduced when
24858 adding with-no-warnings.
24859 (display-buffer-normalize-specifiers-1): Don't check
24860 pop-up-frames for 'unset initialization.
24861 (display-buffer-normalize-specifiers-2): Major rewrite using
24862 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
24863 (pop-up-frames, display-buffer-reuse-frames)
24864 (display-buffer-mark-dedicated): Don't initialize to 'unset.
24865 Suggested by David Engster <deng@randomsample.de>.
24866 (even-window-heights): Initialize to 'unset.
24867 (display-buffer-alist-set): Handle new 'unset initializations.
24868 (display-buffer-macro-specifiers): Don't pop up a new frame in the
24869 other window case.
24870
24871 2011-06-16 Martin Rudalics <rudalics@gmx.at>
24872
24873 * window.el (display-buffer-normalize-specifiers-1):
24874 Respect current value of pop-up-frames for most reasonable values of
24875 second argument of display-buffer (Bug#8865).
24876 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
24877 (switch-to-buffer-other-window-same-frame)
24878 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
24879 Adams (Bug#8875).
24880 (display-buffer): Don't check noninteractive when calling
24881 display-buffer-pop-up-frame.
24882 (display-buffer-pop-up-frame): Never pop up a frame in
24883 noninteractive mode (Bug#8857).
24884 (enlarge-window, shrink-window): Don't report an error when the
24885 window can't be resized as requested (Bug#8862).
24886
24887 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
24888
24889 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
24890
24891 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
24892
24893 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
24894
24895 2011-06-15 Alan Mackenzie <acm@muc.de>
24896
24897 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
24898 for declarators, disable knr checking to speed up for normal files.
24899 2: Refactor, replacing a sequence of nested if forms by a cond form.
24900
24901 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
24902
24903 * net/network-stream.el (open-network-stream): Add the keyword
24904 :always-query-capabilities for the case where you want to force a
24905 `plain' network connection, but the protocol still requires the
24906 capabilitiy command (i.e., SMTP and EHLO).
24907
24908 * subr.el (process-live-p): Rename from `process-alive-p' for
24909 consistency with other `-live-p' functions.
24910
24911 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
24912
24913 * window.el (same-window-buffer-names, same-window-regexps)
24914 (special-display-frame-alist, special-display-popup-frame)
24915 (special-display-function, special-display-buffer-names)
24916 (special-display-regexps, pop-up-frame-alist)
24917 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
24918 (pop-up-windows, split-window-preferred-function)
24919 (split-height-threshold, split-width-threshold, even-window-heights)
24920 (display-buffer-mark-dedicated): Don't encourage the use of
24921 display-buffer-alist from Elisp code.
24922
24923 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
24924
24925 * progmodes/python.el (python-mode): Derive from prog-mode.
24926 * progmodes/ps-mode.el (ps-mode):
24927 * progmodes/mixal-mode.el (mixal-mode):
24928 * progmodes/cfengine.el (cfengine-mode):
24929 * progmodes/ld-script.el (ld-script-mode): Likewise.
24930
24931 2011-06-15 Martin Rudalics <rudalics@gmx.at>
24932
24933 * window.el (display-buffer-alist): Trim default value to avoid
24934 popping up a new frame (Bug#8857) or reusing an arbitrary window
24935 on another frame.
24936 (display-buffer): Do not fall back on popping up a new frame in
24937 batch mode (Bug#8857).
24938
24939 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
24940
24941 * cus-theme.el (describe-theme-1): Use custom-theme-p.
24942 (custom-theme-summary): New function.
24943 (customize-themes): Use it.
24944
24945 2011-06-13 Glenn Morris <rgm@gnu.org>
24946
24947 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
24948
24949 2011-06-13 Martin Rudalics <rudalics@gmx.at>
24950
24951 * help.el (help-window): Remove variable.
24952 (help-window-point-marker, temp-buffer-max-height)
24953 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
24954 (help-print-return-message): Don't set help-window.
24955 (resize-temp-buffer-window): Rewrite cod eand doc-string.
24956 (help-window-setup-finish): Remove.
24957 (help-window-display-message, help-window-setup)
24958 (with-help-window): Major rewrite based on new
24959 display-buffer-window variable.
24960
24961 * help-mode.el (help-mode-finish): Remove help-window related
24962 code.
24963
24964 * view.el (view-exits-all-viewing-windows): Remove reference to
24965 view-return-to-alist in doc-string.
24966 (view-return-to-alist): Make obsolete.
24967 (view-buffer): Call pop-to-buffer-same-window and remove
24968 undo-window code.
24969 (view-buffer-other-window): Call pop-to-buffer-other-window and
24970 simplify code. Ignore second argument.
24971 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
24972 simplify code. Ignore second argument.
24973 (view-return-to-alist-update): Make obsolete.
24974 (view-mode-enter): Rename second argument to QUIT-RESTORE.
24975 Rewrite using quit-restore window parameters.
24976 (view-mode-exit): Rename second argument to EXIT-ONLY.
24977 Rewrite using quit-restore-window.
24978 (View-exit, View-exit-and-edit, View-leave, View-quit)
24979 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
24980 appropriate arguments.
24981 (view-end-message): Use quit-restore window parameter.
24982
24983 * window.el (display-buffer-function): Rewrite doc-string.
24984 (display-buffer-window, display-buffer-alist): New variables.
24985 (display-buffer-split-specifiers)
24986 (display-buffer-side-specifiers)
24987 (display-buffer-macro-specifiers): New constants.
24988 (display-buffer-even-window-sizes, display-buffer-set-height)
24989 (display-buffer-set-width, display-buffer-select-window)
24990 (display-buffer-in-window, display-buffer-reuse-window)
24991 (display-buffer-split-window-1, display-buffer-split-window)
24992 (display-buffer-split-atom-window, display-buffer-pop-up-window)
24993 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
24994 (display-buffer-in-side-window, normalize-buffer-to-display)
24995 (display-buffer-normalize-specifiers-1)
24996 (display-buffer-normalize-specifiers-2)
24997 (display-buffer-normalize-specifiers, display-buffer-frame):
24998 New functions.
24999 (display-buffer): Major rewrite.
25000 (display-buffer-other-window, display-buffer-other-frame)
25001 (pop-to-buffer, switch-to-buffer-other-window)
25002 (switch-to-buffer-other-frame): Rewrite.
25003 (display-buffer-same-window, display-buffer-same-frame)
25004 (display-buffer-same-frame-other-window)
25005 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
25006 (pop-to-buffer-other-window)
25007 (pop-to-buffer-same-frame-other-window)
25008 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
25009 (switch-to-buffer-other-window-same-frame): New functions.
25010 (same-window-p, special-display-p): Rewrite disabling warnings.
25011 Make obsolete.
25012 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
25013 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
25014 Make obsolete
25015 (same-window-buffer-names, same-window-regexps)
25016 (special-display-frame-alist, special-display-popup-frame)
25017 (special-display-function, special-display-buffer-names)
25018 (special-display-regexps, pop-up-frame-alist)
25019 (pop-up-frame-function, split-window-preferred-function)
25020 (split-height-threshold, split-width-threshold)
25021 (even-window-heights): Make obsolete.
25022
25023 2011-06-12 Glenn Morris <rgm@gnu.org>
25024
25025 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
25026 Misc simplifications.
25027
25028 2011-06-12 Martin Rudalics <rudalics@gmx.at>
25029
25030 * window.el (window-safely-shrinkable-p): Restore function which
25031 was inadvertently removed in change from 2011-06-11. Declare as
25032 obsolete.
25033
25034 * calendar/calendar.el (calendar-generate-window):
25035 Use window-iso-combined-p instead of combination of one-window-p and
25036 window-safely-shrinkable-p.
25037
25038 2011-06-12 Glenn Morris <rgm@gnu.org>
25039
25040 * progmodes/fortran.el (fortran-mode-syntax-table):
25041 * progmodes/f90.el (f90-mode-syntax-table):
25042 Set % to punctuation. (Bug#8820)
25043 (f90-find-tag-default): Remove, no longer needed.
25044
25045 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
25046
25047 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
25048
25049 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
25050
25051 * image.el (image-animated-p): Return animation delay in seconds.
25052 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
25053 (image-animate-timeout): Remove DELAY argument. Don't assume
25054 every subimage has the same delay; get it from image-animated-p.
25055 (image-animate): Caller changed.
25056
25057 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
25058
25059 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
25060 to ignored backtrace functions.
25061
25062 2011-06-11 Glenn Morris <rgm@gnu.org>
25063
25064 * calendar/appt.el (appt-disp-window-function): Doc fix.
25065 (appt-check): Handle overlapping appointments. (Bug#8337)
25066
25067 2011-06-11 Martin Rudalics <rudalics@gmx.at>
25068
25069 * window.el (window-tree-1, window-tree): New functions, moving
25070 the latter to window.el.
25071 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
25072 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
25073 (bw-refresh-edges): Remove.
25074 (balance-windows-1, balance-windows-2): New functions.
25075 (balance-windows): Rewrite in terms of window tree functions,
25076 balance-windows-1 and balance-windows-2.
25077 (bw-adjust-window): Remove.
25078 (balance-windows-area-adjust): New function with functionality of
25079 bw-adjust-window but using resize-window.
25080 (set-window-text-height): Rewrite doc-string.
25081 Use normalize-live-window and resize-window.
25082 (enlarge-window-horizontally, shrink-window-horizontally):
25083 Rename argument to DELTA.
25084 (window-buffer-height): New function.
25085 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
25086 Rewrite using new window resize routines.
25087 (kill-buffer-and-window, mouse-autoselect-window-select):
25088 Use ignore-errors instead of condition-case.
25089 (quit-window): Call delete-frame instead of delete-windows-on
25090 for the only buffer on frame.
25091
25092 2011-06-10 Martin Rudalics <rudalics@gmx.at>
25093
25094 * loadup.el (top-level): Load window before files for the sake
25095 of replace-buffer-in-windows.
25096
25097 * files.el (read-buffer-to-switch)
25098 (switch-to-buffer-other-window)
25099 (switch-to-buffer-other-frame, display-buffer-other-frame):
25100 Move to window.el.
25101
25102 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
25103 (previous-buffer): Move to window.el.
25104
25105 * bindings.el (unbury-buffer): Move to window.el.
25106
25107 * window.el (delete-other-windows-vertically): Move after
25108 definition of delete-other-windows.
25109 (other-window, delete-windows-on, replace-buffer-in-windows):
25110 Move here from window.c.
25111 (record-window-buffer, unrecord-window-buffer)
25112 (set-window-buffer-start-and-point, switch-to-prev-buffer)
25113 (switch-to-next-buffer): New functions.
25114 (get-next-valid-buffer, last-buffer, next-buffer): Move here
25115 from simple.el. Call switch-to-next-buffer.
25116 (previous-buffer): Move here from simple.el.
25117 Call switch-to-prev-buffer.
25118 (bury-buffer): Move here from buffer.c. Switch to previous
25119 buffer when window cannot be deleted.
25120 (unbury-buffer): Move here from bindings.el.
25121 (ctl-x-map): Move binding for other-window from window.c to
25122 here.
25123 (read-buffer-to-switch, switch-to-buffer-other-window)
25124 (switch-to-buffer-other-frame): Move here from files.el.
25125 (normalize-buffer-to-switch-to): New functions.
25126 (switch-to-buffer): Move here from buffer.c.
25127 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
25128
25129 2011-06-10 Martin Rudalics <rudalics@gmx.at>
25130
25131 * window.el (window-min-height, window-min-width): Move here
25132 from window.c. Add defcustoms and rewrite doc-strings.
25133 (resize-mini-window, resize-window): New functions.
25134 (adjust-window-trailing-edge, enlarge-window, shrink-window):
25135 Move here from window.c.
25136 (maximize-window, minimize-window): New functions.
25137 (delete-window, delete-other-windows, split-window): Move here
25138 from window.c.
25139 (window-split-min-size): New function.
25140 (split-window-keep-point): Mention split-window-above-each-other
25141 instead of split-window-vertically.
25142 (split-window-above-each-other, split-window-vertically):
25143 Rename split-window-vertically to split-window-above-each-other
25144 and provide defalias for old definition.
25145 (split-window-side-by-side, split-window-horizontally):
25146 Rename split-window-horizontally to split-window-side-by-side
25147 and provide defalias for the old definition.
25148 (ctl-x-map): Move bindings for delete-window,
25149 delete-other-windows and enlarge-window here from window.c.
25150 Replace bindings for split-window-vertically and
25151 split-window-horizontally by bindings for
25152 split-window-above-each-other and split-window-side-by-side.
25153
25154 * cus-start.el (all): Remove entries for window-min-height and
25155 window-min-width. Add entries for window-splits and
25156 window-nest.
25157
25158 2011-06-09 Glenn Morris <rgm@gnu.org>
25159
25160 * calendar/appt.el (appt-mode-line): New function.
25161 (appt-check, appt-disp-window): Use it.
25162
25163 * files.el (hack-one-local-variable-eval-safep):
25164 Allow minor-modes with explicit +/-1 arguments.
25165
25166 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
25167
25168 * term/xterm.el (xterm): Add defgroup.
25169 (xterm-extra-capabilities): Add defcustom to supply known xterm
25170 capabilities, skip querying them, or query them (default).
25171 (terminal-init-xterm): Use it.
25172 (terminal-init-xterm-modify-other-keys): New function to set up
25173 modifyOtherKeys support to simplify `terminal-init-xterm'.
25174
25175 2011-06-09 Martin Rudalics <rudalics@gmx.at>
25176
25177 * window.el (resize-window-reset, resize-window-reset-1)
25178 (resize-subwindows-skip-p, resize-subwindows-normal)
25179 (resize-subwindows, resize-other-windows, resize-this-window)
25180 (resize-root-window, resize-root-window-vertically)
25181 (window-deletable-p, window-or-subwindow-p)
25182 (frame-root-window-p): New functions.
25183
25184 2011-06-09 Glenn Morris <rgm@gnu.org>
25185
25186 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
25187 (ange-ftp-get-files): Use it.
25188
25189 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
25190
25191 * mail/sendmail.el (mail-recover-1, mail-recover):
25192 * files.el (recover-file, recover-session):
25193 Handle dired-listing-switches not being just a single short option.
25194
25195 2011-06-09 Glenn Morris <rgm@gnu.org>
25196
25197 * calendar/appt.el (appt-display-message, appt-disp-window):
25198 Handle lists of appointments.
25199
25200 2011-06-08 Martin Rudalics <rudalics@gmx.at>
25201
25202 * window.el (one-window-p): Move down in code.
25203 Rewrite doc-string.
25204 (window-current-scroll-bars): Rewrite doc-string.
25205 Normalize live window argument.
25206 (walk-windows, get-window-with-predicate, count-windows):
25207 Rewrite doc-string. Use window-list-1.
25208 (window-in-direction-2, window-in-direction, get-mru-window):
25209 New functions.
25210
25211 2011-06-08 Reuben Thomas <rrt@sc3d.org>
25212
25213 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
25214 Doc fix (Bug#8713).
25215
25216 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
25217
25218 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
25219
25220 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
25221
25222 * loadhist.el (unload-feature-special-hooks):
25223 Add `comint-output-filter-functions'.
25224
25225 2011-06-08 Ivan Kanis <gnu@kanis.fr>
25226
25227 * calendar/appt.el (appt-check): Move some initializations into the let.
25228
25229 2011-06-08 Martin Rudalics <rudalics@gmx.at>
25230
25231 * window.el (window-height): Defalias to window-total-height.
25232 (window-width): Defalias to window-body-width.
25233
25234 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
25235
25236 * image-mode.el (image-toggle-animation): New command.
25237 (image-mode-map): Bind it to RET.
25238 (image-mode): Update message.
25239 (image-toggle-display-image): Avoid a spurious cache flush.
25240 (image-transform-rotation): Doc fix.
25241 (image-transform-properties): Return quickly in the normal case.
25242 (image-animate-loop): Rename from image-animate-max-time.
25243
25244 * image.el (image-animate-max-time): Move to image-mode.el.
25245 (create-animated-image): Remove unnecessary function.
25246 (image-animate): Rename from image-animate-start. New arg.
25247 (image-animate-stop): Remove; just use image-animate-timer.
25248 (image-animate-timer): Use car-safe.
25249 (image-animate-timeout): Rename argument.
25250
25251 2011-06-07 Martin Rudalics <rudalics@gmx.at>
25252
25253 * window.el (get-lru-window, get-largest-window): Move here from
25254 window.c. Rename first argument to ALL-FRAMES.
25255 Rephrase doc-strings.
25256 (get-buffer-window-list): Rewrite using window-list-1.
25257 Rephrase doc-string.
25258 (window-safe-min-height, window-safe-min-width): New constants.
25259 (window-size-ignore, window-min-size, window-min-size-1)
25260 (window-sizable, window-sizable-p, window-size-fixed-1)
25261 (window-size-fixed-p, window-min-delta-1, window-min-delta)
25262 (window-max-delta-1, window-max-delta, window-resizable)
25263 (window-resizable-p, window-total-height, window-total-width)
25264 (window-body-width): New functions.
25265 (window-full-height-p, window-full-width-p): Rewrite using
25266 window-total-size.
25267 (window-body-height): Rewrite using window-body-size.
25268
25269 2011-06-06 Martin Rudalics <rudalics@gmx.at>
25270
25271 * window.el (window-right, window-left, window-child)
25272 (window-child-count, window-last-child, window-any-p)
25273 (normalize-live-buffer, normalize-live-frame)
25274 (normalize-any-window, normalize-live-window)
25275 (window-iso-combination-p, window-iso-combined-p)
25276 (window-iso-combinations)
25277 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
25278 (windows-with-parameter, window-with-parameter)
25279 (window-atom-root, make-window-atom, window-atom-check-1)
25280 (window-atom-check, window-side-check, window-check):
25281 New functions.
25282 (ignore-window-parameters, window-sides, window-sides-vertical)
25283 (window-sides-slots): New variables.
25284 (window-size-fixed): Move down in code. Minor doc-string fix.
25285
25286 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
25287
25288 * comint.el (comint-dynamic-complete-as-filename)
25289 (comint-dynamic-complete-filename): Correctly call
25290 completion-in-region.
25291
25292 2011-06-05 Deniz Dogan <deniz@dogan.se>
25293
25294 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
25295 in last change.
25296
25297 2011-06-05 Deniz Dogan <deniz@dogan.se>
25298
25299 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
25300 (rcirc): Use it to prompt for encryption.
25301
25302 2011-06-05 Roland Winkler <winkler@gnu.org>
25303
25304 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
25305 (bibtex-search-entries): New command bound to C-c C-a.
25306 (bibtex-display-entries): New function.
25307
25308 2011-06-05 Roland Winkler <winkler@gnu.org>
25309
25310 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
25311 (bibtex-insert-kill): After yanking insert newline if necessary.
25312 (bibtex-initialize): Call bibtex-string-files-init only once.
25313 (bibtex-mode): Do not call easy-menu-add.
25314 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
25315 (bibtex-yank): Set arg properly if nil.
25316
25317 2011-06-05 Roland Winkler <winkler@gnu.org>
25318
25319 * textmodes/bibtex.el (bibtex-search-entry-globally):
25320 New variable.
25321 (bibtex-search-entry): Use it.
25322
25323 2011-06-05 Roland Winkler <winkler@gnu.org>
25324
25325 * textmodes/bibtex.el (bibtex-entry-format): New option
25326 sort-fields.
25327 (bibtex-format-entry, bibtex-reformat): Honor this option.
25328 (bibtex-parse-entry): Return fields in proper order.
25329
25330 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
25331
25332 * doc-view.el (doc-view-remove-if): Move computation of result out
25333 of `dolist' to silence misleading lexical-binding warning.
25334
25335 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
25336
25337 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
25338 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
25339
25340 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
25341
25342 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
25343 "SunOS 5.10".
25344
25345 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
25346
25347 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
25348 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
25349 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
25350 (tramp-parse-putty):
25351 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
25352 (tramp-completion-function-alist-ssh)
25353 (tramp-completion-function-alist-telnet)
25354 (tramp-completion-function-alist-su)
25355 (tramp-completion-function-alist-putty): Set `tramp-autoload'
25356 cookie.
25357
25358 * net/tramp-ftp.el:
25359 * net/tramp-sh.el:
25360 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
25361 load "tramp.el" `tramp-set-completion-function'.
25362
25363 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
25364
25365 * shell.el: Require and use pcomplete.
25366 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
25367 (shell-completion-vars): Set pcomplete-default-completion-function.
25368
25369 2011-06-04 Deniz Dogan <deniz@dogan.se>
25370
25371 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
25372 `memq' (Bug#8799).
25373
25374 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
25375
25376 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
25377
25378 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
25379
25380 * bs.el (bs--mark-unmark, bs--nth-wrapper):
25381 * mpc.el (mpc-select-extend, mpc-songpointer-context):
25382 * vc/log-view.el (log-view-beginning-of-defun):
25383 * vc/smerge-mode.el (smerge-apply-resolution-patch)
25384 (smerge-refine-forward, smerge-refine-chopup-region):
25385 Silence warning for unused `dotimes' counter variables.
25386
25387 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
25388
25389 * net/tramp.el (tramp-with-progress-reporter): Rename from
25390 with-progress-reporter. Use `declare'.
25391 * net/tramp-smb.el:
25392 * net/tramp-sh.el:
25393 * net/tramp-gvfs.el: Update all uses.
25394
25395 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
25396
25397 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
25398 buffer isn't killed before making it current.
25399
25400 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
25401
25402 Silence various byte-compiler warnings.
25403 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
25404 `access-type' and new obsolescence format.
25405 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
25406 new format.
25407 (byte-compile-check-variable): New `access-type' argument.
25408 Only warn if the access-type is obsolete.
25409 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
25410 (byte-compile-variable-set): Adjust callers.
25411 * help-fns.el (describe-variable): Adjust to new obsolescence format.
25412 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
25413 setting it as obsolete.
25414 * simple.el (minibuffer-completing-symbol):
25415 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
25416 access as obsolete.
25417 * minibuffer.el (minibuffer-completing-file-name): Don't make it
25418 obsolete yet.
25419 * international/quail.el (quail-mouse-choose-completion): Remove unused
25420 code referring to obsolete var.
25421 (quail-choose-completion-string): Remove.
25422 * server.el (server-clients-with, server-kill-buffer-query-function)
25423 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
25424 * proced.el (proced-send-signal):
25425 * emacs-lisp/lisp.el (lisp-complete-symbol):
25426 Replace completion-annotate-function with completion-extra-properties.
25427
25428 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
25429
25430 * simple.el (goto-line): Use read-number.
25431 (overriding-map-is-bound): Remove.
25432 (saved-overriding-map): Change default.
25433 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
25434 Take the map as argument.
25435 (universal-argument, negative-argument, digit-argument): Use it.
25436 (restore-overriding-map): Adjust.
25437 (do-auto-fill): Use fill-forward-paragraph.
25438 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
25439
25440 * minibuffer.el (minibuffer-inactive-mode-map): New var.
25441 (minibuffer-inactive-mode): New major mode.
25442 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
25443 the *Messages* buffer" hack.
25444 (mouse-popup-menubar): Don't burp if the event is a normal key.
25445
25446 Miscellaneous tweaks.
25447 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
25448 lexical scoping as in subr.el's dolist and dotimes.
25449 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
25450 Silence compiler warning.
25451 * thingatpt.el (forward-whitespace): Trivial coding style fix.
25452 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
25453 * international/ccl.el (ccl-compile): Trivial simplification.
25454 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
25455 * emacs-lisp/testcover.el (testcover-end): Remove spurious
25456 `printflag' argument.
25457 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
25458 Purecopy the whole obsolescence data.
25459
25460 2011-06-01 Leo Liu <sdl.web@gmail.com>
25461
25462 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
25463 improve doc-string as suggested by Marco Pessotto
25464 <melmothx@gmail.com>.
25465 (rcirc-print): Fix last change.
25466
25467 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
25468
25469 * minibuffer.el (complete-with-action): Return nil for the metadata and
25470 boundaries of non-functional tables.
25471 (completion-table-dynamic): Return nil for the metadata.
25472 (completion-table-with-terminator): Add default case, using
25473 complete-with-action.
25474 (completion--metadata): New function.
25475 (completion-all-sorted-completions, minibuffer-completion-help): Use it
25476 to try and avoid pathological performance problems.
25477 (completion--embedded-envvar-table): Return `category' metadata.
25478
25479 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
25480
25481 * subr.el (process-alive-p): New tiny convenience function.
25482
25483 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
25484
25485 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
25486 content but also its previous major mode.
25487
25488 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
25489
25490 * emacs-lisp/debug.el (debug): Restore the previous content of the
25491 *Backtrace* buffer when we exit with C-M-c.
25492
25493 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
25494
25495 * minibuffer.el: Add metadata method to completion tables.
25496 (completion-category-overrides): New defcustom.
25497 (completion-metadata, completion--field-metadata)
25498 (completion-metadata-get, completion--styles)
25499 (completion--cycle-threshold): New functions.
25500 (completion-try-completion, completion-all-completions):
25501 Add `metadata' argument to choose completion-styles.
25502 (completion--do-completion): Use metadata to choose cycling.
25503 (completion-all-sorted-completions): Use metadata for sorting.
25504 Remove :completion-cycle-penalty which is not needed any more.
25505 (completion--try-word-completion): Add `metadata' argument.
25506 (minibuffer-completion-help): Check metadata for annotation function
25507 and sorting.
25508 (completion-file-name-table): Return `category' metadata.
25509 (minibuffer-completing-file-name): Make obsolete.
25510 * simple.el (minibuffer-completing-symbol): Make obsolete.
25511 * icomplete.el (icomplete-completions): Pass new `metadata' param to
25512 completion-try-completion.
25513
25514 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
25515
25516 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
25517
25518 2011-05-30 Leo Liu <sdl.web@gmail.com>
25519
25520 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
25521 (rcirc-print): Decode all incoming messages (bug#8744).
25522 (rcirc-decode-coding-system): Allow value nil for automatic coding
25523 system detection.
25524
25525 2011-06-01 Glenn Morris <rgm@gnu.org>
25526
25527 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
25528
25529 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
25530
25531 * image.el (image-animate-max-time): Allow nil and t values.
25532 Default to nil.
25533 (create-animated-image): Doc fix.
25534 (image-animate-start): Remove second arg; just use
25535 image-animate-max-time.
25536 (image-animate-timeout): Doc fix. Args changed.
25537
25538 * image-mode.el (image-toggle-display-image): Ensure that the
25539 image spec passed to the animate timer is the same object as in
25540 the buffer's display property (Bug#6981).
25541 (image-transform-properties): Doc fix.
25542
25543 * image.el (image-animate-max-time): Default to nil.
25544
25545 2011-05-29 Martin Rudalics <rudalics@gmx.at>
25546
25547 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
25548 entire buffer list (Bug#8184).
25549
25550 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
25551
25552 * image.el (imagemagick-types-inhibit)
25553 (imagemagick-register-types): Doc fix.
25554
25555 2011-05-29 Deniz Dogan <deniz@dogan.se>
25556
25557 * net/rcirc.el (rcirc): Use the user's stored encryption method by
25558 default.
25559
25560 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
25561
25562 * select.el: Don't perform clipboard-manager saving in hooks;
25563 leave the hooks empty.
25564
25565 2011-05-28 Leo Liu <sdl.web@gmail.com>
25566
25567 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
25568 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
25569 (occur-edit-mode): New major mode (Bug#8463).
25570 (occur-after-change-function): New function.
25571 (occur-engine): Give Occur tags a read-only property.
25572
25573 2011-05-28 Kevin Ryde <user42@zip.com.au>
25574
25575 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
25576
25577 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
25578
25579 * bindings.el (help-echo): Make the initial non-indicator dash
25580 empty on graphical terminals (Bug#7295).
25581
25582 * files.el (auto-mode-alist): Move config rule after the
25583 in-stripping one (Bug#8547).
25584
25585 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
25586
25587 * startup.el (normal-splash-screen): Remove gratuitous mode-line
25588 setting (Bug#8740).
25589
25590 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
25591
25592 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
25593 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
25594 (Bug#8539).
25595
25596 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
25597
25598 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
25599
25600 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
25601
25602 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
25603 (hs-hide-block-at-point, hs-find-block-beginning)
25604 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
25605 (Bug#8279).
25606
25607 2011-05-28 Glenn Morris <rgm@gnu.org>
25608
25609 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
25610
25611 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
25612
25613 * help-fns.el (describe-function-1): If the function is a derived
25614 major mode, print the parent mode.
25615
25616 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
25617 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
25618
25619 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
25620
25621 * minibuffer.el (completion--capf-wrapper): Check applicability before
25622 returning non-nil for non-exclusive completion data.
25623 * progmodes/etags.el (tags-completion-at-point-function):
25624 * info-look.el (info-lookup-completions-at-point): Mark as
25625 non-exclusive.
25626 (info-complete): Adjust accordingly.
25627
25628 * info-look.el: Convert to lexical-binding and completion-at-point.
25629 (info-lookup-completions-at-point): New function.
25630 (info-complete): Use it and completion-in-region.
25631
25632 2011-05-28 Drew Adams <drew.adams@oracle.com>
25633
25634 * isearch.el: Let M-e start with point at the first mismatched char.
25635 (isearch-fail-pos): New function.
25636 (isearch-edit-string): Use it.
25637
25638 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
25639
25640 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
25641
25642 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
25643
25644 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
25645 traversal functions for avl-trees.
25646 (avl-tree--stack): New struct.
25647 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
25648 (avl-tree-enter): Add optional `updatefun' arg.
25649 (avl-tree--do-enter): Add optional `updatefun' arg.
25650 Change return value.
25651 (avl-tree-delete): Add optional `test' and `nilflag' args.
25652 (avl-tree--do-delete): Add `test' and `nilflag' args.
25653 Change return value.
25654 (avl-tree-member): Add optional `nilflag'
25655 (avl-tree-member-p): New function.
25656 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
25657 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
25658 (avl-tree-stack-empty-p): New functions.
25659
25660 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
25661 avl-tree--del-balance1 and make it work both ways.
25662 (avl-tree--del-balance2): Remove.
25663 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
25664 make it work both ways.
25665 (avl-tree--enter-balance2): Remove.
25666 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
25667 New macros.
25668 (avl-tree--mapc, avl-tree-map): Add direction argument.
25669
25670 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
25671
25672 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
25673
25674 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
25675
25676 * select.el: Support clipboard managers with built-in function
25677 x-clipboard-manager-save, via delete-frame-functions and
25678 kill-emacs-hook.
25679 (xselect-convert-to-targets): Add MULTIPLE target to list.
25680 (xselect-convert-to-save-targets): New function.
25681
25682 2011-05-27 Kenichi Handa <handa@m17n.org>
25683
25684 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
25685 let-binding rfc2047-encode-encoded-words to nil.
25686
25687 2011-05-27 Glenn Morris <rgm@gnu.org>
25688
25689 * mail/emacsbug.el: Don't require url-util.
25690
25691 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
25692
25693 * files.el (set-auto-mode):
25694 Also respect mode: entries at the end of the file. (Bug#8586)
25695
25696 2011-05-26 Glenn Morris <rgm@gnu.org>
25697
25698 * files.el (hack-local-variables-prop-line, hack-local-variables):
25699 Downcase mode names, as seems to be traditional.
25700 (hack-local-variables, hack-local-variables-apply): Doc fixes.
25701
25702 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
25703 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
25704
25705 2011-05-25 Julien Danjou <julien@danjou.info>
25706
25707 * textmodes/rst.el (rst-define-level-faces): Do not define face
25708 symbol if it is already defined.
25709
25710 2011-05-24 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
25711
25712 * play/5x5.el (5x5-new-game, 5x5-randomize):
25713 Reset 5x5-solver-output to nil when a new grid is cast.
25714 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
25715 these debugging traces, as defmacro breaks the compiled code.
25716
25717 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
25718
25719 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
25720
25721 2011-05-24 Leo Liu <sdl.web@gmail.com>
25722
25723 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
25724 (vc-bzr-sha1): Adapt.
25725
25726 * sha1.el: Remove. Function `sha1' is now builtin.
25727
25728 * bindings.el: Provide sha1 feature.
25729
25730 2011-05-24 Kenichi Handa <handa@m17n.org>
25731
25732 * mail/sendmail.el: Require `rfc2047'.
25733 (mail-insert-from-field): Do not perform RFC2047 encoding.
25734 (mail-encode-header): New function.
25735 (sendmail-send-it): Set buffer-file-coding-system of the work
25736 buffer to the return value of select-message-coding-system.
25737 Call mail-encode-header.
25738
25739 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
25740
25741 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
25742
25743 * mail/supercite.el (sc-default-cite-frame):
25744 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
25745
25746 2011-05-24 Glenn Morris <rgm@gnu.org>
25747
25748 * progmodes/python.el (brm-menu): Declare.
25749
25750 * emulation/viper.el (viper-set-hooks): Declare.
25751
25752 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
25753 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
25754 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
25755 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
25756 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
25757 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
25758
25759 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
25760
25761 Add an :exit-function for completion-at-point.
25762
25763 * minibuffer.el (completion--done): New fun.
25764 (completion--do-completion): Use it. New arg `expect-exact'.
25765 (minibuffer-complete, minibuffer-complete-word): Don't output message,
25766 since completion--do-completion does it for us now.
25767 (minibuffer-force-complete): Use completion--done and
25768 completion--replace. Handle sole-completion case with more care.
25769 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
25770 (completion-extra-properties): New var.
25771 (completion-annotate-function): Make obsolete.
25772 (minibuffer-completion-help): Adjust accordingly.
25773 Use completion-list-insert-choice-function.
25774 (completion-at-point, completion-help-at-point):
25775 Bind completion-extra-properties.
25776 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
25777 * simple.el (completion-list-insert-choice-function): New var.
25778 (completion-setup-function): Preserve it.
25779 (choose-completion): Pay attention to it, shuffle the code a bit.
25780 (choose-completion-string): New arg `insert-function'.
25781
25782 * textmodes/bibtex.el: Convert to lexical binding.
25783 (bibtex-mode-map): Use completion-at-point.
25784 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
25785 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
25786 (bibtex-complete): Define as obsolete alias.
25787 (bibtex-complete-internal): Remove.
25788 (bibtex-format-entry): Remove unused sub-group in regexp.
25789 * shell.el (shell--command-completion-data)
25790 (shell-environment-variable-completion):
25791 * pcomplete.el (pcomplete-completions-at-point):
25792 * comint.el (comint--complete-file-name-data): Use :exit-function
25793 instead of completion-table-with-terminator so it also works for
25794 choose-completion.
25795
25796 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
25797
25798 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
25799
25800 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
25801 (bug#8710).
25802
25803 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
25804
25805 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
25806
25807 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
25808 customization variable and implement: If non-nil, auto-fill will
25809 be inhibited while on topic's header line.
25810
25811 2011-05-23 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
25812
25813 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
25814 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
25815 always have a solution in grid size = 5 cases.
25816 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
25817 (5x5-solver-output, 5x5-log-buffer): New vars.
25818 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
25819 Make these variables buffer local to achieve 5x5 multi-session-ness.
25820 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
25821 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
25822 (5x5-solve-suggest): New funs.
25823 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
25824 randomize a grid so that we ensure that there is always a solution.
25825 (5x5-make-random-grid): Allow other movement than flipping.
25826
25827 2011-05-23 Kevin Ryde <user42@zip.com.au>
25828
25829 * emacs-lisp/advice.el (ad-read-advised-function):
25830 Use `function-called-at-point' as the default, if it has
25831 advice and passes PREDICATE.
25832
25833 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
25834
25835 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
25836 byte-compile-lambda if it's actually a lambda.
25837
25838 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
25839 Fix function quoting. Use backquote better.
25840
25841 2011-05-22 Yuanle Song <sylecn@gmail.com>
25842
25843 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
25844 matching (Bug#8516).
25845
25846 2011-05-22 Jari Aalto <jari.aalto@cante.net>
25847
25848 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
25849 different face (Bug#8178).
25850
25851 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
25852
25853 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
25854 defface (Bug#8144).
25855
25856 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
25857
25858 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
25859 funcall as well (bug#8712). Warn when performing those conversions.
25860 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
25861
25862 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
25863
25864 2011-05-22 Glenn Morris <rgm@gnu.org>
25865
25866 * files.el (hack-local-variables-prop-line): Small simplifications.
25867 (hack-local-variables, hack-local-variables-prop-line):
25868 If MODE-ONLY, return the mode, rather than just `t'.
25869
25870 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
25871
25872 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
25873
25874 2011-05-21 Glenn Morris <rgm@gnu.org>
25875
25876 * files.el (hack-local-variables-prop-line, hack-local-variables):
25877 If only interested in the mode, don't bother doing the other stuff.
25878
25879 * image-mode.el (image-after-revert-hook):
25880 Redraw all frames on which the image is visible. (Bug#8567)
25881
25882 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
25883
25884 * wid-edit.el (widget-checklist-match-inline):
25885 Fix 2011-04-19 change. (Bug#8649)
25886
25887 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
25888
25889 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
25890 Also allow singlespace after single-letter capitals followed by a dot.
25891
25892 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
25893 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
25894
25895 2011-05-20 Nix <nix@esperi.org.uk>
25896
25897 * files.el (basic-save-buffer-2):
25898 Fix handling of break-hardlink-on-save with non-existent files.
25899
25900 2011-05-19 Deniz Dogan <deniz@dogan.se>
25901
25902 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
25903 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
25904
25905 2011-05-19 Glenn Morris <rgm@gnu.org>
25906
25907 * progmodes/f90.el (f90-type-def-re):
25908 Handle "type, bind(c)". (Bug#8691)
25909
25910 * emacs-lisp/autoload.el (batch-update-autoloads):
25911 Set autoload-excludes by parsing loadup.el rather than Makefiles.
25912
25913 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
25914
25915 * net/tramp.el (tramp-process-actions): Set "first-password-request"
25916 property for the correct connection in case of multihops.
25917
25918 2011-05-18 Glenn Morris <rgm@gnu.org>
25919
25920 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
25921 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
25922
25923 Rationalize calendar handling of day and month abbrev-arrays.
25924 * calendar/calendar.el (calendar-customized-p): New function.
25925 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
25926 (calendar-day-name-array, calendar-month-name-array): Doc fix.
25927 Add :set function.
25928 (calendar-abbrev-length, calendar-day-abbrev-array)
25929 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
25930 (calendar-day-abbrev-array, calendar-month-abbrev-array):
25931 Elements may no longer be nil.
25932 (calendar-day-name, calendar-month-name):
25933 Update for changed nature of abbrev arrays.
25934 * calendar/diary-lib.el (diary-name-pattern):
25935 Update for changed nature of abbrev arrays.
25936 (diary-mark-entries-1): Update calendar-make-alist calls.
25937 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
25938 * calendar/cal-html.el (cal-html-day-abbrev-array):
25939 Simply inherit from calendar-day-abbrev-array.
25940
25941 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
25942
25943 * progmodes/grep.el (grep-mode): Disable default
25944 compilation-directory-matcher setting (bug#8684).
25945
25946 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
25947
25948 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
25949 instead of "head" and "tail". There were problems with SunOS 5.9,
25950 and it performs better.
25951
25952 2011-05-17 Glenn Morris <rgm@gnu.org>
25953
25954 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
25955
25956 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
25957 Replace obsolete function.
25958
25959 * shell.el (pcomplete-parse-arguments-function): Declare.
25960
25961 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
25962 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
25963 (appt-check): Doc fixes.
25964 (appt-disp-window-function, appt-delete-window-function):
25965 Remove needless special case in custom :type.
25966 (appt-display-count): Default to 0, not nil.
25967 (appt-check): Reset appt-display-count to 0, not nil.
25968
25969 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
25970
25971 * progmodes/python.el (python-font-lock-keywords):
25972 Add the Python 3.X keyword "nonlocal" (bug#8639).
25973
25974 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
25975
25976 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
25977
25978 2011-05-16 Kevin Ryde <user42@zip.com.au>
25979
25980 * info-look.el (makefile-automake-mode): New setups, looking in
25981 automake manual, then makefile-mode.
25982 (makefile-mode): Remove automake manual, have it just in
25983 makefile-automake-mode since there's various things different or
25984 not relevant to plain make.
25985 (makefile-mode): Remove "other-modes" non-existent automake-mode,
25986 believe a hypothetical automake-mode would go to makefile-mode,
25987 not the other way around.
25988
25989 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
25990
25991 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
25992 hunk-end tags (Bug#8672).
25993
25994 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
25995 vc-annotate-show-diff-revision-at-line (Bug#8671).
25996
25997 2011-05-14 Glenn Morris <rgm@gnu.org>
25998
25999 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
26000 in the middle of an existing one with multiple authors. (Bug#8645)
26001 (change-log-font-lock-keywords): Also handle multiple author lines
26002 with leading tabs. (Bug#8644)
26003
26004 * calendar/appt.el (appt-check): Rename some local variables.
26005 Some simplification/reordering.
26006
26007 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
26008 (feedmail-sendmail-f-doesnt-sell-me-out)
26009 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
26010 (feedmail-debug-sit-for, feedmail-queue-express-hook)
26011 (feedmail-queue-runner-message-sender): Set :version.
26012 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
26013 (bbdb-dwim-net-address, vm-mail): Declare.
26014 (feedmail-binmail-gnulinuxish-template):
26015 Rename from feedmail-binmail-linuxish-template.
26016 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
26017 Use insert-buffer-substring.
26018
26019 2011-05-14 Bill Carpenter <bill@carpenter.org>
26020
26021 * mail/feedmail.el (feedmail-patch-level): Increase.
26022 (feedmail-debug): New custom group.
26023 (feedmail-confirm-outgoing-timeout)
26024 (feedmail-sendmail-f-doesnt-sell-me-out)
26025 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
26026 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
26027 (feedmail-sender-line, feedmail-from-line)
26028 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
26029 (feedmail-spray-this-address)
26030 (feedmail-spray-address-fiddle-plex-list)
26031 (feedmail-queue-use-send-time-for-date)
26032 (feedmail-queue-use-send-time-for-message-id)
26033 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
26034 (feedmail-buffer-eating-function):
26035 Doc fixes.
26036 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
26037 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
26038 (feedmail-message-action-scroll-down): New functions.
26039 (feedmail-queue-directory, feedmail-queue-draft-directory):
26040 Use expand-file-name.
26041 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
26042 Remove C-v help entry.
26043 (feedmail-queue-buffer-file-name): New variable.
26044 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
26045 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
26046 (feedmail-message-action-send-strong, feedmail-message-action-edit)
26047 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
26048 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
26049 (feedmail-message-action-toggle-spray)
26050 (feedmail-run-the-queue-no-prompts)
26051 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
26052 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
26053 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
26054 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
26055 (feedmail-envelope-deducer, feedmail-fiddle-from)
26056 (feedmail-fiddle-sender, feedmail-default-date-generator)
26057 (feedmail-fiddle-date, feedmail-fiddle-message-id)
26058 (feedmail-fiddle-spray-address)
26059 (feedmail-fiddle-list-of-spray-fiddle-plexes)
26060 (feedmail-fiddle-list-of-fiddle-plexes)
26061 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
26062 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
26063 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
26064 Change default. Doc fix.
26065 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
26066 (feedmail-binmail-linuxish-template): New constant.
26067 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
26068 Respect feedmail-sendmail-f-doesnt-sell-me-out.
26069 (feedmail-send-it): Add debug call.
26070 Use feedmail-queue-buffer-file-name, and
26071 feedmail-send-it-immediately-wrapper.
26072 (feedmail-message-action-send): Add debug call.
26073 Use feedmail-send-it-immediately-wrapper.
26074 (feedmail-queue-express-to-queue): Add debug call.
26075 Run feedmail-queue-express-hook.
26076 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
26077 (feedmail-message-action-help-blat):
26078 Rename from feedmail-queue-send-edit-prompt-help-first.
26079 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
26080 Check line-endings. Handle errors better.
26081 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
26082 Doc fix. Add debug call.
26083 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
26084 Use feedmail-queue-send-edit-prompt-inner.
26085 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
26086 (feedmail-queue-send-edit-prompt-inner): New function, extracted
26087 from feedmail-queue-send-edit-prompt.
26088 (feedmail-queue-send-edit-prompt-help)
26089 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
26090 (feedmail-tidy-up-slug): Add debug call.
26091 Respect feedmail-queue-slug-suspect-regexp.
26092 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
26093 (feedmail-dump-message-to-queue): Add debug call.
26094 Expand queue-directory.
26095 (feedmail-dump-message-to-queue): Change message slightly.
26096 Use feedmail-say-chatter.
26097 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
26098 (feedmail-send-it-immediately-wrapper): New function.
26099 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
26100 Insert empty string rather than newline. Handle full-frame case.
26101 Use catch/throw. Use feedmail-say-chatter.
26102 (feedmail-fiddle-from): Try mail-host-address.
26103 (feedmail-default-message-id-generator): Doc fix.
26104 Bind system-time-locale. Handle missing end.
26105 (feedmail-fiddle-x-mailer): Add debug call.
26106 Handle feedmail-x-mailer-line being nil.
26107 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
26108 Add debug call. Use buffer-substring-no-properties.
26109 (feedmail-say-debug, feedmail-say-chatter): New functions.
26110 (feedmail-find-eoh): Give an explicit error.
26111
26112 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
26113
26114 * net/newst-treeview.el (newsticker-treeview-face): Change default
26115 family from helvetica to sans.
26116 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
26117 etc/images/newsticker.
26118
26119 * net/newst-reader.el (newsticker-feed-face): Change default
26120 family from helvetica to sans.
26121
26122 * net/newst-plainview.el (newsticker-new-item-face)
26123 (newsticker-old-item-face, newsticker-immortal-item-face)
26124 (newsticker-obsolete-item-face, newsticker-date-face)
26125 (newsticker-statistics-face): Change default family from
26126 helvetica to sans.
26127 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
26128 etc/images/newsticker.
26129
26130 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
26131 (newsticker--process-auto-mark-filter-match): Tell user about
26132 auto-marking.
26133
26134 2011-05-13 Didier Verna <didier@xemacs.org>
26135
26136 Common Lisp indentation improvements on defmethod and lambda-lists.
26137 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
26138 TODO entries.
26139 (lisp-lambda-list-keyword-parameter-indentation)
26140 (lisp-lambda-list-keyword-parameter-alignment)
26141 (lisp-lambda-list-keyword-alignment): New customizable user options.
26142 (lisp-indent-defun-method): Improve docstring.
26143 (extended-loop-p): Fix comment.
26144 (lisp-indent-lambda-list-keywords-regexp): New variable.
26145 (lisp-indent-lambda-list): New function.
26146 (lisp-indent-259): Use it.
26147 (lisp-indent-defmethod): Support for more than one
26148 method qualifier and properly indent methods lambda-lists.
26149 (defgeneric): Provide a missing common-lisp-indent-function property.
26150
26151 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
26152
26153 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
26154 bounds for the empty string (bug#8667).
26155
26156 2011-05-13 Glenn Morris <rgm@gnu.org>
26157
26158 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
26159
26160 * mail/sendmail.el (sendmail-program): Try executable-find first.
26161 (sendmail-send-it): `sendmail-program' cannot be unbound.
26162
26163 * calendar/appt.el (appt-make-list): Simplify.
26164 (appt-time-msg-list): Doc fix.
26165 (appt-check): Change mode-line message at the time of the appointment.
26166
26167 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
26168
26169 * progmodes/ld-script.el (ld-script-keywords)
26170 (ld-script-builtins): Update keywords list.
26171
26172 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
26173
26174 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
26175
26176 * shell.el (shell-completion-vars): New function.
26177 (shell-mode):
26178 * simple.el (read-shell-command): Use it.
26179 (blink-matching-open): No need for " [...]" in minibuffer-message.
26180
26181 2011-05-12 Glenn Morris <rgm@gnu.org>
26182
26183 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
26184 (appt-check): Simplify.
26185
26186 2011-05-12 Eli Zaretskii <eliz@gnu.org>
26187
26188 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
26189 literal "/dev/null".
26190
26191 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
26192
26193 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
26194 Fix typo.
26195
26196 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
26197
26198 * progmodes/which-func.el (which-function):
26199 Use add-log-current-defun instead of add-log-current-defun-function,
26200 which might not be defined (Bug#8260).
26201
26202 2011-05-12 Glenn Morris <rgm@gnu.org>
26203
26204 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
26205 Let byte-compile-initial-macro-environment always take precedence.
26206
26207 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
26208
26209 * net/rcirc.el: Add support for SSL/TLS connections.
26210 (rcirc-server-alist): New field `encryption'.
26211 (rcirc): Check `encryption' settings.
26212 (rcirc-connect): New arg `encryption'. Use open-network-stream.
26213 Merge make-local-variable into `set'.
26214 (rcirc--connection-open-p): New function.
26215 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
26216 the process is not a network process (e.g. running gnutls-cli).
26217 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
26218 Make rcirc-(en|de)code-coding-system local here.
26219 (rcirc-mode): Merge make-local-variable into `set'.
26220 (rcirc-parent-buffer): Make permanent buffer-local.
26221 (rcirc-multiline-minor-mode): Don't do it here.
26222 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
26223 there's no server buffer.
26224
26225 2011-05-11 Glenn Morris <rgm@gnu.org>
26226
26227 * newcomment.el (comment-kill): Prefix "unused" local.
26228
26229 * term/w32console.el (get-screen-color): Declare.
26230
26231 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
26232 Handle symbol elements of byte-compile-initial-macro-environment.
26233
26234 2011-05-10 Leo Liu <sdl.web@gmail.com>
26235
26236 * bookmark.el (bookmark-bmenu-mode-map):
26237 Bind bookmark-bmenu-search to `/'.
26238
26239 * mail/footnote.el: Convert to utf-8 encoding.
26240 (footnote-unicode-string, footnote-unicode-regexp): New variable.
26241 (Footnote-unicode): New function.
26242 (footnote-style-alist): Add unicode style to the list.
26243 (footnote-style): Doc fix.
26244
26245 2011-05-10 Jim Meyering <meyering@redhat.com>
26246
26247 Fix doubled-word typos.
26248 * international/quail.el (quail-insert-kbd-layout): and and -> and.
26249 * kermit.el: and and -> and.
26250 * net/ldap.el (ldap-search-internal): to to -> to.
26251 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
26252 * progmodes/js.el (js-mode): and and -> and.
26253 * textmodes/artist.el (artist-move-to-xy): at at -> at.
26254 (artist-draw-region-trim-line-endings): if if -> if.
26255 And Safetyc -> Safety.
26256 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a.
26257
26258 2011-05-10 Glenn Morris <rgm@gnu.org>
26259 Stefan Monnier <monnier@iro.umontreal.ca>
26260
26261 * files.el (hack-one-local-variable-eval-safep):
26262 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
26263
26264 2011-05-10 Glenn Morris <rgm@gnu.org>
26265
26266 * calendar/diary-lib.el (diary-list-entries-hook)
26267 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
26268 (diary-nongregorian-marking-hook, diary-list-entries)
26269 (diary-include-other-diary-files, diary-mark-entries)
26270 (diary-mark-included-diary-files): Doc fixes.
26271
26272 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
26273
26274 * misc.el: Require tabulated-list.el during compilation.
26275
26276 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
26277
26278 * progmodes/compile.el (compilation-start):
26279 Run compilation-filter-hook for the async case too.
26280 (compilation-filter-hook): Doc fix.
26281
26282 2011-05-09 Deniz Dogan <deniz@dogan.se>
26283
26284 * wdired.el: Remove outdated installation comment. Fix usage
26285 comment.
26286
26287 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
26288
26289 * misc.el: Implement new command `list-dynamic-libraries'.
26290 (list-dynamic-libraries--loaded-only-p): New variable.
26291 (list-dynamic-libraries--refresh): New function.
26292 (list-dynamic-libraries): New command.
26293
26294 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
26295
26296 * progmodes/compile.el (compilation-error-regexp-alist-alist):
26297 Fix the ant regexp to handle end-line and end-column info from jikes.
26298 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
26299 higher priority to avoid clobbering by gnu.
26300
26301 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
26302
26303 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
26304 if the face has existing theme settings (Bug#8454).
26305
26306 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
26307
26308 * progmodes/perl-mode.el (perl-imenu-generic-expression):
26309 Only match variables declared via `my' or `our' (Bug#8261).
26310
26311 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
26312 special file names `.' and `..' (Bug#8259).
26313
26314 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
26315
26316 * progmodes/grep.el (grep-mode-font-lock-keywords):
26317 Remove buffer-changing entries.
26318 (grep-filter): New function.
26319 (grep-mode): Add it to compilation-filter-hook.
26320
26321 * progmodes/compile.el (compilation-filter-hook)
26322 (compilation-filter-start): New defvars.
26323 (compilation-filter): Call compilation-filter-hook prior to
26324 updating the process mark.
26325
26326 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
26327
26328 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
26329
26330 2011-05-07 Eli Zaretskii <eliz@gnu.org>
26331
26332 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
26333 mailclient-send-it even if window-system is nil. (Bug#8595)
26334
26335 * term/w32console.el (terminal-init-w32console):
26336 Call get-screen-color and use its output to set the frame
26337 background-mode. (Bug#8597)
26338
26339 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
26340
26341 Make bytecomp.el understand that defmethod defines funs (bug#8631).
26342 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
26343 New functions.
26344 (defgeneric, eieio--defmethod): Use them.
26345 (eieio-defgeneric): Remove.
26346 (defmethod): Call defgeneric in a way visible to the byte-compiler.
26347
26348 2011-05-07 Glenn Morris <rgm@gnu.org>
26349
26350 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
26351 Use let rather than let*.
26352 (timeclock-find-discrep): Remove unused local.
26353
26354 * calendar/diary-lib.el (diary-comment-start): Doc fix.
26355
26356 * calendar/appt.el (appt-time-msg-list): Doc fix.
26357
26358 2011-05-06 Noah Friedman <friedman@splode.com>
26359
26360 * apropos.el (apropos-print-doc): Only use
26361 emacs-lisp-docstring-fill-column when it is bound to an integer,
26362 per that variable's documentation.
26363
26364 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
26365
26366 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
26367 and warnings are not silently discarded (e.g. use -d instead of -P).
26368
26369 2011-05-06 Glenn Morris <rgm@gnu.org>
26370
26371 * calendar/appt.el (appt-message-warning-time): Doc fix.
26372 (appt-warning-time-regexp): New option.
26373 (appt-make-list): Respect appt-message-warning-time.
26374
26375 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
26376 New options.
26377 (diary-add-to-list): Strip comments from the displayed string.
26378 (diary-mode): Set comment-start and comment-end.
26379
26380 * vc/diff-mode.el (smerge-refine-subst): Declare.
26381 (diff-refine-hunk): Don't require smerge-mode when compiling.
26382
26383 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
26384
26385 * simple.el (list-processes): Return nil as the docstring says.
26386
26387 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
26388
26389 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
26390 to "".
26391 (ange-ftp-write-region, ange-ftp-insert-file-contents)
26392 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
26393 determining of binary transfer. (Bug#7383)
26394
26395 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
26396
26397 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
26398 Fix port computation bug. (Bug#8618)
26399
26400 2011-05-05 Glenn Morris <rgm@gnu.org>
26401
26402 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
26403
26404 * simple.el (shell-dynamic-complete-functions)
26405 (comint-dynamic-complete-functions): Declare.
26406
26407 * net/network-stream.el (gnutls-negotiate):
26408 * simple.el (tabulated-list-print): Fix declarations.
26409
26410 * progmodes/gud.el (syntax-symbol, syntax-point):
26411 Remove unnecessary and incorrect declarations.
26412
26413 * emacs-lisp/check-declare.el (check-declare-scan):
26414 Handle byte-compile-initial-macro-environment in bytecomp.el.
26415
26416 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
26417
26418 Fix earlier half-done eieio-defmethod change (bug#8338).
26419 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
26420 Streamline and change calling convention.
26421 (defmethod): Adjust accordingly and simplify.
26422 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
26423 new eieio--defmethod.
26424 (slot-boundp): Minor CSE simplification.
26425
26426 2011-05-05 Milan Zamazal <pdm@zamazal.org>
26427
26428 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
26429 (glasses-make-readable): Use glasses-separate-capital-groups.
26430
26431 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
26432
26433 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
26434 (warning-series): Doc fix.
26435 (display-warning): Don't try to create the buffer if we just found it.
26436
26437 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
26438
26439 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
26440 (autoload-find-generated-file): New function.
26441 (generate-file-autoloads): Bind generated-autoload-file to
26442 buffer-file-name.
26443 (update-file-autoloads, update-directory-autoloads):
26444 Use autoload-find-generated-file. If called interactively, prompt for
26445 output file (Bug#7989).
26446 (batch-update-autoloads): Doc fix.
26447
26448 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
26449
26450 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
26451
26452 2011-05-04 Glenn Morris <rgm@gnu.org>
26453
26454 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
26455 function, so it follows changes in calendar-date-style.
26456 (diary-fancy-date-matcher): New function.
26457 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
26458 (diary-fancy-font-lock-fontify-region-function):
26459 Use diary-fancy-date-pattern as a function.
26460
26461 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
26462 non-numbers for `year' etc pseudo-variables. (Bug#8583)
26463
26464 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
26465
26466 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
26467 instead of positional arguments. Allow :keylist and :crlfiles
26468 arguments.
26469 (open-gnutls-stream): Call it.
26470
26471 * net/network-stream.el (network-stream-open-starttls): Adjust to
26472 call `gnutls-negotiate' with :process and :hostname arguments.
26473
26474 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
26475
26476 * minibuffer.el (completion--message): New function.
26477 (completion--do-completion, minibuffer-complete)
26478 (minibuffer-force-complete, minibuffer-complete-word): Use it.
26479 (completion--do-completion): Don't ignore completion-auto-help when in
26480 icomplete-mode.
26481
26482 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
26483 internal encoding (e.g. tibetan zero is not whitespace).
26484 (global-whitespace-mode): Prefer save-current-buffer.
26485 (whitespace-trailing-regexp): Remove useless save-match-data.
26486 (whitespace-empty-at-bob-regexp): Minor simplification.
26487
26488 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
26489
26490 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
26491
26492 2011-05-03 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
26493
26494 * textmodes/ispell.el (ispell-add-per-file-word-list):
26495 Use `concat' to create string for insertion.
26496
26497 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
26498
26499 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
26500 Avoid open-line which runs post-self-insert-hook.
26501 (bibtex-fill-entry): Remove unused `end' var.
26502
26503 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
26504
26505 * textmodes/ispell.el (ispell-add-per-file-word-list):
26506 Protect against `nil' value of `comment-start' (Bug#8579).
26507
26508 2011-05-03 Leo Liu <sdl.web@gmail.com>
26509
26510 * isearch.el (isearch-yank-pop): New command.
26511 (isearch-mode-map): Bind it to `M-y'.
26512 (isearch-forward): Mention it.
26513
26514 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
26515
26516 * simple.el (minibuffer-complete-shell-command): Remove.
26517 (minibuffer-local-shell-command-map): Use completion-at-point.
26518 (read-shell-command): Setup completion vars here instead.
26519 (read-expression-map): Bind TAB to symbol completion.
26520
26521 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
26522 error directly rather via storing it into `results'.
26523
26524 2011-05-02 Leo Liu <sdl.web@gmail.com>
26525
26526 * vc/diff.el: Fix description.
26527
26528 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
26529
26530 * server.el (server-eval-at): New function.
26531
26532 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
26533
26534 * net/network-stream.el (open-network-stream): Take a :nowait
26535 parameter and pass it on to `make-network-process'.
26536 (network-stream-open-plain): Ditto.
26537
26538 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
26539
26540 * faces.el (face-spec-set-match-display): Don't match toolkit
26541 options on terminal frames.
26542
26543 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
26544
26545 * progmodes/pascal.el: Use lexical binding.
26546 (pascal-mode-map): Remove author preferences.
26547
26548 * pcomplete.el (pcomplete-std-complete): Don't abuse
26549 completion-at-point.
26550
26551 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
26552
26553 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
26554 removing code that has been dead since 1991 or so.
26555
26556 * startup.el (command-line): When warning about "_emacs", use a
26557 delayed warning to allow the user to filter it out.
26558
26559 2011-04-28 Deniz Dogan <deniz@dogan.se>
26560
26561 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
26562 user has not joined.
26563
26564 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
26565
26566 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
26567 aren't any completions at point.
26568
26569 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
26570
26571 * subr.el (display-delayed-warnings): New function.
26572 (delayed-warnings-hook): New variable.
26573
26574 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
26575
26576 * minibuffer.el (completion-at-point, completion-help-at-point):
26577 Don't presume that a given completion-at-point-function will always
26578 use the same calling convention.
26579
26580 * pcomplete.el (pcomplete-completions-at-point):
26581 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
26582 pcomplete-seen is non-nil.
26583 (pcomplete-comint-setup): Also recognize the new comint/shell
26584 completion functions.
26585 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
26586 pcomplete-seen is non-nil.
26587
26588 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
26589
26590 * calendar/icalendar.el (diary-lib): Add require statement.
26591 (icalendar--create-uid): Read out a uid from a text-property on
26592 the first character in the entry. This allows for code to add its
26593 own uid to the entry.
26594 (icalendar--convert-float-to-ical): Add export of
26595 `diary-float'-entries save for those with the optional DAY
26596 argument.
26597
26598 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
26599
26600 * subr.el (shell-quote-argument): Use alternate escaping strategy
26601 when we spot a variable reference in a string.
26602
26603 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
26604
26605 * cus-start.el (all): Define customization for debug-on-event.
26606
26607 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
26608
26609 * subr.el (shell-quote-argument): Escape correctly under Windows.
26610
26611 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
26612
26613 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
26614
26615 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
26616
26617 * net/tramp.el (tramp-process-actions): Add POS argument.
26618 Delete region between POS and (pos).
26619
26620 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
26621 Use `nil' position in `tramp-process-actions' call.
26622 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
26623
26624 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
26625 position in `tramp-process-actions' call.
26626
26627 * net/trampver.el: Update release number.
26628
26629 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
26630
26631 * custom.el (defcustom): Obey lexical-binding.
26632
26633 Fix octave-inf completion problems reported by Alexander Klimov.
26634 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
26635 Inherit from octave-mode-syntax-table.
26636 (inferior-octave-mode): Set info-lookup-mode.
26637 (inferior-octave-completion-at-point): New function.
26638 (inferior-octave-complete): Use it and completion-in-region.
26639 (inferior-octave-dynamic-complete-functions): Use it as well, and use
26640 comint-filename-completion.
26641 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
26642 symbol elements which shouldn't be word elements.
26643 (octave-font-lock-keywords, octave-beginning-of-defun)
26644 (octave-function-header-regexp): Adjust regexps accordingly.
26645 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
26646
26647 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
26648
26649 * net/gnutls.el (gnutls-errorp): Declare before first use.
26650
26651 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
26652
26653 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
26654 verify-error, and verify-hostname-error parameters. Check whether
26655 default trustfile exists before going to use it. Add missing
26656 argument to gnutls-message-maybe call. Return value.
26657 Reported by Claudio Bley <claudio.bley@gmail.com>.
26658 (open-gnutls-stream): Add usage example.
26659
26660 * net/network-stream.el (network-stream-open-starttls): Give host
26661 parameter to `gnutls-negotiate'.
26662 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
26663 * subr.el (shell-quote-argument): Escape correctly under Windows.
26664
26665 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
26666
26667 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
26668 Use correct match group (bug#8438).
26669
26670 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
26671
26672 * emacs-lisp/package.el (package-built-in-p): Fix typo.
26673 (package-menu--generate): New arg specifying packages to show.
26674 (package-menu-refresh, package-menu-execute, list-packages):
26675 Callers changed.
26676 (package-show-package-list): New function, replacing deleted
26677 package--list-packages (renamed because it is non-internal).
26678
26679 * finder.el (finder-list-matches): Use package-show-package-list
26680 instead of deleted package--list-packages.
26681
26682 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
26683 Based on a previous implementation by Juanma Barranquero (Bug#8366).
26684 (vc-annotate-mode-map): Bind it to RET.
26685
26686 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
26687
26688 * progmodes/etags.el (next-file): Don't use set-buffer to change
26689 buffers (Bug#8478).
26690
26691 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
26692
26693 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
26694
26695 * apropos.el (apropos-label-face): Avoid variable-pitch face.
26696 (apropos-accumulator): Doc fix.
26697 (apropos-function, apropos-macro, apropos-command)
26698 (apropos-variable, apropos-face, apropos-group, apropos-widget)
26699 (apropos-plist): Add face property.
26700 (apropos-symbols-internal): Fix indentation.
26701 (apropos-print): Simplify help, and recognize apropos-multi-type.
26702 (apropos-print-doc): Use button-type-get to extract the button's
26703 face property. Fill docstring (Bug#8352).
26704
26705 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
26706
26707 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
26708
26709 * play/mpuz.el (mpuz-silent): Doc fix.
26710 (mpuz-mode-map): Use mapc.
26711 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
26712 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
26713 Fix typos in docstrings.
26714
26715 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
26716 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
26717
26718 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
26719
26720 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
26721
26722 * minibuffer.el (completion--do-completion): Avoid the "Next char
26723 not unique" prompt if icomplete-mode is enabled (Bug#5849).
26724
26725 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
26726 mouse-2 into unread-command-events, it is interpreted correctly.
26727
26728 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
26729 (image-toggle-display): Doc fix.
26730
26731 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
26732
26733 * textmodes/page.el (what-page): Use line-number-at-pos to
26734 calculate line number (Bug#6825).
26735
26736 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
26737
26738 * eshell/esh-mode.el (find-tag-interactive): Declare function.
26739 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
26740 Pass argument NO-DEFAULT to `find-tag-interactive'.
26741
26742 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
26743
26744 Lexical-binding cleanup.
26745
26746 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
26747 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
26748 * progmodes/ada-prj.el (ada-prj-initialize-values)
26749 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
26750 (ada-prj-show-value):
26751 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
26752 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
26753 (antlr-invalidate-context-cache, antlr-options-menu-filter)
26754 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
26755 * progmodes/bug-reference.el (bug-reference-push-button):
26756 * progmodes/fortran.el (fortran-line-length):
26757 * progmodes/glasses.el (glasses-change):
26758 * progmodes/octave-mod.el (octave-fill-paragraph):
26759 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
26760 (python-pdbtrack-grub-for-buffer, python-sentinel):
26761 * progmodes/sql.el (sql-save-connection):
26762 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
26763 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
26764 Mark unused parameters.
26765
26766 * progmodes/compile.el (compilation--flush-directory-cache)
26767 (compilation--flush-parse, compile-internal): Mark unused parameters.
26768 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
26769 (compilation-next-error-function): Remove unused variable `timestamp'.
26770
26771 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
26772 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
26773
26774 * progmodes/dcl-mode.el (dcl-end-of-command):
26775 Remove unused variable `start'.
26776 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
26777 (dcl-option-value-basic, dcl-option-value-offset)
26778 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
26779 Mark unused parameters.
26780 (dcl-save-local-variable): Remove unused variable `val'.
26781 (mode): Declare.
26782
26783 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
26784 Mark unused parameters.
26785 (delphi-ignore-changes): Move before first use.
26786 (delphi-charset-token-at): Remove unused variable `start'.
26787 (delphi-else-start): Remove unused variable `if-count'.
26788 (delphi-comment-block-start, delphi-comment-block-end):
26789 Remove unused variable `kind'.
26790 (delphi-indent-line): Remove unused variable `new-point'.
26791
26792 * progmodes/ebrowse.el (ebrowse-files-list)
26793 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
26794 Mark unused parameters. Don't quote `lambda'.
26795 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
26796 Don't quote `lambda'.
26797 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
26798 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
26799 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
26800 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
26801 Use `ignore-errors'.
26802 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
26803 (ebrowse-view/find-file-and-search-pattern)
26804 (ebrowse-view/find-member-declaration/definition):
26805 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
26806 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
26807 Rename parameter PREFIX-ARG to PREFIX.
26808 (ebrowse-tags-read-name): Remove unused variables `start' and
26809 `member-info'.
26810 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
26811 to `tags-file'.
26812
26813 * progmodes/etags.el (local-find-tag-hook): Declare.
26814 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
26815 Mark unused parameters.
26816
26817 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
26818 (executable-interpret): Mark unused parameter.
26819
26820 * progmodes/flymake.el (flymake-process-sentinel)
26821 (flymake-after-change-function)
26822 (flymake-create-temp-with-folder-structure)
26823 (flymake-get-include-dirs-dot): Mark unused parameters.
26824 (flymake-safe-delete-directory): Remove unused variable `err'.
26825
26826 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
26827 (speedbar-timer-fn, speedbar-line-text)
26828 (speedbar-change-expand-button-char, speedbar-delete-subblock)
26829 (speedbar-center-buffer-smartly): Declare functions.
26830 (gdb-find-watch-expression): Remove unused variable `array'.
26831 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
26832 (gdb-starting): Mark unused parameters.
26833 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
26834 (gdb-table-string): Remove unused variable `res'.
26835 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
26836 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
26837 (gdb-display-buffer): Remove unused variable `cur-size'.
26838
26839 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
26840 allow lexical-binding compilation.
26841 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
26842 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
26843 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
26844 Mark unused parameters.
26845 (gud-gdb-marker-filter): Remove unused variable `match'.
26846 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
26847 lambda expressions and funcall them, instead of using `fset'.
26848
26849 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
26850 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
26851
26852 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
26853 variable `header-beg'; use `let'.
26854
26855 * progmodes/icon.el (indent-icon-exp): Remove unused variables
26856 `restart', `last-sexp' and `at-do'.
26857
26858 * progmodes/js.el (js--debug): Mark unused parameter.
26859 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
26860 (js--splice-into-items): Remove unused variable `item'.
26861 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
26862
26863 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
26864 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
26865 (makefile-complete): Remove unused variable `try'.
26866 (makefile-fill-paragraph, makefile-match-function-end):
26867 Mark unused parameters.
26868
26869 * progmodes/octave-inf.el (inferior-octave-complete):
26870 Remove unused variable `proc'.
26871 (inferior-octave-output-digest): Mark unused parameter.
26872
26873 * progmodes/perl-mode.el (perl-calculate-indent):
26874 Remove unused variable `err'.
26875
26876 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
26877 (prolog-indent-line): Mark unused parameters.
26878 (prolog-indent-line): Remove unused variable `beg'.
26879
26880 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
26881 (reporter-dont-compact-list): Declare.
26882
26883 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
26884 Remove unused variable `char'.
26885 (sh-debug): Mark unused parameter.
26886 (sh-get-indent-info): Remove unused variable `start'.
26887 (sh-calculate-indent): Remove unused variable `var'.
26888
26889 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
26890 (simula-electric-keyword): Remove unused variable `null'.
26891 (simula-search-backward, simula-search-forward): Remove unused
26892 variables `begin' and `end'.
26893
26894 * progmodes/vera-mode.el (vera-guess-basic-syntax):
26895 Remove unused variable `pos'.
26896 (vera-electric-tab, vera-comment-uncomment-region):
26897 Mark unused parameters.
26898 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
26899
26900 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
26901
26902 * emacs-lisp/package.el (package--builtins, package-alist)
26903 (package-load-descriptor, package-built-in-p, package-activate)
26904 (define-package, package-installed-p)
26905 (package-compute-transaction, package-buffer-info)
26906 (package--push): Doc fix. Distinguish more clearly between
26907 version strings and version lists.
26908
26909 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
26910
26911 Lexical-binding cleanup.
26912
26913 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
26914 (5x5-make-mutate-best):
26915 * play/fortune.el (fortune-in-buffer):
26916 * play/gomoku.el (gomoku-init-display):
26917 * play/solitaire.el (solitaire, solitaire-do-check):
26918 * play/tetris.el (tetris-default-update-speed-function):
26919 Mark unused parameters.
26920
26921 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
26922 (bubbles--shift): Remove unused variable `char-org'.
26923 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
26924 (bubbles--show-images): Remove unused variable `char'.
26925
26926 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
26927 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
26928 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
26929 (decipher-analyze-buffer): Use ?\s.
26930 (decipher-make-checkpoint): Remove unused variable `mapping'.
26931
26932 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
26933
26934 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
26935 Remove unused variable `result'; use `let'.
26936
26937 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
26938 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
26939 (gametree-children-shown-p, gametree-compute-reduced-score):
26940 Use `ignore-errors'.
26941
26942 * play/handwrite.el (ps-lpr-switches): Declare.
26943 (handwrite): Remove unused variables `pmin' and `lastp'.
26944
26945 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
26946
26947 * play/landmark.el (landmark-init-display)
26948 (landmark-update-naught-weights): Mark unused parameters.
26949 (landmark-y): Remove unused variable `noise'. Simplify.
26950 (landmark-human-plays): Remove unused variable `score'.
26951
26952 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
26953 (mpuz-try-proposal): Remove unused variable `game'.
26954
26955 * play/zone.el (life-patterns): Declare.
26956
26957 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
26958
26959 * vc/vc.el (ediff-vc-internal): Declare function.
26960
26961 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
26962
26963 * shell.el: Use lexical-binding and std completion UI.
26964 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
26965 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
26966 comint-preoutput-filter-functions rather than on
26967 comint-output-filter-functions.
26968 (shell-command-completion, shell--command-completion-data)
26969 (shell-filename-completion, shell-environment-variable-completion)
26970 (shell-c-a-p-replace-by-expanded-directory): New functions.
26971 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
26972 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
26973 (shell-dynamic-complete-environment-variable): Use them.
26974 (shell-dynamic-complete-as-environment-variable)
26975 (shell-dynamic-complete-as-command): Remove.
26976 (shell-match-partial-variable): Match past point.
26977 * comint.el: Clean up use of completion-at-point-functions.
26978 (comint-completion-at-point): New function.
26979 (comint-mode): Use it completion-at-point-functions.
26980 (comint-dynamic-complete): Make it obsolete.
26981 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
26982 (comint-c-a-p-replace-by-expanded-history): New function.
26983 (comint-dynamic-complete-functions)
26984 (comint-replace-by-expanded-history): Use it.
26985 * minibuffer.el (completion-table-with-terminator): Allow dynamic
26986 termination strings. Try harder to avoid second try-completion.
26987 (completion-in-region-mode-map): Disable bindings that don't work yet.
26988
26989 * comint.el: Use lexical-binding. Require CL.
26990 (comint-dynamic-complete-functions): Use comint-filename-completion.
26991 (comint-completion-addsuffix): Tweak custom type.
26992 (comint-filename-completion, comint--common-suffix)
26993 (comint--common-quoted-suffix, comint--table-subvert)
26994 (comint--complete-file-name-data): New functions.
26995 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
26996 (comint-dynamic-list-filename-completions): Use them.
26997 (comint-dynamic-simple-complete): Make obsolete.
26998
26999 * minibuffer.el (completion-in-region-mode):
27000 Keep completion-in-region-mode--predicate global.
27001 (completion-in-region--postch):
27002 Assume completion-in-region-mode--predicate is not null.
27003
27004 * progmodes/flymake.el (flymake-start-syntax-check-process):
27005 Obey `dir'. Simplify.
27006
27007 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
27008 we're in VC after all.
27009
27010 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
27011
27012 * vc/vc.el (vc-diff-build-argument-list-internal)
27013 (vc-version-ediff, vc-ediff): New commands.
27014 (vc-version-diff): Use vc-diff-build-argument-list-internal.
27015
27016 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
27017
27018 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
27019 add sanity check.
27020
27021 * obsolete/erc-hecomplete.el: Make obsolete.
27022 * obsolete/: Standardize obsolescence info in the header.
27023
27024 2011-04-20 Glenn Morris <rgm@gnu.org>
27025
27026 * calendar/solar.el (solar-horizontal-coordinates):
27027 Use the longitude argument rather than `calendar-longitude'.
27028 (solar-date-next-longitude): Remove unused locals.
27029
27030 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
27031
27032 * whitespace.el: New version 13.2.1.
27033
27034 2011-04-20 felix <EmacsWiki> (tiny change)
27035
27036 * whitespace.el (global-whitespace-mode): Keep highlight when
27037 switching between major modes on a file.
27038
27039 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
27040
27041 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
27042 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
27043 multi-line comments as well.
27044
27045 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
27046
27047 Lexical-binding cleanup.
27048
27049 * arc-mode.el (archive-mode-revert):
27050 * cmuscheme.el (scheme-interactively-start-process):
27051 * custom.el (custom-initialize-delay):
27052 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
27053 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
27054 * emacs-lock.el (emacs-lock-clear-sentinel):
27055 * ezimage.el (defezimage):
27056 * follow.el (follow-avoid-tail-recenter):
27057 * fringe.el (set-fringe-mode-1):
27058 * generic-x.el (bat-generic-mode-compile):
27059 * help-mode.el (help-info-variable, help-do-xref)
27060 (help-mode-revert-buffer):
27061 * help.el (view-emacs-todo):
27062 * iswitchb.el (iswitchb-completion-help):
27063 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
27064 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
27065 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
27066 * locate.el (locate-update):
27067 * longlines.el (longlines-encode-region)
27068 (longlines-after-change-function):
27069 * outline.el (outline-isearch-open-invisible):
27070 * ps-def.el (declare-function, charset-dimension, char-width)
27071 (encode-char):
27072 * ps-mule.el (ps-mule-plot-string):
27073 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
27074 (recentf-edit-list-select, recentf-edit-list-validate)
27075 (recentf-open-files-action):
27076 * rect.el (delete-whitespace-rectangle-line)
27077 (rectangle-number-line-callback):
27078 * register.el (window-configuration-to-register)
27079 (frame-configuration-to-register):
27080 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
27081 * select.el (xselect-convert-to-string, xselect-convert-to-length)
27082 (xselect-convert-to-targets, xselect-convert-to-delete)
27083 (xselect-convert-to-filename, xselect-convert-to-charpos)
27084 (xselect-convert-to-lineno, xselect-convert-to-colno)
27085 (xselect-convert-to-os, xselect-convert-to-host)
27086 (xselect-convert-to-user, xselect-convert-to-class)
27087 (xselect-convert-to-name, xselect-convert-to-integer)
27088 (xselect-convert-to-atom, xselect-convert-to-identity):
27089 * subr.el (declare, ignore, process-kill-without-query)
27090 (text-clone-maintain):
27091 * terminal.el (te-get-char, te-tic-sentinel):
27092 * tool-bar.el (tool-bar-make-keymap):
27093 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
27094 * type-break.el (type-break-mode, type-break-noninteractive-query):
27095 * view.el (View-back-to-mark):
27096 * wid-browse.el (widget-browse-action, widget-browse-widget)
27097 (widget-browse-widgets, widget-browse-sexp):
27098 * widget.el (define-widget-keywords):
27099 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
27100 Mark unused parameters.
27101
27102 * align.el (align-adjust-col-for-rule): Mark unused parameter.
27103 (align-areas): Remove unused variable `look'.
27104 (align-region): Remove unused variables `real-end' and `pos-list'.
27105
27106 * apropos.el (apropos-score-doc): Remove unused variable `i'.
27107
27108 * bindings.el (mode-line-modified, mode-line-remote):
27109 Mark unused parameters.
27110 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
27111
27112 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
27113 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
27114
27115 * comint.el (comint-history-isearch-pop-state)
27116 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
27117 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
27118 (comint-substitute-in-file-name): Doc fix.
27119
27120 * completion.el (cmpl-statistics-block): Mark unused parameter.
27121 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
27122 (save-completions-to-file, load-completions-from-file):
27123 Remove unused local variable `e'.
27124
27125 * composite.el (compose-chars): Remove unused variable `len'.
27126 (lgstring-insert-glyph): Remove unused variable `g'.
27127 (compose-glyph-string): Remove unused variables `ascent',
27128 `descent', `lbearing' and `rbearing'.
27129 (compose-glyph-string-relative): Remove unused variables
27130 `lbearing', `rbearing' and `wadjust'.
27131 (compose-gstring-for-graphic): Remove unused variables `header',
27132 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
27133 (compose-gstring-for-terminal): Remove unused variables `header'
27134 and `nchars'. Use `let', not `let*'.
27135
27136 * cus-edit.el (Custom-set, Custom-save, custom-reset)
27137 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
27138 (Custom-buffer-done, custom-buffer-create-internal)
27139 (custom-browse-visibility-action, custom-browse-group-tag-action)
27140 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
27141 (widget-magic-mouse-down-action, custom-toggle-parent)
27142 (custom-add-parent-links, custom-toggle-hide-variable)
27143 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
27144 (custom-toggle-hide-face, face, hook, custom-group-link-action)
27145 (custom-face-menu-create, custom-variable-menu-create, get)
27146 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
27147 (custom-reset-standard-save-and-update): Remove unused variable `value'.
27148 (customize-apropos): Remove unused variable `tests'.
27149 (custom-group-value-create): Remove unused variable `hidden-p'.
27150 (sort-fold-case): Declare.
27151
27152 * cus-theme.el (custom-reset-standard-faces-list)
27153 (custom-reset-standard-variables-list): Declare.
27154 (customize-create-theme, custom-theme-revert, custom-theme-write)
27155 (custom-theme-choose-mode, customize-themes, custom-theme-save):
27156 Mark unused parameters.
27157
27158 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
27159
27160 * delim-col.el (delimit-columns-max): Move defvar before first use.
27161
27162 * descr-text.el (describe-char-categories): Don't quote `lambda'.
27163 (describe-char): Don't quote `lambda'. Mark unused parameter.
27164
27165 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
27166 (auto-insert): Declare.
27167 (desktop-restore-file-buffer): Rename desktop-* parameters;
27168 mark unused ones.
27169 (desktop-create-buffer): Rename desktop-* parameters and bind them.
27170 (desktop-buffer): Rename desktop-* parameters.
27171
27172 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
27173 (dframe-reposition-frame-xemacs, dframe-help-echo)
27174 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
27175 Mark unused parameters.
27176
27177 * dired-aux.el (backup-extract-version-start, overwrite-query)
27178 (overwrite-backup-query, rename-regexp-query)
27179 (rename-non-directory-query): Declare.
27180 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
27181 (dired-add-entry): Remove unused variable `orig-file-name'.
27182 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
27183 Use parameter PRESERVE-TIME instead of accessing dynamic variable
27184 `dired-copy-preserve-time' directly.
27185 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
27186 (dired-insert-subdir-newpos): Rename unused variable `pos'.
27187
27188 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
27189 (dired-virtual-revert, dired-make-relative-symlink):
27190 Mark unused parameters.
27191 (manual-program): Declare.
27192 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
27193 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
27194 wrapped in `with-no-warnings' to avoid replacing one warning by another.
27195
27196 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
27197
27198 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
27199
27200 * echistory.el (electric-history-in-progress, Helper-return-blurb):
27201 Declare.
27202
27203 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
27204
27205 * electric.el (Electric-command-loop): Rename parameter
27206 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
27207
27208 * expand.el (expand-in-literal): Remove unused variable `here'.
27209
27210 * facemenu.el (facemenu-add-new-color):
27211 Remove unused variable `docstring'.
27212
27213 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
27214 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
27215 (face-attr-construct): Mark unused parameter. Doc fix.
27216 (read-color): Remove unused variable `hex-string'.
27217
27218 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
27219 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
27220 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
27221 (display-buffer-other-frame): Remove unused variable `old-window'.
27222 (kill-buffer-hook): Declare.
27223 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
27224 Mark unused parameters.
27225 (after-find-file): Pass 1 to `auto-save-mode', not t.
27226
27227 * files-x.el (auto-insert): Declare.
27228 (modify-file-local-variable-prop-line): Remove unused variable `val'.
27229
27230 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
27231 variable `buf'. Mark unused parameter.
27232 (find-lisp-insert-directory): Mark unused parameter.
27233
27234 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
27235 (format-encode-region): Remove unused variables `cur-buf' and `result'.
27236 (format-common-tail): Remove, unused.
27237 (format-deannotate-region): Remove unused variable `loc'.
27238 (format-annotate-region): Remove unused variable `p'.
27239 (format-annotate-single-property-change): Remove unused variables
27240 `default' and `tail'.
27241
27242 * forms.el (read-file-filter): Declare.
27243 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
27244
27245 * frame.el (frame-creation-function-alist): Mark unused parameter.
27246 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
27247
27248 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
27249 Remove unused parameters.
27250 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
27251 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
27252
27253 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
27254 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
27255 (hfy-prepare-tag-map): Mark unused parameters.
27256 (htmlfontify-buffer): Use `called-interactively-p'.
27257
27258 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
27259 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
27260 (ibuffer-do-occur): Mark unused parameters.
27261 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
27262 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
27263
27264 * ibuffer.el: Don't quote `lambda'.
27265 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
27266 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
27267 Mark unused parameters.
27268
27269 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
27270 (ido-completing-read): Mark unused parameters.
27271 (ido-copy-current-word): Mark unused parameters;
27272 remove unused variable `name'.
27273 (ido-sort-merged-list): Remove unused parameter `dirs'.
27274
27275 * ielm.el (ielm-input-sender): Mark unused parameter.
27276 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
27277 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
27278 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
27279 `ielm-string' as a dynamic variable accessible from the IELM prompt.
27280 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
27281
27282 * image-dired.el (image-dired-display-thumbs): Remove unused
27283 variables `curr-file' and `count'.
27284 (image-dired-remove-tag): Remove unused variable `start'.
27285 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
27286 variable `curr-file'
27287 (image-dired-rotate-original): Remove unused variable `temp-file'.
27288 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
27289 Remove unused variable `file'.
27290 (image-dired-gallery-generate): Remove unused variable `curr'.
27291 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
27292
27293 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
27294
27295 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
27296
27297 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
27298
27299 * isearch.el (minibuffer-history-symbol): Declare.
27300 (isearch-edit-string): Remove unused variable `err'.
27301 (isearch-message-prefix, isearch-message-suffix):
27302 Mark unused parameters.
27303
27304 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
27305
27306 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
27307
27308 * makesum.el (double-column): Remove unused variable `cnt'.
27309
27310 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
27311 (ido-ignore-item-temp-list): Declare.
27312
27313 * mouse-drag.el (mouse-drag-throw): Remove unused variables
27314 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
27315 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
27316 (mouse-drag-drag): Remove unused variables `mouse-delta' and
27317 `mouse-col-delta'.
27318
27319 * mouse-sel.el (mouse-extend-internal):
27320 Remove unused variable `orig-window-frame'.
27321
27322 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
27323 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
27324 Move declarations before first use.
27325 (pcomplete-opt): Mark unused parameters; doc fix.
27326
27327 * proced.el (proced-revert): Mark unused parameter.
27328 (proced-send-signal): Remove unused variable `err'.
27329
27330 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
27331 Rename parameter PREFIX-ARG to ARG.
27332 (ps-basic-plot-string, ps-basic-plot-whitespace):
27333 Mark unused parameters.
27334
27335 * replace.el (replace-count): Define.
27336 (occur-revert-function): Mark unused parameters.
27337 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
27338 (isearch-case-fold-search, isearch-string): Declare.
27339 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
27340 bind `case-fold-search'. Remove unused variables `beg' and `end',
27341 and simplify.
27342 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
27343 COUNT and bind `replace-count'.
27344 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
27345 to COUNT.
27346
27347 * savehist.el (print-readably, print-string-length): Declare.
27348
27349 * shadowfile.el (shadow-expand-cluster-in-file-name):
27350 Remove unused variable `cluster'.
27351 (shadow-copy-file): Remove unused variable `i'.
27352 (shadow-noquery, shadow-clusters, shadow-site-cluster)
27353 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
27354 (shadow-define-literal-group, shadow-define-regexp-group)
27355 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
27356
27357 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
27358 (shell): Use `called-interactively-p'.
27359 (shell-directory-tracker): Remove unused variable `chdir-failure'.
27360
27361 * simple.el (compilation-context-lines, comint-file-name-quote-list)
27362 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
27363 (delete-backward-char): Remove unused variable `ocol'.
27364 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
27365 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
27366 (event-apply-hyper-modifier, event-apply-shift-modifier)
27367 (event-apply-control-modifier, event-apply-meta-modifier):
27368 Mark unused parameters.
27369 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
27370 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
27371
27372 * speedbar.el (speedbar-ignored-directory-expressions)
27373 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
27374 (speedbar-find-file, speedbar-dir-follow)
27375 (speedbar-directory-buttons-follow, speedbar-tag-find)
27376 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
27377 (speedbar-buffers-line-directory, speedbar-buffer-click):
27378 Mark unused parameters.
27379 (speedbar-tag-file): Remove unused variable `mode'.
27380 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
27381
27382 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
27383
27384 * talk.el (talk): Remove unused variable `display'.
27385
27386 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
27387 (tar-write-region-annotate): Mark unused parameter.
27388
27389 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
27390 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
27391 Declare them, wrapped in `with-no-warnings' to avoid replacing one
27392 warning by another.
27393
27394 * time-stamp.el (time-stamp-string-preprocess):
27395 Remove unused variable `require-padding'.
27396
27397 * tree-widget.el (widget-glyph-enable): Declare.
27398 (tree-widget-action): Mark unused parameter.
27399
27400 * w32-fns.el (x-get-selection): Mark unused parameter.
27401 (autoload-make-program, generated-autoload-file): Declare.
27402
27403 * wdired.el (wdired-revert): Mark unused parameters.
27404 (wdired-xcase-word): Remove unused variable `err'.
27405
27406 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
27407 (whitespace-help-scroll): Remove unused variable `data-help'.
27408
27409 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
27410 (widget-image-insert, widget-after-change, default)
27411 (widget-default-format-handler, widget-default-notify)
27412 (widget-default-prompt-value, widget-info-link-action)
27413 (widget-url-link-action, widget-function-link-action)
27414 (widget-variable-link-action, widget-file-link-action)
27415 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
27416 (widget-field-prompt-internal, widget-field-action, widget-field-match)
27417 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
27418 (widget-insert-button-action, widget-delete-button-action, visibility)
27419 (widget-documentation-link-action, widget-documentation-string-action)
27420 (widget-const-prompt-value, widget-regexp-match, symbol)
27421 (widget-coding-system-prompt-value)
27422 (widget-key-sequence-value-to-external, sexp)
27423 (widget-sexp-value-to-internal, character, vector, cons)
27424 (widget-choice-prompt-value, widget-boolean-prompt-value)
27425 (widget-color--choose-action): Mark unused parameters.
27426 (widget-item-match-inline, widget-choice-match-inline)
27427 (widget-checklist-match, widget-checklist-match-inline)
27428 (widget-group-match): Rename parameter VALUES to VALS.
27429 (widget-field-value-set): Remove unused variable `size'.
27430 (widget-color-action): Remove unused variables `value' and `start'.
27431
27432 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
27433 variable `dir'. Doc fix.
27434 (windmove-find-other-window): Don't pass it.
27435
27436 * window.el (count-windows): Mark unused parameter.
27437 (bw-adjust-window): Remove unused variable `err'.
27438
27439 * woman.el (woman-file-name): Remove unused variable `default'.
27440 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
27441 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
27442 (global-font-lock-mode): Declare.
27443 (woman-decode-region): Mark unused parameter.
27444 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
27445
27446 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
27447 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
27448 (x-dnd-handle-moz-url): Remove unused variable `title'.
27449 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
27450
27451 * xml.el (xml-parse-tag, xml-parse-attlist):
27452 Remove unused variable `pos'.
27453
27454 2011-04-19 Glenn Morris <rgm@gnu.org>
27455
27456 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
27457 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
27458 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
27459 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
27460 * calendar/cal-html.el (cal-html-insert-minical):
27461 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
27462 (calendar-mark-date-pattern):
27463 Prefix "unused" locals.
27464
27465 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
27466 optional argument `style'.
27467
27468 * calendar/appt.el (appt-make-list):
27469 * calendar/cal-china.el (calendar-chinese-date-string):
27470 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
27471 (diary-hebrew-yahrzeit):
27472 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
27473 * calendar/calendar.el (calendar-generate-window):
27474 * calendar/time-date.el (time-to-days):
27475 Remove unused local variables.
27476
27477 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
27478
27479 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
27480 glyphless-char-display table.
27481 (tabulated-list-glyphless-char-display): New var.
27482
27483 2011-04-18 Sam Steingold <sds@gnu.org>
27484
27485 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
27486 to acknowledgments.
27487
27488 2011-04-17 Glenn Morris <rgm@gnu.org>
27489
27490 * calendar/diary-lib.el (diary-sexp-entry):
27491 * calendar/holidays.el (holiday-sexp):
27492 Set debug-on-error rather than the removed stack-trace-on-error.
27493
27494 2011-04-16 Glenn Morris <rgm@gnu.org>
27495
27496 * progmodes/f90.el: Use lexical-binding.
27497 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
27498
27499 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
27500
27501 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
27502 (mail-mode): Setup mailalias completion here instead.
27503 * mail/mailalias.el: Use lexical-binding.
27504 (pattern, mailalias-done): Declare dynamic.
27505 (mail-completion-at-point-function): New function, from mail-complete.
27506 (mail-complete): Use it.
27507 (mail-completion-expand): New function.
27508 (mail-get-names): Use it.
27509 (mail-directory, mail-directory-process, mail-directory-stream):
27510 Don't use `pattern' for lexically bound arg.
27511
27512 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
27513
27514 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
27515 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
27516 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
27517
27518 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
27519 (byte-save-window-excursion, byte-temp-output-buffer-setup)
27520 (byte-interactive-p): Define them again, for use when inlining
27521 old code.
27522
27523 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
27524
27525 * loadup.el: Use `string-to-number', not `string-to-int'.
27526
27527 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
27528
27529 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
27530 gud-gdb-complete-command.
27531 (gud-gdb-completions): New function, from gud-gdb-complete-command.
27532 (gud-gdb-completion-at-point): New function.
27533 (gud-gdb-completions): Remove.
27534
27535 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
27536
27537 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
27538 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
27539 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
27540 whether `executable-find' is bound.
27541
27542 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
27543
27544 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
27545
27546 * minibuffer.el (completion-in-region-mode-predicate)
27547 (completion-in-region-mode--predicate): New vars.
27548 (completion-in-region, completion-in-region--postch)
27549 (completion-in-region-mode): Use them.
27550 (completion--capf-wrapper): Also return the hook function.
27551 (completion-at-point, completion-help-at-point):
27552 Adjust and provide a predicate.
27553
27554 Preserve arg names for advice of subr and lexical functions (bug#8457).
27555 * help-fns.el (help-function-arglist): Consolidate the subr and
27556 new-byte-code cases. Add argument `preserve-names' to extract names
27557 from the docstring when needed.
27558 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
27559 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
27560 (ad-arglist): Use help-function-arglist's new arg.
27561 (ad-definition-type): Use cond.
27562
27563 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
27564
27565 * autorevert.el (auto-revert-handler):
27566 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
27567 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
27568 Don't quote lambda.
27569
27570 * image-mode.el (image-transform-set-scale):
27571 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
27572
27573 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
27574
27575 * net/network-stream.el (network-stream-open-starttls): Only do
27576 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
27577 Upgrades via gnutls-cli are too slow to be done opportunistically.
27578
27579 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
27580
27581 * dframe.el (dframe-current-frame): Remove spurious quote.
27582
27583 2011-04-12 Glenn Morris <rgm@gnu.org>
27584
27585 * calendar/cal-tex.el (cal-tex-end-document):
27586 Try to automatically use latin1 input if needed.
27587
27588 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
27589 Don't try to cons a mark onto an empty element.
27590
27591 2011-04-11 Leo Liu <sdl.web@gmail.com>
27592
27593 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
27594 buffers.
27595 (ido-kill-buffer-at-head): Support killing virtual buffers.
27596
27597 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
27598
27599 * minibuffer.el (completion-show-inline-help): New var.
27600 (completion--do-completion, minibuffer-complete)
27601 (minibuffer-force-complete, minibuffer-complete-word):
27602 Inhibit minibuffer messages if completion-show-inline-help is nil.
27603
27604 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
27605 to avoid interference from inline help (Bug#5849).
27606
27607 2011-04-10 Leo Liu <sdl.web@gmail.com>
27608
27609 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
27610 Fix typo.
27611
27612 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
27613
27614 * image-mode.el (image-toggle-display-image): Signal an error if
27615 not in Image mode.
27616 (image-transform-mode, image-transform-resize)
27617 (image-transform-set-rotation): Doc fix.
27618 (image-transform-set-resize): Delete.
27619 (image-transform-set-scale, image-transform-fit-to-height)
27620 (image-transform-fit-to-width): Handle image-toggle-display-image
27621 and image-transform-resize directly.
27622
27623 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
27624
27625 * doc-view.el (doc-view-fit-width-to-window)
27626 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
27627 New functions for fitting the shown image to the Emacs window size.
27628 (doc-view-mode-map): Add bindings for the new functions.
27629
27630 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
27631
27632 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
27633 Fix typo in docstring.
27634
27635 2011-04-08 Eli Zaretskii <eliz@gnu.org>
27636
27637 * files.el (file-size-human-readable): Produce one digit after
27638 decimal, like "ls -lh" does.
27639
27640 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
27641 the file size representation.
27642
27643 * simple.el (list-processes): If async subprocesses are not
27644 available, error out with a clear error message.
27645
27646 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
27647
27648 * help.el (help-form-show): New function, to be called from C.
27649 Put help-form output in a buffer named differently than *Help*.
27650
27651 2011-04-08 Eli Zaretskii <eliz@gnu.org>
27652
27653 * files.el (file-size-human-readable): New function.
27654
27655 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
27656 computing the representation inline. Don't require `cl'.
27657
27658 2011-04-08 Glenn Morris <rgm@gnu.org>
27659
27660 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
27661
27662 * net/browse-url.el (browse-url-firefox):
27663 Test system-type, not system-configuration.
27664
27665 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
27666 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
27667 Use log-edit-empty-buffer-p. (Bug#7598)
27668
27669 * net/rlogin.el (rlogin-process-connection-type): Simplify.
27670 (rlogin-mode-map): Initialize in the defvar.
27671 (rlogin): Use ignore-errors.
27672
27673 * replace.el (occur-mode-map): Some fixes for menu items.
27674
27675 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
27676
27677 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
27678
27679 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
27680
27681 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
27682 issuing unused warnings.
27683
27684 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
27685 macro directly.
27686
27687 * simple.el: Lisp reimplement of list-processes. Based on an
27688 earlier reimplementation by Leo Liu, but using tabulated-list.el.
27689 (process-menu-mode): New major mode.
27690 (list-processes--refresh, list-processes):
27691 (process-menu-visit-buffer): New functions.
27692
27693 * files.el (save-buffers-kill-emacs): Don't assume any return
27694 value of list-processes, which is undocumented anyway.
27695
27696 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
27697
27698 * emacs-lisp/tabulated-list.el: New file.
27699
27700 * emacs-lisp/package.el: Use Tabulated List mode.
27701 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
27702 (package-menu-mode): Derive from tabulated-list-mode. Set up the
27703 table format using Tabulated List mode variables.
27704 (package--push): New macro, replacing package-list-maybe-add.
27705 (package-menu--generate): Use package--push. Renamed from
27706 package--generate-package-list.
27707 (package-menu-refresh, list-packages): Use it.
27708 (package-menu--print-info): Rename from package-print-package.
27709 Return insertion data instead of inserting it directly.
27710 (package-menu-describe-package, package-menu-execute):
27711 Use tabulated-list-get-id.
27712 (package-menu-mark-delete, package-menu-mark-install)
27713 (package-menu-mark-unmark, package-menu-backup-unmark)
27714 (package-menu-mark-obsolete-for-deletion):
27715 Use tabulated-list-put-tag.
27716 (package--list-packages, package-menu-revert)
27717 (package-menu-get-package, package-menu-get-version)
27718 (package-menu-sort-by-column): Functions deleted.
27719 (package-menu-package-list, package-menu-sort-key): Vars deleted.
27720 (package-menu--status-predicate, package-menu--version-predicate)
27721 (package-menu--name-predicate)
27722 (package-menu--description-predicate): Handle arguments in the
27723 Tabulated List format.
27724 (package-list-packages-no-fetch): Call list-packages.
27725
27726 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
27727
27728 * files.el (after-find-file-from-revert-buffer): Remove variable.
27729 (after-find-file): Don't bind it.
27730 (revert-buffer-in-progress-p): New variable.
27731 (revert-buffer): Bind it.
27732 Pass nil for `after-find-file-from-revert-buffer'.
27733
27734 * saveplace.el (save-place-find-file-hook): Use new variable
27735 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
27736
27737 2011-04-06 Glenn Morris <rgm@gnu.org>
27738
27739 * Makefile.in (AUTOGEN_VCS): New variable.
27740 (autoloads): Use $AUTOGEN_VCS.
27741
27742 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
27743 * calendar/calendar.el (calendar-mode-map):
27744 Check for toolkit scroll bars. (Bug#8305)
27745
27746 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
27747
27748 * minibuffer.el (completion-in-region--postch)
27749 (completion-in-region-mode): Remove unnecessary messages.
27750
27751 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
27752
27753 * font-lock.el (font-lock-refresh-defaults):
27754 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
27755 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
27756
27757 * info.el (Info-directory-list, Info-read-node-name-2)
27758 (Info-split-parameter-string): Doc fixes.
27759 (Info-virtual-nodes): Reflow docstring.
27760 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
27761 (Info-apropos-toc-nodes, info-finder, Info-get-token)
27762 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
27763 Fix typos in docstrings.
27764 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
27765 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
27766 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
27767 (Info-restore-desktop-buffer): Mark unused parameters.
27768 (Info-directory-find-file, Info-directory-find-node)
27769 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
27770 (Info-virtual-index-find-node, Info-apropos-find-file)
27771 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
27772 Mark unused parameters; fix typos in docstrings.
27773 (Info-virtual-index): Remove unused local variable `nodename'.
27774
27775 2011-04-05 Deniz Dogan <deniz@dogan.se>
27776
27777 * net/rcirc.el: Update my e-mail address.
27778 (rcirc-mode-map): Remove M-o binding.
27779
27780 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
27781
27782 * startup.el (command-line): Save the cursor's theme-face
27783 directly, instead of using face-override-spec.
27784
27785 * custom.el (load-theme): Minor optimization in assigning faces.
27786
27787 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
27788
27789 * help-fns.el (describe-variable): Complete all variables having
27790 documentation, including keywords.
27791 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
27792
27793 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
27794
27795 Convert to lexical-binding.
27796
27797 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
27798 (bs--get-marked-string, bs--get-modified-string)
27799 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
27800 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
27801 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
27802
27803 * ehelp.el (electric-help-execute-extended)
27804 (electric-help-ctrl-x-prefix):
27805 * hexl.el (hexl-revert-buffer-function):
27806 * linum.el (linum-after-change, linum-after-scroll):
27807 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
27808
27809 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
27810
27811 2011-04-04 Daiki Ueno <ueno@unixuser.org>
27812
27813 * epa-dired.el:
27814 * epa-mail.el:
27815 * epa-hook.el:
27816 * epa-file.el:
27817 * epa.el:
27818 * epg.el: Use lexical binding.
27819
27820 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
27821
27822 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
27823
27824 * textmodes/flyspell.el (flyspell-word): Recognize default
27825 dictionary case for flyspell-mark-duplications-exceptions.
27826 Use regexp matching for languages.
27827 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
27828 default dictionary (Bug#7926).
27829
27830 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
27831
27832 * emacs-lisp/package.el (package--with-work-buffer):
27833 Recognize https URLs.
27834
27835 * net/network-stream.el: Move from gnus/proto-stream.el.
27836 Change prefix to network-stream throughout.
27837 (open-protocol-stream): Merge into open-network-stream, leaving
27838 open-protocol-stream as an alias. Handle nil BUFFER args.
27839
27840 * subr.el (open-network-stream): Move to net/network-stream.el.
27841
27842 2011-04-02 Glenn Morris <rgm@gnu.org>
27843
27844 * find-dired.el (find-exec-terminator): New option.
27845 (find-ls-option): Test for -ls support.
27846 (find-ls-subdir-switches): Test for -b in find-ls-option.
27847 (find-dired, find-grep-dired): Doc fixes.
27848 (find-dired): Use find-exec-terminator.
27849
27850 * find-dired.el (find-ls-option, find-ls-subdir-switches)
27851 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
27852 (find-name-arg): Remove purecopy.
27853
27854 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
27855 (grep-compute-defaults): Check for `-exec COMMAND +' support.
27856 Set grep-find-use-xargs, grep-find-command, and grep-find-template
27857 accordingly. Don't add the null-device if not needed.
27858
27859 * files.el (save-some-buffers): Doc fix.
27860
27861 2011-04-02 Eli Zaretskii <eliz@gnu.org>
27862
27863 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
27864
27865 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
27866
27867 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
27868 Use `dolist' rather than `mapcar'.
27869
27870 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
27871
27872 Add lexical binding.
27873
27874 * subr.el (apply-partially): Use new closures rather than CL.
27875 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
27876 (dolist, dotimes): Use slightly different expansion for lexical code.
27877 (functionp): Move to C.
27878 (letrec): New macro.
27879 (with-wrapper-hook): Use it and apply-partially instead of CL.
27880 (eval-after-load): Preserve lexical-binding.
27881 (save-window-excursion, with-output-to-temp-buffer): Turn them
27882 into macros.
27883
27884 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
27885
27886 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
27887 than the arglist.
27888 (help-add-fundoc-usage): Don't add `Not documented'.
27889 (help-function-arglist): Handle closures, subroutines, and new
27890 byte-code-functions.
27891 (help-make-usage): Remove leading underscores.
27892 (describe-function-1): Handle closures.
27893 (describe-variable): Use special-variable-p for completion.
27894
27895 * files.el (lexical-binding): Declare safe.
27896
27897 * emacs-lisp/pcase.el: Don't use destructuring-bind.
27898 (pcase--memoize): Rename from pcase-memoize. Change weakness.
27899 (pcase): Add `let' pattern.
27900 Change memoization so it actually works.
27901 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
27902 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
27903 <let>: New case.
27904
27905 * emacs-lisp/macroexp.el: Use lexical binding.
27906 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
27907 Don't convert ' to #' without checking that it's indeed quoting
27908 a lambda.
27909
27910 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
27911 Use eval-sexp-add-defvars.
27912 (eval-sexp-add-defvars): New fun.
27913
27914 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
27915
27916 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
27917 Don't autoload.
27918 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
27919 than the internal `byte-compile-lambda'.
27920 (defmethod): Don't hide code under quotes.
27921 (eieio-defmethod): New `code' argument.
27922
27923 * emacs-lisp/eieio-comp.el: Remove.
27924
27925 * emacs-lisp/edebug.el (edebug-eval-defun)
27926 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
27927 (edebug-toggle): Avoid `eval'.
27928
27929 * emacs-lisp/disass.el (disassemble-internal): Handle new
27930 `closure' objects.
27931 (disassemble-1): Handle new byte codes.
27932
27933 * emacs-lisp/cl.el (pushnew): Silence warning.
27934
27935 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
27936 (cl-byte-compile-throw): Remove.
27937 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
27938
27939 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
27940 closures.
27941
27942 * emacs-lisp/cconv.el: New file.
27943
27944 * emacs-lisp/bytecomp.el: Use lexical binding instead of
27945 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
27946 (byte-compile-initial-macro-environment):
27947 Handle declare-function here.
27948 (byte-compile--lexical-environment): New var.
27949 (byte-stack-ref, byte-stack-set, byte-discardN)
27950 (byte-discardN-preserve-tos): New lap codes.
27951 (byte-interactive-p): Don't use any more.
27952 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
27953 New macros.
27954 (byte-compile-lapcode): Use them and handle new lap codes.
27955 (byte-compile-obsolete): Remove.
27956 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
27957 (byte-compile-arglist-warn): Check late def of inlinable funs.
27958 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
27959 since they should have been expanded by now.
27960 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
27961 (byte-compile-from-buffer): Remove unused second arg.
27962 (byte-compile-preprocess): New function.
27963 (byte-compile-toplevel-file-form): New function to distinguish
27964 file-form calls from outside from file-form calls from hunk-handlers.
27965 (byte-compile-file-form): Simplify.
27966 (byte-compile-file-form-defsubst): Remove.
27967 (byte-compile-file-form-defmumble): Simplify now that
27968 byte-compile-lambda always returns a byte-code-function.
27969 (byte-compile): Preprocess.
27970 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
27971 Remove, not used any more.
27972 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
27973 (byte-compile-make-args-desc): New funs.
27974 (byte-compile-lambda): Handle lexical functions. Always return
27975 a byte-code-function.
27976 (byte-compile-reserved-constants): New var, to make up room for
27977 closed-over variables.
27978 (byte-compile-constants-vector): Obey it.
27979 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
27980 (byte-compile-macroexpand-declare-function): New function.
27981 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
27982 byte-code-functions.
27983 (byte-compile-form): Check obsolescence here.
27984 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
27985 (byte-compile-variable-ref): Remove.
27986 (byte-compile-dynamic-variable-op): New fun.
27987 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
27988 (byte-compile-variable-set): New funs.
27989 (byte-compile-discard): Add 2 args.
27990 (byte-compile-stack-ref, byte-compile-stack-set)
27991 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
27992 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
27993 macroexpand-all instead.
27994 (byte-compile-quote-form): Remove.
27995 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
27996 (byte-compile-bind, byte-compile-unbind): New funs.
27997 (byte-compile-let): Handle let* and lexical binding.
27998 (byte-compile-let*): Remove.
27999 (byte-compile-catch, byte-compile-unwind-protect)
28000 (byte-compile-track-mouse, byte-compile-condition-case):
28001 Handle a new :fun-body form, used for lexical scoping.
28002 (byte-compile-save-window-excursion)
28003 (byte-compile-with-output-to-temp-buffer): Remove.
28004 (byte-compile-defun): Simplify.
28005 (byte-compile-stack-adjustment): New fun.
28006 (byte-compile-out): Use it.
28007 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
28008
28009 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
28010 handler any more.
28011
28012 * emacs-lisp/byte-opt.el: Use lexical binding.
28013 (byte-inline-lapcode): Remove (to bytecomp).
28014 (byte-compile-inline-expand): Pay attention to inlining to/from
28015 lexically bound code.
28016 (byte-compile-unfold-lambda): Don't handle byte-code-functions
28017 any more.
28018 (byte-optimize-form-code-walker): Don't handle save-window-excursion
28019 any more and don't call compiler-macros.
28020 (byte-compile-splice-in-already-compiled-code): Remove.
28021 (byte-code): Don't inline any more.
28022 (disassemble-offset): Receive `bytes' as argument rather than via
28023 dynamic scoping.
28024 (byte-compile-tag-number): Declare before first use.
28025 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
28026 `return' even if make-spliceable.
28027 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
28028 obsolete interactive-p.
28029 (byte-optimize-lapcode): Optimize new lap-codes.
28030 Don't trip up on new form of `byte-constant' lap code.
28031
28032 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
28033
28034 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
28035
28036 * custom.el (custom-initialize-default, custom-declare-variable):
28037 Use `defvar'.
28038
28039 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
28040 New variables.
28041 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
28042 (COMPILE_FIRST): Add macroexp and cconv.
28043 * makefile.w32-in: Mirror changes in Makefile.in.
28044
28045 * vc/cvs-status.el:
28046 * vc/diff-mode.el:
28047 * vc/log-edit.el:
28048 * vc/log-view.el:
28049 * vc/smerge-mode.el:
28050 * textmodes/bibtex-style.el:
28051 * textmodes/css-mode.el:
28052 * startup.el:
28053 * uniquify.el:
28054 * minibuffer.el:
28055 * newcomment.el:
28056 * reveal.el:
28057 * server.el:
28058 * mpc.el:
28059 * emacs-lisp/smie.el:
28060 * doc-view.el:
28061 * dired.el:
28062 * abbrev.el: Use lexical binding.
28063
28064 2011-04-01 Eli Zaretskii <eliz@gnu.org>
28065
28066 * info.el (info-display-manual): New function.
28067
28068 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
28069
28070 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
28071
28072 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
28073
28074 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
28075 an entry for that server in rcirc-authinfo. (Bug#8385)
28076
28077 2011-03-31 Glenn Morris <rgm@gnu.org>
28078
28079 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
28080
28081 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
28082
28083 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
28084
28085 * progmodes/python.el (python-default-interpreter)
28086 (python-python-command-args, python-jython-command-args)
28087 (python-which-shell, python-which-args, python-which-bufname)
28088 (python-file-queue, python-comint-output-filter-function)
28089 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
28090 variables and functions.
28091
28092 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
28093
28094 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
28095 (completion-in-region-mode): New minor mode.
28096 (completion-in-region): Use it.
28097 (completion-in-region--data, completion-in-region-mode-map): New vars.
28098 (completion-in-region--postch): New function.
28099 (completion--capf-misbehave-funs, completion--capf-safe-funs):
28100 New vars.
28101 (completion--capf-wrapper): New function.
28102 (completion-at-point): Use it to track well-behavedness of
28103 hook functions.
28104 (completion-help-at-point): New command.
28105
28106 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
28107
28108 * vc/add-log.el (add-change-log-entry): Don't use whitespace
28109 syntax class to search for whitespace on a single line
28110 (Message-ID: <4D938140.4030905@redhat.com>).
28111
28112 2011-03-30 Leo Liu <sdl.web@gmail.com>
28113
28114 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
28115 New commands.
28116 (edit-abbrevs-map): Bind them here.
28117 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
28118
28119 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
28120
28121 * allout.el (allout-hide-by-annotation, allout-flag-region):
28122 Reduce possibility of overlay leakage by making them volatile.
28123
28124 * allout-widgets.el (allout-widgets-tally): Define as nil so the
28125 hash is not shared between buffers. Mode initialization is
28126 responsible for giving it a useful starting value.
28127 (allout-item-span): Reduce possibility of overlay leakage by
28128 making them volatile.
28129 (allout-widgets-count-buttons-in-region): Add diagnostic function
28130 for tracking down button overlay leaks.
28131
28132 2011-03-29 Leo Liu <sdl.web@gmail.com>
28133
28134 * ido.el (ido-read-internal): Use the default history var
28135 minibuffer-history if no HISTORY is specified.
28136
28137 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
28138
28139 * net/imap.el (imap-shell-open, imap-process-connection-type):
28140 Use imap-process-connection-type for 'shell' streams as well as
28141 Kerberos, SSL, other subprocesses.
28142
28143 2011-03-28 Leo Liu <sdl.web@gmail.com>
28144
28145 * abbrev.el (abbrev-table-empty-p): New function.
28146 (prepare-abbrev-list-buffer): Place empty abbrev tables after
28147 nonempty ones. (Bug#5937)
28148
28149 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
28150
28151 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
28152
28153 2011-03-27 Leo Liu <sdl.web@gmail.com>
28154
28155 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
28156 for foreground and background colors.
28157 (ansi-color-make-color-map): Adapt.
28158
28159 2011-03-25 Leo Liu <sdl.web@gmail.com>
28160
28161 * midnight.el (midnight-time-float): Remove. Note it calculates
28162 the microsecond component incorrectly and seconds-to-time does the
28163 same job.
28164 Remove redundant (require 'timer).
28165
28166 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
28167 (ido-completions): Remove unused arguments. (Bug#8329)
28168
28169 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
28170
28171 * minibuffer.el (completion--flush-all-sorted-completions):
28172 Remove itself from hook.
28173 (completion-at-point): Let the functions perform the completion
28174 immediately and return nil or t.
28175 * comint.el (comint-dynamic-complete-functions): Now identical to
28176 completion-at-point-functions.
28177 (comint-dynamic-list-input-ring): Remove unused var `index'.
28178 (comint--match-partial-filename, comint--unquote&expand-filename):
28179 New funs, split from comint-match-partial-filename.
28180 (comint-dynamic-complete): Use completion-at-point.
28181 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
28182
28183 2011-03-24 Drew Adams <drew.adams@oracle.com>
28184
28185 * thingatpt.el: Support `defun'.
28186
28187 2011-03-23 Leo Liu <sdl.web@gmail.com>
28188
28189 * abbrevlist.el: Move to obsolete/abbrevlist.el.
28190
28191 * help-mode.el (help-mode-finish): Tweak regexp.
28192
28193 2011-03-23 Glenn Morris <rgm@gnu.org>
28194
28195 * eshell/esh-opt.el (eshell-eval-using-options):
28196 Do not bind unused local variable `eshell-option-stub'.
28197
28198 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
28199
28200 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
28201
28202 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
28203 keymap variable in `with-no-warnings' to avoid a warning when the
28204 keymap has been already `defconst'ed.
28205
28206 2011-03-22 Leo Liu <sdl.web@gmail.com>
28207
28208 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
28209 encode all chars in abbrevs; otherwise use emacs-mule or
28210 utf-8-emacs. (Bug#8308)
28211
28212 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
28213
28214 * simple.el (backward-delete-char-untabify):
28215 Avoid warning about using `delete-backward-char'.
28216
28217 * image.el (image-type-file-name-regexps): Make it variable.
28218 `imagemagick-register-types' modifies it, and the user may want
28219 to add new extensions for known image types.
28220 (imagemagick-register-types): Throw error if not using ImageMagick.
28221
28222 2011-03-22 Leo Liu <sdl.web@gmail.com>
28223
28224 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
28225 located before rcirc-prompt-end-marker.
28226 (rcirc-complete): Error if point is not after rcirc prompt.
28227 Handle the case when table is nil.
28228 (rcirc-user-authenticated): Define to fix compiler warning.
28229
28230 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
28231
28232 * custom.el (custom--inhibit-theme-enable): Make it affect only
28233 custom-theme-set-variables and custom-theme-set-faces.
28234 (provide-theme): Ignore custom--inhibit-theme-enable.
28235 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
28236 (custom-enabling-themes): Delete variable.
28237 (enable-theme): Accept only loaded themes as arguments.
28238 Ignore the special custom-enabled-themes variable.
28239 (custom-enabled-themes): Forbid themes from setting this.
28240 Eliminate use of custom-enabling-themes.
28241 (custom-push-theme): Quote "changed" custom var entry.
28242
28243 2011-03-21 Leo Liu <sdl.web@gmail.com>
28244
28245 * ido.el (ido-read-internal): Add ido-selected to history instead
28246 of user input.
28247
28248 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
28249
28250 * subr.el (deferred-action-list, deferred-action-function):
28251 Mark obsolete.
28252
28253 2011-03-21 Leo Liu <sdl.web@gmail.com>
28254
28255 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
28256 change on 2011-02-13 (bug#8309).
28257
28258 * minibuffer.el (read-file-name-function): Change default value.
28259 (read-file-name--defaults): Rename from read-file-name-defaults.
28260 (read-file-name-default): Rename from read-file-name.
28261 (read-file-name): Call read-file-name-function.
28262
28263 2011-03-21 Glenn Morris <rgm@gnu.org>
28264
28265 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
28266 Doc fixes.
28267
28268 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
28269
28270 * cus-theme.el: Add missing provide statement.
28271 (customize-create-theme): Extract theme value correctly.
28272 (custom-theme-visit-theme): Autoload.
28273 (customize-create-theme): Prompt before inserting default faces.
28274
28275 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
28276
28277 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
28278 units and musical notes.
28279
28280 2011-03-20 Leo Liu <sdl.web@gmail.com>
28281
28282 * ido.el (ido-read-internal): Use completing-read-default.
28283 (ido-completing-read): Fix compatibility with completing-read.
28284
28285 2011-03-20 Christian Ohler <ohler@gnu.org>
28286
28287 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
28288 (ert-delete-all-tests): Use `called-interactively-p' rather than
28289 `interactive-p'.
28290 (ert--make-xrefs-region): Respect END.
28291
28292 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
28293
28294 * dired-aux.el (dired-create-directory): Signal an error if the
28295 directory already exists (Bug#8246).
28296
28297 * facemenu.el (list-colors-display): Call list-faces-display
28298 inside with-help-window.
28299 (list-colors-print): Use display property to align the final
28300 column, instead of checking window-width.
28301
28302 2011-03-19 Eli Zaretskii <eliz@gnu.org>
28303
28304 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
28305 windows-nt systems.
28306 (emerge-protect-metachars): Quote correctly for ms-dos and
28307 windows-nt systems.
28308
28309 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
28310
28311 * info.el (info-initialize): Replace all uses of `:' with
28312 path-separator for compatibility with non-Unix systems.
28313 Cache quoting of path-separator. (Bug#8258)
28314
28315 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
28316
28317 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
28318 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
28319 (mouse-avoidance-mode): Fix typos in docstrings.
28320
28321 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
28322
28323 * startup.el (package-subdirectory-regexp): Move from package.el.
28324 Omit \\` and \\', and let callers add them.
28325
28326 * emacs-lisp/package.el (package-strip-version)
28327 (package-load-all-descriptors): Add \\` and \\' to
28328 package-subdirectory-regexp before using it.
28329 (package-untar-buffer): New arg DIR; ensure that file untars only
28330 into this expected directory. Remove superfluous delete-region.
28331 (package-unpack): Caller changed.
28332 (package-tar-file-info): Use package-subdirectory-regexp.
28333
28334 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
28335
28336 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
28337 diff-mode-shared-map (bug#8284).
28338 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
28339
28340 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
28341
28342 * calendar/time-date.el (format-seconds): Use assoc instead of
28343 assoc-string, since assoc-string doesn't exist in XEmacs.
28344
28345 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
28346
28347 * custom.el (custom-known-themes): Reflow docstring.
28348 (custom-theme-load-path): Fix typo in docstring.
28349 (load-theme): Fix typo in error message.
28350 (custom-available-themes, custom-variable-theme-value):
28351 Use `let', not `let*'.
28352
28353 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
28354
28355 * calc/README: Mention inclusion of musical notes.
28356
28357 * calc/calc-units.el (calc-lu-quant): Rename from
28358 `calc-logunits-quantity'.
28359 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
28360 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
28361 (calc-db): Rename from `calc-dblevel'.
28362 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
28363 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
28364 (calc-np): Rename from `calc-nplevel'.
28365 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
28366 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
28367 (calc-lu-plus): Rename from `calc-logunits-add'.
28368 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
28369 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
28370 (calc-lu-minus): Rename from `calc-logunits-sub'.
28371 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
28372 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
28373 (calc-lu-times): Rename from `calc-logunits-mul'.
28374 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
28375 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
28376 (calc-lu-divide): Rename from `calc-logunits-div'.
28377 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
28378 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
28379
28380 * calc/calc-ext.el (calc-init-extensions): Update the names of the
28381 functions being autoloaded.
28382
28383 * calc/calc.el (calc-lu-power-reference): Rename from
28384 `calc-logunits-power-reference'.
28385 (calc-lu-field-reference): Rename from
28386 `calc-logunits-field-reference'.
28387
28388 * calc/calc-help.el (calc-l-prefix-help):
28389 Mention musical note functions.
28390
28391 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
28392
28393 * minibuffer.el (completion-all-sorted-completions):
28394 Use :completion-cycle-penalty text property if present.
28395
28396 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
28397
28398 * allout.el (allout-yank-processing): Adjust for new rebulleting
28399 regime so bullet being yanked is used without prompting the user
28400 for a choice.
28401
28402 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
28403
28404 * startup.el (command-line): Warn the user that _emacs is deprecated.
28405
28406 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
28407
28408 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
28409 (delphi-verbose, delphi-comment-face, delphi-string-face)
28410 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
28411 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
28412 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
28413 (delphi-new-comment-line, delphi-font-lock-defaults)
28414 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
28415 Fix typos in docstrings.
28416
28417 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
28418
28419 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
28420 Invert the roles of character and string values for INSTEAD, so a
28421 string is used for the more common case of a defaulting prompt.
28422
28423 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
28424
28425 * progmodes/ruby-mode.el (ruby-backward-sexp):
28426 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
28427 * play/gamegrid.el (gamegrid-make-face):
28428 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
28429 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
28430 * notifications.el (notifications-notify):
28431 * net/xesam.el (xesam-search-engines):
28432 * net/quickurl.el (quickurl-list-insert):
28433 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
28434
28435 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
28436
28437 * startup.el (command-line): Update package subdirectory regexp.
28438
28439 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
28440
28441 * allout.el (allout-abbreviate-flattened-numbering)
28442 (allout-mode-deactivate-hook): Fix up obsolescence "date".
28443
28444 * subr.el (read-char-choice): Only show the cursor after the prompt,
28445 not after the answer.
28446
28447 2011-03-15 Kevin Ryde <user42@zip.com.au>
28448
28449 * help-fns.el (variable-at-point): Skip leading quotes, if any
28450 (bug#8253).
28451
28452 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
28453
28454 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
28455 warning message.
28456
28457 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
28458
28459 * shell.el (shell): When called interactively, offer to change the
28460 shell file name on remote hosts.
28461
28462 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
28463
28464 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
28465 integration for LDAP parameters. The host, base, user or binddn,
28466 and secret tokens can be specified in a netrc file, for instance.
28467 This is optional because an `auth-source' parameter must be
28468 specified in the search attributes.
28469
28470 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
28471
28472 * help.el (describe-mode): Link to the mode's definition (bug#8185).
28473
28474 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
28475
28476 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
28477 into declaration. Remove redundant and harmful binding.
28478
28479 2011-03-12 Eli Zaretskii <eliz@gnu.org>
28480
28481 * files.el (file-ownership-preserved-p): Pass `integer' as an
28482 explicit 2nd argument to `file-attributes'. If the file's owner
28483 is the Administrators group on Windows, and the current user is
28484 Administrator, consider that a match.
28485
28486 * server.el (server-ensure-safe-dir): Consider server directory
28487 safe on MS-Windows if its owner is the Administrators group while
28488 the current Emacs user is Administrator. Use `=' to compare
28489 numerical UIDs, since they could be integers or floats.
28490
28491 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
28492
28493 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
28494
28495 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
28496
28497 Sync with Tramp 2.2.1.
28498
28499 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
28500
28501 * net/trampver.el: Update release number.
28502
28503 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
28504
28505 * progmodes/compile.el (compilation--previous-directory): Fix up
28506 various nil/dead-marker mismatches (bug#8014).
28507 (compilation-directory-properties, compilation-error-properties):
28508 Don't call it at a position past the one we're about to change.
28509
28510 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
28511 Disable obsolescence warnings in the file that declares it.
28512
28513 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
28514
28515 * allout-widgets.el (allout-widgets-tally):
28516 Initialize allout-widgets-tally as a hash table rather than nil to
28517 prevent mode-line redisplay warnings. Also, clarify the module
28518 description and fix a comment typo.
28519
28520 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
28521
28522 * help-fns.el (describe-variable): Don't complete keywords.
28523 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
28524
28525 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
28526
28527 * emacs-lisp/package.el (package-version-join): Impose a standard
28528 string representation for pre/alpha/beta version lists.
28529 (package-unpack-single): Standardize the directory name by passing
28530 it through package-version-join.
28531 (package-strip-rcs-id): Accept any version string that does not
28532 signal an error in version-to-list.
28533
28534 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
28535
28536 * simple.el (delete-trailing-whitespace): Return nil for the
28537 benefit of `write-file-functions'.
28538
28539 2011-03-10 Glenn Morris <rgm@gnu.org>
28540
28541 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
28542
28543 * vc/vc-git.el (vc-git-program): New option.
28544 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
28545 (vc-git--call): Use it.
28546
28547 * eshell/esh-util.el (eshell-condition-case): Doc fix.
28548
28549 * cus-edit.el (Custom-newline): If no button at point, look
28550 for a subgroup button at start-of-line. (Bug#2298)
28551
28552 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
28553
28554 2011-03-10 Julien Danjou <julien@danjou.info>
28555
28556 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
28557 `cursor-type' is nil.
28558
28559 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
28560
28561 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
28562
28563 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
28564
28565 * allout.el: Change so yank of distinctive-bullet items
28566 preserves the existing header prefix, rebulleting it if necessary,
28567 rather than replacing it. This is necessary for proper operation
28568 of cooperative addons like allout-widgets.
28569 (allout-make-topic-prefix, allout-rebullet-heading):
28570 Change SOLICIT arg to INSTEAD, and interpret additionally a string
28571 value as alternate bullet to be used, instead of prompting the user
28572 for a bullet character.
28573
28574 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
28575
28576 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
28577 Do not use `tramp-file-name-port', because this returns also
28578 `tramp-default-port'.
28579
28580 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
28581
28582 * net/rcirc.el (rcirc-handler-001): Remove useless
28583 with-rcirc-process-buffer.
28584 (rcirc-check-auth-status): Swap arguments to string-match.
28585
28586 2011-03-09 Glenn Morris <rgm@gnu.org>
28587
28588 * shell.el (shell-mode):
28589 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
28590
28591 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
28592 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
28593
28594 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
28595
28596 * emacs-lisp/package.el (package-refresh-contents)
28597 (package-menu-execute): Use condition-case-no-debug.
28598
28599 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
28600
28601 * simple.el (shell-command-to-string): Use `process-file'.
28602
28603 * emacs-lisp/package.el (package-tar-file-info): Handle also
28604 remote files.
28605
28606 * emacs-lisp/package-x.el (package-upload-buffer-internal):
28607 Use `equal' for upload base check.
28608
28609 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
28610
28611 * textmodes/texinfo.el (texinfo-environments):
28612 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
28613
28614 2011-03-08 Glenn Morris <rgm@gnu.org>
28615
28616 * cus-start.el (cursor-in-non-selected-windows):
28617 Fix :set quoting oddness. (Bug#8192)
28618
28619 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
28620 in some setf expressions. (Bug#2159)
28621
28622 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
28623
28624 * custom.el (custom-available-themes): Return themes in
28625 alphabetical order.
28626
28627 See ChangeLog.15 for earlier changes.
28628
28629 ;; Local Variables:
28630 ;; coding: utf-8
28631 ;; End:
28632
28633 Copyright (C) 2011-2013 Free Software Foundation, Inc.
28634
28635 This file is part of GNU Emacs.
28636
28637 GNU Emacs is free software: you can redistribute it and/or modify
28638 it under the terms of the GNU General Public License as published by
28639 the Free Software Foundation, either version 3 of the License, or
28640 (at your option) any later version.
28641
28642 GNU Emacs is distributed in the hope that it will be useful,
28643 but WITHOUT ANY WARRANTY; without even the implied warranty of
28644 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
28645 GNU General Public License for more details.
28646
28647 You should have received a copy of the GNU General Public License
28648 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.