lisp/gnus/eww.el: Fix indentation
[bpt/emacs.git] / lisp / ChangeLog
1 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
4 (package-desc): Add `dir' field.
5 (package-desc-full-name): New function.
6 (package-load-descriptor): Combine the two arguments. Don't use `load'.
7 (package-maybe-load-descriptor): Remove.
8 (package-load-all-descriptors): Just call package-load-descriptor.
9 (package--disabled-p): New function.
10 (package-desc-vers, package-desc-doc): Remove aliases.
11 (package--dir): Remove function.
12 (package-activate): Check if a package is disabled.
13 (package-process-define-package): New function, extracted from
14 define-package.
15 (define-package): Turn into a place holder.
16 (package-unpack-single, package-tar-file-info):
17 Use package--description-file.
18 (package-compute-transaction): Use package--disabled-p.
19 (package-download-transaction): Don't call
20 package-maybe-load-descriptor since they're all loaded anyway.
21 (package-install): Change argument to be a pkg-desc.
22 (package-delete): Use a single pkg-desc argument.
23 (describe-package-1): Use package-desc-dir instead of package--dir.
24 Use package-desc property instead of package-symbol.
25 (package-install-button-action): Adjust accordingly.
26 (package--push): Rewrite.
27 (package-menu--print-info): Adjust accordingly. Change the ID format
28 to be a pkg-desc.
29 (package-menu-describe-package, package-menu-get-status)
30 (package-menu--find-upgrades, package-menu-mark-upgrades)
31 (package-menu-execute, package-menu--name-predicate):
32 Adjust accordingly.
33 * startup.el (package--description-file): New function.
34 (command-line): Use it.
35 * emacs-lisp/package-x.el (package-upload-buffer-internal):
36 Use package-desc-version.
37
38 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
39 (byte-compile-preprocess): Use it.
40 (byte-compile-file-form-defalias): Try a bit harder to use macros we
41 can't quite recognize.
42 (byte-compile-add-to-list): Remove.
43 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
44 (cconv-closure-convert): Add assertion.
45
46 * emacs-lisp/map-ynp.el: Use lexical-binding.
47 (map-y-or-n-p): Remove unused vars `tail' and `object'.
48 Factor out some repeated code.
49
50 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
51
52 * subr.el (with-eval-after-load): New macro.
53 (eval-after-load): Allow form to be a function.
54 take advantage of lexical-binding.
55 (do-after-load-evaluation): Use dolist and adjust to new format.
56 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
57
58 2013-06-13 Juri Linkov <juri@jurta.org>
59
60 * replace.el (perform-replace): Display "symbol " and other search
61 modes from `isearch-message-prefix' in the *Help* buffer.
62
63 * isearch.el (isearch-query-replace): Add " symbol" and other
64 possible search modes from `isearch-message-prefix' to the prompt.
65 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
66 when reading a regexp to collect.
67
68 2013-06-13 Juri Linkov <juri@jurta.org>
69
70 * isearch.el (word-search-regexp): Match whitespace if the search
71 string begins or ends in whitespace. The LAX arg is applied to
72 both ends of the search string. Use `regexp-quote' and explicit
73 \< and \> instead of \b. Use \` and \' instead of ^ and $.
74 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
75 boundaries are replaced with symbol boundaries, and characters
76 between symbols match non-word non-symbol syntax. (Bug#14602)
77
78 2013-06-13 Juri Linkov <juri@jurta.org>
79
80 * isearch.el (isearch-del-char): Don't exceed the length of
81 `isearch-string' by the prefix arg. (Bug#14563)
82
83 2013-06-13 Juri Linkov <juri@jurta.org>
84
85 * isearch.el (isearch-yank-word, isearch-yank-line)
86 (isearch-char-by-name, isearch-quote-char)
87 (isearch-printing-char, isearch-process-search-char):
88 Add optional count prefix arg. (Bug#14563)
89
90 * international/isearch-x.el
91 (isearch-process-search-multibyte-characters):
92 Add optional count prefix arg.
93
94 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
95
96 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
97 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
98 lexical-binding.
99
100 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
101
102 * subr.el (set-temporary-overlay-map): Add on-exit argument.
103
104 2013-06-13 Glenn Morris <rgm@gnu.org>
105
106 * startup.el (tty-handle-args):
107 Don't just discard "--" and anything after. (Bug#14608)
108
109 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
110
111 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
112
113 Implement changes in Secret Service API. Make it backward compatible.
114 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
115 (secrets-create-item): Use it. Prefix properties with interface.
116
117 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
118
119 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
120 (term-emulate-terminal): Respect term-suppress-hard-newline.
121
122 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
123
124 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
125 Only remove a `thumb-file' overlay. (Bug#14548)
126
127 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
128
129 * mail/reporter.el (reporter-submit-bug-report):
130 Handle missing package-name. (Bug#14600)
131
132 2013-06-12 RĂ¼diger Sonderfeld <ruediger@c-plusplus.de>
133
134 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
135 (reftex-citation-prompt, reftex-default-bibliography)
136 (reftex-bib-or-thebib, reftex-get-bibfile-list)
137 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
138 (reftex-bib-sort-author, reftex-bib-sort-year)
139 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
140 (reftex-extract-bib-entries-from-thebibliography)
141 (reftex-get-bibkey-default, reftex-get-bib-names)
142 (reftex-parse-bibtex-entry, reftex-get-bib-field)
143 (reftex-format-bib-entry, reftex-parse-bibitem)
144 (reftex-format-bibitem, reftex-do-citation)
145 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
146 (reftex-restrict-bib-matches, reftex-extract-bib-file)
147 (reftex-insert-bib-matches, reftex-format-citation)
148 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
149 (reftex-create-bibtex-file): Add docstrings, mostly by converting
150 existing comments into docstrings.
151
152 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
153
154 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
155
156 2013-06-12 Andreas Schwab <schwab@suse.de>
157
158 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
159 for auto-save files.
160
161 2013-06-12 Glenn Morris <rgm@gnu.org>
162
163 * ido.el (ido-delete-ignored-files): Remove.
164 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
165 Go back to calling ido-ignore-item-p directly.
166
167 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
168
169 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
170
171 * ido.el (ido-delete-ignored-files): New function,
172 split from ido-make-file-list-1.
173 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
174 (ido-make-file-list-1): Use ido-delete-ignored-files.
175
176 2013-06-12 Leo Liu <sdl.web@gmail.com>
177
178 * progmodes/octave.el (inferior-octave-startup)
179 (inferior-octave-completion-table)
180 (inferior-octave-track-window-width-change)
181 (octave-eldoc-function-signatures, octave-help)
182 (octave-find-definition): Use single quoted strings.
183 (inferior-octave-startup-args): Change default value.
184 (inferior-octave-startup): Do not hard code "-i" and
185 "--no-line-editing".
186 (inferior-octave-resync-dirs): Add optional arg NOERROR.
187 (inferior-octave-directory-tracker): Use it.
188 (octave-goto-function-definition): Robustify.
189 (octave-help): Support highlighting operators in 'See also'.
190 (octave-find-definition): Find subfunctions only in Octave mode.
191
192 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
193
194 * help-fns.el (help-fns--compiler-macro): If the handler function is
195 named, then put a link to it.
196 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
197 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
198 (cl-typep): Use it.
199 (cl-eval-when): Simplify debug spec.
200 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
201 compiler-macro function instead of setting `compiler-macro-file'.
202
203 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
204
205 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
206 * vc/vc-hooks.el (vc-stay-local): Doc fix.
207
208 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
209 Daniel Hackney <dan@haxney.org>
210
211 First part of Daniel Hackney's patch to package.el.
212 * emacs-lisp/package.el: Use defstruct.
213 (package-desc): New, main struct.
214 (package--bi-desc, package--ac-desc): New structs, used to describe the
215 format in external files.
216 (package-desc-vers): Replace with package-desc-version accessor.
217 (package-desc-doc): Replace with package-desc-summary accessor.
218 (package-activate-1): Remove `package' arg since the pkg-vec now
219 includes the name.
220 (define-package): Use package-desc-from-define.
221 (package-unpack-single): Change file-name arg to be a symbol.
222 (package--add-to-archive-contents): Use package-desc-create and new
223 accessor functions to package--ac-desc.
224 (package-buffer-info, package-tar-file-info): Return a package-desc.
225 (package-install-from-buffer): Remove `type' argument. Change pkg-info
226 arg to be a package-desc.
227 (package-install-file): Adjust accordingly. Use \' to match EOS.
228 (package--from-builtin): New function.
229 (describe-package-1, package-menu--generate): Use it.
230 (package--make-autoloads-and-compile): Change name arg to be a symbol.
231 (package-generate-autoloads): Idem and return the name of the file.
232 * emacs-lisp/package-x.el (package-upload-buffer-internal):
233 Change pkg-info arg to be a package-desc.
234 Use package-make-ac-desc.
235 (package-upload-file): Use \' to match EOS.
236 * finder.el (finder-compile-keywords): Use package-make-builtin.
237
238 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
239
240 * vc/vc.el (vc-deduce-fileset): Change error message.
241 (vc-read-backend): New function.
242 (vc-next-action): Use it.
243
244 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
245
246 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
247 (prolog-font-lock-keywords): Use regexp-opt instead.
248 Don't manually highlight strings.
249 (prolog-mode-variables): Simplify comment-start-skip.
250 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
251
252 * emacs-lisp/generic.el (generic--normalise-comments)
253 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
254 (generic-mode-set-comments): Use them.
255 (generic-bracket-support): Use setq-local.
256 (generic-make-keywords-list): Declare obsolete.
257
258 2013-06-11 Glenn Morris <rgm@gnu.org>
259
260 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
261 Prettify after setting font-lock-defaults. (Bug#14574)
262
263 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
264
265 * replace.el (query-replace, occur-read-regexp-defaults-function)
266 (replace-search):
267 * subr.el (declare-function, number-sequence, local-set-key)
268 (substitute-key-definition, locate-user-emacs-file)
269 (with-silent-modifications, split-string, eval-after-load):
270 Fix typos, remove unneeded backslashes and reflow some docstrings.
271
272 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
273
274 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
275 default for Elisp files.
276
277 2013-06-11 Glenn Morris <rgm@gnu.org>
278
279 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
280 although define-derived-mode was doing this anyway. (Bug#14583)
281
282 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
283
284 * allout.el (allout-encryption-plaintext-sanitization-regexps):
285 Fix make-variable-buffer-local call to refer to the correct variable.
286
287 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
288
289 * eshell/em-term.el (eshell-visual-commands)
290 (eshell-visual-subcommands, eshell-visual-options):
291 Add summary line to docstrings. Add cross-references.
292
293 2013-06-10 Glenn Morris <rgm@gnu.org>
294
295 * epa.el (epa-read-file-name): New function. (Bug#14510)
296 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
297
298 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
299
300 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
301 output redirection to be ignored with visual commands.
302
303 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
304
305 * eshell/em-term.el (eshell-visual-command-p): New function.
306 (eshell-term-initialize): Move long lambda to separate function
307 eshell-visual-command-p.
308 * eshell/em-dirs.el (eshell-dirs-initialise):
309 * eshell/em-script.el (eshell-script-initialize):
310 Add missing #' to lambda.
311
312 2013-06-08 Leo Liu <sdl.web@gmail.com>
313
314 * progmodes/octave.el (octave-add-log-current-defun): New function.
315 (octave-mode): Set add-log-current-defun-function.
316 (octave-goto-function-definition): Do not move point if not found.
317 (octave-find-definition): Enhance to try subfunctions first.
318
319 2013-06-08 Glenn Morris <rgm@gnu.org>
320
321 * emacs-lisp/bytecomp.el (byte-compile-char-before)
322 (byte-compile-backward-char, byte-compile-backward-word):
323 Improve previous change, to handle non-explicit nil.
324
325 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
326
327 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
328 (smie--opener/closer-at-point): New function.
329 (smie--matching-block-data): Use it. Don't match from right after an
330 opener or right before a closer. Obey smie-blink-matching-inners.
331 Don't signal a mismatch for repeated inners like "switch..case..case".
332
333 2013-06-07 Leo Liu <sdl.web@gmail.com>
334
335 * progmodes/octave.el (octave-mode): Set comment-use-global-state
336 to t. (Bug#14303)
337 (octave-function-header-regexp): Fix. (Bug#14570)
338 (octave-help-mode-finish-hook, octave-help-mode-finish):
339 Remove. Just use temp-buffer-show-hook.
340
341 * newcomment.el (comment-search-backward): Revert last change.
342 (Bug#14434)
343
344 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
345
346 2013-06-07 Eli Zaretskii <eliz@gnu.org>
347
348 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
349 through xargs, to avoid failure due to MS-Windows limitations on
350 command-line length.
351
352 2013-06-06 Glenn Morris <rgm@gnu.org>
353
354 * font-lock.el (lisp-font-lock-keywords-2):
355 Treat user-error like error.
356
357 * emacs-lisp/bytecomp.el (byte-compile-char-before)
358 (byte-compile-backward-char, byte-compile-backward-word):
359 Handle explicit nil arguments. (Bug#14565)
360
361 2013-06-05 Alan Mackenzie <acm@muc.de>
362
363 * isearch.el (isearch-allow-prefix): New user option.
364 (isearch-other-meta-char): Don't exit isearch when a prefix
365 argument is typed whilst `isearch-allow-prefix' is non-nil.
366 (Bug#9706)
367
368 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
369
370 * autorevert.el (auto-revert-notify-handler): Use memq.
371 Hide assertion failure.
372
373 * skeleton.el: Use cl-lib.
374 (skeleton-further-elements): Use defvar-local.
375 (skeleton-insert): Use cl-progv.
376
377 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
378
379 * progmodes/prog-mode.el (prog-prettify-symbols)
380 (prog-prettify-install): Update docstrings.
381
382 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
383
384 * simple.el: Move all the prog-mode code to prog-mode.el.
385 * progmodes/prog-mode.el: New file.
386 * loadup.el: Add prog-mode.el.
387
388 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
389
390 * simple.el (prog-prettify-symbols): Add version.
391 (prog-prettify-install): Add convenience function to prettify symbols.
392
393 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
394 (perl--augmented-font-lock-keywords-1)
395 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
396 variables and use it.
397
398 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
399 (cfengine3-mode): Remove unneeded variable and use it.
400
401 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
402 (lisp--augmented-font-lock-keywords-1)
403 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
404 Remove unneeded variables and use it.
405
406 2013-06-05 JoĂ£o TĂ¡vora <joaotavora@gmail.com>
407
408 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
409 to point when opening the connection. (Bug#14380)
410
411 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
412
413 * subr.el (load-history-regexp, load-history-filename-element)
414 (eval-after-load, after-load-functions, do-after-load-evaluation)
415 (eval-next-after-load, display-delayed-warnings)
416 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
417 definition of save-match-data.
418 (overriding-local-map): Remove accidental obsolescence declaration.
419
420 * emacs-lisp/edebug.el (edebug-result): Move before first use.
421
422 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
423
424 Generalize symbol prettify support to prog-mode and implement it
425 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
426 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
427 (prog--prettify-font-lock-compose-symbol)
428 (prog-prettify-font-lock-symbols-keywords): New variables and
429 functions to support symbol prettification.
430 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
431 (lisp--augmented-font-lock-keywords-1)
432 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
433 (lisp--prettify-symbols-alist): Implement prettify of lambda.
434 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
435 (cfengine3--prettify-symbols-alist, cfengine3-mode):
436 Implement prettify of -> => :: strings.
437 * progmodes/perl-mode.el (perl-prettify-symbols)
438 (perl--font-lock-compose-symbol)
439 (perl--font-lock-symbols-keywords): Move to prog-mode.
440 (perl--prettify-symbols-alist): Prettify -> => :: strings.
441 (perl-font-lock-keywords-1)
442 (perl-font-lock-keywords-2): Remove explicit prettify support.
443 (perl--augmented-font-lock-keywords)
444 (perl--augmented-font-lock-keywords-1)
445 (perl--augmented-font-lock-keywords-2, perl-mode):
446 Implement prettify support.
447
448 2013-06-05 Leo Liu <sdl.web@gmail.com>
449
450 Re-implement smie matching block highlight using
451 show-paren-data-function. (Bug#14395)
452 * emacs-lisp/smie.el (smie-matching-block-highlight)
453 (smie--highlight-matching-block-overlay)
454 (smie--highlight-matching-block-lastpos)
455 (smie-highlight-matching-block)
456 (smie-highlight-matching-block-mode): Remove.
457 (smie--matching-block-data-cache): New variable.
458 (smie--matching-block-data): New function.
459 (smie-setup): Use smie--matching-block-data for
460 show-paren-data-function.
461
462 * progmodes/octave.el (octave-mode-menu): Fix.
463 (octave-find-definition): Skip garbage lines.
464
465 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
466
467 Fix compilation error with simultaneous dynamic+lexical scoping.
468 Add warning when a defvar appears after the first let-binding.
469 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
470 (byte-compile-close-variables): Initialize it.
471 (byte-compile--declare-var): New function.
472 (byte-compile-file-form-defvar)
473 (byte-compile-file-form-define-abbrev-table)
474 (byte-compile-file-form-custom-declare-variable): Use it.
475 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
476 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
477 (byte-compile-bind): Handle dynamic bindings that shadow
478 lexical bindings.
479 (byte-compile-unbind): Make arg non-optional.
480 (byte-compile-let): Simplify.
481 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
482 (cconv--analyse-function, cconv-analyse-form): Populate it.
483 Protect byte-compile-bound-variables to limit the scope of defvars.
484 (cconv-analyse-form): Add missing rule for (defvar <foo>).
485 Remove unneeded rule for `declare'.
486
487 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
488 so as to avoid depending on cl-adjoin at run-time.
489 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
490
491 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
492 (macroexp--warn-and-return): Use it.
493
494 2013-06-05 Leo Liu <sdl.web@gmail.com>
495
496 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
497
498 2013-06-04 Leo Liu <sdl.web@gmail.com>
499
500 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
501 (compilation-auto-jump): Suppress the "Mark set" message to give
502 way to exit message.
503
504 2013-06-04 Alan Mackenzie <acm@muc.de>
505
506 Remove faulty optimisation from indentation calculation.
507 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
508 search limit based on 2000 characters back from indent-point.
509
510 2013-06-03 Tassilo Horn <tsdh@gnu.org>
511
512 * eshell/em-term.el (cl-lib): Require `cl-lib'.
513
514 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
515
516 * emacs-lisp/lisp.el: Use lexical-binding.
517 (lisp--local-variables-1, lisp--local-variables): New functions.
518 (lisp--local-variables-completion-table): New var.
519 (lisp-completion-at-point): Use it complete let-bound vars.
520
521 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
522 eagerly (bug#14422).
523
524 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
525
526 * autorevert.el (auto-revert-notify-enabled)
527 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
528 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
529 (auto-revert-notify-handler): Handle also gfilenotify.
530
531 * subr.el (file-notify-handle-event): New defun. Replacing ...
532 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
533 Remove.
534
535 2013-06-03 Juri Linkov <juri@jurta.org>
536
537 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
538 `M-s h .'. (Bug#14427)
539
540 * hi-lock.el (highlight-symbol-at-point): New alias for the new
541 command `hi-lock-face-symbol-at-point'.
542 (hi-lock-face-symbol-at-point): New command.
543 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
544 (hi-lock-menu): Add `highlight-symbol-at-point'.
545 (hi-lock-mode): Doc fix.
546
547 * isearch.el (isearch-forward-symbol-at-point): New command.
548 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
549 (isearch-highlight-regexp): Add a regexp which matches
550 words/symbols for word/symbol mode.
551
552 * subr.el (find-tag-default-bounds): New function with the body
553 mostly moved from `find-tag-default'.
554 (find-tag-default): Move most code to `find-tag-default-bounds',
555 call it and apply `buffer-substring-no-properties' afterwards.
556
557 2013-06-03 Tassilo Horn <tsdh@gnu.org>
558
559 * eshell/em-term.el (eshell-term-initialize):
560 Use `cl-intersection' rather than `intersection'.
561
562 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
563
564 * vc/log-view.el: Doc fix.
565 (log-view-mode-map): Copy keymap from `special-mode-map'.
566
567 2013-06-02 Eric Ludlam <zappo@gnu.org>
568
569 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
570 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
571 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
572 (eieio-unbound, eieio-default-superclass)
573 (eieio--define-field-accessors, method-static, method-before)
574 (method-primary, method-after, method-num-lists)
575 (method-generic-before, method-generic-primary)
576 (method-generic-after, method-num-slots)
577 (eieio-specialized-key-to-generic-key)
578 (eieio--check-type, class-v, class-p)
579 (eieio-class-name, define-obsolete-function-alias)
580 (eieio-class-parents-fast, eieio-class-children-fast)
581 (same-class-fast-p, class-constructor, generic-p)
582 (generic-primary-only-p, generic-primary-only-one-p)
583 (class-option-assoc, class-option, eieio-object-p)
584 (class-abstract-p, class-method-invocation-order)
585 (eieio-defclass-autoload-map, eieio-defclass-autoload)
586 (eieio-class-un-autoload, eieio-defclass)
587 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
588 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
589 (eieio--defgeneric-init-form, eieio-defgeneric-form)
590 (eieio-defgeneric-reset-generic-form)
591 (eieio-defgeneric-form-primary-only)
592 (eieio-defgeneric-reset-generic-form-primary-only)
593 (eieio-defgeneric-form-primary-only-one)
594 (eieio-defgeneric-reset-generic-form-primary-only-one)
595 (eieio-unbind-method-implementations)
596 (eieio--defmethod, eieio--typep)
597 (eieio-perform-slot-validation, eieio-validate-slot-value)
598 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
599 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
600 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
601 (eieio-slot-name-index, eieio-class-slot-name-index)
602 (eieio-set-defaults, eieio-initarg-to-attribute)
603 (eieio-attribute-to-initarg, eieio-c3-candidate)
604 (eieio-c3-merge-lists, eieio-class-precedence-c3)
605 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
606 (eieio-class-precedence-list, eieio-generic-call-methodname)
607 (eieio-generic-call-arglst, eieio-generic-call-key)
608 (eieio-generic-call-next-method-list)
609 (eieio-pre-method-execution-functions, eieio-generic-call)
610 (eieio-generic-call-primary-only, eieiomt-method-list)
611 (eieiomt-optimizing-obarray, eieiomt-install)
612 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
613 (eieio-generic-form, eieio-defmethod, make-obsolete)
614 (eieio-defgeneric, make-obsolete): Move to eieio-core.el
615 (defclass): Remove `eval-and-compile' from macro.
616 (call-next-method, shared-initialize): Instead of using
617 `scoped-class' variable, use new eieio--scoped-class, and
618 eieio--with-scoped-class.
619 (initialize-instance): Rename local variable 'scoped-class' to
620 'this-class' to remove ambiguitity from old global.
621
622 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
623 eieio.el.
624 (eieio--scoped-class-stack): New variable
625 (eieio--scoped-class): New fcn
626 (eieio--with-scoped-class): New scoping macro.
627 (eieio-defclass): Use pushnew instead of add-to-list.
628 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
629 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
630 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
631 `scoped-class' variable, use new eieio--scoped-class, and
632 eieio--with-scoped-class.
633
634 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
635
636 2013-06-02 Tassilo Horn <tsdh@gnu.org>
637
638 * eshell/esh-ext.el (eshell-external-command): Pass args to
639 `eshell-find-interpreter'.
640 (eshell-find-interpreter): Add new second parameter ARGS.
641
642 * eshell/em-script.el (eshell-script-initialize): Add second arg
643 to the function added as MATCH to `eshell-interpreter-alist'.
644
645 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
646 the function added as MATCH to `eshell-interpreter-alist'.
647
648 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
649 (eshell-visual-options): New defcustom.
650 (eshell-escape-control-x): Adapt docstring.
651 (eshell-term-initialize): Test `eshell-visual-subcommands' and
652 `eshell-visual-options' in addition to `eshell-visual-commands'.
653 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
654
655 2013-06-01 FabiĂ¡n Ezequiel Gallina <fgallina@gnu.org>
656
657 * progmodes/python.el (python-indent-block-enders): Add break,
658 continue and raise keywords.
659
660 2013-06-01 Glenn Morris <rgm@gnu.org>
661
662 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
663
664 Plain (f)boundp silences compilation warnings since Emacs 22.1.
665 * progmodes/cc-cmds.el (delete-forward-p):
666 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
667 * progmodes/cc-engine.el (buffer-syntactic-context):
668 * progmodes/cc-fonts.el (face-property-instance):
669 * progmodes/cc-mode.el (set-keymap-parents):
670 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
671 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
672 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
673 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
674 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
675
676 * progmodes/cc-vars.el (other): Emacs has this widget since
677 at least 21.1, so don't (re)define it.
678
679 * eshell/em-cmpl.el (eshell-cmpl-initialize):
680 Replace the obsolete alias pcomplete-arg-quote-list.
681
682 2013-06-01 Leo Liu <sdl.web@gmail.com>
683
684 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
685 punctuation syntax.
686 (inferior-octave-minimal-columns)
687 (inferior-octave-last-column-width): New variables.
688 (inferior-octave-track-window-width-change): New function.
689 (inferior-octave-mode): Adjust column width so that Octave output,
690 for example from 'ls', can fit into the window nicely.
691
692 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
693
694 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
695 Highlight expansions inside regexp literals.
696
697 2013-05-31 Glenn Morris <rgm@gnu.org>
698
699 * obsolete/sym-comp.el (symbol-complete):
700 Replace obsolete completion-annotate-function.
701
702 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
703
704 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
705
706 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
707 New function, checks if point is inside a literal that allows
708 expression expansion.
709 (ruby-syntax-propertize-expansion): Use it.
710 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
711 around the body.
712
713 2013-05-30 Juri Linkov <juri@jurta.org>
714
715 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
716 to "\M-si".
717 (isearch-invisible): New variable.
718 (isearch-forward): Doc fix.
719 (isearch-mode): Set `isearch-invisible'
720 to the value of `search-invisible'.
721 (isearch-toggle-case-fold): Doc fix.
722 (isearch-toggle-invisible): New command.
723 (isearch-query-replace): Let-bind `search-invisible'
724 to the value of `isearch-invisible'.
725 (isearch-search): Use `isearch-invisible' instead of
726 `search-invisible'. Let-bind `search-invisible'
727 to the value of `isearch-invisible'. (Bug#11378)
728
729 2013-05-30 Juri Linkov <juri@jurta.org>
730
731 * replace.el (perform-replace): Avoid `isearch-range-invisible'
732 call when `query-flag' is nil and `search-invisible' is non-nil.
733 (Bug#11746)
734
735 2013-05-30 Glenn Morris <rgm@gnu.org>
736
737 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
738
739 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
740 (cc-require): Suppress spurious "noruntime" warnings.
741 (cc-require-when-compile): Use fboundp, for sake of compiler.
742
743 * progmodes/cc-mode.el: Move load of cc-vars before that of
744 cc-langs (which in turn loads cc-vars), to quieten compiler.
745
746 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
747
748 * paren.el: Simplify the code.
749 (show-paren-mode): Always start the timer.
750 (show-paren--idle-timer): Rename from show-paren-idle-timer.
751 (show-paren--overlay, show-paren--overlay-1): Rename from
752 show-paren-overlay and show-paren-overlay-1, and initialize to an
753 overlay rather than to nil.
754 (show-paren-function): Misc cleanup and simplifications.
755
756 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
757
758 * paren.el (show-paren-data-function): New hook.
759 (show-paren--default): New function, extracted from show-paren-function.
760 (show-paren-function): Use show-paren-data-function.
761
762 2013-05-30 Glenn Morris <rgm@gnu.org>
763
764 * ielm.el (ielm-map, ielm-complete-symbol):
765 Use completion-at-point rather than obsolete functions.
766 (inferior-emacs-lisp-mode): Doc fix.
767 Set completion-at-point-functions, rather than
768 comint-dynamic-complete-functions.
769
770 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
771 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
772 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
773
774 * image.el (image-animated-p): Tweak definition.
775
776 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
777 (rlogin-process-connection-type): Tweak default. Add set-after.
778 (rlogin-host): Doc fix.
779 (rlogin): Tweak prompt.
780 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
781
782 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
783 * progmodes/tcl.el (inferior-tcl-mode-map):
784 Use completion-at-point rather than obsolete alias.
785
786 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
787
788 * minibuffer.el (read-file-name-completion-ignore-case):
789 Move before completion--in-region, for eager macro expansion.
790
791 2013-05-29 Juri Linkov <juri@jurta.org>
792
793 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
794 for total count of matching lines. Add `global-matches' for total
795 count of matches. Rename `matches' to `lines' for count of
796 matching lines. Add `matches' for count of matches.
797 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
798 to `prev-line' for line number of prev match endpt.
799 Increment `matches' for every match. Print the number of
800 matching lines in the header.
801 (occur-context-lines): Rename `lines' to `curr-line'.
802 Rename `prev-lines' to `prev-line'. (Bug#14017)
803
804 2013-05-29 Juri Linkov <juri@jurta.org>
805
806 * replace.el (perform-replace): Add `skip-read-only-count',
807 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
808 Increment them for corresponding conditions and report the number
809 of skipped occurrences in the final message. (Bug#11746)
810 (query-replace, query-replace-regexp, query-replace-regexp-eval)
811 (replace-string, replace-regexp): Doc fix.
812
813 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
814
815 * emacs-lisp/trace.el (trace--read-args): Provide a default.
816
817 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
818 prog-mode-map (bug#14504).
819
820 2013-05-29 Leo Liu <sdl.web@gmail.com>
821
822 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
823 (octave-help): Small simplification.
824
825 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
826 off the highlight first.
827
828 2013-05-29 Glenn Morris <rgm@gnu.org>
829
830 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
831 Handle idlwave-last-system-routine-info-cons-cell being nil.
832
833 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
834 (idlwave-write-paths): Simplify via with-temp-buffer.
835
836 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
837 * emulation/cua-rect.el: Also load cua-base at run time.
838
839 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
840 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
841 (cperl-imenu-on-info): Require imenu.
842
843 2013-05-28 Alan Mackenzie <acm@muc.de>
844
845 Handle "capitalised keywords" correctly.
846 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
847
848 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
849
850 * eshell/em-unix.el: Add -r option to cp.
851
852 2013-05-28 Glenn Morris <rgm@gnu.org>
853
854 * vc/vc-arch.el (vc-exec-after): Declare.
855 (vc-switches): Autoload.
856 * vc/vc-bzr.el: No need to require vc when compiling.
857 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
858 (vc-resynch-buffer, vc-dir-refresh): Declare.
859 (vc-setup-buffer, vc-switches): Autoload.
860 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
861 (vc-resynch-buffer): Declare.
862 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
863 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
864 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
865 (grep-read-regexp, grep-read-files, grep-expand-template)
866 (vc-dir-refresh): Declare.
867 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
868 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
869 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
870 * vc/vc-mtn.el (vc-exec-after): Declare.
871 (vc-switches): Autoload.
872 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
873 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
874 (vc-file-tree-walk): Declare.
875 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
876 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
877 (vc-tag-precondition, vc-rename-master): Autoload.
878 * vc/vc-svn.el (vc-exec-after): Declare.
879 (vc-switches, vc-setup-buffer): Autoload.
880 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
881 Autoload.
882 (vc-resynch-buffer): Declare.
883
884 * obsolete/fast-lock.el (byte-compile-warnings):
885 Don't warn about obsolete features in this obsolete file.
886
887 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
888 Move definition before use.
889
890 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
891 (dun-unix-verbs): Remove dun-zippy.
892 (dun-zippy): Remove function.
893
894 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
895
896 2013-05-27 Juri Linkov <juri@jurta.org>
897
898 * replace.el (replace-search): New function with code moved out
899 from `perform-replace'.
900 (replace-highlight, replace-dehighlight): Move function definitions
901 up closer to `replace-search'. (Bug#11746)
902
903 2013-05-27 Juri Linkov <juri@jurta.org>
904
905 * replace.el (perform-replace): Ignore invisible matches.
906 In addition to checking `query-replace-skip-read-only', also
907 filter out matches by calling `run-hook-with-args-until-failure'
908 on `isearch-filter-predicates', and also check `search-invisible'
909 for t or call `isearch-range-invisible'.
910 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
911
912 2013-05-27 Juri Linkov <juri@jurta.org>
913
914 * isearch.el (isearch-filter-predicates): Rename from
915 `isearch-filter-predicate'. Doc fix. (Bug#11378)
916 (isearch-message-prefix): Display text from the property
917 `isearch-message-prefix' of the currently active filters.
918 (isearch-search): Don't compare `isearch-filter-predicate' with
919 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
920 on `isearch-filter-predicates'. Also check `search-invisible' for t
921 or call `isearch-range-invisible'.
922 (isearch-filter-visible): Make obsolete.
923 (isearch-lazy-highlight-search):
924 Call `run-hook-with-args-until-failure' on
925 `isearch-filter-predicates' and use `isearch-range-invisible'.
926
927 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
928 `isearch-filter-predicates' instead of `funcall'ing
929 `isearch-filter-predicate'.
930 (Info-mode): Set `Info-isearch-filter' to
931 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
932
933 * dired-aux.el (dired-isearch-filter-predicate-orig):
934 Remove variable.
935 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
936 (dired-isearch-filenames-end): Add and remove
937 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
938 instead of changing the value of `isearch-filter-predicate'.
939 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
940 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
941 Put property `isearch-message-prefix' to "filename " on
942 `dired-isearch-filter-filenames'.
943
944 * wdired.el (wdired-change-to-wdired-mode):
945 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
946 locally instead of changing `isearch-filter-predicate'.
947 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
948
949 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
950
951 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
952 return the commit hash (Bug#14459). Also set the
953 `vc-git-detached' property.
954 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
955 (vc-git-mode-line-string): Use the same help-echo format whether
956 in detached mode or not, because we know the actual revision now.
957 When in detached mode, shorten the revision to 7 chars.
958
959 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
960
961 * emacs-lisp/easy-mmode.el (define-minor-mode):
962 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
963 mode hook and provide a docstring.
964
965 2013-05-27 Alan Mackenzie <acm@muc.de>
966
967 Remove spurious syntax-table text properties inserted by C-y.
968 * progmodes/cc-mode.el (c-after-change): Also clear hard
969 syntax-table property with value nil.
970
971 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
972
973 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
974 when reading the events; the buffer layout shall not be changed.
975
976 2013-05-27 Leo Liu <sdl.web@gmail.com>
977
978 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
979 New variable.
980 (inferior-octave-directory-tracker): Automatically re-sync
981 default-directory.
982 (octave-help): Improve handling of 'See also'.
983
984 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
985
986 * doc-view.el: Minor naming convention tweaks.
987 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
988
989 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
990 even if there's no `display' property yet (bug#14435).
991
992 2013-05-25 Eli Zaretskii <eliz@gnu.org>
993
994 * subr.el (unmsys--file-name): Rename from reveal-filename.
995
996 * Makefile.in (custom-deps, finder-data, autoloads)
997 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
998 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
999 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
1000
1001 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
1002
1003 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
1004 error-completion on the first 2 args of condition-case (bug#14446).
1005 Don't burp at EOB.
1006
1007 2013-05-25 Leo Liu <sdl.web@gmail.com>
1008
1009 * comint.el (comint-previous-matching-input): Do not flood the
1010 *Messages* buffer with trivial messages.
1011
1012 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
1013
1014 * progmodes/flymake.el (flymake-nop): Don't return a string.
1015 (flymake-set-at): Fix typo.
1016
1017 * simple.el (read--expression): New function, extracted from
1018 eval-expression. Set completion-at-point-functions (bug#14465).
1019 (eval-expression, eval-minibuffer): Use it.
1020
1021 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
1022
1023 * progmodes/flymake.el (flymake-save-buffer-in-file)
1024 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
1025 (flymake-selected-frame, flymake-log, flymake-ins-after)
1026 (flymake-set-at, flymake-get-buildfile-from-cache)
1027 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
1028 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
1029 Refine the doc string.
1030 (flymake-get-file-name-mode-and-masks): Reformat.
1031 (flymake-get-real-file-name-function): Fix a minor bug.
1032
1033 2013-05-24 Juri Linkov <juri@jurta.org>
1034
1035 * progmodes/grep.el (grep-mode-font-lock-keywords):
1036 Support =linenumber= format used by git-grep for lines with
1037 function names. (Bug#13549)
1038
1039 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
1040
1041 * progmodes/octave.el (octave-smie-rules): Return nil rather than
1042 0 after a semi-colon; it works better for smie-auto-fill.
1043 (octave--indent-new-comment-line): New function.
1044 (octave-indent-new-comment-line): Use it (indirectly).
1045 (octave-mode): Don't disable smie-auto-fill. Use add-function to
1046 modify comment-line-break-function.
1047
1048 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
1049 (smie-setup): Use add-function to set it.
1050
1051 2013-05-24 Sam Steingold <sds@gnu.org>
1052
1053 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
1054 argument (before the `interactive' argument).
1055
1056 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
1057
1058 * image-mode.el (image-mode-winprops): Add winprops to
1059 image-mode-winprops-alist before running
1060 image-mode-new-window-functions.
1061 * doc-view.el (doc-view-new-window-function): Don't delay
1062 doc-view-goto-page via timers (bug#14435).
1063
1064 2013-05-24 Tassilo Horn <tsdh@gnu.org>
1065
1066 * doc-view.el: Integrate with desktop.el. (Bug#14435)
1067 (doc-view-desktop-save-buffer): New function.
1068 (doc-view-restore-desktop-buffer): New function.
1069 (desktop-buffer-mode-handlers):
1070 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
1071 handler.
1072 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
1073 `desktop-save-buffer' function.
1074
1075 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
1076
1077 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
1078 (tramp-gvfs-file-name-handler): Raise a user error when
1079 `tramp-gvfs-enabled' is nil.
1080 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
1081 Do not raise a user error when loading package. (Bug#14447)
1082
1083 * net/xesam.el: Move to obsolete/.
1084
1085 2013-05-24 Glenn Morris <rgm@gnu.org>
1086
1087 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
1088
1089 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
1090
1091 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
1092 (Info-find-node, Man-getpage-in-background): Declare.
1093
1094 * mail/unrmail.el (unrmail):
1095 Replace obsolete detect-coding-with-priority.
1096
1097 * net/socks.el (socks-split-string): Use this rather than split-string.
1098 (socks-nslookup-host): Update for above change.
1099 (dynamic-choice, s5-dynamic-choice-match)
1100 (s5-dynamic-choice-match-inline, s5-widget-value-create):
1101 Comment out unused code.
1102
1103 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
1104 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
1105 (gud-tooltip-echo-area): Make obsolete.
1106 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
1107
1108 * progmodes/js.el (js--optimize-arglist): Declare.
1109
1110 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
1111
1112 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
1113 (ediff-window-C): Declare.
1114
1115 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
1116 Tweak requires to silence compiler.
1117
1118 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
1119 (he-search-string, he-tried-table, he-expand-list)
1120 (he-init-string, he-string-member, he-substitute-string)
1121 (he-reset-string): Declare.
1122
1123 * obsolete/options.el (list-options): Use custom-variable-p,
1124 rather than obsolete alias.
1125
1126 2013-05-23 Sam Steingold <sds@gnu.org>
1127
1128 * simple.el (shell-command-on-region): Pass the `replace' argument
1129 down to `call-process-region' to comply with the doc as reported on
1130 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
1131
1132 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
1133
1134 * emacs-lisp/smie.el (smie-indent-forward-token)
1135 (smie-indent-backward-token): Handle string tokens (bug#14381).
1136
1137 2013-05-23 RĂ¼diger Sonderfeld <ruediger@c-plusplus.de>
1138
1139 * ielm.el (ielm-menu): New menu.
1140 (inferior-emacs-lisp-mode): Set comment-start.
1141
1142 2013-05-23 RĂ¼diger Sonderfeld <ruediger@c-plusplus.de>
1143
1144 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
1145 Fix deactivate action.
1146
1147 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
1148 Add cleveref macros.
1149
1150 * lisp/textmodes/reftex-parse.el
1151 (reftex-locate-bibliography-files): Accept options for
1152 bibliography commands.
1153 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
1154 Add addbibresource. Basic Biblatex support.
1155
1156 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
1157
1158 * net/tramp-gvfs.el (top):
1159 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
1160 when loading package. (Bug#14447)
1161
1162 2013-05-23 Glenn Morris <rgm@gnu.org>
1163
1164 * progmodes/js.el: No need to load comint when compiling.
1165 (ring-insert, comint-send-string, comint-send-input)
1166 (comint-last-input-end, ido-chop): Declare.
1167
1168 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
1169 * vc/ediff-mult.el: Adjust requires.
1170 (ediff-directories-internal, ediff-directory-revisions-internal)
1171 (ediff-patch-file-internal): Declare.
1172 * vc/ediff-ptch.el: Adjust requires.
1173 (ediff-use-last-dir, ediff-buffers-internal): Declare.
1174 (ediff-find-file): Autoload.
1175 * vc/ediff-util.el: No need to load ediff when compiling.
1176 (ediff-regions-internal): Declare.
1177 * vc/ediff-wind.el: Adjust requires.
1178 (ediff-compute-toolbar-width): Define when compiling.
1179 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
1180 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
1181 (dired-get-filename, dired-get-marked-files)
1182 (ediff-last-dir-patch, ediff-patch-default-directory)
1183 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
1184 (ediff-patch-buffer-internal): Declare.
1185
1186 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
1187 (ispell-process, ispell-buffer-local-words, lm-summary)
1188 (lm-section-start, lm-section-end): Declare.
1189 (checkdoc-ispell-init): Simplify.
1190
1191 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
1192 (he-string-member, he-reset-string, he-substitute-string): Declare.
1193
1194 * eshell/em-ls.el: Adjust requires.
1195 (eshell-glob-regexp): Declare.
1196 * eshell/em-tramp.el: Adjust requires.
1197 (eshell-parse-command): Autoload.
1198 * eshell/em-xtra.el: Adjust requires.
1199 (eshell-parse-command): Autoload.
1200 * eshell/esh-ext.el: Adjust requires.
1201 (eshell-parse-command, eshell-close-handles): Autoload.
1202 * eshell/esh-io.el: Adjust requires.
1203 (eshell-output-filter): Autoload.
1204 * eshell/esh-util.el: No need to load tramp when compiling.
1205 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
1206 Declare.
1207 (eshell-parse-ange-ls): Require ange-ftp and tramp.
1208 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
1209 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
1210 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
1211 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
1212 * eshell/esh-opt.el, eshell/esh-proc.el:
1213 * eshell/esh-var.el: Adjust requires.
1214 * eshell/eshell.el: Do not require esh-util twice.
1215 (eshell-add-input-to-history): Declare.
1216 (eshell-command): Check history module is active before using it.
1217
1218 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
1219
1220 2013-05-22 Leo Liu <sdl.web@gmail.com>
1221
1222 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
1223
1224 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
1225
1226 * autorevert.el (auto-revert-notify-add-watch)
1227 (auto-revert-notify-handler): Add `attrib' for the inotify case,
1228 it indicates changes in file modification time.
1229
1230 2013-05-22 Glenn Morris <rgm@gnu.org>
1231
1232 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
1233 Always delete the autoloaded function from the noruntime and
1234 unresolved functions lists.
1235
1236 * allout.el: No need to load epa, epg, overlay when compiling.
1237 (epg-context-set-passphrase-callback, epg-list-keys)
1238 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
1239 (epg-key-user-id-list): Declare.
1240
1241 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
1242 (viper-set-parsing-style-toggling-macro)
1243 (viper-set-emacs-state-searchstyle-macros):
1244 Use called-interactively-p on Emacs.
1245 (viper-looking-back): Make it an obsolete alias. Update callers.
1246 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
1247 Use looking-back rather than viper-looking-back.
1248 (viper-tmp-insert-at-eob, viper-enlarge-region)
1249 (viper-read-string-with-history, viper-register-to-point)
1250 (viper-append-to-register, viper-change-state-to-vi)
1251 (viper-backward-char-carefully, viper-forward-char-carefully)
1252 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
1253 (viper-change-state-to-emacs): Declare.
1254 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
1255 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
1256 * emulation/viper-mous.el: Do not load viper-cmd.
1257 (viper-backward-char-carefully, viper-forward-char-carefully)
1258 (viper-forward-word, viper-adjust-window): Declare.
1259
1260 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
1261
1262 * progmodes/idlw-help.el (idlwave-help-fontify):
1263 Use called-interactively-p.
1264
1265 * term/w32console.el (w32-get-console-codepage)
1266 (w32-get-console-output-codepage): Declare.
1267
1268 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
1269 Remove unnecessary declarations.
1270 (dframe-message): Doc fix.
1271
1272 * info.el (dframe-select-attached-frame, dframe-current-frame):
1273 Declare.
1274
1275 * speedbar.el (speedbar-message): Make it an obsolete alias.
1276 Update all callers.
1277 (speedbar-with-attached-buffer)
1278 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
1279 (speedbar-with-writable): Use backquote.
1280 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
1281 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
1282 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
1283 rather than speedbar- aliases.
1284 * mail/rmail.el: Load dframe rather than speedbar when compiling.
1285 (speedbar-make-specialized-keymap, speedbar-insert-button)
1286 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
1287 (speedbar-do-function-pointer): Declare.
1288 (rmail-speedbar-button, rmail-speedbar-find-file)
1289 (rmail-speedbar-move-message):
1290 Use dframe-with-attached-buffer rather than speedbar- alias.
1291 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
1292 (dframe-message, speedbar-make-specialized-keymap)
1293 (speedbar-add-expansion-list, speedbar-mode-functions-list)
1294 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
1295 (speedbar-insert-button, dframe-select-attached-frame)
1296 (dframe-maybee-jump-to-attached-frame)
1297 (speedbar-change-initial-expansion-list)
1298 (speedbar-previously-used-expansion-list-name): Declare.
1299 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
1300 Use dframe-message, dframe-with-attached-buffer rather than
1301 speedbar- aliases.
1302 (gud-sentinel): Silence compiler.
1303 * progmodes/vhdl-mode.el (speedbar-refresh)
1304 (speedbar-do-function-pointer, speedbar-add-supported-extension)
1305 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
1306 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
1307 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
1308 (speedbar-file-lists, speedbar-make-tag-line)
1309 (speedbar-line-directory, speedbar-goto-this-file)
1310 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
1311 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
1312 (speedbar-make-button, speedbar-reset-scanners)
1313 (speedbar-files-item-info, speedbar-line-text)
1314 (speedbar-find-file-in-frame, speedbar-set-timer)
1315 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
1316 (speedbar-with-writable): Do not (re)define it.
1317 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
1318 rather than speedbar- alias.
1319
1320 2013-05-21 Leo Liu <sdl.web@gmail.com>
1321
1322 * progmodes/octave.el (octave-mode-menu): Update and re-organize
1323 menu items.
1324 (octave-mode): Tweak fill-nobreak-predicate.
1325 (inferior-octave-startup): Check process to avoid infinite loop.
1326 (inferior-octave): Pop to buffer first to show abornmal process
1327 exit information.
1328
1329 2013-05-21 Glenn Morris <rgm@gnu.org>
1330
1331 * printing.el (pr-menu-bar): Define when compiling.
1332
1333 2013-05-21 Leo Liu <sdl.web@gmail.com>
1334
1335 * progmodes/octave.el (octave-auto-fill): Remove.
1336 (octave-indent-new-comment-line): Improve.
1337 (octave-mode): Use auto fill mode through
1338 comment-line-break-function and fill-nobreak-predicate
1339 (octave-goto-function-definition): Support DEFUN_DLD.
1340 (octave-beginning-of-defun): Small Tweak
1341 (octave-help): Show parent directory.
1342
1343 2013-05-21 Glenn Morris <rgm@gnu.org>
1344
1345 * files.el (dired-unmark):
1346 * progmodes/gud.el (gdb-input): Update declarations.
1347
1348 * calculator.el (electric, ehelp): No need to load when compiling.
1349 (Electric-command-loop, electric-describe-mode): Declare.
1350
1351 * doc-view.el (doc-view-current-converter-processes): Move before use.
1352
1353 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
1354 Move MODE-set-explicitly definition before use.
1355
1356 * international/mule-diag.el (mule-diag):
1357 Don't use obsolete window-system-version.
1358
1359 * mail/feedmail.el (smtpmail): No need to load when compiling.
1360 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
1361
1362 * mail/mail-utils.el (rfc822): No need to load when compiling.
1363 (rfc822-addresses): Autoload it.
1364 (mail-strip-quoted-names): Trivial simplification.
1365
1366 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
1367 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
1368
1369 * net/snmp-mode.el (tempo): Don't duplicate requires.
1370
1371 * progmodes/prolog.el (info): No need to load when compiling.
1372 (comint): Require before shell requires it.
1373 (Info-goto-node): Autoload it.
1374 (Info-follow-nearest-node): Declare.
1375 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
1376
1377 * textmodes/artist.el (picture-mode-exit): Declare.
1378
1379 * textmodes/reftex-parse.el (reftex-parse-from-file):
1380 Trivial rewrite so the compiler can parse it better.
1381
1382 2013-05-20 Leo Liu <sdl.web@gmail.com>
1383
1384 * progmodes/octave.el (octave-help-mode-map)
1385 (octave-help-mode-finish-hook): New variables.
1386 (octave-help-mode, octave-help-mode-finish): New functions.
1387 (octave-help): Use octave-help-mode.
1388
1389 2013-05-20 Glenn Morris <rgm@gnu.org>
1390
1391 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
1392
1393 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
1394
1395 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
1396 start at point, so that expansion starting right after opening
1397 slash in a regexp is recognized.
1398 (ruby-syntax-before-regexp-re): New defvar, extracted from
1399 ruby-syntax-propertize-function. Since the value of this regexp
1400 is looked up at runtime now, we should be able to turn
1401 `ruby-syntax-methods-before-regexp' into a defcustom later.
1402 (ruby-syntax-propertize-function): Split regexp matching into two
1403 parts, for opening and closing slashes. That allows us to skip
1404 over string interpolations and support multiline regexps.
1405 Don't call `ruby-syntax-propertize-expansions', instead use another rule
1406 for them, which calls `ruby-syntax-propertize-expansion'.
1407 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
1408 call to `ruby-syntax-propertize-function'.
1409 (ruby-syntax-propertize-expansion): Extracted from
1410 `ruby-syntax-propertize-expansions'. Handles one expansion.
1411 (ruby-syntax-propertize-percent-literal): Leave point right after
1412 the percent symbol, so that the expression expansion rule can
1413 propertize the contents.
1414 (ruby-syntax-propertize-heredoc): Leave point at bol following the
1415 heredoc openers.
1416 (ruby-syntax-propertize-expansions): Remove.
1417
1418 2013-05-18 Juri Linkov <juri@jurta.org>
1419
1420 * man.el (Man-default-man-entry): Remove `-' from the end
1421 of the default value. (Bug#14400)
1422
1423 2013-05-18 Glenn Morris <rgm@gnu.org>
1424
1425 * comint.el (comint-password-prompt-regexp):
1426 Allow "password for XXX" where XXX contains colons (eg https://...).
1427
1428 2013-05-18 Leo Liu <sdl.web@gmail.com>
1429
1430 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
1431 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
1432 (octave-source-directories): Don't check process.
1433 (octave-source-directories, octave-find-definition): Doc fix.
1434
1435 2013-05-18 Glenn Morris <rgm@gnu.org>
1436
1437 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
1438 Remove backspace/delete bindings. (Bug#14392)
1439
1440 * cus-dep.el (custom-make-dependencies): Sort the output.
1441 (custom-versions-load-alist): Convert comment to doc.
1442
1443 2013-05-17 Leo Liu <sdl.web@gmail.com>
1444
1445 * newcomment.el (comment-search-backward): Stricter in finding
1446 comment start. (Bug#14303)
1447
1448 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
1449 (octave-comment-start-skip): Properly anchored.
1450
1451 2013-05-17 Leo Liu <sdl.web@gmail.com>
1452
1453 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
1454 Clean up when turned off. (Bug#14395)
1455 (smie--highlight-matching-block-overlay): No longer buffer-local.
1456 (smie-highlight-matching-block): Adjust.
1457
1458 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
1459
1460 Doc string fix for "nanoseconds" (Bug#14406).
1461 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
1462 Fix doc string typo that had "nanoseconds" instead of "microseconds".
1463
1464 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
1465
1466 * calc/calc-units.el (math-extract-units): Preserve powers
1467 of units.
1468
1469 2013-05-17 Leo Liu <sdl.web@gmail.com>
1470
1471 * subr.el (delete-consecutive-dups): New function.
1472 * ido.el (ido-set-matches-1): Use it.
1473 * progmodes/octave.el (inferior-octave-completion-table): Use it.
1474 * ido.el (ido-remove-consecutive-dups): Remove.
1475
1476 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
1477
1478 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
1479 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
1480 regexp-opt's `words'.
1481
1482 2013-05-16 Leo Liu <sdl.web@gmail.com>
1483
1484 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
1485 (smie--highlight-matching-block-overlay)
1486 (smie--highlight-matching-block-lastpos)
1487 (smie--highlight-matching-block-timer): New variables.
1488 (smie-highlight-matching-block): New function.
1489 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
1490 (smie-setup): Conditionally enable smie-blink-matching-open.
1491
1492 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
1493
1494 Sync with upstream verilog-mode r840.
1495 * progmodes/verilog-mode.el (verilog-mode-version)
1496 (verilog-mode-release-date): Update.
1497 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
1498 (verilog-sig-tieoff): Fix string error on
1499 AUTORESET with colon define, bug594. Reported by Andrew Hou.
1500 (verilog-read-decls): Fix parameters confusing
1501 AUTOINST interfaces, bug565. Reported by Leith Johnson.
1502
1503 2013-05-16 Eli Zaretskii <eliz@gnu.org>
1504
1505 * subr.el (reveal-filename): New function.
1506
1507 * loadup.el: Compute Emacs executable versions on MS-Windows,
1508 where executables have the .exe extension. Add a hard link
1509 emacs-XX.YY.ZZ.exe on MS-Windows.
1510
1511 * Makefile.in (XARGS_LIMIT): New variable.
1512 (custom-deps, finder-data, autoloads)
1513 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
1514 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
1515 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
1516 (compile-main): Limit xargs according to $(XARGS_LIMIT).
1517
1518 2013-05-16 Leo Liu <sdl.web@gmail.com>
1519
1520 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
1521 (octave-mode-menu, octave-mode-map): Remove its uses.
1522
1523 2013-05-16 Reto Zimmermann <reto@gnu.org>
1524
1525 Sync with upstream vhdl mode v3.34.2.
1526 * progmodes/vhdl-mode.el: Use `push' throughout.
1527 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
1528 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
1529 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
1530 (vhdl-actual-generic-name): New option to derive actual generic name.
1531 (vhdl-port-paste-signals): Replace formal by actual generics.
1532 (vhdl-beautify): New name for old group vhdl-align. Update users.
1533 (vhdl-beautify-options): New option.
1534 (vhdl-last-input-event): New compat alias. Use throughout.
1535 (vhdl-goto-line): Replace user level function `goto-line'.
1536 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
1537 vhdl-fix-statement-buffer.
1538 (vhdl-create-mode-menu): Add some entries.
1539 (vhdl-align-region-groups): Respect vhdl-beautify-options.
1540 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
1541 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
1542 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
1543 to force statements on one line.
1544 (vhdl-remove-trailing-spaces-region):
1545 New, split from vhdl-remove-trailing-spaces.
1546 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
1547 Respect vhdl-beautify-options.
1548 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
1549 (vhdl-update-sensitivity-list): Not add with index if exists without.
1550 Not include array index with signal. Ignore keywords in comments.
1551 (vhdl-get-visible-signals): Regexp tweaks.
1552 (vhdl-template-component-inst): Handle empty library.
1553 (vhdl-template-type): Add template for 'enum' type.
1554 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
1555 Use vhdl-replace-string.
1556 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
1557 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
1558 (vhdl-speedbar-initialize): Update for above name change.
1559 (vhdl-compose-wire-components): Fix in handling of constants.
1560 (vhdl-error-regexp-emacs-alist): New variable.
1561 (vhdl-error-regexp-add-emacs): New function;
1562 adds support for new compile.el (Emacs 22+)
1563 (vhdl-generate-makefile-1): Change target order for single lib. units.
1564 Allow use of absolute file names.
1565
1566 2013-05-16 Leo Liu <sdl.web@gmail.com>
1567
1568 * simple.el (prog-indent-sexp): Indent enclosing defun.
1569
1570 2013-05-15 Glenn Morris <rgm@gnu.org>
1571
1572 * cus-start.el (show-trailing-whitespace): Move to editing basics.
1573 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
1574 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
1575 (whitespace-highlight): Move to whitespace group.
1576
1577 * comint.el (comint-source):
1578 * pcmpl-linux.el (pcmpl-linux):
1579 * shell.el (shell-faces):
1580 * eshell/esh-opt.el (eshell-opt):
1581 * international/ccl.el (ccl): Remove empty custom groups.
1582
1583 * completion.el (dynamic-completion-mode):
1584 * jit-lock.el (jit-lock-debug-mode):
1585 * minibuffer.el (completion-in-region-mode):
1586 * type-break.el (type-break-mode-line-message-mode)
1587 (type-break-query-mode):
1588 * emulation/tpu-edt.el (tpu-edt-mode):
1589 * progmodes/subword.el (global-subword-mode, global-superword-mode):
1590 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
1591 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
1592
1593 * term/xterm.el (xterm): Change parent group to terminals.
1594
1595 * master.el (master): Remove empty custom group.
1596 (master-mode): Remove unused :group argument.
1597 * textmodes/refill.el (refill): Remove empty custom group.
1598 (refill-mode): Remove unused :group argument.
1599
1600 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
1601
1602 * cus-dep.el: Provide a feature.
1603 (custom-make-dependencies): Ignore dotfiles (dir-locals).
1604 Don't mistakenly ignore files whose basenames match a basename
1605 from preloaded-file-list (eg cedet/ede/simple.el).
1606 Add a fallback method for getting :group.
1607
1608 2013-05-15 Juri Linkov <juri@jurta.org>
1609
1610 * isearch.el (isearch-char-by-name): Rename from
1611 `isearch-insert-char-by-name'. Doc fix.
1612 (isearch-forward): Mention `isearch-char-by-name' in
1613 the docstring. (Bug#13348)
1614
1615 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
1616 `exit-minibuffer' instead of
1617 `isearch-nonincremental-exit-minibuffer'.
1618 (isearch-edit-string): Remove mention of
1619 `isearch-nonincremental-exit-minibuffer' from docstring.
1620 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
1621 (isearch-forward-exit-minibuffer)
1622 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
1623
1624 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
1625
1626 * loadup.el: Just use unversioned DOC.
1627
1628 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
1629 literals as extending to EOB.
1630 (nxml-last-fontify-end): Remove unused variable.
1631 (nxml-after-change1): Use with-silent-modifications.
1632 (nxml-extend-after-change-region): Simplify.
1633 (nxml-extend-after-change-region1): Remove function.
1634 (nxml-after-change1): Don't adjust for dependent regions.
1635 (nxml-fontify-matcher): Simplify.
1636 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
1637 (xmltok-add-dependent): Remove function.
1638 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
1639 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
1640 (xmltok-scan-prolog-after-processing-instruction-open): Treat
1641 unclosed <[[, <?, comment, and other literals as extending to EOB.
1642 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
1643 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
1644 Remove functions.
1645 (rng-do-some-validation-1): Don't mark dependent regions.
1646 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
1647 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
1648 (nxml-clear-dependent-regions): Remove functions.
1649 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
1650 (nxml-ensure-scan-up-to-date):
1651 Don't clear&mark dependent regions.
1652
1653 2013-05-15 Leo Liu <sdl.web@gmail.com>
1654
1655 * progmodes/octave.el (octave-goto-function-definition):
1656 Improve and fix callers.
1657
1658 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
1659
1660 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
1661 the setter (bug#14387).
1662
1663 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
1664 surrounding group (bug#14402).
1665
1666 2013-05-14 Juri Linkov <juri@jurta.org>
1667
1668 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
1669 (Bug#14390)
1670
1671 2013-05-14 Glenn Morris <rgm@gnu.org>
1672
1673 * progmodes/f90.el (f90-imenu-generic-expression):
1674 Fix typo in 2013-05-08 change. (Bug#14402)
1675
1676 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
1677
1678 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
1679 Remove signals for which replies are never received.
1680
1681 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
1682
1683 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
1684 (gdb-handler-alist, gdb-handler-number): Remove variables.
1685 (gdb-handler-list): New variable.
1686 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
1687 (gdb-pending-handler-p, gdb-handle-reply)
1688 (gdb-remove-all-pending-triggers): New functions.
1689 (gdb-discard-unordered-replies): New defcustom.
1690 (gdb-handler): New defstruct.
1691 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
1692 instead of gdb-pending-triggers. Update docstring.
1693 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
1694 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
1695 (gdb-var-update-handler, def-gdb-auto-update-trigger)
1696 (def-gdb-auto-update-handler, gdb-get-changed-registers)
1697 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
1698 (gdb-frame-handler): Pending triggers are now automatically managed.
1699 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
1700 Remove argument.
1701 (gdb-input): Automatically handles pending triggers. Update docstring.
1702 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
1703 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
1704 Update comments.
1705 (gdb-done-or-error): Now use gdb-handle-reply.
1706
1707 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
1708
1709 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
1710 gdb-debug-log.
1711
1712 2013-05-14 Glenn Morris <rgm@gnu.org>
1713
1714 * subr.el (user-emacs-directory-warning): New option.
1715 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
1716
1717 2013-05-14 Leo Liu <sdl.web@gmail.com>
1718
1719 * progmodes/octave.el (octave-font-lock-keywords): Fix error
1720 during redisplay.
1721 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
1722 (octave-font-lock-texinfo-comment): Fix invalid search bound
1723 error: wrong side of point.
1724
1725 2013-05-14 Glenn Morris <rgm@gnu.org>
1726
1727 * progmodes/flymake.el (flymake-xml-program): New option.
1728 (flymake-xml-init): Use it.
1729
1730 * term/xterm.el: Provide a feature.
1731
1732 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
1733
1734 2013-05-13 Glenn Morris <rgm@gnu.org>
1735
1736 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
1737 Add compat aliases as a hack workaround. (Bug#14384)
1738
1739 2013-05-13 Leo Liu <sdl.web@gmail.com>
1740
1741 * progmodes/octave.el (octave-indent-comment): Fix indentation for
1742 ###, and %!.
1743 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
1744 C-M-q.
1745 (octave-comment-start-skip): Include %!.
1746 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
1747
1748 2013-05-12 Leo Liu <sdl.web@gmail.com>
1749
1750 * progmodes/octave.el (inferior-octave-startup): Store the value
1751 of __octave_srcdir__ for octave-source-directories.
1752 (inferior-octave-check-process): New function refactored out of
1753 inferior-octave-send-list-and-digest.
1754 (octave-source-directories)
1755 (octave-find-definition-filename-function): New variables.
1756 (octave-source-directories)
1757 (octave-find-definition-default-filename): New functions.
1758 (octave-find-definition): Improve to find functions implemented in C++.
1759
1760 2013-05-12 Glenn Morris <rgm@gnu.org>
1761
1762 * calendar/diary-lib.el (diary-outlook-format-1):
1763 Don't include dayname in the output. (Bug#14349)
1764
1765 2013-05-11 Glenn Morris <rgm@gnu.org>
1766
1767 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
1768
1769 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
1770 Treat cc-provide like provide.
1771
1772 2013-05-11 Kevin Ryde <user42@zip.com.au>
1773
1774 * cus-dep.el (custom-make-dependencies):
1775 Use generated-autoload-load-name for the sake of files such
1776 such cedet/semantic/bovine/c.el, where the base file name
1777 is not in load-path. (Bug#5277)
1778
1779 2013-05-11 Glenn Morris <rgm@gnu.org>
1780
1781 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
1782 Provide features.
1783
1784 2013-05-11 Leo Liu <sdl.web@gmail.com>
1785
1786 * progmodes/octave.el (octave-indent-comment): Improve.
1787 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
1788 (octave-eldoc-function-signatures, octave-eldoc-function):
1789 New functions.
1790 (octave-mode, inferior-octave-mode): Add eldoc support.
1791
1792 2013-05-11 Richard Stallman <rms@gnu.org>
1793
1794 * epa.el (epa-decrypt-file): Take output file name as argument
1795 and read it using `interactive'.
1796
1797 2013-05-11 Leo Liu <sdl.web@gmail.com>
1798
1799 * progmodes/octave.el (octave-beginning-of-line)
1800 (octave-end-of-line): Check before using up-list because it jumps
1801 out of more syntactic contructs since moving to smie.
1802 (octave-indent-comment): New function.
1803 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
1804 (octave-begin-keywords, octave-end-keywords)
1805 (octave-reserved-words, octave-smie-bnf-table)
1806 (octave-smie-rules): Add new keywords from Octave 3.6.4.
1807
1808 2013-05-11 Glenn Morris <rgm@gnu.org>
1809
1810 * faces.el (internal-face-x-get-resource):
1811 * frame.el (ns-display-monitor-attributes-list):
1812 * calc/calc-aent.el (math-to-radians-2): Fix declarations.
1813
1814 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
1815
1816 * calc/calc-menu.el: Make it loadable in isolation.
1817
1818 * net/eudcb-bbdb.el: Make it loadable without bbdb.
1819 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
1820 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
1821 (eudc-bbdb-query-internal): Require 'bbdb.
1822
1823 * lpr.el (lpr-headers-switches):
1824 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
1825
1826 * progmodes/sql.el (sql-login-params): Fix and improve :type.
1827
1828 * emulation/edt-mapper.el: In batch mode, error rather than hang.
1829
1830 * term.el (term-set-escape-char): Make it idempotent.
1831
1832 2013-05-10 Leo Liu <sdl.web@gmail.com>
1833
1834 * progmodes/octave.el (inferior-octave-completion-table):
1835 No longer a function and all uses changed. Use cache to speed up
1836 completion due to bug#11906.
1837 (octave-beginning-of-defun): Re-write to be more general.
1838
1839 2013-05-10 Glenn Morris <rgm@gnu.org>
1840
1841 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
1842
1843 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1844
1845 * comint.el (comint-redirect-send-command-to-process): Use :around
1846 rather than :override for comint-redirect-filter.
1847 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
1848 Call it instead of comint-redirect-original-filter-function (which
1849 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
1850
1851 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
1852
1853 * frame.el (display-monitor-attributes-list): Add NS case.
1854 (ns-display-monitor-attributes-list): Declare.
1855
1856 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
1857
1858 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
1859
1860 2013-05-09 Glenn Morris <rgm@gnu.org>
1861
1862 * international/fontset.el (vertical-centering-font-regexp):
1863 Set standard-value.
1864
1865 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
1866
1867 * bookmark.el (bookmark-search-delay):
1868 * cus-start.el (vertical-centering-font-regexp):
1869 * ps-mule.el (ps-mule-font-info-database-default):
1870 * ps-print.el (ps-default-fg, ps-default-bg):
1871 * type-break.el (type-break-good-break-interval):
1872 * whitespace.el (whitespace-indentation-regexp)
1873 (whitespace-space-after-tab-regexp):
1874 * emacs-lisp/testcover.el (testcover-1value-functions)
1875 (testcover-noreturn-functions, testcover-progn-functions)
1876 (testcover-prog1-functions):
1877 * emulation/viper-init.el (viper-emacs-state-cursor-color):
1878 * eshell/em-glob.el (eshell-glob-translate-alist):
1879 * play/tetris.el (tetris-tty-colors):
1880 * progmodes/cpp.el (cpp-face-default-list):
1881 * progmodes/flymake.el (flymake-allowed-file-name-masks):
1882 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
1883 (idlwave-help-browser-generic-args):
1884 * progmodes/make-mode.el (makefile-special-targets-list):
1885 * progmodes/python.el (python-shell-virtualenv-path):
1886 * progmodes/verilog-mode.el (verilog-active-low-regexp)
1887 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
1888 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
1889 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
1890 * textmodes/reftex-vars.el (reftex-format-label-function):
1891 * textmodes/remember.el (remember-diary-file): Fix custom types.
1892
1893 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
1894 Add :version.
1895
1896 2013-05-09 Leo Liu <sdl.web@gmail.com>
1897
1898 * progmodes/octave.el (inferior-octave-completion-at-point):
1899 Restore file completion. (Bug#14300)
1900 (inferior-octave-startup): Fix incorrect highlighting for the
1901 first prompt.
1902
1903 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
1904
1905 * progmodes/ruby-mode.el: First cut at SMIE support.
1906 (ruby-use-smie): New var.
1907 (ruby-smie-grammar): New constant.
1908 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
1909 (ruby-smie--forward-token, ruby-smie--backward-token)
1910 (ruby-smie-rules): New functions.
1911 (ruby-mode-variables): Setup SMIE if applicable.
1912
1913 2013-05-08 Eli Zaretskii <eliz@gnu.org>
1914
1915 * simple.el (line-move-visual): Signal beginning/end of buffer
1916 only if vertical-motion moved less than it was requested. Avoids
1917 silly incorrect error messages when there are display strings with
1918 multiple newlines at EOL.
1919
1920 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
1921
1922 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
1923 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
1924 (prolog-char-quote-workaround):
1925 * progmodes/cperl-mode.el (cperl-under-as-char):
1926 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
1927 Mark as obsolete.
1928 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
1929 their declaration.
1930 (vhdl-mode-syntax-table-init): Remove.
1931
1932 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
1933 last change.
1934
1935 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
1936 syntax for "_".
1937 (ld-script-font-lock-keywords):
1938 Change regexps to use things like \_< and \_>.
1939
1940 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
1941 Change all regexps to use things like \_< and \_>.
1942
1943 * progmodes/autoconf.el (autoconf-definition-regexp)
1944 (autoconf-font-lock-keywords, autoconf-current-defun-function):
1945 Handle a _ with symbol syntax.
1946 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
1947
1948 * progmodes/ada-mode.el (ada-mode-abbrev-table):
1949 Consolidate declaration.
1950 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
1951 the declaration.
1952 (ada-create-syntax-table): Remove.
1953 (ada-capitalize-word): Don't mess with the syntax of "_" since it
1954 already has the right syntax nowadays.
1955 (ada-goto-next-word): Don't change the syntax of "_".
1956
1957 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
1958 with-wrapper-hook.
1959
1960 2013-05-08 Sam Steingold <sds@gnu.org>
1961
1962 * thingatpt.el (thing-at-point): Accept optional second argument
1963 NO-PROPERTIES to strip the text properties from the return value.
1964 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
1965 to `thing-at-point' instead of stripping the properties ourselves.
1966 Also, when `thing-at-point' fails to find a url, prepend "http://"
1967 to the filename at point on the assumption that the user is
1968 pointing at something like gnu.org/gnu.
1969
1970 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
1971
1972 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
1973 * faces.el (crm-separator):
1974 Silence byte-compiler.
1975
1976 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
1977 (tool-bar-map): Remove unneeded defvars.
1978
1979 2013-05-08 Leo Liu <sdl.web@gmail.com>
1980
1981 Re-work a fix for bug#10994 based on Le Wang's patch.
1982 * ido.el (ido-remove-consecutive-dups): New helper.
1983 (ido-completing-read): Use it.
1984 (ido-chop): Revert fix for bug#10994.
1985
1986 2013-05-08 Adam Spiers <emacs@adamspiers.org>
1987
1988 * cus-edit.el (custom-save-variables):
1989 Pretty-print long values. (Bug#14187)
1990
1991 2013-05-08 Glenn Morris <rgm@gnu.org>
1992
1993 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
1994 (m4-mode-syntax-table): Init in the defvar.
1995 (m4-mode-abbrev-table): Let define-derived-mode define it.
1996
1997 2013-05-08 Tom Tromey <tromey@redhat.com>
1998
1999 * progmodes/m4-mode.el (m4-mode-syntax-table):
2000 Do not treat "_" as word constituent. (Bug#14167)
2001
2002 2013-05-07 Glenn Morris <rgm@gnu.org>
2003
2004 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
2005 Remove explicit eshell-isearch-cancel-map.
2006
2007 * progmodes/f90.el (f90-smart-end-names): New option.
2008 (f90-smart-end): Doc fix.
2009 (f90-end-block-optional-name): New constant.
2010 (f90-block-match): Respect f90-smart-end-names.
2011
2012 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
2013
2014 * progmodes/octave.el (octave-smie-forward-token): Be more careful
2015 about implicit semi-colons (bug#14218).
2016
2017 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
2018
2019 * frame.el (display-monitor-attributes-list)
2020 (frame-monitor-attributes): New functions.
2021
2022 2013-05-06 Leo Liu <sdl.web@gmail.com>
2023
2024 * progmodes/octave.el (octave-syntax-propertize-function): Change
2025 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
2026 (octave-font-lock-keywords): Use octave-operator-regexp.
2027 (octave-completion-at-point): Rename from
2028 octave-completion-at-point-function.
2029 (inferior-octave-directory-tracker): Robustify.
2030 (octave-text-functions): Remove and fix its uses. No such things
2031 any more.
2032
2033 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
2034
2035 * emacs-lisp/trace.el (trace--display-buffer): New function.
2036 (trace-make-advice): Use it.
2037
2038 2013-05-06 Juri Linkov <juri@jurta.org>
2039
2040 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
2041 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
2042 Doc fix.
2043 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
2044 in the help string. (Bug#12985)
2045
2046 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
2047
2048 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
2049
2050 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
2051
2052 * progmodes/perl-mode.el: Add support for here documents.
2053 (perl-syntax-propertize-function): Match here-doc markers.
2054 (perl-syntax-propertize-special-constructs): Find their end.
2055 (perl-imenu-generic-expression): Use [:alnum:].
2056
2057 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
2058 (advice--add-function): Refresh the advice if already present
2059 (bug#14317).
2060
2061 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
2062
2063 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
2064
2065 2013-05-06 Glenn Morris <rgm@gnu.org>
2066
2067 * w32-fns.el (w32-charset-info-alist): Declare.
2068
2069 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
2070 of its defcustom properties.
2071 (eshell-cmpl-initialize): No need to load pcomplete.
2072
2073 * generic-x.el: No need to require comint when compiling.
2074
2075 * net/eudc-export.el: Make it loadable without bbdb.
2076 (top-level): Use require rather than load-library.
2077 (eudc-create-bbdb-record, eudc-bbdbify-phone)
2078 (eudc-batch-export-records-to-bbdb)
2079 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
2080 Require bbdb.
2081
2082 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
2083
2084 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
2085 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
2086 some tweaks, instead.
2087
2088 2013-05-05 Leo Liu <sdl.web@gmail.com>
2089
2090 * progmodes/octave.el (octave-font-lock-keywords)
2091 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
2092 (inferior-octave-send-list-and-digest): Improve error message.
2093 (octave-mode, inferior-octave-mode): Use setq-local.
2094 (octave-help): Set info-lookup-mode.
2095
2096 2013-05-05 Richard Stallman <rms@gnu.org>
2097
2098 * vc/compare-w.el (compare-windows-whitespace):
2099 Treat no-break space as whitespace.
2100
2101 * mail/rmailsum.el (rmail-summary-rmail-update):
2102 Detect empty summary and don't change selected message.
2103 (rmail-summary-goto-msg): Likewise.
2104
2105 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
2106 Doc fixes, rename args.
2107
2108 2013-05-05 Alan Mackenzie <acm@muc.de>
2109
2110 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
2111
2112 2013-05-05 Juri Linkov <juri@jurta.org>
2113
2114 * info.el (Info-read-subfile): Use (point-min) instead of (point)
2115 to not add the length of the summary segment to the return value.
2116 (Bug#14125)
2117
2118 2013-05-05 Leo Liu <sdl.web@gmail.com>
2119
2120 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
2121 (inferior-octave-output-filter): Remove.
2122 (octave-send-region, inferior-octave-startup): Fix callers.
2123 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
2124 (octave-binary-file-extensions): New user variable.
2125 (octave-find-definition): Confirm if opening binary files.
2126 (octave-help-file): Use octave-find-definition to get the binary
2127 confirmation.
2128 (octave-help): Adjust for octave-help-file change.
2129
2130 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
2131
2132 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
2133 Merge the two entries that handle function definitions.
2134 (pascal--syntax-propertize): New const.
2135 (pascal-mode): Use it. Use setq-local.
2136
2137 2013-05-04 Glenn Morris <rgm@gnu.org>
2138
2139 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
2140 (diary-from-outlook): Respect diary-from-outlook-function.
2141
2142 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
2143
2144 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
2145 Move the declaration from C.
2146 (read-minibuffer, eval-minibuffer): Move from C.
2147 (completion-setup-function): Avoid minibuffer-completion-contents.
2148
2149 2013-05-03 Leo Liu <sdl.web@gmail.com>
2150
2151 * progmodes/octave.el (octave-font-lock-keywords): Do not
2152 dehighlight 'end' in comments or strings.
2153 (octave-completing-read, octave-goto-function-definition):
2154 New helpers.
2155 (octave-help-buffer): New user variable.
2156 (octave-help-file, octave-help-function): New button types.
2157 (octave-help): New command and bind it to C-h ;.
2158 (octave-find-definition): New command and bind it to M-.
2159 (user-error): Alias to error if not defined.
2160
2161 2013-05-02 Leo Liu <sdl.web@gmail.com>
2162
2163 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
2164 for \. (bug#14332)
2165 (octave-font-lock-keywords): Include [ and {.
2166
2167 2013-05-02 Leo Liu <sdl.web@gmail.com>
2168
2169 * progmodes/octave.el (inferior-octave-startup-file): Change default.
2170 (inferior-octave): Remove calling comint-mode and return the buffer.
2171 (inferior-octave-startup): Cosmetic changes.
2172
2173 2013-05-02 Leo Liu <sdl.web@gmail.com>
2174
2175 * progmodes/octave.el (octave-syntax-propertize-function):
2176 Include the case when ' is at line beginning. (Bug#14336)
2177
2178 2013-05-02 Glenn Morris <rgm@gnu.org>
2179
2180 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
2181 * desktop.el (vc-dir-mode): Just autoload it here.
2182
2183 2013-05-02 Alan Mackenzie <acm@muc.de>
2184
2185 Eliminate variable c-standard-font-lock-fontify-region-function.
2186 * progmodes/cc-mode.el
2187 (c-standard-font-lock-fontify-region-function): Remove.
2188 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
2189
2190 2013-05-01 Leo Liu <sdl.web@gmail.com>
2191
2192 * progmodes/octave.el: Compatible with older emacs-24 releases.
2193 (inferior-octave-has-built-in-variables): Remove. Built-in
2194 variables were removed from Octave in 2007.
2195 (inferior-octave-startup): Fix uses.
2196 (comint-line-beginning-position): Remove compatibility code for
2197 emacs 21.
2198
2199 2013-05-01 Juri Linkov <juri@jurta.org>
2200
2201 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
2202
2203 2013-05-01 Juri Linkov <juri@jurta.org>
2204
2205 * comint.el (comint-previous-matching-input): Don't print message
2206 "History item: %d" when `isearch-mode' is active.
2207 (comint-history-isearch-message): Print message "History item: %d"
2208 when `comint-input-ring-index' is not empty and this function is
2209 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
2210
2211 2013-05-01 Leo Liu <sdl.web@gmail.com>
2212
2213 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
2214 definitions. Use completion-at-point to insert keywords.
2215 (octave-abbrev-start): Remove.
2216 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
2217
2218 2013-04-30 Leo Liu <sdl.web@gmail.com>
2219
2220 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
2221 change.
2222
2223 2013-04-30 Alan Mackenzie <acm@muc.de>
2224
2225 Handle arbitrarily long C++ member initialisation lists.
2226 * progmodes/cc-engine.el (c-back-over-member-initializers):
2227 new function.
2228 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
2229 (most) member init lists.
2230
2231 2013-04-30 RĂ¼diger Sonderfeld <ruediger@c-plusplus.de>
2232
2233 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
2234 variable.
2235
2236 2013-04-30 Leo Liu <sdl.web@gmail.com>
2237
2238 * progmodes/octave.el (octave-variables): Remove. No builtin
2239 variables any more. All converted to functions.
2240 (octave-font-lock-keywords, octave-completion-at-point-function):
2241 Fix uses.
2242 (octave-font-lock-texinfo-comment): New user variable.
2243 (octave-texinfo-font-lock-keywords): New variable for texinfo
2244 comment block.
2245 (octave-function-comment-block): New face.
2246 (octave-font-lock-texinfo-comment): New function.
2247 (octave-mode): Font lock texinfo comment block.
2248
2249 2013-04-29 Leo Liu <sdl.web@gmail.com>
2250
2251 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
2252 indexing expression.
2253 (octave-continuation-string): Do not use \.
2254 (inferior-octave-complete-impossible): Remove.
2255 (inferior-octave-completion-table)
2256 (inferior-octave-completion-at-point): Remove its uses.
2257 (inferior-octave-startup): completion_matches was introduced to
2258 Octave in 1996 so safe to assume it.
2259 (octave-function-file-comment): Improve to follow how Octave does it.
2260 (octave-update-function-file-comment): Tweak.
2261
2262 2013-04-29 Leo Liu <sdl.web@gmail.com>
2263
2264 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
2265 (inferior-octave-startup): Remove inferior-octave-startup-hook.
2266 (octave-function-file-comment): Fix typo.
2267 (octave-sync-function-file-names): Use read-char-choice.
2268
2269 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
2270
2271 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
2272 to t for the less important warnings.
2273
2274 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
2275
2276 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
2277
2278 2013-04-27 Glenn Morris <rgm@gnu.org>
2279
2280 * vc/log-view.el (log-view-current-entry):
2281 Treat "---" separator lines as part of the following rev. (Bug#14169)
2282
2283 2013-04-27 Juri Linkov <juri@jurta.org>
2284
2285 * subr.el (read-number): Doc fix about using it by interactive
2286 code letter `n'. (Bug#14254)
2287
2288 2013-04-27 Juri Linkov <juri@jurta.org>
2289
2290 * desktop.el (desktop-auto-save-timeout): New option.
2291 (desktop-file-checksum): New variable.
2292 (desktop-save): Add optional arg `auto-save' and don't auto-save
2293 if nothing changed.
2294 (desktop-auto-save-timer): New variable.
2295 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
2296 (after-init-hook): Call `desktop-auto-save-set-timer'.
2297 Suggested by Reuben Thomas <rrt@sc3d.org> in
2298 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
2299
2300 2013-04-27 Leo Liu <sdl.web@gmail.com>
2301
2302 * progmodes/octave.el (octave-function-file-p)
2303 (octave-skip-comment-forward, octave-function-file-comment)
2304 (octave-update-function-file-comment): New functions.
2305 (octave-mode-map): Bind C-c ; to
2306 octave-update-function-file-comment.
2307 (octave-mode-menu): Add octave-update-function-file-comment.
2308 (octave-mode, inferior-octave-mode): Fix doc-string.
2309 (octave-insert-defun): Conform to Octave's coding convention.
2310 (Bug#14285)
2311
2312 * files.el (basic-save-buffer): Don't let errors in
2313 before-save-hook prevent saving buffer.
2314
2315 2013-04-20 Roland Winkler <winkler@gnu.org>
2316
2317 * faces.el (read-face-name): Use completing-read if arg multiple
2318 is nil.
2319
2320 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
2321
2322 * ls-lisp.el (ls-lisp-insert-directory): If no files are
2323 displayed, move point to after the totals line.
2324 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
2325 for the details.
2326
2327 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
2328
2329 * emacs-lisp/package.el (package-autoload-ensure-default-file):
2330 Add current dir to the load-path.
2331 (package-generate-autoloads): Don't rely on
2332 autoload-ensure-default-file.
2333
2334 2013-04-26 Reuben Thomas <rrt@sc3d.org>
2335
2336 * textmodes/remember.el (remember-store-in-files): Document that
2337 the file name format is passed to `format-time-string'.
2338
2339 2013-04-26 Leo Liu <sdl.web@gmail.com>
2340
2341 * progmodes/octave.el (octave-sync-function-file-names): New function.
2342 (octave-mode): Use it in before-save-hook.
2343
2344 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
2345
2346 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
2347 (bug#14274).
2348
2349 * progmodes/octave.el (octave-smie-forward-token): Properly skip
2350 \n and comment, even if it's not an implicit ; (bug#14218).
2351
2352 2013-04-26 Glenn Morris <rgm@gnu.org>
2353
2354 * subr.el (read-number): Once more use `read' rather than
2355 `string-to-number', to trap non-numeric input. (Bug#14254)
2356
2357 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
2358
2359 * emacs-lisp/syntax.el (syntax-propertize-multiline):
2360 Use `syntax-multiline' text property consistently instead of
2361 `font-lock-multiline'. (Bug#14237)
2362
2363 2013-04-26 Glenn Morris <rgm@gnu.org>
2364
2365 * emacs-lisp/shadow.el (list-load-path-shadows):
2366 No longer necessary to check for duplicate simple.el, since
2367 2012-07-07 change to init_lread to not include installation lisp
2368 directories in load-path when running uninstalled. (Bug#14270)
2369
2370 2013-04-26 Leo Liu <sdl.web@gmail.com>
2371
2372 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
2373 (octave-mode, inferior-octave-mode): Use setq-local.
2374 (octave-not-in-string-or-comment-p): Rename to
2375 octave-in-string-or-comment-p.
2376 (octave-in-comment-p, octave-in-string-p)
2377 (octave-in-string-or-comment-p): Replace defsubst with defun.
2378
2379 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
2380
2381 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
2382
2383 2013-04-25 Bastien Guerry <bzg@gnu.org>
2384
2385 * textmodes/remember.el (remember-data-directory)
2386 (remember-directory-file-name-format): Fix custom types.
2387
2388 2013-04-25 Leo Liu <sdl.web@gmail.com>
2389
2390 * progmodes/octave.el (octave-completion-at-point-function):
2391 Make use of inferior octave process.
2392 (octave-initialize-completions): Remove.
2393 (inferior-octave-completion-table): New function.
2394 (inferior-octave-completion-at-point): Use it.
2395 (octave-completion-alist): Remove.
2396
2397 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
2398
2399 * progmodes/opascal.el: Use font-lock and syntax-propertize.
2400 (opascal-mode-syntax-table): New var.
2401 (opascal-literal-kind, opascal-is-literal-end)
2402 (opascal-literal-token-at): Rewrite.
2403 (opascal--literal-start-re, opascal-font-lock-keywords)
2404 (opascal--syntax-propertize): New constants.
2405 (opascal-font-lock-defaults): Adjust.
2406 (opascal-mode): Use them. Set comment-<foo> variables as well.
2407 (delphi-comment-face, opascal-comment-face, delphi-string-face)
2408 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
2409 (delphi-other-face, opascal-other-face): Remove face variables.
2410 (opascal-save-state): Remove macro.
2411 (opascal-fontifying-progress-step): Remove constant.
2412 (opascal--ignore-changes): Remove var.
2413 (opascal-set-token-property, opascal-parse-next-literal)
2414 (opascal-is-stable-literal, opascal-complete-literal)
2415 (opascal-is-literal-start, opascal-face-of)
2416 (opascal-parse-region, opascal-parse-region-until-stable)
2417 (opascal-fontify-region, opascal-after-change)
2418 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
2419 (opascal-debug-parse-region, opascal-debug-parse-window)
2420 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
2421 (opascal-debug-fontify-buffer): Remove.
2422 (opascal-debug-mode-map): Adjust accordingly.
2423
2424 2013-04-25 Leo Liu <sdl.web@gmail.com>
2425
2426 Merge octave-mod.el and octave-inf.el into octave.el with some
2427 cleanups.
2428 * progmodes/octave.el: New file renamed from octave-mod.el.
2429 * progmodes/octave-inf.el: Merged into octave.el.
2430 * progmodes/octave-mod.el: Renamed to octave.el.
2431
2432 2013-04-25 Tassilo Horn <tsdh@gnu.org>
2433
2434 * textmodes/reftex-vars.el
2435 (reftex-label-ignored-macros-and-environments): New defcustom.
2436
2437 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
2438
2439 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
2440
2441 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
2442 (smie-indent-keyword): Improve the check to ensure that the next
2443 comment is really on the same line.
2444 (smie-indent-comment): Don't align with a subsequent closer (or eob).
2445
2446 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
2447 semi-colons if the line is not otherwise empty (bug#14218).
2448
2449 2013-04-25 Glenn Morris <rgm@gnu.org>
2450
2451 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
2452
2453 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
2454
2455 * progmodes/opascal.el (opascal-set-token-property): Rename from
2456 opascal-set-text-properties and only set `token' (bug#14134).
2457 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
2458 (opascal-literal-text-properties): Remove.
2459 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
2460 Adjust callers.
2461
2462 2013-04-24 Reuben Thomas <rrt@sc3d.org>
2463
2464 * textmodes/remember.el (remember-handler-functions): Add an
2465 option for a new handler `remember-store-in-files'.
2466 (remember-data-directory, remember-directory-file-name-format):
2467 New options.
2468 (remember-store-in-files): New function to store remember notes
2469 as separate files within a directory.
2470
2471 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
2472
2473 * progmodes/compile.el (compilation-next-error-function):
2474 Pass "formats" to compilation-find-file (bug#11777).
2475
2476 2013-04-24 Glenn Morris <rgm@gnu.org>
2477
2478 * vc/vc-bzr.el (vc-bzr-print-log):
2479 * vc/vc-hg.el (vc-hg-print-log):
2480 * vc/vc-svn.el (vc-svn-print-log):
2481 Fix START-REVISION with LIMIT != 1. (Bug#14168)
2482
2483 * vc/vc-bzr.el (vc-bzr-print-log):
2484 * vc/vc-cvs.el (vc-cvs-print-log):
2485 * vc/vc-git.el (vc-git-print-log):
2486 * vc/vc-hg.el (vc-hg-print-log):
2487 * vc/vc-mtn.el (vc-mtn-print-log):
2488 * vc/vc-rcs.el (vc-rcs-print-log):
2489 * vc/vc-sccs.el (vc-sccs-print-log):
2490 * vc/vc-svn.el (vc-svn-print-log):
2491 * vc/vc.el (vc-print-log-internal): Doc fixes.
2492
2493 2013-04-23 Glenn Morris <rgm@gnu.org>
2494
2495 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
2496 Remove venerable code attempting to avoid substitute-command-keys.
2497
2498 2013-04-23 Tassilo Horn <tsdh@gnu.org>
2499
2500 * textmodes/reftex-vars.el (reftex-label-regexps):
2501 Call `reftex-compile-variables' after changes to this variable.
2502
2503 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
2504
2505 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
2506 Use lexical-binding.
2507 (jit-lock-force-redisplay): Use markers, check buffer's continued
2508 existence and beware narrowed buffers.
2509 (jit-lock-fontify-now): Adjust call accordingly.
2510
2511 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
2512
2513 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
2514 to avoid misleading the user.
2515
2516 2013-04-22 Leo Liu <sdl.web@gmail.com>
2517
2518 * info-look.el: Prefer latex2e.info. (Bug#14240)
2519
2520 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
2521
2522 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
2523
2524 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
2525 * net/tramp.el (tramp-call-process): ... here
2526 (tramp-set-completion-function, tramp-parse-putty):
2527 * net/tramp-adb.el (tramp-adb-execute-adb-command):
2528 * net/tramp-gvfs.el (tramp-gvfs-send-command):
2529 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
2530 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
2531 (tramp-call-local-coding-command): Use `tramp-call-process'
2532 instead of `tramp-compat-call-process'.
2533
2534 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
2535 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
2536 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
2537 (tramp-find-inline-compress): Improve traces.
2538 (tramp-maybe-send-script): Check for Perl binary.
2539 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
2540
2541 2013-04-22 Daiki Ueno <ueno@gnu.org>
2542
2543 * epg.el (epg-context-pinentry-mode): New function.
2544 (epg-context-set-pinentry-mode): New function.
2545 (epg--start): Pass --pinentry-mode option to gpg command.
2546
2547 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
2548
2549 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
2550 `comint-dynamic-complete' is obsolete since 24.1, replaced by
2551 `completion-at-point'. (Bug#13774)
2552
2553 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
2554 default key binding for `describe-distribution' has been moved to
2555 `C-h C-o'. (Bug#13970)
2556
2557 2013-04-21 Glenn Morris <rgm@gnu.org>
2558
2559 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
2560 Add doc strings.
2561 (vc-print-log): Clarify interactive prompt.
2562
2563 2013-04-20 Glenn Morris <rgm@gnu.org>
2564
2565 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
2566 No longer include timestamp etc information.
2567
2568 2013-04-20 Roland Winkler <winkler@gnu.org>
2569
2570 * faces.el (read-face-name): Bug fix, return just one face if arg
2571 multiple is nil. (Bug#14209)
2572
2573 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
2574
2575 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
2576 (remove-function): Autoload.
2577
2578 * comint.el (comint-redirect-original-filter-function): Remove.
2579 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
2580 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
2581 (vc-cvs-annotate-command):
2582 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
2583 * progmodes/prolog.el (prolog-consult-compile):
2584 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
2585 Use add/remove-function instead.
2586 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
2587 (gud-tooltip-process-output, gud-tooltip-tips):
2588 Use add/remove-function instead.
2589 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
2590 (scheme-interaction-mode, exit-scheme-interaction-mode):
2591 Use add/remove-function instead.
2592
2593 * vc/vc-dispatcher.el: Use lexical-binding.
2594 (vc--process-sentinel): Rename from vc-process-sentinel.
2595 Change last arg to be the code to run. Don't use vc-previous-sentinel
2596 and vc-sentinel-commands any more.
2597 (vc-exec-after): Allow code to be a function. Use add/remove-function.
2598 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
2599
2600 2013-04-19 Masatake YAMATO <yamato@redhat.com>
2601
2602 * progmodes/sh-script.el (sh-imenu-generic-expression):
2603 Handle function names with a single character. (Bug#14111)
2604
2605 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
2606
2607 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
2608 for subroutines defined in an eval (bug#14182).
2609
2610 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2611
2612 * bookmark.el (bookmark-completing-read): Improve handling of empty
2613 string (bug#14176).
2614
2615 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
2616
2617 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
2618
2619 2013-04-19 FabiĂ¡n Ezequiel Gallina <fgallina@gnu.org>
2620
2621 New faster Imenu implementation (bug#14058).
2622 * progmodes/python.el:
2623 (python-imenu-prev-index-position):
2624 (python-imenu-format-item-label-function)
2625 (python-imenu-format-parent-item-label-function)
2626 (python-imenu-format-parent-item-jump-label-function):
2627 New vars.
2628 (python-imenu-format-item-label)
2629 (python-imenu-format-parent-item-label)
2630 (python-imenu-format-parent-item-jump-label)
2631 (python-imenu--put-parent, python-imenu--build-tree)
2632 (python-imenu-create-index, python-imenu-create-flat-index)
2633 (python-util-popn): New functions.
2634 (python-mode): Set imenu-create-index-function to
2635 python-imenu-create-index.
2636
2637 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
2638
2639 * winner.el (winner-active-region): Use region-active-p, activate-mark
2640 and deactivate-mark (bug#14225).
2641
2642 * simple.el (deactivate-mark): Don't inline it.
2643
2644 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
2645
2646 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
2647
2648 2013-04-18 Tassilo Horn <tsdh@gnu.org>
2649
2650 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
2651 file extensions from the archive-mode entry in order to prefer
2652 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
2653
2654 2013-04-18 Leo Liu <sdl.web@gmail.com>
2655
2656 * bindings.el (help-event-list): Add ?\?.
2657
2658 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
2659
2660 * subr.el (with-wrapper-hook): Declare obsolete.
2661 * simple.el (filter-buffer-substring-function): New hook.
2662 (filter-buffer-substring): Use it.
2663 (filter-buffer-substring-functions): Mark obsolete.
2664 * minibuffer.el (completion-in-region-function): New hook.
2665 (completion-in-region): Use it.
2666 (completion-in-region-functions): Mark obsolete.
2667 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
2668 * abbrev.el (abbrev-expand-function): New hook.
2669 (expand-abbrev): Use it.
2670 (abbrev-expand-functions): Mark obsolete.
2671 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
2672 and :filter-return.
2673
2674 2013-04-17 FabiĂ¡n Ezequiel Gallina <fgallina@gnu.org>
2675
2676 * progmodes/python.el (python-nav--syntactically): Fix cornercases
2677 and do not care about match data.
2678
2679 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
2680
2681 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
2682 completion tables when completing error conditions and
2683 `declare' arguments.
2684 (lisp-complete-symbol, field-complete): Mark as obsolete.
2685 (check-parens): Unmatched parens are user errors.
2686 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
2687
2688 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
2689
2690 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
2691 command changed buffer (ie. `flyspell-pre-buffer' is not current
2692 buffer), which prevents making decisions based on invalid value of
2693 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
2694 cause an error when `flyspell-pre-point' was nil after switching
2695 buffers.
2696 (flyspell-post-command-hook): No longer needs to change buffers when
2697 checking pre-word. While at it remove unnecessary progn.
2698
2699 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
2700
2701 * textmodes/ispell.el (ispell-add-per-file-word-list):
2702 Fix `flyspell-correct-word-before-point' error when accepting
2703 words and `coment-padding' is an integer by using
2704 `comment-normalize-vars' (Bug #14214).
2705
2706 2013-04-17 FabiĂ¡n Ezequiel Gallina <fgallina@gnu.org>
2707
2708 New defun movement commands.
2709 * progmodes/python.el (python-nav--syntactically)
2710 (python-nav--forward-defun, python-nav-backward-defun)
2711 (python-nav-forward-defun): New functions.
2712
2713 2013-04-17 FabiĂ¡n Ezequiel Gallina <fgallina@gnu.org>
2714
2715 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
2716 (python-syntax-context): Use named compiler-macro for backwards
2717 compatibility with Emacs 24.x.
2718
2719 2013-04-17 Leo Liu <sdl.web@gmail.com>
2720
2721 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
2722 octave-hide-process-buffer.
2723
2724 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
2725
2726 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
2727 (bug#14216).
2728
2729 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
2730
2731 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
2732 Fix adjustment of offset when receiving incomplete responses from GDB
2733 (bug#14129).
2734
2735 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
2736
2737 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
2738 python-mode-abbrev-table.
2739 (python-skeleton-define): Adjust accordingly.
2740 (python-mode-abbrev-table): New table that inherits from it so that
2741 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
2742
2743 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
2744 (abbrev-symbol): Use it.
2745 (abbrev--before-point): Use it since we already handle inheritance.
2746
2747 2013-04-16 Leo Liu <sdl.web@gmail.com>
2748
2749 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
2750 binding to info-lookup-symbol.
2751
2752 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
2753
2754 * minibuffer.el (completion--twq-all):
2755 * term/ns-win.el (ns-initialize-window-system):
2756 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
2757
2758 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
2759
2760 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
2761 global bindings.
2762
2763 * doc-view.el (doc-view-start-process): Handle url-handler directories.
2764
2765 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
2766
2767 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
2768 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
2769 to nil.
2770 (ruby-end-of-defun): Remove the unused arg, change the docstring
2771 to reflect that this function is only used as the value of
2772 `end-of-defun-function'.
2773 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
2774 to reflect an earlier change that beginning/end-of-defun functions
2775 jump between methods in a class definition, as well as top-level
2776 functions.
2777
2778 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
2779
2780 * minibuffer.el (minibuffer-complete): Don't just scroll
2781 a *Completions* that's been iconified.
2782 (minibuffer-force-complete): Make sure repetitions do cycle when going
2783 through completion-in-region -> minibuffer-complete.
2784
2785 2013-04-15 Alan Mackenzie <acm@muc.de>
2786
2787 Correct the placement of c-cpp-delimiters when there're #s not at
2788 col 0.
2789
2790 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
2791 place a submatch around the #.
2792 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
2793 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
2794 on the #, not BOL.
2795
2796 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
2797
2798 * emacs-lisp/nadvice.el: Properly test names when adding advice.
2799 (advice--member-p): New arg `name'.
2800 (advice--add-function, advice-member-p): Use it (bug#14202).
2801
2802 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
2803
2804 Reformulate java imenu-generic-expression.
2805 The old expression contained ill formed regexps.
2806
2807 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
2808 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
2809 (cc-imenu-java-method-arg-regexp): New defconsts.
2810 (cc-imenu-java-build-type-args-regex): New defun.
2811 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
2812 handling of spaces in the regexp.
2813
2814 2013-03-15 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
2815
2816 * textmodes/ispell.el (ispell-command-loop): Remove
2817 flyspell highlight of a word when ispell accepts it (bug #14178).
2818
2819 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
2820
2821 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
2822 uses code from the previous `ange-ftp-run-real-handler'.
2823 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
2824 only in case that function exist. This is needed for proper
2825 unloading of Tramp.
2826
2827 2013-04-15 Tassilo Horn <tsdh@gnu.org>
2828
2829 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
2830
2831 * textmodes/reftex.el (reftex-compile-variables): Use it.
2832
2833 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
2834
2835 * files.el (normal-mode): Only use default major-mode if no other mode
2836 was specified.
2837
2838 * emacs-lisp/trace.el (trace-values): New function.
2839
2840 * files.el: Allow : in local variables (bug#14089).
2841 (hack-local-variable-regexp): New var.
2842 (hack-local-variables-prop-line, hack-local-variables): Use it.
2843
2844 2013-04-13 Roland Winkler <winkler@gnu.org>
2845
2846 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
2847 data before it gets modified by bibtex-beginning-of-entry.
2848
2849 2013-04-13 Roland Winkler <winkler@gnu.org>
2850
2851 * textmodes/bibtex.el (bibtex-url): Doc fix.
2852
2853 2013-04-13 Roland Winkler <winkler@gnu.org>
2854
2855 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
2856 does not visit a BibTeX file, exclude it from the list of buffers
2857 returned by bibtex-initialize.
2858
2859 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
2860
2861 * window.el (split-window): Remove interactive form, since as a
2862 command this function is a special case of split-window-below.
2863 Correct doc string.
2864
2865 2013-04-12 Roland Winkler <winkler@gnu.org>
2866
2867 * faces.el (read-face-name): Do not override value of arg default.
2868 Allow single faces and strings as default values. Remove those
2869 elements from return value that are not faces.
2870 (describe-face): Simplify.
2871 (face-at-point): New optional args thing and multiple so that this
2872 function can provide the same functionality previously provided by
2873 read-face-name.
2874 (make-face-bold, make-face-unbold, make-face-italic)
2875 (make-face-unitalic, make-face-bold-italic, invert-face)
2876 (modify-face, read-face-and-attribute): Use face-at-point.
2877
2878 * cus-edit.el (customize-face, customize-face-other-window)
2879 * cus-theme.el (custom-theme-add-face)
2880 * face-remap.el (buffer-face-set)
2881 * facemenu.el (facemenu-set-face): Use face-at-point.
2882
2883 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
2884
2885 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
2886
2887 2013-04-10 Tassilo Horn <tsdh@gnu.org>
2888
2889 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
2890 off leading { and trailing } from field values.
2891
2892 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
2893
2894 * emacs-lisp/timer.el (timer--check): New function.
2895 (timer--time, timer-set-function, timer-event-handler): Use it.
2896 (timer-set-idle-time): Simplify.
2897 (timer--activate): CSE.
2898 (timer-event-handler): Give more info in error message.
2899 (internal-timer-start-idle): New function, moved from C.
2900
2901 * mpc.el (mpc-proc): Add `restart' argument.
2902 (mpc-proc-cmd): Use it.
2903 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
2904 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
2905 less often.
2906
2907 2013-04-10 Masatake YAMATO <yamato@redhat.com>
2908
2909 * progmodes/sh-script.el: Implement `sh-mode' own
2910 `add-log-current-defun-function' (bug#14112).
2911 (sh-current-defun-name): New function.
2912 (sh-mode): Use the function.
2913
2914 2013-04-09 Bastien Guerry <bzg@gnu.org>
2915
2916 * simple.el (choose-completion-string): Fix docstring (bug#14163).
2917
2918 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
2919
2920 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
2921
2922 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
2923 timer (bug#14156).
2924
2925 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
2926
2927 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
2928 declaration.
2929
2930 2013-04-07 Leo Liu <sdl.web@gmail.com>
2931
2932 * pcmpl-x.el: New file.
2933
2934 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
2935
2936 Do not set x-display-name until X connection is established.
2937 This is needed to prevent from weird situation described at
2938 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
2939 * frame.el (make-frame): Set x-display-name after call to
2940 window system initialization function, not before.
2941 * term/x-win.el (x-initialize-window-system): Add optional
2942 display argument and use it.
2943 * term/w32-win.el (w32-initialize-window-system):
2944 * term/ns-win.el (ns-initialize-window-system):
2945 * term/pc-win.el (msdos-initialize-window-system):
2946 Add compatible optional display argument.
2947
2948 2013-04-06 Eli Zaretskii <eliz@gnu.org>
2949
2950 * files.el (normal-backup-enable-predicate): On MS-Windows and
2951 MS-DOS compare truenames of temporary-file-directory and of the
2952 file, so that 8+3 aliases (usually found in $TEMP on Windows)
2953 don't fail comparison by compare-strings. Also, compare file
2954 names case-insensitively on MS-Windows and MS-DOS.
2955
2956 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
2957
2958 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
2959 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
2960
2961 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
2962
2963 * whitespace.el (whitespace-color-on, whitespace-color-off):
2964 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
2965
2966 2013-04-05 Jacek ChrzÄ…szcz <chrzaszcz@mimuw.edu.pl> (tiny change)
2967
2968 * ispell.el (ispell-set-spellchecker-params):
2969 Really set `ispell-args' for all equivs.
2970
2971 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
2972
2973 * ido.el (ido-completions): Use extra elements of ido-decorations
2974 (bug#14143).
2975 (ido-decorations): Update docstring.
2976
2977 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
2978
2979 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
2980 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
2981 nil during initialization, in order not to miss changes since the
2982 file was opened. (Bug#14140)
2983
2984 2013-04-05 Leo Liu <sdl.web@gmail.com>
2985
2986 * kmacro.el (kmacro-call-macro): Fix bug#14135.
2987
2988 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
2989
2990 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
2991
2992 2013-04-04 Glenn Morris <rgm@gnu.org>
2993
2994 * electric.el (electric-pair-inhibit-predicate): Add :version.
2995
2996 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
2997
2998 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
2999 when a package is required several times (bug#14082).
3000
3001 2013-04-04 Roland Winkler <winkler@gnu.org>
3002
3003 * faces.el (read-face-name): Behave as promised by the docstring.
3004 Assume that arg default is a list of faces.
3005 (describe-face): Call read-face-name with list of default faces.
3006
3007 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3008
3009 * bookmark.el: Fix deletion of bookmarks (bug#13972).
3010 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
3011 (bookmark-bmenu-execute-deletions): Only skip first line if it's
3012 the header.
3013 (bookmark-exit-hook-internal): Save even if list is empty.
3014
3015 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
3016
3017 * emacs-lisp/package.el (package-pinned-packages): New var.
3018 (package--add-to-archive-contents): Obey it (bug#14118).
3019
3020 2013-04-03 Alan Mackenzie <acm@muc.de>
3021
3022 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
3023 Also adapt to the new values of element 7 of a parse state.
3024
3025 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
3026 parameter `not-in-delimiter'. Handle being inside comment opener.
3027 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
3028 character in case we're typing a '*' after a '/'.
3029 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
3030 instead by passing the parameter to c-state-pp-to-literal.
3031
3032 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
3033 for elt. 7 of a parse state.
3034
3035 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
3036
3037 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
3038 * international/latin1-disp.el, international/mule-util.el:
3039 * language/cyril-util.el, language/european.el, language/ind-util.el:
3040 * language/lao-util.el, language/thai.el, language/tibet-util.el:
3041 * language/tibetan.el, language/viet-util.el:
3042 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
3043
3044 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
3045
3046 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
3047 (electric-pair-post-self-insert-function): Use it.
3048 (electric-pair-default-inhibit): New function, extracted from
3049 electric-pair-post-self-insert-function.
3050
3051 2013-03-31 Roland Winkler <winkler@gnu.org>
3052
3053 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
3054
3055 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
3056
3057 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
3058
3059 2013-03-30 FabiĂ¡n Ezequiel Gallina <fabian@anue.biz>
3060
3061 Un-indent after "pass" and "return" statements (Bug#13888)
3062 * progmodes/python.el (python-indent-block-enders): New var.
3063 (python-indent-calculate-indentation): Use it.
3064
3065 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
3066
3067 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
3068 defun. Defining it as defalias could introduce too eager
3069 byte-compiler optimization. (Bug#14030)
3070
3071 2013-03-30 Chong Yidong <cyd@gnu.org>
3072
3073 * iswitchb.el (iswitchb-read-buffer): Fix typo.
3074
3075 2013-03-30 Leo Liu <sdl.web@gmail.com>
3076
3077 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
3078 (kmacro-execute-from-register): Pass the keyboard macro to
3079 kmacro-call-macro or repeating won't work correctly.
3080
3081 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
3082
3083 * progmodes/subword.el: Back to using `forward-symbol'.
3084
3085 * subr.el (forward-whitespace, forward-symbol)
3086 (forward-same-syntax): Move from thingatpt.el.
3087
3088 2013-03-29 Leo Liu <sdl.web@gmail.com>
3089
3090 * kmacro.el (kmacro-to-register): New command.
3091 (kmacro-execute-from-register): New function.
3092 (kmacro-keymap): Bind to 'x'. (Bug#14071)
3093
3094 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
3095
3096 * mpc.el: Use defvar-local and setq-local.
3097 (mpc--proc-connect): Connection failures are not bugs.
3098 (mpc-mode-map): `follow-link' only applies to the buffer's content.
3099 (mpc-volume-map): Bind to the up-events.
3100
3101 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
3102
3103 * progmodes/subword.el (superword-mode): Use `forward-sexp'
3104 instead of `forward-symbol'.
3105
3106 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
3107
3108 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
3109 (edebug--recursive-edit): Use it.
3110 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
3111 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
3112
3113 2013-03-28 Leo Liu <sdl.web@gmail.com>
3114
3115 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
3116
3117 2013-03-27 Eli Zaretskii <eliz@gnu.org>
3118
3119 * facemenu.el (list-colors-callback): New defvar.
3120 (list-colors-redisplay): New function.
3121 (list-colors-display): Install list-colors-redisplay as the
3122 revert-buffer-function. (Bug#14063)
3123
3124 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
3125
3126 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
3127 and suffixes don't overlap (bug#14061).
3128
3129 * case-table.el: Use lexical-binding.
3130 (case-table-get-table): New function.
3131 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
3132
3133 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
3134
3135 * progmodes/subword.el: Add `superword-mode' to do word motion
3136 over symbol_words (parallels and leverages `subword-mode' which
3137 does word motion inside MixedCaseWords).
3138
3139 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
3140
3141 * eshell/em-unix.el: Move su and sudo to...
3142 * eshell/em-tramp.el: ...Eshell tramp module.
3143
3144 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
3145
3146 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
3147 Change return value to be a sexp. Delay `get-buffer' to after
3148 restoring the desktop (bug#13951).
3149
3150 2013-03-26 Leo Liu <sdl.web@gmail.com>
3151
3152 * register.el: Move semantic tag handling back to
3153 cedet/semantic/senator.el. (Bug#14052)
3154
3155 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
3156
3157 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
3158 into the prompt either (bug#13963).
3159
3160 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
3161
3162 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
3163 part of "(error-foo)".
3164
3165 2013-03-24 Juri Linkov <juri@jurta.org>
3166
3167 * replace.el (list-matching-lines-prefix-face): New defcustom.
3168 (occur-1): Pass `list-matching-lines-prefix-face' to the function
3169 `occur-engine' if `face-differs-from-default-p' returns t.
3170 (occur-engine): Add `,' inside backquote construct to evaluate
3171 `prefix-face'. Propertize the prefix with the `prefix-face' face.
3172 Pass `prefix-face' to the functions `occur-context-lines' and
3173 `occur-engine-add-prefix'.
3174 (occur-engine-add-prefix, occur-context-lines): Add optional arg
3175 `prefix-face' and propertize the prefix with `prefix-face'.
3176 (Bug#14017)
3177
3178 2013-03-24 Leo Liu <sdl.web@gmail.com>
3179
3180 * nxml/rng-valid.el (rng-validate-while-idle)
3181 (rng-validate-quick-while-idle): Guard against deleted buffer.
3182 (Bug#13999)
3183
3184 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
3185 is the last entry in kill-buffer-hook.
3186
3187 * files.el (kill-buffer-hook): Doc fix.
3188
3189 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
3190
3191 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
3192 Make it safe-local.
3193
3194 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
3195
3196 2013-03-23 Leo Liu <sdl.web@gmail.com>
3197
3198 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
3199 Remove.
3200
3201 * nxml/rng-valid.el (rng-validate-mode)
3202 (rng-after-change-function, rng-do-some-validation):
3203 * nxml/rng-maint.el (rng-validate-buffer):
3204 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
3205 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
3206 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
3207 (nxml-extend-after-change-region): Use with-silent-modifications.
3208
3209 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
3210 timer-idle-list.
3211
3212 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
3213 (rng-next-error-1, rng-previous-error-1): Do not let-bind
3214 timer-idle-list. (Bug#13999)
3215
3216 2013-03-23 Juri Linkov <juri@jurta.org>
3217
3218 * info.el (info-index-match): New face.
3219 (Info-index, Info-apropos-matches): Add a nested subgroup to the
3220 main pattern and add text properties with the new face to matches
3221 in index entries relative to the beginning of the index entry.
3222 (Bug#14015)
3223
3224 2013-03-21 Eric Ludlam <zappo@gnu.org>
3225
3226 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
3227 Inhibit read only while inserting objects.
3228
3229 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
3230
3231 * progmodes/cfengine.el: Update docs to mention
3232 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
3233 symbol motion. Remove "_" from the word syntax.
3234
3235 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
3236
3237 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
3238 syntax for both `cfengine2-mode' and `cfengine3-mode'.
3239
3240 2013-03-20 Juri Linkov <juri@jurta.org>
3241
3242 * info.el (Info-next-reference-or-link)
3243 (Info-prev-reference-or-link): New functions.
3244 (Info-next-reference, Info-prev-reference): Use them.
3245 (Info-try-follow-nearest-node): Handle footnote navigation.
3246 (Info-fontify-node): Fontify footnotes. (Bug#13989)
3247
3248 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
3249
3250 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
3251 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
3252
3253 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
3254
3255 Suppress unnecessary non-ASCII chatter during build process.
3256 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
3257 (batch-skkdic-convert): Suppress most of the chatter.
3258 It's not needed so much now that machines are faster,
3259 and its non-ASCII component was confusing; see Dmitry Gutov in
3260 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
3261
3262 2013-03-20 Leo Liu <sdl.web@gmail.com>
3263
3264 * ido.el (ido-chop): Fix bug#10994.
3265
3266 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
3267
3268 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
3269 Remove vars.
3270 (whitespace-color-on, whitespace-color-off):
3271 Use `font-lock-fontify-buffer' (Bug#13817).
3272
3273 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
3274
3275 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
3276 remapping in mode-line.
3277 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
3278
3279 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
3280
3281 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
3282 value for `whitespace-line' face (Bug#13875).
3283 (whitespace-font-lock-keywords): Change description.
3284 (whitespace-color-on): Don't save `font-lock-keywords' value, save
3285 the constructed keywords instead.
3286 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
3287
3288 2013-03-19 Leo Liu <sdl.web@gmail.com>
3289
3290 * progmodes/compile.el (compilation-display-error): New command.
3291 (compilation-mode-map, compilation-minor-mode-map): Bind it to
3292 C-o. (Bug#13992)
3293
3294 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
3295
3296 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
3297
3298 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
3299
3300 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
3301
3302 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
3303
3304 * net/tramp-compat.el (tramp-compat-user-error): New defun.
3305
3306 * net/tramp-adb.el (tramp-adb-handle-shell-command):
3307 * net/tramp-gvfs.el (top):
3308 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
3309 (tramp-handle-shell-command): Use it.
3310 (tramp-dissect-file-name): Raise an error when hostname is a
3311 method name, and neither method nor user is specified.
3312
3313 * net/trampver.el: Update release number.
3314
3315 2013-03-18 Leo Liu <sdl.web@gmail.com>
3316
3317 Make sure eldoc can be turned off properly.
3318 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
3319 eldoc-mode.
3320 (eldoc-display-message-p): Revert last change.
3321 (eldoc-display-message-no-interference-p)
3322 (eldoc-print-current-symbol-info): Tweak.
3323
3324 2013-03-18 Tassilo Horn <tsdh@gnu.org>
3325
3326 * doc-view.el (doc-view-new-window-function): Check the new window
3327 overlay's display property instead the char property of the
3328 buffer's first char. Use `with-selected-window' instead of
3329 `save-window-excursion' with `select-window'.
3330 (doc-view-document->bitmap): Check the current doc-view overlay's
3331 display property instead the char property of the buffer's first char.
3332
3333 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
3334
3335 Automate the build of ja-dic.el (Bug#13984).
3336 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
3337 from the input, rather than assume that it's been done for us by the
3338 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
3339 the current date into a ja-dic.el comment, as that complicates
3340 regression testing.
3341
3342 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
3343
3344 * whitespace.el: Fix double evaluation.
3345 (whitespace-space, whitespace-hspace, whitespace-tab)
3346 (whitespace-newline, whitespace-trailing, whitespace-line)
3347 (whitespace-space-before-tab, whitespace-indentation)
3348 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
3349 obsolete defvars.
3350 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
3351 (whitespace-color-on): Use a single font-lock-add-keywords call.
3352 Fix double-evaluation of face variables.
3353
3354 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
3355
3356 * net/tramp-adb.el (tramp-adb-parse-device-names):
3357 Use `start-process' instead of `call-process'. Otherwise, the
3358 function might be blocked under MS Windows. (Bug#13299)
3359
3360 2013-03-17 Leo Liu <sdl.web@gmail.com>
3361
3362 Extend eldoc to display info in the mode-line. (Bug#13978)
3363 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
3364 (eldoc-mode-line-string): New variable.
3365 (eldoc-minibuffer-message): New function.
3366 (eldoc-message-function): New variable.
3367 (eldoc-message): Use it.
3368 (eldoc-display-message-p)
3369 (eldoc-display-message-no-interference-p):
3370 Support eldoc-post-insert-mode.
3371
3372 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
3373 (eval-expression): Run it.
3374
3375 2013-03-17 Roland Winkler <winkler@gnu.org>
3376
3377 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
3378 strings in the list of return values.
3379
3380 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
3381
3382 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
3383 radix before checking for HMS forms.
3384
3385 2013-03-16 Leo Liu <sdl.web@gmail.com>
3386
3387 * progmodes/scheme.el: Add indentation and font-locking for λ.
3388 (Bug#13975)
3389
3390 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
3391
3392 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
3393 token before point (bug#13942).
3394
3395 2013-03-16 Leo Liu <sdl.web@gmail.com>
3396
3397 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
3398
3399 2013-03-16 Eli Zaretskii <eliz@gnu.org>
3400
3401 * startup.el (command-line-normalize-file-name): Fix handling of
3402 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
3403 <xfq.free@gmail.com> in
3404 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
3405
3406 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
3407
3408 Sync with Tramp 2.2.7.
3409
3410 * net/trampver.el: Update release number.
3411
3412 2013-03-14 Tassilo Horn <tsdh@gnu.org>
3413
3414 * doc-view.el Fix bug#13887.
3415 (doc-view-insert-image): Don't modify overlay associated to
3416 non-live windows, and implement horizontal centering of image in
3417 case it's smaller than the window.
3418 (doc-view-new-window-function): Force redisplay of new windows on
3419 doc-view buffers.
3420
3421 2013-03-13 Karl Fogel <kfogel@red-bean.com>
3422
3423 * saveplace.el (save-place-alist-to-file): Don't sort
3424 `save-place-alist', just pretty-print it (bug#13882).
3425
3426 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
3427
3428 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Check,
3429 whether `default-file-name-coding-system' is bound. It isn't in
3430 XEmacs.
3431
3432 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
3433
3434 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
3435 backquotes for `obsolete' (bug#13929).
3436
3437 * international/mule.el (find-auto-coding): Include file name in
3438 obsolescence warning (bug#13922).
3439
3440 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
3441
3442 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
3443 for CFEngine 3-specific indentation.
3444 (cfengine3-indent-line): Use it. Fix up category regex.
3445 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
3446
3447 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
3448
3449 * type-break.el (type-break-file-name):
3450 * textmodes/remember.el (remember-data-file):
3451 * strokes.el (strokes-file):
3452 * shadowfile.el (shadow-initialize):
3453 * saveplace.el (save-place-file):
3454 * ps-bdf.el (bdf-cache-file):
3455 * progmodes/idlwave.el (idlwave-config-directory):
3456 * net/quickurl.el (quickurl-url-file):
3457 * international/kkc.el (kkc-init-file-name):
3458 * ido.el (ido-save-directory-list-file):
3459 * emulation/viper.el (viper-custom-file-name):
3460 * emulation/vip.el (vip-startup-file):
3461 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
3462 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
3463
3464 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
3465
3466 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
3467 * language/thai-word.el: Switch to UTF-8.
3468
3469 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
3470
3471 * recentf.el (recentf-save-file): Use locate-user-emacs-file (bug#13870).
3472
3473 2013-03-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3474
3475 * net/net-utils.el (net-utils-remove-ctrl-m-filter):
3476 Use with-current-buffer and don't move point.
3477 (net-utils-run-simple): Remove useless code.
3478 (net-utils-remove-ctl-m): Remove unused custom.
3479
3480 2013-03-11 Per Starbäck <starback@stp.lingfil.uu.se>
3481
3482 * international/characters.el (glyphless-set-char-table-range): New fun.
3483 (update-glyphless-char-display): Use it (bug#13744).
3484
3485 2013-03-11 Teodor Zlatanov <tzz@lifelogs.com>
3486
3487 * progmodes/cfengine.el: Update for CFEngine 3.4.2 and higher:
3488 namespaces in the syntax, indent closer for hanging brace
3489 correctly, allow single-quote delimited 'strings', and make
3490 `cfengine3-mode' the default.
3491
3492 2013-03-11 Jean-Philippe Gravel <jpgravel@gmail.com>
3493
3494 * progmodes/gdb-mi.el: Speed up initialization (bug#10580).
3495 Use lexical-binding. Fix up docstring according to conventions.
3496 (gdbmi-debug-mode): New var.
3497 (gdbmi-start-with, gdbmi-same-start, gdbmi-is-number, gdbmi-bnf-init)
3498 (gdbmi-bnf-output, gdbmi-bnf-skip-unrecognized, gdbmi-bnf-gdb-prompt)
3499 (gdbmi-bnf-result-record, gdbmi-bnf-out-of-band-record)
3500 (gdbmi-bnf-async-record, gdbmi-bnf-stream-record)
3501 (gdbmi-bnf-console-stream-output, gdbmi-bnf-target-stream-output)
3502 (gdbmi-bnf-log-stream-output, gdbmi-bnf-result-and-async-record-impl)
3503 (gdbmi-bnf-incomplete-record-result): New functions.
3504 (gdb-car<): Remove function.
3505 (gdbmi-record-list): Remove variable.
3506 (gdbmi-bnf-state, gdbmi-bnf-offset): New vars.
3507 (gdbmi-bnf-result-state-configs): New const.
3508 (gud-gdbmi-marker-filter): Rewrite.
3509 (gdb-ignored-notification, gdb-thread-created, gdb-thread-exited)
3510 (gdb-thread-selected, gdb-running, gdb-starting, gdb-stopped):
3511 Add `token' argument.
3512 (gdb-done, gdb-error): New functions.
3513 (gdb-done-or-error): Add `is-complete' argument. Change arg order.
3514
3515 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
3516
3517 * term/xterm.el (xterm--report-background-handler): Don't burp
3518 upon timeout.
3519 (xterm--version-handler): Extract from terminal-init-xterm.
3520 (xterm--query): Don't mishandle timeout. Remove debugging messages.
3521 Allow multiple handlers.
3522 (terminal-init-xterm): Handle OSX's Terminal.app's incorrect answer.
3523
3524 * term/xterm.el: Don't discard input (bug#6758). Use lexical-binding.
3525 (xterm--report-background-handler, xterm--query): New functions.
3526 (terminal-init-xterm): Use them.
3527
3528 2013-03-11 Michael R. Mauger <michael@mauger.com>
3529
3530 * progmodes/sql.el Version 3.2
3531 Please note that my address changed to <michael@mauger.com>;
3532 the <mmaug@yahoo.com> address remains active.
3533 (sql-connection-alist): Updates documentation to fix bug#13715.
3534 (sql-connect): Handle missing `sql-connection-alist' correctly.
3535 (sql-mode-oracle-font-lock-keywords): Add missing keywords.
3536 (sql-magic-go, sql-magic-semicolon): Mark with `delete-selection'
3537 property.
3538 (sql-default-value): New function.
3539 (sql-get-login-ext, sql-get-login): Fixes bug where buffer-local
3540 values were not used.
3541 (sql-rename-buffer): Make sure alternate buffer name has no text
3542 properties.
3543 (sql-input-sender, sql-execute-feature): Fetch variable with
3544 `buffer-local-value' rather than `with-current-buffer'.
3545 (sql-*): Use #' function syntax consistently.
3546 (sql-*): Use message/error/user-error consistently.
3547
3548 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
3549
3550 * xt-mouse.el (xterm-mouse-event-read): Remove.
3551 (xterm-mouse--read-event-sequence-1000)
3552 (xterm-mouse--read-event-sequence-1006): Use read-event instead.
3553
3554 2013-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
3555
3556 * term/xterm.el (xterm-function-map): Support format used with
3557 formatOtherKeys=1 (bug#13839).
3558
3559 * emacs-lisp/byte-run.el (dont-compile): Declare obsolete.
3560 (with-no-warnings): Use `declare'.
3561
3562 * whitespace.el (whitespace-enable-predicate): New variable.
3563 (whitespace-enable-predicate): Use it.
3564
3565 * comint.el (comint-send-input, comint-snapshot-last-prompt)
3566 (comint-output-filter, comint-update-fence):
3567 Use with-silent-modifications.
3568
3569 2013-03-10 Jambunathan K <kjambunathan@gmail.com>
3570
3571 * replace.el (occur-read-regexp-defaults-function): New var.
3572 (occur-read-regexp-defaults): New defun.
3573 (occur-read-primary-args): Propagate above change (bug#13892).
3574
3575 2013-03-09 Stefan Monnier <monnier@iro.umontreal.ca>
3576
3577 * mouse.el (mouse-drag-track): Remove left-over debugging code.
3578
3579 2013-03-09 Michael Albinus <michael.albinus@gmx.de>
3580
3581 Major rewrite due to changed D-Bus interface of GVFS 1.14.
3582
3583 * net/tramp-gvfs.el (top): Extend check for gvfs availability.
3584 (tramp-gvfs-methods-mounttracker, tramp-gvfs-listmounts)
3585 (tramp-gvfs-mountlocation, tramp-gvfs-mountlocation-signature):
3586 New defconst.
3587 (tramp-gvfs-file-name-handler-alist) [directory-files]
3588 [directory-files-and-attributes, file-exists-p, file-modes]:
3589 Use Tramp default handler.
3590 [file-acl, file-selinux-context, process-file, set-file-acl]:
3591 [set-file-modes, set-file-selinux-context, shell-command]:
3592 [start-file-process]: Remove handler.
3593 [verify-visited-file-modtime]: New handler.
3594 (tramp-gvfs-dbus-string-to-byte-array)
3595 (tramp-gvfs-dbus-byte-array-to-string): New defuns. Replace all
3596 calls of `dbus-string-to-byte-array' and
3597 `tramp-gvfs-dbus-byte-array-to-string'.
3598 (tramp-gvfs-handle-copy-file)
3599 (tramp-gvfs-handle-delete-directory)
3600 (tramp-gvfs-handle-delete-file, tramp-gvfs-handle-file-attributes)
3601 (tramp-gvfs-handle-file-directory-p)
3602 (tramp-gvfs-handle-file-executable-p)
3603 (tramp-gvfs-handle-file-name-all-completions)
3604 (tramp-gvfs-handle-file-readable-p)
3605 (tramp-gvfs-handle-file-writable-p)
3606 (tramp-gvfs-handle-insert-directory)
3607 (tramp-gvfs-handle-insert-file-contents)
3608 (tramp-gvfs-handle-make-directory, tramp-gvfs-handle-rename-file)
3609 (tramp-gvfs-handle-set-visited-file-modtime)
3610 (tramp-gvfs-handle-write-region): Rewrite.
3611 (tramp-gvfs-handle-file-acl)
3612 (tramp-gvfs-handle-file-selinux-context)
3613 (tramp-gvfs-handle-process-file, tramp-gvfs-handle-set-file-acl)
3614 (tramp-gvfs-handle-set-file-modes)
3615 (tramp-gvfs-handle-set-file-selinux-context)
3616 (tramp-gvfs-handle-shell-command)
3617 (tramp-gvfs-handle-start-file-process)
3618 (tramp-gvfs-handle-verify-visited-file-modtime): Remove defuns.
3619 (tramp-gvfs-url-file-name): Do not use `file-truename', we work
3620 over the symlinks. Fix user handling.
3621 (top, tramp-gvfs-handler-mounted-unmounted): Handle different names
3622 of the D-Bus signals.
3623 (tramp-gvfs-connection-mounted-p): Handle different names of the
3624 D-Bus methods.
3625 (tramp-gvfs-mount-spec-entry): New defun.
3626 (tramp-gvfs-mount-spec): Use it.
3627 (tramp-gvfs-maybe-open-connection): Check, that in case of "smb"
3628 there is a share name. Handle different names of the D-Bus
3629 signals and methods. Set connection properties needed for
3630 `tramp-check-cached-permissions'.
3631 (tramp-gvfs-send-command): Apply `tramp-gvfs-maybe-open-connection'.
3632 Return t or nil.
3633
3634 * net/tramp.el (tramp-backtrace): Move up.
3635 (tramp-error): Dump a backtrace into the debug buffer when
3636 `tramp-verbose > 9.
3637 (tramp-file-mode-type-map, tramp-file-mode-from-int)
3638 (tramp-file-mode-permissions, tramp-get-local-uid)
3639 (tramp-get-local-gid, tramp-check-cached-permissions): Move from
3640 tramp-sh.el.
3641
3642 * net/tramp-sh.el (tramp-file-mode-type-map)
3643 (tramp-check-cached-permissions, tramp-file-mode-from-int)
3644 (tramp-file-mode-permissions, tramp-get-local-uid)
3645 (tramp-get-local-gid): Move to tramp.el.
3646
3647 2013-03-09 Stefan Monnier <monnier@iro.umontreal.ca>
3648
3649 Separate mouse-1-click-follows-link from mouse-drag-region.
3650 * mouse.el (mouse--down-1-maybe-follows-link): New function.
3651 (key-translation-map): Use it to implement mouse-1-click-follows-link.
3652 (mouse-drag-line, mouse-drag-track):
3653 Remove mouse-1-click-follows-link code.
3654 (mouse--remap-link-click-p): Remove.
3655
3656 2013-03-08 Jambunathan K <kjambunathan@gmail.com>
3657
3658 * hi-lock.el (hi-lock-read-regexp-defaults-function): New var.
3659 (hi-lock-read-regexp-defaults): New defun.
3660 (hi-lock-line-face-buffer, hi-lock-face-buffer)
3661 (hi-lock-face-phrase-buffer): Propagate above change.
3662 Update docstring (bug#13892).
3663
3664 * subr.el (find-tag-default-as-regexp): New defun.
3665 * replace.el (read-regexp): Propagate above change.
3666
3667 2013-03-08 Jay Belanger <jay.p.belanger@gmail.com>
3668
3669 * calc/calc-units.el (calc-convert-units): Fix the way that default
3670 new units are stored.
3671
3672 2013-03-07 Matthias Meulien <orontee@gmail.com>
3673
3674 * bookmark.el: Define a face to highlight bookmark names in
3675 bookmark menu buffers, where the default is a bold face similarly
3676 to buffer names in buffer menu buffers.
3677 (bookmark-menu-bookmark): New face to highlight bookmark names.
3678 (bookmark-insert-location): Remove duplicated text property to
3679 conform to buffer list (see `list-buffers').
3680 (bookmark-bmenu-list, bookmark-bmenu-hide-filenames): Apply face
3681 `bookmark-menu-bookmark' to bookmark names.
3682
3683 2013-03-07 Matthias Meulien <orontee@gmail.com>
3684 Karl Fogel <kfogel@red-bean.com>
3685
3686 * bookmark.el: Display the bookmark list header similarly to the
3687 buffer list header (see `list-buffers'), where the default is now
3688 an immovable/immutable header line.
3689 (bookmark-bmenu-use-header-line): New variable.
3690 (bookmark-bmenu-inline-header-height): New name for
3691 `bookmark-bmenu-header-height', to avoid confusion with the code
3692 for the new immovable header. All references changed.
3693 (bookmark-bmenu-set-header): New function.
3694 (bookmark-bmenu-list, bookmark-bmenu-toggle-filenames):
3695 Conditionalize header construction accordingly.
3696 (bookmark-bmenu-ensure-position): Conditionalize the skipping of
3697 the inline header height.
3698 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
3699 Conditionalize the skipping of the inline header height.
3700
3701 2013-03-07 Dmitry Gutov <dgutov@yandex.ru>
3702
3703 * progmodes/js.el (js--multi-line-declaration-indentation):
3704 Merge from js2-mode (https://github.com/mooz/js2-mode/issues/89).
3705
3706 2013-03-06 Dmitry Gutov <dgutov@yandex.ru>
3707
3708 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
3709 Only propertize regexp when not inside a string (Bug#13885).
3710
3711 2013-03-06 Alan Mackenzie <acm@muc.de>
3712
3713 Correct the position of point in some line-up functions.
3714 * progmodes/cc-align.el (c-lineup-whitesmith-in-block)
3715 (c-lineup-assignments, c-lineup-gcc-asm-reg ): Take position of
3716 point at column 0 rather than at a random place in the line.
3717
3718 2013-03-05 Michael Albinus <michael.albinus@gmx.de>
3719
3720 * net/tramp-compat.el (tramp-compat-delete-directory):
3721 Implement TRASH argument.
3722
3723 2013-03-05 Dmitry Gutov <dgutov@yandex.ru>
3724
3725 Keep pre-existing highlighting in completion candidates (Bug#13250).
3726 * minibuffer.el (completions-first-difference): State that the
3727 face is "added" in the docstring.
3728 (completions-common-part): Same. And don't inherit from default.
3729 (completion-hilit-commonality): Prepend 'completions-common-part
3730 and 'completion-first-difference faces to the 'face property,
3731 instead of replacing the value(s).
3732 (completion--insert-strings): Same with 'completions-annotations face.
3733 (completion-hilit-commonality): Use 'face instead of
3734 'font-lock-face, because it gets priority if the completion
3735 strings already have 'face set.
3736
3737 2013-03-04 Alan Mackenzie <acm@muc.de>
3738
3739 Replace `last-command-event' by `last-command-char' in XEmacs.
3740 * progmodes/cc-defs.el (c-last-command-char): New macro.
3741 * progmodes/cc-align.el (c-semi&comma-inside-parenlist)
3742 (c-semi&comma-no-newlines-before-nonblanks)
3743 (c-semi&comma-no-newlines-for-oneline-inliners): Use the new macro
3744 in place of `last-command-event'.
3745 * progmodes/cc-cmds.el (c-electric-pound, c-electric-brace)
3746 (c-electric-slash, c-electric-semi&comma, c-electric-lt-gt)
3747 (c-electric-paren, c-electric-continued-statement): Use the new
3748 macro in place of `last-command-event'.
3749
3750 2013-03-04 Glenn Morris <rgm@gnu.org>
3751
3752 * files.el (inhibit-local-variables-regexps):
3753 Add .diff and .patch. (Bug#13862)
3754
3755 2013-03-03 Michael Albinus <michael.albinus@gmx.de>
3756
3757 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Cache,
3758 whether the "su" command is available on the device.
3759
3760 2013-03-01 Michael Albinus <michael.albinus@gmx.de>
3761
3762 * net/tramp-adb.el (tramp-adb-prompt): Extend regexp.
3763 (tramp-adb-handle-process-file): Remove superfluous setting.
3764 (tramp-adb-command-exit-status): Handle case that COMMAND is nil.
3765 (tramp-adb-barf-unless-okay): Use `tramp-adb-command-exit-status'.
3766 (tramp-adb-maybe-open-connection): Apply "su" if user is defined.
3767
3768 2013-03-01 Stefan Monnier <monnier@iro.umontreal.ca>
3769
3770 * textmodes/ispell.el: Fix nitpicks and byte-compiler warnings.
3771 (ispell-print-if-debug): Build `format' in. Avoid end-of-buffer.
3772 (ispell-parse-hunspell-affix-file): Avoid beginning-of-buffer.
3773 Use dict-key rather than dict-name for the error message.
3774
3775 2013-03-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3776
3777 * net/net-utils.el (net-utils-run-simple): Don't display-buffer
3778 when reverting (bug#13831).
3779
3780 2013-03-01 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
3781
3782 * textmodes/ispell.el (ispell-find-hunspell-dictionaries):
3783 Always expand affix-file before storing to protect against changed
3784 `default-directory'.
3785 (ispell-print-if-debug): Make sure message is printed at the end
3786 of the debug buffer.
3787
3788 2013-03-01 Michael Albinus <michael.albinus@gmx.de>
3789
3790 * net/tramp.el (tramp-obsolete-methods): New defconst.
3791 (tramp-warned-obsolete-methods): New defvar.
3792 (tramp-find-method): Check for obsolete methods. Map them to a
3793 replacement method if appropriate.
3794
3795 * net/tramp-sh.el (tramp-methods) [scp1, scp2, ssh1, ssh2, plink1]:
3796 Remove methods.
3797 (top): Remove completion functions for "scp1", "scp2", "ssh1",
3798 "ssh2" and "plink1".
3799
3800 2013-02-28 Dale Sedivec <dale@codefu.org>
3801
3802 * textmodes/sgml-mode.el (sgml-syntax-propertize-function):
3803 Return valid syntax-table property value when converting
3804 quotes within text from string syntax to punctuation syntax (bug#13844).
3805
3806 2013-02-28 Juri Linkov <juri@jurta.org>
3807
3808 * dired-aux.el (dired-diff): If file at point is a backup file,
3809 use its original as the default value, and reverse the order
3810 of arguments to the `diff' call. Doc fix. (Bug#13772)
3811
3812 2013-02-28 Michael Albinus <michael.albinus@gmx.de>
3813
3814 * net/tramp-adb.el (tramp-adb-sdk-dir): Remove. Replaced by ...
3815 (tramp-adb-program): New defcustom. Remove function. Adapt calls.
3816
3817 2013-02-28 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
3818
3819 Initial support for hunspell dictionaries auto-detection (Bug#13639)
3820
3821 * textmodes/ispell.el (ispell-find-hunspell-dictionaries):
3822 Ask hunspell about available and default dictionaries.
3823 (ispell-parse-hunspell-affix-file): Extract relevant info from
3824 hunspell affix file.
3825 (ispell-hunspell-fill-dictionary-entry): Fill non-initialized
3826 `ispell-dictionary-alist' entry for given dictionary after info
3827 provided by `ispell-parse-hunspell-affix-file'.
3828 (ispell-hunspell-dict-paths-alist): New defvar to contain an alist
3829 of parsed hunspell dicts and associated affix files.
3830 (ispell-hunspell-dictionary-alist): New defvar to contain an alist
3831 of parsed hunspell dicts and associated parameters.
3832 (ispell-set-spellchecker-params):
3833 Call `ispell-find-hunspell-dictionaries' if hunspell and not
3834 previously done.
3835 (ispell-start-process):
3836 Call `ispell-hunspell-fill-dictionary-entry' for current
3837 dictionary if it is not initialized.
3838
3839 2013-02-28 Stefan Monnier <monnier@iro.umontreal.ca>
3840
3841 * imenu.el: Comment nitpicks.
3842
3843 2013-02-28 Sam Steingold <sds@gnu.org>
3844
3845 * vc/diff-mode.el (diff-hunk-file-names): Handle filenames with spaces.
3846 See <http://stackoverflow.com/questions/14720205>.
3847
3848 2013-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3849
3850 * net/net-utils.el (net-utils--revert-function): New fun (bug#13831).
3851 (net-utils-mode): Use it.
3852 (net-utils--revert-cmd): New var.
3853 (net-utils-run-simple): Set it, and remove bogus interactive spec.
3854 (traceroute): Use net-utils-run-simple.
3855
3856 2013-02-28 Glenn Morris <rgm@gnu.org>
3857
3858 * textmodes/paragraphs.el (mark-paragraph): Doc fix.
3859
3860 2013-02-28 Stefan Monnier <monnier@iro.umontreal.ca>
3861
3862 * doc-view.el: Preserve h&v scroll across C-c C-c C-c C-c.
3863 (doc-view-fallback-mode): Remove overlays here.
3864 (doc-view-toggle-display): Instead of here. Don't throw away
3865 image-mode-winprops-alist.
3866 (doc-view-goto-page): Don't mess with hscroll.
3867
3868 2013-02-27 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3869
3870 * font-lock.el (lisp-font-lock-keywords-2): Fix highlighting of
3871 &optional (bug#13819).
3872
3873 2013-02-27 Michael Albinus <michael.albinus@gmx.de>
3874
3875 * net/tramp-adb.el (tramp-adb-parse-device-names)
3876 (tramp-adb-maybe-open-connection): Add timeouts. (Bug#13299)
3877
3878 2013-02-26 Michael Albinus <michael.albinus@gmx.de>
3879
3880 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
3881 Add "2>/dev/null" to the ls command, in case "en_US.utf8" is not
3882 defined. POSIX environments fall back to the "C" locale then and
3883 emit a warning, which shall be suppressed.
3884
3885 2013-02-26 Stefan Monnier <monnier@iro.umontreal.ca>
3886
3887 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): Tweak logic.
3888 (easy-mmode-set-keymap-parents): Use make-composed-keymap.
3889
3890 2013-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
3891
3892 * emacs-lisp/bytecomp.el (byte-compile-file): Use let.
3893
3894 2013-02-25 Juri Linkov <juri@jurta.org>
3895
3896 * replace.el (read-regexp): Let-bind `default' to the first
3897 element of `defaults' if it's a list, otherwise it should be
3898 a string or nil. Let-bind `suggestions' to `defaults' if it's
3899 a list, otherwise make a list with the string value. Doc fix.
3900 (Bug#13805)
3901
3902 2013-02-25 Eli Zaretskii <eliz@gnu.org>
3903
3904 * emacs-lisp/bytecomp.el (byte-recompile-directory): Reject files
3905 that match "\`\.#", to avoid compiling lock files, even if they
3906 are readable (as they are on MS-Windows).
3907
3908 2013-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
3909
3910 * files.el (basic-save-buffer): Remove redundant directory-creation.
3911
3912 2013-02-24 Jay Belanger <jay.p.belanger@gmail.com>
3913
3914 * calc/calc-ext.el (math-to-radians-2, math-from-radians-2):
3915 Add option to force `pi' to remain symbolic.
3916 * calc/calcalg2.el (calcFunc-sin, calcFunc-cos, calcFunc-tan)
3917 (calcFunc-cot, calcFunc-csc, calcFunc-sec, calcFunc-arcsin)
3918 (calcFunc-arccos, calcFunc-arctan): Use symbolic `pi' in the
3919 derivatives, when necessary.
3920
3921 2013-02-23 Peter Kleiweg <p.c.j.kleiweg@rug.nl>
3922
3923 * progmodes/ps-mode.el (ps-mode-version): Bump to 1.1i.
3924 (ps-mode-octal-region): Use string-make-unibyte.
3925
3926 2013-02-23 Glenn Morris <rgm@gnu.org>
3927
3928 * emulation/viper-cmd.el (viper-submit-report):
3929 * progmodes/ps-mode.el (ps-mode-maintainer-address):
3930 * progmodes/vera-mode.el (vera-mode-help-address):
3931 * textmodes/artist.el (artist-maintainer-address):
3932 * textmodes/reftex.el (reftex-report-bug):
3933 * vc/ediff-util.el (ediff-submit-report):
3934 Add bug-gnu-emacs to bug report address.
3935
3936 * progmodes/simula.el (simula-mode-menu, simula-mode-map):
3937 Remove bug report entries.
3938 (simula-mode-help-address, simula-submit-bug-report): Make obsolete.
3939
3940 * emacs-lisp/bytecomp.el (byte-compile-level): New.
3941 (byte-compile-file, byte-compile-from-buffer):
3942 Use separate input/output buffers for each level of recursive
3943 byte-compile-file calls. (Bug#13787)
3944
3945 2013-02-23 Michael Albinus <michael.albinus@gmx.de>
3946
3947 * net/tramp.el (tramp-methods): Fix docstring.
3948 (tramp-ssh-controlmaster-options): Rename it from
3949 `tramp-ssh-controlmaster-template'. Return a string.
3950 (tramp-default-method): Adapt check for
3951 `tramp-ssh-controlmaster-options'.
3952
3953 * net/tramp-sh.el (tramp-methods):
3954 Replace `tramp-ssh-controlmaster-template' by "%c".
3955 (tramp-do-copy-or-rename-file-out-of-band)
3956 (tramp-maybe-open-connection): Use it in format spec. Ensure,
3957 that it is applied for the first hop only.
3958
3959 2013-02-22 Juri Linkov <juri@jurta.org>
3960
3961 * isearch.el (isearch-lazy-highlight-new-loop):
3962 Set `isearch-lazy-highlight-start' and `isearch-lazy-highlight-end'
3963 to `isearch-other-end' if it is not nil. (Bug#13402)
3964
3965 * replace.el (replace-highlight): Let-bind `isearch-other-end'
3966 to `match-beg'.
3967
3968 * textmodes/ispell.el (ispell-highlight-spelling-error-overlay):
3969 Let-bind `isearch-other-end' to `start', `isearch-forward' to t
3970 and `isearch-error' to nil.
3971
3972 2013-03-16 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
3973
3974 * progmodes/python.el (python-info-current-defun):
3975 Enhance match-data cluttering prevention.
3976
3977 2013-02-22 Michael Albinus <michael.albinus@gmx.de>
3978
3979 * net/tramp.el (tramp-tramp-file-p): Fix docstring.
3980
3981 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
3982 Handle multibyte file names.
3983
3984 2013-02-22 Glenn Morris <rgm@gnu.org>
3985
3986 * textmodes/sgml-mode.el (sgml-xml-mode): Move before use.
3987 (sgml-transformation-function): Give it a :set function.
3988 (sgml-tag): Doc fix.
3989
3990 * cmuscheme.el (scheme-buffer):
3991 * progmodes/inf-lisp.el (inferior-lisp-buffer):
3992 * progmodes/tcl.el (inferior-tcl-buffer):
3993 * textmodes/tex-mode.el (tex-command): Doc fixes.
3994
3995 * image-mode.el (image-mode): Add mouse bindings for mode-line-process.
3996
3997 * htmlfontify.el (hfy-default-header): Encode title string. (Bug#7457)
3998
3999 2013-02-21 Bastien Guerry <bzg@gnu.org>
4000
4001 * cmuscheme.el (scheme-buffer): Fix docstring. (Bug#13778)
4002
4003 2013-02-21 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
4004
4005 * progmodes/python.el (python-info-current-defun):
4006 Enhance match-data cluttering prevention.
4007
4008 2013-02-21 Glenn Morris <rgm@gnu.org>
4009
4010 * net/tramp.el (tramp-get-debug-buffer): Ensure outline.el is not
4011 loaded while outline-regexp is let bound. (Bug#9584)
4012
4013 2013-02-21 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
4014
4015 * progmodes/python.el (python-info-current-defun): Fix failed
4016 defun name retrieval because of unwanted match-data cluttering.
4017
4018 2013-02-21 Michael Albinus <michael.albinus@gmx.de>
4019
4020 * net/tramp.el (tramp-ssh-controlmaster-template): Make it a
4021 defconst. Apply independent check for ControlPersist.
4022
4023 * net/tramp-sh.el (tramp-sh-handle-set-file-times): Set $UTC only
4024 temporarily, via "env".
4025
4026 2013-02-21 Glenn Morris <rgm@gnu.org>
4027
4028 * info.el (Info-enable-edit): Remove.
4029 (Info-edit): Disable it rather than using Info-enable.
4030 (Info-edit-mode-hook, Info-edit-map, Info-edit-mode, Info-edit)
4031 (Info-cease-edit): Make editing of Info files obsolete.
4032
4033 * informat.el (Info-tagify):
4034 Handle buffers not visiting files. (Bug#13763)
4035
4036 2013-02-21 Juanma Barranquero <lekktu@gmail.com>
4037
4038 * calc/calc-graph.el (calc-graph-show-dumb): Fix typo.
4039
4040 2013-02-21 Glenn Morris <rgm@gnu.org>
4041
4042 * files.el (basic-save-buffer): Move check for existing parent
4043 directory after hooks. (Bug#13773)
4044
4045 2013-02-20 Stefan Monnier <monnier@iro.umontreal.ca>
4046
4047 * simple.el (command-execute): Move from C. Add obsolete check.
4048 (extended-command-history): Move from C.
4049
4050 2013-02-20 Ulrich MĂ¼ller <ulm@gentoo.org>
4051
4052 * jka-cmpr-hook.el (jka-compr-compression-info-list)
4053 (jka-compr-mode-alist-additions): Handle .txz suffix for
4054 XZ-compressed tar archives (bug#13770).
4055
4056 2013-02-20 Bastien Guerry <bzg@gnu.org>
4057
4058 * outline.el (outline-regexp, outline-heading-end-regexp):
4059 Make variables, not options (bug#13731).
4060
4061 2013-02-20 Glenn Morris <rgm@gnu.org>
4062
4063 * image.el (image-current-frame): Change from variable to function.
4064 (image-show-frame): Rename from image-nth-frame. Update callers.
4065 * image-mode.el (image-multi-frame): New variable.
4066 (image-mode-map, image-mode, image-goto-frame):
4067 Use image-multi-frame rather than image-current-frame.
4068 (image-mode, image-goto-frame): Use image-current-frame as
4069 function rather than as variable.
4070
4071 * emacs-lisp/cl-lib.el (cl-floatp-safe): Make it an alias for floatp.
4072 * emacs-lisp/cl-macs.el (cl--make-type-test)
4073 (cl--compiler-macro-assoc): Use floatp rather than cl-floatp-safe.
4074
4075 2013-02-19 Michael Albinus <michael.albinus@gmx.de>
4076
4077 * net/tramp-cache.el (tramp-get-hash-table): New defun.
4078 (tramp-get-file-property, tramp-set-file-property)
4079 (tramp-get-connection-property, tramp-set-connection-property): Use it.
4080 (tramp-flush-file-property, tramp-flush-directory-property):
4081 Rename argument to KEY.
4082 (tramp-flush-connection-property): Simplify a little bit.
4083 (tramp-connection-property-p): New defun.
4084 (top): Reapply saved values only if there isn't a corresponding
4085 entry in `tramp-connection-properties'.
4086
4087 2013-02-19 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
4088
4089 * progmodes/python.el (python-indent-context):
4090 Fix python-info-line-ends-backslash-p call.
4091 (python-info-line-ends-backslash-p)
4092 (python-info-beginning-of-backslash): Respect line-number argument.
4093 (python-info-current-line-comment-p):
4094 Fix behavior when not at beginning-of-line.
4095 (python-util-position): Remove function.
4096 (python-util-goto-line): New function.
4097
4098 2013-02-19 Michael Albinus <michael.albinus@gmx.de>
4099
4100 * eshell/em-unix.el (eshell/su): Require tramp.
4101 (eshell/sudo): Require tramp. Remove now unnecessary check.
4102
4103 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Let-bind
4104 `tramp-current-connection' in order to avoid an error when several
4105 commands are invoked in a short time in eshell and friends.
4106
4107 2013-02-19 Stefan Monnier <monnier@iro.umontreal.ca>
4108
4109 Cleanup some of EIEIO's namespace.
4110 * emacs-lisp/eieio.el (eieio--define-field-accessors): New macro.
4111 Use it to define all the class-* and object-* field accessors (renamed
4112 to eieio--class-* and eieio--object-*). Update all uses.
4113 (eieio--class-num-slots, eieio--object-num-slots): Rename from
4114 class-num-slots and object-num-slots.
4115 (eieio--check-type): New macro.
4116 (eieio-defclass, eieio-oref, eieio-oref-default, same-class-p)
4117 (object-of-class-p, child-of-class-p, object-slots, class-slot-initarg)
4118 (eieio-oset, eieio-oset-default, object-assoc, object-assoc-list)
4119 (object-assoc-list-safe): Use it.
4120 (eieio-defclass): Tighten regexp.
4121 (eieio--defmethod): Use `memq'. Signal an error for unknown method kind.
4122 Remove unreachable code.
4123 (object-class-fast): Declare obsolete.
4124 (eieio-class-name, eieio-object-name, eieio-object-set-name-string)
4125 (eieio-object-class, eieio-object-class-name, eieio-class-parents)
4126 (eieio-class-children, eieio-class-precedence-list, eieio-class-parent):
4127 Rename from class-name, object-name, object-set-name-string,
4128 object-class, object-class-name, class-parents, class-children,
4129 class-precedence-list, class-parent; with obsolete alias.
4130 (class-of, class-direct-superclasses, class-direct-subclasses):
4131 Declare obsolete.
4132 (eieio-defmethod): Use `memq'; remove unreachable code.
4133 * emacs-lisp/eieio-base.el (eieio-persistent-read):
4134 * emacs-lisp/eieio-opt.el (eieio-class-button, eieio-describe-generic)
4135 (eieio-browse-tree, eieio-browse): Use eieio--check-type.
4136
4137 2013-02-18 Aidan Gauland <aidalgol@no8wireless.co.nz>
4138
4139 * eshell/em-cmpl.el: Correct "context-related help" keybinding in
4140 commentary.
4141
4142 2013-02-18 Michael Heerdegen <michael_heerdegen@web.de>
4143
4144 * emacs-lisp/eldoc.el (eldoc-highlight-function-argument):
4145 Use font-lock-keyword-face for macros and special forms (bug#8345).
4146
4147 2013-02-17 Didier Verna <didier@didierverna.net>
4148
4149 * net/network-stream.el (network-stream-open-starttls):
4150 Check that response to the starttls-command is non-nil. (Bug#13706)
4151
4152 2013-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
4153
4154 * font-lock.el (lisp-font-lock-keywords-1, lisp-font-lock-keywords-2):
4155 Don't assume all identifier chars have syntax word.
4156 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
4157 Remove bar-not-symbol. Adjust callers.
4158 (lisp-mode-variables): Don't set a font-lock-syntax-table.
4159
4160 2013-02-17 Leo Liu <sdl.web@gmail.com>
4161
4162 * net/rcirc.el (rcirc-keepalive): Fix invalid timer error.
4163
4164 2013-02-17 Glenn Morris <rgm@gnu.org>
4165
4166 * menu-bar.el (menu-bar-tools-menu): Fix case of EDE entry.
4167
4168 * image-mode.el (image-mode-map): Add image-dired menu entry.
4169
4170 * image-dired.el (tumme): Make this alias obsolete.
4171
4172 2013-02-16 Glenn Morris <rgm@gnu.org>
4173
4174 * image.el (image-animated-types): Remove.
4175 (image-multi-frame-p): Rename from image-animated-p, and generalize.
4176 (image-animated-p): Make obsolete alias.
4177 (image-animate, image-nth-frame, image-animate-timeout):
4178 Use image-multi-frame-p.
4179 (image-animate-timeout): If no delay, use image-default-frame-delay.
4180 * image-mode.el (image-mode, image-toggle-animation):
4181 Use image-multi-frame-p. (Bug#763, bug#10739)
4182 (image-mode): Adjust startup message for a multi-frame image.
4183
4184 * image-mode.el (image-mode-map): Give it a menu.
4185
4186 2013-02-16 Michael Albinus <michael.albinus@gmx.de>
4187
4188 * net/tramp-cache.el (tramp-connection-properties): New customer
4189 option.
4190 (tramp-get-connection-property): Use it.
4191
4192 * net/tramp-compat.el (top): Require 'trampver.
4193
4194 * net/tramp-sh.el (tramp-remote-process-environment):
4195 Set tramp-autoload cookie.
4196
4197 2013-02-16 Kevin Ryde <user42@zip.com.au>
4198
4199 * info-look.el (info-lookup-select-mode): If major-mode has no
4200 info-lookup-alist entry then search up derived-mode-parent (bug#8660).
4201
4202 2013-02-16 Jambunathan K <kjambunathan@gmail.com>
4203
4204 * replace.el (read-regexp): Tighten the regexp that matches tag.
4205 When tag is retrieved with `find-tag-default', use regexp that
4206 matches tag at point. Also update docstring (Bug#13687).
4207
4208 2013-02-16 Eli Zaretskii <eliz@gnu.org>
4209
4210 * autorevert.el (auto-revert-notify-add-watch): With 'w32notify',
4211 add watch for the file, not its parent directory, since w32notify
4212 sets up the watch for the directory internally. (Bug#13725)
4213
4214 2013-02-16 Glenn Morris <rgm@gnu.org>
4215
4216 * image.el (image-default-frame-delay): New variable.
4217 (image-animated-p): Use image-default-frame-delay.
4218 (image-minimum-frame-delay): New constant.
4219 (image-animate-timeout): Use image-minimum-frame-delay.
4220
4221 * image.el (image-nth-frame): New, split from image-animate-timeout.
4222 (image-animate-timeout): Use image-nth-frame.
4223 * image-mode.el (image-goto-frame, image-next-frame)
4224 (image-previous-frame): New commands.
4225 (image-mode-map): Add new frame commands.
4226
4227 2013-02-16 Jonas Bernoulli <jonas@bernoul.li>
4228
4229 * emacs-lisp/tabulated-list.el (tabulated-list-print-col):
4230 If col-desc already has help-echo, use it. (Bug#13563)
4231
4232 2013-02-16 Glenn Morris <rgm@gnu.org>
4233
4234 * image.el (image-current-frame): New variable.
4235 (image-animate-timeout): Set image-current-frame.
4236 * image-mode.el (image-mode): For animated images,
4237 display a frame counter via mode-line-process.
4238
4239 * font-lock.el (lisp-font-lock-keywords-1): Add defvar-local.
4240
4241 2013-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
4242
4243 * simple.el (eval-expression): Let `exp' set the mark (bug#13724).
4244
4245 2013-02-15 Alan Mackenzie <acm@muc.de>
4246
4247 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): When a
4248 global minor mode has been enabled, call the minor mode function
4249 for a new buffer once only, after the major mode hook, whilst
4250 allowing that hook explicitly to disable the minor mode.
4251 (MODE-disable-in-buffer): New (generated) function.
4252 (disable-MODE): New (generated) buffer local variable.
4253
4254 2013-02-15 Jambunathan K <kjambunathan@gmail.com>
4255
4256 * iswitchb.el (iswitchb-read-buffer): Bind `C-.' and `C-,' to
4257 `iswitchb-next-match' and `iswitchb-prev-match' resply.
4258 * ido.el (ido-init-completion-maps): Bind `C-.' and `C-,' to
4259 `ido-next-match' and `ido-prev-match' resply.
4260 * icomplete.el (icomplete-minibuffer-map): Unbind `C-s' and `C-r'.
4261 Bind `C-.' and `C-,' to `icomplete-forward-completions' and
4262 `icomplete-backward-completions' (Bug#13708).
4263
4264 2013-02-15 Glenn Morris <rgm@gnu.org>
4265
4266 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
4267
4268 2013-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
4269
4270 * net/goto-addr.el (goto-address-fontify): Add start and end args.
4271 (goto-address-fontify-region): Use them instead of narrowing, so
4272 syntax-ppss has access to the whole buffer.
4273
4274 2013-02-15 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
4275
4276 * progmodes/python.el: Explain how to restore "cc-mode"-like
4277 forward-sexp movement in header documentation (Bug#13642).
4278 (python-nav--forward-sexp): Behave like emacs-lisp-mode in
4279 comments and strings (GH bug 114).
4280
4281 2013-02-15 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
4282
4283 * progmodes/python.el (python-info-current-defun): Fix current
4284 defun detection (Bug#13618).
4285
4286 2013-02-15 Chong Yidong <cyd@gnu.org>
4287
4288 * xml.el (xml-parse-string): Fix typo in handling of bad character
4289 references.
4290
4291 2013-02-15 Glenn Morris <rgm@gnu.org>
4292
4293 * play/fortune.el (fortune-compile): Simplify and fix previous change.
4294
4295 2013-02-14 Michael Albinus <michael.albinus@gmx.de>
4296
4297 * net/tramp.el (tramp-debug-message):
4298 Add `tramp-condition-case-unless-debug'.
4299 (tramp-debug-on-error): New defvar.
4300 (tramp-condition-case-unless-debug): New defun.
4301 (tramp-file-name-handler): Use it.
4302
4303 2013-02-14 Juri Linkov <juri@jurta.org>
4304
4305 * info.el (Info-isearch-filter): Treat non-nil values of
4306 `search-invisible' including its default value `open'
4307 like the value `t' to match hidden text. (Bug#13402)
4308
4309 2013-02-14 Glenn Morris <rgm@gnu.org>
4310
4311 * help-fns.el (find-lisp-object-file-name): Give special treatment
4312 to all ~/.foo.elc files, not just ~/.emacs. (Bug#9007)
4313
4314 2013-02-14 David Biesack <sasdjb@d72933.na.sas.com> (tiny change)
4315
4316 * net/quickurl.el (quickurl-save-urls):
4317 Ensure quickurl-urls is not truncated on printing. (Bug#9276)
4318
4319 2013-02-14 Dmitry Gutov <dgutov@yandex.ru>
4320
4321 * progmodes/ruby-mode.el (ruby-parse-partial): Don't increase
4322 depth for unfinished percent literal. Not using it in the caller.
4323 (ruby-move-to-block): Jump over multiline literals of all types,
4324 ignoring code-looking contents inside them.
4325 (ruby-add-log-current-method): Improve performance at the expense
4326 of accuracy. `ruby-block-contains-point' is relatively slow, so
4327 only use it for method and singleton class blocks.
4328
4329 2013-02-13 Michael Albinus <michael.albinus@gmx.de>
4330
4331 Use ControlMaster where applicable. (Bug#13677)
4332
4333 * net/tramp.el (tramp-ssh-controlmaster-template): New defvar,
4334 replacing `tramp-detect-ssh-controlmaster'.
4335 (tramp-default-method): Use it.
4336
4337 * net/tramp-sh.el (tramp-methods) [scp, scp1, scp2, scpx, sftp]:
4338 [rsync, ssh, ssh1, ssh2, sshx]: Add ControlPath and ControlMaster
4339 arguments.
4340 [scpc, rsyncc]: Remove methods.
4341 (top): Remove completion functions for "scpc", "rsyncc", "ssh1_old"
4342 and "ssh2_old".
4343 (tramp-do-copy-or-rename-file-out-of-band): Change trace level.
4344 (tramp-maybe-open-connection): Reuse tmpfile for ControlPath.
4345
4346 2013-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
4347
4348 * emacs-lisp/package.el (package--initialized): Move before first use.
4349
4350 2013-02-13 Jambunathan K <kjambunathan@gmail.com>
4351
4352 * icomplete.el (icomplete-hide-common-prefix): New user option.
4353 (icomplete-first-match): New face.
4354 (icomplete-completions): Correct handling of "complete but not
4355 unique" (Bug#12638).
4356
4357 2013-02-13 YE Qianchuan <stool.ye@gmail.com> (tiny change)
4358
4359 * descr-text.el (describe-char): Display the script (bug#13698).
4360
4361 2013-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
4362
4363 * tmm.el: Use lexical-binding and current-active-maps.
4364 (tmm-menubar): Use map-keymap and pcase.
4365 (tmm--completion-table): New function.
4366 (tmm-prompt): Use it to fix the menu order.
4367 (tmm-get-keybind): Use current-active-maps.
4368
4369 2013-02-12 Christopher Schmidt <christopher@ch.ristopher.com>
4370
4371 Add dired-hide-details-mode. (Bug#6799)
4372
4373 * locate.el (locate-mode): Set parent mode property to dired-mode.
4374
4375 * find-dired.el (find-dired): Call dired-insert-set-properties on
4376 initial information line. Set process mark on end of buffer.
4377 (find-dired-sentinel):
4378 Call dired-insert-set-properties on summary.
4379
4380 * dired.el (dired-hide-details-hide-symlink-targets)
4381 (dired-hide-details-hide-information-lines): New options.
4382 (dired-insert-directory):
4383 Set properties after final treatment of output.
4384 (dired-insert-set-properties):
4385 Set dired-hide-details-* properties.
4386 (dired-mode-map): Bind dired-hide-details-mode.
4387 (dired-mode): Set buffer-invisibility-spec to a list.
4388 (dired-next-line): Skip hidden lines.
4389 (dired-previous-line): Use dired-next-line.
4390 (dired-hide-details-mode): New minor mode.
4391 (dired-hide-details-update-invisibility-spec): New function.
4392
4393 2013-02-13 Glenn Morris <rgm@gnu.org>
4394
4395 * play/yow.el: Move to obsolete/. (Bug#9384)
4396
4397 2013-02-13 Juri Linkov <juri@jurta.org>
4398
4399 * vc/ediff-util.el (ediff-recenter): Use `select-frame-set-input-focus'
4400 to select `ediff-control-frame' and set input focus correctly on Xfce.
4401 (Bug#12218)
4402
4403 2013-02-13 Juri Linkov <juri@jurta.org>
4404
4405 * image-mode.el (image-mode-map):
4406 * doc-view.el (doc-view-mode-map):
4407 * vc/ediff-util.el (ediff-setup-keymap):
4408 Make S-SPC scroll in the opposite sense to SPC. (Bug#2145)
4409
4410 2013-02-13 Dmitry Gutov <dgutov@yandex.ru>
4411
4412 * progmodes/ruby-mode.el (ruby-move-to-block): Improve
4413 performance. Instead of recalculating indentation fully for each
4414 line, sum up indentation depth based only on visited lines.
4415 (ruby-parse-partial): Increase the depth after "do" even when END
4416 is right after it.
4417 (ruby-parse-partial): When END is in the middle of a percent
4418 literal, increase the depth if the delimiter chars belong to the
4419 paren syntax class.
4420
4421 2013-02-13 Kirill A. Korinskiy <catap@catap.ru>
4422
4423 * play/fortune.el (fortune-compile): Also make the compiled file
4424 if it does not exist at all, not just if it is old. (Bug#5338)
4425
4426 2013-02-13 Glenn Morris <rgm@gnu.org>
4427
4428 * emacs-lisp/package.el (package-menu-execute): Doc fix.
4429
4430 2013-02-13 Yves Baumes <ybaumes@gmail.com> (tiny change)
4431
4432 * lisp/emacs-lisp/package.el (package-menu-execute):
4433 Add optional noquery argument. (Bug#13625)
4434
4435 2013-02-13 Michael Albinus <michael.albinus@gmx.de>
4436
4437 * net/ange-ftp.el (ange-ftp-make-directory): Don't raise an error,
4438 if DIR exists and PARENTS is non-nil.
4439
4440 2013-02-13 Juanma Barranquero <lekktu@gmail.com>
4441
4442 * progmodes/js.el (js--multi-line-declaration-indentation):
4443 Silence byte-compiler warning.
4444
4445 2013-02-12 Michael Albinus <michael.albinus@gmx.de>
4446
4447 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Rewrite.
4448
4449 * net/tramp-compat.el (top): Declare `remote-file-name-inhibit-cache'
4450 only if it doesn't exist.
4451
4452 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
4453 Set process marker.
4454
4455 2013-02-12 Tassilo Horn <tsdh@gnu.org>
4456
4457 * doc-view.el (doc-view-odf->pdf-converter-soffice): Use separate
4458 UserInstallation when calling soffice to work around LibreOffice
4459 bug 37531.
4460
4461 2013-02-12 Glenn Morris <rgm@gnu.org>
4462
4463 * files.el (basic-save-buffer):
4464 Offer to create a non-existing directory. (Bug#3016)
4465
4466 * calc/calc-graph.el (calc-graph-show-dumb):
4467 * calendar/calendar.el (calendar-mode-map):
4468 * cus-edit.el (custom-mode-map):
4469 * ehelp.el (electric-help-map):
4470 * emulation/vip.el (vip-mode-map):
4471 * epa.el (epa-key-list-mode-map):
4472 * info.el (Info-mode-map):
4473 * mail/rmail.el (rmail-mode-map):
4474 * mail/rmailsum.el (rmail-summary-mode-map):
4475 * man.el (Man-mode-map):
4476 * net/newst-plainview.el (newsticker-mode-map):
4477 * progmodes/cpp.el (cpp-edit-mode-map):
4478 * progmodes/grep.el (grep-mode-map):
4479 * progmodes/idlw-help.el (idlwave-help-mode-map):
4480 * simple.el (special-mode-map):
4481 * startup.el (splash-screen-keymap):
4482 * view.el (view-mode-map):
4483 Make S-SPC scroll in the opposite sense to SPC. (Bug#2145)
4484
4485 2013-02-11 Elias Pipping <pipping@lavabit.com>
4486
4487 * doc-view.el (doc-view-current-cache-dir): Beware % escapes
4488 (bug#13679).
4489
4490 2013-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
4491
4492 * cus-start.el (all): Remove inhibit-local-menu-bar-menus.
4493
4494 2013-02-11 Glenn Morris <rgm@gnu.org>
4495
4496 * vc/diff.el (diff-use-labels): New variable.
4497 (diff-no-select): Use --label rather than -L, and first
4498 check that it is supported. (Bug#11067)
4499
4500 * files.el (enable-dir-local-variables): New variable.
4501 (hack-dir-local-variables): Respect enable-dir-local-variables.
4502 * tutorial.el (help-with-tutorial):
4503 Ignore directory-local variables. (Bug#11127)
4504
4505 * vc/vc-svn.el (vc-svn-command): Move --non-interactive from here...
4506 (vc-svn-global-switches): ... to here. (Bug#13513)
4507
4508 2013-02-10 Christopher Schmidt <christopher@ch.ristopher.com>
4509
4510 * minibuf-eldef.el (minibuffer-default--in-prompt-regexps):
4511 Handle "foo (bar, default: xxx): " prompts.
4512
4513 2013-02-10 Chong Yidong <cyd@gnu.org>
4514
4515 * files.el (basic-save-buffer-1): Do not set
4516 buffer-file-coding-system-explicit (Bug#4533).
4517
4518 * mail/emacsbug.el (report-emacs-bug): Change binding of
4519 report-emacs-bug-insert-to-mailer to C-c M-i (Bug#13510).
4520
4521 2013-02-09 Jay Belanger <jay.p.belanger@gmail.com>
4522
4523 * calc/calc.el (calc-allow-units-as-numbers): New variable.
4524 * calc/calc-units.el (calc-convert-units): Use new variable.
4525
4526 2013-02-09 Eli Zaretskii <eliz@gnu.org>
4527
4528 * subr.el (buffer-file-type, default-buffer-file-type): Remove.
4529
4530 * net/ange-ftp.el (ange-ftp-insert-file-contents): Don't reference
4531 buffer-file-type.
4532
4533 * mail/feedmail.el (feedmail-force-binary-write): Doc fix.
4534 (feedmail-run-the-queue, feedmail-dump-message-to-queue)
4535 (feedmail-send-it-immediately): Don't bind buffer-file-type, bind
4536 coding-system-for-write instead.
4537
4538 * jka-compr.el (jka-compr-write-region): Don't bind
4539 buffer-file-type.
4540
4541 * emacs-lisp/bytecomp.el (byte-compile-file): Don't bind
4542 buffer-file-type.
4543
4544 * files.el (file-name-buffer-file-type-alist): Remove defvar.
4545 (insert-file-contents-literally): Remove reference to
4546 file-name-buffer-file-type-alist.
4547
4548 * dos-w32.el (file-name-buffer-file-type-alist): Deprecate and
4549 make-obsolete.
4550 (find-buffer-file-type-match, find-buffer-file-type): Remove.
4551 (find-buffer-file-type-coding-system): Remove references to
4552 find-buffer-file-type-match, find-buffer-file-type, and
4553 buffer-file-type.
4554 Don't put find-buffer-file-type-coding-system into
4555 file-coding-system-alist.
4556 (find-file-binary, find-file-text): Bind coding-system-for-read
4557 instead of file-name-buffer-file-type-alist.
4558
4559 2013-02-09 Jambunathan K <kjambunathan@gmail.com>
4560
4561 * doc-view.el: Use (and prefer) soffice as default ODF->PDF
4562 converter (Bug#13622).
4563 (doc-view-unoconv-program): Make obsolete alias.
4564 (doc-view-odf->pdf-converter-program): New variable.
4565 (doc-view-odf->pdf-converter-function): New variable.
4566 (doc-view-mode-p): Use it.
4567 (doc-view-odf->pdf-converter-unoconv):
4568 Rename from `doc-view-odf->pdf-converter-unoconv'.
4569 (doc-view-odf->pdf-converter-soffice): New function.
4570 (doc-view-convert-current-doc):
4571 Use `doc-view-odf->pdf-converter-function'.
4572
4573 2013-02-09 Chong Yidong <cyd@gnu.org>
4574
4575 * minibuffer.el (minibuffer-inactive-mode-map): Bind mouse-1 to
4576 view-echo-area-messages (Bug#13340).
4577
4578 * help.el (view-echo-area-messages): Use display-buffer.
4579
4580 * dired-x.el (dired-do-run-mail): Prompt for confirmation
4581 (Bug#13561).
4582
4583 2013-02-08 Stefan Monnier <monnier@iro.umontreal.ca>
4584
4585 * emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):
4586 Eval body right away, now that we do eager macroexpansion (bug#13605).
4587
4588 * simple.el (end-of-buffer): Don't touch unrelated windows (bug#13466).
4589 (fundamental-mode): Use run-mode-hooks.
4590
4591 * eshell/esh-proc.el (eshell/kill): Fix last change.
4592 * eshell/em-ls.el (eshell-ls-dir): Fix use of CL in last change.
4593
4594 2013-02-08 Aidan Gauland <aidalgol@no8wireless.co.nz>
4595
4596 * eshell/esh-proc.el (eshell/kill): Rewrite.
4597
4598 * eshell/em-ls.el (show-almost-all): Declare.
4599 (eshell-do-ls): Add support for -A argument.
4600
4601 2013-02-08 Jambunathan K <kjambunathan@gmail.com>
4602
4603 * icomplete.el (icomplete-forward-completions)
4604 (icomplete-backward-completions): Handle corner case (bug#13602).
4605
4606 2013-02-07 Michael Albinus <michael.albinus@gmx.de>
4607
4608 * vc/vc-hooks.el (vc-find-file-hook): `buffer-file-truename' can
4609 be nil. Handle this. (Bug#13636)
4610
4611 2013-02-07 Richard Stallman <rms@gnu.org>
4612
4613 * mail/rmail.el (rmail-variables): Specify `no-conversion' for
4614 `save-buffer-coding-system'.
4615
4616 2013-02-07 Alan Mackenzie <acm@muc.de>
4617
4618 Fix bug in state cache mechanism. Remove 'BOD "strategy". Refactor.
4619 * progmodes/cc-engine.el (c-get-fallback-scan-pos): Remove.
4620 (c-parse-state-get-strategy): Don't return 'BOD any more.
4621 (c-append-lower-brace-pair-to-state-cache):
4622 Extra parameter HERE instead of narrowing.
4623 Widen to top of buffer before searching backwards for a brace pair.
4624 (c-state-push-any-brace-pair): Add HERE parameter to function call.
4625 (c-append-to-state-cache): Extra parameter HERE in place of narrowing.
4626 Narrow to parameter HERE, in place of being called narrowed.
4627 (c-remove-stale-state-cache): Extra parameter HERE in place of
4628 narrowing. Check there's an open brace in the cache before
4629 searching for its match.
4630 (c-invalidate-state-cache-1): Add HERE parameter to function call.
4631 (c-parse-state-1): Don't narrow here for 'forward strategy,
4632 instead passing extra parameter HERE to several functions.
4633 Remove 'BOD strategy.
4634
4635 2013-02-06 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
4636
4637 * emacs-lisp/package.el (describe-package-1): Tell what archive is
4638 used to install the package.
4639
4640 2013-02-06 Glenn Morris <rgm@gnu.org>
4641
4642 * vc/vc-hooks.el (vc-find-file-hook): Don't ask about following links
4643 if we can't get user input. (Bug#6567)
4644
4645 * startup.el (command-line): If simple.el is missing,
4646 test and warn about for some possible causes.
4647
4648 2013-02-05 Jan Djärv <jan.h.d@swipnet.se>
4649
4650 * cus-start.el (all): Add ns-use-native-fullscreen.
4651
4652 2013-02-05 Glenn Morris <rgm@gnu.org>
4653
4654 * profiler.el (profiler-report-mode-map): Add a restart menu entry.
4655
4656 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
4657 Fix directory creation in fallback case.
4658
4659 2013-02-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4660
4661 * vc/vc.el (vc-next-action): Fix inf-loop (bug#13610).
4662 (vc-update-change-log): Use dolist.
4663
4664 2013-02-04 Chong Yidong <cyd@gnu.org>
4665
4666 * thingatpt.el: Rewrite the URL detection routines, absorbing some
4667 code from ffap.el.
4668 (thing-at-point-beginning-of-url-regexp): New var.
4669 (thing-at-point-uri-schemes): Update list of URI schemes.
4670 (thing-at-point-url-regexp): Variable deleted.
4671 (thing-at-point-markedup-url-regexp): Disallow newlines.
4672 (thing-at-point-newsgroup-regexp)
4673 (thing-at-point-newsgroup-heads)
4674 (thing-at-point-default-mail-uri-scheme): New variables.
4675 (thing-at-point-bounds-of-url-at-point): Rewrite. Use ffap's
4676 method to find the possible bounds of the URI at point.
4677 New optional argument to find ill-formed URIs.
4678 (thing-at-point-url-at-point): Rewrite. New arguments for finding
4679 ill-formed URIs. Use thing-at-point-bounds-of-url-at-point, and
4680 the scheme-adding heuristics from ffap-url-at-point.
4681 (thing-at-point--bounds-of-well-formed-url): New function.
4682 Do parens matching to decide whether to include parens in the URI
4683 (Bug#9153).
4684
4685 * ffap.el: Require thingatpt.
4686 (ffap-url-at-point): Delegate URI detection to thing-at-point.
4687 All URI-valid characters are now recognized (Bug#5673).
4688 (ffap-string-at-point): Use use-region-p.
4689 (ffap-url-regexp): Extra character is handled by thing-at-point.
4690 (ffap-string-at-point-mode-alist): Allow parentheses.
4691 (ffap-newsgroup-regexp, ffap-newsgroup-heads, ffap-newsgroup-p):
4692 Convert to aliases; code moved to thingatpt.el.
4693 (ffap-gnus-hook): Use setq-local.
4694
4695 2013-02-04 Glenn Morris <rgm@gnu.org>
4696
4697 * emacs-lisp/ert.el (ert--explain-format-atom):
4698 Don't try to print non-characters as characters. (Bug#13543)
4699
4700 2013-02-03 Michael Albinus <michael.albinus@gmx.de>
4701
4702 * net/tramp.el (tramp-debug-message): Extend function exclude list.
4703 (tramp-backtrace): New defun.
4704 (tramp-handle-insert-file-contents): Use `visit' when inserting
4705 the local copy.
4706
4707 * net/tramp-sh.el (tramp-sh-handle-set-visited-file-modtime):
4708 Use `remote-file-name-inhibit-cache'.
4709
4710 2013-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
4711
4712 * progmodes/cperl-mode.el (cperl-mode): Avoid byte-compile warning
4713 (bug#13614).
4714
4715 * subr.el (internal--called-interactively-p--get-frame): Avoid filling
4716 current-load-list (bug#13366).
4717
4718 2013-02-02 Christopher Schmidt <christopher@ch.ristopher.com>
4719
4720 * progmodes/compile.el (compilation-error-regexp-alist-alist):
4721 Identify g++ template instantiation trace. (Bug#12287)
4722 (compilation-mode-hook, compilation-start-hook)
4723 (compilation-window-height): Simplify docstrings. (Bug#13379)
4724
4725 2013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
4726
4727 * mouse.el (mouse-drag-track): Always deactivate the mark before
4728 running the final event's command since that command is in charge of
4729 activating the mark if needed (bug#13523).
4730
4731 2013-02-02 Juri Linkov <juri@jurta.org>
4732
4733 * replace.el (perform-replace): Move let-bindings of isearch-*
4734 variables deeper to the loop that searches for the next match.
4735 Add bindings for `isearch-nonincremental' and `isearch-adjusted'.
4736 Use `isearch-search-fun-default' instead of `isearch-search-fun'.
4737 (Bug#13579)
4738
4739 * isearch.el (isearch-search-fun-default): Check for null
4740 first element of isearch-cmds as a precaution when it's used
4741 with inactive isearch.
4742
4743 2013-02-02 Andrew W. Nosenko <andrew.w.nosenko@gmail.com> (tiny change)
4744
4745 * net/tramp.el (tramp-check-for-regexp): Avoid "Args out of range"
4746 error when buffer in question is narrowed so position 1 is out of
4747 visible part.
4748
4749 2013-02-02 Glenn Morris <rgm@gnu.org>
4750
4751 * textmodes/remember.el (remember-clipboard): Doc fix.
4752
4753 2013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
4754
4755 * progmodes/make-mode.el (makefile-fill-paragraph): Reset syntax-table
4756 properties (bug#13179).
4757
4758 2013-02-02 Juri Linkov <juri@jurta.org>
4759
4760 * progmodes/grep.el (grep-regexp-alist): Use variable grep-match-face
4761 instead of hard-coded default face `match'. (Bug#9438)
4762
4763 2013-02-01 Christopher Schmidt <christopher@ch.ristopher.com>
4764
4765 * vc/vc-arch.el (vc-arch-registered):
4766 * vc/vc-bzr.el (vc-bzr-registered):
4767 * vc/vc-cvs.el (vc-cvs-registered):
4768 * vc/vc-git.el (vc-git-registered):
4769 * vc/vc-hg.el (vc-hg-registered):
4770 * vc/vc-mtn.el (vc-mtn-registered):
4771 * vc/vc-svn.el (vc-svn-registered): Suppress load messages.
4772 (Bug#13139)
4773
4774 * info.el (Info-next-reference, Info-prev-reference): Add numeric
4775 prefix argument. (Bug#11656)
4776
4777 2013-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
4778
4779 * help-fns.el (help-split-fundoc): Don't insert byte-compiled body.
4780
4781 2013-02-01 Glenn Morris <rgm@gnu.org>
4782
4783 * vc/vc-hooks.el (vc-menu-map): Disable vc-rollback menu item
4784 if the backend is known not to support it.
4785
4786 * imenu.el (imenu-default-create-index-function):
4787 Tweak infinite loop test to check for forward motion as well as none.
4788
4789 2013-02-01 Alex Harsanyi <AlexHarsanyi@gmail.com>
4790
4791 * net/soap-client.el (soap-invoke): Encode the string for
4792 `url-request-data' as UTF-8.
4793 Fixes <http://code.google.com/p/emacs-soap-client/issues/detail?id=16>.
4794
4795 2013-02-01 Glenn Morris <rgm@gnu.org>
4796
4797 * calc/calc-help.el (calc-view-news): Use view-emacs-news.
4798
4799 * calc/README, calc/README.prev: Rename/merge to etc/CALC-NEWS.
4800
4801 2013-01-31 Michael Albinus <michael.albinus@gmx.de>
4802
4803 * net/tramp.el (tramp-tramp-file-p): Comment check for
4804 `string-as-unibyte'. The function does not exist on XEmacs, and
4805 likely we need another approach.
4806
4807 * net/tramp-sh.el (tramp-compute-multi-hops): Check, whether
4808 `tramp-gw-*' variables are bound.
4809
4810 2013-01-31 Glenn Morris <rgm@gnu.org>
4811
4812 * files.el (basic-save-buffer-2): Choose coding system for
4813 writing the file before backing it up, to reduce delay between
4814 backing up and writing the new version. (Bug#13522)
4815
4816 2013-01-31 Michal Nazarewicz <mina86@mina86.com>
4817
4818 * simple.el (cycle-spacing): New command.
4819 (just-one-space): Use it.
4820
4821 2013-01-31 Stefan Monnier <monnier@iro.umontreal.ca>
4822
4823 * progmodes/opascal.el: Rename from delphi.el. Use lexical-binding.
4824 (opascal-newline-always-indents): Remove custom.
4825 (opascal-tab, opascal-newline): Remove commands.
4826 (opascal-new-comment-line): Insert "\n" instead of calling newline.
4827 (opascal-mode-map): Keep default bindings for RET and TAB and DEL.
4828 (opascal-save-match-data): Remove, use save-match-data instead.
4829 (opascal-save-state): Use with-silent-modifications.
4830
4831 * progmodes/pascal.el (pascal-mode-syntax-table): Accept //..\n comments
4832 (bug#13585).
4833
4834 2013-01-30 Juri Linkov <juri@jurta.org>
4835
4836 * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
4837 Use fullboth as an alias for fullscreen. Suggested by Jan Djärv in
4838 <http://lists.gnu.org/archive/html/emacs-devel/2013-01/msg00203.html>.
4839
4840 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
4841
4842 * progmodes/make-mode.el (makefile-backslash-region): Don't compute
4843 column if we're just deleting the backslashes.
4844 (makefile-fill-paragraph): Use eolp.
4845
4846 2013-01-30 Michael Albinus <michael.albinus@gmx.de>
4847
4848 * autorevert.el (auto-revert-use-notify): Fix docstring.
4849
4850 2013-01-30 Leo Liu <sdl.web@gmail.com>
4851
4852 * imenu.el (imenu--truncate-items): Fix subalist checking (bug#13576).
4853
4854 2013-01-30 Glenn Morris <rgm@gnu.org>
4855
4856 * mouse.el (mouse-drag-line): Avoid pushing same event onto
4857 unread-command-events twice in some cases. This tries to implement
4858 the 2012-07-26 changes in a different way. (Bug#13560)
4859
4860 2013-01-30 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
4861
4862 * progmodes/python.el
4863 (python-pdbtrack-comint-output-filter-function): Enhancements on
4864 stacktrace detection. (thanks @gnovak)
4865
4866 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
4867
4868 * jit-lock.el (jit-lock-stealth-chunk-start): Don't widen (bug#13542).
4869 (jit-lock-mode, jit-lock-functions, jit-lock-context-unfontify-pos):
4870 Use defvar-local.
4871 (jit-lock-register): Use setq-local.
4872
4873 2013-01-30 Jay Belanger <jay.p.belanger@gmail.com>
4874
4875 * calc-units.el (math-default-units-table): Remove initial value.
4876 (calc-convert-units): Treat expressions where all the units cancel as
4877 if they didn't have units.
4878
4879 2013-01-30 Michael Albinus <michael.albinus@gmx.de>
4880
4881 * net/tramp.el (tramp-process-connection-type): Fix docstring.
4882 (tramp-completion-reread-directory-timeout): Fix type.
4883 (tramp-connection-min-time-diff): New defcustom.
4884
4885 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
4886
4887 2013-01-30 Glenn Morris <rgm@gnu.org>
4888
4889 * imenu.el (imenu-default-create-index-function):
4890 Put back a version of the infinite loop test removed 2013-01-23.
4891
4892 2013-01-30 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
4893
4894 * progmodes/python.el (python-shell-parse-command):
4895 Find python-shell-interpreter with modified environment.
4896
4897 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
4898
4899 * emacs-lisp/cl.el (cl-set-getf): Add compatibility alias.
4900
4901 2013-01-29 Alan Mackenzie <acm@muc.de>
4902
4903 Amend to fontify /regexp/s in actions correctly.
4904 * cc-awk.el (c-awk-harmless-char-re, c-awk-harmless-string*-re):
4905 (c-awk-harmless-string*-here-re): Braces, parens and semicolons
4906 are no longer included.
4907 (c-awk-harmless-line-char-re, c-awk-harmless-line-string*-re):
4908 What used to be these variables without "-line" in the name.
4909 (c-awk-neutral-re): { is no longer neutral. Escaped newlines now are.
4910 (c-awk-non-arith-op-bra-re): Now also matches {.
4911 (c-awk-pre-exp-alphanum-kwd-re): New regexp to match "print",
4912 "return", and "case".
4913 (c-awk-kwd-regexp-sign-re): New, to match "print", etc., followed
4914 by /.
4915 (c-awk-syntax-tablify-/): Check special cases "print /re/", etc.
4916 (c-awk-set-syntax-table-properties): Extend FSM to handle {,},(,),;.
4917
4918 2013-01-29 Michael Albinus <michael.albinus@gmx.de>
4919
4920 * autorevert.el (auto-revert-use-notify):
4921 Use `custom-initialize-default' for initialization. (Bug#13583)
4922
4923 * net/ange-ftp.el (ange-ftp-skip-msgs): Add another message.
4924
4925 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
4926 Catch `suppress'. Otherwise, `tramp-run-real-handler' might be called
4927 in `tramp-file-name-handler'.
4928 (tramp-gw-tunnel-method, tramp-gw-socks-method): Declare for
4929 compatibility.
4930 (tramp-compute-multi-hops): Check, whether
4931 `tramp-gw-tunnel-method' and `tramp-gw-socks-method' are non-nil.
4932
4933 2013-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
4934
4935 * hi-lock.el (hi-lock-unface-buffer): Don't assume `face' is a symbol
4936 (bug#13297).
4937
4938 2013-01-27 Dmitry Gutov <dgutov@yandex.ru>
4939
4940 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove some
4941 checks made superfluous by the \_< operator.
4942 * progmodes/ruby-mode.el (ruby-move-to-block): Work with (maybe
4943 temporarily) broken indentation.
4944 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
4945 Highlight nested constants, too. \_< broke that.
4946
4947 2013-01-27 Nobuyoshi Nakada <nobu@ruby-lang.org>
4948
4949 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Use "\\_<"
4950 instead of "\\b".
4951
4952 2013-01-27 Michael Albinus <michael.albinus@gmx.de>
4953
4954 * autorevert.el (auto-revert-handler): Notifications which result
4955 from a saved file shall not be taken into account. (Bug#13557)
4956
4957 2013-01-26 Andreas Schwab <schwab@linux-m68k.org>
4958
4959 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Add optional
4960 parameter BAR-NOT-SYMBOL to control syntax of | for font-lock.
4961 (lisp-mode): Pass t for it. (Bug#13556)
4962
4963 2013-01-25 Alan Mackenzie <acm@muc.de>
4964
4965 AWK Mode: Fix indentation bug at top level. Bug #12274.
4966
4967 * progmodes/cc-engine.el (c-guess-basic-syntax): Move CASE 5P to
4968 just before CASE 5D.
4969
4970 2013-01-25 Dmitry Antipov <dmantipov@yandex.ru>
4971
4972 * net/socks.el (socks-nslookup-host): Use string-to-number.
4973
4974 2013-01-25 Michael Albinus <michael.albinus@gmx.de>
4975
4976 * autorevert.el (auto-revert-remote-files)
4977 (auto-revert-notify-exclude-dir-regexp): New defcustoms.
4978 (auto-revert-notify-enabled, auto-revert-use-notify)
4979 (auto-revert-notify-watch-descriptor-hash-list)
4980 (auto-revert-notify-modified-p, auto-revert-notify-event-p)
4981 (auto-revert-notify-event-descriptor)
4982 (auto-revert-notify-event-action)
4983 (auto-revert-notify-event-file-name): Doc fix.
4984 (global-auto-revert-mode): Reorder checks.
4985 (auto-revert-notify-rm-watch): Respect changed values of
4986 `auto-revert-notify-watch-descriptor-hash-list'.
4987 (auto-revert-notify-add-watch): Check for
4988 `auto-revert-notify-exclude-dir-regexp'. Adapt filters for
4989 `inotify-add-watch'. Watch `default-directory' instead of
4990 `buffer-file-name'. `auto-revert-notify-watch-descriptor-hash-list'
4991 has a changed meaning now. (Bug#13540)
4992 (auto-revert-notify-handler): Change implementation wrt events
4993 returning from a directory.
4994 (auto-revert-handler): Reorder implementation for checks of remote
4995 files.
4996 (auto-revert-buffers): Fix parentheses error.
4997
4998 2013-01-25 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
4999
5000 * progmodes/python.el: Enhancements to header documentation about
5001 skeletons. (Bug#5716)
5002
5003 * imenu.el (imenu-default-create-index-function): Remove useless
5004 infinite loop check. (Bug#13438)
5005
5006 2013-01-25 Alan Mackenzie <acm@muc.de>
5007
5008 Fix a bug in the state cache mechanism. Refactor this a bit.
5009
5010 * progmodes/cc-engine.el (c-parse-state-get-strategy): Remove the
5011 `cache-pos' element from the return value.
5012 (c-append-lower-brace-pair-to-state-cache): "Narrow" to end of
5013 buffer to enable proper searching from beyond HERE. Amend the
5014 test for detecting the sought brace pair. Amend the value written
5015 to the "brace desert cache" when the brace isn't found.
5016 (c-remove-stale-state-cache): Rename `good-pos' to `start-point',
5017 and several other variables analogously.
5018 (c-remove-stale-state-cache-backwards): Change `cache-pos' from a
5019 parameter to a locally calculated variable.
5020 (c-parse-state-1): Change the calling conventions to the two
5021 defuns involving `cache-pos'.
5022
5023 2013-01-25 Chong Yidong <cyd@gnu.org>
5024
5025 * xml.el (xml-entity-or-char-ref-re): Fix regexp.
5026
5027 2013-01-24 Aaron Ecay <aaronecay@gmail.com> (tiny change)
5028
5029 * paren.el (show-paren-function): Make sure to set 'priority and
5030 'face only if the overlay does exist.
5031
5032 2013-01-24 Michael Albinus <michael.albinus@gmx.de>
5033
5034 * net/tramp.el (tramp-tramp-file-p): Check, whether NAME is unibyte.
5035
5036 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Do not suppress
5037 basic attributes.
5038 (tramp-sh-handle-set-file-acl): Improve error checking.
5039
5040 2013-01-24 Dmitry Antipov <dmantipov@yandex.ru>
5041
5042 * doc-view.el (doc-view-display): Force mode line update until all
5043 document is converted. Suggested by Stefan Monnier (Bug#13164).
5044
5045 2013-01-23 Bastien Guerry <bzg@gnu.org>
5046
5047 * paren.el (show-paren-function): Make sure an overlay exists
5048 before trying to delete it. Also use `pos' as a position only
5049 when it is an integer.
5050
5051 2013-01-23 Dmitry Antipov <dmantipov@yandex.ru>
5052
5053 * play/gametree.el (gametree-break-line-here): Use point-marker.
5054
5055 2013-01-22 Michael Albinus <michael.albinus@gmx.de>
5056
5057 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
5058 Mark descriptive parts with `display' property.
5059
5060 2013-01-21 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
5061
5062 * textmodes/ispell.el (ispell-hunspell-dictionary-equivs-alist):
5063 New variable to map standard dict names to hunspell ones.
5064 (ispell-set-spellchecker-params): Make sure specific dict names
5065 are used for standard dicts with hunspell.
5066
5067 2013-01-21 Tassilo Horn <tsdh@gnu.org>
5068
5069 * textmodes/reftex-cite.el (reftex-format-citation): Add format
5070 chars for note (%N) and url (%U).
5071 * textmodes/reftex-vars.el (reftex-cite-format): Document them.
5072
5073 2013-01-21 Juri Linkov <juri@jurta.org>
5074
5075 * frame.el: Bind `f10' in `esc-map' to `toggle-frame-maximized'
5076 in addition to existing separate binding `meta f10' in `global-map'.
5077 (Bug#13484)
5078
5079 2013-01-21 Michael Albinus <michael.albinus@gmx.de>
5080
5081 Improve XEmacs compatibility.
5082
5083 * net/tramp.el (tramp-replace-environment-variables): Make it a defun.
5084
5085 * net/tramp-adb.el (top): Require `time-date'.
5086 (tramp-adb-ls-output-time-less-p): Use `tramp-time-less-p'.
5087 (tramp-adb-handle-copy-file, tramp-adb-handle-rename-file):
5088 Use `tramp-file-name-handler'.
5089 (tramp-adb-maybe-open-connection):
5090 Use `tramp-compat-set-process-query-on-exit-flag'.
5091
5092 * net/tramp-sh.el (tramp-sh-handle-file-acl):
5093 Use `tramp-compat-funcall'.
5094
5095 * net/tramp-smb.el (tramp-smb-handle-file-acl): Use `looking-at' and
5096 `tramp-compat-funcall'.
5097
5098 2013-01-21 JĂ¼rgen Hötzel <juergen@archlinux.org>
5099
5100 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Complete
5101 reimplementation using "adb shell command ..." instead of running
5102 remote shell interactively.
5103
5104 2013-01-20 Glenn Morris <rgm@gnu.org>
5105
5106 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
5107 Add native profiler menu entries.
5108
5109 * profiler.el (profiler-running-p): New function.
5110 (profiler-cpu-profile): Use profiler-running-p.
5111 (profiler-report-mode-map): Add some more menu entries.
5112
5113 2013-01-19 Glenn Morris <rgm@gnu.org>
5114
5115 * mail/unrmail.el (unrmail): Do not mangle the mbox From line;
5116 fixes 2012-12-07 change. (Bug#13499)
5117
5118 2013-01-19 Leo Liu <sdl.web@gmail.com>
5119
5120 * dired.el (dired-get-marked-files): Prune erroneous values due to
5121 last change. (Bug#13152)
5122
5123 2013-01-19 Glenn Morris <rgm@gnu.org>
5124
5125 * progmodes/etags.el (tags-table-check-computed-list):
5126 Preserve point in tags buffer. (Bug#13412)
5127
5128 * emacs-lisp/lisp-mode.el (lisp-indent-function): Doc fix.
5129
5130 2013-01-19 Christian Wittern <cwittern@gmail.com> (tiny change)
5131 Chong Yidong <cyd@gnu.org>
5132
5133 * image-mode.el (image-next-file, image-previous-file):
5134 New commands (Bug#8453).
5135 (image-mode-map): Bind them to n and p.
5136 (image-mode--images-in-directory): New helper function.
5137
5138 2013-01-19 Chong Yidong <cyd@gnu.org>
5139
5140 * image-mode.el (image-mode-fit-frame): Add a frame argument.
5141 Suggested by Drew Adams (Bug#7730). Handle window decorations;
5142 save and restore the old window configuration.
5143
5144 2013-01-18 Leo Liu <sdl.web@gmail.com>
5145
5146 * progmodes/js.el: Tweak autoload cookie for alias.
5147
5148 2013-01-17 Michael Albinus <michael.albinus@gmx.de>
5149
5150 * autorevert.el (auto-revert-notify-watch-descriptor): Make it
5151 buffer local, again. This was lost with the fix on 2013-01-12.
5152
5153 2013-01-17 JĂ¼rgen Hötzel <juergen@archlinux.org>
5154
5155 * eshell/esh-util.el (eshell-path-env): Make it buffer local, in
5156 order to support several eshell buffers in parallel.
5157
5158 2013-01-17 Michael Albinus <michael.albinus@gmx.de>
5159
5160 * autorevert.el (auto-revert-use-notify): In the :set function, do
5161 not modify `kill-buffer-hook'.
5162 (auto-revert-notify-rm-watch):
5163 Remove `auto-revert-notify-rm-watch' from `kill-buffer-hook'.
5164 (auto-revert-notify-add-watch): Do not call
5165 `auto-revert-notify-rm-watch', but add it to a buffer local
5166 `kill-buffer-hook'.
5167
5168 2013-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
5169
5170 * emacs-lisp/trace.el (trace--read-args): Use a closure and an honest
5171 call to `eval' rather than a backquoted lambda.
5172
5173 2013-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
5174
5175 * emacs-lisp/nadvice.el (advice--tweak): Make it possible for `tweak'
5176 to return an explicit nil.
5177 (advice--remove-function): Change accordingly.
5178
5179 * emacs-lisp/advice.el (ad-preactivate-advice): Adjust the cleanup to
5180 the use of nadvice.el.
5181
5182 * progmodes/which-func.el (which-function): Silence imenu errors
5183 (bug#13433).
5184
5185 2013-01-15 Michael R. Mauger <mmaug@yahoo.com>
5186
5187 * progmodes/sql.el (sql-imenu-generic-expression):
5188 (sql-mode-font-lock-object-name): Match schema qualified names.
5189 (sql-connect): Use string keys.
5190 (sql-product-interactive): Wait for interpreter prompt.
5191 (sql-comint-oracle): Set process coding based on NLS_LANG.
5192
5193 2013-01-15 Michael R. Mauger <mmaug@yahoo.com>
5194
5195 * progmodes/sql.el (sql-output-to-send): Remove, unused.
5196 (sql-interactive-remove-continuation-prompt):
5197 (sql-send-magic-terminator, sql-interactive-mode): Remove references.
5198
5199 2013-01-14 Leo Liu <sdl.web@gmail.com>
5200
5201 * calendar/calendar.el (calendar-redraw): Sync window-point and point.
5202 (Bug#13420)
5203
5204 2013-01-14 Glenn Morris <rgm@gnu.org>
5205
5206 * progmodes/compile.el (compilation-error-regexp-alist-alist):
5207 Fix interpretation of gnu line.col1-col2 format. (Bug#13335)
5208
5209 2013-01-13 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
5210
5211 * progmodes/python.el (python-nav-end-of-statement):
5212 Fix cornercase when handling multiline strings.
5213
5214 2013-01-13 Richard Stallman <rms@gnu.org>
5215
5216 * mail/sendmail.el (mail-position-on-field): Add doc string.
5217
5218 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
5219 Get current message boundaries and pass them to
5220 message-forward-make-body-mime. Minor style changes.
5221
5222 2013-01-13 Eli Zaretskii <eliz@gnu.org>
5223
5224 * cus-start.el (all): Avoid warnings about
5225 scroll-bar-adjust-thumb-portion on platforms where it is not defined.
5226
5227 2013-01-11 Jan Djärv <jan.h.d@swipnet.se>
5228
5229 * cus-start.el (all): Add scroll-bar-adjust-thumb-portion.
5230
5231 2013-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
5232
5233 * jit-lock.el (jit-lock-debug-mode): New minor mode.
5234 (jit-lock--debug-fontifying): New var.
5235 (jit-lock--debug-fontify): New function.
5236 * subr.el (condition-case-unless-debug): Don't prevent catching the
5237 error, just let the debbugger run.
5238 * emacs-lisp/timer.el (timer-event-handler): Don't prevent debugging
5239 timer code and don't drop errors silently.
5240
5241 2013-01-12 Michael Albinus <michael.albinus@gmx.de>
5242
5243 * autorevert.el (auto-revert-notify-watch-descriptor): Give it
5244 `permanent-local' property.
5245 (auto-revert-notify-handler): Use `file-equal-p'.
5246
5247 2013-01-12 Eli Zaretskii <eliz@gnu.org>
5248
5249 * autorevert.el (auto-revert-notify-handler): Fix filtering of
5250 file notification by ACTION. For filtering by file name, compare
5251 only the non-directory part of the file name.
5252
5253 2013-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
5254
5255 * autorevert.el: Use cl-lib instead of cl.
5256
5257 * vc/vc-bzr.el (vc-bzr--sanitize-header): New function (bug#13307).
5258 (vc-bzr-checkin): Use it.
5259 * vc/log-edit.el (log-edit-extract-headers): Don't presume FUNCTION
5260 will preserve match-data.
5261
5262 2013-01-11 Felix H. Dahlke <fhd@ubercode.de>
5263
5264 * progmodes/js.el: Fix multiline declarations's indentation (bug#8576).
5265 (js--declaration-keyword-re): New var.
5266 (js--multi-line-declaration-indentation): New function.
5267 (js--proper-indentation): Use it.
5268
5269 2013-01-11 Aaron S. Hawley <Aaron.Hawley@vtinfo.com>
5270
5271 * calc/calc.el (calc-highlight-selections-with-faces)
5272 (calc-dispatch):
5273 * comint.el (comint-history-isearch-message):
5274 * emacs-lisp/edebug.el (edebug-read, edebug-eval-defun):
5275 * ffap.el (ffap-string-at-point-region, ffap-next)
5276 (ffap-string-at-point, ffap-string-around)
5277 (ffap-copy-string-as-kill, ffap-highlight-overlay)
5278 (ffap-literally):
5279 * font-lock.el (font-lock-keywords-alist)
5280 (font-lock-removed-keywords-alist):
5281 * help-mode.el (help-xref-symbol-regexp):
5282 * info.el (Info-find-emacs-command-nodes):
5283 * international/mule.el (add-to-coding-system-list):
5284 * isearch.el (isearch-message-function, isearch-fail-pos):
5285 * misearch.el (multi-isearch-next-buffer-function):
5286 * newcomment.el (comment-box):
5287 * printing.el (pr-txt-printer-alist, pr-ps-printer-alist)
5288 (pr-setting-database):
5289 * progmodes/cc-fonts.el (c-font-lock-keywords-3)
5290 (c++-font-lock-keywords-3, objc-font-lock-keywords-3)
5291 (java-font-lock-keywords-3, idl-font-lock-keywords-3)
5292 (pike-font-lock-keywords-3):
5293 * progmodes/compile.el (compile):
5294 * progmodes/etags.el (tags-table-files)
5295 (tags-table-files-function, tags-included-tables-function):
5296 * progmodes/gdb-mi.el (gdb, gdb-setup-windows)
5297 (gdb-restore-windows):
5298 * ps-print.el (ps-even-or-odd-pages, ps-spool-buffer-with-faces)
5299 (ps-n-up-filling-database):
5300 * server.el (server-buffer, server-log):
5301 * simple.el (newline, delete-backward-char, delete-forward-char)
5302 (minibuffer-history-isearch-message, kill-line, track-eol)
5303 (temporary-goal-column):
5304 * textmodes/flyspell.el (flyspell-mark-duplications-flag)
5305 (flyspell-default-deplacement-commands):
5306 * textmodes/ispell.el (ispell-accept-output):
5307 * textmodes/sgml-mode.el (html-tag-help):
5308 * vc/compare-w.el (compare-ignore-whitespace)
5309 (compare-ignore-case, compare-windows-dehighlight):
5310 * vc/diff.el (diff):
5311 * whitespace.el (whitespace-point)
5312 (whitespace-font-lock-refontify, whitespace-bob-marker)
5313 (whitespace-eob-marker): Fix ambiguous doc string cross-reference(s).
5314
5315 2013-01-11 Michael Albinus <michael.albinus@gmx.de>
5316
5317 * autorevert.el (top): Require 'cl in order to pacify byte compiler.
5318 (auto-revert-notify-rm-watch): Ignore errors.
5319 (auto-revert-notify-add-watch): Ignore errors. Use '(modify) for
5320 inotify, and '(size last-write-time) for w32notify.
5321 Set buffer-local `auto-revert-use-notify' to nil when adding a file
5322 watch fails - this is a fallback to the file modification check.
5323 (auto-revert-notify-event-p, auto-revert-notify-event-descriptor)
5324 (auto-revert-notify-event-action)
5325 (auto-revert-notify-event-file-name): New defuns.
5326 (auto-revert-notify-handler): Use them. Implement first
5327 plausibility checks.
5328 (auto-revert-handler): Handle also `auto-revert-tail-mode'.
5329
5330 2013-01-11 Julien Danjou <julien@danjou.info>
5331
5332 * color.el (color-rgb-to-hsv): Fix conversion computing in case min and
5333 max are almost equal. Also return the correct value for V which is
5334 already between 0 and 1.
5335
5336 2013-01-11 Dmitry Antipov <dmantipov@yandex.ru>
5337
5338 * emacs-lisp/ert.el (ert-run-test): Use point-max-marker.
5339
5340 2013-01-11 Eli Zaretskii <eliz@gnu.org>
5341
5342 * autorevert.el (auto-revert-notify-rm-watch)
5343 (auto-revert-notify-add-watch): Fix typos in w32notify function
5344 names.
5345
5346 2013-01-10 Michael Albinus <michael.albinus@gmx.de>
5347
5348 * autorevert.el (auto-revert-notify-enabled): Move up.
5349 (auto-revert-use-notify): New defcustom.
5350 (auto-revert-mode, global-auto-revert-mode)
5351 (auto-revert-notify-add-watch, auto-revert-handler)
5352 (auto-revert-buffers): Use `auto-revert-use-notify' instead of
5353 `auto-revert-notify-enabled'.
5354
5355 2013-01-10 Elias Pipping <pipping@exherbo.org>
5356
5357 * files.el (auto-mode-alist): Use doc-view for djvu files (bug#13164).
5358 * doc-view.el (doc-view-document->bitmap):
5359 Use doc-view-single-page-converter-function instead of
5360 single-page-converter arg; adjust callers.
5361
5362 2013-01-10 Feng Li <fengli@gmail.com> (tiny change)
5363
5364 * progmodes/which-func.el (which-function): Understand Semantic's use
5365 of overlays in imenu--index-alist.
5366
5367 2013-01-10 Wolfgang Jenkner <wjenkner@inode.at>
5368
5369 * man.el: Handle different "man -k" behaviors (bug#13160). Use utf-8.
5370 (Man-man-k-use-anchor): New var.
5371 (Man-parse-man-k): New function.
5372 (Man-completion-table): Use it.
5373 (man): Flush the completion cache between uses.
5374
5375 2013-01-10 Michael Albinus <michael.albinus@gmx.de>
5376
5377 * autorevert.el: Add file watch support.
5378 (auto-revert-notify-enabled): New defconst.
5379 (auto-revert-notify-watch-descriptor-hash-list)
5380 (auto-revert-notify-watch-descriptor)
5381 (auto-revert-notify-modified-p): New defvars.
5382 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
5383 (auto-revert-notify-handler): New defuns.
5384 (auto-revert-mode, global-auto-revert-mode): Remove file watches
5385 when mode is disabled.
5386 (auto-revert-handler): Check for `auto-revert-notify-modified-p'.
5387 (auto-revert-buffers): Add file watches for active buffers.
5388
5389 2013-01-10 Dmitry Antipov <dmantipov@yandex.ru>
5390
5391 * cus-start.el (toplevel): Only allow float values for
5392 scroll-up-aggressively and scroll-down-aggressively.
5393 Allow any number for line-spacing.
5394
5395 2013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
5396
5397 * doc-view.el (doc-view-pdfdraw-program): Allow "pdfdraw" name.
5398 (doc-view-pdf->png-converter-function): Use mupdf if available.
5399 (doc-view-djvu->png-converter-function)
5400 (doc-view-ps->png-converter-function): Remove.
5401 (doc-view--image-file-pattern): Replace doc-view--image-file-extension.
5402 (doc-view-goto-page, doc-view-convert-current-doc, doc-view-display)
5403 (doc-view-already-converted-p): Adjust accordingly.
5404 (doc-view-mode-p): Simplify.
5405 (doc-view-enlarge): Use setq-local.
5406 (doc-view-pdf->png-converter-ghostscript)
5407 (doc-view-djvu->png-converter-ddjvu)
5408 (doc-view-pdf->png-converter-mupdf): Rework to call
5409 doc-view-start-process directly.
5410 (doc-view-pdf/ps->png): Simplify accordingly.
5411 (doc-view-pdf->png-1, doc-view-djvu->png-1): Remove.
5412 (doc-view-document->bitmap): Rename from doc-view-document->png.
5413 (doc-view-convert-current-doc): Merge pdf and djvu cases.
5414 (doc-view-set-slice-from-bounding-box): Fix completion table.
5415 (doc-view-mode): Use add-hook for after-revert-hook.
5416
5417 2013-01-10 Glenn Morris <rgm@gnu.org>
5418
5419 * emacs-lisp/authors.el (authors-ignored-files)
5420 (authors-valid-file-names, authors-renamed-files-alist):
5421 Add some more entries.
5422
5423 2013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
5424
5425 * image-mode.el (image-mode-winprops): Don't throw away the fallback
5426 `t' pseudo-window entry.
5427
5428 2013-01-10 Alan Mackenzie <acm@muc.de>
5429
5430 Fix bugs in the c-parse-state mechanism. Reuse some markers
5431 instead of continually generating new ones.
5432
5433 * progmodes/cc-engine.el (c-state-old-cpp-beg-marker)
5434 (c-state-old-cpp-end-marker): New variables.
5435 (c-append-lower-brace-pair-to-state-cache): Start a backward
5436 search for "}" definitively outside CPP constructs.
5437 (c-remove-stale-state-cache): Inform the caller of a need to
5438 search back for a brace pair in certain circumstances.
5439 (c-state-maybe-marker): New macro.
5440 (c-parse-state): Reuse markers when appropriate.
5441
5442 2013-01-10 Glenn Morris <rgm@gnu.org>
5443
5444 * simple.el (execute-extended-command): Doc fix.
5445 Bind prefix-arg around read-extended-command, for prompt. (Bug#13395)
5446
5447 2013-01-10 Chong Yidong <cyd@gnu.org>
5448
5449 * faces.el (read-face-name): Doc fix.
5450
5451 2013-01-10 Roland Winkler <winkler@gnu.org>
5452
5453 * emacs-lisp/crm.el: Allow any regexp for separators.
5454 (crm-default-separator): All spaces around the default comma separator.
5455 (crm--completion-command): New macro.
5456 (crm-completion-help, crm-complete, crm-complete-word): Use it.
5457 (crm-complete-and-exit): Handle non-single-char separators.
5458
5459 2013-01-09 Elias Pipping <pipping@lavabit.com>
5460
5461 * doc-view.el: Add support for DjVu (bug#13164).
5462 (doc-view-djvu->png-converter-function): New config var.
5463 (doc-view-single-page-converter-function, doc-view--image-type)
5464 (doc-view--image-file-extension): New vars.
5465 (doc-view-mode): Initialize them.
5466 (doc-view-goto-page): Use them.
5467 (doc-view-mode-p): Add support for ddjvu.
5468 (doc-view-djvu->png-converter-ddjvu, doc-view-djvu->png-1)
5469 (doc-view-set-up-single-converter): New funs.
5470 (doc-view-pdf/ps->png): Extend for djvu.
5471 (doc-view-document->png): Rename from doc-view-pdf->png.
5472 (doc-view-convert-current-doc): Handle djvu.
5473 (doc-view-insert-image, doc-view-display)
5474 (doc-view-already-converted-p): Don't hardcode png.
5475 (doc-view-set-doc-type): Recognize djvu docs.
5476
5477 2013-01-09 Elias Pipping <pipping@lavabit.com>
5478
5479 * doc-view.el: Add support for mupdf converter (bug#13164).
5480 (doc-view-pdfdraw-program, doc-view-pdf->png-converter-function)
5481 (doc-view-ps->png-converter-function): New config vars.
5482 (doc-view-pdf->png-converter-ghostscript)
5483 (doc-view-ps->png-converter-ghostscript)
5484 (doc-view-pdf->png-converter-mupdf): New functions.
5485 (doc-view-pdf/ps->png, doc-view-pdf->png-1): Use them.
5486
5487 2013-01-09 JĂ¼rgen Hötzel <juergen@archlinux.org>
5488
5489 * net/tramp.el (tramp-eshell-directory-change): Check remote-path
5490 first in session cache: When `tramp-own-remote-path' is in
5491 `tramp-remote-path', the remote path is only set in the session
5492 cache.
5493
5494 2013-01-09 Glenn Morris <rgm@gnu.org>
5495
5496 * emacs-lisp/trace.el (trace-function-foreground)
5497 (trace-function-background): Doc fix.
5498
5499 2013-01-09 Juri Linkov <juri@jurta.org>
5500
5501 * international/mule-cmds.el (read-char-by-name): Move let-binding
5502 of completion-ignore-case around completing-read to fix regression
5503 exhibited by the test case `C-x 8 RET *acc TAB' and caused by
5504 `string-match-p' using the nil value of `case-fold-search' and
5505 `completion-ignore-case' in `completion-pcm--all-completions'.
5506 (Bug#12615).
5507
5508 2013-01-09 Glenn Morris <rgm@gnu.org>
5509
5510 * progmodes/compile.el (compilation-parse-errors):
5511 Fix typo. (Bug#13369)
5512
5513 2013-01-09 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
5514
5515 * comint.el (comint-send-input): Check size of buffer before
5516 waiting for process output, in case already accepted. (Bug#13290)
5517
5518 2013-01-09 Paul Eggert <eggert@cs.ucla.edu>
5519
5520 Spelling fixes.
5521 * net/tramp-adb.el (tramp-adb-get-toolbox):
5522 Fix misspelling of 'unknown'.
5523
5524 2013-01-08 Juri Linkov <juri@jurta.org>
5525
5526 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
5527 * progmodes/flymake.el (flymake-errline, flymake-warnline):
5528 Use underline style wave on terminals that support it. (Bug#13000)
5529
5530 2013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
5531
5532 * emacs-lisp/pcase.el (pcase--split-equal): Also take advantage if
5533 the predicate returns nil.
5534
5535 * simple.el: Use lexical-binding.
5536 (primitive-undo): Use pcase.
5537 (minibuffer-history-isearch-push-state): Use a closure.
5538
5539 2013-01-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
5540
5541 * simple.el (primitive-undo): Move from undo.c.
5542
5543 2013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
5544
5545 * vc/pcvs.el (cvs-cleanup-collection): Extend meaning of `rm-handled'.
5546 (cvs-mode-remove-handled): Use it (bug#13380).
5547
5548 * emacs-lisp/nadvice.el (advice--tweak): New function.
5549 (advice--remove-function, advice--subst-main): Use it.
5550
5551 * emacs-lisp/advice.el: Update commentary.
5552
5553 2013-01-08 Michael Albinus <michael.albinus@gmx.de>
5554
5555 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5556 Remove spurious entry.
5557
5558 2013-01-08 Glenn Morris <rgm@gnu.org>
5559
5560 * net/tramp.el (tramp-default-host-alist): Add :version.
5561
5562 2013-01-08 Juri Linkov <juri@jurta.org>
5563
5564 * info.el (Info-read-node-name-2): Don't duplicate suffixes for
5565 single completion. (Bug#12456)
5566 (info--manual-names): Expand node completions into an explicit list
5567 before appending it to another list. Filter out internal buffers
5568 with the leading space in the buffer name. (Bug#10771)
5569
5570 2013-01-08 Juri Linkov <juri@jurta.org>
5571
5572 * info.el (Info-read-node-name-1): Allow empty node name in (FILENAME)
5573 that defaults to the Top node.
5574 (Info-goto-node, Info-read-node-name): Doc fix to mention that
5575 the short format (FILENAME) goes to the Top node.
5576 (Info-build-node-completions): Rename arg `file' to `filename'.
5577 (Bug#13365)
5578
5579 2013-01-07 Bastien Guerry <bzg@gnu.org>
5580
5581 * menu-bar.el (menu-bar-search-documentation-menu):
5582 Use `apropos-user-option' and fix the help message.
5583
5584 2013-01-07 Bastien Guerry <bzg@gnu.org>
5585
5586 * apropos.el (apropos-do-all): Update docstring.
5587 (apropos-user-option-button): New face.
5588 (apropos-user-option): Rename from `apropos-variable' and update
5589 docstring.
5590 (apropos-variable): Rewrite, now show all variables by default.
5591 (apropos-print): Mention "User option" instead of "Variable" when
5592 printing doc for user options. (Bug#13276)
5593
5594 2013-01-07 JĂ¼rgen Hötzel <juergen@archlinux.org>
5595
5596 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
5597 Handle filename correctly, when parsing "source -> target" symlink
5598 output.
5599 (tramp-adb-handle-set-file-times): New defun.
5600
5601 2013-01-07 Stefan Monnier <monnier@iro.umontreal.ca>
5602
5603 * emacs-lisp/advice.el (ad-activate-advised-definition): Refresh the
5604 advice list when the interactive-spec of ad-Advice-* changes.
5605
5606 2013-01-07 Katsumi Yamaoka <yamaoka@jpl.org>
5607
5608 * wid-edit.el (widget-default-get): Work for inlined elements.
5609 (Bug#12670)
5610
5611 2013-01-07 Michael Albinus <michael.albinus@gmx.de>
5612
5613 * net/tramp.el (tramp-default-host-alist): New defcustom.
5614 (tramp-find-host): Use it.
5615 (tramp-eshell-directory-change): Move from tramp-sh.el. Add to
5616 `eshell-directory-change-hook'.
5617
5618 * net/tramp-adb.el (top): Add adb specific entry in
5619 `tramp-default-host-alist'.
5620 (tramp-adb-file-name-host): Remove function.
5621 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
5622 Use `tramp-file-name-host' instead of `tramp-adb-file-name-host'.
5623
5624 * net/tramp-sh.el: Move eshell integration code to tramp.el.
5625
5626 2013-01-06 JĂ¼rgen Hötzel <juergen@archlinux.org>
5627
5628 * net/tramp-adb.el (tramp-methods): Add `tramp-tmpdir' entry.
5629
5630 2013-01-06 Michael Albinus <michael.albinus@gmx.de>
5631
5632 * net/tramp-adb.el (tramp-adb-ls-toolbox-regexp): The file size can
5633 consist of more than one digit.
5634 (tramp-adb-file-name-handler-alist):
5635 Use `tramp-handle-file-exists-p' consistently.
5636 (tramp-adb-file-name-handler): Don't tweak `tramp-default-host'.
5637 (tramp-adb-handle-file-exists-p): Remove function.
5638 (tramp-adb-file-name-host): New defun.
5639 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
5640 Use it.
5641 (tramp-adb-maybe-open-connection): Set "remote-path" property.
5642
5643 2013-01-06 Chong Yidong <cyd@gnu.org>
5644
5645 * vc/vc.el (vc-next-action): Detect buffer modifications
5646 conflicting with locking VCS operation (Bug#11490).
5647
5648 * vc/vc-hooks.el (vc-after-save): DTRT for locking VCSes.
5649
5650 2013-01-05 Michael Albinus <michael.albinus@gmx.de>
5651
5652 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
5653 (tramp-adb-handle-directory-files-and-attributes): Fix typos.
5654
5655 2013-01-05 JĂ¼rgen Hötzel <juergen@archlinux.org>
5656
5657 * net/tramp-adb.el (tramp-adb-handle-file-attributes): More robust
5658 parsing of ls output using regular expression (handle filenames
5659 with spaces). Use virtual device number.
5660 (tramp-do-parse-file-attributes-with-ls): New defun (Code
5661 cleanup).
5662
5663 2013-01-04 Daiki Ueno <ueno@gnu.org>
5664
5665 * epg.el: Silence byte-compiler warnings.
5666 (epg--start): Use delete-char instead of delete-backward-char.
5667 (epg-wait-for-completion): Pass FRAME arg to redraw-frame.
5668
5669 2013-01-04 Daiki Ueno <ueno@gnu.org>
5670
5671 * epg.el (epg--start): Don't call "tty" program on W32 platforms.
5672 Suggested by Eli Zaretskii <eliz@gnu.org>.
5673
5674 2013-01-04 Michael Albinus <michael.albinus@gmx.de>
5675
5676 * net/tramp-sh.el (tramp-set-file-uid-gid): UID and GID must be
5677 non-negative integers. Otherwise, the default values are used.
5678 (tramp-convert-file-attributes): Convert uid and gid to integers.
5679
5680 2013-01-04 Glenn Morris <rgm@gnu.org>
5681
5682 * term.el (term-handle-colors-array): Ensure face attributes
5683 are fully specified, not nil. (Bug#13337)
5684
5685 * term.el (term-default-fg-color, term-default-bg-color):
5686 Fix custom type.
5687
5688 * progmodes/etags.el (tags-compression-info-list): Doc fix.
5689 (tag-find-file-of-tag-noselect): Check auto-compression-mode
5690 rather than 'jka-compr being loaded. (Bug#13338)
5691
5692 2013-01-04 Wesley Dawson <whd@lavabit.com> (tiny change)
5693
5694 * icomplete.el (icomplete-completions):
5695 Honor icomplete-prospects-height once more following
5696 2012-11-29 changes. (Bug#13224)
5697
5698 2013-01-04 Stefan Monnier <monnier@iro.umontreal.ca>
5699
5700 * subr.el (internal--called-interactively-p--get-frame): Find aliases
5701 of called-interactively-p as well (bug#13237).
5702
5703 * view.el (view--enable, view--disable): Rename from view-mode-enable
5704 and view-mode-disable and assume it's called from view-mode.
5705 (view-mode-enable, view-mode-disable): Redefine as obsolete
5706 compatibility layer above view-mode.
5707 (view-mode-enter): Call `view-mode'.
5708
5709 * files.el (after-find-file): Call `view-mode'.
5710
5711 * doc-view.el (doc-view-scale-internally): New var.
5712 (doc-view-enlarge, doc-view-insert-image): Obey it.
5713
5714 2013-01-03 Daiki Ueno <ueno@gnu.org>
5715
5716 * epg.el (epg--start): Ignore errors when /dev/fd/0 does not
5717 exist. (Bug#13344)
5718
5719 2013-01-03 Glenn Morris <rgm@gnu.org>
5720
5721 * mail/rmail.el (rmail-set-header-1): Ignore case.
5722 Handle multi-line headers. (Bug#13330)
5723
5724 * progmodes/make-mode.el (makefile-fill-paragraph): Add doc.
5725 Handle paragraph starting at beginning of buffer.
5726
5727 * subr.el (eval-after-load): Don't purecopy the form, so that it
5728 can be nconc'd later on; reverts 2009-11-11 change. (Bug#13331)
5729
5730 * emacs-lisp/byte-run.el (defun): Place cl declarations
5731 after any interactive spec. (Bug#13265)
5732
5733 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
5734
5735 * emacs-lisp/byte-run.el (defmacro): Use same argument parsing as
5736 defun. Don't check for DECL if DOCSTRING isn't a string.
5737 (defun): Likewise.
5738
5739 2013-01-02 Glenn Morris <rgm@gnu.org>
5740
5741 * eshell/em-cmpl.el (eshell-pcomplete):
5742 More thoroughly imitate pcomplete. (Bug#13293)
5743
5744 * files.el (parse-colon-path): Doc fix. (Bug#12351)
5745 Return nil for empty path elements. (Bug#13296)
5746
5747 2013-01-02 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
5748
5749 * progmodes/python.el (python-nav-end-of-statement): Rewrite in
5750 order to improve efficiency (Based on Daniel Colascione's
5751 <dancol@dancol.org> patch). (Bug#13182)
5752
5753 2013-01-02 Glenn Morris <rgm@gnu.org>
5754
5755 * vc/log-edit.el (log-edit-header-contents-regexp): Add doc string.
5756
5757 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
5758
5759 * emacs-lisp/byte-run.el (defmacro): Don't lose final nil if
5760 neither DOCSTRING nor DECL was given. (Bug#13316)
5761
5762 2013-01-02 Michael Albinus <michael.albinus@gmx.de>
5763
5764 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Add argument to
5765 `error' call.
5766 (tramp-do-copy-or-rename-file): Ignore errors when calling
5767 `set-file-extended-attributes'.
5768
5769 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
5770 Add handler for `file-acl'.
5771 (tramp-smb-handle-file-acl): New defun.
5772
5773 2013-01-02 Jay Belanger <jay.p.belanger@gmail.com>
5774
5775 * calc/README: Mention ISO 8601 week-numbering dates.
5776
5777 2013-01-01 Martin Rudalics <rudalics@gmx.at>
5778
5779 * view.el (view-mode-enable): New argument run-view-mode-hook.
5780 Run view-mode-hook only when it's non-nil (Bug#13315).
5781 (view-mode-enter): Call view-mode-enable with run-view-mode-hook
5782 argument t.
5783
5784 2012-12-31 JĂ¼rgen Hötzel <juergen@archlinux.org>
5785
5786 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Handle errors
5787 (No device connected, invalid device name). (Bug #13299)
5788
5789 2012-12-31 Martin Rudalics <rudalics@gmx.at>
5790
5791 * window.el (window-resizable--p): Rename to window-resizable-p.
5792 (window-resize-no-error): New function.
5793
5794 * mail/rmail.el (rmail-maybe-display-summary): Restore behavior
5795 broken in fix from 2012-12-28.
5796
5797 2012-12-31 Stefan Monnier <monnier@iro.umontreal.ca>
5798
5799 * subr.el (special-form-p): Don't signal errors on undef aliases.
5800
5801 2012-12-31 Jay Belanger <jay.p.belanger@gmail.com>
5802
5803 * calc/calc-forms.el (math-parse-date): Try using
5804 `math-parse-iso-date' when it looks like it might be needed.
5805 Allow times of 24:00.
5806 (math-parse-date-validate, math-parse-iso-date-validate): Allow times
5807 of 24:00.
5808
5809 2012-12-30 Glenn Morris <rgm@gnu.org>
5810
5811 * net/mairix.el (rmail, rmail-summary-displayed, rmail-summary):
5812 Remove unnecessary/buggy autoloads (missing interactive). (Bug#13294)
5813 (rmail-summary-displayed, rmail-summary): Declare.
5814 (mairix-rmail-display): Just require rmail.
5815
5816 2012-12-30 Chong Yidong <cyd@gnu.org>
5817
5818 * emacs-lisp/package.el (package-untar-buffer): Improve integrity
5819 check for the tarball contents.
5820
5821 2012-12-30 Matt Fidler <matt.fidler@alcon.com> (tiny change)
5822
5823 * emacs-lisp/package.el (package-untar-buffer): Handle problematic
5824 tarfile content listings (Bug#13136).
5825
5826 2012-12-30 Mark Lillibridge <mark.lillibridge@hp.com>
5827
5828 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
5829 Insert the undecoded text of the message being forwarded. (Bug#9521)
5830
5831 2012-12-30 Michael Albinus <michael.albinus@gmx.de>
5832
5833 * net/tramp-sh.el (tramp-set-file-uid-gid): Convert UID and GID to
5834 integers, if they are real numbers. (Bug#13282)
5835
5836 * net/tramp-sh.el (tramp-sh-handle-set-file-selinux-context):
5837 Return `t' on success.
5838
5839 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
5840 Add handler for `set-file-selinux-context'.
5841
5842 2012-12-29 Michael Albinus <michael.albinus@gmx.de>
5843
5844 * net/tramp-sh.el (tramp-sh-handle-file-acl): Suppress basic attributes.
5845 (tramp-sh-handle-set-file-acl): Return `t' on success.
5846
5847 2012-12-29 Eli Zaretskii <eliz@gnu.org>
5848
5849 * files.el (backup-buffer-copy, basic-save-buffer-2):
5850 If set-file-extended-attributes fails, fall back on set-file-modes
5851 instead of signaling an error. (Bug#13298)
5852 (basic-save-buffer): Likewise.
5853
5854 2012-12-29 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
5855
5856 * progmodes/python.el: Support other commands triggering
5857 python-indent-line so indentation cycling continues to work.
5858 (python-indent-trigger-commands): New defcustom.
5859 (python-indent-line): Use it.
5860
5861 2012-12-29 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
5862
5863 * progmodes/python.el (python-shell-send-region): Add blank lines
5864 for non sent code so backtraces remain correct.
5865
5866 2012-12-29 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
5867
5868 * progmodes/python.el: Remove cl dependency.
5869 (python-syntax-count-quotes): Replace incf call.
5870 (python-fill-string): Replace setf call.
5871
5872 2012-12-29 Damien Cassou <damien.cassou@gmail.com>
5873
5874 * info.el (info-other-window): New arg, for consistency with info.
5875
5876 2012-12-28 Martin Rudalics <rudalics@gmx.at>
5877
5878 * mail/rmail.el (rmail-maybe-display-summary):
5879 Rewrite (Bug#13066).
5880
5881 2012-12-28 Andreas Schwab <schwab@linux-m68k.org>
5882
5883 * epg.el (epg--start): Modify process-environment locally.
5884
5885 2012-12-28 Daiki Ueno <ueno@gnu.org>
5886
5887 * epg.el: Support pinentry-curses.
5888 Suggested by Werner Koch in
5889 <http://lists.gnu.org/archive/html/emacs-devel/2007-02/msg00755.html>.
5890 (epg-agent-file, epg-agent-mtime): New variable.
5891 (epg--start): Record the modified time of gpg-agent socket file,
5892 to restore Emacs frame after pinentry-curses termination.
5893 (epg-wait-for-completion): Restore Emacs frame here.
5894
5895 2012-12-27 Juri Linkov <juri@jurta.org>
5896
5897 * info.el (Info-file-completions): New variable.
5898 (Info-read-node-name-1): Complete node names in the Info file
5899 when a file name is given. Call `Info-build-node-completions'
5900 with a file name.
5901 (Info-build-node-completions): Add new arg `file'. When it is
5902 non-nil, visit it in a temporary buffer and cache its completions in
5903 `Info-current-file-completions'. Move most of the function body to
5904 `Info-build-node-completions-1'.
5905 (Info-build-node-completions-1): New function with the body from
5906 `Info-build-node-completions'. (Bug#12456)
5907
5908 2012-12-27 Juri Linkov <juri@jurta.org>
5909
5910 * frame.el (frame-maximization-style): Remove user option.
5911 (cycle-frame-maximized): Remove function.
5912 (toggle-frame-maximized): Rewrite and bind to M-<f10>.
5913 (toggle-frame-fullscreen): New command bound to <f11> instead of
5914 `toggle-frame-maximized'.
5915 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00703.html
5916
5917 2012-12-27 Michael Albinus <michael.albinus@gmx.de>
5918
5919 * net/tramp.el (tramp-handle-file-accessible-directory-p): New defun.
5920
5921 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5922 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5923 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
5924 for `file-accessible-directory-p'. (Bug#13275)
5925
5926 2012-12-27 Sam Steingold <sds@gnu.org>
5927
5928 * progmodes/cperl-mode.el (cperl-calculate-indent): Do not stagger
5929 continuations, see <http://stackoverflow.com/questions/3582436>.
5930
5931 2012-12-27 Dmitry Gutov <dgutov@yandex.ru>
5932
5933 * progmodes/ruby-mode.el (ruby-indent-beg-re): Only allow "class",
5934 "module" and "def" to have indentation before them.
5935 Regression from 2012-09-07T04:15:56Z!dgutov@yandex.ru (see the new test).
5936
5937 * progmodes/ruby-mode.el: Bump the version to 1.2 (Bug#13200).
5938
5939 2012-12-27 Alan Mackenzie <acm@muc.de>
5940
5941 Speed up fontification where there's large brace blocks.
5942 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Add a limit
5943 to a call of c-beginning-of-decl-1.
5944
5945 2012-12-27 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
5946
5947 * comint.el (comint-adjust-window-point): New function.
5948 (comint-postoutput-scroll-to-bottom):
5949 Call comint-adjust-window-point (Bug#13248).
5950
5951 2012-12-26 Dmitry Gutov <dgutov@yandex.ru>
5952
5953 * progmodes/ruby-mode.el (auto-mode-alist): `purecopy' the
5954 Rakefile regexp.
5955 (auto-mode-alist): Associate .gemspec files with ruby-mode
5956 (https://bugs.ruby-lang.org/issues/5453).
5957
5958 2012-12-26 JĂ¼rgen Hötzel <juergen@archlinux.org>
5959
5960 * net/tramp-adb.el (tramp-adb-get-ls-command): New defun.
5961 Suppress coloring, if possible (required for BusyBox based systems like
5962 CyanogenMod).
5963 (tramp-adb-handle-file-attributes)
5964 (tramp-adb-handle-insert-directory)
5965 (tramp-adb-handle-file-name-all-completions): Use it.
5966 (tramp-adb-get-toolbox): New defun. Check for remote shell
5967 implementation (BusyBox or Toolbox).
5968
5969 2012-12-24 Constantin Kulikov <zxnotdead@gmail.com> (tiny change)
5970
5971 * startup.el (initial-buffer-choice): Allow function as value
5972 (Bug#13251).
5973 (command-line-1): Handle case where initial-buffer-choice
5974 specifies a function.
5975 * server.el (server-execute): Handle case where
5976 initial-buffer-choice specifies a function.
5977
5978 2012-12-24 Lars Ingebrigtsen <larsi@gnus.org>
5979
5980 * mail/smtpmail.el (smtpmail-try-auth-method): Refactored out into
5981 its own function.
5982 (smtpmail-try-auth-methods): Forget the user name/password if the
5983 login is unsuccessful (bug#12424).
5984
5985 2012-12-22 Michael Albinus <michael.albinus@gmx.de>
5986
5987 * notifications.el (notifications-notify): Protect body with
5988 `with-demoted-errors'.
5989
5990 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
5991 Check properties of remote device. Restart connection, if there is a
5992 change.
5993
5994 2012-12-21 Chong Yidong <cyd@gnu.org>
5995
5996 * sort.el (sort-subr): Doc fix (Bug#13056).
5997
5998 2012-12-21 Bastien Guerry <bzg@gnu.org>
5999
6000 * progmodes/etags.el (tags-search): Fix typo. Bug #13232.
6001
6002 2012-12-21 Michael Albinus <michael.albinus@gmx.de>
6003
6004 * simple.el (process-file): Overwrite stderr file, if exists.
6005
6006 2012-12-21 Daiki Ueno <ueno@gnu.org>
6007
6008 * epg.el (epg--start): Print GPG_AGENT_INFO in the debug buffer.
6009 (epg-error): Set `error-message' property.
6010
6011 2012-12-21 Chong Yidong <cyd@gnu.org>
6012
6013 * international/mule-cmds.el (read-char-by-name): Signal an error
6014 if the user does not supply a valid character (Bug#13177).
6015
6016 * simple.el (transpose-subr-1): Preserve marker positions by
6017 changing the insertion sequence (Bug#13122).
6018
6019 2012-12-21 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
6020
6021 * simple.el (kill-region): Deactivate mark even for empty regions
6022 (Bug#13169).
6023
6024 2012-12-21 Chong Yidong <cyd@gnu.org>
6025
6026 * help-fns.el (describe-variable): Make sure we get the right
6027 buffer name (Bug#13105). Suggested by Kelly Dean.
6028
6029 2012-12-20 Michael R. Mauger <mmaug@yahoo.com>
6030
6031 * comint.el (comint-redirect-previous-input-string): New variable.
6032 (comint-redirect-setup, comint-redirect-cleanup)
6033 (comint-redirect-preoutput-filter): Use it. Fixes redirection bug.
6034 (comint-redirect-preoutput-filter): Fix verbose message.
6035
6036 2012-12-20 Michael Albinus <michael.albinus@gmx.de>
6037
6038 * progmodes/grep.el (rgrep): Escape command line. Sometimes, it
6039 is too long for Tramp. See discussion in
6040 <http://thread.gmane.org/gmane.emacs.tramp/8233/focus=8244>.
6041
6042 * progmodes/compile.el (compilation-start): Remove line escape
6043 template.
6044
6045 2012-12-20 Dmitry Antipov <dmantipov@yandex.ru>
6046
6047 * vc/ediff-ptch.el (ediff-map-patch-buffer): Use `point-min-marker'.
6048 Adjust comment.
6049
6050 2012-12-19 Jonas Bernoulli <jonas@bernoul.li>
6051
6052 * emacs-lisp/lisp-mnt.el (lm-section-end): Always end before the
6053 following non-comment text (bug#13207).
6054 (lm-header-multiline): Continuation lines need to be indented more than
6055 the first line.
6056 (lm-homepage): New function.
6057 (lm-with-file): Don't be confused if narrowing is in effect.
6058
6059 2012-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
6060
6061 * vc/diff-mode.el (diff-post-command-hook): Don't ignore changes at the
6062 very beginning of a hunk (e.g. killing the first line).
6063
6064 2012-12-19 Michael Albinus <michael.albinus@gmx.de>
6065
6066 * net/tramp-sh.el (tramp-sh-handle-file-acl): Delete empty lines
6067 and text properties from returned ACL string.
6068 (tramp-sh-handle-set-file-acl): Do not use additional parentheses
6069 for "setfacl" command.
6070
6071 2012-12-18 Michael Albinus <michael.albinus@gmx.de>
6072
6073 * net/tramp.el (tramp-error-with-buffer): Give a hint to use
6074 `tramp-cleanup-this-connection', when the process has died.
6075 (Bug#13151)
6076
6077 2012-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
6078
6079 * icomplete.el (icomplete-completions): Also use … to truncate prefix.
6080
6081 2012-12-17 Kevin Ryde <user42@zip.com.au>
6082
6083 * files.el (auto-save-file-name-p): Use \` and \' (bug#13186).
6084
6085 2012-12-17 Michael Albinus <michael.albinus@gmx.de>
6086
6087 Add support for preserving ACL entries of files.
6088
6089 * net/tramp.el (tramp-file-name-for-operation): Add `file-acl' and
6090 `set-file-acl' handlers.
6091
6092 * net/tramp-adb.el (tramp-adb-handle-copy-file):
6093 Handle PRESERVE-EXTENDED-ATTRIBUTES.
6094
6095 * net/tramp-compat.el (tramp-compat-copy-file):
6096 Handle PRESERVE-EXTENDED-ATTRIBUTES.
6097
6098 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6099 Add `file-acl' and `set-file-acl' handlers.
6100 (tramp-gvfs-handle-copy-file):
6101 Handle PRESERVE-EXTENDED-ATTRIBUTES.
6102 (tramp-gvfs-handle-file-acl, tramp-gvfs-handle-set-file-acl):
6103 New defuns.
6104
6105 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6106 Add `file-acl' and `set-file-acl' handlers.
6107 (tramp-remote-acl-p, tramp-sh-handle-file-acl)
6108 (tramp-sh-handle-set-file-acl): New defuns.
6109 (tramp-sh-handle-copy-file, tramp-do-copy-or-rename-file):
6110 Handle PRESERVE-EXTENDED-ATTRIBUTES.
6111
6112 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
6113 Add `file-acl' and `set-file-acl' handlers.
6114 (tramp-smb-handle-copy-file): Handle PRESERVE-EXTENDED-ATTRIBUTES.
6115
6116 2012-12-17 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
6117
6118 * help-macro.el (make-help-screen): Instead of switch-to-buffer
6119 use pop-to-buffer with NORECORD argument t. As buffer name, use
6120 *Metahelp* with a leading space (Bug#13190).
6121
6122 2012-12-16 Romain Francoise <romain@orebokech.com>
6123
6124 * files.el (file-extended-attributes)
6125 (set-file-extended-attributes): New functions.
6126 (backup-buffer): Use them to handle both SELinux context and ACL
6127 entries.
6128 (backup-buffer-copy): Work with an alist of extended attributes,
6129 rather than an SELinux context.
6130 (basic-save-buffer-2): Ditto.
6131
6132 2012-12-16 Timo Myyrä <timo.myyra@gmail.com>
6133
6134 * battery.el (battery-bsd-apm): New function.
6135
6136 2012-12-16 Jay Belanger <jay.p.belanger@gmail.com>
6137
6138 * calc/calc.el (calc-standard-date-formats): Adjust one of the
6139 standard date formats.
6140
6141 2012-12-15 Juri Linkov <juri@jurta.org>
6142
6143 * isearch.el (isearch-mode-map): Bind `C-x 8 RET' to
6144 `isearch-insert-char-by-name'.
6145 (with-isearch-suspended): New defmacro with body mostly from
6146 `isearch-edit-string' except the part that sets
6147 `isearch-new-string' and `isearch-new-message'.
6148 (isearch-edit-string): Use new macro `with-isearch-suspended' with
6149 body that sets `isearch-new-string' and `isearch-new-message'.
6150 (isearch-insert-char-by-name): New command.
6151 * international/mule-cmds.el (read-char-by-name): Let-bind
6152 `enable-recursive-minibuffers' to t.
6153 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00234.html
6154
6155 2012-12-15 Juri Linkov <juri@jurta.org>
6156
6157 * isearch.el (isearch-delete-char, isearch-del-char): Doc fix.
6158 (Bug#13175)
6159
6160 2012-12-15 Christopher Schmidt <christopher@ch.ristopher.com>
6161
6162 * dired-x.el (dired-guess-shell-command): Put colon at the end of
6163 the prompt. (Bug#13045)
6164
6165 2012-12-14 Glenn Morris <rgm@gnu.org>
6166
6167 * emacs-lisp/macroexp.el (macroexp--warn-and-return):
6168 Try to include filename in non-bytecomp warning. (Bug#13132)
6169
6170 2012-12-14 Paul Eggert <eggert@cs.ucla.edu>
6171
6172 Fix permissions bugs with setgid directories etc. (Bug#13125)
6173 * files.el (backup-buffer): Don't rely on 9th output of
6174 file-attributes, as it's now a placeholder. Instead, use the new
6175 optional arg of file-ownership-preserved-p.
6176 (file-ownership-preserved-p): New optional arg GROUP.
6177 Fix mishandling of setuid directories that would cause this
6178 function to return t when it should have returned nil.
6179 Document what happens if the file does not exist, and when
6180 it's not known whether the ownership will be preserved.
6181 * net/tramp-sh.el (tramp-sh-handle-file-ownership-preserved-p):
6182 Likewise.
6183 (tramp-get-local-gid): Use group-gid for integer, as that's
6184 faster and more reliable.
6185
6186 2012-12-14 Julien Danjou <julien@danjou.info>
6187
6188 * progmodes/sql.el (sql-mode-postgres-font-lock-keywords):
6189 Update keywords list, data type and PL/pgSQL.
6190
6191 2012-12-14 Dave Abrahams <dave@boostpro.com>
6192
6193 * vc/ediff-util.el (ediff-buffer-type): New function.
6194 (ediff-clone-buffer-for-current-diff-comparison): Compute the buf-type
6195 rather than taking it as as argument.
6196 (ediff-inferior-compare-regions): Adjust calls accordingly (bug#11319).
6197
6198 2012-12-14 Ryan Crum <ryan.crum@eleostech.com>
6199
6200 * json.el: Add pretty-print option (bug#12634).
6201 (json-encoding-separator, json-encoding-default-indentation)
6202 (json--encoding-current-indentation, json-encoding-pretty-print)
6203 (json-encoding-lisp-style-closings): New vars.
6204 (json--with-indentation): New macro.
6205 (json-encode-hash-table, json-encode-alist, json-encode-plist)
6206 (json-encode-array): Use it to obey json-encoding-pretty-print.
6207 (json-pretty-print-buffer, json-pretty-print): New commands.
6208
6209 2012-12-14 Dmitry Gutov <dgutov@yandex.ru>
6210
6211 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
6212 Extract `ruby-syntax-propertize-expansions'.
6213 (ruby-syntax-propertize-expansions): Only change syntax on
6214 certain string delimiters, to punctuation. This way the common
6215 functions like forward-word and thing-at-point still work.
6216 (ruby-match-expression-expansion): Improve readability.
6217 (ruby-block-contains-point): New function.
6218 (ruby-add-log-current-method): Handle several edge cases.
6219
6220 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
6221
6222 * emacs-lisp/edebug.el (edebug-unload-function): Make sure that
6223 unload-feature finishes even when aborting an ongoing edebug session.
6224 Also, do not worry about edebug-mode, unload-feature takes care of it.
6225
6226 2012-12-13 Andreas Schwab <schwab@suse.de>
6227
6228 * net/tls.el (tls-program): Update customize type.
6229
6230 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
6231
6232 * emacs-lisp/edebug.el (edebug--require-cl-read): New function.
6233 (edebug-setup-hook, cl-read-load-hooks): Use it.
6234 (edebug-unload-function): New function. (Bug#13163)
6235
6236 2012-12-13 Michael Albinus <michael.albinus@gmx.de>
6237
6238 * net/tramp-adb.el (tramp-adb-file-name-p): Make it a defsubst.
6239 Otherwise, there could be errors in autoloading. (Bug#13151)
6240
6241 2012-12-13 JĂ¼rgen Hötzel <juergen@archlinux.org>
6242
6243 * net/tramp-adb.el (tramp-adb-wait-for-output): Remove spurious " ^H"
6244 sequences.
6245
6246 2012-12-13 Alan Mackenzie <acm@muc.de>
6247
6248 Make CC Mode not hang when _some_ lines end in CRLF. Bug #11841.
6249 * progmodes/cc-engine.el (c-backward-comments): Add code to work
6250 around `forward-comment' not recognizing ^M as whitespace.
6251
6252 2012-12-13 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
6253
6254 * progmodes/python.el (python-skeleton-class)
6255 (python-skeleton-def): Do not add space after defun name.
6256
6257 2012-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
6258
6259 * emacs-lisp/cl.el (letf): Make it an alias of cl-letf.
6260 (cl--symbol-function): Remove (now that funbound is like nil).
6261
6262 2012-12-12 Glenn Morris <rgm@gnu.org>
6263
6264 * button.el (button--area-button-p): Fix typo.
6265
6266 2012-12-12 Sam Steingold <sds@gnu.org>
6267
6268 * frame.el (frame-maximization-style): New user option.
6269 (toggle-frame-maximized): Toggle frame maximization according to
6270 `frame-maximization-style', bound to <f11>.
6271 (cycle-frame-maximized): Cycle between all maximization styles and
6272 non-maximized frame, bound to shift-<f11>.
6273
6274 2012-12-12 David Cadé <codename68@gmail.com>
6275
6276 * mpc.el (mpc-format): Use truncate-string-to-width (bug#13143).
6277
6278 2012-12-12 Jonas Bernoulli <jonas@bernoul.li>
6279
6280 * lisp/emacs-lisp/eieio.el: Prettier object pretty-printing (bug#13115).
6281 (eieio-override-prin1): Don't quote kewords and booleans.
6282 (object-write) <eieio-default-superclass>: Don't put closing parens
6283 on new line, avoid needless empty lines, align values that are objects
6284 with the slot keyword (instead of beginning on the same line).
6285 (eieio-list-prin1): Align value with slot keyword; increase
6286 eieio-print-depth before printing members of the list.
6287
6288 2012-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
6289
6290 * mail/emacsbug.el (report-emacs-bug): Move the intangible text to
6291 a display text-property.
6292 (report-emacs-bug-hook): Don't bother deleting it any more.
6293
6294 * hilit-chg.el (highlight-save-buffer-state): Delete.
6295 Use with-silent-modifications instead.
6296 (hilit-chg-set-face-on-change): Only fixup the text that's modified.
6297
6298 * button.el: Handle buttons in display text-properties.
6299 (button--area-button-p, button--area-button-string):
6300 Use (STRING . STRING-POS) representation instead of just STRING.
6301
6302 2012-12-11 Eli Zaretskii <eliz@gnu.org>
6303
6304 * makefile.w32-in (compile4-SH): Fix a typo that caused term
6305 subdirectory be skipped.
6306
6307 2012-12-11 Glenn Morris <rgm@gnu.org>
6308
6309 * net/rcirc.el (rcirc-urls, rcirc-condition-filter): Doc fixes.
6310
6311 * progmodes/f90.el (f90-line-continued, f90-indent-region):
6312 Treat preprocessor lines embedded in continuations like comments.
6313 (f90-indent-line): Special-case preprocessor lines. (Bug#13138)
6314
6315 2012-12-11 Jay Belanger <jay.p.belanger@gmail.com>
6316
6317 * calc/calc.el (calc-standard-date-formats): Add more date
6318 formats.
6319 * calc/calc-forms.el (math-parse-iso-date): New function.
6320 (math-parse-date): Use `math-parse-iso-date' when appropriate.
6321 (math-parse-iso-date-validate): Add extra error checking.
6322 (calc-date-notation): Add ability to access new date formats.
6323
6324 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
6325
6326 * hi-lock.el (hi-lock--regexps-at-point): Fix boundary case for
6327 font-lock as well as when there's no text-property.
6328
6329 2012-12-10 Jambunathan K <kjambunathan@gmail.com>
6330
6331 * hi-lock.el: Refine the choice of default face.
6332 (hi-lock-keyword->face): New function. Use it wherever we used
6333 cadadadr instead.
6334 (hi-lock--regexps-at-point): Ignore faces that can't come from hi-lock.
6335 (hi-lock--last-face): Remove var.
6336 (hi-lock--unused-faces): New var to replace it.
6337 (hi-lock-read-face-name): Use/maintain it.
6338 (hi-lock-unface-buffer): Maintain it. Fix error for the C-u case.
6339 (hi-lock-set-pattern): Ignore new rule if it has the same regexp even
6340 if it has another face.
6341
6342 2012-12-10 Eli Zaretskii <eliz@gnu.org>
6343
6344 * subr.el (w32notify-handle-event): New function.
6345 (inotify-handle-event): Doc fix.
6346
6347 2012-12-10 RĂ¼diger Sonderfeld <ruediger@c-plusplus.de>
6348
6349 * subr.el (inotify-event-p, inotify-handle-event): New functions.
6350
6351 2012-12-10 Dani Moncayo <dmoncayo@gmail.com>
6352
6353 * simple.el (just-one-space): Doc fix.
6354
6355 2012-12-10 Eli Zaretskii <eliz@gnu.org>
6356
6357 * textmodes/texinfo.el (texinfo-enable-quote-envs): Add "smallexample".
6358
6359 2012-12-10 Le Wang <l26wang@gmail.com>
6360
6361 * hilit-chg.el (hilit-chg-set-face-on-change): Don't burp in
6362 narrowed buffer (bug#12361).
6363
6364 2012-12-10 Juanma Barranquero <lekktu@gmail.com>
6365
6366 * vc/vc-hooks.el (vc-state): Doc fix.
6367
6368 2012-12-10 Glenn Morris <rgm@gnu.org>
6369
6370 * mail/rmail.el (rmail-maybe-display-summary):
6371 Preserve buffer, in case select-window changes it. (Bug#13066)
6372
6373 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
6374
6375 * emacs-lisp/cl.el, emacs-lisp/cl-lib.el: Move cl-unload-function and
6376 cl-load-hook where they belong.
6377
6378 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
6379
6380 * emacs-lisp/cl-lib.el (cl-declaim): Paren typo.
6381
6382 2012-12-09 Eli Zaretskii <eliz@gnu.org>
6383
6384 Parallelize byte compilation on MS-Windows.
6385 * makefile.w32-in (WINS_BASIC1, WINS_BASIC2, WINS_BASIC3)
6386 (WINS_BASIC4): New variables, subdivide subdirectories into 4 parts.
6387 (WINS_BASIC): Define as concatenation of the above.
6388 (compile): Subdivide into 4 separate and independent jobs that can
6389 be run in parallel.
6390 (compile0-CMD, compile0-SH): New targets for compiling
6391 COMPILE_FIRST files, which are prerequisites for the rest of the
6392 byte-compilation.
6393 (compile1-CMD, compile2-CMD, compile3-CMD, compile4-CMD):
6394 New targets for parallel compilation with cmd.exe.
6395 (compile1-SH, compile2-SH, compile3-SH, compile4-SH): Ditto for
6396 compiling under a Unixy shell.
6397
6398 2012-12-09 Chong Yidong <cyd@gnu.org>
6399
6400 * simple.el (set-mark-default-inactive): Delete this
6401 accidentally-introduced option.
6402 (set-mark-command, exchange-point-and-mark): Remove calls.
6403
6404 2012-12-09 Glenn Morris <rgm@gnu.org>
6405
6406 * emacs-lisp/lisp-mode.el (eval-defun-1): Doc fix.
6407 Respect a defcustom's :set function, if appropriate. (Bug#109)
6408 (eval-defun): Doc fix.
6409
6410 2012-12-08 Juri Linkov <juri@jurta.org>
6411
6412 * info.el (Info-copy-current-node-name, Info-breadcrumbs)
6413 (Info-fontify-node, Info-bookmark-make-record): Remove the
6414 file extension from Info-current-file (Bug#13016).
6415
6416 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
6417
6418 * hi-lock.el (hi-lock-unface-buffer): If there's no matching regexp at
6419 point, still provide some default.
6420 (hi-lock--regexps-at-point): Don't enforce a "hi-lock-" prefix on face
6421 names, since we don't use it right now. Actually return the list.
6422 (hi-lock-file-patterns, hi-lock-interactive-patterns): Use defvar-local.
6423
6424 2012-12-07 Chong Yidong <cyd@gnu.org>
6425
6426 * novice.el (disabled-command-function): Remove a spurious help
6427 xref (Bug#13043). Suggested by Kelly Dean.
6428
6429 * subr.el (text-clone-maintain): Fix clone overlay deletion when a
6430 syntax is specified (Bug#13025).
6431
6432 * info.el (Info-set-mode-line): Remove the file extension from
6433 Info-current-file if there is one (Bug#13016).
6434
6435 2012-12-07 Glenn Morris <rgm@gnu.org>
6436
6437 * mail/rmail.el (rmail-mime-decoded): New permanent local.
6438 (rmail-show-message-1): Set rmail-mime-decoded when appropriate.
6439 * mail/rmailedit.el (rmail-cease-edit): Respect rmail-mbox-format
6440 and rmail-mime-decoded. (Bug#9841)
6441
6442 * mail/unrmail.el (unrmail-mbox-format): New option. (Bug#6574)
6443 (batch-unrmail, unrmail): Doc fixes.
6444 (unrmail): Respect unrmail-mbox-format.
6445 * mail/rmail.el (rmail-mbox-format): New option.
6446 (rmail-show-message-1): Respect rmail-mbox-format.
6447
6448 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
6449
6450 * emacs-lisp/cl-macs.el (cl-tagbody): New macro.
6451
6452 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
6453
6454 Further cleanup of the "cl-" namespace. Fit CL in 80 columns.
6455 * emacs-lisp/cl-macs.el (cl--pop2, cl--optimize-safety)
6456 (cl--optimize-speed, cl--not-toplevel, cl--parse-loop-clause)
6457 (cl--expand-do-loop, cl--proclaim-history, cl--declare-stack)
6458 (cl--do-proclaim, cl--proclaims-deferred): Rename from the "cl-" prefix.
6459 (cl-progv): Don't rely on dynamic scoping to find the body.
6460 * emacs-lisp/cl-lib.el (cl--optimize-speed, cl--optimize-safety)
6461 (cl--proclaims-deferred): Rename from the "cl-" prefix.
6462 (cl-declaim): Use backquotes.
6463 * emacs-lisp/cl-extra.el (cl-make-random-state, cl-random-state-p):
6464 Use "cl--" prefix for the object's tag.
6465
6466 * ses.el: Use advice-add/remove.
6467 (ses--advice-copy-region-as-kill, ses--advice-yank): New functions.
6468 (copy-region-as-kill, yank): Use advice-add.
6469 (ses-unload-function): Use advice-remove.
6470
6471 2012-12-06 Jonas Bernoulli <jonas@bernoul.li>
6472
6473 * button.el: Make them work in header-lines (bug#12817).
6474 (button-map): Add bindings for header-line and mode-line use.
6475 (button-get, button-put, button-label): `button' may now be a string.
6476 (button-activate): Don't make it a defsubst.
6477 (button--area-button-p, button--area-button-string): New functions.
6478 (make-text-button): Fix the return value when `beg' was a string.
6479 (push-button): Handle the mode-line case.
6480
6481 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
6482
6483 * progmodes/sql.el: Use cl-lib and lexical-binding; various cleanup.
6484 (sql-signum): Remove. Use `cl-signum' instead.
6485 (sql-read-passwd): Remove; use read-passwd instread.
6486 (sql-get-login-ext): Use read-string.
6487 (sql-get-login): Use dolist and pcase.
6488 (sql--completion-table): Rename from sql-try-completion.
6489 Use complete-with-action.
6490 (sql-mode): Don't change abbrev-all-caps globally.
6491 (sql-connect): Don't rely on dynamic scoping for `new-name'.
6492 (sql-postgres-completion-object): Initialize vars in their `let'.
6493 (sql-comint-sybase, sql-comint-sqlite, sql-comint-mysql)
6494 (sql-comint-solid, sql-comint-ms, sql-comint-postgres)
6495 (sql-comint-interbase): Use a single append, without setq.
6496 (sql-comint-linter): Same, and unwind-protect the LINTER_MBX var.
6497
6498 * hi-lock.el: Rework the default face and the serialize regexp code.
6499 (hi-lock--auto-select-face-defaults): Remove.
6500 (hi-lock-string-serialize-serial): Remove.
6501 (hi-lock--hashcons-hash): Rename from hi-lock-string-serialize-hash;
6502 make weak.
6503 (hi-lock--hashcons): Rename from hi-lock-string-serialize, return an
6504 equal string.
6505 (hi-lock-set-pattern): Adjust accordingly.
6506 (hi-lock--regexps-at-point): Simplify accordingly.
6507 (hi-lock--auto-select-face-defaults): Remove.
6508 (hi-lock--last-face): New var to replace it.
6509 (hi-lock-read-face-name): Rewrite (bug#11095).
6510 (hi-lock-unface-buffer): Arrange for the face to be the next default.
6511
6512 2012-12-06 Michael Albinus <michael.albinus@gmx.de>
6513
6514 * net/tramp.el (tramp-replace-environment-variables):
6515 Hide compiler warning.
6516 (tramp-file-name-for-operation): Remove `executable-find',
6517 `start-process', `call-process' and `call-process-region'.
6518
6519 * net/tramp-compat.el (top): Don't require 'tramp-util and 'tramp-vc.
6520
6521 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Ensure backward
6522 compatibility.
6523
6524 * net/tramp-sh.el (top): Remove `tramp-sh-handle-call-process-region'.
6525
6526 2012-12-06 Chong Yidong <cyd@gnu.org>
6527
6528 * ffap.el (ffap-replace-file-component): Fix typo.
6529
6530 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
6531
6532 * progmodes/octave-mod.el (octave-mark-block): Move out of tokens and
6533 fix open-paren-like token test (bug#12785).
6534
6535 2012-12-06 Glenn Morris <rgm@gnu.org>
6536
6537 * mail/rmailsum.el (rmail-new-summary): Tweak for
6538 rmail-maybe-display-summary changing buffer. (Bug#13066)
6539
6540 2012-12-06 Juri Linkov <juri@jurta.org>
6541
6542 * info.el (Info-fontify-node): Don't hide the last newline.
6543 (Bug#12272)
6544
6545 2012-12-06 Katsumi Yamaoka <yamaoka@jpl.org>
6546
6547 * mail/mailabbrev.el (mail-abbrev-expand-wrapper): Work in minibuffer
6548 so as to enable message-read-from-minibuffer to expand mail aliases.
6549
6550 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
6551
6552 * minibuf-eldef.el (minibuf-eldef-update-minibuffer): Don't mess with
6553 the `intangible' property.
6554 Suggested by Christopher Schmidt <christopher@ch.ristopher.com>
6555
6556 2012-12-05 Deniz Dogan <deniz@dogan.se>
6557
6558 * net/rcirc.el (rcirc-urls): Update documentation.
6559 (rcirc-condition-filter): New function.
6560 (rcirc-browse-url, rcirc-markup-urls): Use only URLs before point
6561 and exclude consecutive duplicate URLs (Bug#6082).
6562
6563 2012-12-05 Michael Albinus <michael.albinus@gmx.de>
6564
6565 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
6566 Check return code of copy command.
6567
6568 * net/tramp-adb.el (tramp-adb-sdk-dir, tramp-adb-prompt):
6569 Use group `tramp'. Add version.
6570
6571 2012-12-05 Chong Yidong <cyd@gnu.org>
6572
6573 * ffap.el (ffap-url-regexp): Don't require matching at front of
6574 string (Bug#4952).
6575 (ffap-url-p): If only a substring matches, return that.
6576 (ffap-url-at-point): Use the return value of ffap-url-p.
6577 (ffap-read-file-or-url, ffap-read-file-or-url-internal)
6578 (find-file-at-point, dired-at-point, dired-at-point-prompter)
6579 (ffap-guess-file-name-at-point): Likewise.
6580 (ffap-replace-file-component): Fix typo.
6581
6582 * info.el (info-display-manual): Add existing Info buffers, whose
6583 files may not be in Info-directory-list, to the completion.
6584 (info--manual-names): New helper function.
6585
6586 2012-12-05 Glenn Morris <rgm@gnu.org>
6587
6588 * vc/vc-hg.el (vc-hg-resolve-when-done, vc-hg-find-file-hook):
6589 New functions, for detecting and resolving conflicts. (Bug#10709)
6590
6591 2012-12-04 Jambunathan K <kjambunathan@gmail.com>
6592
6593 * hi-lock.el (hi-lock-auto-select-face): New user variable.
6594 (hi-lock-auto-select-face-defaults): New buffer local variable.
6595 (hi-lock-read-face-name): Honor `hi-lock-auto-select-face'.
6596 (hi-lock-unface-buffer): Prompt user with useful defaults.
6597 With prefix arg, unhighlight all hi-lock patterns in buffer.
6598
6599 2012-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
6600
6601 * obsolete/terminal.el, obsolete/longlines.el: Add obsolecence info.
6602
6603 2012-12-04 Michael Albinus <michael.albinus@gmx.de>
6604
6605 * Makefile.in (TRAMP_SRC):
6606 * makefile.w32-in (TRAMP_SRC): Add tramp-adb.el.
6607
6608 2012-12-04 Juergen Hoetzel <juergen@archlinux.org>
6609
6610 * net/tramp-adb.el: New package.
6611
6612 2012-12-04 Chong Yidong <cyd@gnu.org>
6613
6614 * terminal.el: Move to obsolete/.
6615
6616 * longlines.el: Move to obsolete/.
6617
6618 * vc/ediff-diff.el (ediff-extract-diffs, ediff-extract-diffs3):
6619 Remove code referring to longlines mode.
6620
6621 2012-12-03 Juri Linkov <juri@jurta.org>
6622
6623 * sort.el (delete-duplicate-lines): New command. (Bug#13032)
6624
6625 2012-12-03 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
6626
6627 * textmodes/ispell.el (ispell-init-process)
6628 (ispell-start-process, ispell-internal-change-dictionary):
6629 Make sure personal dictionary name is expanded after initial
6630 `default-directory' value. Use expanded strings for
6631 keep/restart checks and for value (Bug#13019).
6632
6633 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
6634
6635 * calc/calc-forms.el (math-date-to-iso-dt): Fix weekday number.
6636
6637 2012-12-03 Leo Liu <sdl.web@gmail.com>
6638
6639 * files.el (dir-locals-read-from-file): Check file non-empty
6640 before reading. (Bug#13038)
6641
6642 2012-12-03 Glenn Morris <rgm@gnu.org>
6643
6644 * jka-cmpr-hook.el (jka-compr-get-compression-info):
6645 Remove any version extension before checking filename. (Bug#13006)
6646 (jka-compr-compression-info-list): Belated :version bump.
6647
6648 2012-12-03 Chong Yidong <cyd@gnu.org>
6649
6650 * simple.el (transient-mark-mode): Doc fix (Bug#11523).
6651
6652 * buff-menu.el (Buffer-menu-delete-backwards, Buffer-menu-mode)
6653 (buffer-menu): Doc fix (Bug#12294).
6654
6655 2012-12-03 Roland Winkler <winkler@gnu.org>
6656
6657 * calendar/diary-lib.el (diary-header-line-format): Use keybinding
6658 of diary-show-all-entries in the diary buffer (Bug#12994).
6659
6660 2012-12-03 Michael Albinus <michael.albinus@gmx.de>
6661
6662 * net/tramp-sh.el (tramp-perl-encode): Use "read STDIN" instead of
6663 "<STDIN>". This is binary safe.
6664
6665 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
6666
6667 * calc/calc-forms.el (math-absolute-from-iso-dt)
6668 (math-date-to-iso-dt, math-parse-iso-date-validate)
6669 (math-iso-dt-to-date): New functions.
6670 (math-fd-iso-dt, math-fd-isoyear, math-fd-isoweek)
6671 (math-fd-isoweekday): New variables.
6672 (calc-date-notation, math-parse-standard-date, math-format-date)
6673 (math-format-date-part): Add support for more formatting codes.
6674
6675 2012-12-02 Dmitry Gutov <dgutov@yandex.ru>
6676
6677 * vc/vc.el (vc-delete-file, vc-rename-file): Default to the
6678 current buffer's file name when called interactively (Bug#12488).
6679
6680 2012-12-02 Juri Linkov <juri@jurta.org>
6681
6682 * info.el (info-display-manual): Don't clobber an existing Info
6683 buffer (Bug#10770). Add completion (Bug#10771).
6684
6685 2012-12-01 Yuya Nishihara <yuya@tcha.org> (tiny change)
6686
6687 * vc/vc-hooks.el (vc-find-file-hook): Expand buffer-file-truename
6688 before using it for comparison (Bug#5297).
6689
6690 2012-12-01 Jari Aalto <jari.aalto@cante.net>
6691
6692 * textmodes/css-mode.el (css-current-defun-name): New function.
6693 (css-mode): Use it.
6694
6695 * textmodes/sgml-mode.el (html-current-defun-name): New function.
6696 (html-mode): Use it.
6697
6698 2012-12-01 Chong Yidong <cyd@gnu.org>
6699
6700 Modularize add-log-current-defun (Bug#2224).
6701 Suggested by Jari Aalto.
6702
6703 * vc/add-log.el (add-log-current-defun-function): Doc fix.
6704 (add-log-current-defun): Move mode-specific code to other files.
6705 (add-log-lisp-like-modes, add-log-c-like-modes)
6706 (add-log-tex-like-modes): Variables deleted.
6707
6708 * emacs-lisp/lisp-mode.el (lisp-current-defun-name): New.
6709 (lisp-mode-variables): Use it.
6710
6711 * progmodes/cc-mode.el (c-common-init):
6712 * progmodes/cperl-mode.el (cperl-mode): Set a value for
6713 add-log-current-defun-function.
6714
6715 * progmodes/m4-mode.el (m4-current-defun-name): New function.
6716 (m4-mode): Use it.
6717
6718 * progmodes/perl-mode.el (perl-current-defun-name): New.
6719 (perl-mode): Use it.
6720
6721 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
6722 Use lisp-current-defun-name.
6723
6724 * textmodes/tex-mode.el (tex-current-defun-name): New.
6725 (tex-common-initialization): Use it.
6726
6727 * textmodes/texinfo.el (texinfo-current-defun-name): New.
6728 (texinfo-mode): Use it.
6729
6730 2012-12-01 Chong Yidong <cyd@gnu.org>
6731
6732 * emacs-lisp/lisp-mode.el (lisp-mode-variables, lisp-mode):
6733 * progmodes/autoconf.el (autoconf-mode):
6734 * progmodes/js.el (js-mode):
6735 * progmodes/make-mode.el (makefile-mode, makefile-makepp-mode)
6736 (makefile-bsdmake-mode, makefile-imake-mode, makefile-browse):
6737 * progmodes/perl-mode.el (perl-mode):
6738 * progmodes/sh-script.el (sh-mode, sh-set-shell):
6739 * textmodes/css-mode.el (css-mode):
6740 * textmodes/sgml-mode.el (html-mode, sgml-mode)
6741 (sgml-tags-invisible, sgml-guess-indent):
6742 * textmodes/tex-mode.el (tex-common-initialization)
6743 (latex-complete-bibtex-keys, tex-shell, tex-main-file)
6744 (doctex-mode, plain-tex-mode, latex-mode):
6745 * textmodes/texinfo.el (texinfo-mode): Use setq-local.
6746
6747 2012-12-01 Kirk Kelsey <kirk.kelsey@0x4b.net>
6748
6749 * vc/vc-hg.el (vc-hg-next-revision):
6750 Ensure use of default "tip" output format. (Bug#6968)
6751
6752 2012-12-01 Kim F. Storm <storm@cua.dk>
6753
6754 * startup.el (fancy-startup-tail): Add a clickable link
6755 (Bug#2176).
6756
6757 2012-12-01 Chong Yidong <cyd@gnu.org>
6758
6759 * startup.el (fancy-startup-tail): Improve the message about
6760 auto-save files (Bug#2176).
6761
6762 * files.el (recover-session): Improve the descriptive message, and
6763 use substitute-command-keys.
6764
6765 2012-12-01 Glenn Morris <rgm@gnu.org>
6766
6767 * ido.el (ido-file-internal):
6768 Handle other-window, other-frame for dired. (Bug#13036)
6769
6770 2012-11-30 Glenn Morris <rgm@gnu.org>
6771
6772 * icomplete.el (icomplete-separator): Fix :version.
6773
6774 2012-11-30 Chong Yidong <cyd@gnu.org>
6775
6776 * shell.el (shell): For C-u M-x shell, use an inactive shell
6777 buffer as the default (Bug#1975).
6778 (shell-apply-ansi-color, shell-reapply-ansi-color): New functions.
6779 (shell-mode): Use them to reapply ansi colorization if Shell mode
6780 is re-enabled.
6781
6782 2012-11-30 Yuriy Vostrikov <delamonpansie@gmail.com> (tiny change)
6783
6784 * vc/vc-git.el (vc-git-command): Disable the pager (Bug#6137).
6785
6786 2012-11-30 Samuel Bronson <naesten@gmail.com>
6787
6788 * progmodes/grep.el (grep-compute-defaults): Do not pass the -e
6789 flag to xargs, for compatibility with BSD xargs (Bug#11703).
6790
6791 2012-11-30 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
6792
6793 * textmodes/fill.el (fill-region-as-paragraph): Handle overshoot
6794 by move-to-column (Bug#3234).
6795
6796 2012-11-30 Chong Yidong <cyd@gnu.org>
6797
6798 * longlines.el (longlines-wrap-line, longlines-encode-region):
6799 Preserve text properties (Bug#1425).
6800
6801 2012-11-30 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
6802
6803 * vc/vc.el (vc-register): Allow registering a file which is
6804 already registered with a different backend (Bug#10589).
6805
6806 2012-11-29 Jambunathan K <kjambunathan@gmail.com>
6807 Stefan Monnier <monnier@iro.umontreal.ca>
6808
6809 * icomplete.el: Change separator; add ido-style commands.
6810 (icomplete-show-key-bindings): Remove custom var.
6811 (icomplete-get-keys): Remove function.
6812 (icomplete-forward-completions, icomplete-backward-completions):
6813 New commands.
6814 (icomplete-minibuffer-map): New var.
6815 (icomplete-minibuffer-setup): Use it.
6816 (icomplete-exhibit): Don't delay if the list of completions is known.
6817 (icomplete-separator): New custom.
6818 (icomplete-completions): Use it.
6819 * minibuffer.el (completion-all-sorted-completions): Delete duplicates.
6820 (minibuffer-force-complete-and-exit): New command.
6821 (minibuffer--complete-and-exit): New function extracted from
6822 minibuffer-complete-and-exit.
6823 (minibuffer-complete-and-exit): Use it.
6824
6825 * progmodes/etags.el (visit-tags-table-buffer): Give a more precise
6826 error message when the file doesn't exist (bug#12974).
6827
6828 2012-11-29 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
6829
6830 * simple.el (activate-mark): Run activate-mark-hook (bug#13027).
6831
6832 2012-11-29 Glenn Morris <rgm@gnu.org>
6833
6834 * files.el (hack-dir-local-variables): Warn if try to set
6835 coding via dir-locals, since it doesn't work. (Bug#7169)
6836
6837 Add desktop support for restoring vc-dir buffers. (Bug#10606)
6838 * vc/vc-dir.el (vc-dir-mode): Autoload it (for desktop restore).
6839 Set buffer-local value of desktop-save-buffer.
6840 (vc-dir-desktop-buffer-misc-data, vc-dir-restore-desktop-buffer):
6841 New functions.
6842 (desktop-buffer-mode-handlers): Add vc-dir-mode entry.
6843 * desktop.el (desktop-save-buffer-p): Treat vc-dir like dired.
6844
6845 * files.el (inhibit-local-variables-ignore-case): New. (Bug#10610)
6846 (inhibit-local-variables-p): Use inhibit-local-variables-ignore-case.
6847 Doc fix.
6848 (inhibit-local-variables-regexps, inhibit-local-variables-suffixes):
6849 Doc fixes.
6850
6851 2012-11-28 Jay Belanger <jay.p.belanger@gmail.com>
6852
6853 * calc/calc-forms.el (calc-date-notation): Fix regexp
6854 used to find time codes. Fix symbol for seconds.
6855
6856 2012-11-27 Glenn Morris <rgm@gnu.org>
6857
6858 * emacs-lisp/derived.el (derived-mode-make-docstring):
6859 Don't mention "abbrev" or "syntax" if nil. (Bug#11277)
6860
6861 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
6862
6863 * textmodes/table.el (table-insert): Don't use `symbol-name' on
6864 lexically scoped variables (bug#13005).
6865
6866 2012-11-27 Glenn Morris <rgm@gnu.org>
6867
6868 * vc/vc-hooks.el (vc-mistrust-permissions):
6869 Default to t, to avoid data-loss. (Bug#11490)
6870
6871 2012-11-27 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
6872
6873 * progmodes/python.el (python-indent-guess-indent-offset):
6874 If indentation is guessed make python-indent-offset buffer-local.
6875
6876 Fix Imenu regression.
6877 * progmodes/python.el (python-nav-beginning-of-defun):
6878 Fix forward movement when statement(s) separates point from defun.
6879 (python-imenu-prev-index-position): New function.
6880
6881 2012-11-27 Eli Zaretskii <eliz@gnu.org>
6882
6883 * subr.el (buffer-file-type): Declare with defvar-local. Doc fix.
6884
6885 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
6886 Don't set buffer-file-type. Return nil. (Bug#12989)
6887
6888 2012-11-27 Glenn Morris <rgm@gnu.org>
6889
6890 * hippie-exp.el (hippie-expand-try-functions-list):
6891 Re-autoload it. (Bug#12982)
6892
6893 2012-11-27 Eli Zaretskii <eliz@gnu.org>
6894
6895 * descr-text.el (describe-char-padded-string):
6896 Call internal-char-font only on GUI frames. (Bug#11964)
6897
6898 2012-11-27 Andreas Schwab <schwab@linux-m68k.org>
6899
6900 * buff-menu.el (Buffer-menu-buffer+size-width): Fix customize type
6901 and obsoletion message.
6902
6903 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
6904
6905 * emacs-lisp/cl-macs.el (cl--transform-lambda): Add back `declare' in
6906 the constructs to keep outside of the `cl-block' (bug#12977).
6907
6908 2012-11-27 Chong Yidong <cyd@gnu.org>
6909
6910 * mouse.el (mouse-drag-line): Even if the line is not draggable,
6911 keep reading until we get the up-event anyway, in order to process
6912 the up-event for mouse-1-click-follows-link (Bug#12971).
6913
6914 2012-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
6915
6916 * emacs-lisp/advice.el (ad-should-compile): Don't compile advice if the
6917 base function is not yet defined (bug#12965).
6918 (ad-activate-advised-definition): Use ad-compile-function.
6919 (ad-activate): Use cond.
6920
6921 2012-11-25 Leo Liu <sdl.web@gmail.com>
6922
6923 * textmodes/sgml-mode.el (sgml-tag): Fix indentation for closing tag.
6924 (Bug#12979)
6925
6926 2012-11-24 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
6927
6928 * textmodes/reftex-parse.el (reftex-parse-from-file): Use variable
6929 reftex-section-info-function in order to be compatible with
6930 Texinfo integration.
6931
6932 * textmodes/reftex.el (reftex-section-pre-regexp)
6933 (reftex-section-post-regexp, reftex-section-info-function):
6934 New variable.
6935 (reftex-compile-variables): Use variables reftex-section-pre-regexp,
6936 reftex-section-post-regexp, and reftex-section-info-function in order
6937 to be compatible with Texinfo integration.
6938
6939 * textmodes/reftex-toc.el (reftex-toc-promote-action):
6940 use reftex-section-pre-regexp variable in order to be compatible with
6941 Texinfo integration.
6942
6943 2012-11-25 Chong Yidong <cyd@gnu.org>
6944
6945 * faces.el: Make face-spec-set more analogous to setq.
6946 (face-spec-set): Change the third arg to specify whether this
6947 function is being called via defface, customize, or a third party.
6948 Set the appropriate symbol properties. Clear the override spec if
6949 setting via Custom. Initialize face if necessary. (Bug#4988)
6950 (face-spec-recalc): Allow theme faces to completely replace the
6951 defface spec, in the same way as custom faces (Bug#8454).
6952
6953 * cus-face.el (custom-declare-face): Move face initialization to
6954 face-spec-set.
6955 (custom-theme-set-faces): Don't initialize the face name here, as
6956 that is now done in face-spec-set.
6957
6958 * cus-edit.el (custom-face-set, custom-face-mark-to-save)
6959 (custom-face-reset-saved, custom-face-mark-to-reset-standard):
6960 Simplify by using the new arg to face-spec-set.
6961
6962 * emacs-lisp/lisp-mode.el (eval-defun-1): When evaluating defface,
6963 reset face-override-spec too, and use custom-declare-face.
6964
6965 2012-11-24 Jan Djärv <jan.h.d@swipnet.se>
6966
6967 * term/ns-win.el (ns-initialize-window-system): Move creation of
6968 fontsets here (Bug#11964).
6969
6970 2012-11-24 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
6971
6972 * ses.el (ses-rename-cell): Correct bug on mode-line update after
6973 cell renaming.
6974
6975 2012-11-24 Chong Yidong <cyd@gnu.org>
6976
6977 * woman.el (woman-default-faces, woman-monochrome-faces): Mark as
6978 obsolete.
6979
6980 * custom.el (custom-theme-set-variables): Use a topological sort
6981 for ordering by custom dependencies (Bug#12952).
6982 (custom--sort-vars, custom--sort-vars-1): New functions.
6983
6984 2012-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
6985
6986 * emacs-lisp/bytecomp.el (byte-compile-file): Setup default value for
6987 lexical-binding (bug#12938).
6988
6989 2012-11-24 Wolfgang Jenkner <wjenkner@inode.at>
6990
6991 * image-mode.el (image-transform-check-size): Use assertions only
6992 for images of type imagemagick.
6993
6994 Otherwise no error, image-transform-fit-to-{width,height} is
6995 silently ignored, as before. Doc fix.
6996
6997 2012-11-24 Chong Yidong <cyd@gnu.org>
6998
6999 * faces.el (color-defined-p): Doc fix (Bug#12853).
7000
7001 2012-11-24 Juri Linkov <juri@jurta.org>
7002
7003 * dired.el (dired-mark): Add optional arg `interactive'.
7004 Check for `use-region-p' if `interactive' is non-nil.
7005 (dired-unmark, dired-flag-file-deletion): Add optional arg
7006 `interactive'. Call `dired-mark' with the arg `interactive'.
7007 (Bug#10624)
7008
7009 * wdired.el: Revert 2012-10-17 change partly and replace it with
7010 Patch by Christopher Schmidt <christopher@ch.ristopher.com>.
7011 (wdired-finish-edit): Add marks for new file names to
7012 `wdired-old-marks'. Restore marks using `dired-mark-remembered'
7013 after `revert-buffer'.
7014 (wdired-do-renames): Remove calls to `dired-remove-file',
7015 `dired-add-file', `dired-add-entry'. (Bug#11795)
7016
7017 2012-11-24 Alan Mackenzie <acm@muc.de>
7018
7019 * progmodes/cc-defs.el (c-version): Bump to 5.32.4.
7020
7021 Fix bugs in the state cache. Enhance a debugging mechanism.
7022 * progmodes/cc-engine.el (c-parse-state-get-strategy): Don't use
7023 "brace at column zero" strategy for C++.
7024 (c-append-lower-brace-pair-to-state-cache): Repair algorithm.
7025 (c-parse-state-point): New variable.
7026 (c-record-parse-state-state): Record old parse state with
7027 `copy-tree'. Record previous value of point.
7028 (c-debug-parse-state-double-cons): New debugging function.
7029 (c-debug-parse-state): Call the above new function.
7030 (c-toggle-parse-state-debug): Output a confirmatory message.
7031
7032 * progmodes/cc-mode.el (c-before-change, c-after-change):
7033 Call c-invalidate-state-cache from `c-before-change' instead of
7034 `c-after-change'.
7035
7036 2012-11-23 Chong Yidong <cyd@gnu.org>
7037
7038 * find-cmd.el (find-constituents): Add executable, ipath,
7039 readable, samefile, writable, daystart, regextype (Bug#12856).
7040
7041 2012-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
7042
7043 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: Use cl-lib and lexical-binding.
7044
7045 2012-11-22 Paul Eggert <eggert@cs.ucla.edu>
7046
7047 * calc/calc.el (calc-gregorian-switch): Move to after calc-refresh
7048 definition. This fixes a bootstrap failure.
7049 (calc-gregorian-switch): In menu, put dates before regions.
7050 This is easier to follow, lines up better in the menu, and lets us
7051 coalesce regions that switch at the same time. Give country
7052 names, not "Vatican", as that's better for non-expert users.
7053 Use names that are stable between the date of switch and now, e.g.,
7054 Bohemia and Moravia (which existed then and now) and not
7055 Czechoslovakia (which didn't exist then and doesn't exist now).
7056 What is now the U.S. mostly did not switch at the same time as
7057 Britain, so omit the U.S. Correct spelling of "Britain".
7058 Catholic Switzerland was too much of a mess, so omit it.
7059
7060 2012-11-22 Jay Belanger <jay.p.belanger@gmail.com>
7061
7062 * calc/calc.el (calc-gregorian-switch): Refresh the Calc buffer
7063 after the variable is changed.
7064
7065 2012-11-21 Daniel Colascione <dancol@dancol.org>
7066
7067 * progmodes/sql.el (sql-mode-font-lock-object-name): Support IF NOT EXISTS
7068 in SQL declarations for font-lock.
7069 (sql-imenu-generic-expression): Teach imenu about IF NOT EXISTS.
7070
7071 2012-11-21 Glenn Morris <rgm@gnu.org>
7072
7073 * faces.el (face-underline-p, face-inverse-video-p, face-bold-p)
7074 (face-italic-p): Add optional argument "inherit".
7075
7076 * faces.el (set-face-inverse-video, set-face-bold, set-face-italic):
7077 Remove -p suffix from names, for consistency with other set-face-*.
7078 (set-face-inverse-video): Fix interactive spec.
7079 * play/gamegrid.el (gamegrid-make-mono-tty-face):
7080 * textmodes/table.el (table--update-cell-face):
7081 Use set-face-inverse-video rather than now obsolete alias.
7082
7083 2012-11-21 Eli Zaretskii <eliz@gnu.org>
7084
7085 * simple.el (line-move): Don't call line-move-partial if
7086 scroll-conservatively is in effect. (Bug#12927)
7087
7088 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
7089
7090 * eshell/em-cmpl.el (eshell-pcomplete): Refine fix for bug#12838:
7091 Fallback on completion-at-point rather than
7092 pcomplete-expand-and-complete, and only if pcomplete actually failed.
7093 (eshell-cmpl-initialize): Setup completion-at-point.
7094
7095 * pcomplete.el (pcomplete--entries): Obey pcomplete-ignore-case.
7096
7097 * emacs-lisp/ert.el (ert--expand-should-1): Adapt to cl-lib.
7098
7099 2012-11-21 Michael Albinus <michael.albinus@gmx.de>
7100
7101 * net/tramp-sh.el (tramp-do-copy-or-rename-file): If both files
7102 are remote, check out-of-band property for both.
7103
7104 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
7105
7106 * window.el (switch-to-buffer): Re-add the warning that was lost in the
7107 code rewrite.
7108
7109 2012-11-21 Paul Eggert <eggert@cs.ucla.edu>
7110
7111 More minor time fixes.
7112 * calendar/time-date.el: Commentary fix.
7113 * net/tramp-sh.el (tramp-do-file-attributes-with-ls): Undo last change;
7114 too much other code depends on (0 0) time stamps.
7115 * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
7116 Add a couple of FIXME comments.
7117
7118 Minor cleanup for times as lists of four integers.
7119 * files.el (dir-locals-directory-cache):
7120 * ps-bdf.el (bdf-file-mod-time, bdf-read-font-info):
7121 Doc fixes.
7122 * net/tramp-sh.el (tramp-do-file-attributes-with-ls):
7123 * ps-bdf.el (bdf-file-newer-than-time):
7124 Process four-integers time stamps, not two. Doc fixes.
7125
7126 2012-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
7127
7128 * uniquify.el (uniquify-managed): Use defvar-local.
7129 (rename-buffer, create-file-buffer): Advise with advice-add.
7130 (uniquify-unload-function): Unadvise accordingly.
7131
7132 * emacs-lisp/trace.el: Rewrite, use nadvice and lexical-binding.
7133 (trace-buffer): Don't purecopy.
7134 (trace-entry-message, trace-exit-message): Add `context' arg.
7135 (trace--timer): New var.
7136 (trace-make-advice): Adjust for use in nadvice.
7137 Add `context' argument. Delay `display-buffer' via a timer.
7138 (trace-function-internal): Use advice-add.
7139 (trace--read-args): New function.
7140 (trace-function-foreground, trace-function-background): Use it.
7141 (trace-function): Rename to trace-function-foreground and redefine as
7142 an alias to that new name.
7143 (untrace-function, untrace-all): Adjust to the use of nadvice.
7144
7145 * emacs-lisp/bytecomp.el (byte-compile): Fix handling of closures.
7146
7147 * emacs-lisp/byte-run.el (defun-declarations-alist): Fix last change.
7148
7149 * subr.el (called-interactively-p-functions): New var.
7150 (internal--called-interactively-p--get-frame): New macro.
7151 (called-interactively-p, interactive-p): Rewrite in Lisp.
7152 * emacs-lisp/nadvice.el (advice--called-interactively-skip): New fun.
7153 (called-interactively-p-functions): Use it.
7154 * emacs-lisp/edebug.el (edebug--called-interactively-skip): New fun.
7155 (called-interactively-p-functions): Use it.
7156 * allout.el (allout-called-interactively-p): Don't assume
7157 called-interactively-p is a subr.
7158
7159 2012-11-20 Glenn Morris <rgm@gnu.org>
7160
7161 * profiler.el (profiler-report-mode-map): Add a menu.
7162 No need to bind `q' because we derive from special-mode.
7163 (profiler-report-find-entry): Handle calls from the menu-bar.
7164
7165 2012-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
7166
7167 * emacs-lisp/byte-run.el (defun-declarations-alist):
7168 Allow a compiler-macro to be a lambda expression.
7169
7170 * progmodes/python.el: Use cl-lib. Move var declarations outside of
7171 eval-when-compile.
7172 (python-syntax-context): Add compiler-macro.
7173 (python-font-lock-keywords): Simplify with De Morgan.
7174
7175 * vc/diff-mode.el (diff-hunk): Don't make useless timers.
7176
7177 * files.el (load-file): Require match in minibuffer selection, as was
7178 the case in Emacs-20 before we changed the spec to allow .elc files
7179 (bug#12935).
7180
7181 * json.el: Don't require cl since we don't use it.
7182 * color.el: Don't require cl.
7183 (color-complement): `caddr' -> `nth 2'.
7184
7185 * calendar/time-date.el (time-to-seconds): De-obsolete.
7186
7187 2012-11-19 Jay Belanger <jay.p.belanger@gmail.com>
7188
7189 * calc/calc-forms.el (math-leap-year-p): Fix formula for negative
7190 year numbers.
7191 (math-date-to-julian-dt): Adjust the initial approximation for the
7192 year to deal with the new definition of the DATE.
7193
7194 2012-11-19 Daniel Colascione <dancol@dancol.org>
7195
7196 * term/w32-win.el (cygwin-convert-path-from-windows):
7197 Accomodate rename of cygwin_convert_path* to cygwin_convert_file_name*.
7198
7199 2012-11-18 Chong Yidong <cyd@gnu.org>
7200
7201 * filecache.el (file-cache--read-list): New function.
7202 (file-cache-add-directory-list, file-cache-add-file-list)
7203 (file-cache-delete-file-list, file-cache-delete-directory-list):
7204 Use it to read a list of files or directories (Bug#12846).
7205 (file-cache-add-file, file-cache-add-directory)
7206 (file-cache-delete-file-list, file-cache-delete-file-regexp)
7207 (file-cache-delete-directory): Print an message.
7208
7209 2012-11-18 Jay Belanger <jay.p.belanger@gmail.com>
7210
7211 * calc/calc-forms.el (math-date-to-dt): Use integer date when
7212 calling `math-date-to-julian-dt' and 'math-date-to-gregorian-dt'.
7213
7214 2012-11-18 Glenn Morris <rgm@gnu.org>
7215
7216 * image.el (insert-image, insert-sliced-image): Doc fix.
7217
7218 2012-11-18 Chong Yidong <cyd@gnu.org>
7219
7220 * emacs-lisp/syntax.el (syntax-propertize-function): Doc fix
7221 (Bug#12810).
7222
7223 2012-11-18 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
7224
7225 * vc/vc-svn.el (vc-svn-merge-news): Properly parse the merge
7226 response when the target file is in a subdirectory (Bug#12757).
7227
7228 2012-11-18 Chong Yidong <cyd@gnu.org>
7229
7230 * filecache.el (file-cache-add-file-list): Doc fix (Bug#12694).
7231
7232 2012-11-18 Glenn Morris <rgm@gnu.org>
7233
7234 * emacs-lisp/cl-lib.el (face-underline-p):
7235 Use set-face-underline rather than the alias set-face-underline-p.
7236
7237 * window.el (with-temp-buffer-window): Doc fix.
7238 * subr.el (with-output-to-temp-buffer):
7239 Add doc xref to with-temp-buffer-window.
7240
7241 2012-11-18 Juanma Barranquero <lekktu@gmail.com>
7242
7243 * woman.el (woman-non-underline-faces): Use `set-face-underline'.
7244 * calc/calc.el (math-format-date-cache): Declare.
7245
7246 2012-11-17 Paul Eggert <eggert@cs.ucla.edu>
7247
7248 Calc by default uses the Gregorian calendar for all dates (Bug#12633).
7249 It also uses January 1, 1 AD as its day number 1.
7250 * calc/calc-forms.el (math-julian-date-beginning)
7251 (math-julian-date-beginning-int): Implement this.
7252
7253 2012-11-17 Juanma Barranquero <lekktu@gmail.com>
7254
7255 * descr-text.el (quail-find-key):
7256 * dired.el (desktop-file-name):
7257 * dirtrack.el (shell-prefixed-directory-name, shell-process-cd):
7258 * generic-x.el (comint-mode, comint-exec):
7259 * image-dired.el (widget-forward):
7260 * info.el (speedbar-add-expansion-list, speedbar-center-buffer-smartly)
7261 (speedbar-change-expand-button-char)
7262 (speedbar-change-initial-expansion-list, speedbar-delete-subblock)
7263 (speedbar-make-specialized-keymap, speedbar-make-tag-line):
7264 * printing.el (easy-menu-add-item, easy-menu-remove-item)
7265 (widget-field-action, widget-value-set):
7266 * speedbar.el (imenu--make-index-alist):
7267 * term.el (ring-empty-p, ring-ref, ring-insert-at-beginning)
7268 (ring-length, ring-insert):
7269 * vcursor.el (compare-windows-skip-whitespace):
7270 * woman.el (dired-get-filename):
7271 Declare functions.
7272
7273 * term/w32-win.el (cygwin-convert-path-from-windows): Fix declaration.
7274
7275 2012-11-17 Jay Belanger <jay.p.belanger@gmail.com>
7276
7277 * calc/calc.el (calc-gregorian-switch): New variable.
7278
7279 * calc/calc-forms.el (math-day-in-year, math-dt-before-p)
7280 (math-absolute-from-gregorian-dt, math-absolute-from-julian-dt)
7281 (math-date-to-julian-dt, math-date-to-gregorian-dt): New functions.
7282 (math-leap-year-p): Add option to distinguish between Julian
7283 and Gregorian calendars.
7284 (math-day-number): Use `math-day-in-year' to do the computations.
7285 (math-absolute-from-dt): Rename from `math-absolute-from-date'.
7286 Use `math-absolute-from-gregorian' and `math-absolute-from-julian'
7287 to do the computations.
7288 (math-date-to-dt): Use `math-date-to-julian-dt' and
7289 `math-date-to-gregorian-dt' to do the computations.
7290 (calcFunc-weekday, math-format-date-part): Use the new version of
7291 the DATE to determine the weekday.
7292 (calcFunc-newmonth, calcFunc-newyear): Use `calc-gregorian-switch'
7293 when necessary.
7294
7295 2012-11-17 Eli Zaretskii <eliz@gnu.org>
7296
7297 * term/w32-win.el (w32-handle-dropped-file): Use 'file://' only on
7298 Cygwin; otherwise use 'file:'. (Bug#12914)
7299 (cygwin-convert-path-from-windows): Declare, to avoid
7300 byte-compiler warnings.
7301
7302 2012-11-17 Andreas Politz <politza@fh-trier.de>
7303
7304 * ibuffer.el (ibuffer-mark-forward, ibuffer-unmark-forward)
7305 (ibuffer-unmark-backward, ibuffer-mark-interactive): Support plain
7306 prefix and negative numeric prefix args (Bug#12795).
7307
7308 2012-11-17 Stephen Berman <stephen.berman@gmx.net>
7309
7310 * play/gamegrid.el (gamegrid-add-score-with-update-game-score-1):
7311 Don't signal an error with a score that is too low to add to the
7312 list of top scores. (Bug#12779)
7313
7314 2012-11-17 Chong Yidong <cyd@gnu.org>
7315
7316 * help-mode.el (help-xref-interned): End on point-min (Bug#12737).
7317
7318 * filecache.el (file-cache-add-file): Handle relative file name in
7319 the argument (Bug#12694).
7320
7321 2012-11-16 JĂ¼rgen Hötzel <juergen@archlinux.org> (tiny change)
7322
7323 * eshell/em-unix.el (eshell/mkdir): Handle "--parents" (bug#12897).
7324
7325 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
7326
7327 * emacs-lisp/advice.el (ad-make-advised-definition): Improve last fix.
7328
7329 * emacs-lisp/cl-lib.el: Set more meaningful version number.
7330
7331 2012-11-16 Martin Rudalics <rudalics@gmx.at>
7332
7333 * window.el (enlarge-window, shrink-window): Don't mention return
7334 value in doc-string (Bug#12896).
7335 (window--display-buffer): Don't resize frames - it won't work
7336 with all window managers and defeat pop-up-frame-alist.
7337 (display-buffer-alist): In doc-string explain that CONDITION can
7338 be a function and which arguments are passed to it (Bug#12854).
7339 (display-buffer-assq-regexp): New argument ACTION. Handle lambda
7340 expressions (Bug#12854).
7341 (display-buffer): Pass ACTION argument to
7342 display-buffer-assq-regexp.
7343
7344 2012-11-16 Glenn Morris <rgm@gnu.org>
7345
7346 * window.el (fit-frame-to-buffer-bottom-margin)
7347 (fit-frame-to-buffer, fit-window-to-buffer): Doc fixes.
7348
7349 * faces.el (face-underline-p): Use face-attribute-specified-or.
7350
7351 2012-11-16 Juanma Barranquero <lekktu@gmail.com>
7352
7353 * emacs-lisp/cl-macs.el (cl-loop, cl-do, cl-do*): Doc fixes.
7354
7355 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
7356
7357 * emacs-lisp/cl-macs.el (cl-flet, cl-flet*): Fix docstring (bug#12895).
7358
7359 2012-11-16 Glenn Morris <rgm@gnu.org>
7360
7361 * eshell/em-cmpl.el (eshell-pcomplete): New command. (Bug#12838)
7362 (eshell-cmpl-initialize): Bind eshell-pcomplete to TAB, C-i.
7363
7364 * faces.el (face-underline-p): Doc fix. Handle :underline being
7365 things other than `t' (a string, a list).
7366 (face-inverse-video-p): Doc fix.
7367 (set-face-underline): Rename it back from set-face-underline-p.
7368 Doc fix. Allow interactive input of values other than t.
7369 (read-face-attribute): Apply formatting to :underline,
7370 since like :box and :stipple it can take list values.
7371
7372 * term.el (ansi-term): Don't let C-x escape-char binding
7373 clobber the more standard C-c binding. (Bug#12842)
7374
7375 * subr.el (set-temporary-overlay-map): Doc fix.
7376
7377 2012-11-16 Martin Rudalics <rudalics@gmx.at>
7378
7379 * window.el (record-window-buffer)
7380 (display-buffer-record-window): When copying the markers to
7381 window-point preserve window-point-insertion-type. (Bug#12588)
7382
7383 2012-11-16 Glenn Morris <rgm@gnu.org>
7384
7385 * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
7386 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error):
7387 Use new names for hooks rather than obsolete aliases.
7388
7389 2012-11-15 Daniel Colascione <dancol@dancol.org>
7390
7391 * term/w32-win.el (w32-handle-dropped-file): Use a "file://"
7392 prefix instead of "file:" so that when FILE-NAME begins with "//",
7393 as it does when the target file is on a network share, url-handler
7394 isn't confused.
7395
7396 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
7397
7398 * emacs-lisp/advice.el (ad-definition-type): Make sure we don't use
7399 a preactivated advice from an old advice.el; they're not compatible!
7400
7401 2012-11-15 Katsumi Yamaoka <yamaoka@jpl.org>
7402
7403 * emacs-lisp/nadvice.el (advice--make-interactive-form):
7404 Fix string-spec case.
7405
7406 * emacs-lisp/advice.el (ad-make-advised-definition): Fix undefined case.
7407
7408 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
7409
7410 * emacs-lisp/nadvice.el: Add buffer-local support to add-function.
7411 (advice--buffer-local-function-sample): New var.
7412 (advice--set-buffer-local, advice--buffer-local): New functions.
7413 (add-function, remove-function): Use them.
7414
7415 2012-11-15 Drew Adams <drew.adams@oracle.com>
7416
7417 * imenu.el (imenu--split-submenus): Use imenu--subalist-p (bug#12717).
7418
7419 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
7420
7421 * emacs-lisp/cl-macs.el (cl--transform-lambda): Defend against
7422 potential binding of print-gensym to t, and prettify (back)quotes in
7423 case they appear in args's default values (bug#12884).
7424
7425 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
7426
7427 * emacs-lisp/nadvice.el: Add around advice for interactive specs.
7428 (advice-eval-interactive-spec): New function.
7429 (advice--make-interactive-form): Support around advice (bug#12844).
7430
7431 2012-11-14 Dmitry Gutov <dgutov@yandex.ru>
7432
7433 * progmodes/ruby-mode.el (ruby-expr-beg): Make heredoc detection
7434 more strict. Add docstring.
7435 (ruby-expression-expansion-re): Extract from
7436 `ruby-match-expression-expansion'.
7437 (ruby-syntax-propertize-function): After everything else, search
7438 for expansions in string literals, mark their insides as
7439 whitespace syntax and save match data for font-lock.
7440 (ruby-font-lock-keywords): Use the 2nd group from expression
7441 expansion matches.
7442 (ruby-match-expression-expansion): Use the match data saved to the
7443 text property in ruby-syntax-propertize-function.
7444
7445 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
7446
7447 * emacs-lisp/gv.el (setf): Fix debug spec for multiple assignments
7448 (bug#12879).
7449
7450 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
7451
7452 * progmodes/ruby-mode.el (ruby-move-to-block): Looks for a block
7453 start/end keyword a bit harder. Works with different values of N.
7454 Add more comments.
7455 (ruby-end-of-block): Update accordingly.
7456
7457 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
7458
7459 * woman.el (woman-file-name): Don't mess with unread-command-events
7460 (bug#12861).
7461
7462 * emacs-lisp/advice.el: Layer on top of nadvice.el.
7463 Remove out of date self-require hack.
7464 (ad-do-advised-functions): Use simple `dolist'.
7465 (ad-advice-name, ad-advice-protected, ad-advice-enabled)
7466 (ad-advice-definition): Redefine as functions.
7467 (ad-advice-classes): Move before first use.
7468 (ad-make-origname, ad-set-orig-definition, ad-clear-orig-definition)
7469 (ad-make-mapped-call, ad-make-advised-docstring)
7470 (ad-make-plain-docstring, ad--defalias-fset): Remove functions.
7471 (ad-make-advicefunname, ad-clear-advicefunname-definition): New funs.
7472 (ad-get-orig-definition): Rewrite.
7473 (ad-make-advised-definition-docstring): Change base docstring.
7474 (ad-real-orig-definition): Rewrite.
7475 (ad-map-arglists): Change name of called function.
7476 (ad--make-advised-docstring): Redirect `function' from ad-Advice-...
7477 (ad-make-advised-definition): Simplify.
7478 (ad-assemble-advised-definition): Tweak for new calling context.
7479 (ad-activate-advised-definition): Setup ad-Advice-* i.s.o ad-Orig-*.
7480 (ad--defalias-fset): Rename from ad-handle-definition. Make it set the
7481 function and call ad-activate if needed.
7482 (ad-activate, ad-deactivate): Don't call ad-handle-definition any more.
7483 (ad-recover): Clear ad-Advice-* instead of ad-Orig-*.
7484 (ad-compile-function): Compile ad-Advice-*.
7485 (ad-activate-on-top-level, ad-with-auto-activation-disabled): Remove.
7486 (ad-start-advice, ad-stop-advice): Remove.
7487
7488 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
7489
7490 * progmodes/ruby-mode.el (ruby-add-log-current-method): Print the
7491 period before class method names, not after. Remove handling of
7492 one impossible case. Add comments.
7493
7494 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
7495
7496 * emacs-lisp/advice.el: Remove support for freezing.
7497 (ad-make-freeze-docstring, ad-make-freeze-definition): Remove functions.
7498 (ad-make-single-advice-docstring, ad-defadvice-flags, defadvice):
7499 Remove support for `freeze'.
7500
7501 * emacs-lisp/cl.el (dolist, dotimes, declare): Use advice-add to
7502 override the default.
7503 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Rewrite without using
7504 cl--dotimes/dolist.
7505 * subr.el (dolist, dotimes, declare): Redefine them normally, even when
7506 `cl' is loaded.
7507
7508 * emacs-lisp/nadvice.el (advice--normalize): New function, extracted
7509 from add-advice.
7510 (advice--strip-macro): New function.
7511 (advice--defalias-fset): Use them to handle macros.
7512 (advice-add): Use them.
7513 (advice-member-p): Correctly handle macros.
7514
7515 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
7516
7517 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
7518 Never font-lock the beginning of singleton class as heredoc.
7519
7520 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
7521
7522 * emacs-lisp/gv.el (gv-define-simple-setter): One more fix (bug#12871).
7523
7524 2012-11-13 Wolfgang Jenkner <wjenkner@inode.at>
7525
7526 * ansi-color.el (ansi-color-apply-sequence): Implement SGR codes
7527 39 and 49 (bug#12792). Also, treat unimplemented parameters as 0,
7528 thereby restoring the behavior of revisions prior to 2012-08-15T03:33:55Z!monnier@iro.umontreal.ca.
7529
7530 2012-11-13 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7531
7532 Fix end-of-defun misbehavior.
7533 * progmodes/python.el (python-nav-beginning-of-defun): Rename from
7534 python-beginning-of-defun-function. Handle nested defuns
7535 correctly.
7536 (python-nav-end-of-defun): Rename from
7537 python-end-of-defun-function. Ensure forward movement.
7538 (python-info-current-defun): Reimplement to work as intended
7539 with new fixed python-nav-{end,beginning}-of-defun. Stop scanning
7540 parent defuns as soon as possible.
7541
7542 2012-11-13 Glenn Morris <rgm@gnu.org>
7543
7544 * progmodes/flymake.el (flymake-error-bitmap)
7545 (flymake-warning-bitmap, flymake-fringe-indicator-position): Doc fixes.
7546 (flymake-error-bitmap, flymake-warning-bitmap): Fix :types.
7547
7548 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
7549
7550 * progmodes/ruby-mode.el (ruby-move-to-block): When moving
7551 backward, always stop at indentation. Reverts the change from
7552 2012-08-12T22:06:56Z!monnier@iro.umontreal.ca (Bug#12851).
7553
7554 2012-11-13 Glenn Morris <rgm@gnu.org>
7555
7556 * ibuffer.el (ibuffer-mode-map, ibuffer-mode):
7557 Add ibuffer-filter-by-derived-mode.
7558
7559 * ibuffer.el (ibuffer-mode-map): Don't have two menu items with
7560 the same name shadowing each other.
7561
7562 * window.el (with-temp-buffer-window): Doc tweak.
7563
7564 * emacs-lisp/debug.el (debugger-bury-or-kill): Doc tweak.
7565
7566 * help.el (temp-buffer-max-height):
7567 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-bottom-margin):
7568 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix :version.
7569
7570 2012-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
7571
7572 * emacs-lisp/nadvice.el: New package.
7573 * subr.el (special-form-p): New function.
7574 * emacs-lisp/elp.el: Use lexical-binding and advice-add.
7575 (elp-all-instrumented-list): Remove var.
7576 (elp-not-profilable): Remove elp-wrapper.
7577 (elp-profilable-p): Use autoloadp and special-form-p.
7578 (elp--advice-name): New const.
7579 (elp-instrument-function): Use advice-add.
7580 (elp--instrumented-p): New predicate.
7581 (elp-restore-function): Use advice-remove.
7582 (elp-restore-all, elp-reset-all): Use mapatoms.
7583 (elp-set-master): Use elp--instrumented-p.
7584 (elp--make-wrapper): Rename from elp-wrapper, return a function
7585 suitable for advice-add. Use cl-inf.
7586 (elp-results): Use mapatoms+elp--instrumented-p.
7587 * emacs-lisp/debug.el: Use lexical-binding and advice-add.
7588 (debug-function-list): Remove var.
7589 (debug): Rename arg, and then let-bind it explicitly inside.
7590 (debugger-setup-buffer): Rename arg.
7591 (debugger-setup-buffer): Adjust counts to new debug-on-entry setup.
7592 (debugger-frame-number): Adjust to new debug-on-entry setup.
7593 (debug--implement-debug-on-entry): Rename from
7594 implement-debug-on-entry, add argument.
7595 (debugger-special-form-p): Remove, use special-form-p instead.
7596 (debug-on-entry): Use advice-add.
7597 (debug--function-list): New function.
7598 (cancel-debug-on-entry): Use it, along with advice-remove.
7599 (debug-arglist, debug-convert-byte-code, debug-on-entry-1): Remove.
7600 (debugger-list-functions): Use debug--function-list instead of
7601 debug-function-list.
7602 * emacs-lisp/advice.el (ad-save-real-definition): Remove, unused.
7603 (ad-special-form-p): Remove, use special-form-p instead.
7604 (ad-set-advice-info): Use add-function and remove-function.
7605 (ad--defalias-fset): Adjust accordingly.
7606
7607 2012-11-10 Glenn Morris <rgm@gnu.org>
7608
7609 * mail/emacsbug.el (report-emacs-bug-tracker-url)
7610 (report-emacs-bug-bug-alist, report-emacs-bug-choice-widget)
7611 (report-emacs-bug-create-existing-bugs-buffer)
7612 (report-emacs-bug-parse-query-results)
7613 (report-emacs-bug-query-existing-bugs): Remove. (Bug#7449)
7614
7615 * term.el (term-default-fg-color, term-default-bg-color):
7616 Make obsolete, rather than just saying "deprecated" in the doc.
7617
7618 * term.el (term): Rename from `term-face'.
7619 (term-current-face, ansi-term-color-vector)
7620 (term-default-fg-color, term-default-bg-color, term-ansi-reset):
7621 Update all users.
7622
7623 2012-11-10 Jan Djärv <jan.h.d@swipnet.se>
7624
7625 * server.el (server-create-window-system-frame): Handle Nextstep
7626 specially (Bug#12780).
7627
7628 2012-11-10 Glenn Morris <rgm@gnu.org>
7629
7630 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
7631 Unautoload, and make obsolete. (Bug#7449)
7632
7633 2012-11-10 Chong Yidong <cyd@gnu.org>
7634
7635 * vc/diff-mode.el (diff-delete-trailing-whitespace): Rewrite, and
7636 rename from diff-remove-trailing-whitespace (Bug#12831).
7637
7638 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
7639
7640 * emacs-lisp/advice.el: Require `cl-lib' at run-time to fix
7641 miscompilation of trace.el.
7642
7643 2012-11-10 Glenn Morris <rgm@gnu.org>
7644
7645 * vc/diff-mode.el (diff-remove-trailing-whitespace): Doc fix.
7646
7647 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
7648
7649 * emacs-lisp/gv.el (gv-define-simple-setter): Fix last change
7650 (bug#12812).
7651
7652 2012-11-10 Chong Yidong <cyd@gnu.org>
7653
7654 * minibuf-eldef.el (minibuffer-eldef-shorten-default): Convert to
7655 a defcustom with an appropriate :set function.
7656 (minibuffer-default--in-prompt-regexps): New function.
7657
7658 2012-11-10 Glenn Morris <rgm@gnu.org>
7659
7660 * emacs-lisp/cl.el (define-setf-expander, defsetf)
7661 (define-modify-macro): Doc fixes.
7662
7663 * emacs-lisp/gv.el (gv-letplace): Fix doc typo.
7664 (gv-define-simple-setter): Update doc of `fix-return'.
7665
7666 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
7667
7668 * emacs-lisp/gv.el (gv-define-simple-setter): Don't evaluate `val'
7669 twice when `fix-return' is set (bug#12813).
7670
7671 * emacs-lisp/cl.el (defsetf): Pass the third arg to
7672 gv-define-simple-setter (bug#12812).
7673
7674 * woman.el (woman-decode-region): Disable adaptive-fill when rendering
7675 (bug#12756).
7676
7677 2012-11-10 Glenn Morris <rgm@gnu.org>
7678
7679 * emacs-lisp/gv.el (gv-define-setter): Fix doc typo.
7680
7681 * emacs-lisp/cl-extra.el (cl-prettyexpand):
7682 * emacs-lisp/cl-lib.el (cl-proclaim, cl-declaim):
7683 * emacs-lisp/cl-macs.el (cl-destructuring-bind, cl-locally)
7684 (cl-the, cl-compiler-macroexpand): Add basic doc strings.
7685
7686 * emacs-lisp/cl-extra.el (cl-maplist, cl-mapcan): Doc fix.
7687
7688 2012-11-10 Leo Liu <sdl.web@gmail.com>
7689
7690 * ido.el (ido-set-matches-1): Improve flex matching performance by
7691 removing backtracking in the regexp (suggested by Stefan). (Bug#12796)
7692
7693 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
7694
7695 * emacs-lisp/advice.el (ad-set-advice-info): Set defalias-fset-function.
7696 (ad--defalias-fset): New function.
7697 (ad-safe-fset): Remove.
7698 (ad-make-freeze-definition): Use cl-letf*.
7699
7700 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
7701
7702 * subr.el (dolist): Don't bind VAR in RESULT.
7703
7704 * emacs-lisp/advice.el: Miscellaneous cleanup. Use lexical-binding.
7705 (fset, documentation): Don't save real def since we don't advise.
7706 (ad-do-advised-functions): Remove problematic `result-form'.
7707 (ad-safe-fset): `ad-real-fset' => `fset'.
7708 (ad-read-advised-function): Don't assume that ad-do-advised-functions
7709 uses CL's dolist internally.
7710 (ad-arglist): Remove unused arg `name'.
7711 (ad-docstring, ad-make-advised-docstring):
7712 `ad-real-documentation' => `documentation'.
7713 (warning-suppress-types): Declare.
7714 (ad-set-arguments): Simple CSE.
7715 (ad-recover-normality): Sanity check.
7716
7717 * emacs-lisp/bytecomp.el (byte-compile-out-toplevel): Don't turn
7718 (funcall '(lambda ..) ..) into ((lambda ..) ..).
7719
7720 2012-11-09 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
7721
7722 * ses.el: Symbol to coordinate mapping is made by symbol property
7723 `ses-cell'. This means that the same mapping is done for all SES
7724 sheets. That is good enough for cells with standard A1 names, but
7725 not for named cell. So a hash map is added for the latter.
7726 (defconst ses-localvars): Add local variable ses--named-cell-hashmap
7727 (ses-sym-rowcol): Use hashmap for named cell.
7728 (ses-is-cell-sym-p): New defun.
7729 (ses-decode-cell-symbol): New defun.
7730 (ses-create-cell-variable): Add cell to hashmap when name is not
7731 A1-like.
7732 (ses-rename-cell): Check that cell new name is not already in
7733 spreadsheet with the use of ses-is-cell-sym-p
7734 (ses-rename-cell): Use hash map for named cells, but accept also
7735 renaming back to A1-like.
7736
7737 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
7738
7739 * emacs-lisp/advice.el: Use new dynamic docstrings.
7740 (ad-make-advised-definition-docstring, ad-advised-definition-p):
7741 Use dynamic-docstring-function instead of ad-advice-info.
7742 (ad--make-advised-docstring): New function extracted from
7743 ad-make-advised-docstring.
7744 (ad-make-advised-docstring): Use it.
7745 * progmodes/sql.el (sql--make-help-docstring): New function, extracted
7746 from sql-help.
7747 (sql-help): Use it with dynamic-docstring-function.
7748
7749 * env.el (env--substitute-vars-regexp): Don't use rx (for bootstrap).
7750
7751 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
7752
7753 * files.el (hack-one-local-variable--obsolete): New function.
7754 (hack-one-local-variable): Use it for obsolete settings.
7755
7756 * subr.el (locate-user-emacs-file): If both old and new name exist, use
7757 the new name.
7758
7759 * progmodes/js.el (js--filling-paragraph): New var.
7760 (c-forward-sws, c-backward-sws, c-beginning-of-macro): Advise.
7761 (js-c-fill-paragraph): Prefer advice to cl-letf so the rebinding is
7762 less sneaky.
7763
7764 2012-11-08 Julien Danjou <julien@danjou.info>
7765
7766 * progmodes/ruby-mode.el (auto-mode-alist): Add Rakefile in
7767 `auto-mode-alist' (Bug#12835).
7768
7769 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
7770
7771 * progmodes/perl-mode.el (perl-prettify-symbols): New defcustom.
7772 (perl--prettify-symbols-alist): New const.
7773 (perl--font-lock-compose-symbol, perl--font-lock-symbols-keywords):
7774 New functions.
7775 (perl-font-lock-keywords-2): Use them.
7776 (perl-electric-noindent-p): New function.
7777 (perl-mode): Use it to set up electric-indent-mode.
7778 (perl-electric-terminator, perl-indent-command): Mark obsolete.
7779 (perl-mode-map): Remove bindings for them.
7780 (perl-imenu-generic-expression, perl-outline-level):
7781 Match functions&packages in column>0.
7782
7783 * env.el (env--substitute-vars-regexp): New const.
7784 (substitute-env-vars): Use it. Add `only-defined' arg.
7785 * net/tramp.el (tramp-replace-environment-variables): Use it.
7786
7787 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
7788 Byte-compile *before* eval in eval-and-compile.
7789 (byte-compile-log-warning): Remove redundant inhibit-read-only.
7790 (byte-compile-file-form-autoload): Don't hide actual definition.
7791 (byte-compile-maybe-guarded): Accept `functionp' as well.
7792
7793 * emacs-lisp/gv.el (gv-ref, gv-deref): New function and macro.
7794
7795 2012-11-07 Michael Albinus <michael.albinus@gmx.de>
7796
7797 * notifications.el (notifications-get-server-information-method):
7798 New defconst.
7799 (notifications-get-capabilities): Fix docstring.
7800 (notifications-get-server-information): New defun.
7801
7802 2012-11-06 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
7803
7804 * textmodes/ispell.el (ispell-region): Standard re-indent for better
7805 readability.
7806
7807 * textmodes/ispell.el: Experimental support for support debugging.
7808 (ispell-create-debug-buffer): Create a `ispell-debug-buffer' debug
7809 buffer for ispell.
7810 (ispell-print-if-debug): New function to print stuff to
7811 `ispell-debug-buffer' if debugging is enabled.
7812 (ispell-region, ispell-process-line): Use `ispell-print-if-debug' to
7813 show some debugging info.
7814 (ispell-buffer-with-debug): New function that creates a debugging
7815 buffer and calls `ispell-buffer' with debugging enabled.
7816
7817 * textmodes/ispell.el (ispell-region): Do not prefix sent string by
7818 comment in autoconf mode. (Bug#12768)
7819
7820 2012-11-06 Dmitry Antipov <dmantipov@yandex.ru>
7821
7822 * emacs-lisp/byte-opt.el (toplevel): Add compare-window-configurations,
7823 frame-first-window, frame-root-window, frame-selected-window,
7824 minibuffer-selected-window, minibuffer-window,
7825 window-absolute-pixel-edges, window-at, window-body-height,
7826 window-body-width, window-display-table, window-combination-limit,
7827 window-frame, window-fringes, window-inside-absolute-pixel-edges,
7828 window-inside-edges, window-inside-pixel-edges, window-left-child,
7829 window-left-column, window-margins, window-next-buffers,
7830 window-next-sibling, window-new-normal, window-new-total,
7831 window-normal-size, window-parameter, window-parameters, window-parent,
7832 window-pixel-edges, window-point, window-prev-buffers,
7833 window-prev-sibling, window-redisplay-end-trigger, window-scroll-bars,
7834 window-start, window-text-height, window-top-child, window-top-line,
7835 window-total-height, window-total-width and window-use-time to the list
7836 of functions without side-effects.
7837 (toplevel): Add window-valid-p to the list of error-free functions
7838 without side-effects.
7839
7840 2012-11-05 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
7841
7842 * textmodes/ispell.el (ispell-program-name):
7843 Update spellchecker parameters when customized.
7844
7845 2012-11-04 Glenn Morris <rgm@gnu.org>
7846
7847 * vc/vc-svn.el (vc-svn-state-heuristic): Avoid calling svn. (Bug#7850)
7848
7849 2012-11-04 Chong Yidong <cyd@gnu.org>
7850
7851 * bookmark.el (bookmark-bmenu-switch-other-window): Avoid binding
7852 same-window-* variables.
7853
7854 2012-11-04 Juri Linkov <juri@jurta.org>
7855
7856 * isearch.el (isearch-help-for-help, isearch-describe-bindings)
7857 (isearch-describe-key, isearch-describe-mode): Use a display
7858 action instead of binding same-window-* variables (Bug#10040).
7859
7860 2012-11-03 Glenn Morris <rgm@gnu.org>
7861
7862 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
7863 Rename handler properties back from cl-- to cl-. (Bug#12788)
7864
7865 * emacs-lisp/cl-macs.el (cl-do-all-symbols): Add doc string.
7866
7867 2012-11-03 Eli Zaretskii <eliz@gnu.org>
7868
7869 * term/pc-win.el: Don't load term/internal from here.
7870
7871 * loadup.el: Load term/internal from here.
7872
7873 2012-11-03 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7874
7875 * progmodes/python.el (inferior-python-mode): Fix hang in
7876 jit-lock (Bug#12645).
7877
7878 2012-11-03 Martin Rudalics <rudalics@gmx.at>
7879
7880 * window.el (switch-to-visible-buffer)
7881 (switch-to-buffer-preserve-window-point): Fix doc-strings.
7882
7883 2012-11-03 Glenn Morris <rgm@gnu.org>
7884
7885 * emacs-lisp/cl-lib.el (cl--random-time):
7886 Rename from cl-random-time. (Bug#12773)
7887 (cl--gensym-counter, cl--random-state): Update callers.
7888 * emacs-lisp/cl-extra.el (cl-make-random-state): Update callers.
7889
7890 2012-11-03 Chong Yidong <cyd@gnu.org>
7891
7892 * cus-start.el: Make cursor-type customizable (Bug#11633).
7893
7894 2012-11-02 Glenn Morris <rgm@gnu.org>
7895
7896 * filecache.el: No need to load find-lisp when compiling.
7897 (find-lisp-find-files): Autoload it.
7898 (file-cache-add-directory-recursively): Don't require find-lisp.
7899
7900 * image.el (image-type-from-file-name): Trivial simplification.
7901
7902 * emacs-lisp/bytecomp.el (byte-compile-eval):
7903 Decouple "noruntime" and "cl-functions" warnings.
7904
7905 2012-11-01 Stephen Berman <stephen.berman@gmx.net>
7906
7907 * play/gomoku.el (gomoku-display-statistics): Update mode line
7908 only if in Gomoku buffer; don't capitalize "won" (Bug#12771).
7909
7910 2012-10-31 Martin Rudalics <rudalics@gmx.at>
7911
7912 * window.el (quit-restore-window): If the window has been
7913 created on an existing frame and ended up as the sole window on
7914 that frame, do not delete it (Bug#12764).
7915
7916 2012-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
7917
7918 * progmodes/sh-script.el (sh--inside-noncommand-expression):
7919 Rename from sh--inside-arithmetic-expression, handle more cases
7920 (bug#11263).
7921
7922 * progmodes/sh-script.el (sh--inside-arithmetic-expression): New func.
7923 (sh-font-lock-open-heredoc): Use it (bug#12770).
7924
7925 2012-10-30 Glenn Morris <rgm@gnu.org>
7926
7927 * emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie. Doc fix.
7928
7929 * emacs-lisp/cl.el (letf): Doc fix. (Bug#12760)
7930
7931 2012-10-29 Chong Yidong <cyd@gnu.org>
7932
7933 * isearch.el (isearch-other-meta-char): Ensure that a reprocessed
7934 function key is stored in a keyboard macro (Bug#4894).
7935
7936 * thingatpt.el (number-at-point): Apply a thing-at-point property.
7937
7938 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
7939
7940 * vc/diff-mode.el (diff-context->unified): Don't get confused by "hunk
7941 header comments".
7942 (diff-unified->context, diff-context->unified)
7943 (diff-reverse-direction, diff-fixup-modifs): Use `use-region-p'.
7944
7945 * emacs-lisp/cl.el (letf): Add missing indent rules (bug#12759).
7946
7947 * files.el (find-alternate-file): Only ask one question (bug#12487).
7948
7949 2012-10-29 Chong Yidong <cyd@gnu.org>
7950
7951 * vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer.
7952 Suggested by Dan Nicolaescu (Bug#6326).
7953
7954 * info.el (Info-complete-menu-item): Avoid duplicates (Bug#12705).
7955
7956 * startup.el (fancy-about-screen): Don't message (Bug#12680).
7957
7958 * thingatpt.el (thing-at-point): Doc fix (Bug#12691).
7959
7960 * imenu.el (imenu): Inhibit push-mark message (Bug#12726).
7961
7962 * face-remap.el (face-remap-add-relative): Handle the case where a
7963 face-remapping-alist entry is a cons cell (Bug#12762).
7964
7965 2012-10-29 Kevin Ryde <user42@zip.com.au>
7966
7967 * woman.el (woman-parse-numeric-value): Handle picas correctly
7968 (Bug#12639).
7969
7970 2012-10-29 Glenn Morris <rgm@gnu.org>
7971
7972 * emacs-lisp/cl.el (defsetf): Doc fix.
7973
7974 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
7975
7976 * progmodes/sh-script.el (sh-font-lock-paren): Also put punctuation
7977 syntax to the matching opener, if any (bug#12547).
7978 (sh-smie-sh-forward-token, sh-smie-sh-backward-token): Recognize this
7979 matching open as a "case-(".
7980 (sh-smie-rc-grammar): Add a corresponding rule for it.
7981
7982 2012-10-28 Daniel Hackney <dan@haxney.org>
7983
7984 * emacs-lisp/package.el (package-generate-autoloads): Kill buffer
7985 "PKGNAME-autoloads.el" in case we created it.
7986
7987 2012-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
7988
7989 * minibuffer.el (completion--sifn-requote): Rewrite to handle things
7990 like Tramp's "/foo:~bar//baz" -> "/scpc:foo:/baz" mapping (bug#11714).
7991 (completion--twq-all): Disable too-strict assertions.
7992
7993 * tmm.el (tmm-prompt): Use map-keymap (bug#12744).
7994
7995 2012-10-27 Eli Zaretskii <eliz@gnu.org>
7996
7997 * profiler.el (profiler-report-make-entry-part): Fix help-echo
7998 text to match the real keybindings.
7999
8000 2012-10-27 Juri Linkov <juri@jurta.org>
8001
8002 * wdired.el (wdired-keep-marker-rename): New defcustom.
8003 (wdired-do-renames): Use it instead of `dired-keep-marker-rename'.
8004 (Bug#11795)
8005
8006 * dired.el (dired-keep-marker-rename): Add reference to
8007 `wdired-keep-marker-rename' in the docstring.
8008 Add default character value ?R to display initially in
8009 Customization UI instead of ?@.
8010
8011 2012-10-27 Martin Rudalics <rudalics@gmx.at>
8012
8013 * window.el (display-buffer): In doc-string describe
8014 window-height and window-width alist entries.
8015
8016 * time.el (display-time-world): Restore fit-window-to-buffer
8017 behavior.
8018
8019 2012-10-27 Chong Yidong <cyd@gnu.org>
8020
8021 * subr.el (insert-buffer-substring-as-yank): Doc fix.
8022
8023 2012-10-26 Jambunathan K <kjambunathan@gmail.com>
8024
8025 * minibuffer.el (completion-category-overrides): New completion
8026 category `bookmark' (bug#11131).
8027
8028 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
8029
8030 * emacs-lisp/advice.el (ad-assemble-advised-definition):
8031 Silence bogus compiler warnings for ad-do-it.
8032
8033 * bookmark.el (bookmark-completing-read): Set the completion category
8034 to `bookmark' (bug#11131).
8035
8036 2012-10-26 Bastien <bzg@altern.org>
8037 Stefan Monnier <monnier@iro.umontreal.ca>
8038
8039 * face-remap.el: Use lexical-binding.
8040 (text-scale-adjust): Improve docstring. Use itself for the temporary
8041 overlay-map bindings, so as to repeat the "Use..." message each time.
8042
8043 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
8044
8045 * emacs-lisp/macroexp.el (macroexp--expand-all):
8046 Obey byte-compile-warning-enabled-p (bug#12486).
8047
8048 * vc/diff-mode.el (diff-end-of-hunk): Also skip potential "no LF at eol".
8049 (diff-refine-hunk): Similarly, handle the "no LF at eol" (bug#12584).
8050
8051 2012-10-26 Martin Rudalics <rudalics@gmx.at>
8052
8053 * mouse.el (mouse-drag-line): Move last form into preceding when
8054 clause (Bug#12731).
8055
8056 * help.el (resize-temp-buffer-window): Fix doc-string.
8057
8058 2012-10-25 David Engster <deng@randomsample.de>
8059
8060 * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
8061 Remove. This feature is already integrated in imenu.
8062
8063 * emacs-lisp/eieio-opt.el: Remove require for `button' since it is
8064 always loaded. Require `speedbar' unconditionally.
8065
8066 2012-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
8067
8068 * dired.el (dired-get-marked-files): Allow ! on . and .. (bug#12725).
8069
8070 * minibuffer.el (minibuffer-force-complete): Fix thinko.
8071
8072 * net/ldap.el (ldap-search-internal): The official ldif format starts
8073 with a "version: 1" header (bug#12724).
8074
8075 * emacs-lisp/package.el (package-installed-p): Warn if not ready
8076 (bug#12721).
8077
8078 2012-10-25 Glenn Morris <rgm@gnu.org>
8079
8080 * emacs-lisp/cl-macs.el (cl-progv): Doc fix.
8081
8082 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
8083
8084 * minibuffer.el (minibuffer-force-complete): Use one more marker
8085 for the temporary-overlay-map command (bug#12619).
8086
8087 2012-10-24 Chong Yidong <cyd@gnu.org>
8088
8089 * time.el (display-time-world-mode): Derive from special-mode.
8090 (display-time-world): Use display-buffer (Bug#12708).
8091 (display-time-world-mode-map): Variable deleted.
8092 (display-time-world-display): Wrap the final delete-char inside
8093 inhibit-read-only.
8094
8095 2012-10-24 Chong Yidong <cyd@gnu.org>
8096
8097 * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
8098 Doc fix.
8099
8100 * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
8101
8102 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
8103
8104 * minibuffer.el (completion--all-sorted-completions-location): New var.
8105 (completion--cache-all-sorted-completions)
8106 (completion--flush-all-sorted-completions): Use it.
8107 (completion-in-region, completion-in-region--postch)
8108 (completion-at-point, completion-help-at-point): Use markers in
8109 completion-in-region--data (bug#12619).
8110
8111 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
8112
8113 * progmodes/compile.el (compilation-start): Try to handle common
8114 quoting of `cd' argument (bug#12640).
8115
8116 * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
8117 (bug#12671).
8118
8119 2012-10-23 Glenn Morris <rgm@gnu.org>
8120
8121 * progmodes/gud.el (gud-menu-map):
8122 Check gdb-active-process is bound. (Bug#12358)
8123
8124 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
8125
8126 * repeat.el (repeat): Set real-this-command (bug#12232).
8127
8128 * htmlfontify.el (hfy-post-html-hook):
8129 * filesets.el (filesets-cache-fill-content-hook):
8130 * arc-mode.el (archive-extract-hook):
8131 * progmodes/cc-mode.el (c-prepare-bug-report-hook):
8132 * net/rcirc.el (rcirc-sentinel-functions)
8133 (rcirc-receive-message-functions, rcirc-activity-functions)
8134 (rcirc-print-functions):
8135 * net/dbus.el (dbus-event-error-functions):
8136 * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
8137 * emacs-lisp/checkdoc.el (checkdoc-style-functions)
8138 (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
8139 * term/sun.el (sun-raw-prefix-hooks):
8140 * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
8141
8142 2012-10-23 Michael Albinus <michael.albinus@gmx.de>
8143
8144 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
8145 Set `tramp-chunksize' to 1. This improves the performance.
8146 (tramp-smb-wait-for-output): Add timeout to
8147 `tramp-accept-process-output' calls.
8148
8149 2012-10-23 Chong Yidong <cyd@gnu.org>
8150
8151 * faces.el (font-list-limit): Define as an obsolete variable.
8152
8153 * startup.el (command-line):
8154 * cus-start.el: Don't refer to font-list-limit.
8155
8156 * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
8157
8158 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
8159
8160 * subr.el (internal-temp-output-buffer-show): Rename from
8161 temp-output-buffer-show, since previously compiled files expect this name.
8162
8163 2012-10-23 Glenn Morris <rgm@gnu.org>
8164
8165 * image.el (image-type-from-file-name): If multiple types match,
8166 return the first one that is supported. (Bug#9045)
8167
8168 2012-10-22 Glenn Morris <rgm@gnu.org>
8169
8170 * image.el (imagemagick-enabled-types): Doc fix.
8171
8172 2012-10-22 Takafumi Arakaki <aka.tkf@gmail.com> (tiny change)
8173
8174 * progmodes/which-func.el (which-func-current): The hash-table may have
8175 an explicit nil (bug#12338).
8176
8177 2012-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
8178
8179 * electric.el (electric-pair-delete-selection-self-insert-function):
8180 Rename to electric-pair-will-use-region, return a boolean.
8181 (electric-pair-mode): Adjust accordingly. Don't require delsel.
8182
8183 * delsel.el (delete-selection-helper): Use a function instead of a hook.
8184 (delete-selection-pre-hook): Use use-region-p.
8185 (delete-selection-self-insert-function): Remove.
8186 (self-insert-command): Obey self-insert-uses-region-functions.
8187 (self-insert-iso): Revert to previous setting, since we don't actually
8188 know what that command does.
8189 (delete-selection-self-insert-hooks): Remove.
8190
8191 2012-10-22 Simon Law <sfllaw@sfllaw.ca> (tiny change)
8192
8193 * delsel.el (delete-selection-helper): New function, extracted from
8194 delete-selection-pre-hook.
8195 (delete-selection-pre-hook): Use it.
8196 (delete-selection-self-insert-function): New function.
8197 (delete-selection-self-insert-hooks): New hook.
8198 (self-insert-command, self-insert-iso): Use it.
8199 * electric.el (electric-pair-syntax): New function, extracted from
8200 electric-pair-post-self-insert-function.
8201 (electric-pair-post-self-insert-function): Use it.
8202 (electric-pair-delete-selection-self-insert-function): New function.
8203 (electric-pair-mode): Require delsel and setup
8204 delete-selection-self-insert-hooks (bug#11520).
8205
8206 2012-10-20 Chong Yidong <cyd@gnu.org>
8207
8208 * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
8209 no changes to show (Bug#12586).
8210
8211 * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
8212 list explicitly (Bug#12571).
8213
8214 2012-10-20 Arne Jørgensen <arne@arnested.dk>
8215
8216 * progmodes/flymake.el (flymake-create-temp-inplace):
8217 Use file-truename.
8218
8219 2012-10-20 Eli Zaretskii <eliz@gnu.org>
8220
8221 * loadup.el: Update comment about uncompiled Lisp files. (Bug#12395)
8222
8223 2012-10-20 Jay Belanger <jay.p.belanger@gmail.com>
8224
8225 * calc/calc-units.el (math-extract-units): Properly extract powers
8226 of units.
8227
8228 2012-10-20 Daniel Colascione <dancol@dancol.org>
8229
8230 * frame.el (make-frame): Set x-display-name as we used to in order
8231 to unbreak creating an X11 frame from an Emacs daemon started
8232 without a display.
8233
8234 2012-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
8235
8236 * minibuffer.el (minibuffer-force-complete): Make the next completion use
8237 the same completion-field (bug#12221).
8238
8239 2012-10-19 Martin Rudalics <rudalics@gmx.at>
8240
8241 * emacs-lisp/debug.el (debug): Record height of debugger window
8242 also when debugger will be back (Bug#8789).
8243
8244 2012-10-18 Chong Yidong <cyd@gnu.org>
8245
8246 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
8247 Convert to defcustom.
8248 (gdb-get-source-file): Don't bind pop-up-windows.
8249
8250 * progmodes/gud.el (gud-display-line): Don't specially re-use
8251 other frames for the gdb-mi case (Bug#12648).
8252
8253 2012-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
8254
8255 * emacs-lisp/advice.el: Clean up commentary a bit.
8256 (ad-do-advised-functions, ad-with-originals): Use `declare'.
8257 (byte-code-function-p): Never redefine.
8258
8259 * emacs-lisp/gv.el (cond): Same fix as before for `if'.
8260
8261 2012-10-18 Glenn Morris <rgm@gnu.org>
8262
8263 * dired.el (dired-sort-toggle): Some ls implementations only allow
8264 a single option string. (Bug#12666)
8265
8266 * minibuffer.el (completion-cycle-threshold): Doc fix.
8267
8268 2012-10-17 Kenichi Handa <handa@gnu.org>
8269
8270 * international/mule.el (set-keyboard-coding-system):
8271 Recover input meta mode when the new coding system doesn not use 8-bit.
8272 Supply TERMINAL arg to set-input-meta-mode.
8273
8274 2012-10-17 Michael Heerdegen <michael_heerdegen@web.de>
8275
8276 * wdired.el (wdired-old-marks): New variable.
8277 (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
8278 (wdired-do-renames): Move point with renamed file and don't lose
8279 mark status (Bug#11795).
8280
8281 2012-10-16 Juri Linkov <juri@jurta.org>
8282
8283 * replace.el (query-replace-help): Mention multi-buffer replacement
8284 keys in the Help message. (Bug#12655)
8285
8286 2012-10-15 Chong Yidong <cyd@gnu.org>
8287
8288 * emacs-lisp/byte-run.el (defsubst): Doc fix.
8289
8290 2012-10-14 Eli Zaretskii <eliz@gnu.org>
8291
8292 * window.el (display-buffer): Doc fix.
8293
8294 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8295 Adjust the msft regexp to the output of Studio 2010, and move msft
8296 before edg-1. See the discussion on emacs-devel,
8297 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
8298 for the details.
8299
8300 2012-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
8301
8302 * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
8303 (oset): Move uses of object-class-fast macro after its definition.
8304
8305 * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
8306
8307 2012-10-13 Chong Yidong <cyd@gnu.org>
8308
8309 * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
8310 enabled, re-enable it (Bug#11963).
8311
8312 2012-10-13 Martin Rudalics <rudalics@gmx.at>
8313
8314 * emacs-lisp/debug.el (debug): When debugger-will-be-back is
8315 non-nil, restore window configuration (Bug#12623).
8316
8317 2012-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
8318
8319 * help-fns.el (describe-variable, describe-function-1):
8320 * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
8321
8322 * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
8323
8324 2012-10-12 Glenn Morris <rgm@gnu.org>
8325
8326 * mail/rmailsum.el (rmail-header-summary):
8327 Fix 2010-11-26 test for multiline Subject: field. (Bug#12625)
8328
8329 2012-10-12 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
8330
8331 * progmodes/python.el (python-mode-map):
8332 Replace subtitute-key-definition with proper command remapping.
8333 (python-nav--up-list): Fix behavior for blocks on the same level.
8334
8335 2012-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
8336
8337 * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
8338
8339 * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
8340 changes to the format of load-history.
8341
8342 * international/mule-cmds.el (read-char-by-name): Move let-binding of
8343 completion-ignore-case in case that var is buffer-local (bug#12615).
8344
8345 2012-10-11 Kenichi Handa <handa@gnu.org>
8346
8347 * international/eucjp-ms.el: Re-generated.
8348
8349 2012-10-10 Kenichi Handa <handa@gnu.org>
8350
8351 * select.el (xselect--encode-string): If a coding is specified for
8352 selection, and that is compatible with COMPOUND_TEXT, use it.
8353
8354 2012-10-10 Martin Rudalics <rudalics@gmx.at>
8355
8356 * window.el (switch-to-buffer-preserve-window-point): New option.
8357 (switch-to-buffer):
8358 Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
8359
8360 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
8361
8362 * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
8363 Don't document nil as a useful value (bug#12583).
8364
8365 2012-10-09 Michael Albinus <michael.albinus@gmx.de>
8366
8367 * net/tramp.el (tramp-debug-message):
8368 Remove "tramp-with-progress-reporter" from regexp of ignored functions.
8369 (with-tramp-progress-reporter): Rename from
8370 `tramp-with-progress-reporter'.
8371 (with-tramp-file-property, with-tramp-connection-property):
8372 Move from tramp-cache.el, rename from `with-file-property' and
8373 `with-connection-property', respectively.
8374
8375 * net/tramp-cache.el: Remove `with-file-property' and
8376 `with-connection-property'.
8377
8378 * net/tramp.el:
8379 * net/tramp-gvfs.el:
8380 * net/tramp-sh.el:
8381 * net/tramp-smb.el: Adapt callees.
8382
8383 * net/trampver.el: Update release number.
8384
8385 2012-10-09 Glenn Morris <rgm@gnu.org>
8386
8387 * w32-fns.el (set-message-beep):
8388 * term/w32-win.el (set-message-beep): Update declarations.
8389
8390 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
8391
8392 * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
8393 (mode-line-widen, mode-line-input-method-map)
8394 (mode-line-coding-system-map, mode-line-remote)
8395 (mode-line-unbury-buffer, mode-line-bury-buffer)
8396 (mode-line-next-buffer, mode-line-previous-buffer):
8397 Replace save-selected-window+select-window => with-selected-window.
8398
8399 * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
8400 * progmodes/cc-vars.el (bq-process): Remove, unused.
8401
8402 * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
8403
8404 2012-10-09 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
8405
8406 Implemented `backward-up-list'-like navigation.
8407 * progmodes/python.el (python-nav-up-list)
8408 (python-nav-backward-up-list): New functions.
8409 (python-mode-map): Define substitute key for backward-up-list to
8410 python-nav-backward-up-list.
8411
8412 2012-10-08 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
8413
8414 * progmodes/python.el (python-fill-paragraph): Rename from
8415 python-fill-paragraph-function. Fixed fill-paragraph for
8416 decorators (Bug#12605).
8417
8418 2012-10-08 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
8419
8420 * progmodes/python.el (python-shell-output-filter): Handle extra
8421 carriage return in OSX (Bug#12409).
8422
8423 2012-10-08 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
8424
8425 Fix shell handling of unbalanced quotes and parens in output.
8426 * progmodes/python.el (python-rx-constituents): Add string-delimiter.
8427 (python-syntax-propertize-function): Use it.
8428 (python-shell-output-syntax-table): New var.
8429 (inferior-python-mode): Prevent unbalanced parens/quotes from
8430 previous output mess with current input context.
8431
8432 2012-10-08 Juanma Barranquero <lekktu@gmail.com>
8433
8434 * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
8435 Make obsolete aliases of js-mode and js-mode-hook (from js.el).
8436
8437 2012-10-08 Michael Albinus <michael.albinus@gmx.de>
8438
8439 * ffap.el (ffap-replace-file-component): Support Tramp file name
8440 syntax, not only ange-ftp's one.
8441
8442 2012-10-08 Glenn Morris <rgm@gnu.org>
8443
8444 * cus-start.el (message-log-max): Set :version.
8445
8446 * calendar/calendar.el (calendar-intermonth-header): Doc fix.
8447
8448 2012-10-08 Martin Rudalics <rudalics@gmx.at>
8449
8450 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
8451 the minibuffer window (Bug#10851).
8452
8453 2012-10-08 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
8454
8455 Enhancements on forward-sexp movement.
8456 * progmodes/python.el (python-nav-beginning-of-statement)
8457 (python-nav-end-of-statement): Return point-marker.
8458 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
8459 (python-info-current-symbol)
8460 (python-info-statement-starts-block-p): Rename from
8461 python-info-beginning-of-block-p.
8462 (python-info-statement-ends-block-p): Rename from
8463 python-info-end-of-block-p.
8464 (python-info-beginning-of-statement-p)
8465 (python-info-end-of-statement-p)
8466 (python-info-beginning-of-block-p, python-info-end-of-block-p):
8467 New functions.
8468
8469 2012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
8470
8471 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
8472 frame-selected-windows.
8473
8474 2012-10-08 Daniel Colascione <dancol@dancol.org>
8475
8476 * battery.el (battery-status-function): Check for
8477 w32-battery-status itself, not system-time windows-nt.
8478
8479 * frame.el: Require cl-lib.
8480 (display-format-alist): New variable mapping frame types to
8481 functions that initialize them.
8482 (window-system-for-display): New function: interprets
8483 display-format-alist.
8484 (make-frame-on-display): Remove existing display-selection logic
8485 and just forward to make-frame, which will now DTRT.
8486 (make-frame): Restructure to use window-system-for-display to
8487 figure out how to create a frame on a given display.
8488 (display-mouse-p): Look for frame-type w32, not a particular
8489 system-type.
8490
8491 * loadup.el: Load w32 lisp code when we have the w32 feature.
8492
8493 * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
8494 system-type windows-nt.
8495
8496 * server.el (server-create-window-system-frame): Look for window
8497 type.
8498 (server-proces-filter): Only force a window system when windows-nt
8499 _and_ w32. Explain why.
8500
8501 * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
8502 of window systems we configure for the mode.
8503
8504 * startup.el (command-line): Mark window system is initialized
8505 after we've done it.
8506
8507 * common-win.el (x-select-text): Look for w32, not windows-nt.
8508
8509 * ns-win.el: Require cl-lib. Add ourselves to
8510 display-format-alist.
8511 (ns-initialize-window-system): Assert we're not initialized twice.
8512
8513 * w32-win.el: Enable lexical binding; require cl-lib; add
8514 ourselves to display-format-alist.
8515 (w32-handle-dropped-file): Convert incoming dropped files from
8516 Windows paths to Cygwin ones before passing them on to the rest of
8517 Emacs.
8518 (w32-drag-n-drop): New paramter new-frame. Simplify logic.
8519 (w32-initialize-window-system): Assert we're not initialized twice.
8520
8521 * x-win.el: Require cl-lib; add ourselves to display-format-alist.
8522 (x-initialize-window-system): Assert we're not initialized twice.
8523
8524 * w32-common-fns.el: New File.
8525 (w32-version, w32-using-nt, w32-get-clipboard-data)
8526 (w32-set-clipboard-data, x-set-selection, x-get-selection)
8527 (w32-charset-info-alist, x-last-selected, text)
8528 (x-get-selection-value, x-selection-value): Move here.
8529
8530 * w32-fns.el: Require w32-common-fns.
8531 (w32-version, w32-using-nt, w32-get-clipboard-data)
8532 (w32-set-clipboard-data, x-set-selection, x-get-selection)
8533 (w32-charset-info-alist, x-last-selected, text)
8534 (x-get-selection-value, x-selection-value): Move to
8535 w32-common-fns.
8536
8537 * w32-vars.el:
8538 (w32-allow-system-shell, w32-system-shells): Define only in
8539 non-cygwin case.
8540
8541 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
8542
8543 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
8544 (read-passwd): Remove a few more potential sources of leaks.
8545
8546 2012-10-07 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
8547
8548 * progmodes/python.el (inferior-python-mode)
8549 (python-shell-make-comint): Fix initialization of local
8550 variables copied from parent buffer.
8551
8552 2012-10-07 Jan Djärv <jan.h.d@swipnet.se>
8553
8554 * term/ns-win.el (ns-read-file-name): Update declaration to match
8555 nsfns.m.
8556 (ns-respond-to-change-font): Change fontsize separately so we are sure
8557 it is set when font is acted upon.
8558
8559 2012-10-07 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
8560
8561 Enhancements to indentation.
8562 * progmodes/python.el (python-indent-context): Give priority to
8563 inside-string context. Make comments indentation markers.
8564 (python-indent-region): Do not mess with strings, unless it's the
8565 enclosing set of quotes.
8566
8567 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
8568
8569 * window.el (internal--before-save-selected-window)
8570 (internal--after-save-selected-window): New functions extracted from
8571 save-selected-window. Make sure we return the `alist' we construct.
8572 (save-selected-window): Use them.
8573
8574 * textmodes/tex-mode.el (tex-recenter-output-buffer):
8575 Use with-selected-window.
8576
8577 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
8578 forms that define macros (bug#12593).
8579
8580 2012-10-07 Kenichi Handa <handa@gnu.org>
8581
8582 * international/mule-conf.el (compound-text-with-extensions):
8583 Add :mime-charset property as x-ctext.
8584
8585 2012-10-07 Stefan Merten <smerten@oekonux.de>
8586
8587 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
8588 (rst-indent-literal-normal, rst-indent-literal-minimized)
8589 (rst-indent-comment): Correct :version tag.
8590 (rst-official-cvs-rev): Correct version string.
8591
8592 2012-10-07 Glenn Morris <rgm@gnu.org>
8593
8594 * mail/rmailmm.el (rmail-mime-process-multipart):
8595 Do not confuse a multipart message with an epilogue
8596 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
8597
8598 2012-10-07 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
8599
8600 Fix shell output retrieval and comint-prompt-regexp init.
8601 * progmodes/python.el (inferior-python-mode):
8602 (python-shell-make-comint): Fix initialization of
8603 comint-prompt-regexp from copied file local variables.
8604 (python-shell-fetched-lines): Remove var.
8605 (python-shell-output-filter-in-progress): Rename from
8606 python-shell-fetch-lines-in-progress.
8607 (python-shell-output-filter-buffer): Rename from
8608 python-shell-fetch-lines-string.
8609 (python-shell-fetch-lines-filter): Delete function.
8610 (python-shell-output-filter): New function.
8611 (python-shell-send-string-no-output): Use them.
8612
8613 2012-10-07 Glenn Morris <rgm@gnu.org>
8614
8615 * hi-lock.el (hi-lock-process-phrase):
8616 Try to make it less fragile. (Bug#7161)
8617
8618 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
8619
8620 2012-10-06 Glenn Morris <rgm@gnu.org>
8621
8622 * ehelp.el (electric-help-mode): Use help-mode rather than
8623 non-existent mode `help'.
8624 (electric-help-map): Use button-buffer-map. (Bug#10917)
8625
8626 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
8627 (reftex-create-bibtex-footer): Fix custom types.
8628
8629 * progmodes/sh-script.el (sh-indent-after-continuation):
8630 Add explicit :group.
8631
8632 * textmodes/rst.el (rst-preferred-decorations)
8633 (rst-shift-basic-offset): Clarify obsolescence versions.
8634
8635 * profiler.el (profiler): Add missing group :version tag.
8636 * avoid.el (mouse-avoidance-banish-position):
8637 * proced.el (proced-renice-command):
8638 * calc/calc.el (calc-ensure-consistent-units):
8639 * calendar/icalendar.el (icalendar-import-format-uid):
8640 * net/tramp.el (tramp-save-ad-hoc-proxies):
8641 * progmodes/bug-reference.el (bug-reference-bug-regexp):
8642 * progmodes/flymake.el (flymake-error-bitmap)
8643 (flymake-warning-bitmap, flymake-fringe-indicator-position):
8644 * progmodes/sh-script.el (sh-indent-after-continuation):
8645 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
8646 (verilog-before-save-font-hook, verilog-after-save-font-hook):
8647 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
8648 (vhdl-array-index-record-field-in-sensitivity-list)
8649 (vhdl-indent-comment-like-next-code-line):
8650 * textmodes/reftex-vars.el (reftex-ref-style-alist)
8651 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
8652 (reftex-cite-key-separator, reftex-create-bibtex-header)
8653 (reftex-create-bibtex-footer):
8654 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
8655 (rst-indent-literal-normal, rst-indent-literal-minimized)
8656 (rst-indent-comment): Add missing custom :version tags.
8657
8658 * calendar/timeclock.el (timeclock-modeline-display):
8659 Add missing obsolete alias for renamed user option.
8660
8661 * strokes.el (strokes-modeline-string):
8662 * emulation/crisp.el (crisp-mode-modeline-string):
8663 * eshell/esh-mode.el (eshell-status-in-modeline):
8664 Aliases to defcustoms must come before the defcustom.
8665
8666 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
8667 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
8668 (cal-tex-cursor-week-monday): Doc fixes.
8669 (cal-tex-cursor-week2-summary): Doc fix.
8670 Rename from cal-tex-cursor-week-at-a-glance.
8671
8672 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
8673 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
8674
8675 * calendar/calendar.el (calendar-mode-map):
8676 Add cal-tex-cursor-week2-summary.
8677
8678 2012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
8679
8680 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
8681
8682 * subr.el (read-passwd-map): New var.
8683 (read-passwd): Use `read-string' again.
8684 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
8685
8686 2012-10-06 Jambunathan K <kjambunathan@gmail.com>
8687
8688 * register.el (append-to-register, prepend-to-register):
8689 Deactivate mark, as does `copy-to-register' (bug#12389).
8690
8691 2012-10-06 Chong Yidong <cyd@gnu.org>
8692
8693 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
8694
8695 2012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
8696
8697 * international/characters.el: Fix simple mistake ((car chars) ->
8698 elt), delete duplicated code.
8699
8700 2012-10-06 Glenn Morris <rgm@gnu.org>
8701
8702 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
8703
8704 2012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
8705
8706 * color.el (color-hsl-to-rgb): Fix incorrect results for
8707 small and large hue values. (Bug#12559)
8708
8709 2012-10-05 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
8710
8711 Enhancements to docstring formatting when filling paragraphs.
8712 * progmodes/python.el (python-fill-docstring-style): Rename from
8713 python-fill-string-style. Added new style.
8714 (python-fill-string): Use new style. Better checks for
8715 docstrings.
8716
8717 2012-10-05 Glenn Morris <rgm@gnu.org>
8718
8719 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
8720
8721 * color.el (color-name-to-rgb, color-rgb-to-hex)
8722 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
8723 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
8724 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
8725 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
8726
8727 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
8728
8729 2012-10-05 Juanma Barranquero <lekktu@gmail.com>
8730
8731 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
8732 to get the correct size across symlinks.
8733
8734 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
8735
8736 2012-10-04 Juri Linkov <juri@jurta.org>
8737
8738 * replace.el (query-replace-interactive): Declare obsolete.
8739 (query-replace-read-from): Add the last incremental search string
8740 to the list of default values accessible via M-n.
8741 (map-query-replace-regexp): Use `read-regexp'.
8742 (query-replace, query-replace-regexp, query-replace-regexp-eval)
8743 (map-query-replace-regexp, replace-string, replace-regexp):
8744 Fix docstrings to replace mentions of `query-replace-interactive'
8745 with alternatives. (Bug#12526)
8746
8747 2012-10-04 Juri Linkov <juri@jurta.org>
8748
8749 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
8750 (dired-pop-to-buffer): Declare obsolete.
8751 (dired-mark-pop-up): Doc fix.
8752
8753 2012-10-04 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
8754
8755 Allow user to set docstring style for fill-paragraph.
8756 * progmodes/python.el
8757 (python-fill-comment-function, python-fill-string-function)
8758 (python-fill-decorator-function, python-fill-paren-function):
8759 Remove :safe for defcustoms.
8760 (python-fill-string-style): New defcustom
8761 (python-fill-paragraph-function): Enhance context detection.
8762 (python-fill-string): Honor python-fill-string-style settings.
8763
8764 2012-10-04 Martin Rudalics <rudalics@gmx.at>
8765
8766 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
8767 after setting its buffer (Bug#10805).
8768
8769 2012-10-03 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
8770
8771 Fix cornercase for string syntax.
8772 * progmodes/python.el (python-syntax-propertize-function):
8773 Simplify and enhance the regexp for unescaped quotes. Now it also
8774 matches quotes in weird situations like the single quote in
8775 "something\"'".
8776 (python-syntax-stringify): Simplify num-quotes detecting code.
8777
8778 2012-10-03 Glenn Morris <rgm@gnu.org>
8779
8780 * help-macro.el (three-step-help):
8781 Revert 2012-09-29 change. (Bug#12567)
8782
8783 2012-10-03 Martin Rudalics <rudalics@gmx.at>
8784
8785 * menu-bar.el (kill-this-buffer): Don't do anything when
8786 `menu-frame' is not alive or visible (Bug#8184).
8787
8788 * emacs-lisp/debug.el (debug): When quitting the debugger window
8789 restore current buffer (Bug#12502).
8790
8791 2012-10-02 Chong Yidong <cyd@gnu.org>
8792
8793 * progmodes/hideif.el (hif-lookup, hif-defined):
8794 Handle semantic-c-takeover-hideif.
8795
8796 2012-10-02 Paul Eggert <eggert@cs.ucla.edu>
8797
8798 Change sampling interval units from ms to ns.
8799 * profiler.el (profiler-sampling-interval): Change units
8800 from ms to ns, multiplying the default by 1000000 so that
8801 it remains 1 ms.
8802 (profiler-report-cpu-line-format): Give enough room for
8803 the maximum counters on 64-bit hosts.
8804 (profiler-report-render-calltree-1): Call them "CPU samples",
8805 not "Time (ms)", since they are not milliseconds now (and
8806 never really were).
8807
8808 2012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
8809
8810 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
8811 Fix querying BBDB for entries without a last name (Bug#11580).
8812
8813 2012-10-02 Chong Yidong <cyd@gnu.org>
8814
8815 * emacs-lisp/eieio.el: Restore Version header.
8816
8817 2012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
8818
8819 * vc/diff-mode.el (diff--auto-refine-data): New var.
8820 (diff-hunk): Use it to delay refinement.
8821 (diff-mode): Remove overlays when we turn off font-lock.
8822
8823 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
8824 (table-initialize-table-fixed-width-mode)
8825 (table-set-table-fixed-width-mode): Remove functions.
8826 (table-command-list): Move initialization into declaration.
8827 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
8828 (table-with-cache-buffer): Use `declare'.
8829 (table-span-cell): Simplify via CSE.
8830 (table-fixed-width-mode): Use define-minor-mode.
8831 (table-call-interactively, table-funcall, table-apply): Remove.
8832 (table-function): New function, to replace them.
8833
8834 * bookmark.el (bookmark-search-pattern): Remove var.
8835 (bookmark-read-search-input): Remove function.
8836 (bookmark-bmenu-search): Reimplement using a minibuffer.
8837
8838 * faces.el (modeline): Remove obsolete face name.
8839
8840 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
8841 and give a non-nil default value.
8842 (add-change-log-entry): Simplify accordingly.
8843
8844 2012-10-01 Dmitry Gutov <dgutov@yandex.ru>
8845
8846 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
8847 (vc-git-log-edit-toggle-amend): New function.
8848 (vc-git-log-edit-toggle-signoff): New function.
8849 (vc-git-log-edit-mode): New major mode.
8850 (vc-git-log-edit-mode-map): Keymap for it.
8851 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
8852
8853 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
8854 header names.
8855 (log-edit-toggle-header): New function.
8856 (log-edit-extract-headers): Accept function values in HEADERS alist.
8857
8858 2012-10-01 David Engster <deng@randomsample.de>
8859
8860 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
8861 from symbol property and change message to be more consistent with
8862 Emacs proper.
8863 (eieio-describe-generic): Add filename for each implementation.
8864 Fix indices for generic and normal methods.
8865 (eieio-method-def, eieio-class-def): New buttons.
8866 (eieio-help-find-method-definition)
8867 (eieio-help-find-class-definition): New functions.
8868 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
8869 class, constructor and method definitions.
8870
8871 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
8872 information in symbol property.
8873 (scoped-class): Remove.
8874 (eieio-slot-name-index, call-next-method): Check if it is bound.
8875
8876 2012-10-01 Leo P. White <lpw25@cam.ac.uk>
8877
8878 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
8879 (eieio-custom-mode): New major mode.
8880 (eieio-customize-object): Use it.
8881
8882 2012-10-01 Eric Ludlam <zappo@gnu.org>
8883
8884 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
8885 specifying the expected class, and whether subclassing is allowed.
8886 (eieio-persistent-convert-list-to-object):
8887 (eieio-persistent-validate/fix-slot-value)
8888 (eieio-persistent-slot-type-is-class-p): New functions.
8889 (eieio-named::slot-missing): Doc fix.
8890
8891 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
8892 Stop using unused publd variable.
8893
8894 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
8895 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
8896 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
8897 (eieio-speedbar-handle-click): Do not specify a class for the
8898 method. Fixes method invocation order problems with EDE.
8899
8900 2012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
8901
8902 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
8903 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
8904
8905 2012-10-01 Karl Fogel <kfogel@red-bean.com>
8906
8907 * bookmark.el (bookmark-version-control): Give tags in the
8908 :type choices (Bug#12309), and improve doc string.
8909 (bookmark-write-file): Bind `print-circle' to `t' to allow
8910 circular custom bookmark types. (Bug#12503)
8911
8912 2012-10-01 Paul Eggert <eggert@cs.ucla.edu>
8913
8914 Revert the FOLLOW-SYMLINKS change for file-attributes.
8915 * files.el (remote-file-name-inhibit-cache, after-find-file):
8916 * time.el (display-time-file-nonempty-p): Undo last change.
8917
8918 * profiler.el (profiler-sampling-interval): Change default back to 1.
8919 See Stefan Monnier in
8920 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
8921
8922 2012-10-01 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
8923
8924 Shell output catching a la gud-gdb.
8925 * progmodes/python.el (python-shell-fetch-lines-in-progress)
8926 (python-shell-fetch-lines-string, python-shell-fetched-lines):
8927 New Vars.
8928 (python-shell-fetch-lines-filter): New function.
8929 (python-shell-send-string-no-output): Use them.
8930
8931 2012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
8932
8933 * profiler.el (profiler-sampling-interval): Rename from
8934 profiler-sample-interval.
8935 (profiler-sampling-interval): Default to 10.
8936 (profiler-find-profile): New command (was profiler-find-log).
8937 (profiler-find-profile-other-window): New command.
8938 (profiler-find-profile-other-frame): New command.
8939 (profiler-profile): Introduce API-level data structure.
8940
8941 2012-09-30 Paul Eggert <eggert@cs.ucla.edu>
8942
8943 file-attributes has a new optional arg FOLLOW-SYMLINKS.
8944 * files.el (remote-file-name-inhibit-cache):
8945 * time.el (display-time-file-nonempty-p): Use it.
8946 * files.el (after-find-file): Don't chase links before calling
8947 file-exists-p, as file-exists-p already does the right thing.
8948
8949 2012-09-30 Ralf Angeli <angeli@caeruleus.net>
8950
8951 Merge from standalone RefTeX repository.
8952
8953 The following ChangeLog entries are shortened versions of the
8954 original ones with file paths adapted. A not so strongly edited
8955 version of the original ChangeLog can be found in the commit log.
8956
8957 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
8958 (reftex-arg-cite): Use `reftex-cite-key-separator'.
8959 Correctly handle new value type returned by `reftex-citation'.
8960
8961 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
8962 that entries with whitespace at various places are found.
8963 Doc fix. Include entries that are cross-referenced from cited entries.
8964 Include @String definitions in the resulting bib file. Add header
8965 and footer defined in `reftex-create-bibtex-header' and
8966 `reftex-create-bibtex-footer'.
8967 (reftex-do-citation): Make it possible again to insert
8968 non-existent entries. Save match data when asking for optional
8969 arguments. Return all keys, not just the first one.
8970 (reftex-all-used-citation-keys): Fix regexp to correctly extract
8971 all citations in the same line.
8972 (reftex-parse-bibtex-entry): Accept additional optional argument
8973 `raw' and keep quotes or braces if it is non-nil. Match fields
8974 containing hyphens besides word constituents.
8975 (reftex-get-string-refs): New function.
8976 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
8977 and ask if it should be reread in case it did.
8978 (reftex-pop-to-bibtex-entry)
8979 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
8980 entries with spaces or tabs in front of arguments.
8981 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
8982 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
8983 Match entries containing numbers and symbol constituents.
8984 (reftex-do-citation, reftex-figure-out-cite-format):
8985 Use `reftex-cite-key-separator'.
8986
8987 * textmodes/reftex-dcr.el: Move provide statement to end of file.
8988 (reftex-mouse-view-crossref): Explain why point is set.
8989
8990 * textmodes/reftex-global.el: Whitespace changes.
8991
8992 * textmodes/reftex-index.el: Move provide statement to end of
8993 file.
8994 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
8995 (reftex-index-visit-phrases-buffer): Set marker when visiting
8996 buffer. This allows for returning from the phrases file to the
8997 file one was just editing instead of the file where the last
8998 phrases was added from.
8999 (reftex-index-phrases-syntax-table): New variable. Give ?\"
9000 punctuation syntax as it usually is not used as string quote in
9001 TeX-related modes and may occur unmatched. The change also
9002 prevents fontification of quoted content.
9003 (reftex-index-phrases-mode): Use it.
9004
9005 * textmodes/reftex-parse.el (reftex-parse-from-file):
9006 Move backward one char if a `\' was matched after a section macro.
9007 (reftex-parse-from-file): Use beginning of match instead of end as
9008 bound.
9009
9010 * textmodes/reftex-ref.el: Adapt creation of
9011 `reftex-<package>-<macro>' functions to new structure of
9012 `reftex-ref-style-alist'.
9013 (reftex-reference): Use `reftex-ref-style-list' function.
9014 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
9015 reference macro if `reftex-ref-macro-prompt' is non-nil.
9016 (reftex-reference): Pass refstyle to `reftex-format-special'.
9017 Determine reference macro by looking at
9018 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
9019 Use only one special format function.
9020 (reftex-varioref-vref, reftex-fancyref-fref)
9021 (reftex-fancyref-Fref): Remove definitions. The functions are now
9022 generated from `reftex-ref-style-alist'.
9023 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
9024 Remove.
9025 (reftex-format-special): New function.
9026
9027 * textmodes/reftex-sel.el
9028 (reftex-select-cycle-ref-style-internal): Adapt to new structure
9029 of `reftex-ref-style-alist'. Remove code for testing macro type.
9030 (reftex-select-toggle-varioref)
9031 (reftex-select-toggle-fancyref): Remove.
9032 (reftex-select-cycle-ref-style-internal)
9033 (reftex-select-cycle-ref-style-forward)
9034 (reftex-select-cycle-ref-style-backward): New functions.
9035 (reftex-select-label-map): Use `v' and `V' for general cycling
9036 through reference styles. Add `p' for switching between number
9037 and page reference types.
9038
9039 * textmodes/reftex-toc.el (reftex-re-enlarge):
9040 Call `enlarge-window' only if there is something to do because in Emacs
9041 the horizontal version throws an error even if the parameter is 0.
9042
9043 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
9044 (reftex-plug-into-AUCTeX): Doc fix.
9045 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
9046 string. Adapt to new name.
9047 (reftex-ref-style-alist): Change structure so that it is not
9048 possible to use multiple different package names within a style.
9049 Remove the symbols for symbols for macro type distinction.
9050 Add characters for macro selection.
9051 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
9052 (reftex-create-bibtex-footer): New variables.
9053 (reftex-format-ref-function): Mention third argument of special
9054 format function.
9055 (reftex-ref-style-alist, reftex-ref-style-default-list):
9056 New variables.
9057 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
9058 to new implementation. Mark as obsolete. Add compatibility code
9059 for honoring the variable values in case they are set.
9060 (reftex-cite-format-builtin, reftex-bibliography-commands):
9061 Add support for ConTeXt.
9062 (reftex-format-ref-function, reftex-format-cite-function):
9063 Fix custom type.
9064 (reftex-cite-key-separator): New variable.
9065
9066 * textmodes/reftex.el (reftex-syntax-table-for-bib)
9067 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
9068 `reftex-syntax-table' because parens have to retain their paren
9069 syntax in order for parsing of BibTeX entries like @book(...) to
9070 work.
9071 (reftex-in-comment): Do not error out if `comment-start-skip' is
9072 not set. Deal correctly with escaped comment characters.
9073 (reftex-tie-multifile-symbols): Add doc string.
9074 Initialize `reftex-ref-style-list'.
9075 (reftex-untie-multifile-symbols): Add doc string.
9076 (reftex-add-index-macros): Doc fix.
9077 (reftex-ref-style-activate, reftex-ref-style-toggle)
9078 (reftex-ref-style-list): New functions.
9079 (reftex-mode-menu): Use them. Adapt to new structure of
9080 `reftex-ref-style-alist'.
9081 (reftex-select-with-char): Kill the RefTeX Select buffer when
9082 done.
9083 (reftex-remove-if): New function.
9084 (reftex-erase-all-selection-and-index-buffers)
9085 (reftex-mode-menu): Reference styles are now computed from
9086 `reftex-ref-style-alist'. Fix typo.
9087 (reftex-report-bug): New function.
9088 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
9089 algorithms with O(n log n). Introduce optional argument SORT (not
9090 yet used).
9091
9092 2012-09-30 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
9093
9094 Enhancements for triple-quote string syntax.
9095 * progmodes/python.el (python-syntax-propertize-function):
9096 Match both quote cases in one regexp.
9097 (python-syntax-stringify): Handle matches properly.
9098
9099 2012-09-30 Juri Linkov <juri@jurta.org>
9100
9101 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
9102 to nil around the call to `insert' to prevent
9103 directory time modification by lock_file. (Bug#2295)
9104 * tar-mode.el (tar-summarize-buffer): Idem.
9105
9106 2012-09-30 Juri Linkov <juri@jurta.org>
9107
9108 * facemenu.el (list-colors-sort): Add option "Luminance".
9109 (list-colors-sort-key): Implement it.
9110
9111 * vc/diff-mode.el (diff-refine-removed):
9112 * vc/ediff-init.el (ediff-fine-diff-A):
9113 * vc/smerge-mode.el (smerge-refined-removed):
9114 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
9115
9116 2012-09-30 Jan Djärv <jan.h.d@swipnet.se>
9117
9118 * term/ns-win.el (x-file-dialog): New function.
9119
9120 2012-09-30 Juanma Barranquero <lekktu@gmail.com>
9121
9122 * ido.el (ido-max-directory-size): Default to nil; the current
9123 default is small for POSIX systems, and impractical on Windows 7
9124 now that lstat returns directory sizes for NTFS.
9125
9126 2012-09-30 Martin Rudalics <rudalics@gmx.at>
9127
9128 In buffer display functions handle window-height/window-width
9129 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
9130 * window.el (window--display-buffer): New argument ALIST.
9131 Obey window-height and window-width alist entries.
9132 (window--try-to-split-window): New argument ALIST.
9133 Bind window-combination-limit to t when the window's size shall be
9134 changed and window-combination-limit equals `window-size'.
9135 (display-buffer-in-atom-window)
9136 (display-buffer-in-major-side-window)
9137 (display-buffer-in-side-window, display-buffer-same-window)
9138 (display-buffer-reuse-window, display-buffer-pop-up-frame)
9139 (display-buffer-pop-up-window, display-buffer-below-selected)
9140 (display-buffer-at-bottom, display-buffer-in-previous-window)
9141 (display-buffer-use-some-window): Adjust all callers of
9142 window--display-buffer and window--try-to-split-window.
9143 (fit-frame-to-buffer): New option.
9144 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
9145 is non-nil.
9146 (display-buffer-in-major-side-window): Evaluate window-height /
9147 window-width alist entries.
9148
9149 * help.el (temp-buffer-resize-frames)
9150 (temp-buffer-resize-regexps): Remove options.
9151 (temp-buffer-resize-mode): Adjust doc-string.
9152 (resize-temp-buffer-window): Don't consult
9153 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
9154 temp-buffer-resize-frames.
9155
9156 * dired.el (dired-mark-pop-up):
9157 Call display-buffer-below-selected with a fit-window-to-buffer alist
9158 entry.
9159
9160 2012-09-30 Chong Yidong <cyd@gnu.org>
9161
9162 * server.el (server-host): Document the security implications.
9163 (server-auth-key): Doc fix.
9164
9165 * startup.el (initial-buffer-choice): Doc fix.
9166
9167 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
9168
9169 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
9170 restriction change.
9171
9172 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
9173
9174 * help-fns.el (help-fns--obsolete): Fix last change.
9175
9176 2012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
9177
9178 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
9179 (minor-mode-map-alist): Remove redundant code.
9180
9181 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
9182 visited in a buffer.
9183 (cvs-insert-visited-file): New function.
9184 (find-file-hook): Use it.
9185
9186 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
9187
9188 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
9189 chose face.
9190 (log-edit-empty-buffer-p): Don't require a space after a header.
9191
9192 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
9193
9194 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
9195
9196 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
9197 a proper minor-mode.
9198
9199 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
9200
9201 2012-09-29 Glenn Morris <rgm@gnu.org>
9202
9203 * winner.el (winner-mode): Remove variable (let define-minor-mode
9204 handle it).
9205 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
9206 Doc fixes.
9207 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
9208 (winner-mode): Use define-minor-mode.
9209
9210 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
9211 the full definition in loaddefs, rather than duplicating it.
9212
9213 * help-macro.el (three-step-help): No need to autoload defcustom.
9214
9215 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
9216 (inferior-lisp-program, inferior-lisp-load-command)
9217 (inferior-lisp-prompt, inferior-lisp-mode-hook):
9218 No need to autoload defcustoms.
9219
9220 * hippie-exp.el (hippie-expand-try-functions-list)
9221 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
9222 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
9223 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
9224 (hippie-expand-only-buffers): No need to autoload defcustoms.
9225 * progmodes/vhdl-mode.el (vhdl-line-expand):
9226 Explicitly load hippie-exp, so it does not get autoloaded
9227 while hippie-expand-try-functions-list is let-bound.
9228
9229 2012-09-28 Glenn Morris <rgm@gnu.org>
9230
9231 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
9232
9233 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
9234 Only "cl.el" counts as cl these days.
9235
9236 2012-09-28 Juri Linkov <juri@jurta.org>
9237
9238 Display archive errors in the echo area instead of inserting
9239 to the file buffer.
9240
9241 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
9242 to STDERR-TEST that can be a regexp matching a successful output.
9243 Create a temporary file and redirect stderr to it. Search for
9244 STDERR-TEST in the stderr output and display it in the echo area
9245 if no match is found.
9246 (archive-extract-by-file): New function like
9247 `archive-extract-by-stdout' but extracting archives to files
9248 and looking for successful matches in stdout. Function body is
9249 mostly copied from `archive-rar-extract'.
9250 (archive-rar-extract): Use `archive-extract-by-file'.
9251 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
9252
9253 2012-09-28 Leo Liu <sdl.web@gmail.com>
9254
9255 * pcomplete.el (pcomplete-show-completions):
9256 Use minibuffer-message to make pcomplete usable in minibuffer.
9257
9258 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
9259
9260 2012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
9261
9262 * type-break.el: Use lexical-binding.
9263 (type-break-mode): Use define-minor-mode.
9264
9265 * emacs-lisp/pcase.el (pcase--mark-used): New.
9266 (pcase--u1): Use it (bug#12512).
9267
9268 * custom.el (load-theme): Set buffer-file-name so the load is recorded
9269 in load-history with the right file name.
9270
9271 2012-09-28 Tassilo Horn <tsdh@gnu.org>
9272
9273 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
9274 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
9275 (doc-view-get-bounding-box): Make bounding box slicing work for
9276 ODF and DVI documents.
9277
9278 2012-09-28 Glenn Morris <rgm@gnu.org>
9279
9280 * type-break.el (type-break-mode, type-break-interval)
9281 (type-break-good-rest-interval, type-break-keystroke-threshold):
9282 No need to autoload.
9283 (type-break-good-rest-interval, type-break-keystroke-threshold):
9284 Add :set-after.
9285
9286 2012-09-28 Chong Yidong <cyd@gnu.org>
9287
9288 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
9289 Add :version tag.
9290
9291 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
9292
9293 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
9294
9295 2012-09-27 Glenn Morris <rgm@gnu.org>
9296
9297 * faces.el (x-display-name): Declare (for without-x builds).
9298
9299 * linum.el (linum-format): Don't autoload it. Improve :type.
9300
9301 * progmodes/tcl.el: Don't require outline when compiling.
9302 (outline-regexp, outline-level): Declare.
9303 * textmodes/sgml-mode.el: Don't require outline when compiling.
9304 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
9305
9306 * term.el (term-ansi-reset):
9307 Try setting term-ansi-face-already-done to nil. (Bug#11785)
9308
9309 * vc/vc.el (vc-next-action): Only gripe about committing read-only
9310 files for RCS and SCCS. (Bug#9781)
9311
9312 2012-09-27 Chong Yidong <cyd@gnu.org>
9313
9314 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
9315 change; value should be t.
9316
9317 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
9318
9319 * image-mode.el: Use lexical-binding.
9320 (image-mode-winprops): Use t to stand for the window of
9321 a buffer that's not displayed.
9322 * doc-view.el (doc-view-new-window-function): Handle the new
9323 t in winprops.
9324 (doc-view-enlarge): Make it a real nop if the size is not changed.
9325 (doc-view-display): Handle the case where the buffer is not (yet?)
9326 displayed in any window.
9327 (doc-view-saved-settings): New var.
9328 (doc-view-mode): Use it.
9329 (doc-view-fallback-mode): Set it.
9330
9331 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
9332 Set lexical-binding.
9333 (minibuffer-eldef-shorten-default): New var.
9334 (minibuffer-default-in-prompt-regexps): Use it for new default.
9335 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
9336
9337 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
9338
9339 * international/uni-bidi.el:
9340 * international/uni-category.el:
9341 * international/uni-name.el:
9342 * international/uni-numeric.el: Regenerate.
9343
9344 2012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
9345 Stefan Monnier <monnier@iro.umontreal.ca>
9346
9347 * profiler.el: New file.
9348
9349 2012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
9350
9351 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
9352 (testcover-reinstrument): Simplify with CSE.
9353
9354 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
9355
9356 * window.el (temp-buffer-window-setup): Fix typo in docstring.
9357
9358 2012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
9359
9360 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
9361 (verilog-auto-input, verilog-auto-insert-lisp)
9362 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
9363 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
9364 (verilog-auto-unused, verilog-auto-wire)
9365 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
9366 newline. Reported by Andrew Jones.
9367 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
9368 Reported by Brad Dobbie.
9369 (verilog-batch-delete-trailing-whitespace):
9370 Create verilog-batch-delete-trailing-whitespace.
9371 Reported by Brad Dobbie.
9372 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
9373 parameters from another module. Reported by Dan Katz.
9374 (verilog-auto, verilog-auto-assign-modport)
9375 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
9376 AUTOINOUTMODPORT for UVM interface module shell generation.
9377 Reported by Brad Dobbie.
9378 (verilog-auto-inst-interfaced-ports): Make default nil, as more
9379 standard behavior.
9380 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
9381 Reported by Matt Martin.
9382
9383 2012-09-25 Martin Rudalics <rudalics@gmx.at>
9384
9385 * window.el (window--resize-child-windows): When resizing child
9386 windows proportionally, process them in reverse order to
9387 preserve the "when splitting a window the new one gets the odd
9388 line" behavior.
9389 (window--resize-root-window-vertically): When resizing the
9390 minibuffer window try to affect only windows at the bottom of the
9391 frame. (Bug#12419)
9392
9393 2012-09-25 Chong Yidong <cyd@gnu.org>
9394
9395 * subr.el (declare): Doc fix.
9396
9397 * help-fns.el (help-fns--obsolete): Handle macros properly.
9398
9399 2012-09-25 Chong Yidong <cyd@gnu.org>
9400
9401 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
9402 this function obsolete.
9403
9404 * calendar/cal-x.el (calendar-two-frame-setup)
9405 (calendar-only-one-frame-setup, calendar-one-frame-setup):
9406 * calendar/calendar.el (american-calendar, european-calendar)
9407 (calendar-for-loop):
9408 * comint.el (comint-dynamic-simple-complete)
9409 (comint-dynamic-complete-as-filename, comint-unquote-filename):
9410 * desktop.el (desktop-load-default):
9411 * dired-x.el (dired-omit-here-always)
9412 (dired-hack-local-variables, dired-default-directory):
9413 * emacs-lisp/derived.el (derived-mode-class):
9414 * emacs-lisp/timer.el (timer-set-time-with-usecs):
9415 * emacs-lock.el (toggle-emacs-lock):
9416 * epa.el (epa-display-verify-result):
9417 * epg.el (epg-sign-keys, epg-start-sign-keys)
9418 (epg-passphrase-callback-function):
9419 * eshell/esh-util.el (eshell-for):
9420 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
9421 (eshell-add-to-window-buffer-names):
9422 * files.el (locate-file-completion):
9423 * imenu.el (imenu-example--create-c-index)
9424 (imenu-example--create-lisp-index)
9425 (imenu-example--lisp-extract-index-name)
9426 (imenu-example--name-and-position):
9427 * international/mule-cmds.el (princ-list):
9428 * international/mule-diag.el (decode-codepage-char):
9429 * international/mule-util.el (detect-coding-with-priority):
9430 * iswitchb.el (iswitchb-read-buffer):
9431 * mail/mailalias.el (mail-complete):
9432 * mail/sendmail.el (mail-sent-via):
9433 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
9434 (mouse-major-mode-menu):
9435 * password-cache.el (password-read-and-add):
9436 * pcomplete.el (pcomplete-parse-comint-arguments):
9437 * progmodes/sh-script.el (sh-maybe-here-document):
9438 * replace.el (query-replace-regexp-eval):
9439 * savehist.el (savehist-load):
9440 * simple.el (choose-completion-delete-max-match):
9441 * term.el (term-dynamic-simple-complete):
9442 * vc/ediff-init.el (ediff-check-version):
9443 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
9444 * vc/vc.el (vc-diff-switches-list):
9445 * view.el (view-return-to-alist-update): Likewise.
9446
9447 * subr.el (eval-next-after-load, makehash, insert-string)
9448 (assoc-ignore-representation, assoc-ignore-case): Use declare to
9449 mark obsolete.
9450 (mode-line-inverse-video): Variable deleted.
9451
9452 * international/mule-util.el (string-to-sequence): Remove.
9453
9454 * calendar/calendar.el (calendar-version):
9455 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
9456 (icalendar-convert-diary-to-ical):
9457 * cus-edit.el (custom-mode):
9458 * ansi-color.el (ansi-color-unfontify-region):
9459 * international/latin1-disp.el (latin1-char-displayable-p):
9460 * progmodes/cwarn.el (turn-on-cwarn-mode):
9461 * progmodes/which-func.el (which-func-update-1):
9462 Use define-obsolete-function-alias.
9463
9464 * net/newst-backend.el (newsticker-cache-filename):
9465 * net/newst-treeview.el (newsticker-groups-filename):
9466 Fix incorrect obsolescence declaration.
9467
9468 * allout.el (allout-passphrase-hint-string): Likewise.
9469 (allout-init): Use a declare form to mark obsolete.
9470
9471 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
9472 this applies to functions.
9473
9474 * iswitchb.el (iswitchb-read-buffer): Move code of
9475 iswitchb-define-mode-map here, and delete that obsolete function.
9476
9477 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
9478 font-lock-reference-face.
9479
9480 2012-09-25 Glenn Morris <rgm@gnu.org>
9481
9482 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
9483 Doc fixes.
9484
9485 * eshell/em-term.el (eshell-term-name):
9486 Default to term-term-name. (Bug#12485)
9487
9488 2012-09-24 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
9489
9490 * progmodes/python.el (python-shell-send-buffer): Better handling
9491 of "if __name__ == '__main__':" conditionals when sending the buffer.
9492
9493 2012-09-24 Glenn Morris <rgm@gnu.org>
9494
9495 * eshell/esh-cmd.el (eshell-find-alias-function):
9496 Tighten up file-name regexp. (Bug#12499)
9497
9498 2012-09-24 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
9499
9500 Enhancements for triple-quote string syntax.
9501 * progmodes/python.el (python-quote-syntax): Remove.
9502 (python-syntax-propertize-function): New value.
9503 (python-syntax-count-quotes, python-syntax-stringify):
9504 New functions.
9505
9506 2012-09-24 Chong Yidong <cyd@gnu.org>
9507
9508 * mail/supercite.el (sc-version): Remove obsolete function.
9509 (sc-describe): Don't mark as obsolete, since it is bound.
9510 (sc-submit-bug-report): Remove.
9511
9512 * vc/log-edit.el (cvs-changelog-full-paragraphs)
9513 (cvs-commit-buffer-require-final-newline): Remove.
9514 (log-edit-require-final-newline)
9515 (log-edit-changelog-full-paragraphs): Default to t.
9516
9517 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
9518 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
9519 * vc/vc.el (vc-checkout-carefully): Likewise.
9520
9521 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
9522 (emerge-version): Remove.
9523
9524 * progmodes/compile.el (compile-internal): Remove.
9525 (compilation-parse-errors-function): Fix typo.
9526
9527 * international/mule.el (set-char-table-default): Remove.
9528 (set-coding-priority, make-coding-system, generic-char-p)
9529 (charset-list, charset-bytes, charset-id): Use declare to mark
9530 functions as obsolete.
9531
9532 * vc/pcvs-defs.el (cvs-buffer-name-alist)
9533 (cvs-invert-ignore-marks): Remove references to obsolete vars.
9534 * vc/vc-hooks.el (vc-default-registered): Don't use
9535 vc-master-templates.
9536
9537 * font-lock.el (font-lock-reference-face):
9538 Use define-obsolete-variable-alias.
9539
9540 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
9541 * calendar/calendar.el (calendar-font-lock-keywords):
9542 * calendar/diary-lib.el (diary-font-lock-keywords)
9543 (diary-fancy-font-lock-keywords):
9544 * textmodes/reftex-sel.el (reftex-insert-docstruct):
9545 * textmodes/reftex-index.el (reftex-insert-index):
9546 * textmodes/reftex-cite.el (reftex-format-bib-entry):
9547 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
9548 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
9549 * progmodes/prolog.el (prolog-font-lock-keywords):
9550 * progmodes/idlwave.el (idlwave-idl-keywords):
9551 * progmodes/ada-mode.el (ada-font-lock-keywords):
9552 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
9553
9554 2012-09-24 Glenn Morris <rgm@gnu.org>
9555
9556 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
9557
9558 2012-09-23 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
9559
9560 * progmodes/python.el (python-indent-line): More consistent cursor
9561 movement behavior.
9562
9563 2012-09-23 Stefan Merten <smerten@oekonux.de>
9564
9565 * textmodes/rst.el: Fix compiler warning.
9566
9567 2012-09-23 Roland Winkler <winkler@gnu.org>
9568
9569 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
9570 Transcribe also LaTeX hyphenation.
9571 (bibtex-reformat): Bug fix. Do not quote twice the elements of
9572 bibtex-reformat-previous-options.
9573
9574 2012-09-23 Roland Winkler <winkler@gnu.org>
9575
9576 * proced.el (proced-renice-command): New variable.
9577 (proced-marked-processes): New function.
9578 (proced-with-processes-buffer): New macro.
9579 (proced-send-signal): Use them.
9580 (proced-renice): New command bound to r.
9581
9582 2012-09-23 Roland Winkler <winkler@gnu.org>
9583
9584 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
9585 ibuffer-saved-filter-groups has one element, shortcut the call of
9586 completing-read. (Bug#12331)
9587
9588 2012-09-23 Chong Yidong <cyd@gnu.org>
9589
9590 * bindings.el (mode-line-toggle-read-only):
9591 * bs.el (bs-toggle-readonly):
9592 * buff-menu.el (Buffer-menu-toggle-read-only):
9593 * dired.el (dired-toggle-read-only):
9594 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
9595
9596 2012-09-23 Chong Yidong <cyd@gnu.org>
9597
9598 * image.el (image-type-available-p): Adapt to init-image-library
9599 argument changes.
9600
9601 2012-09-22 Juri Linkov <juri@jurta.org>
9602
9603 * dired.el (dired-mode-map): Add [remap read-only-mode] for
9604 `dired-toggle-read-only'. (Bug#12462)
9605
9606 2012-09-22 Martin Rudalics <rudalics@gmx.at>
9607
9608 * subr.el (temp-output-buffer-show): New function.
9609 (with-output-to-temp-buffer): Call temp-output-buffer-show
9610 instead of internal-temp-output-buffer-show.
9611
9612 2012-09-22 Chong Yidong <cyd@gnu.org>
9613
9614 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
9615 (Bug#12462).
9616
9617 * repeat.el (repeat): Doc fix (Bug#12348).
9618
9619 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
9620 (Bug#10909).
9621
9622 * simple.el (shell-command-on-region): Doc fix.
9623 (read-only-mode): Doc fix.
9624
9625 2012-09-22 Eli Zaretskii <eliz@gnu.org>
9626
9627 * emacs-lisp/timer.el (run-with-idle-timer)
9628 (timer-activate-when-idle): Warn against reinvoking an idle timer
9629 from within its own timer action. (Bug#12447)
9630
9631 2012-09-22 Martin Rudalics <rudalics@gmx.at>
9632
9633 * cus-start.el (window-combination-limit): Add new optional
9634 values.
9635 * window.el (temp-buffer-window-show)
9636 (window--try-to-split-window): Handle new values of
9637 window-combination-limit (Bug#1806).
9638 (split-window): Test window-combination-limit for t instead of
9639 non-nil.
9640 (display-buffer-at-bottom): New buffer display action function.
9641 * help.el (temp-buffer-resize-regexps): New option.
9642 (temp-buffer-resize-mode): Rewrite doc-string.
9643 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
9644 Don't resize reused window. Suggested by Glenn Morris.
9645
9646 2012-09-22 Stefan Merten <smerten@oekonux.de>
9647
9648 * textmodes/rst.el: Revamp section title faces.
9649 (rst-official-version)
9650 (rst-package-emacs-version-alist): Sync with official version
9651 V1.4.0.
9652 (rst-faces-defaults, rst-set-level-default)
9653 (rst-level-face-max, rst-level-face-base-color)
9654 (rst-level-face-base-light, rst-level-face-format-light)
9655 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
9656 (rst-adornment-faces-alist): Match new setup.
9657 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
9658 (rst-level-5, rst-level-6): New faces.
9659
9660 2012-09-22 Chong Yidong <cyd@gnu.org>
9661
9662 * simple.el (undo): Handle indirect buffers (Bug#8207).
9663
9664 2012-09-21 Leo Liu <sdl.web@gmail.com>
9665
9666 IDO: Disable match re-ordering for buffer switching.
9667 * ido.el (ido-buffer-disable-smart-matches): New variable.
9668 (ido-set-matches-1): Use it. (Bug#2042)
9669
9670 2012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
9671
9672 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
9673 Fix 2011-05-17 change. (Bug#12418)
9674
9675 2012-09-21 Leo Liu <sdl.web@gmail.com>
9676
9677 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
9678
9679 2012-09-21 Glenn Morris <rgm@gnu.org>
9680
9681 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
9682 Be more robust about locating simple.el.
9683
9684 2012-09-21 Glenn Morris <rgm@gnu.org>
9685
9686 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
9687
9688 2012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
9689
9690 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
9691
9692 2012-09-20 Juri Linkov <juri@jurta.org>
9693
9694 * replace.el (query-replace-read-from): Use `read-regexp' instead
9695 of `read-from-minibuffer' when `regexp-flag' is non-nil.
9696 (occur-read-primary-args): Use `read-regexp' instead of
9697 `read-string'.
9698 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
9699 `read-from-minibuffer'.
9700 * isearch.el (isearch-occur): Use `read-regexp' instead of
9701 `read-string'.
9702 * dired.el (dired-read-regexp): Use `read-regexp' instead of
9703 `read-from-minibuffer'.
9704 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
9705 of `read-string'. (Bug#7567)
9706
9707 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
9708 and allow accepting a list of strings prepended to a list of
9709 standard default values. Doc fix. (Bug#12321)
9710
9711 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
9712
9713 * replace.el (read-regexp): Don't add ": " when PROMPT already
9714 ends with a colon and space. (Bug#12321)
9715
9716 2012-09-20 Tassilo Horn <tsdh@gnu.org>
9717
9718 * doc-view.el (doc-view-display): Better fix for the cl-assertion
9719 error.
9720
9721 2012-09-20 Stefan Merten <smerten@oekonux.de>
9722
9723 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
9724 Fixes feature request bug#11711.
9725 (rst-mode): Create `imenu-create-index-function'.
9726 (rst-get-stripped-line): Delete after refactoring.
9727 (rst-section-tree, rst-section-tree-rec)
9728 (rst-section-tree-point): Refactor and document properly.
9729 (rst-imenu-find-adornments-for-position)
9730 (rst-imenu-convert-cell, rst-imenu-create-index):
9731 New function.
9732
9733 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
9734
9735 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
9736 (macroexp--expand-all): Use it.
9737 (macroexp--funcall-and-return): Remove by folding it into its sole
9738 caller (macroexp--warn-and-return).
9739 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
9740 Use macroexp--obsolete-warning.
9741
9742 * calc/calc.el: Fix last change by removing the whole chunk, since it
9743 was only needed back when Calc was not bundled.
9744
9745 2012-09-20 Martin Rudalics <rudalics@gmx.at>
9746
9747 * emacs-lisp/debug.el (debug): Restore assignment to
9748 debugger-old-buffer removed on 2012-09-08.
9749
9750 2012-09-20 Juri Linkov <juri@jurta.org>
9751
9752 * dired-aux.el (dired-diff): Remove (require 'diff) since
9753 `diff-latest-backup-file' is now autoloaded.
9754
9755 2012-09-20 Chong Yidong <cyd@gnu.org>
9756
9757 * vc/diff.el (diff-latest-backup-file): Autoload.
9758
9759 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
9760
9761 * calc/calc.el: Remove redundant autoload shape check.
9762 (sel-mode): Don't defvar.
9763 (calc-get-stack-element): Add `sel-mode' arg instead.
9764 (calc-top, calc-top-list): Pass it this additional argument.
9765 * calc/calc-store.el (calc-store-map):
9766 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
9767 (calc-map-equation, calc-outer-product, calc-inner-product):
9768 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
9769
9770 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
9771
9772 2012-09-19 Juri Linkov <juri@jurta.org>
9773
9774 * dired-aux.el (dired-diff): Add (require 'diff) because
9775 `diff-latest-backup-file' is not autoloaded.
9776 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
9777 of `dired-get-filename' to t to not report error when there is
9778 no default file on the current line.
9779
9780 2012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
9781
9782 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
9783 macroexp--eval-if-compile.
9784 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
9785 (macroexp--expand-all): Use them (bug#12371).
9786
9787 * doc-view.el (doc-view-guess-paper-size)
9788 (doc-view-scale-bounding-box): Fix unbound `caddr'.
9789
9790 2012-09-19 Tassilo Horn <tsdh@gnu.org>
9791
9792 New feature: set optimal slice from BoundingBox information.
9793 * doc-view.el (doc-view-mode-map): Add keybinding.
9794 (doc-view-menu): Add menu entry.
9795 (doc-view-set-slice): Adapt docstring.
9796 (doc-view-get-bounding-box, doc-view-guess-paper-size)
9797 (doc-view-scale-bounding-box)
9798 (doc-view-set-slice-from-bounding-box): New functions.
9799 (doc-view-paper-sizes): New defvar.
9800
9801 2012-09-19 Glenn Morris <rgm@gnu.org>
9802
9803 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
9804 (byte-compile-log-warning): Autoload. (Bug#12371)
9805
9806 * calendar/calendar.el (calendar-american-month-header)
9807 (calendar-european-month-header, calendar-iso-month-header)
9808 (calendar-month-header): New options.
9809 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
9810 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
9811
9812 2012-09-19 Jan Djärv <jan.h.d@swipnet.se>
9813
9814 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
9815
9816 2012-09-18 Juri Linkov <juri@jurta.org>
9817
9818 * dired-aux.el (dired-diff): Restore original functionality of
9819 getting the default value, but keep new feature of using the
9820 latest existing backup file (`diff-latest-backup-file').
9821
9822 2012-09-18 Juri Linkov <juri@jurta.org>
9823
9824 * dired.el (dired-mark): If the region is active in Transient Mark
9825 mode, mark all files in the active region. Doc fix.
9826 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
9827 Doc fix. (Bug#10624)
9828
9829 2012-09-18 Juri Linkov <juri@jurta.org>
9830
9831 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
9832 attributes for M-n are pulled from the file at point.
9833 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
9834 Suggested by Drew Adams. (Bug#10624)
9835
9836 2012-09-18 Dmitry Gutov <dgutov@yandex.ru>
9837
9838 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
9839 whitespace after "end".
9840 (ruby-do-end-to-brace): Collapse block to one line if it fits
9841 within fill-column.
9842
9843 2012-09-18 Martin Rudalics <rudalics@gmx.at>
9844
9845 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
9846 value.
9847 (debug): Don't remove debugger window when debugger is expected
9848 to be back.
9849
9850 2012-09-18 Chong Yidong <cyd@gnu.org>
9851
9852 * custom.el (defface): Doc fix.
9853
9854 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
9855
9856 2012-09-18 Martin Blais <blais@furius.ca> (tiny change)
9857
9858 * progmodes/compile.el (compilation-start): Use compilation-always-kill
9859 to initialize query-on-exit; then test that instead (bug#12288).
9860
9861 2012-09-17 Stefan Merten <smerten@oekonux.de>
9862
9863 * textmodes/rst.el: Add support for `testcover'.
9864 (rst-defcustom-testcover, rst-testcover-add-compose)
9865 (rst-testcover-add-1value): New functions.
9866 (rst-portable-mark-active-p): Replace by `use-region-p'.
9867 (rst-update-section, rst-classify-adornment)
9868 (rst-find-title-line): Mark `1value' forms.
9869 (rst-classify-adornment): Remove superfluous form.
9870 (rst-update-section, rst-get-adornments-around)
9871 (rst-adornment-complete-p, rst-get-next-adornment)
9872 (rst-adjust, rst-promote-region)
9873 (rst-display-adornments-hierarchy, rst-straighten-adornments)
9874 (rst-find-pfx-in-region, rst-section-tree-rec)
9875 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
9876 (rst-toc-node, rst-toc, rst-forward-section)
9877 (rst-iterate-leftmost-paragraphs)
9878 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
9879 (rst-bullet-list-region)
9880 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
9881 (rst-compile-find-conf, rst-compile)
9882 (rst-repeat-last-character): Fix style.
9883
9884 2012-09-17 Chong Yidong <cyd@gnu.org>
9885
9886 * comint.el (comint--complete-file-name-data): Don't add a space
9887 if the status is `sole'; that adds a gratuitous space in the
9888 completion-cycling case (Bug#12092).
9889
9890 * pcomplete.el (pcomplete-completions-at-point): Likewise.
9891
9892 2012-09-17 Richard Stallman <rms@gnu.org>
9893
9894 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
9895 only in the mime-shown mode, not in raw mode.
9896 (rmail-mime): Toggle off mime by displaying the message without
9897 mime processing. (Bug#12305)
9898
9899 * mail/rmail.el (rmail-retry-failure):
9900 Turn off mime processing first. (Bug#12037)
9901
9902 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
9903
9904 2012-09-17 Chong Yidong <cyd@gnu.org>
9905
9906 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
9907 (shell-dynamic-complete-functions): Convert to defcustom.
9908 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
9909
9910 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
9911 * comint.el (comint-prompt-read-only):
9912 * custom.el (defcustom):
9913 * hi-lock.el (hi-lock-mode):
9914 * ibuffer.el (ibuffer-formats):
9915 * ielm.el (ielm-prompt-read-only):
9916 * novice.el (disable-command):
9917 * saveplace.el (toggle-save-place):
9918 * speedbar.el (speedbar-supported-extension-expressions):
9919 * startup.el (auto-save-list-file-prefix, init-file-user)
9920 (after-init-hook, inhibit-startup-echo-area-message):
9921 * strokes.el (strokes-help):
9922 * time-stamp.el (time-stamp):
9923 * calendar/calendar.el (calendar, diary-file):
9924 * calendar/diary-lib.el (diary-mail-entries, diary)
9925 (diary-list-entries-hook):
9926 * calendar/holidays.el (holidays, calendar-holidays):
9927 * calendar/lunar.el (lunar-phases):
9928 * calendar/solar.el (sunrise-sunset):
9929 * emulation/edt.el (edt-load-keys):
9930 * emulation/viper.el (viper-mode):
9931 * eshell/em-alias.el (eshell-command-aliases-list):
9932 * eshell/esh-util.el (eshell-convert-numeric-arguments):
9933 * international/ogonek.el (ogonek-information):
9934 * net/tramp-cmds.el (tramp-bug):
9935 * net/quickurl.el (quickurl-reread-hook-postfix):
9936 * play/decipher.el (decipher-font-lock-keywords):
9937 * progmodes/cc-styles.el (c-set-style):
9938 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
9939 * progmodes/inf-lisp.el (inferior-lisp-prompt):
9940 * progmodes/octave-mod.el (octave-mode):
9941 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
9942 * progmodes/verilog-mode.el (verilog-read-defines):
9943 * textmodes/two-column.el (2C-mode): Likewise.
9944
9945 2012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
9946
9947 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
9948 that holds many addresses.
9949
9950 2012-09-16 Chong Yidong <cyd@gnu.org>
9951
9952 * align.el (align-areas): Call the indication function with
9953 positions instead of markers for arguments (Bug#12343).
9954
9955 * files.el (parse-colon-path): Use split-string (Bug#12351).
9956
9957 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
9958 (display-buffer-function): Mark as obsolete.
9959
9960 * progmodes/compile.el (compilation-parse-errors): Accept list
9961 values similar to font-lock-keywords (Bug#12136).
9962 Suggested by Oleksandr Manzyuk.
9963 (compilation-error-regexp-alist): Doc fix.
9964
9965 2012-09-15 Glenn Morris <rgm@gnu.org>
9966
9967 * version.el (emacs-bzr-version-bzr): New function.
9968 (emacs-bzr-get-version): Add optional EXTERNAL argument.
9969
9970 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
9971 checkouts, check the parent dirstate matches the branch.
9972 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
9973 empty string.
9974
9975 * version.el (emacs-bzr-version): Doc fix.
9976 (emacs-bzr-version-dirstate): New function.
9977 (emacs-bzr-get-version): For lightweight checkouts, if the parent
9978 is local try and check that it matches the branch. If not, just
9979 use dirstate information. (Bug#12441)
9980
9981 2012-09-14 Juri Linkov <juri@jurta.org>
9982
9983 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
9984 (Bug#12399)
9985
9986 2012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
9987
9988 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
9989
9990 * emacs-lisp/edebug.el: Miscellaneous cleanup.
9991 Remove obsolete byte-compiler hack that tried to silence some warnings.
9992 (edebug-submit-bug-report): Remove.
9993 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
9994 Remove aliases, use the un-prefixed name instead.
9995 (edebug-pop-to-buffer): Consider other frames.
9996 (edebug-original-read):: Make it more obvious that it's always defined.
9997 (edebug--make-form-data-entry, edebug--form-data-name)
9998 (edebug--form-data-begin, edebug--form-data-end): Rename from the
9999 single-dashed name, and implement with cl-defstruct.
10000 (edebug-set-form-data-entry): Use the standard accessors.
10001 (edebug-make-top-form-data-entry): Use push.
10002 (edebug-no-match): Drop useless `funcall'.
10003 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
10004 to functions.
10005 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
10006 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
10007 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
10008 (easy-menu-define, with-custom-print): Remove redundant specs.
10009 (edebug-outside-overriding-local-map)
10010 (edebug-outside-overriding-terminal-local-map): Remove, unused.
10011 (edebug--display): Bind unread-command-events directly to nil rather
10012 than binding it to unread-command-events and later setting it to nil.
10013 (edebug--display): Kill edebug-eval-buffer here...
10014 (edebug--recursive-edit): ...rather than here.
10015 Bind standard-output and standard-input.
10016 (edebug-eval): Check cl-macroexpand-all is fboundp.
10017 (edebug-temp-display-freq-count): Fix last change.
10018
10019 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
10020 * subr.el (noreturn, 1value): Add `debug' spec.
10021 * emacs-lisp/advice.el: Require cl-lib.
10022 (ad-copy-tree): Remove, use copy-tree instead.
10023 (ad-dolist): Remove use dolist or cl-dolist instead.
10024 (ad-do-return): Remove, use cl-return instead.
10025 (defadvice): Add `debug' spec.
10026
10027 2012-09-13 Juri Linkov <juri@jurta.org>
10028
10029 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
10030 (Bug#12399)
10031
10032 2012-09-13 Glenn Morris <rgm@gnu.org>
10033
10034 * calc/calc.el (math-compose-expr):
10035 * calc/calc-ext.el (math-compose-expr):
10036 * progmodes/cc-defs.el (cl-macroexpand-all):
10037 * progmodes/cc-langs.el (delete-duplicates, mapcan)
10038 (cl-macroexpand-all): Update declarations.
10039
10040 * vc/vc.el: No need to require ediff.
10041 (ediff-load-version-control): Declare.
10042 (ediff-vc-internal): Fix declaration.
10043 (vc-version-ediff): Require ediff.
10044
10045 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
10046
10047 Use a more backwards-compatible timer format (Bug#12430).
10048 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
10049 being right after USECS, as that better supports old code that
10050 inadvisedly looked directly at the timer vector.
10051
10052 2012-09-13 Kenichi Handa <handa@gnu.org>
10053
10054 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
10055 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
10056 `coding-priority' property of these language environment.
10057
10058 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
10059
10060 Fix glitches caused by addition of psec to timers (Bug#12430).
10061 * image.el (image-animate-timer):
10062 * time.el (display-time-world-timer):
10063 Use timer--function and timer--args rather than raw access to
10064 timer vector.
10065
10066 2012-09-13 Glenn Morris <rgm@gnu.org>
10067
10068 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
10069 If not compiling a file, try using load-file-name.
10070
10071 2012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
10072
10073 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
10074 Fix last change.
10075 (edebug-update-eval-list): Use `push'.
10076
10077 * emacs-lisp/edebug.el: Use lexical-binding.
10078 Remove the "edebug-" prefix from non-dynamically-scoped variables.
10079 Mark unused args with underscore.
10080 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
10081 (edebug-form-data): Use defvar-local.
10082 (edebug-make-before-and-after-form, edebug-make-after-form):
10083 Use backquote.
10084 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
10085 Not dynamically scoped any more.
10086 (edebug--enter-trace): Add arguments `function' and `args'.
10087 Rename from edebug-enter-trace.
10088 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
10089 (edebug--update-coverage): Add `after-index' and `value' args.
10090 Rename from edebug-update-coverage.
10091 (edebug-slow-after): Call it accordingly.
10092 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
10093 edebug-recursive-edit.
10094 (edebug--display): Call it accordingly. Add args `value',
10095 `offset-index', and `arg-mode'. Rename from edebug-display.
10096 (edebug-debugger, edebug): Call it accordingly.
10097 (edebug-eval-display-list): Use dolist.
10098
10099 2012-09-12 Juri Linkov <juri@jurta.org>
10100
10101 * info.el (Info-search): Don't check for isearch-mode and
10102 isearch-regexp before let-binding search-spaces-regexp to
10103 Info-search-whitespace-regexp.
10104 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
10105 search-whitespace-regexp if isearch-lax-whitespace or
10106 isearch-regexp-lax-whitespace is non-nil.
10107 (Info-mode): Don't set local variable search-whitespace-regexp.
10108 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
10109
10110 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
10111
10112 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
10113 (debugger-env-macro): Remove support for unread-command-char.
10114
10115 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
10116 the temporary map re-appearing on emulation-mode-map-alists.
10117
10118 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
10119 since 22.1.
10120
10121 * ehelp.el (with-electric-help): Accept functions in
10122 electric-help-form-to-execute.
10123 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
10124 And replace unread-command-char -> unread-command-events.
10125
10126 2012-09-12 Michael Albinus <michael.albinus@gmx.de>
10127
10128 Sync with Tramp 2.2.6.
10129
10130 * net/tramp.el (tramp-accept-process-output): Don't use
10131 JUST-THIS-ONE in the XEmacs case.
10132
10133 * net/trampver.el: Update release number.
10134
10135 2012-09-12 Martin Rudalics <rudalics@gmx.at>
10136
10137 * emacs-lisp/debug.el (debugger-previous-window-height):
10138 New variable.
10139 (debug): When debugger-jumping-flag is non-nil try to restore
10140 height of debugger window. (Bug#8789)
10141
10142 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
10143
10144 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
10145 overriding-local-map and pre/post-command-hook here.
10146 (edebug-recursive-edit): Do it here instead (bug#12345).
10147 (edebug-outside-unread-command-char): Remove all uses of
10148 unread-command-char.
10149
10150 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
10151 inhibit-debugger is bound instead.
10152
10153 2012-09-11 Bastien Guerry <bzg@gnu.org>
10154
10155 * subr.el (set-temporary-overlay-map): Add a docstring.
10156 (Bug#12346)
10157
10158 2012-09-11 Bastien Guerry <bzg@gnu.org>
10159
10160 * minibuffer.el (completion-table-subvert): Fix docstring.
10161 (Bug#12347)
10162
10163 2012-09-11 Bastien Guerry <bzg@gnu.org>
10164
10165 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
10166
10167 2012-09-10 Michael R. Mauger <mmaug@yahoo.com>
10168
10169 * progmodes/sql.el: Version 3.1
10170 (sql-db2-escape-newlines): New variable.
10171 (sql-escape-newlines-filter): Use it.
10172
10173 2012-09-10 Juanma Barranquero <lekktu@gmail.com>
10174
10175 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
10176
10177 2012-09-10 Dan Nicolaescu <dann@gnu.org>
10178
10179 * vc/diff-mode.el (diff-mode-menu):
10180 Bind diff-remove-trailing-whitespace.
10181
10182 2012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
10183
10184 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
10185 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
10186 (emacs-lisp-byte-code-mode): New functions.
10187 (eval-sexp-add-defvars): Don't skip defvars in column >0.
10188 (eval-defun-2): Remove bogus interactive spec.
10189 (lisp-indent-line): Remove redundant whole-exp code, now done in
10190 indent-according-to-mode.
10191 (save-match-data): Remove redundant indent data.
10192
10193 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
10194 Use `declare'.
10195
10196 2012-09-09 Juri Linkov <juri@jurta.org>
10197
10198 * replace.el (replace-regexp-lax-whitespace): New defcustom.
10199 (replace-lax-whitespace, query-replace-regexp)
10200 (query-replace-regexp-eval, replace-regexp): Doc fix.
10201 (perform-replace, replace-highlight): Let-bind
10202 isearch-lax-whitespace to replace-lax-whitespace and
10203 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
10204
10205 * isearch.el (isearch-query-replace): Let-bind
10206 replace-lax-whitespace to isearch-lax-whitespace and
10207 replace-regexp-lax-whitespace to
10208 isearch-regexp-lax-whitespace. (Bug#10885)
10209
10210 2012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
10211
10212 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
10213
10214 2012-09-09 Alan Mackenzie <acm@muc.de>
10215
10216 * progmodes/cc-engine.el (c-state-cache-init):
10217 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
10218 (c-record-parse-state-state):
10219 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
10220
10221 2012-09-09 Andreas Schwab <schwab@linux-m68k.org>
10222
10223 * register.el (register-separator): Rename from
10224 separator-register. All uses changed. Doc fix.
10225 (register): Fix version.
10226
10227 2012-09-09 Chong Yidong <cyd@gnu.org>
10228
10229 * replace.el (query-replace-map): Bind four new symbols for
10230 requesting window scrolling.
10231
10232 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
10233 query-replace-map (Bug#8948).
10234
10235 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
10236
10237 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
10238 since they are now in query-replace-map.
10239
10240 * window.el (scroll-other-window-down): Make the arg optional.
10241
10242 2012-09-09 Chong Yidong <cyd@gnu.org>
10243
10244 * files.el (hack-local-variables-confirm): Use quit-window to kill
10245 the *Local Variables* buffer.
10246
10247 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
10248
10249 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
10250 not just expect to be at its beginning. Adjust callees.
10251 Succeed when do-end block has no space before the pipe character.
10252 (ruby-brace-to-do-end): When the original block is one-liner,
10253 convert to multiline. Reindent the result.
10254
10255 2012-09-08 Jambunathan K <kjambunathan@gmail.com>
10256
10257 * register.el (register): New group.
10258 (separator-register): New user option.
10259 (increment-register): Route it to `append-to-register', if
10260 register contains text. Implication is that `C-x r +' can now be
10261 used for appending to a text register (bug#12217).
10262 (append-to-register, prepend-to-register): Add separator based on
10263 `separator-register'.
10264
10265 2012-09-08 Alan Mackenzie <acm@muc.de>
10266
10267 AWK Mode: make auto-newline work when there's "==" in the pattern.
10268 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
10269 correctly.
10270 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
10271 Test more rigorously for "=" token.
10272
10273 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
10274
10275 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
10276 Only fail when reached LIMIT.
10277
10278 2012-09-08 Chong Yidong <cyd@gnu.org>
10279
10280 * dired.el (dired-mode-map): Don't bind M-=.
10281
10282 * dired-aux.el (dired-diff): Use backup file as default.
10283
10284 2012-09-08 Drew Adams <drew.adams@oracle.com>
10285
10286 * subr.el (add-to-history): Fix delete usage (Bug#12314).
10287
10288 2012-09-08 Chong Yidong <cyd@gnu.org>
10289
10290 * subr.el (syntax-after, syntax-class): Doc fix.
10291
10292 2012-09-08 Martin Rudalics <rudalics@gmx.at>
10293
10294 * window.el (display-buffer-in-previous-window): New buffer
10295 display action function.
10296
10297 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
10298 (debugger-previous-window): New variable.
10299 (debug): Rewrite using display-buffer-in-previous-window,
10300 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
10301
10302 2012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
10303
10304 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
10305
10306 2012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
10307
10308 * progmodes/python.el (python-shell-send-string):
10309 When default-directory is remote, create temp file on remote
10310 filesystem.
10311 (python-shell-send-file): When file is remote, pass local view of
10312 file paths to remote Python interpreter. (Bug#12340)
10313
10314 2012-09-07 Chong Yidong <cyd@gnu.org>
10315
10316 * window.el (switch-to-buffer): Doc fix (Bug#12181).
10317
10318 * files.el (after-find-file): Don't fail on a read-only buffer if
10319 require-final-newline is `visit' or `visit-save' (Bug#11156).
10320
10321 * subr.el (read-char-choice): Allow quitting via ESC ESC.
10322
10323 * userlock.el (ask-user-about-supersession-threat):
10324 Use read-char-choice (Bug#12093).
10325
10326 2012-09-07 Chong Yidong <cyd@gnu.org>
10327
10328 * subr.el (buffer-narrowed-p): New function.
10329
10330 * ses.el (ses-widen):
10331 * simple.el (count-words--buffer-message):
10332 * net/browse-url.el (browse-url-of-buffer): Use it.
10333
10334 * simple.el (count-words-region): Don't signal an error if there
10335 is a non-nil prefix arg and the mark is not set.
10336
10337 * help.el (describe-key-briefly): Allow the message to be seen
10338 when invoked from the minibuffer (Bug#7014).
10339
10340 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
10341
10342 * progmodes/ruby-mode.el (ruby-end-of-defun)
10343 (ruby-beginning-of-defun): Simplify, allow indentation before
10344 block beginning and end keywords.
10345 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
10346 (ruby-end-of-defun): Expect that the point is at the beginning of
10347 the defun.
10348
10349 2012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
10350
10351 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
10352 (bug#12367).
10353 (cl--make-usage-args): Strip _ from argument names.
10354
10355 2012-09-06 RĂ¼diger Sonderfeld <ruediger@c-plusplus.de>
10356
10357 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
10358 obsolete alias speedbar-key-map.
10359 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
10360 (vhdl-index-menu-init): Don't use obsolete variable
10361 font-lock-maximum-size.
10362
10363 2012-09-06 Chong Yidong <cyd@gnu.org>
10364
10365 * frame.el (window-system-version): Mark as obsolete.
10366
10367 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
10368 of obsolete variable speedbar-key-map.
10369
10370 2012-09-06 Juri Linkov <juri@jurta.org>
10371
10372 * replace.el (replace-lax-whitespace): New defcustom.
10373 (query-replace, query-replace-regexp, query-replace-regexp-eval)
10374 (replace-string, replace-regexp): Mention it in docstrings.
10375 (perform-replace, replace-highlight): Let-bind
10376 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
10377 to the values of replace-lax-whitespace and regexp-flag.
10378 Don't let-bind search-whitespace-regexp. (Bug#10885)
10379
10380 * isearch.el (isearch-query-replace): Let-bind
10381 replace-lax-whitespace instead of let-binding
10382 replace-search-function and replace-re-search-function.
10383 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
10384 and isearch-regexp-lax-whitespace to lazy-highlight variables.
10385 (isearch-toggle-symbol): Set isearch-regexp to nil
10386 in isearch-word mode (like in isearch-toggle-word).
10387
10388 2012-09-06 Juri Linkov <juri@jurta.org>
10389
10390 * replace.el (replace-search-function)
10391 (replace-re-search-function): Set default values to nil.
10392 (perform-replace): Let-bind isearch-related variables based on
10393 replace-related values, call `isearch-search-fun' and let-bind
10394 the result to `search-function'. Remove code that sets
10395 `search-function' and `search-string' separately for
10396 `delimited-flag'.
10397 (replace-highlight): Add new argument `delimited-flag' and
10398 rename other arguments to the names used in `perform-replace'.
10399 Let-bind `isearch-word' to the argument `delimited-flag'.
10400 (Bug#10885, bug#10887)
10401
10402 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
10403
10404 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
10405 ruby-beginning-of-indent, simplify, allow all keywords to have
10406 indentation before them.
10407 (ruby-beginning-of-indent): Adjust for above. Search until the
10408 found point is not inside a string or comment.
10409 (ruby-font-lock-keywords): Allow symbols to start with "@"
10410 character, give them higher priority than variables.
10411 (ruby-syntax-propertize-function)
10412 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
10413 matchers. Expression expansions are not comments when inside a
10414 string, and there comment syntax status is irrelevant.
10415 (ruby-match-expression-expansion): New function. Check that
10416 expression expansion is inside a string, and it's not escaped.
10417 (ruby-font-lock-keywords): Use it.
10418
10419 2012-09-05 Martin Rudalics <rudalics@gmx.at>
10420
10421 * help.el (temp-buffer-max-height): New default value.
10422 (temp-buffer-resize-frames): New option.
10423 (resize-temp-buffer-window): Optionally resize frame.
10424
10425 * window.el (fit-frame-to-buffer-bottom-margin): New option.
10426 (fit-frame-to-buffer): New function.
10427
10428 2012-09-05 Glenn Morris <rgm@gnu.org>
10429
10430 * emulation/cua-rect.el (cua--init-rectangles):
10431 * textmodes/picture.el (picture-mode-map):
10432 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
10433 like forward-char and backward-char. (Bug#12317)
10434
10435 2012-09-05 Leo Liu <sdl.web@gmail.com>
10436
10437 * progmodes/flymake.el (flymake-warning-re): New variable.
10438 (flymake-parse-line): Use it.
10439
10440 2012-09-05 Glenn Morris <rgm@gnu.org>
10441
10442 * calendar/holidays.el (holiday-christian-holidays):
10443 Rename an entry. (Bug#12289)
10444
10445 2012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
10446
10447 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
10448 (bug#12222).
10449
10450 2012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
10451
10452 * loadup.el: Load macroexp. Remove hack.
10453 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
10454 (macroexp--expand-all): Use it to get better warnings.
10455 (macroexp--backtrace, macroexp--trim-backtrace-frame)
10456 (internal-macroexpand-for-load): New functions.
10457 (macroexp--pending-eager-loads): New var.
10458 (emacs-startup-hook): New hack to replace one in loadup.el.
10459 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
10460 (cl--compiler-macro-cXXr): Move to top, before they can be used.
10461 (cl-psetf): Simplify.
10462 (cl-defstruct): Add indent rule.
10463
10464 2012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
10465
10466 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
10467 over `user-mail-address' for the SMTP MAIL FROM envelope.
10468 (smtpmail-via-smtp): Ditto.
10469
10470 2012-09-04 Dmitry Gutov <dgutov@yandex.ru>
10471
10472 * progmodes/ruby-mode.el: Clean up keybindings.
10473 (ruby-mode-map): Don't bind ruby-electric-brace,
10474 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
10475 backward-kill-word, reindent-then-newline-and-indent.
10476 (ruby-mark-defun): Remove.
10477 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
10478 (ruby-mode): Set local beginning-of-defun-function and
10479 end-of-defun-function values.
10480
10481 2012-09-03 Martin Rudalics <rudalics@gmx.at>
10482
10483 * window.el (temp-buffer-window-setup-hook)
10484 (temp-buffer-window-show-hook): New hooks.
10485 (temp-buffer-window-setup, temp-buffer-window-show)
10486 (with-temp-buffer-window): New functions.
10487 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
10488 (special-display-popup-frame): Make sure the window used shows BUFFER.
10489
10490 * help.el (temp-buffer-resize-mode): Fix doc-string.
10491 (resize-temp-buffer-window): New optional argument WINDOW.
10492
10493 * files.el (recover-file, save-buffers-kill-emacs):
10494 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
10495
10496 2012-09-02 Michael Albinus <michael.albinus@gmx.de>
10497
10498 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
10499 remote definition of `default-directory', ensure we can connect.
10500
10501 2012-09-02 Juri Linkov <juri@jurta.org>
10502
10503 Toggle whitespace matching mode with M-s SPC.
10504 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
10505
10506 * isearch.el (search-whitespace-regexp): Doc fix.
10507 Remove cons cell customization.
10508 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
10509 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
10510 New variables.
10511 (isearch-forward, isearch-forward-regexp): Doc fix.
10512 (isearch-toggle-lax-whitespace): New command.
10513 (search-forward-lax-whitespace, search-backward-lax-whitespace)
10514 (re-search-forward-lax-whitespace)
10515 (re-search-backward-lax-whitespace): New functions.
10516 (isearch-whitespace-regexp): Remove function.
10517 (isearch-query-replace): Let-bind replace-search-function and
10518 replace-re-search-function.
10519 (isearch-occur): Let-bind search-spaces-regexp according to the
10520 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
10521 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
10522 condition for C-q SPC.
10523 (isearch-search-fun-default): Use new functions mentioned above.
10524 (isearch-search-forward, isearch-search-backward): Remove functions.
10525 (isearch-search): Don't let-bind search-spaces-regexp.
10526 (isearch-lazy-highlight-space-regexp): Remove variable.
10527 (isearch-lazy-highlight-lax-whitespace)
10528 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
10529 (isearch-lazy-highlight-new-loop): Use them.
10530 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
10531
10532 2012-09-02 Chong Yidong <cyd@gnu.org>
10533
10534 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
10535
10536 2012-09-02 Glenn Morris <rgm@gnu.org>
10537
10538 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
10539
10540 2012-09-01 Glenn Morris <rgm@gnu.org>
10541
10542 * term.el: Tidy up menu definitions.
10543 (term-mode-map): Use easymenu for In/Out, Complete menus.
10544 (term-pager-break-map): Initialize in the defvar.
10545 (term-terminal-menu, term-signals-menu): Define with easymenu.
10546 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
10547 (term-pager-menu): New, extracted from term-process-pager.
10548 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
10549 (term-update-mode-line): Propertize line/char and page items.
10550 (term-process-pager): Move keymap initialization elsewhere.
10551
10552 2012-09-01 Martin Rudalics <rudalics@gmx.at>
10553
10554 * window.el (switch-to-prev-buffer): Handle additional values of
10555 BURY-OR-KILL argument. Don't switch in minibuffer window.
10556 (switch-to-next-buffer): Don't switch in minibuffer window.
10557 (quit-restore-window): New function based on quit-window.
10558 Handle additional values of former KILL argument.
10559 (quit-window): Call quit-restore-window with appropriate
10560 interpretation of KILL argument.
10561 (display-buffer-below-selected): New buffer display action
10562 function.
10563
10564 2012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
10565
10566 * minibuffer.el (completion-at-point-functions): Complete docstring
10567 (bug#12254).
10568
10569 2012-09-01 Paul Eggert <eggert@cs.ucla.edu>
10570
10571 Better seed support for (random).
10572 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
10573 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
10574 * play/mpuz.el, play/tetris.el, play/zone.el:
10575 * calc/calc-comb.el (math-init-random-base):
10576 * play/blackbox.el (bb-init-board):
10577 * play/life.el (life):
10578 * server.el (server-use-tcp):
10579 * type-break.el (type-break):
10580 Remove unnecessary call to (random t).
10581 * net/sasl.el (sasl-unique-id-function):
10582 Change (random t) to (random), now that the latter is more random.
10583 * play/life.el (life-initialized): Remove no-longer-needed var.
10584
10585 2012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
10586
10587 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
10588 Consider frame's buffer predicate when choosing the buffer.
10589 (Bug#12081)
10590
10591 2012-08-30 Richard Stallman <rms@gnu.org>
10592
10593 * simple.el (special-mode-map): Delete binding for `z'.
10594
10595 2012-08-30 Andreas Schwab <schwab@linux-m68k.org>
10596
10597 * progmodes/compile.el (compilation-always-kill): Doc fix.
10598
10599 2012-08-30 Chong Yidong <cyd@gnu.org>
10600
10601 * window.el (display-buffer-reuse-frames): Make the obsolescence
10602 message more informative.
10603
10604 2012-08-30 Glenn Morris <rgm@gnu.org>
10605
10606 * paren.el (show-paren-delay):
10607 Add a :set function. Doc fix. (Bug#12297)
10608
10609 2012-08-29 Martin Blais <blais@furius.ca> (tiny change)
10610
10611 * progmodes/compile.el (compilation-always-kill): New var.
10612 (compilation-start): Use it.
10613
10614 2012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
10615
10616 * simple.el (read-only-mode): Move from files.el for bootstrapping.
10617 * files.el (read-only-mode): Move to simple.el.
10618
10619 * files.el (read-only-mode): New minor mode.
10620 (toggle-read-only): Use it and mark obsolete.
10621 (find-file--read-only):
10622 * vc/vc.el (vc-next-action, vc-checkout):
10623 * vc/vc-cvs.el (vc-cvs-checkout):
10624 * obsolete/vc-mcvs.el (vc-mcvs-update):
10625 * ffap.el (ffap--toggle-read-only): Update callers.
10626
10627 2012-08-29 Michael Albinus <michael.albinus@gmx.de>
10628
10629 * eshell/esh-ext.el (eshell-external-command): Do not examine
10630 remote shell scripts.
10631 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
10632
10633 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
10634 "/usr/local/sbin".
10635
10636 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
10637
10638 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
10639
10640 2012-08-28 Leo Liu <sdl.web@gmail.com>
10641
10642 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
10643 completion-at-point. (Bug#12220)
10644
10645 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
10646
10647 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
10648
10649 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
10650
10651 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
10652 be buffer-local; add delete-trailing-whitespace (bug#12259).
10653
10654 2012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
10655
10656 * progmodes/hideif.el (hif-compress-define-list):
10657 Fix typo. (Bug#11951)
10658
10659 2012-08-28 Dan Nicolaescu <dann@gnu.org>
10660
10661 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
10662 buffer local setting.
10663
10664 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
10665 rcirc-encode-coding-system.
10666
10667 2012-08-28 Leo Liu <sdl.web@gmail.com>
10668
10669 * net/rcirc.el (rcirc-split-message): New function.
10670 (rcirc-send-message): Use it. (Bug#12051)
10671
10672 2012-08-28 Juri Linkov <juri@jurta.org>
10673
10674 * info.el (Info-fontify-node): Hide empty lines at the end of
10675 the node. (Bug#12272)
10676
10677 2012-08-27 Drew Adams <drew.adams@oracle.com>
10678
10679 * dired.el (dired-pop-to-buffer): Make window start at beginning
10680 of buffer (Bug#12281).
10681
10682 2012-08-26 Chong Yidong <cyd@gnu.org>
10683
10684 * window.el (special-display-regexps, special-display-frame-alist)
10685 (special-display-buffer-names, special-display-function)
10686 (display-buffer-reuse-frames): Mark as obsolete.
10687
10688 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
10689
10690 * help.el (help-print-return-message): Don't treat
10691 display-buffer-reuse-frames specially.
10692
10693 2012-08-26 Chong Yidong <cyd@gnu.org>
10694
10695 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
10696 New variable, replacing gdb-frame-parameters.
10697 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
10698 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
10699 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
10700 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
10701 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
10702 the functions directly with gdb-display-buffer-other-frame-action.
10703 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
10704 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
10705 (gdb-display-stack-buffer, gdb-display-locals-buffer)
10706 (gdb-display-registers-buffer): Define directly.
10707 (def-gdb-display-buffer): Macro deleted.
10708 (gdb-display-buffer): Remove second and third args, callers don't
10709 use them. Defer to the default display-buffer behavior, apart
10710 from making windows dedicated.
10711 (gdb-setup-windows): Don't call display-buffer unnecessarily.
10712
10713 * progmodes/gud.el (gud-display-line): Just use display-buffer.
10714
10715 * window.el (display-buffer-pop-up-frame): Handle a
10716 pop-up-frame-parameters alist entry.
10717 (display-buffer): Document it.
10718
10719 2012-08-26 Chong Yidong <cyd@gnu.org>
10720
10721 * isearch.el (search-whitespace-regexp): Make string and nil
10722 values apply to both ordinary and regexp search. Allow a cons
10723 cell value to distinguish between the two.
10724 (isearch-whitespace-regexp, isearch-search-forward)
10725 (isearch-search-backward): New functions.
10726 (isearch-occur, isearch-search-fun-default, isearch-search)
10727 (isearch-lazy-highlight-new-loop): Use them.
10728 (isearch-forward, isearch-forward-regexp): Doc fix.
10729
10730 2012-08-26 Chong Yidong <cyd@gnu.org>
10731
10732 * faces.el (help-argument-name): Always inherit from italic
10733 (Bug#12213).
10734
10735 2012-08-25 Martin Rudalics <rudalics@gmx.at>
10736
10737 * window.el (window--even-window-heights): Even heights when
10738 WINDOW and the selected window form a vertical combination.
10739 (display-buffer-use-some-window): Provide that window used gets
10740 sized back by quit-window. (Bug#11880) and (Bug#12091)
10741
10742 2012-08-24 Paul Eggert <eggert@cs.ucla.edu>
10743
10744 Fix file time stamp problem with bzr and CVS (Bug#12001).
10745 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
10746 in the file's time stamp, since the version control system loses
10747 that information.
10748
10749 2012-08-22 Juri Linkov <juri@jurta.org>
10750
10751 * info.el (Info-fontify-node): Hide the suffix of the
10752 Info file name in the header line. (Bug#12187)
10753
10754 2012-08-22 Glenn Morris <rgm@gnu.org>
10755
10756 * calendar/cal-tex.el (cal-tex-weekly-common):
10757 Restore leading blank page.
10758
10759 2012-08-22 Le Wang <l26wang@gmail.com>
10760
10761 * misc.el (forward-to-word, backward-to-word): Activate or extend
10762 the region under `shift-select-mode'. (Bug#12231)
10763
10764 2012-08-22 Bastien Guerry <bzg@gnu.org>
10765
10766 * progmodes/executable.el (executable-prefix): Set to "#!" instead
10767 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
10768 gives details on why the space is never needed.
10769
10770 2012-08-22 Martin Rudalics <rudalics@gmx.at>
10771
10772 * window.el (walk-window-tree, window-with-parameter):
10773 New optional argument MINIBUF to control whether these functions
10774 should run on the minibuffer window.
10775 (window-at-side-list): Don't operate on minibuffer window.
10776 (window-in-direction): Simplify and rewrite doc-string.
10777 (window--size-ignore): Rename to window--size-ignore-p.
10778 Update callers.
10779 (display-buffer-in-atom-window, window--major-non-side-window)
10780 (window--major-side-window, display-buffer-in-major-side-window)
10781 (delete-side-window, display-buffer-in-side-window):
10782 New functions.
10783 (window--side-check, window-deletable-p, delete-window)
10784 (delete-other-windows, split-window): Handle side windows and
10785 atomic windows appropriately.
10786 (window--display-buffer): Call display-buffer-record-window also
10787 when the window buffer did not change.
10788
10789 2012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
10790
10791 * help-fns.el (help-fns--key-bindings):
10792 Abbreviate non-symbol remap targets. (Bug#12174)
10793
10794 2012-08-22 Martin Rudalics <rudalics@gmx.at>
10795
10796 * dired.el (dired-mark-remembered): Don't clobber point.
10797 (Bug#11795)
10798
10799 2012-08-22 Glenn Morris <rgm@gnu.org>
10800
10801 * progmodes/bug-reference.el (bug-reference): New custom group.
10802 (bug-reference-bug-regexp): Make it a defcustom.
10803
10804 2012-08-22 Daiki Ueno <ueno@unixuser.org>
10805
10806 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
10807 (js-paren-indent-offset, js-square-indent-offset)
10808 (js-curly-indent-offset): Add :safe (Bug#12257).
10809
10810 2012-08-22 Edward O'Connor <hober0@gmail.com>
10811
10812 * json.el (json-key-format): Add error properties.
10813 (json-encode-key): New function.
10814 (json-encode-hash-table, json-encode-alist, json-encode-plist):
10815 Use json-encode-key.
10816
10817 2012-08-22 Glenn Morris <rgm@gnu.org>
10818
10819 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
10820 (cal-tex-leftday, cal-tex-rightday): Remove functions.
10821 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
10822 Update for above change.
10823
10824 2012-08-21 Andreas Schwab <schwab@linux-m68k.org>
10825
10826 * cus-face.el (custom-face-attributes): Fix customize type for the
10827 :underline attribute. (Bug#11805)
10828
10829 2012-08-21 Martin Rudalics <rudalics@gmx.at>
10830
10831 * window.el (window-point-1, set-window-point-1): Remove.
10832 (window-in-direction, record-window-buffer)
10833 (set-window-buffer-start-and-point, split-window-below)
10834 (window--state-get-1, display-buffer-record-window):
10835 Replace calls to window-point-1 and set-window-point-1 by calls to
10836 window-point and set-window-point respectively.
10837
10838 2012-08-21 Glenn Morris <rgm@gnu.org>
10839
10840 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
10841 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
10842 Use it.
10843
10844 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
10845 (cal-tex-shortday): New function.
10846 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
10847 (cal-tex-cursor-filofax-daily): Use the above.
10848
10849 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
10850 New functions.
10851 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
10852 (cal-tex-cursor-filofax-week): Use them.
10853
10854 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
10855 New constants.
10856 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
10857 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
10858
10859 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
10860 (cal-tex-end-document): Don't rely on buffer name.
10861
10862 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
10863 Use cal-tex-vspace.
10864 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
10865 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
10866 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
10867 Use cal-tex-arg.
10868
10869 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
10870 (cal-tex-cursor-week, cal-tex-cursor-week2)
10871 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
10872 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
10873 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
10874 (cal-tex-insert-preamble, cal-tex-b-document)
10875 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
10876 Improve cal-tex-cmd usage.
10877
10878 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
10879 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
10880 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
10881 (cal-tex-weekly-paper): New function.
10882 (cal-tex-cursor-week, cal-tex-cursor-week2)
10883 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
10884 (cal-tex-cursor-day): Use it.
10885
10886 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
10887 (cal-tex-cursor-filofax-week): Remove leading blank page.
10888
10889 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
10890 Add autoload cookie. For now at least, don't use color, since
10891 no other cal-tex function does.
10892
10893 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
10894 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
10895 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
10896
10897 2012-08-21 Juri Linkov <juri@jurta.org>
10898
10899 * info.el (Info-file-attributes): New variable.
10900 (info-insert-file-contents): Add file attributes to
10901 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
10902 `Info-toc-nodes' when previous modtime of the Info file is less
10903 than new modtime.
10904 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
10905 of info.el. (Bug#12230)
10906
10907 2012-08-20 Glenn Morris <rgm@gnu.org>
10908
10909 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
10910 * calendar/holidays.el (calendar-holiday-list):
10911 Report errors with display-warning rather than beep'n'sleep.
10912
10913 2012-08-20 Michael Albinus <michael.albinus@gmx.de>
10914
10915 * net/tramp.el (tramp-accept-process-output): Accept only output
10916 from PROC. Otherwise, process filters and sentinels might be
10917 confused. (Bug#12145)
10918
10919 2012-08-20 Chong Yidong <cyd@gnu.org>
10920
10921 * descr-text.el (describe-text-properties-1): Use overlays-in to
10922 report on empty overlays (Bug#3322).
10923
10924 2012-08-20 Glenn Morris <rgm@gnu.org>
10925
10926 * mail/rmailout.el (rmail-output-read-file-name):
10927 Trap and report errors in rmail-output-file-alist elements.
10928
10929 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
10930 since most non-font-lock faces are not also variables).
10931
10932 2012-08-20 Edward Reingold <reingold@iit.edu>
10933
10934 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
10935 New function. (Bug12160)
10936
10937 2012-08-19 Glenn Morris <rgm@gnu.org>
10938
10939 * mail/rmailout.el (rmail-output-read-file-name):
10940 Fix previous change (when the alist is nil or does not match).
10941
10942 2012-08-19 Chong Yidong <cyd@gnu.org>
10943
10944 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
10945 (Bug#12228).
10946
10947 2012-08-18 Chong Yidong <cyd@gnu.org>
10948
10949 * simple.el (yank-handled-properties): New defcustom.
10950 (yank-excluded-properties): Add font-lock-face and category.
10951 (yank): Doc fix.
10952
10953 * subr.el (remove-yank-excluded-properties):
10954 Obey yank-handled-properties. The special handling of font-lock-face
10955 and category is now done this way, instead of being hard-coded.
10956 (insert-for-yank-1): Remove font-lock-face handling.
10957 (yank-handle-font-lock-face-property)
10958 (yank-handle-category-property): New function.
10959
10960 2012-08-17 Glenn Morris <rgm@gnu.org>
10961
10962 * mail/rmailout.el (rmail-output-read-file-name):
10963 Check rmail-output-file-alist against the full message body
10964 in the correct rmail buffer. (Bug#12214)
10965
10966 2012-08-17 Michael Albinus <michael.albinus@gmx.de>
10967
10968 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
10969 Eliminate superfluous prompt. (Bug#12203)
10970
10971 2012-08-17 Chong Yidong <cyd@gnu.org>
10972
10973 * mouse.el (mouse-appearance-menu): If x-select-font returns a
10974 font spec, set the font directly (Bug#3228).
10975
10976 2012-08-17 Martin Rudalics <rudalics@gmx.at>
10977
10978 * window.el (delete-window): Fix last fix.
10979
10980 2012-08-16 Martin Rudalics <rudalics@gmx.at>
10981
10982 * window.el (window-valid-p): Move to window.c.
10983 (window-child, window-child-count, window-last-child)
10984 (window-normalize-window, window-combined-p)
10985 (window-combinations, window-atom-root, window-min-size)
10986 (window-sizable, window-sizable-p, window-size-fixed-p)
10987 (window-min-delta, window-max-delta, window--resizable)
10988 (window--resizable-p, window-resizable, window-total-size)
10989 (window-full-height-p, window-full-width-p, window-body-size)
10990 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
10991 (minimize-window, window-deletable-p, delete-window)
10992 (delete-other-windows, set-window-buffer-start-and-point)
10993 (next-buffer, previous-buffer, split-window, balance-windows-2)
10994 (set-window-text-height, window-buffer-height)
10995 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
10996 (truncated-partial-width-window-p): Minor code adjustments.
10997 In doc-strings state whether the argument window has to denote a
10998 live, valid or any window.
10999
11000 2012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
11001
11002 * progmodes/subword.el (subword-forward-function)
11003 (subword-backward-function, subword-forward-regexp)
11004 (subword-backward-regexp): New variables.
11005 (subword-forward, subword-forward-internal, subword-backward-internal):
11006 Use new variables, eg so that different "word" definitions
11007 can be easily used. (Bug#11411)
11008
11009 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
11010
11011 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
11012 for composite selectors.
11013 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
11014 operation just because we can't find a previous revision.
11015
11016 2012-08-15 Chong Yidong <cyd@gnu.org>
11017
11018 * frame.el (set-frame-font): Accept font objects.
11019
11020 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
11021
11022 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
11023
11024 2012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
11025
11026 * man.el (Man-overstrike-face, Man-underline-face)
11027 (Man-reverse-face): Remove variables.
11028 (Man-overstrike, Man-underline, Man-reverse): New faces.
11029 (Man-fontify-manpage): Use them instead of the variables.
11030 (Man-cleanup-manpage): Comment change.
11031 (Man-ansi-color-map): New variable.
11032 (Man-fontify-manpage): Use it.
11033 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
11034
11035 Implement ANSI SGR parameters 22-27 (bug#12146).
11036 * ansi-color.el (ansi-colors): Doc fix.
11037 (ansi-color-context, ansi-color-context-region): Doc fix.
11038 (ansi-color--find-face): New function.
11039 (ansi-color-apply, ansi-color-apply-on-region): Use it.
11040 Rename the local variable `face' to `codes' since it is now a list of
11041 ansi codes. Doc fix.
11042 (ansi-color-get-face): Remove.
11043 (ansi-color-parse-sequence): New function, derived from
11044 ansi-color-get-face.
11045 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
11046 codes 22-27.
11047
11048 2012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
11049
11050 * subr.el (read-passwd): Allow use from a minibuffer.
11051
11052 2012-08-14 Eli Zaretskii <eliz@gnu.org>
11053
11054 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
11055 inside comments and strings as identifiers.
11056
11057 * progmodes/gud.el (gud-tooltip-print-command): Quote the
11058 expression to evaluate. This allows to evaluate expressions with
11059 embedded whitespace.
11060 (gud-tooltip-tips): Add a blank before the newline in the
11061 message-box text, for the benefit of message-box emulation on
11062 MS-Windows.
11063
11064 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
11065 messages from GDB, pop them up in a tooltip to give feedback to
11066 user.
11067 (gdb-tooltip-print-1): Quote the expression to evaluate.
11068 This allows to evaluate expressions with embedded whitespace.
11069 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
11070 if the TTY name is nil or empty (which happens when communicating
11071 with the inferior via pipes, e.g. on MS-Windows).
11072 (gdb-internals): If GDB sends a "&\n" empty debugging message,
11073 don't send that to the GUD buffer.
11074
11075 2012-08-14 Glenn Morris <rgm@gnu.org>
11076
11077 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
11078 Optimize away setq-default with no args, as for setq. (Bug#12195)
11079
11080 2012-08-14 Chong Yidong <cyd@gnu.org>
11081
11082 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
11083
11084 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
11085 (Bug#12085).
11086
11087 2012-08-14 Glenn Morris <rgm@gnu.org>
11088
11089 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
11090
11091 2012-08-14 Michael Albinus <michael.albinus@gmx.de>
11092
11093 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
11094 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
11095 Use cached shell name.
11096
11097 2012-08-14 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
11098
11099 * progmodes/python.el (python-shell-send-string):
11100 (python-shell-send-setup-code): Do not use `format' with `message'.
11101
11102 2012-08-14 Dmitry Gutov <dgutov@yandex.ru>
11103
11104 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
11105 (ruby-percent-literal-beg-re): New constant.
11106 (ruby-syntax-general-delimiters-goto-beg): Rename to
11107 `ruby-syntax-enclosing-percent-literal', improve literal type check.
11108 (ruby-syntax-propertize-general-delimiters): Rename to
11109 `ruby-syntax-propertize-percent-literal', it's a shorter and more
11110 popular term. Adjust comments everywhere.
11111 (ruby-syntax-propertize-percent-literal): Only propertize when not
11112 inside a simple string or comment. When the literal is unclosed,
11113 leave the text after it unpropertized.
11114 (ruby-syntax-methods-before-regexp): New constant.
11115 (ruby-syntax-propertize-function): Use it to recognize regexps.
11116 Don't look at the text after regexp, just use the whitelist.
11117
11118 2012-08-14 Andreas Schwab <schwab@linux-m68k.org>
11119
11120 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
11121 non-nil always load the compiled file if it exists. (Bug#12197)
11122
11123 2012-08-14 Chong Yidong <cyd@gnu.org>
11124
11125 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
11126 (hi-lock-set-pattern): When deciding whether to use font lock or
11127 overlays, look at font-lock-mode instead of font-lock-fontified
11128 (Bug#12168).
11129 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
11130 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
11131
11132 2012-08-14 Daiki Ueno <ueno@unixuser.org>
11133
11134 * subr.el (internal--after-with-selected-window): Fix typo
11135 (Bug#12193).
11136
11137 2012-08-14 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
11138
11139 Use `completion-table-dynamic' for completion functions.
11140 * progmodes/python.el
11141 (python-shell-completion--do-completion-at-point)
11142 (python-shell-completion--get-completions):
11143 Remove functions.
11144 (python-shell-completion-complete-at-point): New function.
11145 (python-completion-complete-at-point): Use it.
11146
11147 2012-08-13 Jambunathan K <kjambunathan@gmail.com>
11148
11149 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
11150 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
11151
11152 2012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
11153
11154 * subr.el (function-get): Refine `autoload' arg so it can also
11155 autoload functions for gv.el (bug#12191).
11156 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
11157 autoloads macros.
11158
11159 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
11160 Prefer pcase-let over destructuring-bind.
11161 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
11162 Also, remove whitespace as we go, rather than after accumulating the
11163 various places.
11164
11165 * subr.el (internal--before-with-selected-window)
11166 (internal--after-with-selected-window): Fix typo seleted->selected.
11167 (with-selected-window): Adjust callers.
11168 Reported by Dmitry Gutov <dgutov@yandex.ru>.
11169
11170 2012-08-13 Bastien Guerry <bzg@gnu.org>
11171
11172 * window.el (special-display-popup-frame): Minor docstring
11173 enhancement. (Bug#12172)
11174
11175 2012-08-13 Andreas Schwab <schwab@linux-m68k.org>
11176
11177 * tar-mode.el (tar-header-data-end): Only ignore size for files of
11178 type 1-6.
11179 (tar-header-block-summarize, tar-get-descriptor): Handle pax
11180 extended headers.
11181
11182 * files.el (hack-local-variables-filter): Remove useless eval.
11183
11184 2012-08-13 Martin Rudalics <rudalics@gmx.at>
11185
11186 * subr.el (with-selected-window): Fix last change.
11187
11188 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
11189
11190 * subr.el (internal--before-with-seleted-window)
11191 (internal--after-with-seleted-window): New functions.
11192 (with-selected-window): Use them, to replace dependency on
11193 tty-top-frame.
11194
11195 2012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
11196
11197 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
11198 binding for `newline'.
11199 (ruby-move-to-block): When moving backward, stop at block opening,
11200 not indentation.
11201 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
11202 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
11203 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
11204 `ruby-toggle-block'.
11205
11206 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
11207
11208 * ibuffer.el (ibuffer-do-toggle-read-only):
11209 * dired.el (dired-toggle-read-only):
11210 * buff-menu.el (Buffer-menu-toggle-read-only):
11211 * bindings.el (mode-line-toggle-read-only):
11212 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
11213
11214 2012-08-12 Andreas Schwab <schwab@linux-m68k.org>
11215
11216 * descr-text.el (describe-char): Put the overlays over the
11217 "displayed as" character.
11218
11219 2012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
11220
11221 * calc/calc-units.el (math-default-units-table): Give an
11222 initial value.
11223 (math-put-default-units): Add options to put composite units and
11224 unit systems in the default units table.
11225 (calc-convert-units): Send composite units to
11226 `math-put-default-units' when appropriate.
11227
11228 2012-08-11 Glenn Morris <rgm@gnu.org>
11229
11230 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
11231
11232 * tutorial.el (help-with-tutorial):
11233 * emacs-lisp/copyright.el (copyright-update-directory):
11234 * emacs-lisp/autoload.el (autoload-find-generated-file)
11235 (autoload-find-file): Disable local eval: (for insurance).
11236
11237 * files.el (hack-local-variables-filter): If an eval: form is not
11238 known to be safe, and enable-local-variables is :safe, then ignore
11239 the form totally, as is done for non-eval forms. (Bug#12155)
11240 This is CVE-2012-3479.
11241
11242 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
11243
11244 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
11245 (rx-form): Simplify.
11246
11247 2012-08-09 Dmitry Gutov <dgutov@yandex.ru>
11248
11249 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
11250 ?, _, and : are symbol constituents, ! is not (but kinda should be).
11251 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
11252 (ruby-syntax-propertize-function): Adjust for changes in
11253 `ruby-syntax-propertize-heredoc'.
11254
11255 2012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
11256
11257 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
11258 binding (use `M-;' instead).
11259 (ruby-singleton-class-p): New function.
11260 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
11261
11262 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
11263
11264 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
11265
11266 2012-08-10 Chong Yidong <cyd@gnu.org>
11267
11268 * progmodes/python.el (python-shell-get-process-name): Don't mess
11269 with same-window-buffer-names.
11270
11271 * eshell/eshell.el (eshell-add-to-window-buffer-names)
11272 (eshell-remove-from-window-buffer-names): Make obsolete.
11273 (eshell-buffer-name, eshell-unload-hook): Don't use them.
11274 (eshell): Just use pop-to-buffer-same-window instead.
11275
11276 2012-08-10 Chong Yidong <cyd@gnu.org>
11277
11278 * bindings.el: Bind M-= back to count-words-region.
11279
11280 * simple.el (count-words-region): Accept a prefix arg for acting
11281 on the entire buffer.
11282 (count-words--buffer-message): New helper function.
11283
11284 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
11285
11286 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
11287 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
11288 (event-start, event-end): Use posn-at-point to return a more
11289 informative posn.
11290 (posnp): New function.
11291 * mouse.el (popup-menu-normalize-position): Use it.
11292
11293 2012-08-10 Masatake YAMATO <yamato@redhat.com>
11294
11295 * mouse.el (popup-menu-normalize-position): New function.
11296 (popup-menu): Use `popup-menu-normalize-position' to normalize
11297 the form for POSITION argument.
11298
11299 * term/x-win.el (x-menu-bar-open):
11300 Use the value returend from (posn-at-point) as position
11301 passed to `popup-menu'.
11302
11303 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
11304
11305 * calc/calccomp.el (math-compose-expr): Add extra argument
11306 indicating that parentheses should be put around products in
11307 denominators. Give multiplication precedence over division during
11308 composition.
11309
11310 2012-08-09 Chong Yidong <cyd@gnu.org>
11311
11312 * man.el (Man-switches, Man-sed-command, Man-awk-command)
11313 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
11314 (Man-untabify-command, manual-program): Convert to defcustom
11315 (Bug#10429).
11316
11317 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
11318
11319 * descr-text.el (describe-char): Don't insert extra newlines
11320 (Bug#10127).
11321
11322 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
11323 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
11324
11325 * align.el (align-region): Delete temporary markers (Bug#10047).
11326 Plus some code cleanups.
11327
11328 2012-08-09 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
11329
11330 * progmodes/python.el (python-pdbtrack-tracked-buffer)
11331 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
11332 (python-shell-internal-last-output): Use make-local-variable
11333 instead of make-variable-buffer-local.
11334
11335 2012-08-09 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
11336
11337 * progmodes/python.el: Enhancements to forward-sexp.
11338 (python-nav-forward-sexp): Rename from
11339 python-nav-forward-sexp-function.
11340 (python-nav--forward-sexp, python-nav--backward-sexp):
11341 New functions.
11342
11343 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
11344
11345 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
11346 modes and simplification modes.
11347
11348 2012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
11349
11350 * delsel.el (delete-selection-pre-hook): Don't propagate the
11351 file-supersession signals (bug#12161).
11352
11353 2012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
11354
11355 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
11356 (cl-map-extents): Add compatibility aliases (bug#12135).
11357
11358 2012-08-08 Michael Albinus <michael.albinus@gmx.de>
11359
11360 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
11361 tests by `ignore-error'.
11362 (tramp-find-shell): Open also a new shell, when cache is already
11363 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
11364
11365 2012-08-08 Juri Linkov <juri@jurta.org>
11366
11367 * bookmark.el: Add `defaults' property to the bookmark record.
11368 (bookmark-current-buffer): Doc fix.
11369 (bookmark-make-record): Add `defaults' property with default values
11370 to the bookmark record.
11371 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
11372 with `bookmark-insert-current-bookmark'.
11373 (bookmark-set): Get `defaults' property from the bookmark record
11374 and use it in `read-from-minibuffer'.
11375 (bookmark-insert-current-bookmark): Remove function.
11376
11377 * info.el (Info-bookmark-make-record): Add `defaults' property
11378 with values of canonical Info node name, the current Info file
11379 name and the current Info node name. (Bug#12107)
11380
11381 2012-08-08 Juri Linkov <juri@jurta.org>
11382
11383 * files.el (basic-save-buffer): Use `buffer-name' as the default
11384 of `read-file-name' when buffer is not visiting a file (bug#12128).
11385
11386 2012-08-08 Juri Linkov <juri@jurta.org>
11387
11388 * info.el (Info-isearch-search): Doc fix.
11389 (Info-search): Change search-failed message from "initial node" to
11390 "end of node" (bug#12078).
11391 (Info-isearch-search): Change `isearch-string-state' to
11392 `isearch--state-string'.
11393
11394 2012-08-08 Glenn Morris <rgm@gnu.org>
11395
11396 * language/persian.el: Remove file.
11397 * language/misc-lang.el: Move unique part of persian.el here.
11398 * loadup.el: Remove language/persian.
11399
11400 2012-08-08 Ă“scar Fuentes <ofv@wanadoo.es>
11401
11402 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
11403
11404 2012-08-08 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
11405
11406 * progmodes/python.el: Fix defsubst warning.
11407 (python-syntax-context) Rename from python-info-ppss-context.
11408 (python-syntax-context-type): Rename from
11409 python-info-ppss-context-type.
11410 (python-syntax-comment-or-string-p): Rename from
11411 python-info-ppss-comment-or-string-p.
11412
11413 2012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
11414
11415 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
11416
11417 2012-08-07 Andreas Schwab <schwab@linux-m68k.org>
11418
11419 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
11420 a defcustom that is quoted with backquote.
11421
11422 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
11423 Fix handling of interactive spec when the body uses return.
11424 (math-do-arg-check, math-define-function-body): Use backquote forms.
11425 * calc/calc-ext.el (math-defcache): Likewise.
11426 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
11427 * allout.el (allout-new-exposure): Likewise.
11428 * calc/calcalg2.el (math-tracing-integral): Likewise.
11429 * info.el (Info-last-menu-item): Likewise.
11430 * emulation/vip.el (vip-loop): Likewise.
11431 * textmodes/artist.el (artist-funcall): Likewise.
11432 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
11433 Construct menu-item directly.
11434
11435 * progmodes/autoconf.el (font-lock-syntactic-keywords):
11436 Don't declare.
11437
11438 2012-08-07 Chong Yidong <cyd@gnu.org>
11439
11440 * simple.el (deactivate-mark): Preserve text properties when
11441 saving the primary selection (Bug#8384).
11442
11443 2012-08-07 Kevin Ryde <user42@zip.com.au>
11444
11445 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
11446 (woman-parse-numeric-value): On a bad .IP line, issue a warning
11447 and continue processing (Bug#12110).
11448
11449 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
11450
11451 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
11452 syntax-propertize-function (bug#10095).
11453
11454 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
11455
11456 * help-fns.el (help-fns--key-bindings, help-fns--signature)
11457 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
11458 describe-function-1.
11459 (describe-function-1): Use them. Move compiler macro after sig.
11460 (help-fns--compiler-macro): Use function-get. Assume we're already in
11461 standard-output. Adjust layout to new call order.
11462
11463 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
11464 re-binding a symbol that has a symbol-macro (bug#12119).
11465
11466 2012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
11467
11468 * language/persian.el: New file. (Bug#11812)
11469 * loadup.el: Add language/persian.el.
11470
11471 2012-08-06 Chong Yidong <cyd@gnu.org>
11472
11473 * window.el (window--maybe-raise-frame): New function.
11474 (window--display-buffer): Split off from here.
11475 (display-buffer-reuse-window, display-buffer-pop-up-frame)
11476 (display-buffer-pop-up-window, display-buffer-use-some-window):
11477 Obey an inhibit-switch-frame action alist entry.
11478 (display-buffer): Update doc.
11479
11480 * replace.el (occur-after-change-function): Avoid losing focus by
11481 using the inhibit-switch-frame display parameter (Bug#12139).
11482
11483 2012-08-06 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
11484
11485 Make internal shell process buffer names start with space.
11486 * progmodes/python.el (python-shell-make-comint): Add optional
11487 argument INTERNAL.
11488 (run-python-internal): Use it.
11489 (python-shell-internal-get-or-create-process): Check for new
11490 internal buffer names.
11491
11492 2012-08-06 Glenn Morris <rgm@gnu.org>
11493
11494 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
11495 Do less getting and setting of environment variables.
11496
11497 2012-08-05 Chong Yidong <cyd@gnu.org>
11498
11499 * proced.el (proced): Add substitution string to docstring to
11500 trigger autoloading of the proced library on C-h f (Bug#1768).
11501
11502 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
11503 Don't show defvars which have no second argument (Bug#8638).
11504
11505 * imenu.el (imenu-generic-expression): Move documentation here
11506 from imenu--generic-function.
11507 (imenu--generic-function): Refer to imenu-generic-expression.
11508
11509 2012-08-05 Vegard Ă˜ye <vegard_oye@hotmail.com> (tiny change)
11510
11511 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
11512 indentation declaration.
11513 (viper-loop): Add indentation declaration (Bug#7025).
11514
11515 2012-08-05 Chong Yidong <cyd@gnu.org>
11516
11517 * help-fns.el (describe-variable): Add hyperlink for
11518 directory-local variables files. Improve buffer-local and
11519 permanent-local reporting; suggested by MON KEY (Bug#6644).
11520
11521 * help-mode.el (help-dir-local-var-def): New button type.
11522
11523 * files.el (kill-buffer-hook): Provide a defvar.
11524
11525 2012-08-05 Glenn Morris <rgm@gnu.org>
11526
11527 * eshell/esh-ext.el (eshell/addpath):
11528 Also update eshell-path-env. (Bug#12013)
11529
11530 2012-08-05 Chong Yidong <cyd@gnu.org>
11531
11532 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
11533
11534 * fringe.el (fringe-styles): Add docstring.
11535 (fringe--check-mode): New function.
11536 (set-fringe-mode, set-fringe-style): Use it.
11537 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
11538
11539 * files.el (set-auto-mode): Fix invalid setq call.
11540
11541 2012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
11542
11543 * isearch.el: Misc simplification; use defstruct.
11544 (isearch-mode-map): Dense maps now work like sparse ones.
11545 (isearch--state): New defstruct.
11546 (isearch-string-state, isearch-message-state, isearch-point-state)
11547 (isearch-success-state, isearch-forward-state)
11548 (isearch-other-end-state, isearch-word-state, isearch-error-state)
11549 (isearch-wrapped-state, isearch-barrier-state)
11550 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
11551 replaced by defstruct's accessors.
11552 (isearch--set-state): Rename from isearch-top-state and change
11553 calling convention.
11554 (isearch-push-state): Use new isearch--get-state.
11555 (isearch-toggle-word): Disable regexp when enabling word.
11556 (isearch-message-prefix): Remove unused arg _c-q-hack.
11557 (isearch-message-suffix): Remove unused arg _ellipsis.
11558
11559 2012-08-04 Andreas Schwab <schwab@linux-m68k.org>
11560
11561 * simple.el (list-processes--refresh): For a server use :host or
11562 :local as the address.
11563 (list-processes): Doc fix.
11564
11565 2012-08-04 Michal Nazarewicz <mina86@mina86.com>
11566
11567 * lisp/mpc.el: Support password in host argument.
11568 (mpc--proc-connect): Parse and use new password element.
11569 Set mpc-proc variable instead of returning process.
11570 (mpc-proc): Adjust accordingly.
11571
11572 2012-08-03 Eli Zaretskii <eliz@gnu.org>
11573
11574 * whitespace.el (whitespace-display-mappings): Use Unicode
11575 codepoints, instead of emacs-mule codepoints. See
11576 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
11577 for the details.
11578
11579 * files.el (file-truename): Don't skip symlink-chasing part on
11580 windows-nt. Incorporate the resolution of 8+3 short aliases on
11581 Windows into the loop that recursively chases symlinks.
11582 Compare directory and its parent case-insensitively on MS-Windows and
11583 MS-DOS.
11584
11585 2012-08-03 Chong Yidong <cyd@gnu.org>
11586
11587 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
11588
11589 * sort.el (sort-regexp-fields): Doc fix.
11590
11591 2012-08-03 Tassilo Horn <tsdh@gnu.org>
11592
11593 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
11594 labels regex position point at the expected place.
11595
11596 2012-08-03 MON KEY <monkey@sandpframing.com>
11597
11598 * net/imap.el (imap-interactive-login, imap-authenticate)
11599 (imap-mailbox-lsub, imap-mailbox-list)
11600 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
11601 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
11602 (imap-parse-response): Doc fix.
11603
11604 2012-08-03 JoĂ£o TĂ¡vora <joaotavora@gmail.com>
11605
11606 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
11607 if sexp scanning does not move point (Bug#5734).
11608
11609 2012-08-02 Tassilo Horn <tsdh@gnu.org>
11610
11611 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
11612 Add listings, minted, and ctable packages.
11613 (reftex-label-alist-builtin): Move listings, minted, and ctable
11614 entries before LaTeX.
11615 (reftex-label-alist): Docfix.
11616
11617 2012-08-02 Bastien Guerry <bzg@gnu.org>
11618
11619 * replace.el (occur): Fix docstring (bug#12122).
11620
11621 2012-08-02 Glenn Morris <rgm@gnu.org>
11622
11623 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
11624
11625 2012-08-02 Paul Eggert <eggert@cs.ucla.edu>
11626
11627 Obsolete alias inactivate-current-input-method-function (Bug#10150).
11628 * international/mule-cmds.el: Create
11629 inactivate-current-input-method-function as an obsolete alias for
11630 deactivate-current-input-method-function. See Katsumi Yamaoka in
11631 <http://bugs.gnu.org/10150#46>.
11632
11633 2012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
11634
11635 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
11636 of nested `if's.
11637
11638 2012-08-01 Glenn Morris <rgm@gnu.org>
11639
11640 * progmodes/autoconf.el (autoconf-definition-regexp):
11641 Add AH_TEMPLATE, adjust submatch numbering.
11642 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
11643 (autoconf-current-defun-function): Update for above change.
11644 (autoconf-current-defun-function): First skip to end of current word.
11645
11646 2012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
11647
11648 * calendar/cal-html.el (cal-html-insert-agenda-days):
11649 Fix typo. (Bug#12018)
11650
11651 2012-07-31 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
11652
11653 Shell processes: enhancements to startup and CEDET compatibility.
11654 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
11655 (python-shell-make-comint): accept-process-output at startup.
11656 (run-python-internal): Set inferior-python-mode-hook to nil.
11657 (python-shell-internal-get-or-create-process): Call sit-for.
11658 (python-preoutput-result): Add obsolete alias.
11659 (python-shell-internal-send-string): Use it.
11660 (python-shell-send-setup-code): Remove call to
11661 accept-process-output.
11662
11663 2012-07-31 Andreas Schwab <schwab@linux-m68k.org>
11664
11665 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
11666 (Bug#12108)
11667
11668 2012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
11669
11670 * calc-mode.el (calc-basic-simplification-mode): Rename from
11671 `calc-limited-simplification-mode'.
11672 (calc-alg-simplification-mode): New function.
11673 (calc-set-simplify-mode): Adjust message.
11674
11675 * calc.el (calc-set-mode-line): Adjust mode line display for
11676 basic simplification mode.
11677
11678 * calc-help.el (calc-m-prefix-help): Update help message.
11679
11680 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
11681 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
11682
11683 2012-07-31 Bastien Guerry <bzg@gnu.org>
11684
11685 * man.el (man): Fix comment. (bug#12101)
11686
11687 2012-07-31 Martin Rudalics <rudalics@gmx.at>
11688
11689 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
11690 Don't return a non-nil value when no suitable buffer was found.
11691
11692 2012-07-31 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
11693
11694 * progmodes/python.el (run-python-internal): Disable font lock for
11695 internal shells.
11696
11697 2012-07-30 Stefan Merten <smerten@oekonux.de>
11698
11699 * textmodes/rst.el: Silence `checkdoc-ispell'.
11700 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
11701 (rst-official-version, rst-official-cvs-rev)
11702 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
11703 (rst-mode-map): New key binding.
11704
11705 2012-07-30 Paul Eggert <eggert@cs.ucla.edu>
11706
11707 Update .PHONY listings in makefiles.
11708 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
11709 autoloads, update-subdirs, updates, bzr-update, update-authors,
11710 compile-onefile, compile-calc, backup-compiled-files,
11711 compile-after-backup, compile-one-process, mh-autoloads,
11712 bootstrap-clean, distclean, maintainer-clean.
11713
11714 2012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
11715
11716 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
11717 (calc-set-mode-line): Don't display "AlgSimp ".
11718
11719 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
11720 (calc-lim-simplify-mode): New function.
11721 (calc-set-simplify-mode): Default to 'alg.
11722 (calc-default-simplify-mode): Make algebraic simplifications
11723 the default.
11724
11725 * calc/calc-ext.el (calc-init-extensions): Remove binding for
11726 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
11727
11728 * calc/calc-help.el (calc-m-prefix-help): Change messages to
11729 indicate new simplification modes.
11730
11731 * calc/README: Mention new default simplification mode.
11732
11733 * calc/calc.el (math-normalize-error): New variable.
11734 (math-normalize): Set `math-normalize-error' to t
11735 when there's an error.
11736
11737 * calc/calc-alg.el (math-simplify): Don't simplify when
11738 `math-normalize' returns an error.
11739
11740 2012-07-29 Eli Zaretskii <eliz@gnu.org>
11741
11742 * international/mule-cmds.el (set-locale-environment): Revert last
11743 change, since display-graphic-p returns nil when this function is
11744 called during startup. Instead...
11745
11746 * term/w32console.el (terminal-init-w32console): ...setup the
11747 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
11748
11749 2012-07-29 Juri Linkov <juri@jurta.org>
11750
11751 * simple.el (goto-line): Don't display default line number in the
11752 prompt because it should be displayed by `read-number' (bug#9952).
11753 Add the current line number to the defaults of `goto-line' to
11754 allow its easier modification by users with `M-n' (bug#9201).
11755
11756 * subr.el (read-number): Support multiple default values like in
11757 other minibuffer reading functions. Replace `read' with
11758 `string-to-number' for consistency with `number-to-string'.
11759
11760 2012-07-29 Paul Eggert <eggert@cs.ucla.edu>
11761
11762 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
11763 * emulation/viper-init.el (viper-deactivate-input-method-action):
11764 Rename from viper-inactivate-input-method-action.
11765 (viper-deactivate-input-method):
11766 Rename from viper-inactivate-input-method.
11767 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
11768 * international/mule-cmds.el (deactivate-input-method):
11769 Rename from inactivate-input-method.
11770 Also run input-method-deactivate-hook.
11771 (deactivate-current-input-method-function):
11772 Rename from inactivate-current-input-method-function.
11773 (input-method-deactivate-hook): New hook.
11774 (input-method-inactivate-hook): Mark obsolete.
11775 (inactivate-input-method): Mark obsolete.
11776
11777 * international/quail.el (quail-activate):
11778 Also run quail-deactivate-hook.
11779 (quail-deactivate): Rename from quail-inactivate.
11780 * international/robin.el (robin-activate):
11781 Also run robin-deactivate-hook.
11782 (robin-deactivate): Rename from robin-inactivate.
11783
11784 2012-07-29 Chong Yidong <cyd@gnu.org>
11785
11786 * simple.el (indicate-copied-region): New function.
11787 (kill-ring-save): Split off from here.
11788
11789 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
11790 (kill-rectangle): Set deactivate-mark to t on read-only error.
11791
11792 * register.el (copy-to-register, copy-rectangle-to-register):
11793 Deactivate the mark, and use indicate-copied-region (Bug#10056).
11794 (append-to-register, prepend-to-register): Call indicate-copied-region.
11795
11796 2012-07-29 Juri Linkov <juri@jurta.org>
11797
11798 * simple.el (async-shell-command-buffer): New defcustom.
11799 (shell-command): Use it. (Bug#4719)
11800
11801 2012-07-28 Eli Zaretskii <eliz@gnu.org>
11802
11803 * international/mule-cmds.el (set-locale-environment): In a
11804 console session on MS-Windows, set up keyboard and terminal
11805 encoding from the OEM codepage, not the ANSI codepage.
11806 (Bug#12055)
11807
11808 2012-07-28 Chong Yidong <cyd@gnu.org>
11809
11810 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
11811 gdb-get-location.
11812
11813 2012-07-28 Leo Liu <sdl.web@gmail.com>
11814
11815 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
11816 the alist (bug#12029).
11817
11818 2012-07-28 Eli Zaretskii <eliz@gnu.org>
11819
11820 * makefile.w32-in (custom-deps, finder-data, updates, compile)
11821 (compile-always, compile-first)
11822 ($(lisp)/calendar/cal-loaddefs.el)
11823 ($(lisp)/calendar/diary-loaddefs.el)
11824 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
11825 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
11826 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
11827 instead of on update-subdirs.
11828 (bootstrap-clean): Delete $(lisp)/subdirs.el.
11829
11830 2012-07-28 Chong Yidong <cyd@gnu.org>
11831
11832 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
11833 directory if vc-deduce-backend returns nil (Bug#7350).
11834
11835 * simple.el (delete-trailing-lines): New option.
11836 (delete-trailing-whitespace): Obey it (Bug#11879).
11837
11838 2012-07-28 David Engster <deng@randomsample.de>
11839
11840 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
11841 Explanation of new 'symbol-qnames feature in doc-strings.
11842 (xml-maybe-do-ns): Return expanded names as plain symbols if
11843 'symbol-qnames was provided in XML-NS argument (Bug#11916).
11844 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
11845
11846 2012-07-27 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
11847
11848 Consistent completion in inferior python with emacs -nw.
11849 * progmodes/python.el (inferior-python-mode): Replace "<tab>"
11850 binding in inferior-python-mode-map with "\t".
11851 (python-shell-completion-complete-at-point)
11852 (python-completion-complete-at-point): Remove interactive spec.
11853
11854 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
11855
11856 * calc/calccomp.el (math-compose-expr): Undo previous change.
11857
11858 2012-07-27 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
11859
11860 * progmodes/python.el (python-mode-map): Add keybinding for
11861 run-python.
11862 (python-shell-make-comint): Fix pop-to-buffer call.
11863 (run-python): Autoload. New arg SHOW.
11864 (python-shell-get-or-create-process): Do not pop python process
11865 buffer.
11866
11867 2012-07-27 Michael Albinus <michael.albinus@gmx.de>
11868
11869 * notifications.el (notifications-on-action-signal)
11870 (notifications-on-closed-signal): Use also the bus address for the map.
11871 (notifications-notify, notifications-close-notification)
11872 (notifications-get-capabilities): Add optional argument BUS.
11873
11874 2012-07-27 Tassilo Horn <tsdh@gnu.org>
11875
11876 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
11877 Add support for the lstlisting and minted environments, and for the
11878 ctable macro.
11879 * textmodes/reftex.el (reftex-compile-variables): Also recognize
11880 labels written in keyvals syntax.
11881
11882 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
11883
11884 * calc/calccomp.el (math-compose-expr): Use parentheses when
11885 there is a product in the denominator of a fraction.
11886
11887 2012-07-26 Eli Zaretskii <eliz@gnu.org>
11888
11889 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
11890 ($(lisp)/calendar/diary-loaddefs.el)
11891 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
11892 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
11893 Fixes failures in parallel bootstrap because subdirs.el is being
11894 rewritten while the autoload files are built at the same time,
11895 which needs to load subdirs.el.
11896
11897 2012-07-26 Martin Rudalics <rudalics@gmx.at>
11898
11899 * mouse.el (popup-menu): Fix doc-string and re-indent code.
11900 (mouse-drag-line): Don't exit tracking when a switch-frame or
11901 switch-window event occurs (Bug#12006).
11902
11903 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
11904
11905 * mouse.el (popup-menu): Fix last change.
11906
11907 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
11908
11909 Autoload from Lisp with more care. Follow aliases when looking for
11910 function properties.
11911 * subr.el (autoloadp): New function.
11912 (symbol-file): Use it.
11913 (function-get): New function.
11914 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
11915 autoload-do-load.
11916 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
11917 (lisp-indent-function):
11918 * emacs-lisp/gv.el (gv-get):
11919 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
11920 * emacs-lisp/byte-opt.el (byte-optimize-form):
11921 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
11922 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
11923 Use function-get.
11924 * emacs-lisp/cl.el: Don't propagate function properties any more.
11925
11926 * speedbar.el (speedbar-add-localized-speedbar-support):
11927 * emacs-lisp/disass.el (disassemble-internal):
11928 * desktop.el (desktop-load-file):
11929 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
11930 (describe-function-1):
11931 * emacs-lisp/find-func.el (find-function-noselect):
11932 * emacs-lisp/elp.el (elp-instrument-function):
11933 * emacs-lisp/advice.el (ad-has-proper-definition):
11934 * apropos.el (apropos-safe-documentation, apropos-macrop):
11935 * emacs-lisp/debug.el (debug-on-entry):
11936 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
11937 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
11938 * calc/calc.el (name): Use autoloadp & autoload-do-load.
11939
11940 2012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
11941
11942 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
11943 function, not an obsolete variable (Bug#12046).
11944
11945 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
11946
11947 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
11948
11949 2012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
11950
11951 * emacs-lisp/pp.el (pp-display-expression): Select old selected
11952 window only if it is still live (Bug#12034).
11953
11954 2012-07-25 Martin Rudalics <rudalics@gmx.at>
11955
11956 * subr.el (redirect-frame-focus): Add advertised calling
11957 convention (Bug#12030).
11958
11959 2012-07-25 Paul Eggert <eggert@cs.ucla.edu>
11960
11961 Prefer typical American spelling for "acknowledgment".
11962 * vc/add-log.el (change-log-acknowledgment): Rename from
11963 change-log-acknowledgement, with an alias for the old name.
11964
11965 2012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
11966
11967 * calc-alg.el (math-simplify-divide): Don't cross multiply
11968 in an equation when the lhs is a variable.
11969
11970 2012-07-24 Julien Danjou <julien@danjou.info>
11971
11972 * net/netrc.el (netrc-find-service-number, netrc-store-data):
11973 Remove, unused.
11974
11975 2012-07-23 Eli Zaretskii <eliz@gnu.org>
11976
11977 * startup.el (command-line): Don't display an empty user name in
11978 the error message about non-existent home directory, when
11979 init-file-user was set to an empty string. See
11980 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
11981 for the details and context.
11982
11983 2012-07-22 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
11984
11985 * ses.el (ses-cell-formula-aset): New macro.
11986 (ses-cell-references-aset): New macro.
11987 (ses-cell-p): New function.
11988 (ses-rename-cell): Do no longer rely on complex operations like
11989 ses-cell-set-formula or ses-set-cell to change the cell and handle
11990 the undo at the same time, but rather use lower level new macros
11991 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
11992 the undo directly. Refresh the mode line.
11993
11994 2012-07-21 Leo Liu <sdl.web@gmail.com>
11995
11996 * progmodes/cc-cmds.el (c-defun-name):
11997 Use match-string-no-properties instead for consistency.
11998
11999 2012-07-20 Leo Liu <sdl.web@gmail.com>
12000
12001 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
12002 (Bug#7879)
12003
12004 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
12005
12006 2012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
12007
12008 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
12009 * progmodes/bug-reference.el, misearch.el: Provide themselves
12010 (bug#11915).
12011
12012 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
12013 of narrowed buffer (bug#11966).
12014
12015 2012-07-20 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
12016
12017 * ses.el (ses-rename-cell): Set new name also in reference list of
12018 cells of which the renamed cell depends.
12019
12020 2012-07-20 Masatake YAMATO <yamato@redhat.com>
12021
12022 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
12023 to check whether menu-bar is shown or not. If not shown,
12024 show the menu-bar as a popup menu instead of using tmm.
12025 * mouse.el (popup-menu): Accept `point' as `position' argument.
12026
12027 2012-07-20 Dmitry Gutov <dgutov@yandex.ru>
12028
12029 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
12030 up inside string symbol literal (bug#11923).
12031
12032 2012-07-20 Eli Zaretskii <eliz@gnu.org>
12033
12034 * startup.el (fancy-startup-text): Read the whole tutorial, not
12035 just its first 256 bytes. Prevents gibberish in display of the
12036 tutorial title.
12037
12038 2012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
12039
12040 Drop idle buffer compaction due to an absence of the
12041 proved efficiency.
12042 * compact.el: Remove.
12043
12044 2012-07-19 Sam Steingold <sds@gnu.org>
12045
12046 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
12047 vc-bzr-pull & vc-bzr-merge-branch.
12048 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
12049 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
12050 for consistency with compilation-error-regexp-alist.
12051 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
12052 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
12053 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
12054 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
12055
12056 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
12057
12058 * emacs-lisp/chart.el: Use lexical-binding.
12059 (chart-emacs-storage): Don't hardcode the list of entries.
12060
12061 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
12062
12063 Next round of tweaks caused by Fgarbage_collect changes.
12064 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
12065
12066 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
12067
12068 Compact buffers when idle.
12069 * compact.el: New file.
12070
12071 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
12072
12073 * subr.el (eventp): Presume that if it looks vaguely like an event,
12074 it's an event (bug#10190).
12075
12076 2012-07-19 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
12077
12078 Enhancements to ppss related code (thanks Stefan).
12079 * progmodes/python.el (python-indent-context)
12080 (python-indent-calculate-indentation, python-indent-dedent-line)
12081 (python-indent-electric-colon, python-nav-forward-block)
12082 (python-mode-abbrev-table)
12083 (python-info-assignment-continuation-line-p): Simplify checks
12084 for ppss context.
12085 (python-info-continuation-line-p): Cleanup.
12086 (python-info-ppss-context): Do not catch 'quote.
12087 (python-info-ppss-context-type)
12088 (python-info-ppss-comment-or-string-p): Simplify.
12089
12090 2012-07-18 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
12091
12092 * progmodes/python.el: Enhancements to eldoc support.
12093 (python-info-current-symbol): New function.
12094 (python-eldoc-at-point): Use python-info-current-symbol.
12095 (python-info-current-defun): Fix cornercase on first defun scan.
12096 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
12097 and signal error when no inferior python process is available.
12098
12099 2012-07-18 Dmitry Gutov <dgutov@yandex.ru>
12100
12101 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
12102 assume it's always t.
12103 (vc-git-registered): Remove caching, the function is only called
12104 once.
12105 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
12106
12107 2012-07-18 Chong Yidong <cyd@gnu.org>
12108
12109 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
12110
12111 * simple.el (count-words): Report on narrowing (Bug#9959).
12112
12113 * bindings.el: Bind M-= to count-words.
12114
12115 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
12116
12117 2012-07-18 Masatake YAMATO <yamato@redhat.com>
12118
12119 * progmodes/sh-script.el (sh-imenu-generic-expression):
12120 Capture a function with `function' keyword and without parentheses
12121 like "function FOO" (bug#11856).
12122
12123 2012-07-18 Tassilo Horn <tassilo@member.fsf.org>
12124
12125 * window.el (split-window-sensibly): Make WINDOW argument
12126 optional.
12127
12128 2012-07-18 Chong Yidong <cyd@gnu.org>
12129
12130 * subr.el (keyboard-translate): Doc fix (Bug#7261).
12131
12132 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
12133 and make C-x 8 RET exit isearch (Bug#11439).
12134
12135 * international/iso-transl.el: Move isearch-mode-map key
12136 definitions to isearch.el.
12137
12138 2012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
12139
12140 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
12141 (eieio-defclass): Use gv-define-setter when possible.
12142
12143 2012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
12144
12145 Reflect recent changes in Fgarbage_collect.
12146 * emacs-lisp/chart.el (chart-emacs-storage): Change to
12147 reflect new format of data returned by Fgarbage_collect.
12148
12149 2012-07-17 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
12150
12151 New utility functions + python-info-ppss-context fix (Bug#11910).
12152 * progmodes/python.el (python-info-beginning-of-block-statement-p)
12153 (python-info-ppss-comment-or-string-p): New functions.
12154 (python-info-ppss-context): Small fix for string check.
12155
12156 2012-07-17 Juri Linkov <juri@jurta.org>
12157
12158 * dired-aux.el (dired-do-async-shell-command): Doc fix.
12159 (dired-do-async-shell-command): Don't add `*' at the end of the
12160 command (Bug#11815).
12161 (dired-do-shell-command): Doc fix.
12162 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
12163 Join the individual commands using either "&" or ";" as the
12164 separator depending on the values of these trailing characters.
12165 At the end re-add the trailing "&". (Bug#10598)
12166
12167 * simple.el (async-shell-command): Sync the interactive spec with
12168 `shell-command'. Doc fix.
12169 (shell-command): Doc fix.
12170
12171 2012-07-17 Juri Linkov <juri@jurta.org>
12172
12173 * descr-text.el (describe-char): Fix format args. (Bug#10129)
12174
12175 2012-07-17 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
12176
12177 Final renames and doc fixes for movement commands (bug#11899).
12178 * progmodes/python.el (python-nav-beginning-of-statement):
12179 Rename from python-nav-statement-start.
12180 (python-nav-end-of-statement): Rename from
12181 python-nav-statement-end.
12182 (python-nav-beginning-of-block): Rename from
12183 python-nav-block-start.
12184 (python-nav-end-of-block): Rename from python-nav-block-end.
12185
12186 2012-07-17 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
12187
12188 * progmodes/python.el (python-shell-send-string-no-output):
12189 Allow accept-process-output to quit, keeping shell process ready for
12190 future interactions (Bug#11868).
12191
12192 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
12193
12194 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
12195
12196 * emacs-lisp/elint.el (elint-find-args-in-code):
12197 Use help-function-arglist, so as to handle lexical byte-code.
12198
12199 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
12200 change (bug#11826).
12201
12202 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
12203
12204 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
12205 Avoid spuriously marking the buffer as modified because of c-is-sws.
12206
12207 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
12208 as not-a-comment (bug#11946).
12209
12210 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
12211 for uninterned vars.
12212
12213 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
12214 Use read-event since we don't really want to read chars but bytes.
12215
12216 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
12217 $$..$$ but also $..$ using regexps (bug#11953).
12218 Use tex-verbatim for \url and \path.
12219 (tex-font-lock-keywords): Define as defconst like the others.
12220 (tex-common-initialization): Don't use font-lock-syntax-table any more.
12221
12222 2012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
12223
12224 * international/mule-cmds.el (ucs-insert): Make it an obsolete
12225 alias for insert-char.
12226
12227 2012-07-16 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
12228
12229 * progmodes/python.el: Simplified imenu implementation.
12230 (python-nav-jump-to-defun): Remove command.
12231 (python-mode-map): Use `imenu' instead.
12232 (python-nav-list-defun-positions-cache)
12233 (python-imenu-include-defun-type, python-imenu-make-tree)
12234 (python-imenu-subtree-root-label, python-imenu-index-alist):
12235 Remove vars.
12236 (python-nav-list-defun-positions, python-nav-read-defun)
12237 (python-imenu-tree-assoc, python-imenu-make-element-tree)
12238 (python-imenu-make-tree, python-imenu-create-index):
12239 Remove functions.
12240 (python-mode): Update to interact with imenu by setting
12241 `imenu-extract-index-name-function' only.
12242
12243 2012-07-16 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
12244
12245 * progmodes/python.el: Enhancements to navigation commands.
12246 (python-nav-backward-sentence)
12247 (python-nav-forward-sentence): Remove.
12248 (python-nav-backward-statement, python-nav-forward-statement)
12249 (python-nav-statement-start, python-nav-statement-end)
12250 (python-nav-backward-block, python-nav-forward-block)
12251 (python-nav-block-start, python-nav-block-end)
12252 (python-nav-forward-sexp-function)
12253 (python-info-current-line-comment-p)
12254 (python-info-current-line-empty-p): New functions.
12255 (python-indent-context): Use `python-nav-statement-start'.
12256
12257 2012-07-16 Michael Albinus <michael.albinus@gmx.de>
12258
12259 * eshell/em-ls.el (eshell/ls): Use `apply'.
12260
12261 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
12262 multi-hops, instead of Tramp internals.
12263
12264 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
12265
12266 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
12267 when F1 and F2 are located on different hosts.
12268
12269 2012-07-14 Chong Yidong <cyd@gnu.org>
12270
12271 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
12272 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
12273 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
12274 (xterm-mouse--read-event-sequence-1000)
12275 (xterm-mouse--read-event-sequence-1006): New functions. For old
12276 mouse protocol, handle M-mouse-X events correctly.
12277 (xterm-mouse-event): New arg specifying mouse protocol.
12278 (turn-on-xterm-mouse-tracking-on-terminal)
12279 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
12280 sequence to toggle extended coordinates on newer XTerms.
12281 This appears to be harmless on terminals which do not support this.
12282
12283 2012-07-14 Leo Liu <sdl.web@gmail.com>
12284
12285 Add fringe bitmap indicators for flymake. (Bug#11253)
12286 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
12287 (flymake-make-overlay): New arg BITMAP.
12288 (flymake-error-bitmap, flymake-warning-bitmap)
12289 (flymake-fringe-indicator-position): New user variables.
12290
12291 * fringe.el: New bitmap exclamation-mark.
12292
12293 2012-07-14 Jan Djärv <jan.h.d@swipnet.se>
12294
12295 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
12296 also (Bug#7879).
12297
12298 2012-07-14 Chong Yidong <cyd@gnu.org>
12299
12300 * electric.el (electric-pair-post-self-insert-function): Fix pair
12301 insertion in empty-region case (Bug#11520).
12302
12303 2012-07-14 Chong Yidong <cyd@gnu.org>
12304
12305 * bindings.el: Consolidate ctl-x-r-map bindings.
12306 Bind copy-rectangle-as-kill to C-x r w.
12307
12308 * rect.el, register.el: Move bindings to bindings.el.
12309
12310 2012-07-14 Reuben Thomas <rrt@sc3d.org>
12311
12312 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
12313
12314 2012-07-13 Andreas Schwab <schwab@linux-m68k.org>
12315
12316 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
12317
12318 2012-07-13 Juanma Barranquero <lekktu@gmail.com>
12319
12320 * bindings.el (top): Use `mapc' instead of `mapcar'.
12321
12322 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
12323
12324 2012-07-13 Michael Albinus <michael.albinus@gmx.de>
12325
12326 * progmodes/sql.el (sql-comint): Suppress the check for program on
12327 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
12328 (Bug#11908)
12329
12330 2012-07-13 Chong Yidong <cyd@gnu.org>
12331
12332 * bindings.el: Assign a non-nil permanent-local property to
12333 per-buffer variables which lack a default value (Bug#11930).
12334
12335 * help-fns.el (describe-variable): In the "automatically becomes
12336 local" notice, take note of permanent-local variables.
12337
12338 2012-07-13 Chong Yidong <cyd@gnu.org>
12339
12340 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
12341 to allow printing the message when called from Lisp.
12342
12343 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
12344 Remove toggle-read-only.
12345
12346 * bs.el (bs-toggle-readonly):
12347 * buff-menu.el (Buffer-menu-toggle-read-only):
12348 Remove with-no-warnings around toggle-read-only.
12349
12350 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
12351 Remove with-no-warnings around toggle-read-only.
12352 (ffap-read-only, ffap-read-only-other-window)
12353 (ffap-read-only-other-frame): Callers changed.
12354
12355 * help-mode.el: Don't require view package.
12356 (help-mode-finish): Set buffer-read-only instead of calling
12357 toggle-read-only.
12358
12359 * bindings.el (mode-line-toggle-read-only):
12360 * dired.el (dired-toggle-read-only):
12361 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
12362 with non-nil second arg.
12363
12364 * emacs-lisp/eieio-custom.el (eieio-customize-object):
12365 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
12366 directly.
12367
12368 2012-07-12 Eli Zaretskii <eliz@gnu.org>
12369
12370 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
12371 not incf.
12372
12373 2012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
12374
12375 More CL cleanups and reduction of use of cl.el.
12376 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
12377 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
12378 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
12379 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
12380 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
12381 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
12382 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
12383 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
12384 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
12385 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
12386 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
12387 * eshell/em-cmpl.el, eshell/em-banner.el:
12388 * calendar/parse-time.el: Use cl-lib.
12389 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
12390 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
12391 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
12392 * term/ns-win.el, term.el, shell.el, ps-samp.el:
12393 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
12394 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
12395 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
12396 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
12397 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
12398 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
12399 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
12400 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
12401 `lambda' rather than with `quote'.
12402 (eshell-do-opt): Adjust accordingly.
12403 (eshell-process-option): Simplify.
12404 * eshell/esh-var.el:
12405 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
12406 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
12407 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
12408 to `pcase--dontcare'.
12409 * emacs-lisp/cl.el (labels): Mark obsolete.
12410 (cl--letf, letf): Move to cl-lib.
12411 (cl--letf*, letf*): Remove.
12412 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
12413 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
12414 (cl-progv): Rewrite.
12415 (cl--letf, cl-letf): Move from cl.el.
12416 (cl-letf*): New macro.
12417 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
12418
12419 2012-07-11 Michael Albinus <michael.albinus@gmx.de>
12420
12421 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
12422
12423 2012-07-11 Chong Yidong <cyd@gnu.org>
12424
12425 * vc/log-edit.el (log-edit-vc-backend): New variable.
12426 (log-edit): Doc fix.
12427
12428 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
12429 argument of log-edit to set up all local variables.
12430 (vc-start-logentry): New optional arg specifying VC backend.
12431
12432 * vc/vc.el (vc-checkin): Use it.
12433 (vc-deduce-fileset): Handle Log Edit buffers.
12434 (vc-diff): Make first argument optional too.
12435
12436 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
12437
12438 2012-07-10 Michael Albinus <michael.albinus@gmx.de>
12439
12440 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
12441 command, just in case. The function is not needed anymore.
12442 (eshell-external-command): Do not call `eshell-remote-command'.
12443
12444 2012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
12445
12446 Reduce use of (require 'cl).
12447 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
12448 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
12449 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
12450 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
12451 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
12452 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
12453 * battery.el, avoid.el, abbrev.el: Use cl-lib.
12454 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
12455 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
12456 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
12457 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
12458 * calculator.el, autorevert.el, apropos.el: Don't require CL.
12459 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
12460 (byte-compile-unfold-bcf, byte-compile-check-variable):
12461 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
12462 (byte-compile-nilconstp):
12463 * emacs-lisp/autoload.el (make-autoload): Use pcase.
12464 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
12465
12466 * emacs-lisp/gv.el (cond): Make it a valid place.
12467 (if): Simplify slightly.
12468
12469 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
12470 (pcase--self-quoting-p): New function.
12471 (pcase--u1): Use it.
12472
12473 2012-07-10 Glenn Morris <rgm@gnu.org>
12474
12475 * emacs-lisp/authors.el (authors-fixed-entries):
12476 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
12477
12478 2012-07-09 Paul Eggert <eggert@cs.ucla.edu>
12479
12480 Rename configure.in to configure.ac (Bug#11603).
12481 * emacs-lisp/authors.el (authors-canonical-file-name):
12482 * progmodes/autoconf.el (autoconf-mode):
12483 Prefer configure.ac to configure.in.
12484
12485 2012-07-08 Chong Yidong <cyd@gnu.org>
12486
12487 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
12488 Implement the mouse-1-click-follows-link handling properly.
12489
12490 * info.el (Info-link-keymap): Use follow-link mechanism for
12491 header-line links (Bug#374).
12492
12493 * simple.el (deactivate-mark): Do not set the primary selection
12494 if another program has acquired it (Bug#11772).
12495
12496 2012-07-07 Kevin Ryde <user42@zip.com.au>
12497
12498 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
12499 (woman-decode-region): Replace escaped-escapes without destroying
12500 bold or underline (Bug#11552).
12501 (woman2-process-escapes): Handle nofill regions (Bug#11591).
12502
12503 2012-07-07 Chong Yidong <cyd@gnu.org>
12504
12505 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
12506 (interprogram-cut-function, interprogram-paste-function):
12507 Mention that we typically mean the clipboard.
12508
12509 2012-07-06 Glenn Morris <rgm@gnu.org>
12510
12511 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
12512
12513 * files.el (toggle-read-only): Restrict message to interactive use.
12514
12515 2012-07-06 Michael Albinus <michael.albinus@gmx.de>
12516
12517 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
12518
12519 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
12520
12521 2012-07-06 Glenn Morris <rgm@gnu.org>
12522
12523 * Makefile.in (compile-one-process): Rename from "recompile".
12524
12525 * Makefile.in (bzr-update): "compile" is the same as "recompile
12526 autoloads", but parallelizable, so use that instead.
12527
12528 2012-07-06 Dmitry Gutov <dgutov@yandex.ru>
12529
12530 * window.el (quit-window): Always restore window height when
12531 it's saved in quit-restore parameter (Bug#11810).
12532
12533 2012-07-06 Glenn Morris <rgm@gnu.org>
12534
12535 * simple.el (kill-whole-line): Doc tweak.
12536
12537 2012-07-06 Eli Zaretskii <eliz@gnu.org>
12538
12539 * files.el (file-relative-name): Compare file names
12540 case-insensitively if on MS-Windows or MS-DOS, or if
12541 read-file-name-completion-ignore-case is non-nil. Don't use
12542 case-fold-search for this purpose. (Bug#11827)
12543
12544 2012-07-17 Andreas Schwab <schwab@linux-m68k.org>
12545
12546 * calendar/cal-dst.el (calendar-current-time-zone):
12547 Return calendar-current-time-zone-cache if non-nil.
12548
12549 2012-07-17 Masatake YAMATO <yamato@redhat.com>
12550 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
12551
12552 * calendar/cal-dst.el (calendar-current-time-zone):
12553 Return calendar-current-time-zone-cache if non-nil.
12554
12555 2012-07-06 Glenn Morris <rgm@gnu.org>
12556
12557 * Makefile.in (cvs-update): Remove old alias.
12558
12559 2012-07-05 Michael Albinus <michael.albinus@gmx.de>
12560
12561 Sync with Tramp 2.2.6-pre.
12562
12563 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
12564 compatible declaration.
12565
12566 * net/tramp-cmds.el (tramp-append-tramp-buffers):
12567 Protect `list-load-path-shadows' call.
12568
12569 * net/tramp-compat.el (top): Require packages, which aren't
12570 autoloaded anymore for XEmacs. Protect call of
12571 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
12572 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
12573 it hurts at least for SXEmacs.
12574 (tramp-compat-temporary-file-directory): In XEmacs, there is no
12575 standard-value for `temporary-file-directory'.
12576
12577 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
12578 Redirect stderr to /dev/null.
12579 (tramp-sh-handle-write-region): uid and gid can be floats.
12580 Reported by Russell Sim <russell.sim@gmail.com>.
12581 (tramp-sh-handle-vc-registered): Hide errors.
12582 (tramp-vc-file-name-handler): Use dummy results for `process-file'
12583 and `start-file-process'.
12584 (tramp-maybe-open-connection): Check also whether `non-essential'
12585 is bound.
12586
12587 2012-07-04 Chong Yidong <cyd@gnu.org>
12588
12589 * xml.el (xml--parse-buffer): Use xml-syntax-table.
12590 (xml-parse-tag): Likewise, and avoid changing entity tables.
12591 (xml-syntax-table): Define from scratch, making sure not to give
12592 x2000 and other Unicode spaces whitespace syntax, since those are
12593 not spaces in XML.
12594 (xml-parse-fragment): Delete unused function.
12595 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
12596 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
12597 (xml-entity-ref, xml-pe-reference-re)
12598 (xml-reference-re, xml-att-value-re, xml-tokenized-type-re)
12599 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
12600 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
12601 (xml-entity-value-re): Use syntax references in regexps where
12602 possible; no need to define inside a let-binding.
12603 (xml-parse-dtd): Use xml-pe-reference-re.
12604 (xml-entity-or-char-ref-re): New defconst.
12605 (xml-parse-string, xml-substitute-special): Use it.
12606
12607 2012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
12608
12609 * files.el (locate-dominating-file): Allow `name' to be a predicate.
12610 (find-file--read-only): New function.
12611 (find-file-read-only, find-file-read-only-other-window)
12612 (find-file-read-only-other-frame): Use it.
12613 (insert-file-contents-literally): Don't `fset'.
12614 (get-free-disk-space): Use locate-dominating-file.
12615
12616 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
12617 function is already compiled.
12618
12619 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
12620
12621 2012-07-03 Michael Albinus <michael.albinus@gmx.de>
12622
12623 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
12624 files on the same host.
12625
12626 2012-07-03 Andreas Schwab <schwab@linux-m68k.org>
12627
12628 * help-fns.el (describe-function-1): Only call
12629 help-fns--autoloaded-p when we have a file name. (Bug#11848)
12630
12631 2012-07-03 Chong Yidong <cyd@gnu.org>
12632
12633 * xml.el: Protect parser against XML bombs.
12634 (xml-entity-expansion-limit): New variable.
12635 (xml-parse-string, xml-substitute-special): Use it.
12636 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
12637
12638 2012-07-03 Glenn Morris <rgm@gnu.org>
12639
12640 * progmodes/bug-reference.el (bug-reference-bug-regexp):
12641 Allow linking to specific messages in debbugs reports (eg 123#5).
12642
12643 2012-07-02 Chong Yidong <cyd@gnu.org>
12644
12645 * xml.el: Fix entity and character reference expansion, allowing
12646 them to expand into markup as per XML spec.
12647 (xml-default-ns): New variable.
12648 (xml-entity-alist): Use XML spec definitions for lt and amp.
12649 (xml-parse-region): Make first two arguments optional.
12650 Discard text properties.
12651 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
12652 All callers changed.
12653 (xml-parse-tag): Call xml-parse-tag-1. For backward
12654 compatibility, this function should not modify buffer contents.
12655 (xml-parse-tag-1): Fix opening-tag regexp.
12656 (xml-parse-string): Rewrite, handling entity and character
12657 references properly.
12658 (xml--entity-replacement-text): Signal an error if a parameter
12659 entity is undefined.
12660
12661 2012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
12662
12663 * comint.el (comint-output-filter): Filter out repeated prompts.
12664
12665 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
12666 and file-name-absolute-p.
12667 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
12668 internal calls.
12669
12670 2012-07-02 Paul Eggert <eggert@cs.ucla.edu>
12671
12672 Spelling fixes.
12673 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
12674 Rename from byte-compile--refiy-function. All uses changed.
12675
12676 2012-07-01 Chong Yidong <cyd@gnu.org>
12677
12678 * xml.el (xml--parse-buffer): New function. Move most of
12679 xml-parse-region here.
12680 (xml-parse-region): Copy region into a temporary buffer, since
12681 parameter entity substitution requires changing buffer contents.
12682 Use xml--parse-buffer.
12683 (xml-parse-file): Use xml--parse-buffer.
12684 (xml-parse-dtd): Make parameter entity substitution work right.
12685 Use proper regexps for ELEMENT declarations (Bug#7172).
12686
12687 2012-06-30 Glenn Morris <rgm@gnu.org>
12688
12689 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
12690
12691 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
12692 Remove outdated and unnecessary dbus declarations.
12693
12694 2012-06-30 Eli Zaretskii <eliz@gnu.org>
12695
12696 * emacs-lisp/timer.el (timer-until): Subtract results of
12697 float-time, instead of taking float-time of the result of
12698 time-subtract, since float-time signals an error for negative time
12699 arguments.
12700
12701 2012-06-30 Chong Yidong <cyd@gnu.org>
12702
12703 * xml.el (xml-*-re): Convert defvars into defconsts, and
12704 eval-and-compile them so eval-and-compile works on derivatives.
12705 (xml--entity-replacement-text): Use eval-and-comple.
12706
12707 2012-06-30 Michael Albinus <michael.albinus@gmx.de>
12708
12709 * vc/vc-git.el (vc-git-registered): Use cache property
12710 `git-registered'.
12711 (vc-git-mode-line-string): Call `vc-working-revision' instead of
12712 `vc-git-working-revision' in order to benefit from the cache.
12713 (vc-git-root): Use cache property `git-root'. (Bug#11757)
12714
12715 2012-06-30 Dmitry Gutov <dgutov@yandex.ru>
12716
12717 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
12718 removed (likely outside Emacs). (Bug#11757)
12719
12720 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
12721
12722 * emacs-lisp/cl-lib.el: Require macroexp.
12723
12724 2012-06-30 Chong Yidong <cyd@gnu.org>
12725
12726 * xml.el: Implement XML parameter entities.
12727 (xml-parameter-entity-alist): New variable.
12728 (xml-parse-region, xml-parse-fragment): Preserve previous values
12729 of xml-entity-alist and xml-parameter-entity-alist, so that
12730 repeated calls on different documents do not change them.
12731 (xml-parse-tag): Fix doctype regexp.
12732 (xml--entity-replacement-text): New function.
12733 (xml-parse-dtd): Use it. Don't handle system entities; doing that
12734 properly requires url retrieval which is unimplemented.
12735 (xml-escape-string): Doc fix.
12736
12737 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
12738
12739 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
12740
12741 2012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
12742
12743 * fringe.el (fringe-mode): Doc fix.
12744
12745 2012-06-29 Michael Albinus <michael.albinus@gmx.de>
12746
12747 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
12748 is non-nil.
12749 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
12750 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
12751
12752 2012-06-29 Andreas Schwab <schwab@linux-m68k.org>
12753
12754 * calendar/cal-dst.el (calendar-current-time-zone):
12755 Return calendar-current-time-zone-cache if non-nil.
12756
12757 2012-06-29 Masatake YAMATO <yamato@redhat.com>
12758
12759 * progmodes/which-func.el (which-func-format):
12760 Add mouse-face. (Bug#11698)
12761
12762 2012-06-29 Leo Liu <sdl.web@gmail.com>
12763
12764 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
12765
12766 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
12767
12768 * minibuffer.el (minibuffer-confirm-exit-commands):
12769 Add completion-at-point (bug#11725).
12770
12771 2012-06-29 Glenn Morris <rgm@gnu.org>
12772
12773 * progmodes/f90.el (f90-font-lock-keywords-2):
12774 Add some preprocessor elements. (Bug#10499)
12775
12776 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
12777
12778 * progmodes/cperl-mode.el (cperl-update-syntaxification):
12779 Use syntax-propertize (bug#11739).
12780
12781 2012-06-28 Juanma Barranquero <lekktu@gmail.com>
12782
12783 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
12784
12785 2012-06-28 Julien Danjou <julien@danjou.info>
12786
12787 * term.el (term-handle-colors-array): Use a set of new faces to
12788 color the terminal. Also uses :inverse-video property.
12789 (term-default-fg-color): Set to nil by default, deprecate in favor
12790 of `term-face'.
12791 (term-default-bg-color): Set to nil by default, deprecate in favor
12792 of `term-face'.
12793 (term-current-face): Use `term-face' by default.
12794 (term-bold-attribute): Variable deleted.
12795
12796 2012-06-28 Glenn Morris <rgm@gnu.org>
12797
12798 * simple.el (completion-list-mode-finish):
12799 Don't use toggle-read-only. (Since completion-list-mode has
12800 a special mode-class, it wasn't doing anything extra anyway.)
12801
12802 2012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
12803
12804 Make inlining of other-mode interpreted functions work (bug#11799).
12805 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
12806 (byte-compile): Use it to fix compilation of lexical-binding closures.
12807 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
12808 function, if needed.
12809
12810 2012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
12811
12812 * help-mode.el (help-make-xrefs): Don't just withstand
12813 cyclic-variable-indirection but any error in documentation-property.
12814
12815 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
12816 memory use.
12817 * bindings.el (bindings--define-key): New function.
12818 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
12819 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
12820 * bindings.el: Use it to purecopy define-key bindings.
12821
12822 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
12823
12824 * emacs-lisp/cl.el (flet): Mark obsolete.
12825 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
12826 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
12827 * progmodes/js.el (js-c-fill-paragraph):
12828 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
12829 (ebrowse-switch-member-buffer-to-derived-class):
12830 * play/5x5.el (5x5-solver): Use cl-flet.
12831
12832 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
12833 (cl--symbol-function): New macro.
12834 (cl--letf, cl--letf*): Use it.
12835
12836 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
12837 Strip "toggle-" if any.
12838
12839 2012-06-27 Glenn Morris <rgm@gnu.org>
12840
12841 * info.el (Info-default-directory-list): Move here from paths.el.
12842 * paths.el: Remove file, which is now empty.
12843 * loadup.el: No longer load "paths".
12844
12845 * custom.el (custom-initialize-delay): Doc fix.
12846
12847 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
12848 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
12849 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
12850 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
12851 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
12852 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
12853 * eshell/eshell.el (eshell-defgroup): Remove alias.
12854
12855 2012-06-27 Chong Yidong <cyd@gnu.org>
12856
12857 * help.el (help-enable-auto-load): New variable.
12858
12859 * help-fns.el (help-fns--autoloaded-p): New function.
12860 (describe-function-1): Refer to a function as "autoloaded" if it
12861 was autoloaded at any time in the past. Perform autoloading if
12862 help-enable-auto-load is non-nil.
12863
12864 2012-06-26 Eli Zaretskii <eliz@gnu.org>
12865
12866 * makefile.w32-in (compile, compile-always): Depend on
12867 update-subdirs, not on subdirs.el. Otherwise, several different
12868 sub-targets of 'bootstrap' running in parallel could
12869 simultaneously write to subdirs.el, producing a garbled file.
12870
12871 2012-06-26 Sam Steingold <sds@gnu.org>
12872
12873 * files.el (file-name-base): New convenience function.
12874 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
12875 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
12876 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
12877 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
12878 * textmodes/ispell.el, textmodes/reftex-ref.el:
12879 * textmodes/tex-mode.el: Use it.
12880 Did not touch cedet and org because they are maintained elsewhere.
12881
12882 2012-06-26 Martin Rudalics <rudalics@gmx.at>
12883
12884 * calendar/calendar.el (calendar-exit): Don't try to delete or
12885 iconify last frame. See:
12886 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
12887
12888 2012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
12889
12890 * server.el (server-process-filter): Remember dir in the
12891 process's `server-client-directory' properties.
12892
12893 2012-06-24 Chong Yidong <cyd@gnu.org>
12894
12895 * xml.el (xml-parse-tag): Correctly handle comment embedded in
12896 non-tag text.
12897
12898 2012-06-23 Juanma Barranquero <lekktu@gmail.com>
12899
12900 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
12901
12902 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
12903
12904 * help-fns.el (describe-variable): Don't croak when doc is not found.
12905 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
12906 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
12907 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
12908 * emacs-lisp/smie.el (smie-next-sexp): CSE.
12909 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
12910 ((lambda ..) ..).
12911 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
12912
12913 2012-06-23 Chong Yidong <cyd@gnu.org>
12914
12915 * info.el (Info-mouse-follow-link): Accept symbol values of
12916 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
12917 (Info-fontify-node): Use Info-link-keymap for all navigation
12918 buttons, with link-args property to perform the desired action.
12919 (Info-link-keymap): Doc fix.
12920 (Info-next-link-keymap, Info-prev-link-keymap)
12921 (Info-up-link-keymap): Delete now-unused keymaps.
12922
12923 2012-06-23 Chong Yidong <cyd@gnu.org>
12924
12925 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
12926
12927 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
12928 system abbrevs.
12929
12930 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
12931
12932 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
12933
12934 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
12935 (bug#11719).
12936
12937 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
12938 the requote function doesn't work properly (bug#11714).
12939
12940 2012-06-23 Glenn Morris <rgm@gnu.org>
12941
12942 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
12943
12944 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
12945
12946 Further GV/CL cleanups.
12947 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
12948 gv-expander.
12949 (gv--defun-declaration): New function.
12950 (defun-declarations-alist): Use it.
12951 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
12952 (gv-place): Autoload.
12953 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
12954 original definition of dotimes and dolist.
12955 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
12956 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
12957 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
12958 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
12959 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
12960 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
12961 to the function's definition.
12962 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
12963 * window.el:
12964 * files.el:
12965 * faces.el:
12966 * env.el: Don't use CL.
12967
12968 2012-06-22 Paul Eggert <eggert@cs.ucla.edu>
12969
12970 Support higher-resolution time stamps (Bug#9000).
12971
12972 * calendar/time-date.el (with-decoded-time-value): New arg
12973 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
12974 (encode-time-value): New optional arg PICO. New type 3.
12975 (time-to-seconds) [!float-time]: Support the new picoseconds
12976 component if it's used.
12977 (seconds-to-time, time-subtract, time-add):
12978 Support ps-resolution time stamps as well.
12979
12980 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
12981 (timerp): Timer vectors now have length 9, not 8.
12982 (timer--time): Support new-style (4-part) time stamps.
12983 (timer-next-integral-multiple-of-time): Time stamps now have
12984 picosecond resolution, so take a bit more care about rounding.
12985 (timer-relative-time, timer-inc-time): New optional arg psecs.
12986 (timer-set-time-with-usecs): Set psecs to 0.
12987 (timer--activate): Check psecs component, too.
12988
12989 * proced.el (proced-time-lessp): Support ps-resolution stamps.
12990
12991 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
12992
12993 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
12994 Move the non-essential binding to the post/pre-command-hook where it is
12995 more obviously correct.
12996
12997 * subr.el (read-passwd): Don't use a history at all.
12998 * savehist.el (savehist-save): Remove password saved accidentally
12999 because of the above bug.
13000
13001 2012-06-22 Bastien Guerry <bzg@gnu.org>
13002
13003 * files.el (toggle-read-only): Display a message telling whether
13004 the buffer is read-only or not (bug#11726).
13005
13006 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
13007
13008 * emacs-lisp/gv.el: New file.
13009 * subr.el (push, pop): Extend to generalized variables.
13010 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
13011 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
13012 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
13013 gv-define-simple-setter, and gv-define-expander.
13014 Remove setf-methods defined in gv. Rename cl-setf -> setf.
13015 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
13016 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
13017 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
13018 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
13019 gv-letplace.
13020 (cl-defstruct): Don't define setf-method any more.
13021 * emacs-lisp/cl.el (flet): Don't autoload.
13022 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
13023 (define-setf-expander, defsetf, define-modify-macro)
13024 (cl-struct-setf-expander): Move from cl-lib.el.
13025 * emacs-lisp/syntax.el:
13026 * emacs-lisp/ewoc.el:
13027 * emacs-lisp/smie.el:
13028 * emacs-lisp/cconv.el:
13029 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
13030 (timer--time): Use gv-define-simple-setter.
13031 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
13032 to avoid coding-system problems in subr.el. Adjust all users.
13033 (macroexp--maxsize, macroexp-small-p): New functions.
13034 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
13035 * scroll-bar.el (scroll-bar-mode):
13036 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
13037 (normal-erase-is-backspace-mode): Don't use the `eq' place.
13038 * winner.el (winner-configuration, winner-make-point-alist)
13039 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
13040 * files.el (locate-file-completion-table): Avoid list*.
13041
13042 2012-06-22 Chong Yidong <cyd@gnu.org>
13043
13044 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
13045 (dired-create-files): Doc fix (Bug#11329).
13046 (dired-do-copy): Doc fix (Bug#11334).
13047 (dired-mark-read-string): Doc fix (Bug#11553).
13048
13049 * dired.el (dired-recursive-copies, dired-recursive-deletes):
13050 Doc fix (Bug#11326).
13051 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
13052 (dired-dwim-target): Doc fix.
13053
13054 * wdired.el (wdired-mode): Doc fix.
13055
13056 2012-06-22 Glenn Morris <rgm@gnu.org>
13057
13058 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
13059 (pcmpl-rpm-cache-stamp-file): New constant.
13060 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
13061 (pcmpl-rpm-packages): Optionally cache list of packages.
13062
13063 * pcmpl-rpm.el (pcmpl-rpm): New group.
13064 (pcmpl-rpm-query-options): New option.
13065 (pcmpl-rpm-packages): No need to inline it.
13066 Use pcmpl-rpm-query-options.
13067
13068 * calendar/calendar.el (calendar-in-read-only-buffer):
13069 Avoid some needless mode changes.
13070
13071 2012-06-21 Chong Yidong <cyd@gnu.org>
13072
13073 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
13074 (desktop-path): Remove . from the default value (Bug#10977).
13075 (desktop-read): Use user-emacs-directory if desktop-path is nil.
13076
13077 2012-06-20 Chong Yidong <cyd@gnu.org>
13078
13079 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
13080
13081 2012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
13082
13083 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
13084 (bug#11201).
13085
13086 2012-06-20 Chong Yidong <cyd@gnu.org>
13087
13088 * term.el (term-window-width): Handle the case of a missing right
13089 fringe (Bug#8837).
13090 (term-check-size): Use window-text-height (Bug#5445).
13091 (term-mode): Use define-derived-mode. Minor cleanups.
13092 Set font-lock-defaults (Bug#7692).
13093 (term-move-columns, term-insert-char, term-emulate-terminal)
13094 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
13095
13096 2012-06-20 Michael Albinus <michael.albinus@gmx.de>
13097
13098 * net/ange-ftp.el (ange-ftp-get-passwd):
13099 Bind `enable-recursive-minibuffers'.
13100 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
13101
13102 2012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
13103
13104 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
13105
13106 2012-06-19 Glenn Morris <rgm@gnu.org>
13107
13108 * progmodes/python.el (python-mode): Derive from prog-mode.
13109
13110 2012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
13111
13112 * emulation/edt.el (edt-default-menu-bar-update-buffers)
13113 (edt-user-menu-bar-update-buffers): New functions.
13114 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
13115
13116 2012-06-19 Chong Yidong <cyd@gnu.org>
13117
13118 * subr.el (with-selected-window): Preserve the selected window's
13119 terminal's top-frame (Bug#4702).
13120
13121 * window.el (save-selected-window): Likewise.
13122
13123 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
13124
13125 * progmodes/python.el (python-rx-constituents): Move backquote.
13126 (python-skeleton-define, python-define-auxiliary-skeleton):
13127 Use `declare'.
13128
13129 2012-06-18 Michael Albinus <michael.albinus@gmx.de>
13130
13131 * minibuffer.el (read-file-name-default): Revert the patch from
13132 2012-06-17.
13133
13134 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
13135
13136 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
13137 (pcase--u1, pcase--q1): Don't use apply-partially.
13138
13139 2012-06-18 Glenn Morris <rgm@gnu.org>
13140
13141 * progmodes/python.el (python-proc, python-buffer)
13142 (python-send-receive, python-send-string): Fix obsolete versions.
13143
13144 2012-06-18 Martin Rudalics <rudalics@gmx.at>
13145
13146 * window.el (special-display-p): Completely remove stringp
13147 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
13148
13149 2012-06-17 Michael Albinus <michael.albinus@gmx.de>
13150
13151 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
13152
13153 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
13154
13155 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
13156 * net/tramp-sh.el (tramp-maybe-open-connection):
13157 Throw if `non-essential' is non-nil.
13158
13159 2012-06-17 Martin Rudalics <rudalics@gmx.at>
13160
13161 * window.el (special-display-p): Signal an error if BUFFER-NAME
13162 is not a string (Bug#11713).
13163
13164 2012-06-17 Paul Eggert <eggert@cs.ucla.edu>
13165
13166 * progmodes/python.el (python-info-beginning-of-backslash):
13167 Rename from python-info-beginning-of-backlash, as a spelling fix.
13168
13169 2012-06-17 Chong Yidong <cyd@gnu.org>
13170
13171 * term.el (term-emulate-terminal): If term-check-size is called,
13172 move point to the process mark without resetting point (Bug#4635).
13173
13174 2012-06-17 Glenn Morris <rgm@gnu.org>
13175
13176 * international/mule-cmds.el (mule-menu-keymap)
13177 (set-language-environment, set-locale-environment): Doc tweaks.
13178
13179 2012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
13180
13181 * cus-face.el (custom-face-attributes): Add wave-style underline
13182 attribute.
13183 * faces.el (set-face-attribute): Update docstring to describe
13184 wave-style underline attribute.
13185
13186 2012-06-16 Chong Yidong <cyd@gnu.org>
13187
13188 * term/xterm.el (terminal-init-xterm): Discard input before
13189 querying background mode (Bug#10959).
13190
13191 2012-06-16 Stefan Merten <smerten@oekonux.de>
13192
13193 * textmodes/rst.el: Added and corrected some comments.
13194 (rst-re-alist-def): Improve symbol syntax.
13195 (rst-mode-syntax-table): Correct syntax entries.
13196 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
13197 (rst-official-version, rst-official-cvs-rev): Update version
13198 information.
13199
13200 2012-06-15 Juanma Barranquero <lekktu@gmail.com>
13201
13202 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
13203 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
13204
13205 2012-06-15 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
13206
13207 * progmodes/python.el: New python.el merge.
13208 (python-guess-indent): Obsolete var.
13209 (python-indent-guess-indent-offset): New defcustom.
13210 (python-indent): Obsolete var.
13211 (python-indent-offset): New defcustom.
13212 (python-python-command, python-jython-command): Delete var.
13213 (python-shell-interpreter): New defcustom.
13214 (python-pdbtrack-do-tracking-p): Delete var.
13215 (python-pdbtrack-activate): New defcustom.
13216 (python-use-skeletons): Obsolete var.
13217 (python-skeleton-autoinsert): New defcustom.
13218 (inferior-python-filter-regexp, python-continuation-offset)
13219 (python-honour-comment-indentation, python-indent-string-contents)
13220 (python-jython-packages, python-mode-hook)
13221 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
13222 (python-shell-prompt-alist)
13223 (python-source-modes): Delete defcustoms.
13224 (python-check-buffer-name, python-eldoc-setup-code)
13225 (python-eldoc-string-code, python-ffap-setup-code)
13226 (python-ffap-string-code, python-fill-comment-function)
13227 (python-fill-decorator-function, python-fill-paren-function)
13228 (python-fill-string-function, python-imenu-include-defun-type)
13229 (python-imenu-make-tree, python-imenu-subtree-root-label)
13230 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
13231 (python-shell-compilation-regexp-alist)
13232 (python-shell-completion-module-string-code)
13233 (python-shell-completion-pdb-string-code)
13234 (python-shell-completion-setup-code)
13235 (python-shell-completion-string-code)
13236 (python-shell-enable-font-lock, python-shell-exec-path)
13237 (python-shell-extra-pythonpaths)
13238 (python-shell-internal-buffer-name, python-shell-interpreter-args)
13239 (python-shell-process-environment)
13240 (python-shell-prompt-block-regexp)
13241 (python-shell-prompt-output-regexp)
13242 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
13243 (python-shell-send-setup-max-wait, python-shell-setup-codes)
13244 (python-shell-virtualenv-path): New defcustoms.
13245 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
13246 (inferior-python-mode-syntax-table, python--prompt-regexp)
13247 (python-buffer, python-command python-python-command)
13248 (python-default-template, python-imports, python-indent-index)
13249 (python-indent-list, python-indent-list-length)
13250 (python-mode-running, python-pdbtrack-is-tracking-p)
13251 (python-preoutput-continuation, python-preoutput-leftover)
13252 (python-preoutput-result, python-preoutput-skip-next-prompt)
13253 (python-prev-dir/file, python-recursing)
13254 (python-saved-check-command, python-version-checked)
13255 (python-which-func-length-limit)
13256 (view-return-to-alist): Delete vars.
13257 (python-check-custom-command, python-dotty-syntax-table)
13258 (python-imenu-index-alist, python-indent-current-level)
13259 (python-indent-dedenters, python-indent-levels)
13260 (python-nav-beginning-of-defun-regexp)
13261 (python-nav-list-defun-positions-cache)
13262 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
13263 (python-shell-internal-buffer)
13264 (python-skeleton-available): New vars.
13265 (def-python-skeleton): Delete macro.
13266 (python-skeleton-define): New macro.
13267 (python-define-auxiliary-skeleton, python-rx): New macros.
13268 (python-insert-class): Delete command.
13269 (python-skeleton-class): New command.
13270 (python-insert-def): Delete command.
13271 (python-skeleton-def): New command.
13272 (python-insert-for): Delete command.
13273 (python-skeleton-for): New command.
13274 (python-insert-if): Delete command.
13275 (python-skeleton-if): New command.
13276 (python-insert-try/except, python-insert-try/finally): Delete commands.
13277 (python-skeleton-try): New command.
13278 (python-insert-while): Delete command.
13279 (python-skeleton-while): New command.
13280 (python-backspace): Delete command.
13281 (python-indent-dedent-line-backspace): New command.
13282 (python-electric-colon): Delete command.
13283 (python-indent-electric-colon): New command.
13284 (python-guess-indent): Delete command.
13285 (python-indent-guess-indent-offset): New command.
13286 (python-shift-left): Delete command.
13287 (python-indent-shift-left): New command.
13288 (python-shift-right): Delete command.
13289 (python-indent-shift-right): New command.
13290 (python-find-function): Delete command.
13291 (python-nav-jump-to-defun): New command.
13292 (python-next-statement): Delete command.
13293 (python-nav-forward-sentence): New command.
13294 (python-previous-statement): Delete command.
13295 (python-nav-backward-sentence): New command.
13296 (python-fill-paragraph): Delete command.
13297 (python-fill-paragraph-function): New command.
13298 (python-send-buffer): Delete command.
13299 (python-shell-send-buffer): New command.
13300 (python-send-defun): Delete command.
13301 (python-shell-send-defun): New command.
13302 (python-send-region, python-send-region-and-go): Delete commands.
13303 (python-shell-send-region)
13304 (python-shell-switch-to-shell): New commands.
13305 (python-send-string): Delete command.
13306 (python-shell-send-string): New command.
13307 (python-switch-to-python): Delete command.
13308 (python-shell-switch-to-shell): New command.
13309 (python-describe-symbol): Delete command.
13310 (python-eldoc-at-point): New command.
13311 (python--set-prompt-regexp, python-args-to-list)
13312 (python-after-info-look, python-check-version)
13313 (python-check-comint-prompt, python-find-imports)
13314 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
13315 (python-unload-function, python-expand-template)
13316 (python-maybe-jython, python-preoutput-filter)
13317 (python-pdbtrack-get-source-buffer)
13318 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
13319 (python-pdbtrack-toggle-stack-tracking)
13320 (python-pdbtrack-track-stack-file, python-initial-text)
13321 (python-first-word, python-comment-line-p, python-send-command)
13322 (python-setup-brm, python-sentinel, python-set-proc)
13323 (python-skip-out, python-input-filter, python-outdent-p)
13324 (python-outline-level, python-backslash-continuation-line-p)
13325 (python-end-of-block, python-end-of-statement, python-mark-block)
13326 (python-beginning-of-block, python-beginning-of-statement)
13327 (python-blank-line-p, python-beginning-of-string)
13328 (python-open-block-statement-p): Delete functions.
13329 (python-indent-line, python-indent-line-1): Delete functions.
13330 (python-indent-line): New function.
13331 (python-indentation-levels): Delete function.
13332 (python-indent-calculate-levels): New function.
13333 (python-proc): Delete function.
13334 (python-shell-get-process): New function.
13335 (python-send-receive): Delete function.
13336 (python-shell-send-string-no-output): New function.
13337 (python-module-path): Delete function.
13338 (python-ffap-module-path): New function.
13339 (python-completion-at-point)
13340 (python-symbol-completions): Delete functions.
13341 (python-completion-complete-at-point): New function.
13342 (python-load-file): Delete function.
13343 (python-shell-send-file): New function.
13344 (python-calculate-indentation): Delete function.
13345 (python-indent-calculate-indentation): New function.
13346 (python-skip-comments/blanks): Delete function.
13347 (python-util-forward-comment): New function.
13348 (python-continuation-line-p): Delete function.
13349 (python-info-continuation-line-p): New function.
13350 (python-which-func, python-current-defun): Delete function.
13351 (python-info-current-defun): New function.
13352 (python-beginning-of-defun): Delete function.
13353 (python-nav-beginning-of-defun): New function.
13354 (python-close-block-statement-p)
13355 (python-block-end-p): Delete function.
13356 (python-info-closing-block): New function.
13357 (python-comint-output-filter-function)
13358 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
13359 (python-fill-comment, python-fill-decorator, python-fill-paren)
13360 (python-fill-string, python-imenu-make-element-tree)
13361 (python-imenu-make-tree, python-imenu-tree-assoc)
13362 (python-indent-context, python-indent-dedent-line)
13363 (python-indent-line-function)
13364 (python-indent-post-self-insert-function)
13365 (python-indent-toggle-levels)
13366 (python-info-assignment-continuation-line-p)
13367 (python-info-beginning-of-backlash)
13368 (python-info-block-continuation-line-p)
13369 (python-info-closing-block-message)
13370 (python-info-line-ends-backslash-p)
13371 (python-info-looking-at-beginning-of-defun)
13372 (python-info-ppss-context, python-info-ppss-context-type)
13373 (python-nav-list-defun-positions, python-nav-read-defun)
13374 (python-nav-sentence-end, python-nav-sentence-start)
13375 (python-pdbtrack-comint-output-filter-function)
13376 (python-pdbtrack-set-tracked-buffer)
13377 (python-shell-calculate-exec-path)
13378 (python-shell-calculate-process-environment)
13379 (python-shell-completion--do-completion-at-point)
13380 (python-shell-completion--get-completions)
13381 (python-shell-completion-complete-at-point)
13382 (python-shell-completion-complete-or-indent)
13383 (python-shell-get-or-create-process)
13384 (python-shell-get-process-name)
13385 (python-shell-internal-get-or-create-process)
13386 (python-shell-internal-get-process-name)
13387 (python-shell-internal-send-string, python-shell-make-comint)
13388 (python-shell-parse-command, python-shell-send-setup-code)
13389 (python-skeleton-add-menu-items)
13390 (python-util-clone-local-variables, python-util-position)
13391 (run-python-internal, python-indentation-levels)
13392 (python-nav-beginning-of-defun)
13393 (python-completion-complete-at-point): New functions.
13394 (run-python): Change arguments. New API requirements.
13395
13396 2012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
13397
13398 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
13399 (bug#11649).
13400
13401 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
13402 (macroexp--expand-all): Use it.
13403
13404 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
13405 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
13406 Use `cl-function' instead.
13407
13408 2012-06-14 Juanma Barranquero <lekktu@gmail.com>
13409
13410 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
13411 Suggested by Stefan Monnier while discussing bug#11657.
13412
13413 2012-06-14 Sam Steingold <sds@gnu.org>
13414
13415 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
13416
13417 2012-06-14 Andreas Schwab <schwab@linux-m68k.org>
13418
13419 * play/doctor.el (doctor-doc): Remove parameter and use
13420 doctor-sent instead of sent.
13421 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
13422
13423 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
13424
13425 * files.el: Require cl-lib.
13426 (file-name-non-special): Replace case -> cl-case.
13427
13428 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
13429
13430 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
13431 mapping from #' to function*.
13432
13433 2012-06-13 Chong Yidong <cyd@gnu.org>
13434
13435 * mouse.el (mouse-drag-track): Do not set the mark if the user
13436 releases the mouse without selecting anything (Bug#11588).
13437
13438 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
13439
13440 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
13441 as well (bug#11646).
13442
13443 * loadup.el: Count byte-code functions as well.
13444
13445 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
13446 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
13447
13448 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
13449 (bug#11649). Add cl-defun and cl-defmacro.
13450
13451 2012-06-13 Drew Adams <drew.adams@oracle.com>
13452
13453 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
13454 Fix last change.
13455
13456 2012-06-13 Michael Albinus <michael.albinus@gmx.de>
13457
13458 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
13459 Otherwise, it blocks in batch mode.
13460
13461 2012-06-13 Juanma Barranquero <lekktu@gmail.com>
13462
13463 * help-mode.el (bookmark-make-record-default): Declare.
13464
13465 2012-06-13 Chong Yidong <cyd@gnu.org>
13466
13467 * emacs-lisp/package.el (list-packages): Compute a list of
13468 packages that are newly-available since the last list-packages
13469 invocation.
13470 (package-menu--new-package-list): New var.
13471 (package-menu--generate, package-menu--print-info)
13472 (package-menu--status-predicate, package-menu-mark-install):
13473 Handle new status label "new".
13474
13475 2012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
13476
13477 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
13478 conversion to backquotes.
13479
13480 2012-06-12 Chong Yidong <cyd@gnu.org>
13481
13482 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
13483 Rename from gud-inhibit-global-bindings.
13484
13485 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
13486
13487 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
13488 hook from nxml-glyph-set-hook.
13489
13490 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
13491 declaration.
13492
13493 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
13494
13495 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
13496 Convert to defcustom.
13497
13498 2012-06-12 Drew Adams <drew.adams@oracle.com>
13499
13500 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
13501 New functions.
13502 (help-mode): Use them.
13503
13504 2012-06-11 Glenn Morris <rgm@gnu.org>
13505
13506 * progmodes/fortran.el (fortran-font-lock-keywords-3):
13507 Use preprocessor face for directives.
13508 (fortran-directive-re): Doc fix.
13509
13510 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
13511
13512 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
13513 conversion to backquotes (bug#11652).
13514
13515 Fix compiler-expansion of CL's cXXr functions (bug#11673).
13516 * emacs-lisp/cl-lib.el (cl--defalias): New function.
13517 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
13518 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
13519 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
13520 (cl-ninth, cl-tenth): Mark them as inlinable.
13521 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
13522 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
13523 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
13524 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
13525 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
13526 (cl-list*, cl-adjoin): Don't put an autoload manually.
13527 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
13528 (cl--compiler-macro-list*): Add autoload cookie.
13529 (cl--compiler-macro-cXXr): New function.
13530
13531 * help-fns.el (help-fns--compiler-macro): New function extracted from
13532 describe-function-1; follow aliases and use `compiler-macro' property.
13533 (describe-function-1): Use it.
13534
13535 2012-06-11 Chong Yidong <cyd@gnu.org>
13536
13537 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
13538 is uninstalled, if imagemagick is installed.
13539
13540 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
13541
13542 * emacs-lisp/cl-lib.el: Use lexical-binding.
13543 (cl-map-extents, cl-maclisp-member): Remove.
13544 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
13545 (cl--set-substring, cl--block-wrapper, cl--block-throw)
13546 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
13547 * emacs-lisp/cl-extra.el: Use lexical-binding.
13548 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
13549 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
13550 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
13551 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
13552 * emacs-lisp/cl-seq.el: Use lexical-binding.
13553 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
13554 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
13555 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
13556 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
13557 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
13558 CL's internals.
13559
13560 2012-06-11 Michael Albinus <michael.albinus@gmx.de>
13561
13562 Sync with Tramp 2.2.6-pre.
13563
13564 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
13565 `print-length' and `print-level' to nil, in order to avoid
13566 truncation. Reported by Christopher Schmidt
13567 <christopher@ristopher.com>.
13568
13569 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
13570
13571 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
13572 New defmacro.
13573 (tramp-compat-copy-directory): Add optional argument
13574 COPY-CONTENTS. It is not handled yet.
13575
13576 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
13577 (tramp-ftp-file-name-p): Simplify.
13578
13579 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
13580 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
13581 connection vector.
13582
13583 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
13584 (tramp-methods): Do not use `tramp-password-end-of-line'.
13585 (tramp-completion-function-alist-putty): Handle UNIX case.
13586 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
13587 (tramp-do-file-attributes-with-stat)
13588 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
13589 gid as real numbers. They could run out of integer range on cygwin.
13590 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
13591 (tramp-sh-handle-expand-file-name): Handle hops.
13592 (tramp-open-connection-setup-interactive-shell):
13593 Use `tramp-cleanup'. Move check for busyboxes ...
13594 (tramp-find-shell): ... here. Simplify implementation.
13595 Set "remote-shell" property also for alternative shells.
13596 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
13597 If failing, a regular file would be written otherwise.
13598 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
13599 (tramp-find-inline-encoding): Cache the coding commands in the
13600 process cache. Apply test command on the remote side, if defined.
13601 (tramp-find-inline-compress): Cache the compress commands in the
13602 process cache.
13603 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
13604 when requested. Handle hops.
13605 (tramp-current-connection): New defvar.
13606 (tramp-maybe-open-connection): Use `tramp-cleanup'.
13607 Throw `suppress', if there was a failed connection shortly before.
13608 Handle user interrupt. (Bug#10187)
13609 (tramp-get-inline-compress, tramp-get-inline-coding):
13610 Read connection properties from the process cache.
13611
13612 * net/tramp-smb.el (tramp-smb-server-version)
13613 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
13614 New defconsts.
13615 (tramp-smb-prompt): Extend for powershell prompt.
13616 (tramp-smb-file-name-handler-alist): Add handlers for
13617 `process-file', `shell-command' and `start-file-process'.
13618 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
13619 (tramp-smb-winexe-shell-command-switch): New defcustoms.
13620 (tramp-smb-file-name-p): Simplify.
13621 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
13622 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
13623 (tramp-smb-shell-quote-argument): New defuns.
13624 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
13625 Implement using "tar". By this, time-stamps are preserved.
13626 (tramp-smb-handle-copy-file): Handle also the case of directories.
13627 (tramp-smb-do-file-attributes-with-stat)
13628 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
13629 Use `tramp-get-connection-buffer').
13630 (tramp-smb-handle-rename-file): Use "rename", when source and
13631 target are on the same share.
13632 (tramp-smb-maybe-open-connection): Handle wrong passwords.
13633 Use `tramp-smb-server-version'.
13634 (tramp-smb-wait-for-output): Remove prompt.
13635
13636 * net/tramp.el (top): Require 'cl.
13637 (tramp-methods, tramp-rsh-end-of-line):
13638 Remove `tramp-password-end-of-line' from docstring.
13639 (tramp-save-ad-hoc-proxies): New defcustom.
13640 (tramp-completion-function-alist): Adapt docstring.
13641 (tramp-default-password-end-of-line): Remove defcustom.
13642 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
13643 (tramp-user-regexp, tramp-file-name-regexp-unified)
13644 (tramp-file-name-regexp-url): Extend regexp by hop separator.
13645 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
13646 (tramp-remote-file-name-spec-regexp): New defconst.
13647 (tramp-file-name-structure): Extend structure for hops.
13648 (tramp-get-method-parameter): Move up.
13649 (tramp-file-name-p, tramp-dissect-file-name)
13650 (with-parsed-tramp-file-name): Handle hops.
13651 (tramp-file-name-hop): New defun.
13652 (tramp-make-tramp-file-name): New optional arg HOP.
13653 (tramp-message-show-progress-reporter-message): New defvar.
13654 (tramp-with-progress-reporter): Use it. We cannot use
13655 `tramp-message-show-message' here, because this suppresses also
13656 error buffers.
13657 (tramp-error-with-buffer): Suppress buffer view, if
13658 `tramp-message-show-message' is nil.
13659 Use `tramp-get-connection-buffer'.
13660 (tramp-cleanup): New defun.
13661 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
13662 (tramp-file-name-handler): If `debug-on-error' is set, propagate
13663 an error unchanged.
13664 (tramp-completion-handle-file-name-all-completions): Handle hops.
13665 Fix an error when called from ido.
13666 (tramp-completion-dissect-file-name): Use better local variable
13667 name. Add hop to the vector.
13668 (tramp-handle-insert-file-contents): Use progress-reporter for the
13669 whole scenario.
13670 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
13671 to `t'.
13672 (tramp-check-for-regexp): Simplify search.
13673 (tramp-enter-password): Remove it. Move implementation ...
13674 (tramp-action-password): ... here.
13675 (tramp-mode-string-to-int, tramp-local-host-p)
13676 (tramp-make-tramp-temp-file, tramp-read-passwd)
13677 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
13678 Set tramp-autoload cookie.
13679
13680 * net/trampver.el: Update release number.
13681
13682 2012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13683 Michael Albinus <michael.albinus@gmx.de>
13684
13685 * net/tramp.el (tramp-set-completion-function): Fix docstring.
13686 (tramp-parse-group, tramp-parse-file)
13687 (tramp-parse-shostkeys-sknownhosts): New defuns.
13688 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
13689 (tramp-parse-shosts-group, tramp-parse-sconfig)
13690 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
13691 (tramp-parse-sknownhosts, tramp-parse-hosts)
13692 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
13693 Use them.
13694 (tramp-parse-passwd-group, tramp-parse-netrc-group)
13695 (tramp-parse-putty-group): Don't narrow.
13696 (tramp-parse-putty): Make a loop.
13697 (tramp-file-name-handler): Catch the `suppress' signal.
13698
13699 2012-06-11 Chong Yidong <cyd@gnu.org>
13700
13701 * image.el (imagemagick-register-types): Put the ImageMagick entry
13702 at the end of image-type-file-name-regexps.
13703
13704 2012-06-11 Johan BockgĂ¥rd <bojohan@gnu.org>
13705
13706 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
13707 (pcase, pcase-let*, pcase-dolist): Use them.
13708
13709 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
13710
13711 * emacs-lisp/pcase.el (pcase--let*): New function.
13712 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
13713 (pcase--expand): Use macroexp-let².
13714
13715 2012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
13716
13717 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
13718 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
13719 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
13720 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
13721 * emacs-lisp/derived.el: Use pcase instead of `cl'.
13722 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
13723
13724 2012-06-10 Glenn Morris <rgm@gnu.org>
13725
13726 * mail/rmail.el (rmail-yank-current-message): Leave point at
13727 correct position. (Bug#11660)
13728
13729 2012-06-10 Chong Yidong <cyd@gnu.org>
13730
13731 * allout-widgets.el: Fix code header.
13732
13733 2012-06-10 Chong Yidong <cyd@gnu.org>
13734
13735 * cus-edit.el (customize-changed-options-previous-release):
13736 Bump to 24.1.
13737
13738 2012-06-09 Andreas Schwab <schwab@linux-m68k.org>
13739
13740 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
13741
13742 2012-06-09 Chong Yidong <cyd@gnu.org>
13743
13744 * ebuff-menu.el (electric-buffer-list): Preserve header line.
13745
13746 2012-06-09 Martin Rudalics <rudalics@gmx.at>
13747
13748 * window.el (special-display-popup-frame): Don't use
13749 window--display-buffer (Bug#11651).
13750
13751 2012-06-09 Eli Zaretskii <eliz@gnu.org>
13752
13753 Fix parallel builds: make sure loaddefs.el is not being written
13754 while Lisp files are compiled.
13755 (compile): Don't depend on 'mh-autoloads'.
13756 (compile-CMD, compile-SH): Depend on 'autoloads'.
13757 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
13758
13759 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
13760
13761 2012-06-09 Chong Yidong <cyd@gnu.org>
13762
13763 * face-remap.el (face-remap-add-relative, face-remap-set-base)
13764 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
13765 Doc fixes (Bug#11225).
13766
13767 2012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
13768
13769 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
13770 a function if there's a clear indication that it has a compiler-macro.
13771 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
13772 (macro-declarations-alist): Add arglist to declaration functions.
13773 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
13774 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
13775 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
13776 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
13777 Also add autoload to find the compiler macro.
13778 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
13779 (cl--compiler-macro-member, cl--compiler-macro-assoc)
13780 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
13781 (cl--compiler-macro-get): New functions, replacing calls to
13782 cl-define-compiler-macro.
13783 (cl-typep) [compiler-macro]: Use macroexp-let².
13784
13785 2012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
13786
13787 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
13788 string properly, fixes Bug#11473.
13789
13790 2012-06-08 Chong Yidong <cyd@gnu.org>
13791
13792 * faces.el (set-face-attribute): Doc fix.
13793 (modify-face): Don't use :bold and :italic.
13794 (error, warning, success): Tweak definitions.
13795
13796 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
13797 (custom-modified, custom-set, custom-changed, custom-themed)
13798 (custom-saved, custom-button, custom-button-mouse)
13799 (custom-button-pressed, custom-state, custom-comment-tag)
13800 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
13801 (custom-group-subtitle): Use new-style face specs.
13802 (custom-invalid-face, custom-rogue-face, custom-modified-face)
13803 (custom-set-face, custom-changed-face, custom-saved-face)
13804 (custom-button-face, custom-button-pressed-face)
13805 (custom-documentation-face, custom-state-face)
13806 (custom-comment-face, custom-comment-tag-face)
13807 (custom-variable-tag-face, custom-variable-button-face)
13808 (custom-face-tag-face, custom-group-tag-face-1)
13809 (custom-group-tag-face): Remove obsolete face alias.
13810
13811 * epa.el (epa-validity-high, epa-validity-medium)
13812 (epa-validity-low, epa-mark, epa-field-name, epa-string)
13813 (epa-field-name, epa-field-body):
13814 * font-lock.el (font-lock-comment-face, font-lock-string-face)
13815 (font-lock-keyword-face, font-lock-builtin-face)
13816 (font-lock-function-name-face, font-lock-variable-name-face)
13817 (font-lock-type-face, font-lock-constant-face):
13818 * ido.el (ido-first-match, ido-only-match, ido-subdir)
13819 (ido-virtual, ido-indicator, ido-incomplete-regexp):
13820 * speedbar.el (speedbar-button-face, speedbar-file-face)
13821 (speedbar-directory-face, speedbar-tag-face)
13822 (speedbar-selected-face, speedbar-highlight-face)
13823 (speedbar-separator-face):
13824 * whitespace.el (whitespace-newline, whitespace-space)
13825 (whitespace-hspace, whitespace-tab, whitespace-trailing)
13826 (whitespace-line, whitespace-space-before-tab)
13827 (whitespace-space-after-tab, whitespace-indentation)
13828 (whitespace-empty):
13829 * emulation/cua-base.el (cua-global-mark):
13830 * eshell/em-prompt.el (eshell-prompt):
13831 * net/newst-plainview.el (newsticker-new-item-face)
13832 (newsticker-old-item-face, newsticker-immortal-item-face)
13833 (newsticker-obsolete-item-face, newsticker-date-face)
13834 (newsticker-statistics-face, newsticker-default-face):
13835 * net/newst-reader.el (newsticker-feed-face)
13836 (newsticker-extra-face, newsticker-enclosure-face):
13837 * net/newst-treeview.el (newsticker-treeview-face)
13838 (newsticker-treeview-new-face, newsticker-treeview-old-face)
13839 (newsticker-treeview-immortal-face)
13840 (newsticker-treeview-obsolete-face)
13841 (newsticker-treeview-selection-face):
13842 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
13843 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
13844 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
13845 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
13846 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
13847 (nxml-outline-active-indicator, nxml-outline-ellipsis):
13848 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
13849 (mpuz-text):
13850 * progmodes/vera-mode.el (vera-font-lock-number)
13851 (vera-font-lock-function, vera-font-lock-interface):
13852 * textmodes/table.el (table-cell): Use new-style face specs, and
13853 don't use the old :bold and :italic attributes.
13854
13855 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
13856 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
13857 (ebrowse-member-class, ebrowse-progress): Likewise.
13858 (ebrowse-tree-mark-face, ebrowse-root-class-face)
13859 (ebrowse-file-name-face, ebrowse-default-face)
13860 (ebrowse-member-attribute-face, ebrowse-member-class-face)
13861 (ebrowse-progress-face): Remove obsolete faces.
13862
13863 * progmodes/flymake.el (flymake-errline, flymake-warnline):
13864 Inherit from error and warning faces respectively.
13865
13866 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
13867 Likewise.
13868 (flyspell-incorrect-face, flyspell-duplicate-face):
13869 Remove obsolete aliases.
13870
13871 2012-06-08 Michael Albinus <michael.albinus@gmx.de>
13872
13873 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
13874 Avoid infloop.
13875
13876 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
13877
13878 * startup.el (argv, argi): Make lexically scoped.
13879 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
13880 * emacs-lisp/cl-macs.el: Use lexical-binding.
13881 Rename cl-bind-* to cl--bind-*.
13882 * files.el: Don't require `cl' since it doesn't use it.
13883 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
13884
13885 2012-06-08 Juanma Barranquero <lekktu@gmail.com>
13886
13887 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
13888 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
13889 instead of calling external sort utility.
13890 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
13891
13892 2012-06-08 Eli Zaretskii <eliz@gnu.org>
13893
13894 * descr-text.el (describe-char): Mention how to insert the
13895 character, if the current input method doesn't support it.
13896 See the discussion in this thread for the details:
13897 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
13898
13899 2012-06-08 Sam Steingold <sds@gnu.org>
13900
13901 * bindings.el (global-map): Bind XF86Forward to next-buffer and
13902 XF86Back to previous-buffer.
13903 (minibuffer-local-map): Bind them to next-history-element and
13904 previous-history-element respectively.
13905 * help-mode.el (help-mode-map): Bind them to help-go-forward and
13906 help-go-back respectively.
13907 * info.el (Info-mode-map): Bind them to Info-history-forward and
13908 Info-history-back respectively.
13909 These are the keys next to Up on the ThinkPad keyboard.
13910
13911 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
13912
13913 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
13914 * emacs-lisp/cl-macs.el: Provide itself.
13915 (cl--labels-convert-cache): New var.
13916 (cl--labels-convert): New function.
13917 (cl-flet, cl-labels): New implementation with new semantics, relying on
13918 lexical-binding.
13919 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
13920 (cl-closure-vars, cl--function-convert-cache)
13921 (cl--function-convert): Move from cl-macs.el.
13922 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
13923 rename by removing the "cl-" prefix.
13924 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
13925
13926 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
13927
13928 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
13929 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
13930 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
13931 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
13932 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
13933 (cl-hash-table-count): Add old compatibility aliases.
13934
13935 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
13936 Use macroexpand-all-environment instead.
13937 (cl--old-macroexpand): New var.
13938 (cl--sm-macroexpand): New function.
13939 (cl-symbol-macrolet): Use it during macro expansion.
13940 (cl--function-convert-cache): New var.
13941 (cl--function-convert): New function, extracted from
13942 cl-macroexpand-all.
13943 (cl-lexical-let): Use it.
13944
13945 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
13946 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
13947 (cl-member): Remove old alias.
13948
13949 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
13950 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
13951 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
13952 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
13953 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
13954 (cl-macroexpand-cmacs): Remove var.
13955 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
13956 Use macroexpand-all instead.
13957
13958 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
13959
13960 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
13961 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
13962 (macroexp-copyable-p): New functions and macros.
13963 * emacs-lisp/edebug.el (edebug-unwrap):
13964 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
13965 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
13966 (pcase--let*): Remove.
13967 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
13968 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
13969 macroexp-const-p instead.
13970 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
13971
13972 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
13973 instead of "cl-" for internal definitions. Use macroexp-const-p.
13974 (cl-old-bc-file-form): Remove var.
13975 (cl-const-exprs-p): Remove fun.
13976 (cl-labels, cl-macrolet): Use backquote.
13977 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
13978 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
13979 (cl-define-setf-expander): Rename from cl-define-setf-method.
13980 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
13981
13982 * international/mule-cmds.el: Don't require CL.
13983 (view-hello-file): Don't use `letf'.
13984
13985 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
13986
13987 * tmm.el (tmm-prompt): Use string-prefix-p.
13988 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
13989 (tmm-add-prompt): Use minibuffer-completion-help.
13990 (tmm-delete-map): Remove.
13991
13992 * subr.el (kbd): Make it its own function.
13993
13994 2012-06-07 Stefan Merten <smerten@oekonux.de>
13995
13996 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
13997 Silence compiler warnings. Fix versions.
13998 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
13999 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
14000 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
14001 (rst-package-emacs-version-alist): Correct Emacs version to
14002 represent major merge with upstream.
14003 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
14004
14005 2012-06-06 Glenn Morris <rgm@gnu.org>
14006
14007 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
14008 Only print environment variables if set.
14009
14010 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
14011
14012 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
14013 (macroexp--cons): Rename from maybe-cons.
14014 (macroexp--accumulate): Rename from macroexp-accumulate.
14015 (macroexp--all-forms): Rename from macroexpand-all-forms.
14016 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
14017 (macroexp--expand-all): Rename from macroexpand-all-1.
14018
14019 2012-06-06 Sam Steingold <sds@gnu.org>
14020
14021 * calendar/calendar.el (calendar-in-read-only-buffer):
14022 Call `special-mode' to enable the standard read-only keybindings.
14023
14024 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
14025
14026 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
14027 with "loading" messages (bug#11635).
14028
14029 2012-06-06 Michael Albinus <michael.albinus@gmx.de>
14030
14031 * files.el (enable-remote-dir-locals): New option.
14032 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
14033
14034 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
14035 Ensure, that the temp directory is local.
14036
14037 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
14038 `temporary-file-directory'.
14039
14040 * progmodes/python.el (python-send-region): Ensure, that the
14041 temporary file is created also in the remote case.
14042
14043 2012-06-06 Glenn Morris <rgm@gnu.org>
14044
14045 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
14046 (vc-rcs-update-changelog): Use it.
14047
14048 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
14049
14050 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
14051 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
14052 (vc-sccs-diff): Replace use of the external vcdiff script.
14053
14054 2012-06-05 Glenn Morris <rgm@gnu.org>
14055
14056 * ledit.el: Move to obsolete/.
14057
14058 2012-06-05 Sam Steingold <sds@gnu.org>
14059
14060 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
14061 patch (Bug#11140).
14062
14063 2012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
14064
14065 * emacs-lisp/cust-print.el: Move to obsolete.
14066
14067 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
14068 compiler-macro expansion.
14069
14070 Add native compiler-macro support.
14071 * emacs-lisp/macroexp.el (macroexpand-all-1):
14072 Support compiler-macros directly. Properly follow aliases and apply
14073 the compiler macros more thoroughly.
14074 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
14075 macroexpand now properly follows aliases.
14076 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
14077 (cl-compiler-macroexpand): Use new prop.
14078 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
14079
14080 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
14081
14082 2012-06-05 Martin Rudalics <rudalics@gmx.at>
14083
14084 * window.el (get-lru-window, get-mru-window, get-largest-window):
14085 New argument NOT-SELECTED to avoid picking the selected window.
14086 (window--display-buffer-1, window--display-buffer-2): Replace by
14087 new function window--display-buffer
14088 (display-buffer-same-window, display-buffer-reuse-window)
14089 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
14090 Use window--display-buffer.
14091 (display-buffer-use-some-window): Remove temporary dedication
14092 hack by calling get-lru-window and get-largest-window with
14093 NOT-SELECTED argument non-nil. Call window--display-buffer.
14094
14095 2012-06-05 Glenn Morris <rgm@gnu.org>
14096
14097 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
14098 Replace external vcdiff script.
14099
14100 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
14101
14102 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
14103
14104 2012-06-04 Chong Yidong <cyd@gnu.org>
14105
14106 * image.el (imagemagick-types-inhibit): Revert last change.
14107 Add INFO and M.
14108 (imagemagick-enabled-types): Remove CIN and EPS*.
14109
14110 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
14111
14112 * emacs-lisp/cl-lib.el: Rename from cl.el.
14113 * emacs-lisp/cl.el: New compatibility file.
14114 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
14115 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
14116 to obey the "cl-" prefix.
14117 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
14118
14119 2012-06-03 Glenn Morris <rgm@gnu.org>
14120
14121 * emacs-lisp/authors.el (authors-aliases): Addition.
14122
14123 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
14124 Fix :version.
14125
14126 2012-06-03 Stefan Merten <smerten@oekonux.de>
14127
14128 * textmodes/rst.el: Add comments.
14129 (rst-transition, rst-adornment): New faces.
14130 (rst-adornment-faces-alist): Make default safe to reevaluate.
14131 Fixes
14132 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
14133 Improve customization tags.
14134 (rst-define-level-faces): Clarify meaning.
14135
14136 2012-06-03 Chong Yidong <cyd@gnu.org>
14137
14138 * progmodes/compile.el (compilation-mode-line-fail)
14139 (compilation-mode-line-run, compilation-mode-line-exit):
14140 New faces.
14141 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
14142
14143 2012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
14144
14145 * progmodes/which-func.el (which-func-update-ediff-windows):
14146 New function. Use it in ediff-select-hook (Bug#11478).
14147
14148 2012-06-03 Chong Yidong <cyd@gnu.org>
14149
14150 * bindings.el: Remove explicit help text from format-mode-line.
14151 It is now supplied by mode-line-default-help-echo.
14152 (mode-line-front-space, mode-line-end-spaces)
14153 (mode-line-misc-info): New variables.
14154 (mode-line-modes, mode-line-position): Move the default value to
14155 the variable definition.
14156 (mode-line-default-help-echo): New defcustom.
14157 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
14158 (mode-line-modified-help-echo): New functions.
14159 (mode-line-mule-info, mode-line-modified): Use them.
14160 (mode-line-eol-desc, propertized-buffer-identification):
14161 Consistency fixes for help text.
14162 (mode-line-coding-system-map): Allow using mouse-3 to invoke
14163 set-buffer-file-coding-system (Bug#289).
14164 (mode-line-mule-info-help-echo): Update help text.
14165
14166 2012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
14167
14168 * simple.el (execute-extended-command): Set real-this-command
14169 (bug#11506).
14170
14171 2012-06-02 Chong Yidong <cyd@gnu.org>
14172
14173 Remove incorrect uses of "modeline" in comments, docstrings, and
14174 function/variable names (Bug#10329).
14175
14176 * cus-edit.el (mode-line):
14177 * dframe.el (dframe-mouse-hscroll):
14178 * emacs-lisp/re-builder.el:
14179 * emacs-lisp/easy-mmode.el (define-minor-mode):
14180 * frame.el (set-frame-name):
14181 * help.el (lookup-minor-mode-from-indicator):
14182 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
14183 * progmodes/cc-cmds.el (c-toggle-auto-newline)
14184 (c-toggle-hungry-state):
14185 * progmodes/antlr-mode.el (antlr-language-alist):
14186 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
14187 * progmodes/vhdl-mode.el (vhdl-mode):
14188 * progmodes/which-func.el (which-func, which-func-cleanup-function):
14189 * term/ns-win.el (ns-face-at-pos):
14190 * term/sup-mouse.el (sup-mouse-report):
14191 * textmodes/flyspell.el (flyspell-mode-line-string):
14192 * textmodes/ispell.el (ispell-highlight-face):
14193 * textmodes/reftex-global.el:
14194 * vc/vc-arch.el (vc-arch-mode-line-string):
14195 * vc/vc-cvs.el (vc-cvs-mode-line-string):
14196 * vc/vc-git.el (vc-git-mode-line-string):
14197 * vc/vc-hooks.el (vc-display-status)
14198 (vc-default-mode-line-string):
14199 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
14200
14201 * ansi-color.el (ansi-color-faces-vector): Change default faces.
14202
14203 * dired.el (dired-sort-set-mode-line): Rename from
14204 dired-sort-set-modeline. All callers changed.
14205
14206 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
14207 eshell-status-in-modeline.
14208
14209 * foldout.el (foldout-mode-line-string): Rename from
14210 foldout-modeline-string. All callers changed.
14211 (foldout-update-mode-line): Rename from foldout-update-modeline.
14212
14213 * subr.el (redraw-modeline): Make into obsolete alias.
14214
14215 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
14216 timeclock-modeline-display. Make old name an alias.
14217 (timeclock-update-mode-line): Likewise. All callers changed.
14218 (timeclock-mode-line-display): No need to check before using
14219 add-hook.
14220 (timeclock-relative, timeclock-day-over-hook)
14221 (timeclock-use-elapsed, timeclock-mode-string)
14222 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
14223
14224 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
14225 crisp-mode-modeline-string.
14226
14227 * play/solitaire.el (solitaire-build-mode-line): Rename from
14228 solitaire-build-modeline. All callers changed.
14229
14230 * play/zone.el (zone-hiding-mode-line): Rename from
14231 zone-hiding-modeline. All callers changed.
14232 (zone): Remove unusued `modeline-hidden-level' property.
14233
14234 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
14235 xscheme-modeline-initialize. All callers changed.
14236
14237 * strokes.el (strokes-lighter): Rename from
14238 strokes-modeline-string.
14239
14240 * textmodes/sgml-mode.el (html-face-tag-alist)
14241 (html-tag-face-alist): Use mode-line face instead of obsolete
14242 alias modeline.
14243
14244 2012-06-02 Stefan Merten <smerten@oekonux.de>
14245
14246 * textmodes/rst.el: Always require `cl'.
14247 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
14248
14249 2012-06-02 Chong Yidong <cyd@gnu.org>
14250
14251 * image.el (imagemagick-enabled-types): Rename from
14252 imagemagick-types-enable. Add many more types.
14253 (imagemagick-types-inhibit): Change default to nil.
14254 (imagemagick-filter-types): Caller changed.
14255
14256 2012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
14257
14258 * emacs-lisp/cl-macs.el: Use backquotes.
14259 (cl-transform-function-property): Use eval-and-compile rather than
14260 abusing `require'.
14261 (defstruct): Use declare-function instead of with-no-warnings.
14262
14263 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
14264 (byte-compile-output-docform): Re-add the print-circle bindings.
14265 (byte-compile-fix-header): Use #$ just because it's shorter.
14266 (byte-compile-output-file-form): Remove defun/defmacro.
14267
14268 2012-06-01 Martin Rudalics <rudalics@gmx.at>
14269
14270 * simple.el (choose-completion): Remove now obsolete binding for
14271 owindow.
14272
14273 2012-06-01 Michael Albinus <michael.albinus@gmx.de>
14274
14275 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
14276 in order to avoid "Stack overflow in regexp matcher".
14277
14278 2012-05-31 Glenn Morris <rgm@gnu.org>
14279
14280 * image.el: For clarity, call imagemagick-register-types at
14281 top-level, rather than relying on a custom :initialize.
14282 (imagemagick-types-enable): New option. (Bug#11557)
14283 (imagemagick-filter-types): New function. (Bug#7406)
14284 (imagemagick-register-types): Use imagemagick-filter-types.
14285 If disabling support, remove elements altogether rather
14286 than using an impossible regexp.
14287 (imagemagick-types-inhibit): Give it the default init function.
14288
14289 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
14290
14291 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
14292 Handle arbitrary file name lengths (Bug#11585).
14293
14294 2012-05-31 Martin Rudalics <rudalics@gmx.at>
14295
14296 * desktop.el (desktop-read): Clear previous and next buffers for
14297 all windows and bury *Messages* buffer (bug#11556).
14298
14299 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
14300
14301 Add `declare' for `defun'. Align `defmacro's with it.
14302 * emacs-lisp/easy-mmode.el (define-minor-mode)
14303 (define-globalized-minor-mode): Don't autoload the var definitions.
14304 * emacs-lisp/byte-run.el: Use lexical-binding.
14305 (defun-declarations-alist, macro-declarations-alist): New vars.
14306 (defmacro, defun): Use them.
14307 (make-obsolete, define-obsolete-function-alias)
14308 (make-obsolete-variable, define-obsolete-variable-alias):
14309 Use `declare'.
14310 (macro-declaration-function): Mark obsolete.
14311 * emacs-lisp/autoload.el: Use lexical-binding.
14312 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
14313
14314 2012-05-30 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
14315
14316 * textmodes/ispell.el (ispell-with-no-warnings):
14317 Define as a macro.
14318 (ispell-kill-ispell, ispell-change-dictionary):
14319 Use `called-interactively-p' for Emacs instead of obsolete
14320 `interactive-p'.
14321
14322 2012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
14323
14324 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
14325 (macro-declaration-function): Move var from C code.
14326 (macro-declaration-function): Define function with defalias.
14327 * emacs-lisp/macroexp.el (macroexpand-all-1):
14328 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
14329 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
14330 defun/defmacro any more.
14331 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
14332 Provide fallback for unknown arglist.
14333 (byte-compile-arglist-warn): Change calling convention.
14334 (byte-compile-output-file-form): Move print-vars binding.
14335 (byte-compile-output-docform): Simplify accordingly.
14336 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
14337 (byte-compile-defmacro-declaration): Remove.
14338 (byte-compile-file-form-defmumble): Generalize to defalias.
14339 (byte-compile-output-as-comment): Return byte-positions.
14340 Simplify callers accordingly.
14341 (byte-compile-lambda): Use `assert'.
14342 (byte-compile-defun, byte-compile-defmacro): Remove.
14343 (byte-compile-file-form-defalias):
14344 Use byte-compile-file-form-defmumble.
14345 (byte-compile-defalias-warn): Remove.
14346
14347 2012-05-29 Stefan Merten <smerten@oekonux.de>
14348
14349 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
14350 possible. Fix authors. Improve comments. Improve loading of `cl'.
14351
14352 (rst-mode-abbrev-table): Merge definition.
14353 (rst-mode): Make sure `font-lock-defaults' is buffer local.
14354 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
14355
14356 2012-05-29 Ulf Jasper <ulf.jasper@web.de>
14357
14358 * calendar/icalendar.el
14359 (icalendar-export-region): Export UID properly.
14360
14361 2012-05-29 Leo Liu <sdl.web@gmail.com>
14362 * calendar/icalendar.el (icalendar-import-format):
14363 Add `icalendar-import-format-uid' (Bug#11525).
14364 (icalendar-import-format-uid): New.
14365 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
14366 Export UID.
14367
14368 2012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
14369
14370 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
14371 different alternative patterns.
14372 (pcase-codegen): Be more careful to preserve identity.
14373 (pcase--u1): Don't forget to mark vars as used.
14374
14375 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
14376 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
14377 (byte-compile-from-buffer): ...rather than here.
14378
14379 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
14380 functions from byte-compile-function-environment.
14381
14382 2012-05-29 Troels Nielsen <bn.troels@gmail.com>
14383
14384 * window.el (window-deletable-p): Avoid deleting the root window
14385 of a frame with an active minibuffer.
14386
14387 2012-05-29 Martin Rudalics <rudalics@gmx.at>
14388
14389 * simple.el (choose-completion): Use quit-window (Bug#11567).
14390
14391 2012-05-29 Chong Yidong <cyd@gnu.org>
14392
14393 * whitespace.el (whitespace-cleanup): Fix usage of
14394 whitespace-empty-at-bob-regexp (Bug#11492).
14395
14396 2012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
14397
14398 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
14399 revert (Bug#11488).
14400
14401 2012-05-29 Juri Linkov <juri@jurta.org>
14402
14403 * isearch.el (isearch-mode-map): Bind `M-s _' to
14404 `isearch-toggle-symbol'. Bind `M-s c' to
14405 `isearch-toggle-case-fold'.
14406 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
14407 (isearch-forward): Add `M-s _' to the docstring.
14408 (isearch-forward-symbol, isearch-toggle-case-fold)
14409 (isearch-symbol-regexp): New functions. (Bug#11381)
14410
14411 2012-05-29 Juri Linkov <juri@jurta.org>
14412
14413 * isearch.el (isearch-word): Add docstring. (Bug#11381)
14414 (isearch-occur, isearch-search-and-update): If `isearch-word' is
14415 a function, call it to get the regexp.
14416 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
14417 property `isearch-message-prefix' instead of the string "word ".
14418 (isearch-search-fun-default): For the case of `isearch-word',
14419 return a lambda that calls re-search-forward/re-search-backward
14420 with a regexp returned by `word-search-regexp' or by the function
14421 in `isearch-word'.
14422
14423 2012-05-29 Juri Linkov <juri@jurta.org>
14424
14425 * isearch.el (isearch-search-fun-default): New function.
14426 (isearch-search-fun): Move default part to the new function
14427 `isearch-search-fun-default'.
14428 (isearch-search-fun-function): Set the default value to
14429 `isearch-search-fun-default'. (Bug#11381)
14430
14431 * comint.el (comint-history-isearch-end):
14432 Use `isearch-search-fun-default'.
14433 (comint-history-isearch-search): Use `isearch-search-fun-default'
14434 and remove spacial case for `isearch-word'.
14435 (comint-history-isearch-wrap): Remove spacial case for
14436 `isearch-word'.
14437
14438 * hexl.el (hexl-isearch-search-function):
14439 Use `isearch-search-fun-default'.
14440
14441 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
14442 Use `word-search-regexp' for `isearch-word'.
14443
14444 * misearch.el (multi-isearch-search-fun):
14445 Use `isearch-search-fun-default'.
14446
14447 * simple.el (minibuffer-history-isearch-search):
14448 Use `isearch-search-fun-default' and remove spacial case for
14449 `isearch-word'.
14450 (minibuffer-history-isearch-wrap): Remove spacial case for
14451 `isearch-word'.
14452
14453 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
14454 Remove spacial case for `isearch-word'.
14455 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
14456
14457 2012-05-28 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
14458
14459 Decrease XEmacs incompatibilities.
14460 * textmodes/flyspell.el (flyspell-check-pre-word-p):
14461 Use `string-match'.
14462 (flyspell-delete-region-overlays): Use alternative definition for
14463 XEmacs.
14464 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
14465 (flyspell-word): Use `process-kill-without-query' if XEmacs.
14466 (flyspell-mode-on): Use `interactive-p' if XEmacs.
14467 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
14468 `define-obsolete-face-alias' under XEmacs, but old method.
14469
14470 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
14471 `with-no-warnings' definition or Emacs alias.
14472 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
14473 (ispell-word): Do not use `region-p' if XEmacs.
14474
14475 2012-05-28 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
14476
14477 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
14478 Check for `ispell-dictionary-base-alist' instead of full
14479 `ispell-dictionary-alist'.
14480 (ispell-init-process): Show spellchecker when starting new Ispell
14481 process.
14482
14483 2012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
14484
14485 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
14486 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
14487
14488 2012-05-27 Juanma Barranquero <lekktu@gmail.com>
14489
14490 * version.el (motif-version-string, gtk-version-string)
14491 (ns-version-string): Declare.
14492
14493 2012-05-27 Juri Linkov <juri@jurta.org>
14494
14495 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
14496 after the `eval-defun-1' specialcaseing
14497 like in `edebug-eval-defun' (bug#10181).
14498
14499 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
14500 like in `eval-defun-1'.
14501
14502 2012-05-27 Eli Zaretskii <eliz@gnu.org>
14503
14504 * mail/sendmail.el (mail-yank-region):
14505 Recognize rmail-yank-current-message in addition to insert-buffer.
14506 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
14507 a *mail* buffer created through rmail-start-mail with sendmail as
14508 mail-user-agent.
14509
14510 2012-05-27 Chong Yidong <cyd@gnu.org>
14511
14512 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
14513 Default to 256 (Bug#11267).
14514
14515 * help.el (describe-mode): Doc fix.
14516
14517 2012-05-26 Glenn Morris <rgm@gnu.org>
14518
14519 * w32-fns.el (w32-init-info): Remove.
14520 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
14521
14522 * info.el (info-initialize): For self-contained NS builds, put the
14523 included info/ directory at the front. (Bug#2791)
14524
14525 * paths.el (Info-default-directory-list): Make it a defcustom,
14526 mainly so that we can use custom-initialize-delay.
14527
14528 2012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
14529
14530 * subr.el (buffer-has-markers-at): Mark obsolete.
14531
14532 * subr.el (lambda): Use declare.
14533
14534 * emacs-lisp/lisp-mode.el (lambda):
14535 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
14536
14537 2012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
14538
14539 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
14540
14541 2012-05-26 Glenn Morris <rgm@gnu.org>
14542
14543 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
14544
14545 2012-05-25 Glenn Morris <rgm@gnu.org>
14546
14547 * paths.el: Remove no-byte-compile.
14548 * loadup.el: No need to load paths.el uncompiled.
14549
14550 * image.el (imagemagick-types-inhibit): Doc fix.
14551
14552 * version.el: Remove no-byte-compile and associated formatting.
14553 * loadup.el: No need to load version.el uncompiled. AFAICS, this
14554 is ancient code from when there was an "inc-vers.el".
14555
14556 2012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
14557
14558 * progmodes/gdb-mi.el: Minor style changes.
14559 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
14560 Turn into minor modes.
14561 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
14562 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
14563 (gdb-shell): Remove unneeded let-binding.
14564 (gdb-get-many-fields): Eliminate O(n²) behavior.
14565
14566 2012-05-25 Eli Zaretskii <eliz@gnu.org>
14567
14568 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
14569 platforms that don't link in fontset.c.
14570
14571 2012-05-25 Juri Linkov <juri@jurta.org>
14572
14573 Use the same diff color scheme as in modern VCSes (bug#10181).
14574
14575 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
14576 to avoid confusion with `diff-added' that now uses green colors.
14577 (diff-removed): Use shades of red.
14578 (diff-added): Use shades of green.
14579 (diff-changed): Leave just the yellow color.
14580 (diff-use-changed-face): New variable.
14581 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
14582 how to highlight context diff changes.
14583 (diff-refine-change): Use shades of yellow.
14584 (diff-refine-removed): New face that uses shades of red.
14585 (diff-refine-added): New face that uses shades of green.
14586 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
14587 `diff-refine-removed' in the call to `smerge-refine-subst'
14588 depending on the value of `diff-use-changed-face'.
14589
14590 * vc/smerge-mode.el (smerge-mine): Use shades of red.
14591 (smerge-other): Use shades of green.
14592 (smerge-base): Use shades of yellow.
14593 (smerge-refined-change): Empty face.
14594 (smerge-refined-removed): New face that uses shades of red.
14595 (smerge-refined-added): New face that uses shades of green.
14596 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
14597 args `props-r' and `props-a', and use them. Doc fix.
14598 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
14599 on its value use different faces `smerge-refined-change',
14600 `smerge-refined-removed', `smerge-refined-added' in the call to
14601 `smerge-refine-subst'.
14602
14603 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
14604 Add face condition `min-colors 88' with shades of red.
14605 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
14606 `min-colors 88' with shades of green.
14607 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
14608 `min-colors 88' with shades of yellow.
14609
14610 2012-05-24 Glenn Morris <rgm@gnu.org>
14611
14612 * paths.el (prune-directory-list, remote-shell-program): Move to...
14613 * files.el (prune-directory-list, remote-shell-program): ...here.
14614 For the latter, delay initialization, prefer ssh, just search PATH.
14615
14616 * paths.el (term-file-prefix): Move to faces.el (the only user).
14617 * faces.el (term-file-prefix): Move here, make it a defcustom.
14618
14619 * paths.el (news-directory, news-path, news-inews-program):
14620 Move to gnus/nnspool.el.
14621
14622 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
14623
14624 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
14625 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
14626 Make the latter a defcustom, with a delayed initialization.
14627
14628 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
14629 These were deleted from Gnus itself late 2010.
14630
14631 2012-05-22 Juanma Barranquero <lekktu@gmail.com>
14632
14633 * progmodes/which-func.el (which-func-ff-hook):
14634 Check against user-error, not error.
14635
14636 * emacs-lisp/edebug.el (top): Do not load or set up loading of
14637 cl-specs.el, which no longer exists.
14638
14639 2012-05-22 Glenn Morris <rgm@gnu.org>
14640
14641 * info.el (info-emacs-bug): New command.
14642 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
14643 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
14644
14645 2012-05-21 Glenn Morris <rgm@gnu.org>
14646
14647 * makefile.w32-in (update-subdirs-SH):
14648 * Makefile.in (update-subdirs): Update for moved update-subdirs.
14649
14650 2012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
14651
14652 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
14653
14654 * progmodes/compile.el (compilation-error-regexp-alist-alist):
14655 Simplify Maven regexp, and make sure the file can't start with a space
14656 (bug#11517).
14657
14658 2012-05-21 Glenn Morris <rgm@gnu.org>
14659
14660 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
14661 Scrap superfluous subshells.
14662
14663 2012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
14664
14665 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
14666 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
14667
14668 2012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
14669
14670 * calc/calc.el (calc-ensure-consistent-units): New variable.
14671
14672 * calc/calc-units.el (math-consistent-units-p)
14673 (math-check-unit-consistency): New functions.
14674 (calc-quick-units, calc-convert-units):
14675 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
14676 is non-nil.
14677 (calc-extract-units): Fix typo.
14678
14679 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
14680
14681 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
14682
14683 * textmodes/flyspell.el: Commenting style, plus code simplifications.
14684 (flyspell-default-deplacement-commands): Don't spell check after
14685 repeated window/frame switches (e.g. triggered by mouse-movement).
14686 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
14687 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
14688 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
14689 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
14690 Remove unused vars.
14691 (flyspell-get-casechars, flyspell-get-not-casechars):
14692 Simplify; Don't bother removing a ] just to add it back.
14693 * textmodes/ispell.el (ispell-program-name): Use executable-find.
14694
14695 2012-05-18 RĂ¼diger Sonderfeld <ruediger@c-plusplus.de>
14696
14697 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
14698 New functions.
14699 (math-function-table): Add support for more C functions.
14700
14701 2012-05-18 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
14702
14703 * textmodes/flyspell.el (flyspell-check-pre-word-p)
14704 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
14705 Protect delay handling for otherchars against empty otherchars.
14706
14707 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
14708
14709 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
14710 their respective macro declarations.
14711 * skeleton.el (define-skeleton):
14712 * progmodes/compile.el (define-compilation-mode):
14713 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
14714 (define-ibuffer-filter):
14715 * emacs-lisp/generic.el (define-generic-mode):
14716 * emacs-lisp/easy-mmode.el (define-minor-mode)
14717 (define-globalized-minor-mode):
14718 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
14719 * emacs-lisp/byte-run.el (defsubst):
14720 * custom.el (deftheme): Add doc-string metadata.
14721
14722 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
14723
14724 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
14725
14726 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
14727
14728 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
14729
14730 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
14731 * emacs-lisp/cl-macs.el: Idem.
14732 * emacs-lisp/cl-specs.el: Remove.
14733
14734 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
14735
14736 Minor renaming of internal CL functions and variables.
14737 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
14738 (cl--position): Rename from cl-position.
14739 (cl--delete-duplicates): Rename from cl-delete-duplicates.
14740 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
14741 (cl--random-state): Rename from *random-state*.
14742
14743 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
14744
14745 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
14746 parens around the arg list (bug#11499).
14747
14748 2012-05-17 Juri Linkov <juri@jurta.org>
14749
14750 * isearch.el (word-search-regexp, word-search-backward)
14751 (word-search-forward, word-search-backward-lax)
14752 (word-search-forward-lax): Move functions from search.c
14753 (bug#10145, bug#11381).
14754
14755 2012-05-16 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
14756
14757 * textmodes/flyspell.el (flyspell-check-pre-word-p)
14758 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
14759 Delay for otherchars as for normal word components.
14760
14761 2012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
14762
14763 * minibuffer.el (completion--sifn-requote): Fix last change.
14764 (minibuffer-local-must-match-filename-map):
14765 Move define-obsolete-variable-alias before its var.
14766
14767 2012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
14768
14769 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
14770
14771 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
14772 behavior.
14773 (completion--string-equal-p): New function.
14774 (completion--twq-all): Use it to get better assertion failure data.
14775
14776 Only handle ".." and '..' quoting in shell-mode (bug#11466).
14777 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
14778 (shell--requote-argument): New functions.
14779 (shell-completion-vars): Use them.
14780 (shell--parse-pcomplete-arguments): Rename from
14781 shell-parse-pcomplete-arguments.
14782 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
14783 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
14784 Obey comint-file-name-quote-list.
14785
14786 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
14787 (smie-indent-keyword): Use it.
14788
14789 2012-05-14 Stefan Merten <smerten@oekonux.de>
14790
14791 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
14792
14793 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
14794
14795 * net/rlogin.el (rlogin-mode-map): Fix last change.
14796
14797 2012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
14798
14799 * mail/smtpmail.el (smtpmail-send-command): Send the command and
14800 the following \r\n using a single `process-send-string', since the
14801 Lotus SMTP server refuses to accept any commands if they are sent
14802 with two `process-send-string's (Bug#11444).
14803
14804 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
14805
14806 * shell.el (shell-parse-pcomplete-arguments):
14807 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
14808
14809 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
14810
14811 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
14812 (image-transform-scale, image-transform-right-angle-fudge): New vars.
14813 (image-transform-width, image-transform-fit-width): New functions.
14814 (image-transform-properties): Use them.
14815 (image-transform-check-size): New function.
14816 (image-toggle-display-image): Use it (for testing).
14817 (image-transform-set-rotation): Reduce angle mod 360.
14818 Delete obsolete comment.
14819
14820 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
14821
14822 * image-mode.el: Fix scaling (bug#11399).
14823 (image-transform-resize): Doc fix.
14824 (image-transform-properties): Default scale is 1 and height should
14825 be an integer.
14826
14827 2012-05-13 Johan BockgĂ¥rd <bojohan@gnu.org>
14828
14829 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
14830 than hard-coding `car', to fix misbehavior when moving forward.
14831
14832 2012-05-13 Chong Yidong <cyd@gnu.org>
14833
14834 * emacs-lisp/tabulated-list.el (tabulated-list-format)
14835 (tabulated-list-entries, tabulated-list-padding)
14836 (tabulated-list-sort-key): Make permanent-local.
14837
14838 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
14839 (electric-buffer-list): Put electric buffer menu
14840 command descriptions in this docstring, instead of the docstring
14841 of electric-buffer-menu-mode. Code cleanups.
14842 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
14843 Electric-buffer-menu-mode.
14844 (electric-buffer-update-highlight): Minor code cleanup.
14845
14846 2012-05-13 Michael Albinus <michael.albinus@gmx.de>
14847
14848 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
14849 (Bug#11447)
14850
14851 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
14852
14853 Move define-obsolete-variable-alias before the var's definition.
14854 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
14855 * tooltip.el (tooltip-hook):
14856 * textmodes/reftex-toc.el (reftex-toc-map):
14857 * textmodes/reftex-sel.el (reftex-select-label-map)
14858 (reftex-select-bib-map):
14859 * textmodes/reftex-index.el (reftex-index-map)
14860 (reftex-index-phrases-map):
14861 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
14862 * progmodes/meta-mode.el (meta-mode-map):
14863 * novice.el (disabled-command-hook):
14864 * loadhist.el (unload-hook-features-list):
14865 * frame.el (blink-cursor):
14866 * files.el (find-file-not-found-hooks, write-file-hooks)
14867 (write-contents-hooks):
14868 * emulation/tpu-edt.el (GOLD-map):
14869 * emacs-lock.el (emacs-lock-from-exiting):
14870 * emacs-lisp/generic.el (generic-font-lock-defaults):
14871 * emacs-lisp/chart.el (chart-map):
14872 * dos-fns.el (register-name-alist):
14873 * dired-x.el (dired-omit-files-p):
14874 * desktop.el (desktop-enable):
14875 * cus-edit.el (custom-mode-hook):
14876 * buff-menu.el (buffer-menu-mode-hook):
14877 * bookmark.el (bookmark-read-annotation-text-func)
14878 (bookmark-exit-hooks):
14879 * allout.el (allout-mode-deactivate-hook)
14880 (allout-exposure-change-hook, allout-structure-added-hook)
14881 (allout-structure-deleted-hook, allout-structure-shifted-hook):
14882 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
14883 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
14884 comes before the corresponding variable's definition.
14885
14886 2012-05-12 Chong Yidong <cyd@gnu.org>
14887
14888 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
14889 (Buffer-menu-mouse-select): Restore function (Bug#11459).
14890 (Buffer-menu-mode-map): Bind it.
14891 (Buffer-menu--pretty-name): Add a mouse-face property.
14892
14893 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
14894
14895 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
14896 (prolog-upper-case-string, prolog-lower-case-string)
14897 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
14898 (prolog-use-smie, prolog-smie-grammar): New vars.
14899 (prolog-smie-forward-token, prolog-smie-backward-token)
14900 (prolog-smie-rules): New funs.
14901 (prolog-comment-indent): Remove.
14902 (prolog-mode-variables): Use default comment indentation instead.
14903 Setup SMIE.
14904 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
14905 (prolog-mode): Don't call them any more.
14906 (prolog-electric-colon, prolog-electric-dash)
14907 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
14908
14909 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
14910
14911 * minibuffer.el (completion--twq-all): Again, allow case differences.
14912
14913 * term.el: Move keymap initialization code to be more idiomatic.
14914 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
14915 (term-terminal-menu): Move initialization into declaration.
14916 (term-escape-char): Let the user set it in her .emacs.
14917
14918 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
14919 Provide SMIE-based indentation (not enabled by default yet).
14920 (sh-mode-map): Don't bind electric keys.
14921 Use electric-pair-mode instead of skeleton-pair.
14922 (sh-assignment-regexp): Fit within 80 columns.
14923 (sh-indent-supported): Specify actual shell name instead of boolean.
14924 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
14925 (sh-maybe-here-document): Use it. Make obsolete.
14926 (sh-electric-here-document-mode) New minor mode.
14927 (sh-mode): Use it. Don't set sh-indent-supported-here here.
14928 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
14929 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
14930 (sh-smie-rc-grammar, sh-use-smie): New vars.
14931 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
14932 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
14933 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
14934 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
14935 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
14936 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
14937 (sh-set-shell): Use smie-setup if requested.
14938
14939 * term.el (term-set-escape-char): Properly set term-escape-char.
14940 See http://stackoverflow.com/questions/10524656.
14941
14942 2012-05-10 Chong Yidong <cyd@gnu.org>
14943
14944 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
14945 Use url-generic-parse-url, and handle host names and Windows
14946 filenames properly.
14947 (ffap-url-unwrap-remote): Use url-generic-parse-url.
14948 (ffap-url-unwrap-remote): Accept list values, specifying a list of
14949 URL schemes to work on.
14950 (ffap--toggle-read-only): New function.
14951 (ffap-read-only, ffap-read-only-other-window)
14952 (ffap-read-only-other-frame): Use it.
14953 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
14954 necessary for ffap-url-unwrap-remote.
14955
14956 2012-05-10 Dave Abrahams <dave@boostpro.com>
14957
14958 * cus-start.el (create-lockfiles): Add it.
14959
14960 2012-05-09 Chong Yidong <cyd@gnu.org>
14961
14962 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
14963 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
14964
14965 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
14966
14967 * shell.el (shell-completion-vars): Fix last change (bug#11348).
14968
14969 2012-05-09 Chong Yidong <cyd@gnu.org>
14970
14971 * ansi-color.el (ansi-color-process-output): Check for validity of
14972 comint-last-output-start before using it. This avoids a bad
14973 interaction with gdb-mi's input/output buffer.
14974
14975 2012-05-09 Glenn Morris <rgm@gnu.org>
14976
14977 * files.el (dir-locals-read-from-file):
14978 Mention dir-locals in any error message.
14979
14980 2012-05-09 Chong Yidong <cyd@gnu.org>
14981
14982 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
14983 package (Bug#11410).
14984
14985 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
14986 variables into description.
14987
14988 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
14989
14990 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
14991 shell-delimiter-argument-list (bug#11348).
14992 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
14993
14994 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
14995
14996 * textmodes/rst.el: Silence byte-compiler warnings.
14997 (rst-re-alist, rst-reset-section-caches): Move around.
14998 (rst-re): Use `characterp', not `char-valid-p'.
14999 (font-lock-beg, font-lock-end): Declare.
15000
15001 * progmodes/idlw-shell.el (specs): Remove reference to deleted
15002 variable `idlwave-shell-activate-alt-keybindings' and simplify.
15003
15004 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
15005
15006 2012-05-08 Glenn Morris <rgm@gnu.org>
15007
15008 * files.el (auto-mode-alist): Treat ".make" like ".mk".
15009
15010 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
15011
15012 * vc/log-edit.el: Add GNU coding standards highlighting.
15013 (log-edit-font-lock-gnu-style)
15014 (log-edit-font-lock-gnu-keywords): New vars.
15015 (log-edit-font-lock-keywords): New fun.
15016 (log-edit-mode): Don't fold case in font-lock.
15017 (log-edit-font-lock-keywords): Do not assume case-folding.
15018
15019 * imenu.el: Misc cleanup. Make docstrings out of comments.
15020 Use lexical-binding.
15021 (imenu--index-alist, imenu--last-menubar-index-alist)
15022 (imenu-menubar-modified-tick): Use defvar-local.
15023 (imenu--split-menu): Remove unused var.
15024 (imenu--cleanup-seen): Declare as global.
15025 (imenu--cleanup): Use dolist.
15026
15027 * subr.el (defvar-local): Add debug spec and doc-string position.
15028
15029 2012-05-08 Glenn Morris <rgm@gnu.org>
15030
15031 * language/burmese.el, language/cham.el, language/czech.el:
15032 * language/english.el, language/georgian.el, language/greek.el:
15033 * language/japanese.el, language/khmer.el, language/korean.el:
15034 * language/lao.el, language/misc-lang.el, language/romanian.el:
15035 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
15036 * language/thai.el, language/utf-8-lang.el:
15037 Remove no-byte-compile setting.
15038
15039 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
15040
15041 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
15042
15043 * progmodes/make-mode.el (makefile-browse):
15044 Remove unnecessary interactive. (Bug#11324)
15045
15046 2012-05-07 Glenn Morris <rgm@gnu.org>
15047
15048 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
15049
15050 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
15051
15052 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
15053
15054 * loadup.el: Preload newcomment.el.
15055 * newcomment.el: Move autoload-only code to toplevel.
15056
15057 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
15058 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
15059 Handle new :right-align column property.
15060 (tabulated-list-print-col): Idem, plus use `display' text-property to
15061 try and preserve alignment for variable pitch fonts.
15062
15063 2012-05-07 Chong Yidong <cyd@gnu.org>
15064
15065 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
15066 (tabulated-list-use-header-line): New var.
15067 (tabulated-list-init-header): Use it.
15068 (tabulated-list-print-fake-header): New function.
15069 (tabulated-list-print): Use it.
15070 (tabulated-list-sort-button-map): Add non-header-line commands.
15071 (tabulated-list-init-header): Add column name property to basic
15072 labels as well.
15073 (tabulated-list-col-sort): Handle non-header-line button case.
15074 (tabulated-list--sort-by-column-name): Fix a corner case.
15075
15076 * buff-menu.el (list-buffers--refresh):
15077 Handle Buffer-menu-use-header-line.
15078
15079 2012-05-06 Chong Yidong <cyd@gnu.org>
15080
15081 * buff-menu.el: Convert to Tabulated List mode.
15082 (Buffer-menu-buffer+size-width): Make obsolete.
15083 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
15084 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
15085 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
15086 documentation into docstring of buffer-menu.
15087 (Buffer-menu-toggle-files-only): Add an informative message.
15088 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
15089 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
15090 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
15091 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
15092 (Buffer-menu-execute, Buffer-menu-select)
15093 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
15094 (Buffer-menu-bury): Use Tabulated List machinery.
15095 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
15096 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
15097 Delete.
15098 (list-buffers--refresh): New function.
15099 (list-buffers-noselect): Use it.
15100 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
15101 (Buffer-menu--pretty-file-name): New helper functions.
15102
15103 * loadup.el: Preload tabulated-list.
15104
15105 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
15106 tabulated-list-sort-column.
15107 (tabulated-list-init-header): Add the initial aligning space even
15108 if tabulated-list-padding is zero.
15109
15110 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
15111
15112 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
15113 whose cdr is not a cons cell correctly (bug#11038).
15114
15115 2012-05-06 Chong Yidong <cyd@gnu.org>
15116
15117 * emacs-lisp/tabulated-list.el (tabulated-list-format):
15118 Accept additional plist in column descriptors.
15119 (tabulated-list-init-header): Obey it.
15120 (tabulated-list-get-entry): New function.
15121 (tabulated-list-put-tag): Use it. Use string-width instead of
15122 length.
15123 (tabulated-list--column-number): New function.
15124 (tabulated-list-print): Use it.
15125 (tabulated-list-print-col): New function.
15126 Set `tabulated-list-column-name' property on each column's text.
15127 (tabulated-list-print-entry): Use it.
15128 (tabulated-list-delete-entry, tabulated-list-set-col):
15129 New functions.
15130 (tabulated-list-sort-column): New command (Bug#11337).
15131
15132 * buff-menu.el (list-buffers): Move C-x C-b binding from
15133 buff-menu.el to bindings.el.
15134
15135 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
15136 :advertised-binding feature.
15137
15138 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
15139
15140 * progmodes/compile.el (compilation-internal-error-properties):
15141 Calculate start position correctly when end-col is set but
15142 end-line is not (Bug#11382).
15143
15144 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
15145
15146 * man.el (Man-unindent): Use text-property-default-nonsticky to
15147 prevent untabify from inheriting face properties (Bug#11408).
15148
15149 2012-05-05 Stefan Merten <smerten@oekonux.de>
15150
15151 * textmodes/rst.el: Major merge with upstream development up to
15152 Docutils SVN r7399 / rst.el V1.2.1.
15153
15154 Clarify maintainership and authors.
15155
15156 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
15157 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
15158 (rst-official-version, rst-official-cvs-rev, rst-version)
15159 (rst-package-emacs-version-alist): New functions and variables
15160 for version information.
15161
15162 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
15163 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
15164 (rst-mode-syntax-table, rst-mode): New and corrected functions
15165 and variables representing reStructuredText features.
15166
15167 (rst-re): New function for reStructuredText regexes. Use in
15168 many places.
15169
15170 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
15171 (rst-mode-map): Rebind keys.
15172
15173 (rst-mode-lazy, rst-font-lock-keywords)
15174 (rst-font-lock-extend-region)
15175 (rst-font-lock-extend-region-internal)
15176 (rst-font-lock-extend-region-extend)
15177 (rst-font-lock-find-unindented-line-limit)
15178 (rst-font-lock-find-unindented-line-match)
15179 (rst-adornment-level, rst-font-lock-adornment-level)
15180 (rst-font-lock-adornment-match)
15181 (rst-font-lock-handle-adornment-pre-match-form)
15182 (rst-font-lock-handle-adornment-matcher): Major revision of
15183 font-locking. Integrate with other code. Use `jit-lock-mode'.
15184
15185 (rst-preferred-adornments, rst-adjust-hook)
15186 (rst-new-adornment-down, rst-preferred-bullets)
15187 (rst-preferred-bullets, rst-indent, rst-indent-width)
15188 (rst-indent-field, rst-indent-literal-normal)
15189 (rst-indent-literal-minimized, rst-indent-comment): Change,
15190 extend and improve customization.
15191
15192 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
15193 (rst-normalize-cursor-position, rst-get-decoration)
15194 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
15195 (rst-rstrip, rst-toc-insert-find-delete-contents)
15196 (rst-shift-fill-region, rst-compute-bullet-tabs)
15197 (rst-debug-print-tabs, rst-debug-mark-found)
15198 (rst-shift-region-guts, rst-shift-region-right)
15199 (rst-shift-region-left, rst-use-char-classes)
15200 (rst-font-lock-keywords-function)
15201 (rst-font-lock-indentation-point)
15202 (rst-font-lock-find-unindented-line-begin)
15203 (rst-font-lock-find-unindented-line-end)
15204 (rst-font-lock-find-unindented-line)
15205 (rst-font-lock-adornment-point, rst-font-lock-level)
15206 (rst-adornment-level-alist): Remove functions and variables.
15207
15208 (rst-compare-adornments, rst-get-adornment-match)
15209 (rst-suggest-new-adornment, rst-get-adornments-around)
15210 (rst-adornment-complete-p, rst-get-next-adornment)
15211 (rst-adjust-adornment, rst-display-adornments-hierarchy)
15212 (rst-straighten-adornments): Standardize function names to
15213 use "adornment" instead of "decoration". Correct callers.
15214 Similar standardizing in many places.
15215
15216 (rst-update-section, rst-adjust, rst-promote-region)
15217 (rst-enumerate-region, rst-bullet-list-region)
15218 (rst-repeat-last-character): Correct use of `interactive'.
15219
15220 (rst-classify-adornment, rst-find-all-adornments)
15221 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
15222 (rst-find-leftmost-column, rst-repeat-last-character):
15223 Refactor functions.
15224
15225 (rst-find-title-line, rst-reset-section-caches)
15226 (rst-get-adornments-around, rst-adjust-adornment-work)
15227 (rst-arabic-to-roman, rst-roman-to-arabic)
15228 (rst-insert-list-pos, rst-insert-list-new-item)
15229 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
15230 New functions.
15231
15232 (rst-all-sections, rst-section-hierarchy)
15233 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
15234 New variables.
15235
15236 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
15237 configuration instead of only buffer. Change where necessary.
15238
15239 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
15240 (rst-shift-region, rst-adaptive-fill): New functions for
15241 indentation and filling.
15242
15243 (rst-comment-line-break, rst-comment-indent)
15244 (rst-comment-insert-comment, rst-comment-region)
15245 (rst-uncomment-region): New functions for handling comments.
15246
15247 (rst-compile): Quote shell arguments.
15248
15249 (rst-compile-pdf-preview, rst-compile-slides-preview):
15250 Delete temporary files after use.
15251
15252 2012-05-05 Glenn Morris <rgm@gnu.org>
15253
15254 * calendar/cal-html.el: Optionally include holidays in the output.
15255 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
15256 (cal-html-holidays): New option.
15257 (cal-html-css-default): Add holiday entry.
15258 (holiday-in-range): Autoload it.
15259 (cal-html-htmlify-entry): Add optional class argument.
15260 (cal-html-htmlify-list): Add optional holidays argument.
15261 (cal-html-insert-agenda-days): Include holidays in the output.
15262 (cal-html-one-month): Maybe include holidays.
15263
15264 * calendar/holidays.el (holiday-in-range):
15265 Move here from cal-tex-list-holidays.
15266 * calendar/cal-tex.el (cal-tex-list-holidays):
15267 Make it an obsolete alias for holiday-in-range. Update all callers.
15268
15269 2012-05-05 Chong Yidong <cyd@gnu.org>
15270
15271 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
15272 Nextstep.
15273
15274 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
15275
15276 * files.el (file-auto-mode-skip): New var.
15277 (set-auto-mode-1): Use it.
15278
15279 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
15280
15281 * repeat.el: Use lexical-binding.
15282 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
15283 (repeat-undo-count): Remove.
15284 (repeat):
15285 * progmodes/octave-mod.el (octave-abbrev-start):
15286 * progmodes/f90.el (f90-abbrev-start):
15287 * face-remap.el (text-scale-adjust):
15288 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
15289
15290 * emacs-lisp/pcase.el (pcase--let*): New function.
15291 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
15292 a bit more.
15293 (pcase--split-pred): Be more clever about ruling out overlap between
15294 a predicate and some constant pattern.
15295 (pcase--q1): Use `null' instead of (eq foo nil).
15296
15297 * subr.el (setq-local, defvar-local): New macros.
15298 (kbd): Redefine as an alias.
15299 (with-selected-window): Leave unrelated frames alone.
15300 (set-temporary-overlay-map): New function.
15301
15302 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
15303
15304 * subr.el (user-error): New function.
15305 * window.el (switch-to-buffer):
15306 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
15307 (smerge-match-conflict):
15308 * simple.el (previous-matching-history-element)
15309 (next-matching-history-element, goto-history-element, undo-more)
15310 (undo-start):
15311 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
15312 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
15313 (next-file, tags-loop-scan, list-tags, complete-tag):
15314 * progmodes/compile.el (compilation-loop):
15315 * mouse.el (mouse-minibuffer-check):
15316 * man.el (Man-bgproc-sentinel, Man-goto-page):
15317 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
15318 (Info-history-forward, Info-follow-reference, Info-menu)
15319 (Info-extract-menu-item, Info-extract-menu-counting)
15320 (Info-forward-node, Info-backward-node, Info-next-menu-item)
15321 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
15322 (Info-next-reference, Info-prev-reference, Info-index)
15323 (Info-index-next, Info-follow-nearest-node)
15324 (Info-copy-current-node-name):
15325 * imenu.el (imenu--make-index-alist)
15326 (imenu-default-create-index-function, imenu-add-to-menubar):
15327 * files.el (basic-save-buffer, recover-file):
15328 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
15329 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
15330 (checkdoc-message-text, checkdoc-defun):
15331 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
15332 * cus-edit.el (customize-changed-options, customize-rogue)
15333 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
15334 (custom-variable-mark-to-reset-standard)
15335 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
15336 (custom-file):
15337 * completion.el (check-completion-length):
15338 * comint.el (comint-search-arg)
15339 (comint-previous-matching-input-string-position)
15340 (comint-previous-matching-input)
15341 (comint-replace-by-expanded-history-before-point, comint-send-input)
15342 (comint-copy-old-input, comint-backward-matching-input)
15343 (comint-goto-process-mark, comint-set-process-mark):
15344 * calendar/calendar.el (calendar-cursor-to-date): Use it.
15345 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
15346
15347 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
15348
15349 * dabbrev.el (dabbrev--ignore-case-p): New function.
15350 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
15351 Use it.
15352
15353 * files.el (automount-dir-prefix): Mark as obsolete.
15354
15355 2012-05-04 Glenn Morris <rgm@gnu.org>
15356
15357 * patcomp.el, play/bruce.el: Move to obsolete/.
15358
15359 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
15360
15361 Fix minor Y10k bugs.
15362 * arc-mode.el (archive-unixdate):
15363 * autoinsert.el (auto-insert-alist):
15364 * calc/calc-forms.el (math-this-year):
15365 * emacs-lisp/copyright.el (copyright-current-year)
15366 (copyright-update-year, copyright):
15367 * tar-mode.el (tar-clip-time-string):
15368 * time.el (display-time-update):
15369 Don't assume years have 4 digits.
15370
15371 2012-05-04 Chong Yidong <cyd@gnu.org>
15372
15373 * dos-w32.el (file-name-buffer-file-type-alist)
15374 (direct-print-region-use-command-dot-com):
15375 * ffap.el (ffap-menu-regexp):
15376 * find-file.el (ff-special-constructs):
15377 * follow.el (follow-debug):
15378 * forms.el (forms--debug):
15379 * iswitchb.el (iswitchb-all-frames):
15380 * ido.el (ido-all-frames):
15381 * emacs-lisp/timer.el (timer-max-repeats):
15382 * mail/feedmail.el (feedmail-mail-send-hook)
15383 (feedmail-mail-send-hook-queued):
15384 * mail/footnote.el (footnote-signature-separator):
15385 * mail/mailabbrev.el (mail-alias-separator-string)
15386 (mail-abbrev-mode-regexp):
15387 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
15388 * progmodes/idlwave.el (idlwave-libinfo-file)
15389 (idlwave-default-completion-case-is-down)
15390 (idlwave-library-routines): Convert defvars to defcustoms.
15391
15392 * mail/rmail.el (rmail-decode-mime-charset):
15393 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
15394 (idlwave-shell-fix-inserted-breaks)
15395 (idlwave-shell-activate-alt-keybindings)
15396 (idlwave-shell-use-breakpoint-glyph):
15397 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
15398
15399 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
15400
15401 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
15402
15403 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
15404
15405 * progmodes/verilog-mode.el (font-lock-keywords):
15406 Fix mis-highligting auto. Reported by Craig Barner.
15407 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
15408 defines from global name space. Reported by Dan Dever.
15409 (verilog-auto-reset, verilog-auto-reset-widths)
15410 (verilog-auto-tieoff): Support using unbased numbers for
15411 AUTORESET and AUTOTIEOFF.
15412 (verilog-submit-bug-report): Update variable list.
15413 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
15414 parenthesis from not matching. Reported by Michael Rytting.
15415 (verilog-auto-template-lint): Fix hash error when linting modules
15416 with no used templates.
15417 (verilog-warn, verilog-warn-error)
15418 (verilog-warn-fatal): When non-interactive report multiple
15419 warnings before exiting. Suggested by Brad Dobbie.
15420 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
15421 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
15422 to report unused template errors. Reported by Brad Dobbie.
15423 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
15424 nets, bug438. Reported by Vns Blore.
15425 (verilog-auto-inout-module, verilog-auto-reg)
15426 (verilog-read-decls, verilog-read-sub-decls-sig)
15427 (verilog-signals-edit-wire-reg, verilog-signals-with):
15428 Fix passing of Verilog data types in ANSI input/output ports
15429 such as "output logic" into the AUTOs. Special case "wire" and
15430 "reg" for backwards compatibility presuming Verilog 2001.
15431 (verilog-auto-ascii-enum): Add "auto enum" as alias.
15432 (verilog-preprocess): Fix replication of preprocess output.
15433 Reported by Brad Dobbie.
15434 (verilog-auto-inst-interfaced-ports):
15435 Create verilog-auto-inst-interfaced-ports, bug429.
15436 Reported by Julian Gorfajn.
15437 (verilog-after-save-font-hook)
15438 (verilog-before-save-font-hook): New variable.
15439 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
15440 (verilog-save-font-mods): Wrap disabling fontification, reported
15441 by David Rogoff.
15442 (verilog-do-indent, verilog-pretty-declarations-auto)
15443 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
15444 Reported by Pierre-David Pfister.
15445 (verilog-set-auto-endcomments): Fix endtask auto comments outside
15446 of class declarations, bug292. Reported by Kevin Heilman.
15447 (verilog-read-decls): Fix 'parameter type' not appearing in
15448 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
15449 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
15450 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
15451 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
15452 Reported by David Kravitz.
15453
15454 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
15455
15456 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
15457 assignment with tests in ifs and for loops.
15458 (verilog-extended-complete-re, verilog-complete-reg): Change so
15459 that DPI inport functions don't look like fuction declarations.
15460 (verilog-pretty-expr): Don't line up assignment
15461 operations to the test and increment in if and for loops
15462 (verilog-extended-complete-re, verilog-complete-reg): Change so
15463 that DPI inport functions don't look like fuction declarations.
15464
15465 2012-05-03 Kenichi Handa <handa@m17n.org>
15466
15467 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
15468 decoding, and show a warning message without signaling an error
15469 (Bug#11282).
15470
15471 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
15472
15473 * emacs-lisp/bytecomp.el
15474 (byte-compile-file-form-custom-declare-variable): Compile all elements,
15475 since cconv.el might have introduced :fun-body, internal-make-closure,
15476 and friends for bytecomp to handle (bug#11391).
15477 * custom.el (defcustom): Avoid ((λ ..) ..).
15478
15479 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
15480
15481 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
15482
15483 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
15484
15485 * notifications.el (dbus-debug):
15486 * term/linux.el (gpm-mouse-enable):
15487 * term/screen.el (xterm-register-default-colors): Declare.
15488
15489 2012-05-02 Chong Yidong <cyd@gnu.org>
15490
15491 * cus-start.el (gc-cons-percentage, exec-suffixes)
15492 (dos-display-scancodes, dos-hyper-key, dos-super-key)
15493 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
15494 (make-cursor-line-fully-visible, void-text-area-pointer)
15495 (font-list-limit): Add customization data.
15496
15497 * allout.el (allout-exposure-change-functions)
15498 (allout-structure-added-functions)
15499 (allout-structure-deleted-functions)
15500 (allout-structure-shifted-functions): Rename abnormal hooks from
15501 *-hook, and convert to defcustoms.
15502 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
15503 Convert to defcustoms.
15504 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
15505
15506 * allout-widgets.el: Hook callers changed.
15507
15508 2012-05-02 Eli Zaretskii <eliz@gnu.org>
15509
15510 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
15511 the yanked message in preference to the default value of
15512 buffer-file-coding-system.
15513
15514 2012-05-02 Martin Rudalics <rudalics@gmx.at>
15515
15516 * window.el (display-buffer--action-function-custom-type):
15517 Fix entry.
15518
15519 2012-05-02 Alan Mackenzie <acm@muc.de>
15520
15521 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
15522
15523 2012-05-01 Glenn Morris <rgm@gnu.org>
15524
15525 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
15526
15527 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
15528
15529 * cus-edit.el (custom-variable-documentation): Simplify with format.
15530
15531 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
15532 Stefan Monnier <monnier@iro.umontreal.ca>
15533
15534 * simple.el (suggest-key-bindings, execute-extended-command):
15535 Move from keyboard.c.
15536
15537 2012-05-01 Chong Yidong <cyd@gnu.org>
15538
15539 * follow.el: Eliminate advice.
15540 (set-process-filter, process-filter, sit-for): Advice deleted.
15541 (follow-mode-off-hook): Obsolete hook removed.
15542 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
15543 Vars deleted.
15544 (follow-auto): Use a :set function.
15545 (follow-mode): Rewritten. Don't advise process filters.
15546 (follow-switch-to-current-buffer-all, follow-scroll-up)
15547 (follow-scroll-down): Assume follow-mode is bound.
15548 (follow-comint-scroll-to-bottom)
15549 (follow-align-compilation-windows): New functions.
15550 (follow--window-sorter): New function.
15551 (follow-all-followers): Use it to explicitly sort windows by their
15552 positions; don't make assumptions about next-window order.
15553 (follow-windows-start-end, follow-delete-other-windows-and-split)
15554 (follow-calc-win-start): Doc fix.
15555 (follow-windows-aligned-p, follow-select-if-visible): Don't call
15556 vertical-motion unnecessarily.
15557 (follow-adjust-window): New function.
15558 (follow-post-command-hook): Use it.
15559 (follow-call-set-process-filter, follow-call-process-filter)
15560 (follow-intercept-process-output, follow-tidy-process-filter-alist)
15561 (follow-stop-intercept-process-output, follow-generic-filter):
15562 Functions deleted.
15563 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
15564 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
15565 New functions, replacing advice on scroll-bar-* commands.
15566 (follow-mwheel-scroll): New function (Bug#4112).
15567
15568 * comint.el (comint-adjust-point): New function.
15569 (comint-postoutput-scroll-to-bottom): Use it.
15570 Call follow-comint-scroll-to-bottom for Follow mode buffers.
15571
15572 2012-05-01 Glenn Morris <rgm@gnu.org>
15573
15574 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
15575 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
15576 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
15577 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
15578 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
15579 Remove no-byte-compile setting.
15580
15581 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
15582
15583 * minibuffer.el (completion-table-with-quoting): Fix compatibility
15584 all-completions code to not return a number in the last cdr.
15585
15586 2012-04-30 Leo Liu <sdl.web@gmail.com>
15587
15588 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
15589 read-only error.
15590
15591 2012-04-29 Chong Yidong <cyd@gnu.org>
15592
15593 * follow.el (follow-calc-win-end): Rewrite to handle partial
15594 screen lines correctly (Bug#8390).
15595 (follow-avoid-tail-recenter): Minor cleanup.
15596
15597 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
15598
15599 Avoid the obsolete `assoc' package.
15600 * speedbar.el (speedbar-refresh): Avoid adelete.
15601 (speedbar-file-lists): Simplify and avoid aput.
15602 * man.el (Man--sections, Man--refpages): New vars, replacing
15603 Man-sections-alist and Man-refpages-alist.
15604 (Man-build-section-alist, Man-build-references-alist):
15605 Use them; avoid aput.
15606 (Man--last-section, Man--last-refpage): New vars.
15607 (Man-follow-manual-reference): Use them.
15608 Use the `default' arg of completing-read.
15609 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
15610
15611 2012-04-27 Chong Yidong <cyd@gnu.org>
15612
15613 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
15614
15615 * startup.el (x-apply-session-resources): New function.
15616
15617 * term/ns-win.el (ns-initialize-window-system):
15618 * term/w32-win.el (w32-initialize-window-system):
15619 * term/x-win.el (x-initialize-window-system): Use it to properly
15620 set menu-bar-mode and other vars from X resources, even if the
15621 initial frame is not a window-system frame (Bug#2299).
15622
15623 * subr.el (read-key): Avoid running filter function when setting
15624 up temporary tool bar entries (Bug#9922).
15625
15626 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
15627
15628 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
15629 (Bug#11344)
15630
15631 2012-04-27 Chong Yidong <cyd@gnu.org>
15632
15633 * select.el (xselect--encode-string): New function, split from
15634 xselect-convert-to-string.
15635 (xselect-convert-to-string): Use it.
15636 (xselect-convert-to-filename, xselect-convert-to-os)
15637 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
15638 returned strings are properly encoded (Bug#11315).
15639
15640 2012-04-27 Chong Yidong <cyd@gnu.org>
15641
15642 * simple.el (delete-active-region): Move to killing custom group.
15643
15644 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
15645
15646 * progmodes/which-func.el (which-func-current): Quote %
15647 characters for mode-line processing.
15648
15649 2012-04-27 Chong Yidong <cyd@gnu.org>
15650
15651 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
15652 reaching eob (Bug#11286).
15653
15654 2012-04-27 Eli Zaretskii <eliz@gnu.org>
15655
15656 * progmodes/gdb-mi.el (gdb-control-level): New variable.
15657 (gdb): Make it buffer-local and init to zero.
15658 (gdb-control-commands-regexp): New variable.
15659 (gdb-send): Don't wrap in "-interpreter-exec console" if
15660 gdb-control-level is positive. Increment gdb-control-level
15661 whenever the command matches gdb-control-commands-regexp, and
15662 decrement it each time the command is "end". (Bug#11279)
15663
15664 2012-04-27 Martin Rudalics <rudalics@gmx.at>
15665
15666 * window.el (adjust-window-trailing-edge, enlarge-window)
15667 (shrink-window, window-resize):
15668 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
15669 windows (Bug#11276).
15670
15671 2012-04-27 Chong Yidong <cyd@gnu.org>
15672
15673 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
15674 fix "missing prefix" warning. All callers changed.
15675
15676 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
15677
15678 * emacs-lisp/assoc.el: Move to obsolete/.
15679
15680 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
15681
15682 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
15683
15684 * term/ns-win.el (ns-define-service):
15685 * progmodes/pascal.el (pascal-goto-defun):
15686 * progmodes/js.el (js--read-tab):
15687 * progmodes/etags.el (tags-lazy-completion-table):
15688 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
15689 * emacs-lisp/ewoc.el (ewoc--wrap):
15690 * emacs-lisp/assoc.el (aput, adelete, amake):
15691 * doc-view.el (doc-view-convert-current-doc):
15692 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
15693
15694 2012-04-26 Chong Yidong <cyd@gnu.org>
15695
15696 * image.el (image-type-from-buffer): Only return supported image
15697 type (Bug#9045).
15698
15699 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
15700 value, for symmetry with diff-end-of-hunk.
15701 (diff-split-hunk, diff-find-source-location)
15702 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
15703 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
15704 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
15705 compute the relevant hunk or file properly (Bug#6005).
15706 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
15707
15708 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
15709
15710 * vc/vc-mtn.el:
15711 * vc/vc-hg.el:
15712 * vc/vc-git.el:
15713 * vc/vc-dir.el:
15714 * vc/vc-cvs.el:
15715 * vc/vc-bzr.el:
15716 * vc/vc-arch.el:
15717 * vc/vc.el: Replace lexical-let by lexical-binding.
15718 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
15719 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
15720 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
15721
15722 2012-04-26 Chong Yidong <cyd@gnu.org>
15723
15724 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
15725 (diff-mode-shared-map): Bind it to / and [remap undo].
15726
15727 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
15728 (ediff-window-setup-function): Use it as the default, to set up
15729 windows based on whether the current frame is graphical (Bug#2138).
15730 (ediff-choose-window-setup-function-automatically): Make obsolete.
15731
15732 * vc/ediff-init.el: Always define ediff-pixel-width/height.
15733
15734 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
15735
15736 * ffap.el: Remove old code for obsolete package.
15737 (ffap-complete-as-file-p): Remove.
15738
15739 Use completion-table-with-quoting for comint and pcomplete.
15740 * comint.el (comint--unquote&requote-argument)
15741 (comint--unquote-argument, comint--requote-argument): New functions.
15742 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
15743 (comint-quote-filename): Use regexp-opt-charset.
15744 (comint--common-suffix, comint--common-quoted-suffix)
15745 (comint--table-subvert): Remove.
15746 (comint-unquote-function, comint-requote-function): New vars.
15747 (comint--complete-file-name-data): Use them with
15748 completion-table-with-quoting.
15749 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
15750 * pcomplete.el (pcomplete-arg-quote-list)
15751 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
15752 (pcomplete-unquote-argument-function): Default to non-nil.
15753 (pcomplete-unquote-argument): Simplify.
15754 (pcomplete--common-quoted-suffix): Remove.
15755 (pcomplete-requote-argument-function): New var.
15756 (pcomplete--common-suffix): New function.
15757 (pcomplete-completions-at-point): Use completion-table-with-quoting
15758 and completion-table-subvert.
15759
15760 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
15761 (minibuffer--double-dollars): Preserve properties.
15762 (completion--sifn-requote): New function.
15763 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
15764
15765 * minibuffer.el: Add support for completion of quoted/escaped data.
15766 (completion-table-with-quoting, completion-table-subvert): New funs.
15767 (completion--twq-try, completion--twq-all): New functions.
15768 (completion--nth-completion): New function.
15769 (completion-try-completion, completion-all-completions): Use it.
15770
15771 2012-04-25 Leo Liu <sdl.web@gmail.com>
15772
15773 * progmodes/python.el (python-pdbtrack-get-source-buffer):
15774 Use compilation-message if available to find real filename.
15775
15776 2012-04-25 Chong Yidong <cyd@gnu.org>
15777
15778 * vc/diff-mode.el (diff-setup-whitespace): New function.
15779 (diff-mode): Use it.
15780
15781 * vc/diff.el (diff-sentinel):
15782 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
15783 Whitespace mode variables based on diff style (Bug#8612).
15784
15785 2012-04-25 Leo Liu <sdl.web@gmail.com>
15786
15787 * progmodes/python.el (python-send-region): Add suffix .py to the
15788 temp file.
15789
15790 * files.el (auto-mode-alist): Use javascript-mode instead.
15791
15792 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
15793
15794 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
15795
15796 * net/soap-client.el (soap-resolve-references-for-sequence-type)
15797 (soap-resolve-references-for-array-type): Hack to prevent self
15798 references, see Bug#9.
15799 (soap-parse-envelope): Report the contents of the 'detail' node
15800 when receiving a fault reply.
15801 (soap-parse-envelope): Report the contents of the entire 'detail' node.
15802
15803 * net/soap-inspect.el (soap-sample-value-for-simple-type)
15804 (soap-inspect-simple-type): New function.
15805
15806 * net/soap-client.el (soap-simple-type): New struct.
15807 (soap-default-xsd-types, soap-default-soapenc-types)
15808 (soap-decode-basic-type, soap-encode-basic-type):
15809 support unsignedInt and double basic types.
15810 (soap-resolve-references-for-simple-type)
15811 (soap-parse-simple-type, soap-encode-simple-type): New function.
15812 (soap-parse-schema): Parse xsd:simpleType declarations.
15813
15814 * net/soap-client.el (soap-default-xsd-types)
15815 (soap-default-soapenc-types): Add integer, byte and anyURI types.
15816 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
15817 the local name of "soapenc:Array".
15818 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
15819 decoding integer, byte and anyURI xsd types.
15820
15821 2012-04-25 Chong Yidong <cyd@gnu.org>
15822
15823 * cus-edit.el (custom-buffer-create-internal): Update header text.
15824
15825 2012-04-25 Eli Zaretskii <eliz@gnu.org>
15826
15827 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
15828 settings on 'system-type', not on 'window-system'. On MS-Windows,
15829 set interactive-mode on in GDB.
15830
15831 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
15832
15833 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
15834 (ruby-syntax-propertize-regexp): Remove.
15835 (ruby-syntax-propertize-function): Split regexp into chunks.
15836 Match following code directly.
15837
15838 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
15839
15840 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
15841 (ruby-syntax-propertize-regexp): New function.
15842 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
15843 by a special keyword.
15844
15845 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
15846 (ruby-syntax-general-delimiters-goto-beg)
15847 (ruby-syntax-propertize-general-delimiters): New functions.
15848 (ruby-syntax-propertize-function): Use them to handle GDL.
15849 (ruby-font-lock-keywords): Move old handling of GDL...
15850 (ruby-font-lock-syntactic-keywords): .. to here.
15851 (ruby-calculate-indent): Adjust indentation for GDL.
15852
15853 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
15854
15855 * notifications.el (top): Remove unneeded declarations.
15856 (notifications-specification-version): Change to "1.2".
15857 (notifications-interface, notifications-notify-method)
15858 (notifications-close-notification-method): Fix docstring.
15859 (notifications-get-capabilities-method): New defconst.
15860 (notifications-notify): Add :action-items, :resident and
15861 :transient hints. Change "image_data" to "image-data" and
15862 "image_path" to "image-path".
15863 (notifications-get-capabilities): New defun.
15864
15865 2012-04-24 Leo Liu <sdl.web@gmail.com>
15866
15867 * progmodes/python.el: Move hideshow setup to the end.
15868
15869 2012-04-24 Martin Rudalics <rudalics@gmx.at>
15870
15871 * window.el (handle-select-window): Clear echo area since this is
15872 no more done by read_char (Bug#11304).
15873
15874 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
15875
15876 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
15877 and `/ M' to filter-derived-mode.
15878 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
15879 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
15880 (ibuffer-mark-by-mode): Use default rather than initial-input.
15881 (ibuffer-filter-by-derived-mode): Autoload and require-match.
15882
15883 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
15884
15885 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
15886 (ibuffer-filter-by-derived-mode): New filter.
15887 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
15888
15889 2012-04-23 Andreas Politz <politza@fh-trier.de>
15890
15891 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
15892
15893 2012-04-23 Chong Yidong <cyd@gnu.org>
15894
15895 * cus-edit.el (customize-apropos, customize-apropos-options):
15896 Disable matching of non-option variables (Bug#11176).
15897 (customize-option, customize-option-other-window)
15898 (customize-changed-options): Doc fix.
15899 (customize-apropos-options, customize-apropos-faces)
15900 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
15901
15902 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
15903 Fix word list splitting (Bug#11132).
15904 (apropos-symbol, apropos-keybinding, apropos-label)
15905 (apropos-property, apropos-function-button)
15906 (apropos-variable-button, apropos-misc-button): New faces.
15907 (apropos-symbol-face, apropos-keybinding-face)
15908 (apropos-label-face, apropos-property-face, apropos-match-face):
15909 Variables removed (Bug#8396).
15910 (apropos-library-button, apropos-format-plist, apropos-print)
15911 (apropos-print-doc, apropos-describe-plist): Callers changed.
15912
15913 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
15914
15915 * net/xesam.el (xesam-mode-map): Use let-bound map in
15916 initialization. (Bug#11292)
15917
15918 2012-04-23 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
15919
15920 Preserve ispell session localwords when switching back to
15921 original buffer.
15922
15923 * textmodes/ispell.el (ispell-buffer-session-localwords):
15924 New buffer-local variable to hold buffer session localwords.
15925 (ispell-kill-ispell): Add option 'clear to delete session
15926 localwords.
15927 (ispell-command-loop, ispell-change-dictionary)
15928 (ispell-buffer-local-words): Preserve session localwords when
15929 needed.
15930
15931 * textmodes/flyspell.el (flyspell-process-localwords)
15932 (flyspell-do-correct): Preserve session localwords when needed.
15933
15934 2012-04-23 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
15935
15936 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
15937 using obsolete `translation-table-for-input'.
15938 (ispell-word, ispell-process-line, ispell-complete-word):
15939 Use plain `insert' instead of removed `ispell-insert-word'.
15940
15941 2012-04-22 Chong Yidong <cyd@gnu.org>
15942
15943 * cus-edit.el (custom-variable-menu)
15944 (custom-variable-reset-saved, custom-face-menu)
15945 (custom-face-reset-saved): If there is no saved value, make the
15946 "reset-saved" operation bring back the default (Bug#9509).
15947 (custom-face-state): Properly detect themed faces.
15948
15949 * faces.el (face-spec-set): Stop supporting deprecated form of
15950 third arg.
15951
15952 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
15953
15954 Move functions from C to Lisp. Make non-blocking method calls
15955 the default. Implement further D-Bus standard interfaces.
15956
15957 * net/dbus.el (dbus-message-internal): Declare function.
15958 Remove unneeded function declarations.
15959 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
15960 (dbus-message-type-method-return, dbus-message-type-error)
15961 (dbus-message-type-signal): Declare variables. Remove local
15962 definitions.
15963 (dbus-interface-dbus, dbus-interface-peer)
15964 (dbus-interface-introspectable, dbus-interface-properties)
15965 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
15966 Adapt docstring.
15967 (dbus-interface-objectmanager): New defconst.
15968 (dbus-call-method, dbus-call-method-asynchronously)
15969 (dbus-send-signal, dbus-method-return-internal)
15970 (dbus-method-error-internal, dbus-register-service)
15971 (dbus-register-signal, dbus-register-method): New defuns, moved
15972 from dbusbind.c
15973 (dbus-call-method-handler, dbus-setenv)
15974 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
15975 New defuns.
15976 (dbus-call-method-non-blocking): Make it an obsolete function.
15977 (dbus-unregister-object, dbus-unregister-service)
15978 (dbus-handle-event, dbus-register-property)
15979 (dbus-property-handler): Obey the new structure of
15980 `bus-registered-objects'.
15981 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
15982 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
15983 Use `dbus-call-method'.
15984
15985 2012-04-22 Chong Yidong <cyd@gnu.org>
15986
15987 * cus-edit.el (custom-commands, custom-reset-menu)
15988 (Custom-reset-standard): Tweak labels.
15989 (custom-reset-button-menu): Change default to t.
15990 (custom-buffer-create-internal): For the custom-reset-button-menu
15991 case, put the revert button first.
15992 (custom-group-subtitle): New face.
15993 (custom-group-value-create): Align docstring to a specific column.
15994
15995 * wid-edit.el (widget-documentation-link-add): Don't handle
15996 indentation in this function.
15997 (widget-documentation-string-indent-to): New function.
15998 (widget-documentation-string-value-create): Use it.
15999
16000 * autorevert.el (auto-revert):
16001 * epg-config.el (epg):
16002 * ibuffer.el (ibuffer):
16003 * mpc.el (mpc):
16004 * ses.el (ses):
16005 * eshell/eshell.el (eshell):
16006 * net/ange-ftp.el (ange-ftp):
16007 * progmodes/ebnf2ps.el (postscript):
16008 * progmodes/flymake.el (flymake):
16009 * progmodes/prolog.el (prolog):
16010 * progmodes/verilog-mode.el (verilog-mode):
16011 * progmodes/which-func.el (which-func):
16012 * term/xterm.el (xterm):
16013 * textmodes/picture.el (picture):
16014 * textmodes/tildify.el (tildify):
16015 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
16016 customization buffers.
16017
16018 2012-04-22 Alan Mackenzie <acm@muc.de>
16019
16020 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
16021 Adding a ) can hide the resulting (..) from searches. Fix it.
16022 Bound the backward search to the position of the existing (.
16023
16024 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
16025
16026 * progmodes/verilog-mode.el (verilog-mode): Check whether
16027 which-func-modes is t before adding verilog-mode.
16028 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
16029
16030 2012-04-21 Leo Liu <sdl.web@gmail.com>
16031
16032 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
16033
16034 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
16035
16036 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
16037 filling of the last column of a table (Bug#5635).
16038 (woman-find-next-control-line): New arg, specifying an additional
16039 regexp component for the control line.
16040 (woman2-roff-buffer): Use it.
16041 (woman-break-table): New function.
16042 (woman2-TS): Use it.
16043
16044 2012-04-21 Chong Yidong <cyd@gnu.org>
16045
16046 * woman.el (woman-set-buffer-display-table, woman-decode-region)
16047 (woman-horizontal-escapes, woman-negative-vertical-space)
16048 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
16049 (WoMan-warn-ignored): Use ?\s instead of ?\ .
16050
16051 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
16052
16053 * minibuffer.el (completion-file-name-table): Complete user names.
16054
16055 2012-04-20 Leo Liu <sdl.web@gmail.com>
16056
16057 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
16058 and pcase-let*.
16059
16060 2012-04-20 Chong Yidong <cyd@gnu.org>
16061
16062 * server.el (server-execute): Respect initial-buffer-choice if it
16063 is a string and there are no files to open (Bug#2825).
16064 (server-create-window-system-frame, server-create-tty-frame):
16065 Don't switch buffers here.
16066 (server-process-filter): Only try to open a window system frame if
16067 compiled with graphical support (Bug#8314).
16068
16069 2012-04-20 Dan Nicolaescu <dann@gnu.org>
16070
16071 * battery.el (battery-echo-area-format): Display remaining time
16072 for sysfs backend too (Bug#11269).
16073 (battery-linux-sysfs): Fix conditional for the charge.
16074
16075 2012-04-20 Chong Yidong <cyd@gnu.org>
16076
16077 * progmodes/gdb-mi.el (gdb): Revert previous change.
16078 (gdb-inferior-io--init-proc): New function.
16079 (gdb-init-1): Use it.
16080 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
16081 responsible for allocating a new pty and hooking it to gdb when
16082 the old pty gets an EIO due to process exit.
16083 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
16084 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
16085 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
16086
16087 2012-04-20 Eli Zaretskii <eliz@gnu.org>
16088
16089 * window.el (window-min-size, window-sizable, window-min-delta)
16090 (window-max-delta, window--resizable, window-resizable)
16091 (window-total-size, window-full-height-p, window-full-width-p)
16092 (window-in-direction, window--resize-mini-window, window-resize)
16093 (window--resize-child-windows-normal)
16094 (window--resize-child-windows, window--resize-siblings)
16095 (window--resize-this-window, adjust-window-trailing-edge)
16096 (enlarge-window, shrink-window): Doc fixes.
16097
16098 2012-04-20 Chong Yidong <cyd@gnu.org>
16099
16100 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
16101 New function to call delete-process on the gdb-inferior buffer's pty.
16102 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
16103 pty process (Bug#11273).
16104 (gdb-update): New arg to suppress talking to the gdb process.
16105 (gdb-done-or-error): Use it.
16106 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
16107 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
16108 sentinel not being called.
16109
16110 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
16111
16112 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
16113
16114 2012-04-20 Glenn Morris <rgm@gnu.org>
16115
16116 * net/network-stream.el (open-network-stream): Doc fix.
16117
16118 2012-04-20 Chong Yidong <cyd@gnu.org>
16119
16120 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
16121
16122 2012-04-20 Alan Mackenzie <acm@muc.de>
16123
16124 Ensure searching for keywords is case sensitive.
16125
16126 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
16127 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
16128 (c-defun-name, c-mark-function, c-cpp-define-name)
16129 (c-comment-indent, c-scan-conditionals, c-indent-defun)
16130 (c-context-line-break): Bind case-fold-search to nil.
16131
16132 * progmodes/cc-mode.el (c-font-lock-fontify-region):
16133 Bind case-fold-search to nil.
16134
16135 2012-04-20 Chong Yidong <cyd@gnu.org>
16136
16137 * mail/sendmail.el (mail-bury): Call return action with the right
16138 Rmail buffer (Bug#11242).
16139
16140 * server.el (server-process-filter): Handle corner case where both
16141 tty and nowait options are present (Bug#11102).
16142
16143 2012-04-20 Eli Zaretskii <eliz@gnu.org>
16144
16145 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
16146 (top level): Put into the executable the ident-style '$Id:' tag on
16147 windows-nt as well.
16148
16149 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
16150
16151 * electric.el (electric-indent-post-self-insert-function): Check that
16152 electric-indent-mode is enabled in current buffer.
16153
16154 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
16155
16156 * imenu.el (imenu-progress-message): Restore; it is "used" in
16157 erc/erc-imenu.el and net/snmp-mode.el.
16158
16159 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
16160
16161 * avoid.el (mouse-avoidance-mode): Mark unused arg.
16162 (mouse-avoidance-nudge-mouse): Remove unused binding.
16163
16164 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
16165
16166 * descr-text.el (describe-char):
16167 * progmodes/python.el (python-describe-symbol):
16168 Don't call `toggle-read-only', set `buffer-read-only'.
16169
16170 * imenu.el (imenu-default-goto-function): Mark unused args.
16171 (imenu-progress-message): Remove obsolete macro; all callers changed.
16172
16173 * subr.el (keymap-canonicalize): Remove unused binding.
16174 (read-passwd): Mark unused arg.
16175
16176 * tutorial.el (tutorial--display-changes): Remove unused binding.
16177 (tutorial--save-tutorial-to): Remove unused variable.
16178
16179 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
16180 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
16181 (package-generate-autoloads, package-menu--generate)
16182 (package-menu--find-upgrades): Remove unused bindings.
16183
16184 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
16185 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
16186 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
16187 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
16188 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
16189 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
16190 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
16191 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
16192 (cua-delete-char-rectangle): Mark unused args.
16193 (cua-align-rectangle): Remove unused binding.
16194
16195 * mail/rmail.el (compilation--message->loc)
16196 (epa--find-coding-system-for-mime-charset): Declare.
16197
16198 * net/dbus.el (dbus-register-service): Declare.
16199 (dbus-name-owner-changed-handler): Remove unused binding.
16200
16201 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
16202 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
16203 (nxml-scan-backward-within): Mark unused arg.
16204 (nxml-dynamic-markup-word): Remove unused binding.
16205
16206 * mouse.el (mouse-menu-major-mode-map):
16207 * emacs-lisp/authors.el (authors-scan-change-log)
16208 (authors-add-to-author-list):
16209 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
16210 * emacs-lisp/smie.el (smie-auto-fill):
16211 * mail/sendmail.el (mail-bury):
16212 * mail/unrmail.el (unrmail):
16213 * net/tls.el (open-tls-stream):
16214 * textmodes/picture.el (picture-mouse-set-point):
16215 Remove unused bindings.
16216
16217 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
16218
16219 * net/tramp.el (tramp-action-password): Let-bind
16220 `enable-recursive-minibuffers' to t.
16221
16222 2012-04-18 Sam Steingold <sds@gnu.org>
16223
16224 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
16225 instead of 'string to accommodate values like [f11].
16226 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
16227 * progmodes/gdb-mi.el: Likewise.
16228
16229 2012-04-18 Leo Liu <sdl.web@gmail.com>
16230
16231 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
16232 current buffer.
16233 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
16234 LOCAL is nil.
16235
16236 2012-04-18 Chong Yidong <cyd@gnu.org>
16237
16238 * simple.el (line-move): Use forward-line if in batch mode
16239 (Bug#11053).
16240
16241 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
16242
16243 * files.el (after-find-file): Do not try to add a final newline if
16244 the buffer is read-only (Bug#11156).
16245
16246 2012-04-17 Richard Stallman <rms@gnu.org>
16247
16248 * mail/rmail.el (rmail-start-mail):
16249 Pass (rmail-mail-return...) for the return-action.
16250 Pass (rmail-yank-current-message...) for the yank-action.
16251 (rmail-yank-current-message): New function.
16252 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
16253 (rmail-reply): Likewise.
16254 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
16255
16256 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
16257 buffer, not the last. Reject temp buffers. Use the rmail-mode
16258 buffer, not newbuf.
16259
16260 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
16261
16262 * server.el (server-ensure-safe-dir): Simplify.
16263
16264 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
16265
16266 * emacs-lisp/smie.el: Provide smarter auto-filling.
16267 (smie-auto-fill): New function.
16268 (smie-setup): Use it.
16269
16270 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
16271
16272 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
16273
16274 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
16275 (comment-indent): Use it.
16276
16277 2012-04-17 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
16278
16279 * ses.el: The overall change is to add cell renaming, that is
16280 setting fancy names for cell symbols other than name matching
16281 "\\`[A-Z]+[0-9]+\\'" regexp .
16282 (ses-localvars): Add ses--renamed-cell-symb-list.
16283 (ses-create-cell-variable): New defun.
16284 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
16285 (ses-relocate-formula): Relocate formulas only for cells the
16286 symbols of which are not renamed, i.e. symbols whose names do not
16287 match regexp "\\`[A-Z]+[0-9]+\\'".
16288 (ses-relocate-all): Relocate values only for cells the symbols of
16289 which are not renamed.
16290 (ses-load): Create cells variables as the (ses-cell ...) are read,
16291 in order to check row col consistency with cell symbol name only
16292 for cells that are not renamed.
16293 (ses-replace-name-in-formula): New defun.
16294 (ses-rename-cell): New defun.
16295
16296 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
16297
16298 * progmodes/perl-mode.el (perl-indent-parens-as-block):
16299 New option (bug#11118).
16300 (perl-calculate-indent): Respect it.
16301
16302 2012-04-17 Glenn Morris <rgm@gnu.org>
16303
16304 * dired-aux.el (dired-mark-read-string): Doc fix.
16305
16306 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
16307
16308 * dired-aux.el (dired-mark-read-string): Offer optional completion.
16309 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
16310
16311 2012-04-17 Glenn Morris <rgm@gnu.org>
16312
16313 * mouse.el (mouse-drag-track):
16314 * speedbar.el (speedbar-frame-mode):
16315 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
16316
16317 2012-04-16 Leo Liu <sdl.web@gmail.com>
16318
16319 * progmodes/python.el: Trivial cleanup.
16320
16321 2012-04-16 Glenn Morris <rgm@gnu.org>
16322
16323 * vc/vc.el (vc-string-prefix-p):
16324 * vc/pcvs-util.el (cvs-string-prefix-p):
16325 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
16326 * mpc.el (mpc-string-prefix-p):
16327 Make all of these into obsolete aliases for string-prefix-p.
16328 Update callers.
16329 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
16330
16331 * textmodes/two-column.el: Move custom options to the start.
16332 (frame-width): Remove compat definition.
16333 (2C-associate-buffer, 2C-dissociate):
16334 Use with-current-buffer rather than save-excursion.
16335 (2C-dissociate): Force a mode-line update.
16336 (2C-autoscroll): Use ignore-errors.
16337
16338 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
16339 Autoload trivia.
16340
16341 * emacs-lisp/cl-extra.el (*random-state*):
16342 Remove unnecessary declaration.
16343
16344 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
16345
16346 * play/cookie1.el (cookie-snarf):
16347 Give an explicit error if input file cannot be read.
16348
16349 * play/yow.el (yow-file): Use expand-file-name rather than concat.
16350
16351 * progmodes/perl-mode.el (c-macro-expand):
16352 Remove unnecessary autoload (it is in loaddefs.el).
16353
16354 * textmodes/picture.el (picture-desired-column)
16355 (picture-update-desired-column): Convert comments to doc-strings.
16356 (picture-substitute): Remove function.
16357 (picture-mode-map): Initialize in the defvar.
16358
16359 * woman.el: Remove eval-after-load for tar-mode.
16360 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
16361 (woman-tar-extract-file): Autoload it.
16362
16363 * frame.el (automatic-hscrolling): Make this alias obsolete.
16364
16365 2012-04-12 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
16366
16367 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
16368 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
16369 (ispell-dictionary-base-alist): Revert to original XEmacs
16370 friendly version for default. [:alpha:] will be added in
16371 `ispell-set-spellchecker-params' if needed.
16372
16373 2012-04-16 Chong Yidong <cyd@gnu.org>
16374
16375 * image.el (imagemagick--file-regexp): New variable.
16376 (imagemagick-register-types): Use it.
16377 (imagemagick-types-inhibit): Add :set function. Allow new value
16378 of t to inhibit all types.
16379
16380 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
16381 so we can preload it.
16382
16383 * loadup.el (fboundp): Preload regexp-opt, needed by
16384 imagemagick-register-types.
16385
16386 2012-04-15 Chong Yidong <cyd@gnu.org>
16387
16388 * frame.el (scrolling): Remove nearly unused customization group.
16389
16390 * scroll-all.el (scroll-all-mode): Move to windows group.
16391
16392 2012-04-15 Chong Yidong <cyd@gnu.org>
16393
16394 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
16395
16396 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
16397
16398 Avoid the use of ((lambda ...) ...) in lexical-binding code.
16399 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
16400
16401 2012-04-15 Glenn Morris <rgm@gnu.org>
16402
16403 * simple.el (process-file-side-effects): Doc fix.
16404
16405 2012-04-15 Glenn Morris <rgm@gnu.org>
16406
16407 * international/mule-cmds.el (set-language-environment): Doc fix.
16408
16409 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
16410
16411 * server.el (server-auth-key, server-generate-key): Doc fixes.
16412 (server-get-auth-key): Doc fix. Use `string-match-p'.
16413 (server-start): Reflow docstring.
16414
16415 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
16416
16417 * server.el (server-generate-key): `called-interactively-p'
16418 requires a parameter.
16419
16420 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
16421
16422 * server.el (server-auth-key): New variable.
16423 (server-generate-key, server-get-auth-key): New function.
16424 (server-start): Use the new variable and functions to allow
16425 setting a permanent server key (bug#9423).
16426
16427 2012-04-14 Leo Liu <sdl.web@gmail.com>
16428
16429 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
16430
16431 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
16432
16433 Spelling fixes.
16434 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
16435 Emacs uses American spelling.
16436
16437 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
16438
16439 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
16440 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
16441 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
16442 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
16443
16444 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
16445
16446 * progmodes/which-func.el (which-func-modes): Change default.
16447
16448 2012-04-14 Kim F. Storm <storm@cua.dk>
16449
16450 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
16451 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
16452
16453 2012-04-14 Chong Yidong <cyd@gnu.org>
16454
16455 * custom.el (custom-theme-set-variables): Doc fix.
16456
16457 2012-04-14 Glenn Morris <rgm@gnu.org>
16458
16459 * international/mule.el (set-auto-coding-for-load): Doc fix.
16460
16461 2012-04-14 Alan Mackenzie <acm@muc.de>
16462
16463 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
16464 imenu work again for Objective C Mode. Correct the *-index values,
16465 these having been disturbed by a previous change in 2011-08.
16466
16467 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
16468 Correct two search limits.
16469
16470 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
16471
16472 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
16473
16474 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
16475
16476 * international/characters.el: Fix sorting.
16477
16478 2012-04-14 Eli Zaretskii <eliz@gnu.org>
16479
16480 * international/characters.el: Add more missing Latin case pairs.
16481
16482 2012-04-14 Glenn Morris <rgm@gnu.org>
16483
16484 * files.el (dir-locals-set-class-variables): Doc fix.
16485
16486 2012-04-14 Eli Zaretskii <eliz@gnu.org>
16487
16488 * international/characters.el: Add set-case-syntax-pair call for
16489 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
16490 counterpart. (Bug#11209)
16491
16492 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
16493
16494 2012-04-14 Glenn Morris <rgm@gnu.org>
16495
16496 * calendar/holidays.el (calendar-check-holidays): Doc fix.
16497
16498 2012-04-14 Eli Zaretskii <eliz@gnu.org>
16499
16500 * textmodes/ispell.el (ispell-dictionary-base-alist):
16501 Add data for Hebrew.
16502
16503 2012-04-14 Chong Yidong <cyd@gnu.org>
16504
16505 * net/rcirc.el (rcirc-cmd-quit):
16506 Revert 2012-03-18 change (Bug#11192).
16507
16508 2012-04-14 Glenn Morris <rgm@gnu.org>
16509
16510 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
16511
16512 2012-04-14 Eli Zaretskii <eliz@gnu.org>
16513
16514 * minibuffer.el (completion-in-region-mode-map):
16515 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
16516
16517 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
16518
16519 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
16520
16521 2012-04-13 Masatake YAMATO <yamato@redhat.com>
16522
16523 * minibuffer.el (minibuffer-local-filename-syntax): New variable
16524 to allow `C-M-f' and `C-M-b' to move to the nearest path
16525 separator (bug#9511).
16526
16527 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
16528
16529 * avoid.el: Require cl when compiling. And also move the
16530 `provide' to the end.
16531
16532 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16533
16534 * avoid.el (mouse-avoidance-banish-position): New variable.
16535 (mouse-avoidance-banish-destination): Use it (bug#10165).
16536
16537 2012-04-13 Leo Liu <sdl.web@gmail.com>
16538
16539 * progmodes/which-func.el (which-func-modes): Add objc-mode.
16540
16541 2012-04-13 Ken Brown <kbrown@cornell.edu>
16542
16543 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
16544 this is no longer needed now that cygstart understands file:// URLs.
16545 (browse-url-filename-alist): For the same reason, don't modify
16546 file:// URLs on Cygwin.
16547
16548 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
16549
16550 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
16551 the region on shift if the binding is already shifted (bug#11221).
16552
16553 2012-04-12 Glenn Morris <rgm@gnu.org>
16554
16555 * mail/mailpost.el: Move to obsolete/.
16556
16557 2012-04-12 Drew Adams <drew.adams@oracle.com>
16558
16559 * imenu.el (imenu--generic-function): Ignore invisible definitions
16560 (bug#10123).
16561
16562 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
16563
16564 * hexl.el (hexl-bits): New variable.
16565 (hexl-options): Mention the variable in the doc string.
16566 (hexl-rulerise, hexl-line-displen): New functions.
16567 (hexl-mode): Mention the new variable.
16568 (hexl-mode, hexl-current-address, hexl-current-address):
16569 Use the displen.
16570 (hexl-ascii-start-column): New function.
16571 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
16572 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
16573
16574 2012-04-12 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
16575
16576 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
16577 '("-i" ENCODING), in 2 separate command-line arguments, to specify
16578 the encoding, as expected by hunspell.
16579
16580 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
16581
16582 * battery.el (battery--linux-sysfs-regexp): New const.
16583 (battery-status-function): Use it. Remove yeeloong special case.
16584 (battery-yeeloong-sysfs): Remove.
16585 (battery-echo-area-format): Remove yeeloong special case.
16586
16587 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
16588
16589 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
16590 Reported by Noah Friedman.
16591
16592 * subr.el (read-passwd): Use read-string.
16593
16594 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
16595
16596 * vcursor.el (vcursor-move): Increase the priority of the overlay
16597 (bug#9663).
16598
16599 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
16600
16601 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
16602 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
16603
16604 2012-04-11 William Stevenson <yhvh2000@gmail.com>
16605
16606 * textmodes/artist.el (artist-mode): Convert artist-mode to use
16607 define-minor-mode (bug#10760).
16608
16609 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
16610
16611 * progmodes/grep.el (rgrep): Tweak the find command line so
16612 that directories matching `grep-find-ignored-files' won't be
16613 pruned (bug#10351).
16614
16615 2012-04-11 Chong Yidong <cyd@gnu.org>
16616
16617 * startup.el (command-line): Remove support for long-obsolete
16618 variable font-lock-face-attributes.
16619
16620 2012-04-11 Glenn Morris <rgm@gnu.org>
16621
16622 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
16623
16624 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
16625
16626 * window.el (window--state-get-1): Obey window-point-insertion-type.
16627
16628 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
16629
16630 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
16631 to previous function when point is on the first character of a
16632 function. Take care of that in `narrow-to-defun' (bug#6157).
16633
16634 2012-04-11 Glenn Morris <rgm@gnu.org>
16635
16636 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
16637 not just file-errors.
16638
16639 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
16640 (vc-bzr-sha1): Use internal sha1.
16641
16642 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
16643
16644 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
16645
16646 2012-04-10 SĂ©bastien Gross <seb@chezwam.org> (tiny change)
16647
16648 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
16649 that start in the middle of the line (bug#10496).
16650
16651 2012-04-10 Dan Nicolaescu <dann@gnu.org>
16652
16653 * battery.el (battery-linux-proc-acpi): Only one battery is
16654 discharged at a time, but that seems to confuse battery.el when
16655 computing `rate-type' for the battery not being discharged
16656 (bug#10332).
16657
16658 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
16659
16660 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
16661
16662 * international/quail.el: Use dolist and simplify.
16663 (quail-define-package, quail-update-keyboard-layout)
16664 (quail-define-rules): Use dolist.
16665 (quail-insert-kbd-layout, quail-get-translation): CSE.
16666
16667 * tmm.el: Use dolist, remove left over hook.
16668 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
16669 Use dolist.
16670 (calendar-load-hook): Don't mess with it.
16671
16672 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
16673 Use derived-mode-p. Run the diff asynchronously.
16674
16675 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
16676
16677 * obsolete/mouse-sel.el: Add an Obsolete-since header.
16678
16679 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
16680
16681 * misc.el: Display absolute path of loaded DLLs (bug#10424).
16682 (list-dynamic-libraries--loaded): New function.
16683 (list-dynamic-libraries--refresh): Use it.
16684
16685 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
16686
16687 * progmodes/python.el (python-fill-paragraph):
16688 Make python-fill-region in a multiline string work when font-lock is
16689 disabled (bug#7018).
16690
16691 2012-04-10 Laimonas VÄ—bra <laimonas.vebra@gmail.com> (tiny change)
16692
16693 * language/european.el (cp775): Add oem/legacy (en)coding on
16694 DOS/MS Windows for the Baltic languages. There are still plenty
16695 of texts written in this encoding/codepage (bug#6519).
16696
16697 2012-04-10 Glenn Morris <rgm@gnu.org>
16698
16699 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
16700 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
16701
16702 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
16703
16704 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
16705 next-line "n" and previous-line "p" in order to make recentf more
16706 consistent with ibuffer, dired or org-mode (bug#9387).
16707
16708 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
16709
16710 * image.el (put-image): Return the overlay created instead of the
16711 optional input string (bug#7834). Note that this may break code
16712 that is (for some reason or other) depending on `put-image'
16713 returning the string.
16714
16715 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
16716
16717 * simple.el (zap-to-char): Allow zapping using input methods
16718 (bug#1580).
16719
16720 * textmodes/fill.el (fill-region): Leave point and mark where they
16721 were before filling (bug#5399).
16722
16723 2012-04-09 Glenn Morris <rgm@gnu.org>
16724
16725 * version.el (emacs-bzr-get-version):
16726 Handle lightweight checkouts of local branches.
16727
16728 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
16729
16730 * international/characters.el: Recover lost case pairs. (Bug#11209)
16731
16732 2012-04-09 Chong Yidong <cyd@gnu.org>
16733
16734 * custom.el (custom-variable-p): Return nil for non-symbol
16735 arguments instead of signaling an error.
16736 (user-variable-p): Obsolete alias for custom-variable-p.
16737
16738 * apropos.el (apropos-variable):
16739 * files-x.el (read-file-local-variable):
16740 * simple.el (set-variable):
16741 * woman.el (woman-mini-help):
16742 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
16743
16744 2012-04-09 Glenn Morris <rgm@gnu.org>
16745
16746 * startup.el (normal-top-level): Don't look for leim-list.el
16747 in places where it will not be found. (Bug#910)
16748
16749 * international/mule-cmds.el (set-default-coding-systems):
16750 * files.el (normal-mode):
16751 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
16752 This function was removed with ucs-tables.el in 2008.
16753
16754 2012-04-08 Eli Zaretskii <eliz@gnu.org>
16755
16756 * textmodes/ispell.el (ispell-check-version): For hunspell, set
16757 ispell-encoding8-command to "-i", without a trailing space.
16758 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
16759 separate command-line arguments, to specify the encoding, since
16760 that's how hunspell expects it.
16761
16762 2012-04-08 Glenn Morris <rgm@gnu.org>
16763
16764 * loadup.el: Load bindings before cus-start.
16765 This reduces somewhat the number of "rogue" settings in emacs -Q.
16766
16767 2012-04-07 Glenn Morris <rgm@gnu.org>
16768
16769 * version.el (emacs-bzr-get-version): New function.
16770 (emacs-bzr-version): New variable.
16771 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
16772 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
16773
16774 2012-04-07 Eli Zaretskii <eliz@gnu.org>
16775
16776 * international/uni-bidi.el, international/uni-category.el:
16777 * international/uni-combining.el, international/uni-decimal.el:
16778 * international/uni-decomposition.el, international/uni-digit.el:
16779 * international/uni-lowercase.el, international/uni-mirrored.el:
16780 * international/uni-name.el, international/uni-numeric.el:
16781 * international/uni-titlecase.el, international/uni-uppercase.el:
16782 Update for Unicode 6.1.
16783
16784 2012-04-07 Eli Zaretskii <eliz@gnu.org>
16785
16786 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
16787
16788 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
16789
16790 * window.el (shrink-window): Mention the `window-min-height'
16791 variable in the doc string.
16792
16793 2012-04-05 Bastien Guerry <bzg@altern.org>
16794
16795 * color.el (color-lighten-name): Fix typo.
16796
16797 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
16798
16799 * server.el (server--on-display-p): New function.
16800 (server--on-display-p): Use it.
16801
16802 2012-04-04 GĂ¡bor Vida <vidagabor@gmail.com> (tiny change)
16803
16804 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
16805 (bug#11145).
16806
16807 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
16808
16809 * comint.el (comint--common-quoted-suffix): Check string boundary
16810 before comparing (bug#11158).
16811 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
16812
16813 2012-04-04 Chong Yidong <cyd@gnu.org>
16814
16815 * minibuffer.el (completion-extra-properties): Doc fix.
16816
16817 * subr.el (delayed-warnings-hook): Doc fix.
16818
16819 2012-04-04 Daiki Ueno <ueno@unixuser.org>
16820
16821 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
16822 selection (Bug#11159).
16823 (epa-insert-keys): Inform that the default public key will be
16824 exported if no key is selected.
16825
16826 2012-04-04 Richard Stallman <rms@gnu.org>
16827
16828 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
16829
16830 2012-04-03 Chong Yidong <cyd@gnu.org>
16831
16832 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
16833 mail-insert-file, not its obsolete alias mail-attach-file.
16834
16835 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
16836
16837 * notifications.el (notifications-notify): Fix docstring.
16838
16839 2012-04-02 Glenn Morris <rgm@gnu.org>
16840
16841 * emacs-lisp/authors.el (authors-aliases): Another addition.
16842
16843 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
16844
16845 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
16846 `tramp-compat-call-process' instead of `tramp-local-call-process'.
16847 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
16848
16849 2012-04-01 Chong Yidong <cyd@gnu.org>
16850
16851 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
16852 Handle root directory properly.
16853 (copy-directory): Caller changed.
16854
16855 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
16856 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
16857
16858 2012-03-31 Glenn Morris <rgm@gnu.org>
16859
16860 * term/xterm.el (xterm-extra-capabilities): Doc fix.
16861
16862 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
16863
16864 * calendar/calendar.el (calendar-window-list)
16865 (calendar-hide-window): Restore. (Bug#11140)
16866 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
16867
16868 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
16869
16870 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16871
16872 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
16873 Check if file is a symlink (Bug#10489).
16874
16875 * files.el (copy-directory): Likewise.
16876
16877 2012-03-30 Chong Yidong <cyd@gnu.org>
16878
16879 * image.el (imagemagick-types-inhibit)
16880 (imagemagick-register-types): Doc fix.
16881
16882 2012-03-30 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
16883
16884 * textmodes/ispell.el (ispell-get-extended-character-mode):
16885 Disable extended-char-mode for hunspell. hunspell does not support it
16886 and treats ~word as ordinary words in pipe mode.
16887
16888 2012-03-30 Glenn Morris <rgm@gnu.org>
16889
16890 * tutorial.el (help-with-tutorial): Ensure local variables don't
16891 happen to make the buffer read-only. (Bug#11127)
16892
16893 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
16894
16895 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
16896 (perl-calculate-indent): Return `noindent' in strings.
16897
16898 2012-03-28 Sam Steingold <sds@gnu.org>
16899
16900 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
16901 instead of the broken adhockery which does not prevent calendar
16902 buffers from being displayed at random after exit.
16903 (calendar-window-list, calendar-hide-window): Remove the broken
16904 adhockery.
16905
16906 2012-03-28 Glenn Morris <rgm@gnu.org>
16907
16908 * replace.el (query-replace-map): Doc fix.
16909
16910 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
16911
16912 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
16913 contents. (Bug#11109)
16914
16915 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
16916
16917 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
16918 (bug#11077).
16919 (avl-tree--check, avl-tree--check-node): New funs.
16920
16921 2012-03-27 Martin Rudalics <rudalics@gmx.at>
16922
16923 * window.el (switch-to-visible-buffer): New option.
16924 (switch-to-prev-buffer, switch-to-next-buffer):
16925 Observe switch-to-visible-buffer. Make sure that checking for a window
16926 showing a buffer already is done on the same frame.
16927
16928 2012-03-27 Glenn Morris <rgm@gnu.org>
16929
16930 * startup.el (mail-host-address): Doc fix.
16931
16932 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
16933
16934 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
16935 than 197 variables.
16936
16937 2012-03-26 Ami Fischman <ami@fischman.org>
16938
16939 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
16940
16941 2012-03-26 Glenn Morris <rgm@gnu.org>
16942
16943 * files.el (save-buffers-kill-emacs): Doc fix.
16944
16945 * startup.el (normal-top-level, command-line, command-line-1):
16946 Give them doc strings.
16947
16948 2012-03-25 Eli Zaretskii <eliz@gnu.org>
16949
16950 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
16951 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
16952
16953 2012-03-25 Chong Yidong <cyd@gnu.org>
16954
16955 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
16956 theme if it was previously enabled before (Bug#11031).
16957
16958 * cus-theme.el (custom-theme-write-faces): Retrieve current face
16959 spec with custom-face-get-current-spec if its :shown-value is not
16960 determined yet (Bug#9337).
16961 (customize-create-theme, custom-theme-revert): Doc fixes.
16962
16963 * button.el (button-at): Minor addition to docstring.
16964
16965 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
16966
16967 * vc/vc.el (vc-merge): Fix a prompt.
16968
16969 2012-03-24 Chong Yidong <cyd@gnu.org>
16970
16971 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
16972 point (Bug#9623).
16973
16974 * button.el (button-at): Minor addition to docstring.
16975
16976 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
16977
16978 * newcomment.el (comment-choose-indent): No space after BOL.
16979
16980 2012-03-22 Sam Steingold <sds@gnu.org>
16981
16982 * window.el (switch-to-prev-buffer): Revert last patch because the
16983 bug turned out to be an advertised feature (Elisp manual 28.14).
16984
16985 2012-03-22 Glenn Morris <rgm@gnu.org>
16986
16987 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
16988 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
16989
16990 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
16991
16992 * net/network-stream.el (network-stream-open-starttls): Make error
16993 message under Windows be less misleading.
16994
16995 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
16996
16997 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
16998 understands (bug#9942).
16999
17000 2012-03-22 Chong Yidong <cyd@gnu.org>
17001
17002 * simple.el (end-of-visible-line): Handle return value of
17003 next-single-property-change properly (Bug#9371).
17004
17005 2012-03-22 Kenichi Handa <handa@m17n.org>
17006
17007 * international/quail.el (quail-insert-kbd-layout): Fix previous
17008 change. To avoid unwanted bidi reordering, use
17009 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
17010
17011 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
17012
17013 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
17014 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
17015 (ruby-beginning-of-indent): Be more careful with the difference
17016 between word-boundary and symbol boundary.
17017 (ruby-mode-syntax-table): Make : a symbol constituent.
17018
17019 2012-03-21 Andreas Politz <politza@fh-trier.de>
17020
17021 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
17022
17023 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
17024
17025 * progmodes/etags.el (tags-completion-at-point-function):
17026 Improve last fix.
17027
17028 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
17029
17030 2012-03-21 Sam Steingold <sds@gnu.org>
17031
17032 * progmodes/etags.el (tags-completion-at-point-function):
17033 Avoid the error when point is inside the pattern.
17034
17035 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
17036
17037 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
17038 line (Bug#10855).
17039
17040 2012-03-21 Drew Adams <drew.adams@oracle.com>
17041
17042 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
17043
17044 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
17045
17046 * ido.el (ido-set-current-directory, ido-read-internal)
17047 (ido-choose-completion-string, ido-completion-help): Handle nil
17048 value of ido-completion-buffer (Bug#11008).
17049
17050 2012-03-21 Sam Steingold <sds@gnu.org>
17051
17052 * window.el (switch-to-prev-buffer): Do not switch to a visible
17053 window previous buffer, just like with the frame previous buffers.
17054
17055 2012-03-21 Chong Yidong <cyd@gnu.org>
17056
17057 * faces.el (make-face, make-empty-face, copy-face):
17058 * face-remap.el (face-remap-add-relative, face-remap-set-base):
17059 Doc fixes.
17060
17061 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
17062
17063 * wid-edit.el (widget-complete-field): Remove (bug#11051).
17064 (widget-complete): Remove broken use of it.
17065
17066 2012-03-20 Chong Yidong <cyd@gnu.org>
17067
17068 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
17069 Use string-width and truncate-string-width to handle arbitrary
17070 characters.
17071
17072 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
17073
17074 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
17075 to draw rectangles, not squares. (Regression introduced by revno
17076 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
17077
17078 2012-03-18 Chong Yidong <cyd@gnu.org>
17079
17080 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
17081 it is not yet defined (for temacs).
17082
17083 2012-03-18 Leo Liu <sdl.web@gmail.com>
17084
17085 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
17086 prefix.
17087
17088 2012-03-17 Eli Zaretskii <eliz@gnu.org>
17089
17090 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
17091 (ispell-choices-win-default-height, ispell-silently-savep)
17092 (ispell-dictionary-alist, ispell-encoding8-command)
17093 (ispell-check-version, ispell-aspell-find-dictionary)
17094 (ispell-valid-dictionary-list, ispell-words-keyword)
17095 (ispell-get-word, ispell-internal-change-dictionary)
17096 (ispell-region, ispell-skip-region-list)
17097 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
17098 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
17099 (ispell-message-text-end, ispell-message)
17100 (ispell-buffer-local-parsing): Doc fix.
17101
17102 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
17103
17104 * htmlfontify.el: Add support for code block fontification for ODT
17105 export (Bug #9914).
17106 (hfy-optimisations): Define new option
17107 `body-text-only'
17108 (hfy-fontify-buffer): Honor above setting.
17109 (hfy-begin-span, hfy-end-span): New routines factored out form
17110 `hfy-fontify-buffer'.
17111 (hfy-begin-span-handler, hfy-end-span-handler): New variables
17112 that permit insertion of custom tags.
17113 (hfy-fontify-buffer): Use above handlers.
17114 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
17115 (hfy-face-to-css): Re-defined to be a variable.
17116 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
17117 over multiple runs. This is made possible by having the caller let
17118 bind a special variable `hfy-user-sheet-assoc'.
17119 (htmlfontify-string): New defun.
17120 (hfy-compile-face-map): Make sure that the last char in the
17121 buffer is correctly fontified.
17122 (hfy-face-resolve-face): Whitespace only change.
17123
17124 2012-03-17 Eli Zaretskii <eliz@gnu.org>
17125
17126 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
17127 message more clear.
17128
17129 2012-03-16 Leo Liu <sdl.web@gmail.com>
17130
17131 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
17132
17133 2012-03-16 Alan Mackenzie <acm@muc.de>
17134
17135 Further optimize the handling of large macros.
17136
17137 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
17138 limit to a call of `c-literal-limits'.
17139 (c-determine-+ve-limit): New function.
17140 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
17141 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
17142 In CASE 5B, restrict a search limit to 500.
17143 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
17144
17145 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
17146 Restrict macro bounds to +-500 from after-change's BEG END.
17147
17148 2012-03-16 Leo Liu <sdl.web@gmail.com>
17149
17150 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
17151
17152 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
17153
17154 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
17155 `special-mode' setting of `buffer-read-only'. (Bug#11010)
17156
17157 2012-03-16 Glenn Morris <rgm@gnu.org>
17158
17159 * view.el (view-buffer, view-buffer-other-window)
17160 (view-buffer-other-frame): Doc fixes re special mode-class.
17161
17162 * subr.el (eval-after-load): If named feature is provided not from
17163 a file, run after-load forms. (Bug#10946)
17164
17165 * calendar/calendar.el (calendar-insert-at-column):
17166 Handle non-unit-width characters a bit better. (Bug#10978)
17167
17168 2012-03-15 Chong Yidong <cyd@gnu.org>
17169
17170 * emacs-lisp/ring.el (ring-extend): New function.
17171 (ring-insert+extend): Extend the ring correctly (Bug#11019).
17172
17173 * comint.el (comint-read-input-ring)
17174 (comint-add-to-input-history): Grow comint-input-ring lazily.
17175
17176 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
17177
17178 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
17179 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
17180
17181 * imenu.el: Fix multiple inheritance breakage (bug#9199).
17182 (imenu-add-to-menubar): Don't add a redundant index.
17183 (imenu-update-menubar): Handle a dynamically composed keymap.
17184
17185 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
17186
17187 * mail/sendmail.el (mail-encode-header):
17188 Bind rfc2047-encode-encoded-words to nil.
17189
17190 2012-03-13 Glenn Morris <rgm@gnu.org>
17191
17192 * calendar/calendar.el (calendar-string-spread):
17193 Handle non-unit-width characters a bit better. (Bug#10978)
17194
17195 2012-03-13 Leo Liu <sdl.web@gmail.com>
17196
17197 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
17198 directory and file as argument (Bug#10822).
17199
17200 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
17201
17202 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
17203 For dynamically generated code, follow $PC.
17204 (gdb-disassembly-handler-custom): Handle no function name case.
17205
17206 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
17207
17208 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
17209 * emulation/ws-mode.el (ws-query-replace):
17210 * sort.el (sort-regexp-fields):
17211 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
17212
17213 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
17214
17215 * dabbrev.el: Fix cycle completion order (bug#10963).
17216 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
17217 (dabbrev-completion): Don't use an obarray; provide
17218 a cycle-sort-function.
17219
17220 2012-03-12 Leo Liu <sdl.web@gmail.com>
17221
17222 * simple.el (kill-new): Use equal-including-properties for comparison.
17223 (kill-do-not-save-duplicates): Doc fix.
17224
17225 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
17226
17227 * dabbrev.el: Fix cycle completion (bug#10963).
17228 Use lexical binding and wrap to 80 columns.
17229 (dabbrev-completion): Delay computing the list of completions.
17230
17231 2012-03-12 Kenichi Handa <handa@m17n.org>
17232
17233 * international/quail.el (quail-insert-kbd-layout): Surround each
17234 row by LRO and PDF instead of inserting many LRMs. Pad the left
17235 and right of each non-spacing marks. Insert invisible space
17236 between lower and upper characters to prevent composition.
17237
17238 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
17239
17240 * minibuffer.el (minibuffer-complete): Don't get confused when the
17241 function is run twice via different commands (bug#10958).
17242 (complete-with-action): Fix docstring.
17243
17244 2012-03-12 Chong Yidong <cyd@gnu.org>
17245
17246 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
17247 (nxml-completion-at-point-function): New function.
17248 (nxml-mode): Use it.
17249 (nxml-bind-meta-tab-to-complete-flag): Default to t.
17250
17251 * emacs-lisp/package.el (package-unpack, package-unpack-single):
17252 Load generated autoloads file before byte compiling (Bug#10970).
17253 (package--make-autoloads-and-compile): New helper fun.
17254
17255 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
17256
17257 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
17258
17259 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
17260
17261 * autorevert.el (auto-revert-handler): Ensure, that
17262 file-readable-p is applied only for local files or in
17263 auto-revert-tail-mode.
17264
17265 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
17266
17267 * server.el (server-eval-at): Handle non-tcp connections.
17268 Decode result string.
17269
17270 * server.el (server-msg-size): New constant.
17271 (server-reply-print): New function.
17272 (server-eval-and-print): Use it.
17273 (server-eval-at): Use server-quote-arg and server-unquote-arg.
17274 Handle -print-nonl.
17275
17276 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
17277
17278 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
17279 (Bug#10987).
17280
17281 2012-03-11 Chong Yidong <cyd@gnu.org>
17282
17283 * simple.el (goto-line): Doc fix (Bug#9938).
17284
17285 * subr.el (save-window-excursion): Doc fix (Bug#9979).
17286
17287 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
17288 when finished (Bug#10963).
17289
17290 2012-03-11 Martin Rudalics <rudalics@gmx.at>
17291
17292 * window.el (split-window-below): Fix bug in case where
17293 split-window-keep-point is nil (Bug#10971).
17294
17295 2012-03-11 Juri Linkov <juri@jurta.org>
17296
17297 * replace.el (replace-highlight): Set isearch-word to nil
17298 unconditionally. (Bug#10887)
17299
17300 2012-03-10 Eli Zaretskii <eliz@gnu.org>
17301
17302 * net/mairix.el (mairix-replace-invalid-chars): Rename from
17303 mairix-replace-illegal-chars; all callers changed. Don't remove
17304 ^, ~, and = characters: they are meaningful in mairix search specs.
17305 (mairix-widget-create-query): Add usage information about mairix
17306 search forms: negating words, searching for substrings, etc.
17307
17308 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
17309
17310 * international/fontset.el (font-encoding-alist): Add an entry for
17311 ksx1001 (Bug#5667).
17312
17313 2012-03-10 Richard Stallman <rms@gnu.org>
17314
17315 * mail/sendmail.el (mail-encode-header):
17316 Set rfc2047-encode-encoded-words.
17317
17318 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
17319
17320 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
17321 view buffer means not swapped.
17322 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
17323 (rmail-write-region-annotate): Error if real text has disappeared.
17324
17325 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
17326
17327 2012-03-10 Chong Yidong <cyd@gnu.org>
17328
17329 * emulation/cua-rect.el (cua--init-rectangles):
17330 * emulation/cua-base.el (cua--init-keymaps):
17331 Add delete-forward-char to remappings (Bug#9666).
17332
17333 2012-03-10 Martin Rudalics <rudalics@gmx.at>
17334
17335 * speedbar.el (speedbar-unhighlight-one-tag-line):
17336 Avoid unhighlighting due to frame switching (Bug#10275).
17337
17338 2012-03-10 Chong Yidong <cyd@gnu.org>
17339
17340 * minibuffer.el (completion-in-region, completion-help-at-point):
17341 Give the completion field overlay a high priority (Bug#6830).
17342
17343 * dired.el (dired-goto-file): Recognize absolute file name
17344 listings (Bug#7126).
17345 (dired-goto-file-1): New helper function.
17346 (dired-toggle-read-only): Inhibit warnings.
17347
17348 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
17349
17350 * net/dbus.el (dbus-property-handler): Return empty array if
17351 there are no properties.
17352
17353 2012-03-09 Leo Liu <sdl.web@gmail.com>
17354
17355 * savehist.el (savehist-printable): Stricter check for string
17356 value (Bug#10937).
17357
17358 2012-03-09 Eli Zaretskii <eliz@gnu.org>
17359
17360 * mail/smtpmail.el (smtpmail-send-it):
17361 Bind coding-system-for-write to *-unix, so that FCC files are kept in
17362 valid mbox format.
17363
17364 2012-03-09 Glenn Morris <rgm@gnu.org>
17365
17366 * files.el (dir-locals-find-file):
17367 Don't check result is regular, readable.
17368 (dir-locals-read-from-file): Demote errors.
17369
17370 2012-03-08 Eli Zaretskii <eliz@gnu.org>
17371
17372 * international/quail.el (quail-insert-kbd-layout):
17373 Insert invisible LRM characters before each character in a keyboard
17374 layout cell, to prevent their reordering by bidi display engine.
17375 For details, see the discussion in
17376 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
17377
17378 2012-03-08 Alan Mackenzie <acm@muc.de>
17379
17380 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
17381 the starting position; make it extend the marked region when
17382 invoked repeatedly - all under appropriate circumstances.
17383 Fixes bugs #5525, #10906.
17384
17385 2012-03-08 Glenn Morris <rgm@gnu.org>
17386
17387 * files.el (locate-dominating-file, dir-locals-find-file):
17388 Undo 2012-03-06 change.
17389
17390 2012-03-07 Eli Zaretskii <eliz@gnu.org>
17391
17392 * international/quail.el (quail-help):
17393 Force bidi-paragraph-direction be left-to-right. See discussion in
17394 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
17395 for the reason.
17396
17397 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
17398
17399 Avoid superfluous registering of signals. (Bug#10807)
17400
17401 * notifications.el (notifications-on-action-object)
17402 (notifications-on-close-object): New defvars.
17403 (notifications-on-action-signal, notifications-on-closed-signal):
17404 Unregister the signal if not needed any longer.
17405 (notifications-notify): Register `notifications-action-signal' or
17406 `notifications-closed-signal', if :on-action or :on-close has been
17407 passed as argument.
17408
17409 2012-03-07 Chong Yidong <cyd@gnu.org>
17410
17411 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
17412 non-X platforms.
17413
17414 2012-03-06 Glenn Morris <rgm@gnu.org>
17415
17416 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
17417 (x-disown-selection-internal, x-get-selection-internal):
17418 Doc fix (add arglist signatures). (Bug#10783)
17419
17420 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
17421
17422 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
17423 Handle breakpoints with no "type".
17424
17425 2012-03-06 Glenn Morris <rgm@gnu.org>
17426
17427 * files.el (locate-dominating-file): Add optional predicate argument.
17428 (dir-locals-find-file): Make use of above change.
17429
17430 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
17431
17432 * info.el (Info-insert-dir): Also try "dir.gz".
17433
17434 2012-03-06 Glenn Morris <rgm@gnu.org>
17435
17436 * files.el (dir-locals-find-file):
17437 Ignore non-readable or non-regular files. (Bug#10928)
17438
17439 * files.el (locate-dominating-file): Doc fix.
17440
17441 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
17442
17443 * calendar/calendar.el (calendar-set-mode-line):
17444 `getenv' returns a string. (Bug#10951)
17445
17446 2012-03-05 Leo Liu <sdl.web@gmail.com>
17447
17448 * simple.el (backward-delete-char-untabify): Constrain point to
17449 field (Bug#10939).
17450
17451 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
17452
17453 2012-03-05 Chong Yidong <cyd@gnu.org>
17454
17455 * simple.el (count-words): If called from Lisp, return the word
17456 count, for symmetry with `count-lines'. Arglist changed.
17457 (count-words--message): Args changed. Consolidate counting code
17458 from count-words and count-words-region.
17459 (count-words-region): Caller changed.
17460 (count-lines-region): Make it an obsolete alias.
17461
17462 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
17463
17464 * saveplace.el (save-place-to-alist)
17465 (save-place-ignore-files-regexp): Allow value nil to disable this
17466 feature.
17467
17468 2012-03-04 Chong Yidong <cyd@gnu.org>
17469
17470 * faces.el (face-spec-reset-face): For the default face, reset the
17471 attributes to default values (Bug#10748).
17472
17473 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
17474
17475 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
17476 previous patch: Check `message-send-mail-function', and not the
17477 default function (bug#10897).
17478
17479 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
17480
17481 * notifications.el (notifications-on-action-signal)
17482 (notifications-on-closed-signal): Check for unique service name of
17483 incoming event. Fix error in removing entry.
17484 (top): Register for signals with wildcard service name.
17485 (notifications-notify): Use daemon unique service name for map entries.
17486
17487 2012-03-04 Chong Yidong <cyd@gnu.org>
17488
17489 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
17490
17491 2012-03-04 Glenn Morris <rgm@gnu.org>
17492
17493 * abbrev.el (copy-abbrev-table, abbrev-table-p)
17494 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
17495 (expand-abbrev, define-abbrev-table): Doc fixes.
17496
17497 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
17498
17499 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
17500 `message-default-send-mail-function' and not `send-mail-function'
17501 when doing the prompting for `sendmail-query-once' before sending
17502 in Message buffers (bug#10897).
17503
17504 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
17505 This is inconsistent with all the other stream functions, which leave
17506 the setting up to the higher levels (if so wanted) (bug#10931).
17507
17508 2012-03-02 Alan Mackenzie <acm@muc.de>
17509
17510 Depessimize the handling of very large macros.
17511
17512 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
17513 (c-macro-cache-syntactic): New variables to implement a one
17514 element macro cache.
17515 (c-invalidate-macro-cache): New function.
17516 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
17517 Adapt to use the new cache.
17518 (c-state-safe-place): Use better the cache of safe positions.
17519 (c-state-semi-nonlit-pos-cache)
17520 (c-state-semi-nonlit-pos-cache-limit):
17521 New variables for...
17522 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
17523 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
17524 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
17525 Use c-state-semi-safe-place.
17526
17527 * progmodes/cc-langs.el (c-get-state-before-change-functions):
17528 Add c-invalidate-macro-cache to the C, C++, Obj entries.
17529
17530 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
17531
17532 * jka-compr.el (jka-compr-call-process):
17533 Apply `file-accessible-directory-p' only when the default directory is
17534 not remote.
17535
17536 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
17537
17538 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
17539 access of FILE2, if FILE1 does not exist.
17540
17541 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
17542 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
17543
17544 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
17545 Add "PAGER=" to `process-environment'.
17546
17547 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
17548
17549 * progmodes/sql.el: Bug fix
17550 (sql-get-login-ext): Save login values in globals.
17551 (sql-get-login): Use new version of `sql-get-login-ext'.
17552 (sql-interactive-mode): Set global `sql-connection' to nil.
17553 (sql-connect): Set global values for connection.
17554 (sql-product-interactive): Save global values as buffer local.
17555
17556 2012-02-29 Leo Liu <sdl.web@gmail.com>
17557
17558 * abbrev.el (define-abbrevs): Reset sys to nil.
17559
17560 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
17561
17562 * files.el (file-equal-p): Rename from `files-equal-p'.
17563 Return nil when one or both files don't exist.
17564 (file-subdir-of-p): Now only top directory must exists,
17565 return nil if it doesn't.
17566 (copy-directory): No need to test with `file-subdir-of-p' after
17567 creating dir.
17568 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
17569 to `file-equal-p'.
17570
17571 2012-02-28 Glenn Morris <rgm@gnu.org>
17572
17573 * shell.el (shell-mode):
17574 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
17575 * play/landmark.el (landmark-font-lock-face-O):
17576 * play/handwrite.el (handwrite):
17577 * play/gomoku.el (gomoku-O):
17578 * net/browse-url.el (browse-url-browser-display):
17579 * international/mule.el (define-charset):
17580 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
17581 * filesets.el (filesets-find-file-delay):
17582 * eshell/em-xtra.el (eshell-xtra):
17583 * eshell/em-unix.el (eshell-grep):
17584 * emulation/viper.el (viper-mode):
17585 * emacs-lisp/regexp-opt.el (regexp-opt-group):
17586 * emacs-lisp/easymenu.el (easy-menu-define):
17587 * calendar/timeclock.el (timeclock-use-display-time):
17588 * bs.el (bs-mode):
17589 * bookmark.el (bookmark-save-flag):
17590 Doc fix (standardize possessive apostrophe usage).
17591
17592 2012-02-27 Chong Yidong <cyd@gnu.org>
17593
17594 * emulation/viper-cmd.el (viper-intercept-ESC-key):
17595 Fix key-binding lookup for ESC key (Bug#9146).
17596
17597 * font-lock.el (font-lock-specified-p): Rename from
17598 font-lock-spec-present. Callers changed.
17599
17600 2012-02-27 Daniel Hackney <dan@haxney.org>
17601
17602 * emacs-lisp/package.el (package-compute-transaction):
17603 Handle holding a package version to t in package-load-list.
17604
17605 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
17606
17607 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
17608 (tramp-get-inode, tramp-get-device): Use cached values.
17609
17610 2012-02-26 Alan Mackenzie <acm@muc.de>
17611
17612 Check there is a font-lock specification before doing initial
17613 fontification.
17614
17615 * font-core.el (font-lock-mode): Move the conditional from
17616 :after-hook to font-lock-initial-fontify.
17617 (font-lock-default-function): Move the check for a specification
17618 to font-lock-spec-present.
17619
17620 * font-lock.el (font-lock-initial-fontify): Call ...
17621 (font-lock-spec-present): New function.
17622
17623 2012-02-26 Jim Blandy <jimb@red-bean.com>
17624
17625 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
17626 (gdb-send): Apply it to the operand of the '-interpreter-exec
17627 console' command, so that we can pass arguments with (say) quotes
17628 in them. Store exact string sent in gdb-debug-log (Bug#10765).
17629
17630 2012-02-26 Chong Yidong <cyd@gnu.org>
17631
17632 * help-fns.el (describe-function-1): Clarify description of
17633 remapping (Bug#10844).
17634
17635 * files.el (files-equal-p): Doc fix.
17636 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
17637 and quit the loop once a mismatch is found.
17638
17639 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
17640
17641 * bs.el (bs--show-with-configuration): Don't throw an error
17642 if the window cannot be split; otherwise, subsequent calls to
17643 bs-show fail, restoring a stale window config. (Bug#10882)
17644
17645 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
17646
17647 * term/ns-win.el (global-map): Bind ns-drag-file to
17648 ns-find-file (Bug#5855, Bug#10050).
17649
17650 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
17651
17652 * calendar/parse-time.el (parse-time-string): Allow extractor to
17653 return nil.
17654
17655 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
17656
17657 * net/tramp.el (tramp-file-name-for-operation):
17658 Add `files-equal-p' and `file-subdir-of-p'.
17659
17660 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
17661 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
17662 Add COPY-CONTENTS argument.
17663
17664 2012-02-25 Chong Yidong <cyd@gnu.org>
17665
17666 Add custom groups for VC backends, for consistency with vc-bzr.
17667
17668 * vc/vc-arch.el (vc-arch):
17669 * vc/vc-cvs.el (vc-cvs):
17670 * vc/vc-git.el (vc-git):
17671 * vc/vc-hg.el (vc-hg):
17672 * vc/vc-mtn.el (vc-mtn):
17673 * vc/vc-rcs.el (vc-rcs):
17674 * vc/vc-sccs.el (vc-sccs):
17675 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
17676 All relevant defcustoms reassigned.
17677
17678 2012-02-25 Chong Yidong <cyd@gnu.org>
17679
17680 * newcomment.el (comment-styles): Add autoload (Bug#10868).
17681
17682 * term/x-win.el (x-initialize-window-system): Reduce default for
17683 x-selection-timeout to 5 seconds (Bug#8869).
17684
17685 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
17686
17687 * files.el (files-equal-p, file-subdir-of-p): New functions.
17688 (copy-directory): Error when trying to copy a directory on itself.
17689 Add missing copy-contents arg to tramp handler.
17690 * dired-aux.el (dired-copy-file-recursive): Same.
17691 (dired-create-files): Modify destination when source is equal to
17692 dest when copying files.
17693 Return also when dest is a subdir of source. (Bug#10489)
17694
17695 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
17696
17697 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
17698 (Bug#10874)
17699
17700 2012-02-23 Alan Mackenzie <acm@muc.de>
17701
17702 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
17703 parameter "after-hook:" to allow the expansion to run code after
17704 the execution of the mode hooks.
17705
17706 * font-lock.el (font-lock-initial-fontify): New function extracted
17707 from font-lock-mode-internal.
17708
17709 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
17710 :after-hook.
17711
17712 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
17713
17714 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
17715 (completion--cache-all-sorted-completions): New function.
17716 (completion-all-sorted-completions): Use it.
17717 (completion--do-completion, minibuffer-force-complete):
17718 Use it to re-instate the flush hook.
17719
17720 * icomplete.el (icomplete-completions): Replace last fix with a better
17721 one (bug#10850).
17722
17723 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
17724
17725 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
17726 when it might call us back infinitely (bug#10797).
17727
17728 2012-02-23 Glenn Morris <rgm@gnu.org>
17729
17730 * minibuffer.el (completion-category-overrides): Doc fix.
17731
17732 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
17733
17734 * minibuffer.el (completion-table-with-context): Fix inf-loop.
17735 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
17736
17737 2012-02-23 Glenn Morris <rgm@gnu.org>
17738
17739 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
17740 (authors-obsolete-files-regexps, authors-ignored-files)
17741 (authors-ambiguous-files, authors-renamed-files-alist):
17742 Add more entries.
17743
17744 2012-02-23 Juri Linkov <juri@jurta.org>
17745
17746 * isearch.el (isearch-occur): Sync interactive spec with occur's
17747 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
17748
17749 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
17750
17751 2012-02-22 Juri Linkov <juri@jurta.org>
17752
17753 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
17754 (ucs-insert): Doc fix. Check for hex digits in the string.
17755 Don't display `nil' in the error message. (Bug#10857)
17756
17757 2012-02-22 Alan Mackenzie <acm@muc.de>
17758
17759 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
17760
17761 2012-02-22 Glenn Morris <rgm@gnu.org>
17762
17763 * ffap.el (ffap-c-path):
17764 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
17765
17766 2012-02-22 Chong Yidong <cyd@gnu.org>
17767
17768 * custom.el (load-theme): Doc fix.
17769
17770 2012-02-22 Glenn Morris <rgm@gnu.org>
17771
17772 * dired-x.el (dired-guess-shell-alist-default):
17773 Remove escape sequences from nroff output. (Bug#172)
17774
17775 2012-02-21 Glenn Morris <rgm@gnu.org>
17776
17777 * vc/emerge.el (emerge-defvar-local):
17778 Set `permanent-local' property rather than unused `preserved'.
17779
17780 * textmodes/picture.el (picture-delete-char): New alias.
17781 (picture-mode-map): Use it. (Bug#10860)
17782 (picture-mode): Doc fix.
17783
17784 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
17785
17786 * newcomment.el (uncomment-region-default): Remove unused binding.
17787
17788 2012-02-21 Glenn Morris <rgm@gnu.org>
17789
17790 * textmodes/picture.el (picture-motion, picture-motion-reverse)
17791 (picture-self-insert, picture-tab-chars): Doc fix.
17792 (picture-mode-map): Fix C-a, C-e.
17793
17794 2012-02-20 Glenn Morris <rgm@gnu.org>
17795
17796 * emacs-lisp/authors.el (authors-aliases): Add another entry.
17797
17798 2012-02-20 Leo Liu <sdl.web@gmail.com>
17799
17800 * icomplete.el (icomplete-completions): Check FROM arg before
17801 passing to substring (Bug#10850).
17802
17803 2012-02-19 Chong Yidong <cyd@gnu.org>
17804
17805 * comint.el: Require ansi-color.
17806 (comint-output-filter-functions): Add ansi-color-process-output.
17807
17808 * ansi-color.el: Don't set comint-output-filter-functions; it is
17809 now in the initial value defined in comint.el.
17810 (ansi-color-apply-face-function): New variable.
17811 (ansi-color-apply-on-region): Use it.
17812 (ansi-color-apply-overlay-face): New function.
17813
17814 * shell.el (shell): No need to require ansi-color.
17815 (shell-mode): Use ansi-color-apply-face-function to highlight
17816 color escapes using font-lock-face property (Bug#10835).
17817
17818 2012-02-19 Chong Yidong <cyd@gnu.org>
17819
17820 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
17821 mode-line formats (Bug#10839).
17822
17823 2012-02-18 Glenn Morris <rgm@gnu.org>
17824
17825 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
17826
17827 * mail/undigest.el (unforward-rmail-message): Doc fix.
17828
17829 * saveplace.el (save-place-ignore-files-regexp): Add :version.
17830
17831 2012-02-18 Eli Zaretskii <eliz@gnu.org>
17832
17833 * international/characters.el (script-list): Sync with the latest
17834 Unicode Character Database.
17835
17836 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
17837
17838 * international/titdic-cnv.el: Remove duplicate coding tag.
17839 * language/cham.el: Likewise.
17840 * language/tai-viet.el: Likewise.
17841
17842 2012-02-18 Glenn Morris <rgm@gnu.org>
17843
17844 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
17845 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
17846 (calendar-bahai-all-holidays-flag, calendar-other-dates):
17847 * calendar/diary-lib.el (diary-abbreviated-year-flag):
17848 * calendar/holidays.el (holiday-bahai-holidays)
17849 (calendar-holidays, list-holidays):
17850 Use utf-8 BahĂ¡'Ă­ in doc-strings, menus, etc.
17851
17852 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
17853
17854 * saveplace.el (save-place-ignore-files-regexp): New variable
17855 allowing for excluding files from saving their location of point.
17856 The default value matches the temporary commit message editing
17857 files from Git, SVN, Bazaar, and Mercurial.
17858 (save-place-to-alist): Use it.
17859
17860 2012-02-17 Lawrence Mitchell <wence@gmx.li>
17861 Stefan Monnier <monnier@iro.umontreal.ca>
17862
17863 * newcomment.el (uncomment-region-default): Don't leave extra space
17864 when an arg is provided (bug#8150).
17865
17866 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
17867
17868 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
17869
17870 2012-02-17 Glenn Morris <rgm@gnu.org>
17871
17872 * net/socks.el: Require network-stream. (Bug#10599)
17873
17874 2012-02-17 Kenichi Handa <handa@m17n.org>
17875
17876 * international/charprop.el:
17877 * international/uni-name.el:
17878 * international/uni-old-name.el:
17879 * international/uni-comment.el: Regenerate.
17880
17881 2012-02-16 Glenn Morris <rgm@gnu.org>
17882
17883 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
17884 Interactively in calendar buffer, give an error if not on a date.
17885
17886 2012-02-15 Glenn Morris <rgm@gnu.org>
17887
17888 * shell.el (shell-delimiter-argument-list):
17889 Revert 2011-02-17 change. (Bug#8027)
17890
17891 2012-02-15 Chong Yidong <cyd@gnu.org>
17892
17893 * minibuffer.el (completion-at-point-functions): Doc fix.
17894
17895 * custom.el (defcustom): Doc fix; note use of defvar.
17896
17897 2012-02-15 Glenn Morris <rgm@gnu.org>
17898
17899 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
17900 Doc fixes.
17901
17902 2012-02-14 Glenn Morris <rgm@gnu.org>
17903
17904 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
17905
17906 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
17907
17908 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
17909 way the ports list is computed.
17910 (smtpmail-query-smtp-server): Prompt the user for a port number if
17911 we can't connect to any of the standard ports (bug#10810).
17912
17913 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
17914
17915 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
17916
17917 2012-02-13 Glenn Morris <rgm@gnu.org>
17918
17919 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
17920
17921 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
17922
17923 * net/gnutls.el (gnutls-trustfiles): New variable.
17924 (gnutls-negotiate): Use it.
17925
17926 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
17927
17928 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
17929 does its stuff if Gnus is running.
17930
17931 2012-02-13 Alan Mackenzie <acm@muc.de>
17932
17933 Fix a loop in c-set-fl-decl-start.
17934
17935 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
17936 c-backward-syntactic-ws actually moves backwards.
17937
17938 2012-02-13 Leo Liu <sdl.web@gmail.com>
17939
17940 * net/rcirc.el (rcirc-markup-attributes): Move point to the
17941 beginning so that all \C-o chars are removed.
17942
17943 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
17944
17945 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
17946
17947 2012-02-12 Alan Mackenzie <acm@muc.de>
17948
17949 Fix infinite loop with long macros.
17950 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
17951
17952 2012-02-12 Chong Yidong <cyd@gnu.org>
17953
17954 * window.el (display-buffer): Doc fix (Bug#10785).
17955
17956 2012-02-12 Glenn Morris <rgm@gnu.org>
17957
17958 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
17959 (x-disown-selection-internal, x-get-selection-internal):
17960 Sync docs with the xselect.c versions.
17961
17962 * allout-widgets.el: Add missing license notice.
17963
17964 2012-02-11 Glenn Morris <rgm@gnu.org>
17965
17966 * select.el (x-get-selection-internal, x-own-selection-internal)
17967 (x-disown-selection-internal):
17968 * x-dnd.el (x-get-selection-internal): Update declarations.
17969
17970 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
17971
17972 * window.el (window-sides-slots):
17973 * tool-bar.el (tool-bar-position):
17974 * term/xterm.el (xterm-extra-capabilities):
17975 * ses.el (ses-self-reference-early-detection):
17976 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
17977 (verilog-auto-wire-type)
17978 (verilog-auto-delete-trailing-whitespace)
17979 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
17980 (verilog-auto-tieoff-declaration):
17981 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
17982 (sql-oracle-statement-starters, sql-oracle-scan-on):
17983 * progmodes/prolog.el (prolog-align-comments-flag)
17984 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
17985 (prolog-left-indent-regexp, prolog-paren-indent-p)
17986 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
17987 (prolog-types, prolog-mode-specificators)
17988 (prolog-determinism-specificators, prolog-directives)
17989 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
17990 (prolog-electric-dot-flag)
17991 (prolog-electric-dot-full-predicate-template)
17992 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
17993 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
17994 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
17995 (prolog-program-switches, prolog-prompt-regexp)
17996 (prolog-debug-on-string, prolog-debug-off-string)
17997 (prolog-trace-on-string, prolog-trace-off-string)
17998 (prolog-zip-on-string, prolog-zip-off-string)
17999 (prolog-use-standard-consult-compile-method-flag)
18000 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
18001 (prolog-imenu-max-lines, prolog-info-predicate-index)
18002 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
18003 (prolog-char-quote-workaround):
18004 * progmodes/cc-vars.el (c-defun-tactic):
18005 * net/tramp.el (tramp-encoding-command-interactive)
18006 (tramp-local-end-of-line):
18007 * net/soap-client.el (soap-client):
18008 * net/netrc.el (netrc-file):
18009 * net/gnutls.el (gnutls):
18010 * minibuffer.el (completion-category-overrides)
18011 (completion-cycle-threshold)
18012 (completion-pcm-complete-word-inserts-delimiters):
18013 * man.el (Man-name-local-regexp):
18014 * mail/feedmail.el (feedmail-display-full-frame):
18015 * international/characters.el (glyphless-char-display-control):
18016 * eshell/em-ls.el (eshell-ls-date-format):
18017 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
18018 (lisp-lambda-list-keyword-parameter-indentation)
18019 (lisp-lambda-list-keyword-parameter-alignment):
18020 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
18021 * dired-x.el (dired-omit-verbose):
18022 * cus-theme.el (custom-theme-allow-multiple-selections):
18023 * calc/calc.el (calc-highlight-selections-with-faces)
18024 (calc-lu-field-reference, calc-lu-power-reference)
18025 (calc-note-threshold):
18026 * battery.el (battery-mode-line-limit):
18027 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
18028 (archive-7z-update):
18029 * allout.el (allout-prefixed-keybindings)
18030 (allout-unprefixed-keybindings)
18031 (allout-inhibit-auto-fill-on-headline)
18032 (allout-flattened-numbering-abbreviation):
18033 * allout-widgets.el (allout-widgets-auto-activation)
18034 (allout-widgets-icons-dark-subdir)
18035 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
18036 (allout-widgets-theme-dark-background)
18037 (allout-widgets-theme-light-background)
18038 (allout-widgets-item-image-properties-emacs)
18039 (allout-widgets-item-image-properties-xemacs)
18040 (allout-widgets-run-unit-tests-on-load)
18041 (allout-widgets-time-decoration-activity)
18042 (allout-widgets-hook-error-post-time)
18043 (allout-widgets-track-decoration):
18044 Add missing :version tags to new defcustoms and defgroups.
18045
18046 * progmodes/sql.el (sql-ansi-statement-starters)
18047 (sql-oracle-statement-starters): Add custom type.
18048
18049 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
18050 (prolog-system-version): Give it a type.
18051
18052 2012-02-11 Eli Zaretskii <eliz@gnu.org>
18053
18054 * term/pc-win.el (x-select-text, x-selection-owner-p)
18055 (x-own-selection-internal, x-disown-selection-internal)
18056 (x-get-selection-internal): Sync doc strings and argument lists
18057 with xselect.c, common-win.el and x-win.el. (Bug#10783)
18058
18059 2012-02-11 Leo Liu <sdl.web@gmail.com>
18060
18061 * progmodes/python.el (python-end-of-statement): Fix infinite
18062 loop. (Bug#10788)
18063
18064 2012-02-10 Glenn Morris <rgm@gnu.org>
18065
18066 * international/mule-cmds.el (unify-8859-on-encoding-mode)
18067 (unify-8859-on-decoding-mode): Properly mark as obsolete.
18068
18069 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
18070
18071 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
18072 about SMTP before checking the From header.
18073
18074 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
18075 into own function for reuse by emacsbug.el.
18076
18077 2012-02-10 Leo Liu <sdl.web@gmail.com>
18078
18079 * subr.el (condition-case-unless-debug): Rename from
18080 condition-case-no-debug. All callers changed.
18081 (with-demoted-errors): Fix caller.
18082
18083 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
18084 * nxml/rng-valid.el (rng-do-some-validation):
18085 * emacs-lisp/package.el (package-refresh-contents)
18086 (package-menu-execute):
18087 * desktop.el (desktop-create-buffer):
18088 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
18089
18090 2012-02-10 Glenn Morris <rgm@gnu.org>
18091
18092 * textmodes/bibtex.el:
18093 Add missing :version tags for new/changed defcustoms.
18094
18095 * files.el (remote-file-name-inhibit-cache): Doc fixes.
18096
18097 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
18098
18099 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
18100 (smtpmail-via-smtp): Use it, or fall back on the From address.
18101 (smtpmail-send-it): Ditto.
18102
18103 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
18104
18105 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
18106 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
18107 (byte-compile-tmp-var): New const.
18108 (byte-compile-defvar): Use it to minimize .elc size.
18109 Just use `defvar' rather than simulate it (bug#10761).
18110
18111 2012-02-09 Glenn Morris <rgm@gnu.org>
18112
18113 * files.el (rename-uniquely): Doc fix. (Bug#3806)
18114
18115 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
18116 Add :version tags.
18117
18118 * progmodes/compile.el (compilation-error-screen-columns)
18119 (compilation-first-column, compilation-filter-start): Doc fixes.
18120
18121 * vc/log-view.el (log-view-toggle-entry-display):
18122 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
18123
18124 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
18125 (report-emacs-bug-can-use-xdg-email):
18126 (report-emacs-bug-insert-to-mailer): Doc fixes.
18127 (report-emacs-bug): Message fix.
18128
18129 * net/browse-url.el (browse-url-can-use-xdg-open)
18130 (browse-url-xdg-open): Doc fixes.
18131
18132 * electric.el (electric-indent-mode, electric-pair-mode)
18133 (electric-layout-rules, electric-layout-mode): Doc fixes.
18134 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
18135
18136 2012-02-08 Martin Rudalics <rudalics@gmx.at>
18137
18138 * server.el (server-unselect-display): Don't inadvertently kill
18139 the current buffer. (Bug#10729)
18140
18141 2012-02-08 Glenn Morris <rgm@gnu.org>
18142
18143 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
18144 (sql-list-table): Doc fixes.
18145
18146 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
18147 Comment out (does nothing).
18148
18149 * completion.el (dynamic-completion-mode):
18150 * dirtrack.el (dirtrack-debug-mode):
18151 * electric.el (electric-layout-mode):
18152 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
18153 * face-remap.el (text-scale-mode, buffer-face-mode):
18154 * iimage.el (iimage-mode):
18155 * image-mode.el (image-transform-mode):
18156 * minibuffer.el (completion-in-region-mode):
18157 * scroll-lock.el (scroll-lock-mode):
18158 * simple.el (next-error-follow-minor-mode):
18159 * tar-mode.el (tar-subfile-mode):
18160 * tooltip.el (tooltip-mode):
18161 * vcursor.el (vcursor-use-vcursor-map):
18162 * wid-browse.el (widget-minor-mode):
18163 * emulation/tpu-edt.el (tpu-edt-mode):
18164 * emulation/tpu-extras.el (tpu-cursor-free-mode):
18165 * international/iso-ascii.el (iso-ascii-mode):
18166 * language/thai-util.el (thai-word-mode):
18167 * mail/supercite.el (sc-minor-mode):
18168 * net/goto-addr.el (goto-address-mode):
18169 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
18170 * progmodes/cwarn.el (cwarn-mode):
18171 * progmodes/flymake.el (flymake-mode):
18172 * progmodes/glasses.el (glasses-mode):
18173 * progmodes/hideshow.el (hs-minor-mode):
18174 * progmodes/pascal.el (pascal-outline-mode):
18175 * textmodes/enriched.el (enriched-mode):
18176 * vc/smerge-mode.el (smerge-mode):
18177 Doc fixes (minor mode argument).
18178
18179 2012-02-07 Eli Zaretskii <eliz@gnu.org>
18180
18181 * ls-lisp.el (ls-lisp-sanitize): New function.
18182 (ls-lisp-insert-directory): Use it to fix or remove any elements
18183 in file-alist with missing attributes. (Bug#4673)
18184
18185 2012-02-07 Alan Mackenzie <acm@muc.de>
18186
18187 Fix spurious recognition of c-in-knr-argdecl.
18188
18189 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
18190 putative K&R region.
18191
18192 2012-02-07 Alan Mackenzie <acm@muc.de>
18193
18194 * progmodes/cc-engine.el (c-forward-objc-directive):
18195 Prevent looping in "#pragma mark @implementation".
18196
18197 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
18198
18199 * notifications.el (notifications-on-closed-signal): Make `reason'
18200 optional. (Bug#10744)
18201
18202 2012-02-07 Glenn Morris <rgm@gnu.org>
18203
18204 * emacs-lisp/easy-mmode.el (define-minor-mode):
18205 Doc fixes for the macro and the mode it defines.
18206
18207 * image.el (imagemagick-types-inhibit): Doc fix.
18208
18209 * cus-start.el (imagemagick-render-type): Add it.
18210
18211 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
18212
18213 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
18214 Set the default at load time, too, so that `font-lock-fontify-buffer'
18215 can be called without setting up the entire mode first. This fixes
18216 a bug in `mm-inline-text' with C MIME parts.
18217
18218 2012-02-06 Chong Yidong <cyd@gnu.org>
18219
18220 * simple.el (list-processes--refresh): Delete exited processes
18221 (Bug#8094).
18222
18223 * comint.el (comint-next-prompt): next-single-char-property-change
18224 and prev-single-char-property-change never return nil (Bug#8657).
18225
18226 * custom.el (defcustom): Doc fix (Bug#9711).
18227
18228 2012-02-05 Chong Yidong <cyd@gnu.org>
18229
18230 * cus-edit.el (custom-variable-reset-backup): Quote the value
18231 before storing it in the customized-value property (Bug#6712).
18232 (custom-display): Add a customization type tag.
18233 (custom-buffer-create-internal): Improve tooltip message.
18234
18235 * wid-edit.el (widget-field-value-get): New optional arg to
18236 suppress trailing whitespace truncation.
18237 (character): Use it (Bug#2689).
18238
18239 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
18240
18241 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
18242 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
18243
18244 2012-02-05 Chong Yidong <cyd@gnu.org>
18245
18246 * cus-edit.el (custom-variable-value-create): For mismatched
18247 types, show the current value (Bug#7600).
18248
18249 * custom.el (defcustom): Doc fix.
18250
18251 2012-02-05 Glenn Morris <rgm@gnu.org>
18252
18253 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
18254
18255 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
18256
18257 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
18258 (pp-buffer): Use `ignore-errors', `looking-at-p'.
18259 (pp-last-sexp): Use `looking-at-p'.
18260
18261 2012-02-04 Glenn Morris <rgm@gnu.org>
18262
18263 * files.el (revert-buffer):
18264 Doc fix (mention revert-buffer-in-progress-p).
18265
18266 * emacs-lisp/ert-x.el (ert-simulate-command):
18267 Check deferred-action-list (which is obsolete) is bound.
18268
18269 * subr.el (with-wrapper-hook): Doc fixes.
18270
18271 * simple.el (filter-buffer-substring-functions)
18272 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
18273
18274 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
18275
18276 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
18277 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
18278
18279 2012-02-04 Leo Liu <sdl.web@gmail.com>
18280
18281 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
18282
18283 2012-02-04 Glenn Morris <rgm@gnu.org>
18284
18285 * image.el (image-extension-data): Add obsolete alias.
18286
18287 * isearch.el (isearch-update): Doc fix.
18288
18289 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
18290
18291 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
18292
18293 2012-02-03 Glenn Morris <rgm@gnu.org>
18294
18295 * image.el (image-animated-p): Doc fix. Use image-animated-types.
18296 (image-animate-timeout): Doc fix.
18297
18298 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
18299
18300 2012-02-02 Glenn Morris <rgm@gnu.org>
18301
18302 * server.el (server-auth-dir): Doc fix.
18303 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
18304
18305 * subr.el (run-mode-hooks): Doc fix.
18306
18307 2012-02-02 Juri Linkov <juri@jurta.org>
18308
18309 * image-mode.el (image-toggle-display-image): Remove tautological
18310 `major-mode' from the `derived-mode-p' test.
18311
18312 2012-02-02 Kenichi Handa <handa@m17n.org>
18313
18314 * composite.el (compose-region): Cancel previous change.
18315
18316 2012-02-02 Kenichi Handa <handa@m17n.org>
18317
18318 * composite.el (compose-region, compose-string): Signal error for
18319 a null string component (Bug#6988).
18320
18321 2012-02-01 Chong Yidong <cyd@gnu.org>
18322
18323 * view.el (view-buffer-other-window, view-buffer-other-frame):
18324 Handle special modes like view-buffer (Bug#10650).
18325 (view-buffer): Simplify.
18326
18327 * frame.el (set-frame-font): Tweak meaning of third argument.
18328
18329 * dynamic-setting.el (font-setting-change-default-font):
18330 Use set-frame-font (Bug#9982).
18331
18332 2012-02-01 Glenn Morris <rgm@gnu.org>
18333
18334 * progmodes/compile.el (compilation-internal-error-properties):
18335 Respect compilation-first-column in the "*compilation*" buffer.
18336
18337 * emacs-lisp/easy-mmode.el (define-minor-mode):
18338 Relax :variable's test for a named function.
18339
18340 2012-01-31 Alan Mackenzie <acm@muc.de>
18341
18342 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
18343 off by one error.
18344
18345 2012-01-31 Chong Yidong <cyd@gnu.org>
18346
18347 * frame.el (set-frame-font): New arg ALL-FRAMES.
18348
18349 * menu-bar.el (menu-set-font): Use set-frame-font.
18350
18351 * faces.el (face-spec-reset-face): Don't apply unspecified
18352 attribute values to the default face.
18353
18354 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
18355
18356 * progmodes/cwarn.el (cwarn): Remove dead link.
18357 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
18358 Remove * from defcustom docstrings.
18359 (turn-on-cwarn-mode): Make obsolete.
18360 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
18361 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
18362
18363 2012-01-31 Glenn Morris <rgm@gnu.org>
18364
18365 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
18366 Fix :variable handling of mode a symbol not equal to modefun.
18367 Allow named functions to be used as the cdr of :variable.
18368
18369 2012-01-30 Glenn Morris <rgm@gnu.org>
18370
18371 * emacs-lisp/authors.el (authors-fixed-entries):
18372 Remove reference to deleted file rnewspost.el.
18373
18374 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
18375
18376 * window.el (window-with-parameter): Remove unused variable `windows'.
18377 (window--side-check): Remove unused variable `code'.
18378 (window--resize-siblings): Remove unused variable `first'.
18379 (adjust-window-trailing-edge): Remove unused variable `failed'.
18380 (window-deletable-p, window--delete): Remove unused variable `buffer'.
18381 Use `let', not `let*'.
18382 (balance-windows-2): Remove unused variable `found'.
18383 (window--state-put-2): Remove unused variable `splits'.
18384 (window-state-put): Remove unused variable `selected'.
18385 (same-window-p): Use `string-match-p'.
18386 (display-buffer-assq-regexp): Remove unused variable `value'.
18387 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
18388 Mark argument ALIST as ignored.
18389 (pop-to-buffer): Remove unused variable `old-window'.
18390
18391 2012-01-29 Eli Zaretskii <eliz@gnu.org>
18392
18393 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
18394 and .lzma compressed files.
18395
18396 2012-01-29 Chong Yidong <cyd@gnu.org>
18397
18398 * frame.el (window-system-default-frame-alist): Doc fix.
18399
18400 * dynamic-setting.el (font-setting-change-default-font): Don't
18401 change the default face if SET-FONT argument is non-nil (Bug#9982).
18402
18403 2012-01-29 Samuel Bronson <naesten@gmail.com>
18404
18405 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
18406
18407 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
18408
18409 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
18410 breakpoints in files outside current directory (Bug#6098).
18411
18412 2012-01-29 Chong Yidong <cyd@gnu.org>
18413
18414 * progmodes/python.el: Require ansi-color at top-level.
18415
18416 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
18417 Define and use in Emacs Lisp mode (Bug#9360).
18418 (lisp-mode-abbrev-table): Add doc.
18419 (lisp-mode-variables): Don't set local-abbrev-table.
18420 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
18421
18422 2012-01-28 Roland Winkler <winkler@gnu.org>
18423
18424 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
18425
18426 2012-01-28 Roland Winkler <winkler@gnu.org>
18427
18428 * textmodes/bibtex.el (bibtex-entry-alist): New function.
18429 (bibtex-set-dialect): Use it. Either set global values of
18430 dialect-dependent variables or bind these variables buffer-locally
18431 (Bug#10254).
18432 (bibtex-mode): Call bibtex-set-dialect via
18433 hack-local-variables-hook.
18434 (bibtex-dialect): Update docstring.
18435 Add safe-local-variable predicate.
18436 (bibtex-entry-alist, bibtex-field-alist): Initialize via
18437 bibtex-set-dialect.
18438 (bibtex-mode-map): Define menu for each dialect.
18439 (bibtex-entry): Fix docstring.
18440
18441 2012-01-28 Chong Yidong <cyd@gnu.org>
18442
18443 * eshell/esh-arg.el (eshell-quote-argument): New function.
18444
18445 * eshell/esh-ext.el (eshell-invoke-batch-file):
18446 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
18447 first arg to eshell-parse-command (Bug#10523).
18448
18449 2012-01-28 Drew Adams <drew.adams@oracle.com>
18450
18451 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
18452 `default-directory' is non-nil.
18453
18454 2012-01-28 Eli Zaretskii <eliz@gnu.org>
18455
18456 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
18457 line that displays system-configuration-options. (Bug#9924)
18458
18459 2012-01-28 Drew Adams <drew.adams@oracle.com>
18460
18461 * descr-text.el (describe-char): Show information about POS, in
18462 addition to information about the character at POS. Improve and
18463 update the doc string. Change "code point" to "code point in
18464 charset", to avoid confusion with the character's Unicode code
18465 point shown above that. (Bug#10129)
18466
18467 2012-01-28 Eli Zaretskii <eliz@gnu.org>
18468
18469 * descr-text.el (describe-char): Show the raw character, not only
18470 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
18471 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
18472 for the reasons.
18473
18474 2012-01-28 Phil Hagelberg <phil@hagelb.org>
18475
18476 * emacs-lisp/package.el (package-install):
18477 Run package-refresh-contents if there is no archive yet (Bug#9798).
18478
18479 2012-01-28 Chong Yidong <cyd@gnu.org>
18480
18481 * emacs-lisp/package.el (package-maybe-load-descriptor):
18482 New function, split from package-maybe-load-descriptor.
18483 (package-maybe-load-descriptor): Use it.
18484 (package-download-transaction): Fully load required packages
18485 inside the loop, so that `require' calls work (Bug#10593).
18486 (package-install): No need to call package-initialize now.
18487
18488 2012-01-28 Chong Yidong <cyd@gnu.org>
18489
18490 * simple.el (deactivate-mark): Doc fix (Bug#8614).
18491
18492 * tooltip.el (tooltip-mode): Doc fix.
18493 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
18494
18495 * frame.el (set-cursor-color): Doc fix (Bug#352).
18496
18497 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
18498 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
18499
18500 * cus-edit.el (custom-buffer-create-internal): Fix search button
18501 action (Bug#10542).
18502 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
18503
18504 2012-01-27 Eduard Wiebe <usenet@pusto.de>
18505
18506 * dired.el (dired-mark-files-regexp):
18507 Include any subdirectory components. (Bug#10445)
18508
18509 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
18510
18511 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
18512 Handle [host]:port syntax. (Bug#10533)
18513
18514 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
18515
18516 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
18517
18518 2012-01-26 Glenn Morris <rgm@gnu.org>
18519
18520 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
18521 * term.el (term-raw-escape-map): Use Control-X-prefix.
18522 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
18523
18524 2012-01-25 Martin Rudalics <rudalics@gmx.at>
18525
18526 * window.el (window-state-get, window--state-get-1): Don't deal
18527 with fixed-sizeness of windows. Simplify code.
18528
18529 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
18530
18531 * window.el (window--state-get-1, window--state-put-2):
18532 Don't save and restore the mark.
18533
18534 2012-01-25 Chong Yidong <cyd@gnu.org>
18535
18536 * custom.el (custom-variable-p): Doc fix.
18537
18538 2012-01-25 Glenn Morris <rgm@gnu.org>
18539
18540 * dired.el (dired-goto-file): Handle some of the more common
18541 characters that `ls -b' escapes. (Bug#10596)
18542
18543 * progmodes/compile.el (compilation-next-error-function):
18544 Respect compilation-first-column in the "*compilation*" buffer.
18545 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
18546
18547 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
18548
18549 2012-01-24 Glenn Morris <rgm@gnu.org>
18550
18551 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
18552
18553 2012-01-24 Julien Danjou <julien@danjou.info>
18554
18555 * color.el (color-rgb-to-hsl): Fix value computing.
18556 (color-hue-to-rgb): New function.
18557 (color-hsl-to-rgb): New function.
18558 (color-clamp, color-saturate-hsl, color-saturate-name)
18559 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
18560 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
18561
18562 2012-01-24 Glenn Morris <rgm@gnu.org>
18563
18564 * vc/vc-rcs.el (vc-rcs-create-tag):
18565 * vc/vc-sccs.el (vc-sccs-create-tag):
18566 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
18567
18568 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
18569
18570 * eshell/esh-util.el (eshell-read-hosts-file):
18571 Skip comment lines. (Bug#10549)
18572
18573 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
18574
18575 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
18576
18577 * subr.el (display-delayed-warnings): Doc fix.
18578 (collapse-delayed-warnings): New function to collapse identical
18579 adjacent warnings.
18580 (delayed-warnings-hook): Add it.
18581
18582 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
18583
18584 * net/tramp.el (tramp-action-login): Set connection property "login-as".
18585
18586 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
18587 (tramp-default-user-alist): Don't add "pscp".
18588 (tramp-do-copy-or-rename-file-out-of-band): Use connection
18589 property "login-as", if set. (Bug#10530)
18590
18591 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
18592
18593 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
18594 "plink1" and "psftp". (Bug#10530)
18595
18596 2012-01-21 Kenichi Handa <handa@m17n.org>
18597
18598 * international/mule-cmds.el (prefer-coding-system): Show a
18599 warning message if the default value of file-name-coding-system
18600 was not changed.
18601
18602 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
18603
18604 * windmove.el (windmove-reference-loc):
18605 Fix windmove-reference-loc miscalculation.
18606
18607 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
18608
18609 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
18610 default unit.
18611
18612 2012-01-21 Glenn Morris <rgm@gnu.org>
18613
18614 * international/mule.el (auto-coding-alist): Add .tbz.
18615
18616 * files.el (local-enable-local-variables): Doc fix.
18617 (inhibit-local-variables-regexps): Rename from
18618 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
18619 Doc fix. Add some extensions from auto-coding-alist.
18620 (inhibit-local-variables-suffixes):
18621 Rename from inhibit-first-line-modes-suffixes. Doc fix.
18622 (inhibit-local-variables-p):
18623 New function, extracted from set-auto-mode-1.
18624 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
18625 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
18626 (hack-local-variables): Doc fix. Make the mode-only case
18627 respect enable-local-variables and friends.
18628 Respect inhibit-local-variables-regexps for file-locals, but
18629 not for directory-locals.
18630 (set-visited-file-name):
18631 Take account of inhibit-local-variables-regexps.
18632 Whether it applies may change as the file name is changed.
18633 * jka-cmpr-hook.el (jka-compr-install):
18634 * jka-compr.el (jka-compr-uninstall):
18635 Update for inhibit-first-line-modes-suffixes name change.
18636
18637 2012-01-20 Martin Rudalics <rudalics@gmx.at>
18638
18639 * help-macro.el (make-help-screen): Temporarily restore original
18640 binding for minor-mode-map-alist (Bug#10454).
18641
18642 2012-01-19 Julien Danjou <julien@danjou.info>
18643
18644 * color.el (color-name-to-rgb): Use the white color to find the max
18645 color component value and return correctly computed values.
18646 (color-name-to-rgb): Add missing float conversion for max value.
18647
18648 2012-01-19 Martin Rudalics <rudalics@gmx.at>
18649
18650 * window.el (window--state-get-1, window-state-get): Do not use
18651 special state value for window-persistent-parameters.
18652 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
18653 (window--state-put-2): Reset all window parameters to nil before
18654 assigning values of persistent parameters.
18655
18656 2012-01-18 Alan Mackenzie <acm@muc.de>
18657
18658 Eliminate sluggishness and hangs in fontification of "semicolon
18659 deserts".
18660
18661 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
18662 Change value 10000 -> 3000.
18663 (c-state-safe-place): Reformulate so it doesn't stack up an
18664 infinite number of wrong entries in c-state-nonlit-pos-cache.
18665 (c-determine-limit-get-base, c-determine-limit): New functions to
18666 determine backward search limits disregarding literals.
18667 (c-find-decl-spots): Amend commenting.
18668 (c-cheap-inside-bracelist-p): New function which detects "={".
18669
18670 * progmodes/cc-fonts.el
18671 (c-make-font-lock-BO-decl-search-function): Give a limit to a
18672 backward search.
18673 (c-font-lock-declarations): Fix an occurrence of point being
18674 undefined. Check additionally for point being in a bracelist or
18675 near a macro invocation without a semicolon so as to avoid a
18676 fruitless time consuming search for a declarator. Give a more
18677 precise search limit for declarators using the new
18678 c-determine-limit.
18679
18680 2012-01-18 Glenn Morris <rgm@gnu.org>
18681
18682 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
18683 (set-auto-mode): Doc fixes.
18684
18685 2012-01-17 Glenn Morris <rgm@gnu.org>
18686
18687 * isearch.el (search-nonincremental-instead): Fix doc typo.
18688
18689 * dired.el (dired-insert-directory): Handle newlines in directory name.
18690 (dired-build-subdir-alist): Unescape newlines in directory name.
18691
18692 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
18693
18694 * net/tramp.el (tramp-local-end-of-line): New defcustom.
18695 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
18696 (tramp-action-terminal): Use it. (Bug#10530)
18697
18698 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
18699
18700 * minibuffer.el (completion--replace): Strip properties (bug#10062).
18701
18702 2012-01-16 Martin Rudalics <rudalics@gmx.at>
18703
18704 * window.el (window-state-ignored-parameters): Remove variable.
18705 (window--state-get-1): Rename argument MARKERS to IGNORE.
18706 Handle persistent window parameters. Make copy of clone-of
18707 parameter only if requested. (Bug#10348)
18708 (window--state-put-2): Install a window parameter only if it has
18709 a non-nil value or an existing parameter shall be overwritten.
18710
18711 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
18712
18713 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
18714
18715 2012-01-14 Eli Zaretskii <eliz@gnu.org>
18716
18717 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
18718 don't pass the (nil) value of `upnode' to string-match.
18719
18720 2012-01-14 Chong Yidong <cyd@gnu.org>
18721
18722 * startup.el (command-line): Fix X resource class for cursorColor.
18723 Fix values recognized by the cursorBlink resource.
18724
18725 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
18726
18727 * epg.el (epg--make-temp-file): Avoid permission race condition
18728 when running on old Emacs versions (bug#10403).
18729
18730 2012-01-14 Glenn Morris <rgm@gnu.org>
18731
18732 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
18733
18734 2012-01-13 Alan Mackenzie <acm@muc.de>
18735
18736 Fix filling for when filladapt mode is enabled.
18737
18738 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
18739 c-mask-paragraph, pass in `fill-paragraph' rather than
18740 `fill-region-as-paragraph'. (This is a reversion of a previous
18741 change.)
18742 * progmodes/cc-mode.el (c-basic-common-init):
18743 Make fill-paragraph-handle-comment buffer local and set it to nil.
18744
18745 2012-01-13 Glenn Morris <rgm@gnu.org>
18746
18747 * dired.el (dired-switches-escape-p): New function.
18748 (dired-insert-directory): Use dired-switches-escape-p.
18749 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
18750
18751 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
18752
18753 2012-01-12 Glenn Morris <rgm@gnu.org>
18754
18755 * mail/sendmail.el (mail-mode): Update paragraph-separate for
18756 changes in adaptive-fill-regexp. (Bug#10276)
18757
18758 2012-01-11 Alan Mackenzie <acm@muc.de>
18759
18760 Fix Emacs bug #10463 - put `widen's around the critical spots.
18761
18762 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
18763 widen around each invocation of c-state-pp-to-literal. Remove an
18764 unused let variable.
18765
18766 2012-01-11 Glenn Morris <rgm@gnu.org>
18767
18768 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
18769 Doc fix.
18770
18771 2012-01-10 Chong Yidong <cyd@gnu.org>
18772
18773 * net/network-stream.el (network-stream-open-starttls):
18774 Avoid emitting a confusing error message when the server gives a bad
18775 response to the capability command.
18776
18777 2012-01-10 Glenn Morris <rgm@gnu.org>
18778
18779 * mail/unrmail.el (unrmail): Tweak previous change.
18780
18781 2012-01-09 Chong Yidong <cyd@gnu.org>
18782
18783 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
18784
18785 2012-01-08 Alan Mackenzie <acm@muc.de>
18786
18787 Optimize font locking in long enum definitions.
18788
18789 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
18790 arm to a cond form to handle enums.
18791 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
18792 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
18793
18794 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
18795
18796 * files.el (move-file-to-trash): Preserve default file modes on error.
18797 (Bug#10401)
18798
18799 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
18800
18801 * faces.el (set-face-attribute): Clarify the meaning of the nil
18802 frame (bug#10294).
18803
18804 * subr.el (with-selected-frame): Mention that the selected frame
18805 is restored (bug#9980).
18806
18807 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
18808 (bug#9759).
18809
18810 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
18811 (password-read): Don't autoload unused function.
18812
18813 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
18814
18815 * progmodes/which-func.el (which-func-mode): Turn into a
18816 non-interactive function and mark as obsolete (bug#10428).
18817
18818 2012-01-06 Chong Yidong <cyd@gnu.org>
18819
18820 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
18821 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
18822 functions, along with 1 and -1.
18823
18824 2012-01-06 Eli Zaretskii <eliz@gnu.org>
18825
18826 * time.el (display-time-load-average)
18827 (display-time-default-load-average): Doc fixes. See the thread
18828 starting at
18829 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
18830 for the details.
18831
18832 2012-01-06 Glenn Morris <rgm@gnu.org>
18833
18834 * mail/unrmail.el (unrmail): Give an explicit error if the input file
18835 has no messages. (Bug#10377)
18836
18837 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
18838 than Info-edit. (Bug#10385)
18839
18840 * time.el (display-time-load-average, display-time-next-load-average):
18841 Doc fixes.
18842
18843 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
18844 local setting of buffer-read-only to the input buffer. (Bug#10419)
18845
18846 * calendar/calendar.el (calendar-mode):
18847 Locally set scroll-margin to 0. (Bug#10379)
18848
18849 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
18850
18851 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
18852
18853 2012-01-05 Glenn Morris <rgm@gnu.org>
18854
18855 * eshell/em-unix.el (diff-no-select): Autoload it.
18856 (eshell/diff): Use diff-no-select. (Bug#10420)
18857
18858 2012-01-05 Chong Yidong <cyd@gnu.org>
18859
18860 * shell.el (shell-dynamic-complete-functions): Revert last change.
18861 (shell-command-completion-function): New function.
18862 (shell-completion-vars): Use it to implement
18863 shell-completion-execonly (Bug#10417).
18864
18865 * custom.el (enable-theme): Don't set custom-safe-themes.
18866
18867 * cus-theme.el (custom-theme-merge-theme):
18868 Ignore custom-enabled-themes and custom-safe-themes.
18869
18870 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
18871
18872 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
18873 first prompt in `sql-interacive-mode'.
18874 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
18875 keywords.
18876 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
18877 (sql-product-interactive): Bug fix: Set `sql-buffer' in
18878 context of original buffer. Invoke `sql-login-hook'.
18879
18880 2012-01-04 Eli Zaretskii <eliz@gnu.org>
18881
18882 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
18883 letters in cite-prefix.
18884
18885 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
18886
18887 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
18888
18889 2012-01-03 Chong Yidong <cyd@gnu.org>
18890
18891 * shell.el (shell-dynamic-complete-functions):
18892 Put pcomplete-completions-at-point, so as to try
18893 comint-filename-completion first (Bug#10417).
18894
18895 2012-01-02 Richard Stallman <rms@gnu.org>
18896
18897 * battery.el (battery-status-function):
18898 Detect when to use battery-yeeloong-sysfs.
18899 (battery-echo-area-format): Add string for Yeeloong.
18900 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
18901 (battery-yeeloong-sysfs): New function.
18902
18903 2012-01-02 Chong Yidong <cyd@gnu.org>
18904
18905 * dirtrack.el (dirtrack-list): Eliminate unused third element.
18906 (dirtrack): Merge code for handling relative filenames in prompt
18907 from shell-dir-cookie-watcher.
18908 (dirtrack-debug-message): New arg to avoid excess format calls.
18909
18910 * shell.el (shell-dir-cookie-re): Variable deleted.
18911 (shell-dir-cookie-watcher): Function deleted.
18912 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
18913 with dirtrack-mode.
18914
18915 2012-01-01 Eli Zaretskii <eliz@gnu.org>
18916
18917 * term/w32-win.el (dynamic-library-alist) <gnutls>:
18918 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
18919 libgnutls-26.dll.
18920
18921 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
18922
18923 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
18924
18925 2011-12-31 Eli Zaretskii <eliz@gnu.org>
18926
18927 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
18928 headers of non-MIME messages, when rmail-enable-mime is non-nil.
18929
18930 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
18931
18932 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
18933 also for alternative shells.
18934 (tramp-open-connection-setup-interactive-shell): Check, whether
18935 the shell is a busybox.
18936 (tramp-send-command): Don't suppress multiple prompts for
18937 busyboxes, it hurts.
18938
18939 2011-12-28 Chong Yidong <cyd@gnu.org>
18940
18941 * progmodes/gdb-mi.el (gdb-get-source-file-list)
18942 (gdb-get-source-file): Move mode line update to
18943 gdb-get-source-file (Bug#10087).
18944
18945 2011-12-25 Chong Yidong <cyd@gnu.org>
18946
18947 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
18948 gud-gdb-marker-filter without taking it as an argument.
18949 (gud-gdb-run-command-fetch-lines): Caller changed.
18950 (gud-gdb-completion-function): New variable.
18951 (gud-gdb-completion-at-point): Use it.
18952 (gud-gdb-completions-1): Split from gud-gdb-completions.
18953
18954 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
18955 function as separate arguments.
18956 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
18957 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
18958 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
18959 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
18960 (gdb-stopped, def-gdb-auto-update-trigger)
18961 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
18962 (gdb-get-changed-registers, gdb-get-main-selected-frame):
18963 Callers changed.
18964 (gud-gdbmi-completions): New function.
18965 (gdb): Use it for generating the completion table.
18966
18967 2011-12-24 Alan Mackenzie <acm@muc.de>
18968
18969 Introduce a mechanism to widen the region used in context font
18970 locking. Use this to protect declarations from losing their contexts.
18971
18972 * progmodes/cc-langs.el (c-before-font-lock-functions):
18973 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
18974 (c-before-context-fontification-functions): New defvar, a list of
18975 functions to be run just before context (etc.) font locking.
18976
18977 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
18978 New, functionality extracted from
18979 c-neutralize-syntax-in-and-mark-CPP.
18980 (c-in-after-change-fontification): New variable.
18981 (c-after-change): Set c-in-after-change-fontification.
18982 (c-set-fl-decl-start): Rejig its interface, so it can be called
18983 from both after-change and context fontifying.
18984 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
18985 New functions.
18986 (c-standard-font-lock-fontify-region-function): New variable.
18987 (c-font-lock-fontify-region): New function.
18988
18989 2011-12-24 Juri Linkov <juri@jurta.org>
18990
18991 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
18992 (Bug#10348)
18993
18994 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
18995
18996 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
18997 existence of source file. (Bug#10325)
18998
18999 2011-12-23 Alan Mackenzie <acm@muc.de>
19000
19001 Fix unstable fontification inside templates.
19002
19003 * progmodes/cc-langs.el (c-before-font-lock-functions):
19004 Newly created from the singular version. The (c c++ objc) entry now
19005 additionally has c-set-fl-decl-start. The other languages (apart
19006 from AWK) have that as a single entry.
19007
19008 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
19009 The functionality for "local" declarations has been extracted to
19010 c-set-fl-decl-start.
19011
19012 * progmodes/cc-mode.el (c-common-init, c-after-change):
19013 Changes due to pluralisation of c-before-font-lock-functions.
19014 (c-set-fl-decl-start): New function, extracted from
19015 c-font-lock-enclosing-decls and enhanced.
19016
19017 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
19018
19019 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
19020
19021 2011-12-22 Juri Linkov <juri@jurta.org>
19022
19023 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
19024
19025 2011-12-22 Chong Yidong <cyd@gnu.org>
19026
19027 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
19028
19029 2011-12-21 Drew Adams <drew.adams@oracle.com>
19030
19031 * files.el (file-remote-p): Fix docstring. (Bug#10319)
19032
19033 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
19034
19035 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
19036
19037 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
19038
19039 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
19040 highlighting and support. Fix up comments for capitalization.
19041 (cfengine-mode-debug): New var.
19042 (cfengine3-mode): Change the modeline indicator to "CFE3".
19043 (cfengine3-font-lock-keywords): Improve defun highlighting.
19044 (cfengine2-actions): Rename from `cfengine-actions'.
19045 (cfengine2-font-lock-keywords): Rename from
19046 `cfengine-font-lock-keywords'.
19047 (cfengine2-imenu-expression): Rename from
19048 `cfengine-imenu-expression'.
19049 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
19050 (cfengine2-beginning-of-defun): Rename from
19051 `cfengine-beginning-of-defun'.
19052 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
19053 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
19054 (cfengine2-mode): Rename from `cfengine-mode'. Change the
19055 modeline indicator to "CFE2".
19056 (cfengine-mode): Defalias to `cfengine-auto-mode'.
19057 (cfengine-mode-abbrevs): Mark obsolete.
19058
19059 2011-12-21 Chong Yidong <cyd@gnu.org>
19060
19061 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
19062 filename argument.
19063
19064 2011-12-20 Martin Rudalics <rudalics@gmx.at>
19065
19066 * window.el (window-normalize-buffer-to-display): Remove.
19067 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
19068
19069 2011-12-19 Chong Yidong <cyd@gnu.org>
19070
19071 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
19072 Don't signal an error in a predicate function; return non-nil.
19073 (vc-dir-mark-file): Move the error here.
19074 (vc-dir-mark-unmark): If acting on the region, keep going if one
19075 of the entries cannot be marked/unmarked.
19076 (vc-dir-mark-all-files): If current entry is a directory, mark
19077 only child files, as documented.
19078
19079 2011-12-19 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
19080
19081 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
19082 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
19083 addition.
19084
19085 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
19086
19087 * term/ns-win.el (ns-get-selection-internal)
19088 (ns-store-selection-internal): Declare.
19089 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
19090 Declare as obsolete.
19091 (ns-get-pasteboard, ns-paste-secondary):
19092 Use ns-get-selection-internal.
19093 (ns-set-pasteboard, ns-copy-including-secondary):
19094 Use ns-store-selection-internal.
19095
19096 2011-12-17 Chong Yidong <cyd@gnu.org>
19097
19098 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
19099 (vc-deduce-fileset): Doc fix.
19100
19101 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
19102
19103 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
19104
19105 2011-12-13 Sam Steingold <sds@gnu.org>
19106
19107 * man.el (Man-getpage-in-background): When running under a
19108 window-system, ignore $MANWIDTH and $COLUMNS.
19109
19110 2011-12-15 Kenichi Handa <handa@m17n.org>
19111
19112 * language/ethio-util.el: Change coding tag to utf-8-emacs.
19113 (setup-ethiopic-environment-internal): Comment out key-binding for
19114 ethio-toggle-punctuation.
19115
19116 2011-12-13 Alan Mackenzie <acm@muc.de>
19117
19118 Add the switch statement to AWK Mode.
19119
19120 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
19121 "default" to the keywords regexp.
19122
19123 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
19124 expression as the rest.
19125 (c-nonlabel-token-key): Allow string literals for AWK.
19126 Refactor for the other modes.
19127
19128 Large brace-block initialisation makes CC Mode slow: Fix.
19129 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
19130 routines. Limit backward searching in c-font-lock-enclosing.decl.
19131
19132 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
19133 pp-state and literal type in addition to the limits.
19134 (c-state-safe-place): New defun, extracted from c-state-literal-at.
19135 (c-state-literal-at): Use the above new defun.
19136 (c-slow-in-literal, c-fast-in-literal): Remove.
19137 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
19138
19139 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
19140 being in a literal. Add a limit for backward searching.
19141
19142 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
19143 c-slow-in-literal.
19144
19145 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
19146
19147 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
19148
19149 2011-12-13 Martin Rudalics <rudalics@gmx.at>
19150
19151 * window.el (delete-other-windows): Use correct frame in call to
19152 window-with-parameter.
19153
19154 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
19155
19156 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
19157 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
19158 (makefile-gmake-statements, makefile-makepp-statements):
19159 Use it and add new makepp keywords.
19160 (makefile-makepp-font-lock-keywords): Add new patterns.
19161 (makefile-match-function-end): Match new [...] and [[...]].
19162
19163 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
19164
19165 * ses.el (ses-call-printer-return, ses-cell-property-get)
19166 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
19167 (ses-create-cell-variable, ses-reset-header-string)
19168 (ses-cell-set-formula, ses-repair-cell-reference-all)
19169 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
19170 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
19171 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
19172 (ses-aset-with-undo, ses-load, ses-truncate-cell)
19173 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
19174 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
19175 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
19176 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
19177 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
19178 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
19179 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
19180 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
19181
19182 2011-12-11 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
19183
19184 * ses.el: The overall change is to add cell renaming, that is
19185 setting fancy names for cell symbols other than name matching
19186 "\\`[A-Z]+[0-9]+\\'" regexp .
19187 (ses-create-cell-variable): New defun.
19188 (ses-relocate-formula): Relocate formulas only for cells the
19189 symbols of which are not renamed, i.e. symbols whose names do not
19190 match regexp "\\`[A-Z]+[0-9]+\\'".
19191 (ses-relocate-all): Relocate values only for cells the symbols of
19192 which are not renamed.
19193 (ses-load): Create cells variables as the (ses-cell ...) are read,
19194 in order to check row col consistency with cell symbol name only
19195 for cells that are not renamed.
19196 (ses-replace-name-in-formula): New defun.
19197 (ses-rename-cell): New defun.
19198
19199 2011-12-11 Chong Yidong <cyd@gnu.org>
19200
19201 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
19202 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
19203
19204 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
19205
19206 * window.el (other-window): Fix docstring.
19207
19208 2011-12-10 Eli Zaretskii <eliz@gnu.org>
19209
19210 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
19211 `from' or `to' address before taking its substring.
19212 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
19213 encoded name is chopped in the middle of the encoded string, and
19214 thus displayed encoded.
19215
19216 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
19217
19218 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
19219
19220 2011-12-10 Eli Zaretskii <eliz@gnu.org>
19221
19222 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
19223 to use texinfo-update-node and commands that call it if the
19224 Texinfo file uses @node lines without next/prev/up pointers.
19225 Correct outdated description about texinfo-master-menu.
19226 (texinfo-all-menus-update, texinfo-master-menu)
19227 (texinfo-update-node, texinfo-every-node-update)
19228 (texinfo-multiple-files-update): Doc fix. Warn against updating
19229 all the @node lines.
19230 (texinfo-master-menu): Only call texinfo-update-node if the prefix
19231 argument is numeric. Explain better in the doc string what the
19232 function really does.
19233 (texinfo-insert-master-menu-list): Improve the error message
19234 displayed if there's no menu in the Top node.
19235 (Bug#2975) See also this thread:
19236 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
19237
19238 2011-12-09 Manuel GĂ³mez <mgrojo@gmail.com> (tiny change)
19239
19240 * speedbar.el (speedbar-supported-extension-expressions):
19241 Add .adb and .ads, commonly used for Ada source code (bug#10256).
19242
19243 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
19244
19245 * printing.el (pr-mode-alist):
19246 * simple.el (filter-buffer-substring-functions)
19247 (completion-list-insert-choice-function):
19248 * window.el (window-with-parameter, window-atom-root)
19249 (window-sides-slots, window-size-fixed, window-min-delta)
19250 (window-max-delta, window--resize-mini-window)
19251 (window--resize-child-windows-normal, window-tree)
19252 (delete-other-windows, quit-window, split-window)
19253 (display-buffer-record-window, special-display-buffer-names)
19254 (special-display-regexps, special-display-popup-frame)
19255 (same-window-p, split-window-sensibly)
19256 (display-buffer-overriding-action, display-buffer-alist)
19257 (display-buffer-base-action, display-buffer, switch-to-buffer)
19258 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
19259 (fit-window-to-buffer, recenter-positions)
19260 (mouse-autoselect-window-state, mouse-autoselect-window-select):
19261 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
19262 and remove unneeded backslashes in docstrings.
19263
19264 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
19265
19266 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
19267
19268 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
19269 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
19270 end in ".mk".
19271 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
19272 when reading the makefile (bug#10116).
19273
19274 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
19275
19276 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
19277 (bug#10116).
19278
19279 2011-12-06 Glenn Morris <rgm@gnu.org>
19280
19281 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
19282
19283 2011-12-06 Chong Yidong <cyd@gnu.org>
19284
19285 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
19286
19287 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
19288
19289 * textmodes/table.el (table-shorten-cell): Fix typo.
19290
19291 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
19292
19293 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
19294
19295 2011-12-05 Eli Zaretskii <eliz@gnu.org>
19296
19297 * descr-text.el (describe-char): Fix display of strong
19298 right-to-left characters and directional embeddings and overrides.
19299
19300 * simple.el (what-cursor-position): Fix display of codepoints of
19301 strong right-to-left characters.
19302
19303 2011-12-05 Chong Yidong <cyd@gnu.org>
19304
19305 * faces.el (read-color): Doc fix.
19306
19307 2011-12-05 Glenn Morris <rgm@gnu.org>
19308
19309 * align.el (align--set-marker): Add doc-string.
19310 Don't try to move something that is not a marker. (Bug#10216)
19311
19312 2011-12-04 Glenn Morris <rgm@gnu.org>
19313
19314 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
19315 overly zealous deletion of trailing whitespace.
19316
19317 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
19318
19319 * server.el (server-delete-client): On Windows, do not try to delete
19320 the only terminal.
19321 (server-process-filter): On Windows, treat requests for a tty frame as
19322 if they were for a GUI frame if the running server is in GUI mode.
19323
19324 2011-12-03 Glenn Morris <rgm@gnu.org>
19325
19326 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
19327
19328 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
19329
19330 * electric.el: Streamline electric-indent's hook.
19331 (electric-indent-chars): Revert to simple list.
19332 (electric-indent-functions): New var.
19333 (electric-indent-post-self-insert-function): Use it.
19334
19335 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
19336 there's no inferior buffer (bug#10196).
19337 (prolog-consult-compile): Don't use toggle-read-only.
19338
19339 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
19340
19341 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
19342 interrupt. (Bug#10187)
19343
19344 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
19345
19346 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
19347 (bug#9160).
19348
19349 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
19350 (bug#10191).
19351
19352 2011-12-02 Juri Linkov <juri@jurta.org>
19353
19354 * info.el (Info-search): Display "end of manual" when Isearch
19355 reaches the end of single-file Info manual. (Bug#9918)
19356
19357 2011-12-02 Eli Zaretskii <eliz@gnu.org>
19358
19359 * isearch.el (isearch-message-prefix): Run the input method part
19360 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
19361
19362 2011-12-02 Juri Linkov <juri@jurta.org>
19363
19364 * isearch.el (isearch-occur): Use `word-search-regexp' for
19365 `isearch-word'.
19366 (isearch-search-and-update): Add condition for `isearch-word' and
19367 call `word-search-regexp'. (Bug#10145)
19368
19369 2011-12-01 Glenn Morris <rgm@gnu.org>
19370
19371 * eshell/em-hist.el (eshell-hist-initialize):
19372 Handle eshell-history-size nil and HISTSIZE set or unset.
19373 (eshell-history-file-name, eshell-history-size): Fix custom type.
19374
19375 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
19376
19377 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
19378
19379 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
19380
19381 * progmodes/verilog-mode.el (verilog-pretty-expr):
19382 Rework verilog-pretty-expr to handle new assignment operators in system
19383 verilog, such as += *= and the like.
19384 (verilog-assignment-operator-re): Regular expression to find the
19385 assigment operator in a verilog assignment.
19386 (verilog-assignment-operation-re): Regular expression to find an
19387 assignment statement for pretty-expr.
19388 (verilog-in-attribute-p): Query returns true if point is in an
19389 attribute context; used to skip these for expression line up from
19390 pretty-expr.
19391 (verilog-in-parameter-p): Query returns true if point is in an
19392 parameter definition context; used to skip these for expression
19393 line up from pretty-expr.
19394 (verilog-in-parenthesis-p): Query returns true if point is in a
19395 parenthetical expression, specifically ( ) but not [ ] or { };
19396 used by pretty-expr.
19397 (verilog-just-one-space): If there is no space, don't add one.
19398 (verilog-get-lineup-indent-2): Specifically skip just attribute
19399 contexts for expression lineup, rather than skipping all
19400 parenthetical expressions.
19401 (verilog-calculate-indent): Fix comment, and fix indent.
19402 (verilog-do-indent): Indent declarations in lists (suggested by
19403 Joachim Lechner).
19404 (verilog-mode-abbrev-table): Populate abbrev mode with the various
19405 skeleton items.
19406 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
19407 by Alain Mellan).
19408
19409 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
19410
19411 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
19412 parameters with embedded comments. Reported by Ray Stevens.
19413 (verilog-calc-1, verilog-fork-wait-re, verilog-forward-sexp)
19414 (verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
19415 Reported by Tim Holt.
19416 (verilog-auto): Fix AUTOing a upper module then AUTOing module
19417 instantiated by upper module causing wrong expansion until AUTOed a
19418 second time. Reported by K C Buckenmaier.
19419 (verilog-diff-auto): Fix showing .* as a difference when
19420 `verilog-auto-star-save' off. Reported by Dan Dever.
19421 (verilog-auto-reset, verilog-read-always-signals)
19422 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
19423 temporary signals in reset list if
19424 verilog-auto-reset-blocking-in-non is nil, and match assignment
19425 style to each signal's assignment type, bug381.
19426 Reported by Thomas Esposito.
19427 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
19428 (verilog-uvm-statement-re): Support UVM indentation and
19429 highlighting, with old OVM keywords only.
19430 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
19431 Support AUTOTIEOFF creating non-wire data types.
19432 Suggested by Jonathan Greenlaw.
19433 (verilog-auto-insert-lisp, verilog-delete-to-paren)
19434 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
19435 (verilog-inject-sense, verilog-read-inst-pins)
19436 (verilog-read-sub-decls, verilog-read-sub-decls-line):
19437 Fix mismatching parenthesis inside commented out code when deleting
19438 AUTOINST, bug383. Reported by Jonathan Greenlaw.
19439 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
19440 non-numeric vector width. Reported by Alex Reed.
19441 (verilog-auto-ascii-enum): Add "onehot" option to work around not
19442 detecting signals with parameter widths. Reported by Alex Reed.
19443 (verilog-auto-delete-trailing-whitespace):
19444 With `verilog-auto-delete-trailing-whitespace' remove trailing
19445 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
19446 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
19447 Fix verilog-scan-cache corruption when running user AUTO expansion
19448 hooks that call indentation routines.
19449 (verilog-simplify-range-expression): Fix typo ignoring lower case
19450 identifiers.
19451 (verilog-delete-auto): Fix delete-autos to also remove user created
19452 automatics, as long as they start with AUTO.
19453 (verilog-batch-diff-auto, verilog-diff-auto)
19454 (verilog-diff-function): Add `verilog-diff-auto' and bind to
19455 "C-c?" to report differences in AUTO expansion, ignoring spaces.
19456 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
19457 (verilog-in-paren-quick, verilog-re-search-backward-quick)
19458 (verilog-re-search-forward-quick, verilog-syntax-ppss):
19459 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
19460 is disabled and its cache will get corrupt, causing AUTOS not to
19461 expand. Instead use only -quick functions.
19462 (verilog-scan-region): Fix scanning over escaped quotes.
19463 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
19464 (verilog-re-search-backward-quick)
19465 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
19466 related functions now ignore strings, to fix misparsing of strings
19467 with magic comments embedded in them.
19468 (verilog-read-auto-template):
19469 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
19470 Reported by Brad Dobbie.
19471 (verilog-read-auto-template):
19472 Fix 'verilog-auto-inst-template-numbers' with comments.
19473 Reported by Brad Dobbie.
19474 (verilog-auto-inst, verilog-auto-inst-param)
19475 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
19476 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
19477 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
19478 debugging templates without merge conflicts, bug357.
19479 Reported by Brad Dobbie.
19480 (verilog-read-auto-template):
19481 Fix verilog-auto-inst-template-numbers with multiple templates.
19482 Reported by Brad Dobbie.
19483 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
19484 abbrevs so user won't be asked to save.
19485 (verilog-read-auto-lisp-present): Fix to start at beginning of
19486 buffer in case called outside of verilog-auto.
19487 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
19488 to "X-2". Reported by Matthew Myers.
19489 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
19490 all inputs from module templates. Reported by Leith Johnson.
19491 (verilog-module-inside-filename-p): Fix locating programs as with
19492 modules.
19493 (verilog-auto-inst-port): Fix vl-width expressions when using
19494 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
19495 (verilog-decls-get-regs, verilog-decls-get-signals,
19496 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
19497 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
19498 verilog-read-decls): Combine reg and wire structures into one var
19499 structure to represent SystemVerilog concepts.
19500 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
19501 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
19502 (verilog-auto-wire-type, verilog-insert-definition):
19503 Add verilog-auto-wire-type and AUTOLOGIC to support using
19504 SystemVerilog "logic" keyword instead of "wire"/"reg".
19505 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
19506 to declares outputs that also have assignments (presumably in an
19507 ifdef or generate if so there's not a driver conflict).
19508 Reported by Matthew Myers.
19509 (verilog-auto-declare-nettype, verilog-insert-definition):
19510 Add verilog-auto-declare-nettype to fix declarations using
19511 `default_nettype none. Reported by Julian Gorfajn.
19512 (verilog-read-always-signals-recurse, verilog-read-decls)
19513 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
19514 malformed end statement, bug325. Reported by Joshua Wise and
19515 Andrew Drake.
19516 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
19517 (verilog-inst-comment-re): Fix not deleting Interfaced comment
19518 when expanding .* in interfaces, bug320.
19519 Reported by Pierre-David Pfister.
19520 (verilog-read-module-name): Fix import statements between module
19521 name and open parenthesis, bug317.
19522 Reported by Pierre-David Pfister.
19523 (verilog-simplify-range-expression): Fix simplification of
19524 multiplications inside AUTOWIRE connections, bug303.
19525 (verilog-auto-inst-port): Support parameter expansion in
19526 multidimensional arrays.
19527 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
19528 after "assert property". Reported by Julian Gorfajn.
19529 (verilog-simplify-range-expression): Fix "couldn't merge" errors
19530 with multiplication, bug303.
19531 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
19532 Reported by Jan Frode Lonnum.
19533
19534 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
19535
19536 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
19537 (hfy-shell-file-name, hfy-shell):
19538 * international/fontset.el (x-decompose-font-name): Fix typos.
19539
19540 2011-11-29 Ken Brown <kbrown@cornell.edu>
19541
19542 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
19543 (gdb-version): Remove defvar.
19544 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
19545 (gdb-gud-context-command, gdb-non-stop-handler)
19546 (gdb-current-context-command, gdb-stopped): Use it.
19547 (gdb-init-1): Enable pretty printing here.
19548 (gdb-non-stop-handler): Don't enable pretty-printing here.
19549 Check to see if the target supports non-stop mode; if not, turn off
19550 non-stop mode. Use the following.
19551 (gdb-check-target-async): New defun.
19552 (gud-watch, gdb-stopped): Fix whitespace.
19553 (gdb-get-source-file): Don't try to display the source file if
19554 `gdb-main-file' is nil.
19555
19556 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
19557
19558 * align.el: Try to generate fewer markers (bug#10047).
19559 (align--set-marker): New macro.
19560 (align-region): Use it.
19561
19562 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
19563
19564 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
19565
19566 2011-11-29 Chong Yidong <cyd@gnu.org>
19567
19568 * indent.el (indent-for-tab-command, indent-according-to-mode):
19569 Doc fix.
19570 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
19571
19572 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
19573
19574 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
19575 aware of remote file names. (Bug#10124)
19576
19577 2011-11-29 Chong Yidong <cyd@gnu.org>
19578
19579 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
19580
19581 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
19582
19583 * files.el (find-file): Don't use force-same-window (bug#10144).
19584 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
19585 use pop-to-buffer if the selected window can't be used.
19586 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
19587
19588 2011-11-28 Eli Zaretskii <eliz@gnu.org>
19589
19590 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
19591 special-mode-map.
19592
19593 2011-11-28 Chong Yidong <cyd@gnu.org>
19594
19595 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
19596
19597 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
19598
19599 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
19600 gdb-get-source-file-list on gdb-create-source-file-list.
19601
19602 2011-11-26 Eli Zaretskii <eliz@gnu.org>
19603
19604 * whitespace.el (whitespace-newline): Use a different foreground
19605 color for 16-color light-background displays.
19606
19607 2011-11-24 Chong Yidong <cyd@gnu.org>
19608
19609 * window.el (display-buffer--special-action): Doc fix.
19610
19611 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
19612
19613 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
19614 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
19615 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
19616 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
19617 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
19618 (avl-tree-stack-first):
19619 * emacs-lisp/cconv.el (cconv--analyse-use):
19620 * net/gnutls.el (gnutls-negotiate): Fix typos.
19621
19622 2011-11-24 Glenn Morris <rgm@gnu.org>
19623
19624 * lpr.el (lpr-windows-system, lpr-lp-system):
19625 * mail/binhex.el (binhex-begin-line):
19626 * progmodes/grep.el (grep-history, grep-find-history):
19627 * textmodes/flyspell.el:
19628 * vc/pcvs-defs.el (cvs-global-menu):
19629 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
19630 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
19631 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
19632
19633 * net/tls.el: Fix case of "GnuTLS".
19634
19635 * paths.el (rmail-file-name): Format doc-string for make-docfile.
19636
19637 * version.el (emacs-build-system): Give it a doc-string.
19638
19639 2011-11-24 Juri Linkov <juri@jurta.org>
19640
19641 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
19642
19643 2011-11-24 Glenn Morris <rgm@gnu.org>
19644
19645 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
19646 if called on a non-mime message just toggle the headers. (Bug#8006)
19647
19648 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
19649
19650 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
19651 (allout-lead-with-comment-string, allout-structure-deleted-hook)
19652 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
19653 (allout-rebullet-heading, allout-open-sibtopic)
19654 (allout-toggle-current-subtree-encryption)
19655 (allout-toggle-subtree-encryption, allout-encrypt-string)
19656 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
19657 (allout-distinctive-bullets-string, allout-auto-activation):
19658 * window.el (window-normalize-buffer-to-display):
19659 * progmodes/verilog-mode.el (verilog-batch-indent):
19660 * textmodes/bibtex.el (bibtex-field-braces-opt)
19661 (bibtex-field-strings-opt):
19662 * vc/cvs-status.el (cvs-tree-merge):
19663 Fix typos.
19664
19665 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
19666
19667 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
19668 `non-essential' to t, in order to avoid remote connections.
19669
19670 2011-11-23 Eli Zaretskii <eliz@gnu.org>
19671
19672 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
19673 On MS-DOS and MS-Windows, compare with loaddefs.el
19674 case-insensitively.
19675
19676 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
19677
19678 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
19679
19680 2011-11-23 Glenn Morris <rgm@gnu.org>
19681
19682 * paths.el (rmail-file-name): Reformat the doc-string so that it
19683 is picked up.
19684
19685 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
19686 (rmail-auto-file): Ignore case in the "special" field names,
19687 as mail-fetch-field does for all others.
19688
19689 * mail/rmail.el (rmail-forward):
19690 * mail/rmailkwd.el (rmail-set-label):
19691 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
19692 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
19693
19694 * mail/rmail.el (rmail-current-message): Doc fix.
19695
19696 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
19697
19698 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
19699
19700 * server.el (server-eval-and-print): Allow C-g (bug#6585).
19701
19702 2011-11-22 Glenn Morris <rgm@gnu.org>
19703
19704 * mail/rmailmm.el (test-rmail-mime-handler)
19705 (test-rmail-mime-bulk-handler)
19706 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
19707
19708 2011-11-21 Juri Linkov <juri@jurta.org>
19709
19710 * calc/calc.el (calc-read-key-sequence):
19711 Let-bind `input-method-function' to nil. (Bug#10018)
19712
19713 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
19714
19715 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
19716 Tell the caller that the next line needs recomputation, even
19717 though it doesn't start a sexp (bug#10094).
19718
19719 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
19720
19721 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
19722
19723 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
19724
19725 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
19726 Use force-same-window.
19727
19728 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
19729
19730 * descr-text.el (describe-char-unicode-data):
19731 * json.el (json-string-escape):
19732 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
19733 (Footnote-unicode, Footnote-style-p):
19734 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
19735
19736 2011-11-20 Chong Yidong <cyd@gnu.org>
19737
19738 * window.el (replace-buffer-in-windows): Restore interactive spec.
19739
19740 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
19741
19742 * electric.el (electric-indent-mode): Fix last change (too optimistic).
19743
19744 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
19745 (byte-compile-global-not-obsolete-vars): New var.
19746 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
19747 Use it.
19748 (byte-compile-warn-obsolete): Align text with the one in *Help*.
19749
19750 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
19751
19752 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
19753 * progmodes/pascal.el (electric-pascal-equal):
19754 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
19755 * xml.el (xml-substitute-special): Fix typos.
19756
19757 2011-11-20 Glenn Morris <rgm@gnu.org>
19758
19759 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
19760 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
19761 Doc fixes.
19762 (rmail-decode-mime-charset): Mark as obsolete.
19763
19764 * mail/rmailsum.el (rmail-message-regexp-p-1):
19765 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
19766 Before using mime functions, check they are set. (Bug#10077)
19767
19768 2011-11-19 Juri Linkov <juri@jurta.org>
19769
19770 * info.el (Info-finder-find-node): Use `package--builtins' instead
19771 of `package-alist'. Use node names formed by the pattern "Keyword "
19772 and the keyword name.
19773
19774 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
19775
19776 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
19777
19778 2011-11-19 Juri Linkov <juri@jurta.org>
19779
19780 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
19781 that calls `revert-buffer' on all Info buffers. (Bug#9915)
19782 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
19783 `old-history', `old-history-forward'. Add let-binding
19784 `window-selected'. Remove calls to `kill-buffer',
19785 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
19786 before calling `Info-find-node', so `Info-find-node-2' will reread
19787 the Info file. Restore window positions only when `window-selected'
19788 is non-nil.
19789
19790 2011-11-19 Juri Linkov <juri@jurta.org>
19791
19792 * isearch.el (isearch-lazy-highlight-new-loop):
19793 Remove condition `(not isearch-error)'. (Bug#9918)
19794
19795 * misearch.el (multi-isearch-search-fun): Add condition
19796 `(not bound)' to ignore lazy-highlighting search.
19797 Add the search-failed message "end of multi" when the end of
19798 multi-sequence is reached. Uncapitalize the search-failed
19799 message "Repeat for next buffer".
19800
19801 * info.el (Info-search): Add the search-failed message
19802 "end of the manual" when the end of the manual is reached
19803 in Isearch mode.
19804
19805 2011-11-19 Juri Linkov <juri@jurta.org>
19806
19807 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
19808 Use non-destructive `remove' instead of `delete' because
19809 `Info-history-list' stored to `Info-isearch-initial-history-list' in
19810 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
19811
19812 2011-11-19 Juri Linkov <juri@jurta.org>
19813
19814 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
19815 to nil instead of binding `search-ring' and `regexp-search-ring'.
19816 (Bug#9185)
19817
19818 2011-11-19 Eli Zaretskii <eliz@gnu.org>
19819
19820 * simple.el (line-move): Force movement by logical lines for any
19821 hscrolled window, not only when auto-hscroll-mode is on.
19822 (line-move-visual): Update doc string to that effect. (Bug#10076)
19823
19824 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
19825
19826 * language/european.el (macintosh): Define as alias for mac-roman.
19827
19828 2011-11-19 Eli Zaretskii <eliz@gnu.org>
19829
19830 * mail/rmailmm.el (rmail-mime-display-header)
19831 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
19832 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
19833 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
19834 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
19835 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
19836 of a raw aref.
19837 (rmail-mime-entity-segment): To get past the tagline, move forward
19838 2 more lines, to account for the 2 empty lines that precede and
19839 follow the line with the buttons.
19840 (rmail-mime-update-tagline): Move one more line, to get past the
19841 empty line that follows the buttons in the tagline. (Bug#9520)
19842
19843 2011-11-19 Martin Rudalics <rudalics@gmx.at>
19844
19845 * window.el (window-max-delta-1, window-min-delta-1)
19846 (window-min-size-1, window-state-get-1, window-state-put-1)
19847 (window-state-put-2): Use "window--" prefix.
19848
19849 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
19850
19851 * emacs-lisp/smie.el: Improve warnings and conflict detection.
19852 (smie-warning-count): New var.
19853 (smie-set-prec2tab): Use it.
19854 (smie-bnf->prec2): Improve warnings. Add docstring.
19855 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
19856 (smie-bnf--set-class): New function.
19857 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
19858 corner case.
19859
19860 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
19861 (compilation-error-properties, compilation-move-to-column):
19862 Handle compilation-first-column while in the target buffer.
19863
19864 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
19865 Don't hardcode point-min==1.
19866
19867 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
19868 (eshell-rewrite-for-command): Remove workaround.
19869 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
19870 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
19871 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
19872
19873 * files-x.el (modify-file-local-variable): Obey commenting conventions.
19874
19875 2011-11-17 Glenn Morris <rgm@gnu.org>
19876
19877 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
19878 Ignore buffer-local generated-autoload-file if it is the same
19879 as the global value. (Bug#10049)
19880
19881 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
19882
19883 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
19884 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
19885 (reftex-toc-previous-heading, reftex-toc-max-level)
19886 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
19887 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
19888 (reftex-toc-do-promote, reftex-toc-promote-prepare)
19889 (reftex-toc-promote-action, reftex-toc-extract-section-number)
19890 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
19891 (reftex-toc-rename-label, reftex-toc-visit-location)
19892 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
19893 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
19894 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
19895 leaving "*toc*" only for references to the buffer.
19896
19897 2011-11-17 Martin Rudalics <rudalics@gmx.at>
19898
19899 * window.el (window-resize, delete-window, split-window):
19900 Replace window-splits by window-combination-resize.
19901 * cus-start.el (window-splits): Replace by window-combination-resize.
19902
19903 2011-11-17 Glenn Morris <rgm@gnu.org>
19904
19905 * progmodes/sh-script.el (sh-font-lock-keywords-var):
19906 Make bash entry derive from sh entry, not shell entry.
19907
19908 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
19909
19910 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
19911 local file name.
19912
19913 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
19914
19915 * menu-bar.el (menu-bar-file-menu):
19916 * printing.el (pr-ps-utility):
19917 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
19918 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
19919 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
19920 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
19921 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
19922 (icalendar--convert-cyclic-to-ical)
19923 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
19924 (icalendar--convert-ical-to-diary)
19925 (icalendar--convert-recurring-to-diary)
19926 (icalendar--convert-non-recurring-all-day-to-diary)
19927 (icalendar-import-format-sample):
19928 * progmodes/idlw-shell.el (idlwave-shell-mode):
19929 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
19930 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
19931 (vhdl-ps-print-init): Fix typos.
19932
19933 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
19934
19935 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
19936 FSF and collapse date sequence, obscure author/maintainer email address
19937 better, remove extra version line, track relocation of author's webpage.
19938
19939 * progmodes/python.el (python-pdbtrack-input-prompt)
19940 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
19941 regular python pdb prompts. Adjustments shamelessly taken exactly as
19942 suggested in EmacsWiki page (tiny change):
19943 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
19944
19945 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
19946
19947 * expand.el (expand-pos, expand-index, expand-point):
19948 Remove redundant info from docstring.
19949 (expand-add-abbrevs): Doc fix.
19950 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
19951 (expand-sample-perl-mode-expand-list): Fix typos.
19952
19953 * net/dbus.el (dbus-event-member-name):
19954 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
19955 * term/pc-win.el (msdos-create-frame-with-faces):
19956 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
19957
19958 2011-11-16 Martin Rudalics <rudalics@gmx.at>
19959
19960 * window.el (split-window, window-state-get-1)
19961 (window-state-put-1, window-state-put-2): Rename occurrences of
19962 window-nest to window-combination-limit.
19963 * cus-start.el (window-nest): Rename to window-combination-limit.
19964
19965 2011-11-16 Chong Yidong <cyd@gnu.org>
19966
19967 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
19968 regexp (Bug#10033).
19969
19970 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
19971
19972 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
19973 `completing-read' will remove *Completions* and will preserve
19974 current-buffer for us.
19975 (tmm-add-prompt): Users of *Completions* will always (re)set its
19976 major mode.
19977 (tmm-old-comp-map): Remove.
19978
19979 2011-11-16 Glenn Morris <rgm@gnu.org>
19980
19981 * mail/rmailedit.el: Require rmailmm when compiling.
19982 (rmail-old-mime-state): New declaration.
19983 (rmail-edit-current-message): If editing a mime message,
19984 edit the "raw" message from the mbox buffer.
19985 (rmail-cease-edit): Handle mime messages. (Bug#9840)
19986
19987 2011-11-15 Glenn Morris <rgm@gnu.org>
19988
19989 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
19990 which wasn't being used. Add optional arg to force given state.
19991 (rmail-mime): Add optional arg to force given state.
19992
19993 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
19994
19995 * allout.el (allout-encryption-plaintext-sanitization-regexps):
19996 * frame.el (display-mm-dimensions-alist):
19997 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
19998 (outline-move-subtree-down):
19999 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
20000 (newsticker--treeview-do-get-node):
20001 * net/quickurl.el (quickurl-list-buffer-name):
20002 * progmodes/dcl-mode.el (dcl-mode):
20003 * progmodes/gdb-mi.el (gdb-mapcar*):
20004 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
20005
20006 2011-11-15 Glenn Morris <rgm@gnu.org>
20007
20008 * mail/rmail.el (rmail-file-coding-system): It's only ever used
20009 in a boolean sense, so just make it a boolean, and fix the doc.
20010 (rmail-show-mime-function, rmail-mime-feature)
20011 (rmail-require-mime-maybe): Doc fixes.
20012 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
20013
20014 * mail/rmailmm.el (rmail-show-mime): Doc fix.
20015
20016 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
20017
20018 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
20019 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
20020 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
20021 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
20022
20023 2011-11-15 Glenn Morris <rgm@gnu.org>
20024
20025 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
20026 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
20027 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
20028 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
20029 (rmail-mime, rmail-show-mime): Doc fixes.
20030
20031 * term/ns-win.el (mode-line-frame-identification):
20032 Leave it alone. (Bug#10051)
20033
20034 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
20035
20036 * mail/rmailout.el (rmail-output-to-rmail-buffer):
20037 Handle empty buffers. (Bug#9978)
20038
20039 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
20040
20041 * international/mule.el (define-charset):
20042 * mail/rmailmm.el (rmail-mime-find-header-encoding):
20043 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
20044 * progmodes/verilog-mode.el (verilog-backward-token):
20045 * textmodes/ispell.el (lookup-words):
20046 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
20047
20048 2011-11-14 Glenn Morris <rgm@gnu.org>
20049
20050 * progmodes/executable.el
20051 (executable-make-buffer-file-executable-if-script-p):
20052 Handle file-modes returning nil.
20053
20054 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
20055 message - not necessary, and causes problems. (Bug#9831)
20056
20057 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
20058
20059 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
20060
20061 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
20062 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
20063 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
20064
20065 2011-11-12 Martin Rudalics <rudalics@gmx.at>
20066
20067 * window.el (window-resize, delete-window): Use window-splits
20068 variable instead of function.
20069 (window-state-get-1, window-state-put-2, window-state-put):
20070 Don't deal with windows' splits status.
20071
20072 2011-11-12 Glenn Morris <rgm@gnu.org>
20073
20074 * apropos.el (apropos-do-all, apropos-library, apropos-value)
20075 (apropos-documentation): Doc fixes.
20076
20077 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
20078
20079 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
20080 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
20081
20082 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
20083
20084 * electric.el (electric-indent-post-self-insert-function): Make it
20085 possible for a char to only indent in some circumstances.
20086 (electric-indent-mode): Simplify.
20087
20088 2011-11-11 Martin Rudalics <rudalics@gmx.at>
20089
20090 * window.el (windows-with-parameter): Remove unused function.
20091 (windows-at-side): Rename to window-at-side-list.
20092 (window-check, window-atom-check, window-atom-check-1)
20093 (window-side-check, window-size-ignore, window-size-fixed-1)
20094 (window-in-direction-2): Prefix with "window--".
20095 (window-tree-1): Rename to window--subtree, fix doc-string.
20096
20097 2011-11-11 Glenn Morris <rgm@gnu.org>
20098
20099 * subr.el (eval-after-load): If FILE is already loaded,
20100 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
20101
20102 2011-11-10 Glenn Morris <rgm@gnu.org>
20103
20104 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
20105 Call svn via vc-svn-command rather than vc-do-command.
20106 (vc-svn-command): Add --non-interactive. (Bug#9993)
20107 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
20108
20109 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
20110 Add toggle-read-only. (Bug#7292)
20111 * files.el (toggle-read-only): Mention that it should only
20112 be used interactively. (Bug#10006)
20113
20114 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
20115
20116 * progmodes/compile.el (compilation-error-regexp-alist-alist):
20117 Adjust regexp for OCaml warnings.
20118
20119 * electric.el (electric-pair-post-self-insert-function): Let user
20120 turn it off buffer-locally (bug#9932).
20121
20122 * progmodes/python.el (python-beginning-of-statement):
20123 Rewrite (bug#2703).
20124
20125 * progmodes/compile.el: Better handle TABs (bug#9749).
20126 (compilation-internal-error-properties)
20127 (compilation-next-error-function): Obey the target buffer's
20128 compilation-error-screen-columns.
20129
20130 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
20131
20132 * progmodes/meta-mode.el: Remove obsolete comments.
20133 (meta-right-comment-regexp, meta-ignore-comment-regexp):
20134 Fix typos in docstrings.
20135
20136 2011-11-09 Martin Rudalics <rudalics@gmx.at>
20137
20138 * window.el (window-size-fixed-p): Rewrite doc-string.
20139 (window-resizable-p): Rename to window--resizable-p. Update callers.
20140 (window--resizable): New function. Make all callers of
20141 window-resizable call window--resizable instead.
20142 (window-resizable): Rewrite in terms of window--resizable.
20143
20144 2011-11-08 Glenn Morris <rgm@gnu.org>
20145
20146 * progmodes/delphi.el (delphi-mode-syntax-table):
20147 Let define-derived-mode define a proper syntax table. (Bug#9994)
20148
20149 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
20150
20151 * window.el: Stay away from defsubst.
20152 (window-list-no-nils): Remove.
20153 (window-state-get-1, window-state-get): Use backquote instead.
20154
20155 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
20156
20157 * emacs-lisp/find-func.el (find-function-read):
20158 Fix incorrect use of default argument in `completing-read'.
20159
20160 2011-11-08 Martin Rudalics <rudalics@gmx.at>
20161
20162 * window.el (display-buffer-function, special-display-function):
20163 Mention display-buffer-record-window but do not mention
20164 help-setup parameter in doc-strings.
20165 (window-min-delta): Fix doc-string typo.
20166
20167 2011-11-08 Chong Yidong <cyd@gnu.org>
20168
20169 * window.el (window-total-height, window-total-width): Doc fix.
20170 (window-body-size): Move from C.
20171 (window-body-height, window-body-width): Move to C.
20172
20173 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
20174
20175 * window.el: Make special-display like display-buffer-alist (bug#9532).
20176 (display-buffer--special-action): New function, morphed
20177 from display-buffer--special.
20178 (display-buffer): Use it to handle special-display-buffers at higher
20179 priority (just after display-buffer-alist).
20180 (display-buffer-fallback-action, display-buffer--other-frame-action)
20181 (pop-to-buffer-same-window): Remove display-buffer--special.
20182
20183 2011-11-07 Glenn Morris <rgm@gnu.org>
20184
20185 * calendar/cal-menu.el (cal-menu-set-date-title):
20186 Do nothing if not in a calendar. (Bug#9976)
20187
20188 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
20189
20190 * files.el (find-file): Always use selected-window.
20191
20192 2011-11-07 Martin Rudalics <rudalics@gmx.at>
20193
20194 * window.el (window-combinations): Make WINDOW argument
20195 mandatory. Rewrite doc-string.
20196 (walk-window-subtree, window-atom-check, window-min-delta)
20197 (window-max-delta, window--resize-this-window)
20198 (window--resize-root-window-vertically, window-tree)
20199 (balance-windows, window-state-put): Rewrite doc-strings as to
20200 not mention the term "subwindow".
20201 (window--resize-subwindows-skip-p): Rename to
20202 window--resize-child-windows-skip-p.
20203 (window--resize-subwindows-normal): Rename to
20204 window--resize-child-windows-normal.
20205 (window--resize-subwindows): Rename to
20206 window--resize-child-windows.
20207 (window-or-subwindow-p): Rename to window--in-subtree-p.
20208
20209 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
20210
20211 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
20212 Ensure that mbox format messages end in two newlines (Bug#9974).
20213
20214 2011-11-06 Chong Yidong <cyd@gnu.org>
20215
20216 * window.el (window-combination-p): Function deleted; its
20217 side-effect is not used in any existing code.
20218 (window-combinations, window-combined-p): Call window-*-child
20219 directly.
20220
20221 2011-11-05 Chong Yidong <cyd@gnu.org>
20222
20223 * window.el (window-valid-p): Rename from window-any-p.
20224 (window-size-ignore, window-state-get): Callers changed.
20225 (window-normalize-window): Rename from window-normalize-any-window.
20226 New arg LIVE-ONLY, replacing window-normalize-live-window.
20227 (window-normalize-live-window): Delete.
20228 (window-combination-p, window-combined-p, window-combinations)
20229 (walk-window-subtree, window-atom-root, window-min-size)
20230 (window-sizable, window-sizable-p, window-size-fixed-p)
20231 (window-min-delta, window-max-delta, window-resizable)
20232 (window-resizable-p, window-full-height-p, window-full-width-p)
20233 (window-current-scroll-bars, window-point-1, set-window-point-1)
20234 (window-at-side-p, window-in-direction, window-resize)
20235 (adjust-window-trailing-edge, maximize-window, minimize-window)
20236 (window-deletable-p, delete-window, delete-other-windows)
20237 (record-window-buffer, unrecord-window-buffer)
20238 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
20239 (quit-window, split-window, window-state-put)
20240 (set-window-text-height, fit-window-to-buffer)
20241 (shrink-window-if-larger-than-buffer): Callers changed.
20242
20243 2011-11-04 Eli Zaretskii <eliz@gnu.org>
20244
20245 * mail/rmail.el (rmail-simplified-subject): Decode subject with
20246 rfc2047-decode-string.
20247 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
20248 warnings.
20249
20250 * window.el (window-body-height, window-body-width): Mention in
20251 the doc string that the return values are in frame's canonical
20252 units. (Bug#9949)
20253
20254 2011-11-03 Alan Mackenzie <acm@muc.de>
20255
20256 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
20257 change in cc-engine.el.
20258
20259 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
20260
20261 * window.el (switch-to-buffer): Use `force-same-window' interactively.
20262
20263 2011-11-02 Martin Rudalics <rudalics@gmx.at>
20264
20265 * window.el (quit-window): Call unrecord-window-buffer after
20266 showing another buffer in the window. (Bug#9937)
20267 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
20268
20269 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
20270
20271 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
20272 Accept status with more than 9 shelves. (Bug#9935)
20273 Reported by Colin D Bennett <colin@gibibit.com>.
20274
20275 2011-11-01 Martin Rudalics <rudalics@gmx.at>
20276
20277 * help.el (with-help-window): Don't reference
20278 temp-buffer-show-specifiers in doc-string.
20279
20280 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
20281
20282 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
20283 menu-item.
20284
20285 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
20286
20287 * whitespace.el: New version 13.2.2.
20288 (whitespace-newline-mode): Disable properly. Reported by Sarah
20289 <EmacsWiki>.
20290
20291 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
20292
20293 * net/newst-treeview.el: Remove "Time-stamp".
20294 (newsticker--group-manage-orphan-feeds): Do not call
20295 newsticker--treeview-tree-update.
20296 (newsticker-treeview-update, newsticker-treeview):
20297 Call newsticker--treeview-tree-update if necessary.
20298
20299 2011-10-30 Martin Rudalics <rudalics@gmx.at>
20300
20301 * window.el (window-iso-combination-p, window-iso-combined-p)
20302 (window-iso-combinations): Remove "iso-" infix.
20303 Suggested by Chong Yidong.
20304 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
20305 (window-max-delta-1, window-resize, window--resize-siblings)
20306 (window--resize-this-window, adjust-window-trailing-edge)
20307 (split-window, balance-windows-1)
20308 (shrink-window-if-larger-than-buffer):
20309 * calendar/calendar.el (calendar-generate-window):
20310 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
20311
20312 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
20313
20314 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
20315 in place (bug#9907).
20316 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
20317 (eshell-rewrite-if-command, eshell-rewrite-for-command)
20318 (eshell-structure-basic-command, eshell-rewrite-while-command)
20319 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
20320 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
20321 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
20322 (eshell-do-pipelines-synchronously, eshell-eval-command):
20323 Use backquotes and prefer setq to set.
20324 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
20325 (eshell-macrop): Use functionp.
20326 (eshell-do-eval): Handle multiple expressions in `while' body.
20327
20328 2011-10-30 Chong Yidong <cyd@gnu.org>
20329
20330 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
20331 instead of set-mark (Bug#9810).
20332
20333 2011-10-30 Chong Yidong <cyd@gnu.org>
20334
20335 * window.el (split-window-below, split-window-right): Rename from
20336 split-window-above-each-other and split-window-side-by-side
20337 respectively. All callers changed.
20338 (split-window-sensibly, split-window-sensibly): Use them.
20339 (split-window-keep-point): Doc fix.
20340
20341 * isearch.el: Add isearch-scroll property to split-window-below
20342 and split-window-right.
20343
20344 * follow.el (follow-mode):
20345 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
20346 * progmodes/ada-xref.el (ada-gdb-application):
20347 * emulation/vip.el (vip-buffer-in-two-windows):
20348 * image-dired.el (image-dired-dired-with-window-configuration):
20349 * dired-x.el (dired-do-find-marked-files):
20350 * dired.el (dired-pop-to-buffer):
20351 * bs.el (bs--show-with-configuration):
20352 * vc/emerge.el (emerge-setup-windows):
20353 * textmodes/two-column.el (2C-two-columns):
20354 * textmodes/reftex-toc.el (reftex-toc):
20355 * progmodes/gdb-mi.el (gdb-setup-windows):
20356 * progmodes/fortran.el (fortran-window-create):
20357 * net/newst-treeview.el (newsticker--treeview-window-init):
20358 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
20359 * emulation/tpu-edt.el (tpu-gold-map):
20360 * emulation/crisp.el (crisp-mode-map):
20361 * calendar/calendar.el (calendar-basic-setup): Callers changed.
20362
20363 2011-10-29 Chong Yidong <cyd@gnu.org>
20364
20365 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
20366
20367 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
20368
20369 * textmodes/flyspell.el (flyspell-word): Fix char offset for
20370 forged Ispell output (Bug#7904).
20371
20372 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
20373
20374 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
20375
20376 * doc-view.el: Avoid ugly errors about not finding nil.
20377 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
20378 (doc-view-dvipdf-program, doc-view-unoconv-program)
20379 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
20380 Avoid nil or absolute file name as default value.
20381 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
20382
20383 2011-10-28 Alan Mackenzie <acm@muc.de>
20384
20385 * progmodes/cc-defs.el (c-version): -> 5.32.2.
20386
20387 2011-10-28 Alan Mackenzie <acm@muc.de>
20388
20389 Amend the handling of c-beginning/end-of-defun in nested declaration
20390 scopes.
20391
20392 * progmodes/cc-vars.el (c-defun-tactic): Move here from
20393 cc-langs.el. Change it to a defcustom.
20394
20395 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
20396 cc-vars.el.
20397
20398 * progmodes/cc-engine.el (c-beginning-of-statement-1):
20399 Prevent "class foo : bar" being spuriously recognized as a label.
20400
20401 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
20402 Add parameter `inclusive' (to include enclosing braces in the region).
20403 (c-widen-to-enclosing-decl-scope): New function.
20404 (c-while-widening-to-decl-block): New macro.
20405 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
20406 outward for defun boundaries, and correspondingly change symbol
20407 `respect-enclosure' to `go-outward'.
20408 (c-declaration-limits): Change algorithm to report only the "innermost"
20409 defun's boundaries.
20410
20411 2011-10-28 Deniz Dogan <deniz@dogan.se>
20412
20413 * net/rcirc.el (rcirc-mode): Use hard newlines.
20414
20415 2011-10-28 Alan Mackenzie <acm@muc.de>
20416
20417 Amend to indent and fontify macros "which include their own semicolon"
20418 correctly, using the "virtual semicolon" mechanism.
20419
20420 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
20421
20422 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
20423 Recode to scan one line at a time rather than having \n and \r
20424 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
20425 (c-forward-label): Amend for virtual semicolons.
20426 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
20427
20428 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
20429 of the new C macros.
20430
20431 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
20432 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
20433 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
20434 (c-opt-cpp-macro-define): Make into a full language variable.
20435 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
20436 AWK Mode (including \n, \r) removed, no longer needed.
20437
20438 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
20439 Invoke c-make-macro-with-semi-re.
20440
20441 * progmodes/cc-vars.el (c-macro-with-semi-re):
20442 (c-macro-names-with-semicolon): New variables.
20443 (c-make-macro-with-semi-re): New function.
20444
20445 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
20446
20447 * vc/log-edit.el: Fill empty field rather than adding new one.
20448 (log-edit-add-field): New function.
20449 (log-edit-insert-changelog): Use it.
20450
20451 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
20452
20453 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
20454
20455 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
20456
20457 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
20458 (gdb--check-interpreter): New function.
20459 (gdb): Use it.
20460
20461 2011-10-27 Glenn Morris <rgm@gnu.org>
20462
20463 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
20464 (least-positive-float, least-negative-float)
20465 (least-positive-normalized-float, least-negative-normalized-float)
20466 (float-epsilon, float-negative-epsilon):
20467 Remove unnecessary declarations.
20468
20469 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
20470 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
20471 (least-positive-float, least-negative-float)
20472 (least-positive-normalized-float, least-negative-normalized-float)
20473 (float-epsilon, float-negative-epsilon): Add doc-strings,
20474 based on those in cl.texi.
20475
20476 * files.el (set-visited-file-name): If the major-mode changed,
20477 reload the local variables. (Bug#9796)
20478
20479 2011-10-27 Chong Yidong <cyd@gnu.org>
20480
20481 * subr.el (change-major-mode-after-body-hook): New hook.
20482 (run-mode-hooks): Run it.
20483
20484 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
20485 Use change-major-mode-before-body-hook.
20486
20487 * simple.el (fundamental-mode):
20488 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
20489 change introducing fundamental-mode-hook.
20490
20491 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
20492
20493 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
20494
20495 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
20496
20497 * ido.el (ido-file-name-all-completions-1): Do not require
20498 tramp.el explicitly. (Bug#7583)
20499
20500 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
20501
20502 * progmodes/octave-mod.el:
20503 * progmodes/octave-inf.el: Update maintainer.
20504
20505 2011-10-26 Chong Yidong <cyd@gnu.org>
20506
20507 * subr.el (with-wrapper-hook): Rewrite doc.
20508
20509 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
20510
20511 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
20512 filenames "/method:foo:". (Bug#9793)
20513
20514 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
20515
20516 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
20517 (bug#9865).
20518
20519 2011-10-24 Glenn Morris <rgm@gnu.org>
20520
20521 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
20522
20523 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
20524
20525 * notifications.el: Add the requirement of a running D-Bus session
20526 bus to the Commentary.
20527
20528 2011-10-24 Juri Linkov <juri@jurta.org>
20529
20530 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
20531 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
20532 (Bug#9364)
20533
20534 2011-10-24 Juri Linkov <juri@jurta.org>
20535
20536 * info.el (Info-following-node-name-re): Add newline to the list
20537 of allowed characters for leading space. (Bug#9824)
20538
20539 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
20540
20541 * progmodes/octave-inf.el (inferior-octave-mode-map):
20542 Fix C-c C-h binding.
20543 * progmodes/octave-mod.el (octave-help): Remove.
20544
20545 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
20546
20547 Sync with Tramp 2.2.3.
20548
20549 * net/tramp-cache.el (top): Pacify byte-compiler using
20550 `init-file-user' and `site-run-file'.
20551
20552 * net/trampver.el: Update release number.
20553
20554 2011-10-23 Chong Yidong <cyd@gnu.org>
20555
20556 * files.el (toggle-read-only): Remove obsolete comment about
20557 version control.
20558
20559 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
20560 for toggle-read-only. Note that this hasn't called vc-next-action
20561 since 2008-05-02, though it wasn't documented at the time.
20562
20563 * vc/ediff-init.el (ediff-toggle-read-only-function):
20564 Use toggle-read-only.
20565
20566 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
20567
20568 Fix bug #9560, sporadic wrong indentation; improve instrumentation
20569 of c-parse-state.
20570
20571 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
20572 correct faulty logical expression.
20573 (c-parse-state-state, c-record-parse-state-state):
20574 (c-replay-parse-state-state): New defvar/defuns.
20575 (c-debug-parse-state): Use new functions.
20576
20577 2011-10-22 Martin Rudalics <rudalics@gmx.at>
20578
20579 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
20580 last fix. Use window-in-direction correctly.
20581
20582 2011-10-21 Chong Yidong <cyd@gnu.org>
20583
20584 * progmodes/idlwave.el (idlwave-mode):
20585 * progmodes/vera-mode.el (vera-mode): No need to set
20586 require-final-newline; that's done in prog-mode.
20587 Suggested by Stefan Monnier.
20588
20589 2011-10-21 Martin Rudalics <rudalics@gmx.at>
20590
20591 * mouse.el (mouse-drag-window-above)
20592 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
20593 (mouse-drag-mode-line-1, mouse-drag-header-line)
20594 (mouse-drag-vertical-line-rightward-window): Remove.
20595 (mouse-drag-line): New function.
20596 (mouse-drag-mode-line, mouse-drag-header-line)
20597 (mouse-drag-vertical-line): Call mouse-drag-line.
20598 * window.el (window-at-side-p, windows-at-side): New functions.
20599
20600 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
20601
20602 * tar-mode.el (tar-grind-file-mode):
20603 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
20604
20605 2011-10-21 Chong Yidong <cyd@gnu.org>
20606
20607 * progmodes/idlwave.el (idlwave-mode):
20608 * progmodes/vera-mode.el (vera-mode):
20609 Use mode-require-final-newline.
20610
20611 2011-10-20 Glenn Morris <rgm@gnu.org>
20612
20613 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
20614
20615 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
20616
20617 * emulation/cua-base.el (cua-set-mark): Fix case of string.
20618
20619 2011-10-20 Chong Yidong <cyd@gnu.org>
20620
20621 * emulation/cua-base.el (cua-mode):
20622 * mail/footnote.el (footnote-mode):
20623 * mail/mailabbrev.el (mail-abbrevs-mode):
20624 * net/xesam.el (xesam-minor-mode):
20625 * progmodes/bug-reference.el (bug-reference-mode):
20626 * progmodes/cap-words.el (capitalized-words-mode):
20627 * progmodes/compile.el (compilation-minor-mode)
20628 (compilation-shell-minor-mode):
20629 * progmodes/gud.el (gud-tooltip-mode):
20630 * progmodes/hideif.el (hide-ifdef-mode):
20631 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
20632 * progmodes/subword.el (subword-mode):
20633 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
20634 * progmodes/which-func.el (which-function-mode):
20635 * term/tvi970.el (tvi970-set-keypad-mode):
20636 * term/vt100.el (vt100-wide-mode):
20637 * textmodes/flyspell.el (flyspell-mode):
20638 * textmodes/ispell.el (ispell-minor-mode):
20639 * textmodes/nroff-mode.el (nroff-electric-mode):
20640 * textmodes/paragraphs.el (use-hard-newlines):
20641 * textmodes/refill.el (refill-mode):
20642 * textmodes/reftex.el (reftex-mode):
20643 * textmodes/rst.el (rst-minor-mode):
20644 * textmodes/sgml-mode.el (html-autoview-mode)
20645 (sgml-electric-tag-pair-mode):
20646 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
20647 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
20648 * emulation/crisp.el (crisp-mode):
20649 * emacs-lisp/eldoc.el (eldoc-mode):
20650 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
20651 minor mode behavior.
20652
20653 2011-10-19 Juri Linkov <juri@jurta.org>
20654
20655 * descr-text.el (describe-char): Add #x2010 and #x2011 to
20656 the list of hard-coded chars with escape-glyph face.
20657
20658 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
20659
20660 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
20661
20662 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
20663
20664 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
20665 running process.
20666
20667 2011-10-19 Glenn Morris <rgm@gnu.org>
20668
20669 * vc/vc-bzr.el (vc-bzr-after-dir-status):
20670 Ignore ignored files. (Bug#9726)
20671
20672 2011-10-19 Chong Yidong <cyd@gnu.org>
20673
20674 Doc fix for minor modes, stating that an omitted argument enables
20675 the mode unconditionally when called from Lisp.
20676
20677 * abbrev.el (abbrev-mode):
20678 * allout.el (allout-mode):
20679 * autoinsert.el (auto-insert-mode):
20680 * autoarg.el (autoarg-mode, autoarg-kp-mode):
20681 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
20682 (global-auto-revert-mode):
20683 * battery.el (display-battery-mode):
20684 * composite.el (global-auto-composition-mode)
20685 (auto-composition-mode):
20686 * delsel.el (delete-selection-mode):
20687 * desktop.el (desktop-save-mode):
20688 * dired-x.el (dired-omit-mode):
20689 * dirtrack.el (dirtrack-mode):
20690 * doc-view.el (doc-view-minor-mode):
20691 * double.el (double-mode):
20692 * electric.el (electric-indent-mode, electric-pair-mode):
20693 * emacs-lock.el (emacs-lock-mode):
20694 * epa-hook.el (auto-encryption-mode):
20695 * follow.el (follow-mode):
20696 * font-core.el (font-lock-mode):
20697 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
20698 * help.el (temp-buffer-resize-mode):
20699 * hilit-chg.el (highlight-changes-mode)
20700 (highlight-changes-visible-mode):
20701 * hi-lock.el (hi-lock-mode):
20702 * hl-line.el (hl-line-mode, global-hl-line-mode):
20703 * icomplete.el (icomplete-mode):
20704 * ido.el (ido-everywhere):
20705 * image-file.el (auto-image-file-mode):
20706 * image-mode.el (image-minor-mode):
20707 * iswitchb.el (iswitchb-mode):
20708 * jka-cmpr-hook.el (auto-compression-mode):
20709 * linum.el (linum-mode):
20710 * longlines.el (longlines-mode):
20711 * master.el (master-mode):
20712 * mb-depth.el (minibuffer-depth-indicate-mode):
20713 * menu-bar.el (menu-bar-mode):
20714 * minibuf-eldef.el (minibuffer-electric-default-mode):
20715 * mouse-sel.el (mouse-sel-mode):
20716 * msb.el (msb-mode):
20717 * mwheel.el (mouse-wheel-mode):
20718 * outline.el (outline-minor-mode):
20719 * paren.el (show-paren-mode):
20720 * recentf.el (recentf-mode):
20721 * reveal.el (reveal-mode, global-reveal-mode):
20722 * rfn-eshadow.el (file-name-shadow-mode):
20723 * ruler-mode.el (ruler-mode):
20724 * savehist.el (savehist-mode):
20725 * scroll-all.el (scroll-all-mode):
20726 * scroll-bar.el (scroll-bar-mode):
20727 * server.el (server-mode):
20728 * shell.el (shell-dirtrack-mode):
20729 * simple.el (auto-fill-mode, transient-mark-mode)
20730 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
20731 (line-number-mode, column-number-mode, size-indication-mode)
20732 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
20733 * strokes.el (strokes-mode):
20734 * time.el (display-time-mode):
20735 * t-mouse.el (gpm-mouse-mode):
20736 * tool-bar.el (tool-bar-mode):
20737 * tooltip.el (tooltip-mode):
20738 * type-break.el (type-break-mode-line-message-mode)
20739 (type-break-query-mode):
20740 * view.el (view-mode):
20741 * whitespace.el (whitespace-mode, whitespace-newline-mode)
20742 (global-whitespace-mode, global-whitespace-newline-mode):
20743 * xt-mouse.el (xterm-mouse-mode): Doc fix.
20744
20745 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
20746 Fix autogenerated docstring.
20747
20748 2011-10-19 Juri Linkov <juri@jurta.org>
20749
20750 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
20751 by checking environment variables "DESKTOP_SESSION" and
20752 "XDG_CURRENT_DESKTOP". (Bug#9779)
20753
20754 2011-10-19 Juri Linkov <juri@jurta.org>
20755
20756 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
20757 (browse-url-chromium-program, browse-url-chromium-arguments):
20758 New defcustoms.
20759 (browse-url-default-browser): Check for `browse-url-chromium' and
20760 call `browse-url-chromium-program'.
20761 (browse-url-chromium): New command. (Bug#9779)
20762
20763 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
20764
20765 * facemenu.el (list-colors-duplicates): On Windows, detect more
20766 duplicates by assuming that only colors matching "^System" are
20767 special "system colors". (Bug#9722)
20768
20769 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
20770
20771 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
20772 to distinguish the author from the committer.
20773
20774 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
20775
20776 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
20777
20778 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
20779
20780 * international/mule.el (sgml-html-meta-auto-coding-function):
20781 Add support for detecting encoding in HTML5 specified only as
20782 <meta charset="UTF-8">. Implementation just makes http-equiv and
20783 content-type parts from HTML4 encoding string optional. (Bug#9716)
20784
20785 2011-10-18 Glenn Morris <rgm@gnu.org>
20786
20787 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
20788
20789 2011-10-18 Chong Yidong <cyd@gnu.org>
20790
20791 * faces.el (cursor): Doc fix.
20792
20793 2011-10-17 Chong Yidong <cyd@gnu.org>
20794
20795 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
20796
20797 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
20798
20799 * dirtrack.el (dirtrack): Support shell buffers with path
20800 prefixes, e.g. tramp-based remote shells. (Bug#9647)
20801
20802 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
20803
20804 * json.el: Bump version to 1.3 and note change in History.
20805 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
20806
20807 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
20808
20809 * comint.el (comint-insert-input, comint-send-input)
20810 (comint-get-old-input-default, comint-backward-matching-input)
20811 (comint-next-prompt): Use nil instead of `input' for field property of
20812 past user input (bug#114).
20813
20814 * minibuffer.el (completion--replace): Inherit surrounding properties
20815 (bug#114).
20816 (minibuffer-complete-and-exit): Use it.
20817
20818 * comint.el (comint--table-subvert): Quote the all-completions output
20819 (bug#9160).
20820
20821 2011-10-17 Martin Rudalics <rudalics@gmx.at>
20822
20823 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
20824
20825 * menu-bar.el (menu-bar-file-menu): Add entry for making new
20826 window on right of selected. (Bug#9350) Reword other window
20827 entries and separate them from frame entries.
20828
20829 2011-10-15 Glenn Morris <rgm@gnu.org>
20830
20831 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
20832 Doc fixes.
20833
20834 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
20835
20836 * net/network-stream.el (network-stream-open-starttls):
20837 Improve detection of failure due to lack of TLS support.
20838
20839 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
20840 putting the input text in front and in bold.
20841
20842 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
20843
20844 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
20845
20846 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
20847 empty buffer.
20848
20849 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
20850 unread-command-events rather than pushing yet-another event.
20851
20852 2011-10-14 Eli Zaretskii <eliz@gnu.org>
20853
20854 * mail/sendmail.el (sendmail-query-once): Improve the wording of
20855 the explanation of the possible choices. Make the options passed
20856 to completing-read shorter.
20857
20858 2011-10-13 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
20859
20860 * textmodes/flyspell.el (flyspell-large-region): Make sure
20861 extended character mode is used if defined (Bug#1339).
20862
20863 2011-10-13 Eli Zaretskii <eliz@gnu.org>
20864
20865 * simple.el (what-cursor-position): Fix the display of the
20866 character info for LRE, LRO, RLE, and RLO characters by appending
20867 an invisible PDF.
20868
20869 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
20870
20871 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
20872 even in case of error; add debug spec; simplify data flow.
20873 (with-timeout-handler): Remove.
20874
20875 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
20876
20877 Fix Bug#6019, Bug#9315.
20878
20879 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
20880 complete `buffer-file-name', the local file name part could look
20881 remotely (for example on VMS).
20882
20883 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
20884 `tramp-run-real-handler'.
20885 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
20886 already quoted by '"'.
20887
20888 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
20889 Let `file-name-handler-alist' be nil, the local file name part
20890 could look remotely (for example on VMS).
20891
20892 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
20893
20894 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
20895 from here...
20896 (flyspell-post-command-hook): ...to here.
20897
20898 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
20899
20900 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
20901 if not needed.
20902 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
20903 using completion. Protect against "slow" callers.
20904 Remove the "message hack".
20905
20906 2011-10-11 Juri Linkov <juri@jurta.org>
20907
20908 * isearch.el (isearch-lazy-highlight-word): New variable.
20909 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
20910 Use it. (Bug#9727)
20911
20912 2011-10-11 Glenn Morris <rgm@gnu.org>
20913
20914 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
20915 like f90-previous-statement does.
20916
20917 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
20918
20919 * eshell/eshell.el (eshell-command): History should be saved
20920 only in interactive use, to avoid error.
20921
20922 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
20923
20924 * minibuffer.el (completion-file-name-table): Fix last change,
20925 i.e. ignore normal errors but not the other ones.
20926
20927 2011-10-10 Martin Rudalics <rudalics@gmx.at>
20928
20929 * window.el (special-display-buffer-names)
20930 (special-display-regexps): Remove some remnants of earlier
20931 changes from doc-strings.
20932 (quit-windows-on): New function.
20933
20934 * vc/vc.el (vc-revert, vc-rollback):
20935 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
20936 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
20937 (Bug#6183) (Bug#7074) (Bug#7447)
20938
20939 2011-10-09 Martin Rudalics <rudalics@gmx.at>
20940
20941 * window.el (frame-auto-hide-function): Add version tag.
20942 (Bug#9699)
20943
20944 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
20945
20946 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
20947 condition.
20948
20949 2011-10-09 Leo Liu <sdl.web@gmail.com>
20950
20951 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
20952 (Bug#9701)
20953
20954 2011-10-08 Glenn Morris <rgm@gnu.org>
20955
20956 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
20957 before the first code statement zero indent. (Bug#9690)
20958
20959 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
20960
20961 * simple.el (count-words-region): Always count in the region.
20962 Report the number of lines and characters too.
20963 (count-words): New command, which counts in the buffer if the
20964 region is inactive, as count-words-region used to.
20965 (count-words--message): New function. Handle plurals.
20966 (count-lines-region): Make it an alias for count-words-region.
20967
20968 * bindings.el (esc-map): Replace count-lines-region with
20969 count-words-region.
20970
20971 2011-10-08 Martin Rudalics <rudalics@gmx.at>
20972
20973 * window.el (window--delete): Delete dedicated frame
20974 unconditionally when argument KILL is non-nil. (Bug#9699)
20975 (switch-to-buffer): Fix doc-string typo.
20976
20977 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
20978
20979 * eshell/eshell.el (eshell-command): Avoid using hooks.
20980
20981 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
20982
20983 * bindings.el ([M-left], [M-right]): Bind to left-word and
20984 right-word respectively.
20985
20986 2011-10-07 Glenn Morris <rgm@gnu.org>
20987
20988 * cus-start.el (debug-on-quit): Fix custom type.
20989
20990 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
20991
20992 * subr.el (define-key-after): Clarify that the function is not
20993 useful for non-menu keymaps.
20994
20995 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
20996
20997 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
20998
20999 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
21000 in current minibuffer (Fix bug with recursive minibuffers).
21001
21002 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
21003
21004 * progmodes/gdb-mi.el (gdb): Doc fix.
21005
21006 2011-10-05 Martin Rudalics <rudalics@gmx.at>
21007
21008 * window.el (frame-auto-hide-function): New option replacing
21009 frame-auto-delete. Suggested by Stefan Monnier.
21010 (window--delete): Call frame-auto-hide-function instead of
21011 investigating frame-auto-delete.
21012 (window-point-1, set-window-point-1): New functions.
21013 (window-in-direction, record-window-buffer, window-state-get-1)
21014 (display-buffer-record-window): Use window-point-1 instead of
21015 window-point.
21016 (set-window-buffer-start-and-point): Use set-window-point-1.
21017
21018 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
21019
21020 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
21021
21022 2011-10-05 Glenn Morris <rgm@gnu.org>
21023
21024 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
21025 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
21026
21027 2011-10-05 Leo Liu <sdl.web@gmail.com>
21028
21029 * subr.el (read-char-choice): Fix argument to buffer-live-p which
21030 works with buffer object.
21031
21032 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
21033
21034 * mpc.el (mpc-tool-bar-map): Add labels.
21035
21036 2011-10-04 Glenn Morris <rgm@gnu.org>
21037
21038 * calendar/holidays.el (calendar-check-holidays): Doc fix.
21039
21040 2011-10-04 Martin Rudalics <rudalics@gmx.at>
21041
21042 * window.el (window--delete): New function.
21043 (frame-auto-delete): Resuscitate option.
21044 (bury-buffer, replace-buffer-in-windows)
21045 (quit-window): Rewrite using window--delete.
21046 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
21047 Pass display-buffer-mark-dedicated to window--display-buffer-2
21048 (Bug#9639).
21049
21050 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
21051
21052 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
21053 returns a list (bug#9554). Add remote file name completion.
21054 * comint.el (comint--table-subvert): Curry and get quote&unquote
21055 functions as arguments.
21056 (comint--complete-file-name-data): Adjust call accordingly.
21057 * pcomplete.el (pcomplete--table-subvert): Remove.
21058 (pcomplete-completions-at-point): Use comint--table-subvert instead.
21059
21060 * minibuffer.el (completion-table-case-fold): Use currying.
21061 (completion--styles-type, completion--cycling-threshold-type):
21062 New constants.
21063 (completion-styles, completion-category-overrides)
21064 (completion-cycle-threshold): Use them.
21065 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
21066 completion-table-case-fold.
21067
21068 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
21069
21070 * minibuffer.el (completion-category-overrides): Fix type of styles
21071 and add more user friendly tags (bug#9660).
21072
21073 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
21074
21075 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
21076 (mule-input-method-string): New widget.
21077 (default-input-method, language-info-custom-alist): Use it.
21078
21079 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
21080
21081 * pcomplete.el: Require comint.
21082 (pcomplete--common-suffix): Remove.
21083 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
21084 (pcomplete--table-subvert): Sync with comint--table-subvert.
21085 (pcomplete--entries): Use comint-completion-file-name-table.
21086 * comint.el (comint-unquote-filename): Simplify.
21087 (comint-completion-file-name-table): New function (bug#9616).
21088 (comint--complete-file-name-data): Use it.
21089
21090 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
21091 (pcmpl-gnu-tar-buffer): Remove.
21092 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
21093 around. Make sure pcomplete-suffix-list is only changed temporarily.
21094 Don't look inside the tar's file if it's too large.
21095
21096 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
21097
21098 * cus-edit.el (custom-mode-map):
21099 * epa.el (epa-key-list-mode-map):
21100 * man.el (Man-mode-map):
21101 * startup.el (splash-screen-keymap):
21102 * simple.el (special-mode-map): Use scroll-up-command and
21103 scroll-down-command.
21104
21105 * progmodes/idlw-help.el (idlwave-help-mode-map):
21106 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
21107 * net/newst-plainview.el (newsticker-mode-map):
21108 * emulation/ws-mode.el (wordstar-mode-map):
21109 * emulation/vi.el (vi-com-map):
21110 * calc/calc-graph.el (calc-graph-show-dumb):
21111 * term/sun.el (terminal-init-sun):
21112 * term/ns-win.el (global-map):
21113 * progmodes/grep.el (grep-mode-map):
21114 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
21115 * mail/rmail.el (rmail-mode-map):
21116 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
21117
21118 * custom.el (custom-safe-themes, load-theme): Treat value of t for
21119 custom-safe-themes as special.
21120
21121 2011-10-01 Julien Danjou <julien@danjou.info>
21122
21123 * notifications.el (notifications-notify): Fix docstring.
21124
21125 2011-10-01 Per Starbäck <per@starback.se>
21126
21127 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
21128
21129 2011-09-30 Martin Rudalics <rudalics@gmx.at>
21130
21131 * startup.el (command-line-1): Fix last fix by inserting
21132 initial-scratch-message into *scratch* before displaying it.
21133 (Bug#9605) and (Bug#9636)
21134
21135 2011-09-29 Eli Zaretskii <eliz@gnu.org>
21136
21137 * simple.el (line-move): If auto-hscroll-mode is disabled and the
21138 window is hscrolled, move by logical lines. (Bug#9607)
21139 (line-move-visual): Update the doc string to the above effect.
21140
21141 2011-09-29 Martin Rudalics <rudalics@gmx.at>
21142
21143 * window.el (display-buffer-record-window): When WINDOW is the
21144 selected window use `point' instead of `window-point'. (Bug#9626)
21145
21146 * startup.el (command-line-1): Use insert-before-markers when
21147 inserting initial-scratch-message. (Bug#9605)
21148
21149 * help.el (help-window): Remove variable.
21150
21151 2011-09-29 Glenn Morris <rgm@gnu.org>
21152
21153 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
21154
21155 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
21156
21157 * descr-text.el (describe-char-categories): Accept category
21158 descriptions more than one line long.
21159
21160 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
21161
21162 * simple.el (delete-trailing-whitespace): Fix last change.
21163
21164 * progmodes/perl-mode.el (perl-syntax-propertize-function):
21165 Don't confuse "y => 3" as the beginning of a `y' operation.
21166
21167 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
21168 object has more than 4 slots (bug#9613).
21169
21170 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
21171
21172 * subr.el (with-output-to-temp-buffer):
21173 * net/quickurl.el (quickurl, quickurl-browse-url):
21174 Fix typos in docstrings.
21175
21176 2011-09-27 Eli Zaretskii <eliz@gnu.org>
21177
21178 * minibuffer.el (completion-styles)
21179 (completion-category-overrides): Cross reference each other in doc
21180 strings.
21181
21182 2011-09-27 Glenn Morris <rgm@gnu.org>
21183
21184 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
21185 to split-string. (Bug#9606)
21186
21187 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
21188
21189 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
21190 (bug#9615).
21191
21192 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
21193
21194 * emacs-lisp/package.el (list-packages): Fix echo area message.
21195
21196 2011-09-27 Leo Liu <sdl.web@gmail.com>
21197
21198 * ido.el (ido-read-internal): Accept cons cell HIST arg.
21199
21200 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
21201
21202 * net/dbus.el (dbus-unregister-object): Don't release services for
21203 registered signals. (Bug#9581)
21204
21205 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
21206
21207 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
21208 function that picks between cfengine 2 and 3 support
21209 automatically. Update docs accordingly.
21210
21211 2011-09-22 Kenichi Handa <handa@m17n.org>
21212
21213 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
21214 ZERO.
21215 (indian-itrans-v5-table-for-tamil): New variable.
21216 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
21217
21218 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
21219
21220 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
21221 that's true if the current command involved collapsing of text.
21222 It's reset to false at the beginning of the next command.
21223 (allout-post-command-business): Move the cursor to the beginning
21224 of entry if the cursor is hidden and collapsing activity just
21225 happened.
21226
21227 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
21228
21229 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
21230 tracking (Bug#9541).
21231
21232 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
21233
21234 * net/newst-reader.el (newsticker-html-renderer)
21235 (newsticker-show-news): Automatically load html rendering package
21236 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
21237 because w3m-fill-column is let-bound" and the error "Symbol's value
21238 as variable is void: w3m-fill-column".
21239
21240 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
21241
21242 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
21243 Release services only if they are defined. (Bug#9581)
21244
21245 2011-09-23 Richard Stallman <rms@gnu.org>
21246
21247 * textmodes/paragraphs.el (forward-sentence): For backwards case,
21248 distinguish start of paragraph from start of its text.
21249
21250 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
21251
21252 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
21253 (rmail-generate-viewer-buffer): Put that hook on view buffer.
21254 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
21255
21256 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
21257
21258 * international/mule-diag.el (mule-diag): Insert a newline after
21259 each fontset description.
21260
21261 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
21262
21263 * simple.el (delete-trailing-whitespace):
21264 Document last change; simplify.
21265
21266 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
21267
21268 * simple.el (delete-trailing-whitespace): Also delete
21269 extra newlines at the end of the buffer.
21270
21271 * textmodes/picture.el: Make motion commands obey shift-select-mode.
21272 (picture-newline): Use forward-line so as to ignore fields.
21273
21274 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
21275
21276 * subr.el (with-wrapper-hook): Fix edebug spec.
21277
21278 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
21279
21280 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
21281 (bug#4538).
21282
21283 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
21284
21285 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
21286 Fix nasty bug using wrong cached values.
21287
21288 2011-09-23 Alan Mackenzie <acm@muc.de>
21289
21290 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
21291
21292 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
21293
21294 * window.el (pop-to-buffer): Ensure right window is selected if we
21295 chose another frame.
21296
21297 2011-09-22 Eli Zaretskii <eliz@gnu.org>
21298
21299 * simple.el (what-cursor-position): Use get-char-property-change
21300 and next-single-char-property-change, to be able to show display
21301 properties that come from overlays as well as text properties.
21302
21303 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
21304
21305 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
21306
21307 * cmuscheme.el (run-scheme, switch-to-scheme):
21308 * cus-edit.el (customize-group, custom-buffer-create)
21309 (customize-browse):
21310 * info.el (info):
21311 * shell.el (shell):
21312 * mail/sendmail.el (mail):
21313 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
21314
21315 2011-09-22 Richard Stallman <rms@gnu.org>
21316
21317 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
21318 move back only to line beg, don't move back over blank lines.
21319
21320 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
21321
21322 * files.el (copy-directory): Set directory attributes only in case
21323 they could be retrieved from the source directory. (Bug#9565)
21324
21325 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
21326
21327 * progmodes/hideshow.el (hs-looking-at-block-start-p)
21328 (hs-find-block-beginning, hs-hide-level-recursive):
21329 Ignore strings as well as comments. (Bug#9502)
21330
21331 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
21332
21333 * progmodes/sql.el (sql-comint-postgres):
21334 Convert port number to a string. (Bug#9566)
21335
21336 2011-09-22 Martin Rudalics <rudalics@gmx.at>
21337
21338 * window.el (quit-window): Undedicate window when switching to
21339 previous buffer. Reported by Thierry Volpiatto
21340 <thierry.volpiatto@gmail.com>.
21341 (special-display-popup-frame): When popping up a new frame reset
21342 its previous buffers to nil. Simplify code.
21343
21344 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
21345
21346 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
21347 and process filter, as done also in `shell-command'.
21348
21349 2011-09-21 Martin Rudalics <rudalics@gmx.at>
21350
21351 * window.el (set-window-buffer-start-and-point):
21352 Call set-window-start with NOFORCE argument t.
21353 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
21354 (quit-window): Reword doc-string. Handle new format of
21355 quit-restore parameter. Don't delete window if it has a
21356 previous buffer we can show instead of the present one.
21357 (display-buffer-record-window): Rewrite using a new format for
21358 the quit-restore window parameter
21359 (special-display-popup-frame, display-buffer-same-window)
21360 (display-buffer-reuse-window, display-buffer-pop-up-frame)
21361 (display-buffer-pop-up-window, display-buffer-use-some-window):
21362 Adapt symbol passed to display-buffer-record-window.
21363 * help.el (help-window-setup): Handle new format of quit-restore
21364 parameter.
21365
21366 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
21367
21368 * faces.el (face-list): Fix docstring (bug#9564).
21369
21370 * window.el (display-buffer--action-function-custom-type):
21371 Don't include internal functions in the Custom interface.
21372
21373 2011-09-20 Juri Linkov <juri@jurta.org>
21374
21375 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
21376 (Info-forward-node, Info-backward-node, Info-next-preorder)
21377 (Info-last-preorder): Use it. (Bug#9528)
21378
21379 2011-09-20 Juri Linkov <juri@jurta.org>
21380
21381 * info.el (Info-last-preorder): Visit last menu item only when
21382 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
21383
21384 2011-09-20 Julien Danjou <julien@danjou.info>
21385
21386 * password-cache.el (password-cache-remove): Remove entries even if the
21387 value is nil, so that password with a nil value (negative caching) is
21388 possible to invalidate.
21389
21390 2011-09-20 Lawrence Mitchell <wence@gmx.li>
21391
21392 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
21393 all whitespace around breakpoint. (Bug#9553)
21394 (f90-find-breakpoint): Only break at whitespace inside a comment.
21395
21396 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
21397
21398 * minibuffer.el (completion-file-name-table): Keep track of errors.
21399 (completion-table-with-predicate): Handle the case where pred1 is nil.
21400 * pcomplete.el (pcomplete-completions-at-point): Simplify.
21401
21402 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
21403
21404 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
21405 (debugger-return-value): Signal an error if the debugging context does
21406 not await any return value.
21407
21408 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
21409 * image-mode.el (image-toggle-display-text)
21410 (image-toggle-display-image): Stay away from evil `intangible'.
21411
21412 2011-09-19 Leo Liu <sdl.web@gmail.com>
21413
21414 * replace.el (occur-revert-arguments): Make it permanent-local.
21415 (occur-mode): Don't call font-lock-defontify.
21416
21417 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
21418
21419 * net/ldap.el (ldap-search-internal): Don't push empty search
21420 result (Bug#9508).
21421
21422 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
21423
21424 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
21425
21426 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
21427
21428 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
21429 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
21430
21431 2011-09-18 Juri Linkov <juri@jurta.org>
21432
21433 * buff-menu.el (Buffer-menu-mode-map):
21434 * dired.el (dired-mode-map):
21435 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
21436 (lisp-interaction-mode-map):
21437 * emacs-lisp/package.el (package-menu-mode-map):
21438 * epa.el (epa-key-list-mode-map):
21439 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
21440 (menu-bar-options-menu):
21441 * outline.el (outline-mode-menu-bar-map):
21442 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
21443 * vc/vc-dir.el (vc-dir-menu-map):
21444 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
21445 Capitalize non-function content words in menu item strings.
21446
21447 * dired.el (dired-mode-map): Add menu item for
21448 `image-dired-dired-toggle-marked-thumbs'.
21449
21450 2011-09-18 Juri Linkov <juri@jurta.org>
21451
21452 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
21453 to `isearch-case-fold-search' and restore its original value
21454 after the `isearch-mode' call.
21455
21456 2011-09-18 Juri Linkov <juri@jurta.org>
21457
21458 * progmodes/grep.el (grep-process-setup): Don't check code for 1
21459 because `zgrep' returns 1 for successful matches (bug#9226).
21460
21461 2011-09-18 Juri Linkov <juri@jurta.org>
21462
21463 * info.el (Info-extract-menu-node-name): Check the second match
21464 for empty string (second test-case of bug#9528).
21465 (Info-last-preorder): Let-bind `Info-history' to nil to not add
21466 intermediate nodes to the history (first test-case of bug#9528).
21467
21468 2011-09-18 Juri Linkov <juri@jurta.org>
21469
21470 * info.el (Info-mode-syntax-table): New variable.
21471 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
21472
21473 2011-09-18 Juri Linkov <juri@jurta.org>
21474
21475 * info.el (Info-file-supports-index-cookies):
21476 Increment line-beginning-position's arg from 3 to 4 because makeinfo
21477 outputs one more line for long file names (bug#4142).
21478
21479 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
21480
21481 * newcomment.el (comment-normalize-vars): If prompting for
21482 comment-start, set comment-start-skip too (Bug#8424).
21483
21484 2011-09-18 Johan BockgĂ¥rd <bojohan@gnu.org>
21485
21486 * icomplete.el: Fix previous fix of Bug#5849.
21487 (icomplete-mode): Don't set completion-show-inline-help.
21488 (icomplete-minibuffer-setup): Set completion-show-inline-help
21489 locally during icompletion.
21490
21491 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
21492
21493 * woman.el (woman2-process-escapes): Don't delete unrecognized
21494 escapes (Bug#7843).
21495
21496 * files.el (inhibit-first-line-modes-regexps): Add image files.
21497 (hack-local-variables-prop-line): Return nil for malformed
21498 prop-lines (Bug#9044).
21499
21500 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
21501
21502 * net/tramp.el (top): Don't require 'shell.
21503 (tramp-methods): Fix docstring.
21504 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
21505 Return complete remote file name. Handle "smb" case.
21506 Use `tramp-tmpdir', if defined for the respective method.
21507 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
21508
21509 * net/tramp-compat.el (top): Require 'shell.
21510
21511 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
21512 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
21513 `tramp-current-host'.
21514 (tramp-get-remote-tmpdir): Remove.
21515
21516 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
21517 `tramp-tmpdir' entries.
21518 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
21519 (tramp-smb-handle-file-attributes): Ignore errors.
21520 (tramp-smb-wait-for-output): Check also for process end.
21521
21522 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
21523
21524 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
21525 when sending QUIT (bug#9312).
21526
21527 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
21528
21529 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
21530 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
21531 occur-mode-display-occurrence.
21532 (occur-edit-mode): Add usage message.
21533 (occur-cease-edit): New command.
21534 (occur-after-change-function): Use text properties to find the
21535 position of the prefix text.
21536 (occur-engine): Set stickiness of prefix text properties.
21537
21538 2011-09-17 Glenn Morris <rgm@gnu.org>
21539
21540 * progmodes/etags.el (complete-tag):
21541 Fix call to completion-in-region. (Bug#9526)
21542
21543 2011-09-17 Juri Linkov <juri@jurta.org>
21544
21545 * textmodes/ispell.el (ispell-word): Add to the error message
21546 the word, ispell program name and current dictionary (bug#9121).
21547 (ispell-tex-arg-end): Capitalize "error" in the error message.
21548
21549 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
21550
21551 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
21552 check. (Bug#4251)
21553
21554 2011-09-17 Juri Linkov <juri@jurta.org>
21555
21556 * window.el (window-safe-min-height, window-safe-min-width):
21557 Fix typos (followup to bug#9522).
21558
21559 2011-09-17 Sven Joachim <svenjoac@gmx.de>
21560
21561 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
21562
21563 2011-09-16 Eli Zaretskii <eliz@gnu.org>
21564
21565 * simple.el (line-move): If goal-column is set, move by logical
21566 lines, not by display lines. (Bug#971)
21567 (next-line, previous-line, goal-column, line-move-visual): Doc fix
21568 to reflect the above change.
21569
21570 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
21571
21572 * image.el (imagemagick-register-types): Use regexp-opt.
21573
21574 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
21575
21576 * window.el (display-buffer-base-action): Rename from
21577 display-buffer-default-action. Make default value empty.
21578 (display-buffer-overriding-action): Convert to defvar.
21579 (display-buffer-fallback-action): New var.
21580
21581 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
21582
21583 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
21584 declaration.
21585 (package--add-to-archive-contents): If there is a duplicate entry
21586 with an older version, remove it.
21587 (package-menu-mark-delete, package-menu-mark-install)
21588 (package-menu-mark-unmark): Make unused args optional.
21589 (package-menu-mark-obsolete-for-deletion):
21590 Use package-menu-get-status instead of a regexp search.
21591 (package-menu-get-status): Use tabulated-list-entry.
21592 (package-menu-mark-upgrades): New command.
21593 (package-menu-mode-map): Bind it to U. Add it to menu bar.
21594 (package-menu-execute): Do installation before deletion.
21595 (package-menu-refresh, package-menu-execute): Use derived-mode-p
21596 instead of checking major-mode.
21597 (package-menu--find-upgrades): New function.
21598
21599 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
21600
21601 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
21602 passwords in the log buffer.
21603 (smtpmail-process-filter): Update the process marker so that the
21604 "broken by peer" status message is inserted in the right place.
21605
21606 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
21607
21608 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
21609 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
21610 bibtex-completion-at-point-function.
21611 (bibtex-completion-at-point-function): Use them.
21612
21613 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
21614
21615 * mpc.el (mpc-constraints-tag-lookup): New function.
21616 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
21617 also to browser "album|playlist".
21618
21619 2011-09-14 Juri Linkov <juri@jurta.org>
21620
21621 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
21622 (isearch-edit-string): Use length of `isearch-string' when
21623 `isearch-fail-pos' returns nil.
21624 (isearch-message): Remove duplicate code and call
21625 `isearch-fail-pos' with arg `t'.
21626
21627 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
21628
21629 * replace.el (occur-mode-goto-occurrence): Don't force using other
21630 window (Bug#9499).
21631
21632 * dired-aux.el (dired-do-chmod): Don't provide initial input.
21633
21634 2011-09-14 Martin Rudalics <rudalics@gmx.at>
21635
21636 * window.el (display-buffer-window): Remove.
21637 (display-buffer-record-window): Use help-setup window parameter
21638 instead of variable display-buffer-window.
21639 (display-buffer-function, special-display-buffer-names)
21640 (special-display-function): Mention help-setup parameter instead
21641 of display-buffer-window in doc-string.
21642 * help.el (help-window-setup): New argument help-window.
21643 Use help-window-setup parameter instead of display-buffer-window.
21644 Reword some messages.
21645 (with-help-window): Pass window used for displaying the buffer
21646 to help-window-setup. Don't set display-buffer-window.
21647
21648 2011-09-13 Glenn Morris <rgm@gnu.org>
21649
21650 * emacs-lisp/debug.el (debugger-make-xrefs):
21651 Preserve point. (Bug#9462)
21652
21653 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
21654
21655 * window.el (window-deletable-p): Use next-frame.
21656
21657 2011-09-13 Martin Rudalics <rudalics@gmx.at>
21658
21659 * window.el (window-auto-delete): Remove.
21660 (window-deletable-p): Remove argument FORCE. Don't deal with
21661 dedication and previous buffers.
21662 (switch-to-prev-buffer): Don't delete window.
21663 (delete-windows-on): Delete a window's frame if and only if the
21664 window is dedicated.
21665 (replace-buffer-in-windows): Delete buffer's window or frame if
21666 and only if window is dedicated.
21667 (quit-window): Handle quit-restore as before last change.
21668 (bury-buffer): Delete window only if window-deletable-p returns t.
21669
21670 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
21671
21672 * window.el (window-deletable-p): Never delete the last frame on a
21673 given terminal.
21674
21675 2011-09-13 Glenn Morris <rgm@gnu.org>
21676
21677 * help.el (describe-key-briefly): Copy previous standard-output change.
21678
21679 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
21680
21681 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
21682
21683 2011-09-13 Glenn Morris <rgm@gnu.org>
21684
21685 * emacs-lisp/lisp-mode.el (lisp-indent-function):
21686 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
21687
21688 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
21689
21690 * dired-aux.el (dired-mark-read-string): Don't return default
21691 value on empty input (Bug#9361).
21692 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
21693 Omit initial minibuffer contents.
21694 (dired-do-chmod): Signal an error on empty input.
21695 (dired-mark-read-string): Don't return default on empty input.
21696
21697 * files.el (file-modes-symbolic-to-number): Doc fix.
21698
21699 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
21700
21701 * international/mule-cmds.el (ucs-completions): Remove.
21702 (read-char-by-name): Use complete-with-action instead; add metadata.
21703
21704 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
21705
21706 * window.el (display-buffer--action-function-custom-type)
21707 (display-buffer--action-custom-type): New vars.
21708 (display-buffer-alist, display-buffer-default-action)
21709 (display-buffer-overriding-action): Add defcustom types.
21710
21711 * frame.el (delete-other-frames): Doc fix (Bug#276).
21712
21713 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
21714
21715 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
21716
21717 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
21718
21719 Change modes that used same-window-* vars to use switch-to-buffer.
21720
21721 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
21722 Use switch-to-buffer.
21723
21724 * cus-edit.el (customize-group, custom-buffer-create)
21725 (customize-browse, custom-buffer-create-other-window):
21726 Use switch-to-buffer or switch-to-buffer-other-window.
21727
21728 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
21729 (Info-prev, Info-up, Info-speedbar-goto-node)
21730 (info-display-manual): Use switch-to-buffer.
21731 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
21732
21733 * mail/sendmail.el (mail): Use switch-to-buffer.
21734 (mail-recover): Use switch-to-buffer-other-window.
21735
21736 * cmuscheme.el (run-scheme, switch-to-scheme):
21737 * ielm.el (ielm):
21738 * shell.el (shell):
21739 * net/rlogin.el (rlogin):
21740 * net/telnet.el (telnet, rsh):
21741 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
21742
21743 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
21744
21745 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
21746
21747 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
21748
21749 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
21750 so don't mention it (bug#9301).
21751 (dired-sort-toggle-or-edit): Clarify string further.
21752
21753 * faces.el (face-spec-set-match-display): Make `(type graphic)'
21754 match `x', `w32' and `ns', like the manual says (bug#9029).
21755
21756 * subr.el (eval-after-load): Doc string clarification (bug#9125).
21757 (process-kill-buffer-query-function): Mention the buffer name in
21758 the query.
21759
21760 * image-mode.el (image-next-line): The line parameter is mandatory
21761 (bug#9258).
21762
21763 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
21764 which can be useful (bug#9301).
21765
21766 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
21767
21768 * subr.el (match-string): Mention that the current buffer should
21769 be the same as the search was done in (bug#9282).
21770
21771 * facemenu.el: Disable the remove-* commands if the mark isn't
21772 active (bug#9162).
21773
21774 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
21775
21776 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
21777 of display-buffer.
21778 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
21779
21780 * replace.el (occur-mode-goto-occurrence)
21781 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
21782 and display-buffer.
21783
21784 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
21785 display-buffer.
21786
21787 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
21788 special-display and same-window variables.
21789 (mail-other-window): Use switch-to-buffer-other-window.
21790 (mail-other-frame): USe switch-to-buffer-other-frame.
21791
21792 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
21793 Use display-buffer-other-frame.
21794 (gdb-display-gdb-buffer): Use pop-to-buffer.
21795
21796 * progmodes/gud.el (gud-goto-info): Use info-other-window.
21797
21798 * progmodes/python.el: Don't set same-window-buffer-names.
21799
21800 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
21801
21802 * window.el (display-buffer-alist): Add *Python*.
21803
21804 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
21805
21806 * window.el (display-buffer-alist): Add entry for buffers
21807 previously handled same-window-*.
21808 (display-buffer-alist, display-buffer-default-action)
21809 (display-buffer-overriding-action): Mark as risky.
21810 (display-buffer-alist): Document action function changes.
21811 (display-buffer--same-window-action)
21812 (display-buffer--other-frame-action): New variables.
21813 (switch-to-buffer, display-buffer-other-frame): Use them.
21814 (display-buffer): Rename reuse-frame entry to reusable-frames.
21815 (display-buffer-reuse-selected-window): Function deleted.
21816 (display-buffer-reuse-window): Handle reusable-frames alist entry.
21817 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
21818 (display-buffer-special): New function.
21819 (display-buffer--maybe-pop-up-frame-or-window): Rename from
21820 display-buffer-reuse-or-pop-window. Split off special-display
21821 part into display-buffer-special.
21822 (display-buffer-use-some-window): Don't perform any special
21823 pop-up-frames handling.
21824 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
21825 (display-buffer--maybe-same-window): Rename from
21826 display-buffer-maybe-same-window.
21827
21828 * info.el: Don't set same-window-regexps.
21829 (info-setup): New function.
21830 (info-other-window, info): Call it.
21831
21832 * cus-edit.el: Don't set same-window-regexps.
21833 (customize-group): New argument.
21834 (customize-group-other-window): Use it.
21835 (customize-face, customize-face-other-window): Likewise.
21836 (custom-buffer-create-other-window): Use pop-to-buffer directly.
21837
21838 * net/rlogin.el:
21839 * net/telnet.el:
21840 * progmodes/gud.el: Don't set same-window-regexps.
21841
21842 * cmuscheme.el:
21843 * ielm.el:
21844 * shell.el:
21845 * mail/sendmail.el:
21846 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
21847
21848 2011-09-10 Juri Linkov <juri@jurta.org>
21849
21850 * isearch.el (isearch-edit-string): Remove obsolete mention of
21851 `C-w' (`isearch-yank-word-or-char') from docstring.
21852 (isearch-query-replace): Fix typo in docstring (bug#9466).
21853
21854 2011-09-10 Juri Linkov <juri@jurta.org>
21855
21856 * paren.el (show-paren-function): Don't show escaped parens.
21857 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
21858
21859 2011-09-10 Eli Zaretskii <eliz@gnu.org>
21860
21861 * mail/sendmail.el (mml-to-mime, mml-attach-file)
21862 (mm-default-file-encoding): Remove autoload forms, they are
21863 replaced with autoload cookies in mml.el and mm-encode.el.
21864 (mail-add-attachment): New command.
21865 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
21866 (mail-mode): Mention mail-insert-file and mail-add-attachment in
21867 the doc string.
21868 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
21869
21870 2011-09-10 Reuben Thomas <rrt@sc3d.org>
21871
21872 * simple.el (count-words-region): Use buffer if there's no region
21873 (bug#9429).
21874
21875 2011-09-09 Juri Linkov <juri@jurta.org>
21876
21877 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
21878 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
21879 (wdired-isearch-filter-read-only): New function. (Bug#6362)
21880
21881 2011-09-09 Alan Mackenzie <acm@muc.de>
21882
21883 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
21884 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
21885
21886 2011-09-09 Eli Zaretskii <eliz@gnu.org>
21887
21888 Fix for Savannah bug#9392.
21889 * simple.el (mail-encode-mml): New defvar.
21890
21891 * mail/rmail.el (mail-encode-mml): Add a defvar.
21892 (rmail-enable-mime-composing): Default to t.
21893 (rmail-forward): Use MIME method of forwarding only if both
21894 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
21895 Set mail-encode-mml non-nil if the MIME method was used.
21896
21897 * mail/sendmail.el (mml-to-mime): Add autoload form.
21898 (mail-encode-mml): Add a defvar.
21899 (mail-mode): Make mail-encode-mml buffer-local and initialize it
21900 to nil.
21901 (mail-send): If mail-encode-mml is non-nil, run the outgoing
21902 message through mml-to-mime, and reset mail-encode-mml to nil.
21903
21904 2011-09-09 Glenn Morris <rgm@gnu.org>
21905
21906 * woman.el (woman-if-body): When processing an .el block,
21907 do not delete the next .el block as well. (Bug#9447)
21908 (woman-special-characters): Add oq, cq, and hy characters.
21909
21910 2011-09-08 Martin Rudalics <rudalics@gmx.at>
21911
21912 * window.el (window-deletable-p): Make sure window is live before
21913 invoking window-prev-buffers.
21914
21915 2011-09-08 Leo Liu <sdl.web@gmail.com>
21916
21917 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
21918
21919 2011-09-08 Juri Linkov <juri@jurta.org>
21920
21921 * progmodes/compile.el (compilation-environment): Make it
21922 a defcustom (bug#8340).
21923
21924 2011-09-08 Martin Rudalics <rudalics@gmx.at>
21925
21926 * window.el (frame-auto-delete): Rename to window-auto-delete.
21927 Make it control auto-deletion of windows and/or frames.
21928 (window-deletable-p): New argument FORCE. Rewrite conditions
21929 for deleting window/frame. (Bug#9419)
21930 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
21931 Rewrite handling of case when window/frame can be deleted.
21932 (delete-windows-on): Call window-deletable-p with new FORCE
21933 argument t. (Bug#9456)
21934
21935 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
21936
21937 * help-mode.el (help-mode): Restore autoload.
21938
21939 2011-09-07 Juri Linkov <juri@jurta.org>
21940
21941 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
21942 `compilation-environment'. Set buffer-local
21943 `compilation-environment' to `thisenv' later after (funcall mode).
21944 (Bug#8340)
21945
21946 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
21947 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
21948 instead of replacing its value. (Bug#8340)
21949
21950 2011-09-07 Juri Linkov <juri@jurta.org>
21951
21952 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
21953 based on text properties put by `grep-filter' instead of matching
21954 escape sequences.
21955 (grep-mode): Set buffer-local `compilation-error-screen-columns'
21956 to the value of `grep-error-screen-columns' (bug#9438).
21957
21958 2011-09-07 Juri Linkov <juri@jurta.org>
21959
21960 * simple.el (next-error-highlight, next-error-highlight-no-select):
21961 Doc fix (bug#9432).
21962
21963 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
21964
21965 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
21966 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
21967
21968 2011-09-07 Leo Liu <sdl.web@gmail.com>
21969
21970 * net/rcirc.el (rcirc-mode): Conditionally initialize
21971 rcirc-input-ring.
21972
21973 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
21974
21975 * emacs-lisp/find-func.el (find-function-C-source): Only set
21976 find-function-C-source-directory after checking that we found a source
21977 file there (bug#9440).
21978
21979 2011-09-06 Alan Mackenzie <acm@muc.de>
21980
21981 * isearch.el (isearch-other-meta-char): Wherever a key list is
21982 unread, "unread" the prefix arg, too. This fixes bug #8901.
21983
21984 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
21985
21986 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
21987
21988 2011-09-05 Juri Linkov <juri@jurta.org>
21989
21990 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
21991
21992 2011-09-05 Juri Linkov <juri@jurta.org>
21993
21994 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
21995 keeping point where processing of grep matches begins, and
21996 continue to delete remaining escape sequences from the same point.
21997 (grep-filter): Make leading zero optional in "0?1;31m" because
21998 git-grep emits "\033[1;31m" escape sequences unlike expected
21999 "\033[01;31m" as GNU Grep does (bug#9408).
22000 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
22001
22002 2011-09-05 Juri Linkov <juri@jurta.org>
22003
22004 * subr.el (y-or-n-p): Capitalize "yes".
22005
22006 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
22007
22008 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
22009 `tramp-cache-unload-hook' where appropriate.
22010 (tramp-methods): Rename `tramp-remote-sh' to
22011 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
22012 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
22013
22014 * net/tramp-sh.el (top): Don't require 'shell.
22015 (tramp-methods): Add `tramp-remote-shell' and
22016 `tramp-remote-shell-args' entries.
22017 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
22018 (tramp-sh-handle-shell-command): Remove.
22019 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
22020 Use `tramp-remote-shell'.
22021
22022 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
22023
22024 * mail/sendmail.el (sendmail-query-once-function): Delete.
22025 (sendmail-query-once): Save directly to send-mail-function.
22026 Update message-send-mail-function too.
22027
22028 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
22029
22030 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
22031
22032 * progmodes/python.el (python-mode-map): Use correct function to
22033 start python interpreter from menu-bar (as reported by Geert
22034 Kloosterman).
22035 (inferior-python-mode-map): Fix typo.
22036 (python-shell-map): Remove.
22037
22038 2011-09-03 Deniz Dogan <deniz@dogan.se>
22039
22040 * net/rcirc.el (rcirc-print): Simplify code for
22041 rcirc-scroll-show-maximum-output. There is no need to walk
22042 through all windows to find the right one.
22043
22044 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
22045
22046 * help.el (help-return-method): Doc fix.
22047
22048 2011-09-03 Martin Rudalics <rudalics@gmx.at>
22049
22050 * window.el (window-deletable-p): Don't return a non-nil value
22051 when there's a buffer that was shown in the window before.
22052 (Bug#9419)
22053 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
22054 Set window's previous buffers to nil.
22055
22056 2011-09-03 Eli Zaretskii <eliz@gnu.org>
22057
22058 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
22059 newline before and after the tag line, so it doesn't interfere
22060 with determining the paragraph direction of bidirectional text.
22061
22062 2011-09-03 Leo Liu <sdl.web@gmail.com>
22063
22064 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
22065
22066 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
22067
22068 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
22069 (pop-to-buffer): Change interactive spec. Pass second argument
22070 directly to display-buffer.
22071 (display-buffer): Fix interactive spec. Use functionp to
22072 distinguish between a function and a list of functions.
22073
22074 * abbrev.el (edit-abbrevs):
22075 * arc-mode.el (archive-extract):
22076 * autoinsert.el (auto-insert):
22077 * bookmark.el (bookmark-bmenu-list):
22078 * files.el (find-file):
22079 * view.el (view-buffer):
22080 * progmodes/compile.el (compilation-goto-locus):
22081 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
22082
22083 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
22084
22085 * window.el (display-buffer-alist): Doc fix.
22086 (display-buffer): Add docstring. Don't treat
22087 display-buffer-default specially.
22088 (display-buffer-reuse-selected-window)
22089 (display-buffer-same-window, display-buffer-maybe-same-window)
22090 (display-buffer-reuse-window, display-buffer-pop-up-frame)
22091 (display-buffer-pop-up-window)
22092 (display-buffer-reuse-or-pop-window)
22093 (display-buffer-use-some-window): New functions.
22094 (display-buffer-default-action): Use them.
22095 (display-buffer-default): Delete.
22096 (pop-to-buffer-1): Fix choice of actions.
22097
22098 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
22099
22100 * minibuffer.el (completion--insert-strings): Don't get confused by
22101 completion entries that end with an LF char.
22102
22103 2011-09-01 Eli Zaretskii <eliz@gnu.org>
22104
22105 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
22106
22107 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
22108
22109 * window.el (display-buffer): Restore interactive spec.
22110 (display-buffer-same-window, display-buffer-other-window):
22111 New functions.
22112 (pop-to-buffer-1): New function. Use the above.
22113 (pop-to-buffer, pop-to-buffer-same-window): Use it.
22114 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
22115
22116 * view.el (view-buffer-other-window, view-buffer-other-frame):
22117 Just use pop-to-buffer.
22118
22119 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
22120
22121 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
22122
22123 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
22124
22125 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
22126
22127 2011-08-31 Richard Stallman <rms@gnu.org>
22128
22129 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
22130 of the separation of rmail-view-buffer from rmail-buffer.
22131 If you say no to "replace original", the decrypt is in the
22132 view buffer. If you say yes, the decrypt goes into the
22133 rmail buffer also.
22134
22135 2011-08-31 Martin Rudalics <rudalics@gmx.at>
22136
22137 * window.el (display-buffer-window): Rewrite doc-string.
22138 (display-buffer-record-window): New function.
22139 (display-buffer-macro-specifiers)
22140 (display-buffer-even-window-sizes, display-buffer-set-height)
22141 (display-buffer-set-width, display-buffer-in-window)
22142 (display-buffer-reuse-window, display-buffer-split-specifiers)
22143 (display-buffer-side-specifiers, display-buffer-split-window-1)
22144 (display-buffer-split-window, display-buffer-split-atom-window)
22145 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
22146 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
22147 (display-buffer-other-window-means-other-frame)
22148 (display-buffer-normalize-special)
22149 (display-buffer-normalize-default)
22150 (display-buffer-normalize-argument)
22151 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
22152 (display-buffer-normalize-specifiers, display-buffer-frame)
22153 (display-buffer-same-window, display-buffer-same-frame)
22154 (display-buffer-other-window)
22155 (display-buffer-same-frame-other-window)
22156 (display-buffer-other-frame, pop-to-buffer-same-window)
22157 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
22158 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
22159 (switch-to-buffer-same-frame)
22160 (switch-to-buffer-other-window-same-frame)
22161 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
22162 (display-buffer-alist-set-1, display-buffer-alist-set-2)
22163 (display-buffer-alist-set): Remove.
22164 (display-buffer-function, special-display-buffer-names)
22165 (special-display-regexps, special-display-function):
22166 In doc-string refer to display-buffer-window and quit-restore
22167 parameter.
22168 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
22169 (special-display-frame-alist, special-display-popup-frame)
22170 (same-window-buffer-names, same-window-regexps, same-window-p)
22171 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
22172 (split-window-preferred-function, split-height-threshold)
22173 (split-width-threshold, window-splittable-p)
22174 (split-window-sensibly, window--try-to-split-window)
22175 (window--frame-usable-p, even-window-heights)
22176 (window--even-window-heights, window--display-buffer-1)
22177 (window--display-buffer-2, display-buffer-other-frame):
22178 Restore old Emacs 23 code, order and doc-strings where applicable.
22179 (display-buffer-default, display-buffer-assq-regexp): New functions.
22180 (display-buffer-alist): Rewrite doc-string.
22181 (display-buffer-default-action)
22182 (display-buffer-overriding-action): New variables.
22183 (display-buffer, switch-to-buffer): Rewrite.
22184 (pop-to-buffer): Restore Emacs 23 behavior but use
22185 window-normalize-buffer-to-display.
22186 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
22187 Restore Emacs 23 behavior but use
22188 window-normalize-buffer-to-switch-to.
22189 (pop-to-buffer-same-window): Rewrite.
22190 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
22191 Rewrite using Emacs 23 options.
22192
22193 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
22194
22195 * net/tramp.el (tramp-root-regexp): Remove.
22196 (tramp-completion-file-name-regexp-unified)
22197 (tramp-completion-file-name-regexp-separate)
22198 (tramp-completion-file-name-regexp-url): Don't use leading volume
22199 letter on w32 systems. (Bug#5303, Bug#9311)
22200 (tramp-drop-volume-letter): Simplify definition.
22201 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
22202
22203 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
22204
22205 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
22206 (bug#9356).
22207
22208 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
22209
22210 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
22211
22212 2011-08-29 Juri Linkov <juri@jurta.org>
22213
22214 * isearch.el (isearch-done): Don't display message "Mark saved"
22215 when arg `edit' is non-nil to prevent its flicker in the echo area.
22216
22217 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
22218
22219 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
22220 obsolete packages for deletion.
22221
22222 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
22223
22224 * help-mode.el (help-mode-map): Add special-mode-map to parent.
22225 (help-mode): Derive help-mode from special-mode. Don't invoke
22226 view-mode from help-mode.
22227 (help-xref-override-view-map): Remove.
22228 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
22229 view-mode is not used anymore.
22230
22231 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
22232
22233 * server.el (server-port): Doc fix.
22234
22235 * cus-theme.el (custom-theme-choose-mode): Inherit from
22236 special-mode (Bug#9124).
22237 (custom-theme-choose-mode-map): Add special-mode to parent.
22238
22239 2011-08-28 Alan Mackenzie <acm@muc.de>
22240
22241 * progmodes/cc-fonts.el
22242 (c-make-font-lock-BO-decl-search-function): New function.
22243 (c-basic-matchers-after - "Fontify the clauses after various
22244 keywords"): Extract the three keyword lists for the 3 erroneous
22245 constructs from the list of four, and use the new function above
22246 in place of an old one.
22247
22248 2011-08-28 Deniz Dogan <deniz@dogan.se>
22249
22250 * net/rcirc.el (rcirc-insert-prev-input)
22251 (rcirc-insert-next-input): Remove unused argument.
22252
22253 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
22254
22255 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
22256
22257 2011-08-27 Alan Mackenzie <acm@muc.de>
22258
22259 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
22260 handle function pointer parameters properly.
22261
22262 2011-08-27 Martin Rudalics <rudalics@gmx.at>
22263
22264 * window.el (display-buffer-reuse-window): Fix case where
22265 selected window was reused with non-nil OTHER-WINDOW argument.
22266 (Bug#9381)
22267
22268 2011-08-27 Deniz Dogan <deniz@dogan.se>
22269
22270 * net/rcirc.el (rcirc-check-auth-status): Adding support for
22271 oftc's NickServ messages.
22272
22273 2011-08-27 Glenn Morris <rgm@gnu.org>
22274
22275 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
22276
22277 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
22278
22279 * emacs-lisp/package.el (package-install): Call package-initialize
22280 if called interactively.
22281
22282 2011-08-26 Leo Liu <sdl.web@gmail.com>
22283
22284 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
22285
22286 2011-08-25 Juri Linkov <juri@jurta.org>
22287
22288 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
22289 `search-whitespace-regexp' (bug#9364).
22290
22291 2011-08-25 Juri Linkov <juri@jurta.org>
22292
22293 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
22294 `regexp-search-ring' to their global values to protect from
22295 updating by `read-from-minibuffer' (bug#9185).
22296
22297 2011-08-25 Juri Linkov <juri@jurta.org>
22298
22299 * textmodes/ispell.el (ispell-command-loop): Add newline
22300 at the end of the "Use option `i'..." line.
22301
22302 2011-08-25 Juri Linkov <juri@jurta.org>
22303
22304 * battery.el (display-battery-mode): If `battery-status-function'
22305 or `battery-mode-line-format' is nil, display the message and set
22306 `display-battery-mode' to nil (bug#9363).
22307
22308 2011-08-25 Eli Zaretskii <eliz@gnu.org>
22309
22310 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
22311 bidi-string-mark-left-to-right; they are unnecessary now.
22312
22313 2011-08-25 Deniz Dogan <deniz@dogan.se>
22314
22315 * net/quickurl.el: Documentation typo fixes.
22316
22317 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
22318
22319 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
22320
22321 2011-08-25 Glenn Morris <rgm@gnu.org>
22322
22323 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
22324
22325 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
22326 (smtpmail-via-smtp): Handle nil response from smtp.
22327
22328 2011-08-24 Juri Linkov <juri@jurta.org>
22329
22330 * proced.el (proced-marked): Inherit from `error' instead of
22331 `font-lock-warning-face'.
22332
22333 * ibuffer.el (ibuffer-marked-face): Change default face from
22334 `font-lock-warning-face' to `warning'.
22335 (ibuffer-deletion-face): Change default face from
22336 `font-lock-type-face' to `error'.
22337
22338 * battery.el (battery-update): Use the face `error' instead of
22339 `font-lock-warning-face' (bug#6117).
22340
22341 2011-08-24 Juri Linkov <juri@jurta.org>
22342
22343 * faces.el (success): Change face color from "Green3" to
22344 "ForestGreen" on light background (bug#9353).
22345
22346 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
22347
22348 * window.el (quit-window): Rename from quit-restore-window.
22349 Use same arglist as old quit-window.
22350 (frame-auto-delete): Doc fix.
22351
22352 * view.el (view-mode-exit): Use quit-window.
22353
22354 2011-08-24 Juri Linkov <juri@jurta.org>
22355
22356 * isearch.el (isearch-ring-adjust1): Start visiting previous
22357 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
22358 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
22359 for empty search string (when the last search string is reused
22360 automatically) to adjust the isearch ring to the last element and
22361 prepare the correct index for further M-p commands (bug#9185).
22362
22363 2011-08-24 Kenichi Handa <handa@m17n.org>
22364
22365 * international/ucs-normalize.el: If decomposition property of
22366 CHAR is the default one (i.e. a list of CHAR itself), treat it as
22367 nil.
22368 (nfd, nfkd): Likewise.
22369
22370 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
22371
22372 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
22373 from process filters aren't reliably transmitted to the surrounding
22374 accept-process-output.
22375 (mpc-proc-check): New function.
22376 (mpc-proc-sync): Use it (bug#8293)
22377
22378 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
22379
22380 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
22381 Add compatibility functions (bug#9313).
22382
22383 2011-08-23 Eli Zaretskii <eliz@gnu.org>
22384
22385 * cus-start.el (all): Add entry for bidi-paragraph-direction.
22386
22387 * international/uni-bidi.el: Regenerate.
22388
22389 2011-08-23 Kenichi Handa <handa@m17n.org>
22390
22391 * international/charprop.el:
22392 * international/uni-bidi.el:
22393 * international/uni-category.el:
22394 * international/uni-combining.el:
22395 * international/uni-comment.el:
22396 * international/uni-decimal.el:
22397 * international/uni-decomposition.el:
22398 * international/uni-digit.el:
22399 * international/uni-lowercase.el:
22400 * international/uni-mirrored.el:
22401 * international/uni-name.el:
22402 * international/uni-numeric.el:
22403 * international/uni-old-name.el:
22404 * international/uni-titlecase.el:
22405 * international/uni-uppercase.el: Regenerate.
22406
22407 2011-08-23 Martin Rudalics <rudalics@gmx.at>
22408
22409 * help.el (help-window-setup): Fix message displayed when other
22410 window is reused. (Bug#9341)
22411
22412 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
22413
22414 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
22415 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
22416
22417 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
22418 Mark obsolete.
22419 * shell.el (shell-parse-pcomplete-arguments): New function.
22420 (shell-completion-vars): Use it instead (bug#9160).
22421
22422 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
22423
22424 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
22425 strings and comments (bug#9333).
22426
22427 * emacs-lisp/debug.el (debug-arglist): New function.
22428 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
22429 (debug-on-entry-1): Handle interpreted closures (bug#9120).
22430
22431 2011-08-22 Juri Linkov <juri@jurta.org>
22432
22433 * progmodes/compile.el (compilation-mode-font-lock-keywords):
22434 Revert regexp that highlights output switches to its old
22435 pre-2010-10-28 value and remove one `?' from it (bug#9319).
22436
22437 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
22438 to check for empty output (bug#9226).
22439
22440 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
22441
22442 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
22443 symbol-constituent as the default, as that stops font-lock from
22444 working properly (Bug#8843).
22445
22446 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
22447
22448 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
22449 `coding-system-for-*' around the process open call to avoid
22450 auth-source side effects.
22451 (smtpmail-try-auth-methods): Expand the secret password.
22452 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
22453 probe hangs.
22454
22455 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
22456
22457 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
22458
22459 * emacs-lisp/find-func.el (find-function-noselect): New arg
22460 lisp-only.
22461
22462 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
22463 signal an error for built-in functions (Bug#6664).
22464
22465 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
22466
22467 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
22468 (smtpmail-try-auth-methods): Use it.
22469
22470 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
22471
22472 * font-lock.el (font-lock-fontify-region)
22473 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
22474 (font-lock-default-unfontify-buffer)
22475 (font-lock-default-fontify-region)
22476 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
22477
22478 * progmodes/compile.el (compilation-error-properties):
22479 Fix confusion between file struct and message struct (Bug#9319).
22480 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
22481 `ant' regexp.
22482
22483 * net/browse-url.el (browse-url-firefox): Don't call
22484 browse-url-firefox-sentinel unless using -remote (Bug#9328).
22485
22486 2011-08-20 Glenn Morris <rgm@gnu.org>
22487
22488 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
22489
22490 * tutorial.el (tutorial--default-keys): Update some default bindings.
22491
22492 * files.el (hack-local-variables): Fully ignore case for "mode:".
22493
22494 2011-08-20 Alan Mackenzie <acm@muc.de>
22495
22496 Resolve invalid use of a regexp in regexp-opt.
22497
22498 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
22499 detection for a java annotation.
22500
22501 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
22502 detection for a java annotation.
22503
22504 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
22505 handling for java.
22506 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
22507
22508 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
22509
22510 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
22511 (Bug#9274).
22512
22513 2011-08-20 Alan Mackenzie <acm@muc.de>
22514
22515 Fontify CPP expressions correctly when starting in the middle of
22516 such a construct. Mainly for when jit-lock etc. starts a chunk
22517 here.
22518
22519 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
22520 variable.
22521 (c-make-font-lock-search-form): New function, extracted from
22522 c-make-font-lock-search-function.
22523 (c-make-font-lock-search-function): Use the above function.
22524 (c-make-font-lock-context-search-function): New function.
22525 (c-cpp-matchers): Enhance the preprocessor expression case with
22526 the above function
22527 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
22528 which takes an expression.
22529
22530 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
22531
22532 2011-08-20 Martin Rudalics <rudalics@gmx.at>
22533
22534 * window.el (display-buffer-reuse-window)
22535 (display-buffer-pop-up-window): Don't reuse or split a side
22536 window.
22537
22538 2011-08-19 Glenn Morris <rgm@gnu.org>
22539
22540 * files.el (hack-local-variables-prop-line, hack-local-variables):
22541 Downcase "Mode:". (Bug#9331)
22542
22543 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
22544
22545 * international/characters.el: Add L and R categories.
22546
22547 * subr.el (bidi-string-mark-left-to-right): Rename from
22548 string-mark-left-to-right. Use category search.
22549
22550 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
22551
22552 2011-08-18 Juri Linkov <juri@jurta.org>
22553
22554 * faces.el (error, warning, success): New faces with definitions
22555 copied from old default values of `font-lock-warning-face',
22556 `compilation-warning', `compilation-info' (bug#6117).
22557
22558 * font-lock.el (font-lock-warning-face): Inherit from `error'.
22559
22560 * progmodes/compile.el (compilation-error): Inherit from `error'.
22561 (compilation-warning): Inherit from `warning'.
22562 (compilation-info): Inherit from `success'.
22563
22564 * dired.el (dired-marked): Inherit from `warning'.
22565 (dired-flagged): Inherit from `error'.
22566
22567 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
22568
22569 * mail/smtpmail.el (auth-source): Require to avoid problems with
22570 binding variables (bug#9298). Also clean up some unused
22571 autoloads.
22572
22573 * net/network-stream.el (network-stream-open-starttls):
22574 Support using starttls.el without using gnutls-cli.
22575
22576 2011-08-17 Juri Linkov <juri@jurta.org>
22577
22578 * progmodes/grep.el (rgrep): Handle the case when
22579 `grep-find-command' is a cons cell (bug#9278).
22580
22581 2011-08-17 Martin Rudalics <rudalics@gmx.at>
22582
22583 * window.el (display-buffer-pop-up-frame): Run frame creation
22584 function with BUFFER current (as special-display-popup-frame
22585 does). Reported by Drew Adams.
22586
22587 2011-08-17 Daiki Ueno <ueno@unixuser.org>
22588
22589 * epa-mail.el: Simplify GnuPG group expansion using
22590 epg-expand-group.
22591 (epa-mail-group-alist, epa-mail-group-modtime)
22592 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
22593 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
22594 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
22595 Remove.
22596
22597 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
22598
22599 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
22600
22601 2011-08-16 Alan Mackenzie <acm@muc.de>
22602
22603 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
22604 Correct, to avoid the inside of macros.
22605
22606 2011-08-16 Richard Stallman <rms@gnu.org>
22607
22608 * epa-mail.el: Handle GnuPG group definitions.
22609 (epa-mail-group-alist, epa-mail-group-modtime)
22610 (epa-mail-gnupg-conf-file): New variables.
22611 (epa-mail-parse-groups, epa-mail-sync-groups)
22612 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
22613 (epa-mail-expand-recipients): New functions.
22614 (epa-mail-encrypt): Call epa-mail-expand-recipients.
22615
22616 * mail/rmail.el (rmail-epa-decrypt): New command.
22617
22618 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
22619 Don't bind buffer-read-only, just inhibit-read-only.
22620 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
22621 (epa-decrypt-armor-in-region): Make error message clearer.
22622
22623 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
22624
22625 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
22626 and "a2b" to "ab" for `prefix'.
22627
22628 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
22629
22630 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
22631 filter groups.
22632 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
22633 Fourquet (Bug#8804).
22634
22635 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
22636
22637 * startup.el (argi): Declare as global variable (bug#9275).
22638
22639 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
22640
22641 * subr.el (string-mark-left-to-right): Search the entire string
22642 for RTL script, not just the terminating character. Doc fix.
22643
22644 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
22645
22646 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
22647 New function.
22648 (js--regexp-literal, js-syntax-propertize-function): Remove.
22649 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
22650 (js-mode-map): Don't rebind electric keys.
22651 (js-insert-and-indent): Remove.
22652 (js-mode): Setup electric-layout and electric-indent instead.
22653
22654 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
22655
22656 2011-08-12 Daiki Ueno <ueno@unixuser.org>
22657
22658 * epa.el (epa-progress-callback-function): Fix the logic of
22659 displaying progress.
22660 * epa-file.el (epa-file-insert-file-contents): Make progress
22661 display more user-friendly.
22662 (epa-file-write-region): Ditto.
22663
22664 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
22665
22666 * subr.el (string-mark-left-to-right): New function.
22667
22668 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
22669 Use string-mark-left-to-right.
22670 (list-buffers-noselect): Caller changed.
22671
22672 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
22673 Use string-mark-left-to-right.
22674 (tabulated-list-print): Recenter after moving point.
22675
22676 2011-08-10 Juri Linkov <juri@jurta.org>
22677
22678 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
22679 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
22680 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
22681
22682 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
22683
22684 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
22685 (Bug#7554).
22686
22687 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
22688
22689 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
22690 character. (Bug#6594)
22691
22692 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
22693
22694 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
22695 (image-dired--with-db-file): New macro.
22696 (image-dired-write-tags, image-dired-remove-tag)
22697 (image-dired-create-gallery-lists, image-dired-write-comments)
22698 (image-dired-get-comment, image-dired-mark-tagged-files)
22699 (image-dired-list-tags, image-dired-gallery-generate): Use it.
22700 (image-dired-gallery-generate): Use insert-file-contents.
22701
22702 * time.el (display-time-world-list, display-time-world-display):
22703 * time-stamp.el (time-stamp-string):
22704 * vc/add-log.el (add-change-log-entry): Use setenv instead of
22705 set-time-zone-rule (Bug#7337).
22706
22707 2011-08-08 Daiki Ueno <ueno@unixuser.org>
22708
22709 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
22710 (epg-error-to-string, epg-errors-to-string): New function.
22711 (epg-wait-for-completion): Reverse errors list.
22712 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
22713 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
22714 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
22715 (epg-sign-keys, epg-generate-key-from-file)
22716 (epg-generate-key-from-string): Format errors by using
22717 epg-errors-to-string (bug#9255).
22718 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
22719
22720 2011-08-07 Juri Linkov <juri@jurta.org>
22721
22722 * faces.el (list-faces-display): Remove extra angle bracket
22723 from `help-mode-map'.
22724
22725 * info.el (Info-history-toc-nodes): Doc fix.
22726
22727 * longlines.el (longlines-mode): Doc fix.
22728
22729 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
22730
22731 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
22732 of statements and in a few more cases (bug#9183).
22733
22734 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
22735 New functions.
22736 (cl-transform-lambda): Use them (bug#9239).
22737
22738 2011-08-05 Martin Rudalics <rudalics@gmx.at>
22739
22740 * window.el (display-buffer-same-window)
22741 (display-buffer-same-frame, display-buffer-other-window)
22742 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
22743 (pop-to-buffer-other-window)
22744 (pop-to-buffer-same-frame-other-window)
22745 (pop-to-buffer-other-frame): Make them defuns.
22746 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
22747
22748 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
22749
22750 * subr.el (make-composed-keymap): Move from C. Change calling
22751 convention, and improve docstring to bring attention to a subtle point.
22752 * minibuffer.el (completing-read-default): Adjust accordingly.
22753
22754 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
22755
22756 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
22757 (tramp-open-shell): Use `tramp-shell-quote-argument'.
22758
22759 * net/trampver.el: Update release number.
22760
22761 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
22762
22763 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
22764 "in" (bug#9190).
22765
22766 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
22767
22768 * mail/sendmail.el (sendmail-query-once): Restore the current
22769 buffer after querying (bug#9074).
22770
22771 * dired.el (dired-flagged): Use different faces for marked and
22772 flagged files (bug#6117).
22773
22774 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
22775 (bug#4433).
22776
22777 * ido.el (ido-mode): Switch off the message if called
22778 non-interactively.
22779
22780 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
22781 before 587, since it appears that that's more likely to work for
22782 more people.
22783
22784 * cus-edit.el (custom-file): When running under emacs -q, always
22785 refuse to save the customizations, even if the .emacs file doesn't
22786 exist.
22787
22788 * info.el: Remove the `Info-beginning-of-buffer' function
22789 (bug#8325).
22790
22791 * net/network-stream.el (network-stream-open-starttls):
22792 Use `starttls-available-p' to see whether starttls.el can be used.
22793
22794 2011-08-01 Martin Rudalics <rudalics@gmx.at>
22795
22796 * window.el (display-buffer-in-window): Don't set dedicated status
22797 of window here (Bug#9215).
22798 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
22799 (display-buffer-pop-up-side-window)
22800 (display-buffer-in-side-window): Set dedicated status of window here.
22801
22802 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
22803
22804 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
22805 before binding generated-autoload-file.
22806
22807 2011-08-01 Deniz Dogan <deniz@dogan.se>
22808
22809 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
22810
22811 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
22812
22813 Sync with Tramp 2.2.2.
22814
22815 * net/trampver.el: Update release number.
22816
22817 2011-07-30 Juri Linkov <juri@jurta.org>
22818
22819 * dired-aux.el (dired-touch-initial): Remove function.
22820 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
22821 current time, and `default' to the last modification time of the
22822 current marked file (bug#6887).
22823
22824 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
22825
22826 * simple.el (goto-line): Use string-to-number to provide a
22827 numeric argument to read-number (bug#9163).
22828
22829 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
22830
22831 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
22832 connection process, it could be nil.
22833
22834 2011-07-27 Leo Liu <sdl.web@gmail.com>
22835
22836 Simplify url handling in rcirc-mode.
22837
22838 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
22839 (rcirc-browse-url-at-mouse): Remove.
22840 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
22841
22842 2011-07-26 Alan Mackenzie <acm@muc.de>
22843
22844 Fontify bitfield declarations properly.
22845
22846 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
22847 (c-symbol-chars): Now exported as a lang variable.
22848 (c-not-primitive-type-keywords): New lang variable.
22849
22850 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
22851 QT keyword "more" to prevent "more slots: ...." being spuriously
22852 parsed as a bitfield declaration.
22853
22854 * progmodes/cc-engine.el (c-beginning-of-statement-1):
22855 Refactor and enhance to handle bitfield declarations.
22856 (c-punctuation-in): New function.
22857 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
22858 declarations properly.
22859
22860 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
22861
22862 * calendar/icalendar.el (icalendar--all-events): Take care of
22863 multiple vcalendars in a single file.
22864 (icalendar--convert-float-to-ical): Checkdoc fixes.
22865
22866 2011-07-25 Deniz Dogan <deniz@dogan.se>
22867
22868 * image.el (insert-image): Clarifying docstring.
22869
22870 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
22871
22872 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
22873 `tramp-send-command-and-check' if there is no error.
22874 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
22875
22876 2011-07-22 Alan Mackenzie <acm@muc.de>
22877
22878 Prevent cc-langs.elc being loaded at run time.
22879
22880 * progmodes/cc-mode.el: Remove two autoload forms which loaded
22881 cc-langs.
22882
22883 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
22884 "(require 'cc-langs)". Quote a form so it will evaluate at
22885 (cc-mode's) compilation time.
22886
22887 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
22888
22889 * net/tramp.el (tramp-file-name-handler): Avoid recursive
22890 loading. (Bug#9114)
22891
22892 2011-07-21 Martin Rudalics <rudalics@gmx.at>
22893
22894 * window.el (display-buffer-pop-up-window)
22895 (display-buffer-pop-up-side-window)
22896 (display-buffer-in-side-window): Call display-buffer-set-height
22897 and display-buffer-set-width after setting the new window's
22898 buffer so `fit-window-to-buffer' and friends work on the right buffer.
22899
22900 2011-07-20 Sam Steingold <sds@gnu.org>
22901
22902 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
22903 (etags-tags-included-tables): Call `convert-standard-filename' on
22904 the file names contained in TAGS so that windows Emacs can handle
22905 TAGS files created by cygwin ctags.
22906
22907 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
22908
22909 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
22910 which apparently didn't work.
22911
22912 2011-07-19 Roland Winkler <winkler@gnu.org>
22913
22914 * proced.el (proced-send-signal): For *Marked Processes* buffer
22915 put point at beginning of buffer.
22916
22917 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
22918
22919 * proced.el (proced-format): Make header lines align with the text
22920 (bug#1779).
22921
22922 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
22923
22924 * view.el (view-buffer): Allow running in `special' modes if we're
22925 visiting a file (bug#8615).
22926
22927 2011-07-19 Martin Rudalics <rudalics@gmx.at>
22928
22929 * window.el (display-buffer-alist-of-strings-p)
22930 (display-buffer-alist-set-1, display-buffer-alist-set-2):
22931 New functions.
22932 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
22933 more accurately.
22934
22935 2011-07-18 Alan Mackenzie <acm@muc.de>
22936
22937 Fontify declarators properly when, e.g., a jit-lock chunk begins
22938 inside a declaration.
22939
22940 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
22941
22942 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
22943 New function.
22944 (c-complex-decl-matchers): Insert reference to
22945 c-font-lock-enclosing-decls.
22946
22947 * progmodes/cc-engine.el (c-backward-single-comment):
22948 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
22949 to nil around calls to (forward-comment -1).
22950
22951 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
22952
22953 * image.el (put-image): Doc typo fix.
22954
22955 * progmodes/etags.el (tags-search): Doc typo fix.
22956
22957 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
22958 password if we get errors 550 to 554.
22959
22960 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
22961
22962 * net/gnutls.el (gnutls-log-level): Remove.
22963
22964 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
22965 indentation character (bug#6380).
22966
22967 * files.el (buffer-offer-save): Made permanently local (bug#6241).
22968
22969 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
22970 to clarify what the problem is (bug#4291).
22971
22972 * simple.el (current-kill): Clarify what
22973 `interprogram-paste-function' does (bug#7500).
22974 (auto-fill-mode): Document `auto-fill-function' in relation to
22975 `auto-fill-mode' (bug#2470).
22976
22977 2011-07-16 Lawrence Mitchell <wence@gmx.li>
22978
22979 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
22980 method if slot is read-only (bug#9035).
22981
22982 2011-07-16 Martin Rudalics <rudalics@gmx.at>
22983
22984 * frame.el (select-frame-set-input-focus): New argument NORECORD.
22985 * window.el (pop-to-buffer): Select window used even if it was
22986 selected before, see discussion of (Bug#8615), (Bug#6954).
22987 Pass argument NORECORD on to select-frame-set-input-focus.
22988
22989 2011-07-15 Glenn Morris <rgm@gnu.org>
22990
22991 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
22992 Respect help-form.
22993
22994 2011-07-09 Lawrence Mitchell <wence@gmx.li>
22995
22996 * net/gnutls.el (gnutls-min-prime-bits): New variable.
22997 (gnutls-negotiate): Use it.
22998
22999 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
23000
23001 * net/gnutls.el (gnutls-negotiate):
23002 Upcase `gnutls-algorithm-priority'.
23003
23004 2011-07-15 Glenn Morris <rgm@gnu.org>
23005
23006 * jka-compr.el (jka-compr-verbose): Move from here...
23007 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
23008 Add missing :version tag.
23009 * info.el: No need to require jka-compr when compiling.
23010
23011 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
23012
23013 * net/gnutls.el (gnutls-algorithm-priority): New variable.
23014 (gnutls-negotiate): Use it.
23015
23016 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
23017
23018 * info.el (Info-beginning-of-buffer): New command.
23019 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
23020 announcing `b' as the key (bug#8325).
23021 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
23022
23023 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
23024
23025 * international/mule-cmds.el
23026 (describe-specified-language-support): Make the error message
23027 clearer (bug#8905).
23028
23029 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
23030
23031 * isearch.el (isearch-barrier): Add a doc string, since it's
23032 mentioned in a function doc string (bug#8678).
23033
23034 2011-07-15 Martin Rudalics <rudalics@gmx.at>
23035
23036 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
23037 buffer argument (Bug#9083) and self-identifying label argument.
23038
23039 2011-07-15 Glenn Morris <rgm@gnu.org>
23040
23041 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
23042
23043 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
23044
23045 * man.el (Man-fontify-manpage): Fix message when formatting the
23046 man page (bug#7929).
23047
23048 2011-07-14 Eli Zaretskii <eliz@gnu.org>
23049
23050 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
23051 argument LRM; if non-nil, append an invisible LRM character to the
23052 buffer name.
23053 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
23054 last argument non-nil, when formatting buffer names.
23055 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
23056 paragraph direction.
23057
23058 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
23059
23060 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
23061 the man page name (bug#7929).
23062
23063 * image.el (put-image): Mention the `put-image' overlay property
23064 (bug#7834).
23065
23066 * scroll-bar.el (set-scroll-bar-mode): Mention that
23067 `scroll-bar-mode' lists the values (bug#7772).
23068
23069 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
23070 command (bug#7729).
23071
23072 * rect.el (apply-on-rectangle): Return the point after the last
23073 operation.
23074 (string-rectangle): Go to the point after the last operation
23075 (bug#7522).
23076
23077 * printing.el (pr-toggle-region): Clarify the documentation
23078 slightly (bug#7493).
23079
23080 * time.el (display-time-update):
23081 Allow `display-time-mail-function' to return nil (bug#7158).
23082 Fix suggested by Detlev Zundel.
23083
23084 * vc/diff.el (diff): Clarify the order the file names are read
23085 (bug#7111).
23086
23087 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
23088 the doc string (bug#7015).
23089
23090 * font-lock.el (font-lock-maximum-decoration): Mention what
23091 numeric levels mean (bug#6935).
23092
23093 * startup.el (initial-buffer-choice): Don't mention the `none'
23094 selection, which is against policy.
23095
23096 2011-07-14 Martin Rudalics <rudalics@gmx.at>
23097
23098 * window.el (display-buffer-normalize-special):
23099 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
23100
23101 2011-07-14 Eli Zaretskii <eliz@gnu.org>
23102
23103 * subr.el (version<, version<=, version=): Mention "-CVS" and
23104 "-12345" alpha version numbers.
23105
23106 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
23107
23108 * bindings.el: Add advertised binding for set-mark-command
23109 (Bug#5772).
23110
23111 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
23112
23113 * bindings.el (mode-line-other-buffer):
23114 * bookmark.el (bookmark-bmenu-2-window):
23115 * bs.el (bs-cycle-next, bs-cycle-previous):
23116 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
23117 switch-to-buffer.
23118
23119 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
23120 Delete.
23121
23122 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
23123
23124 * follow.el (follow-debug-message, follow-redisplay):
23125 * jka-cmpr-hook.el (with-auto-compression-mode):
23126 Fix typos in docstrings.
23127
23128 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
23129
23130 * subr.el (with-silent-modifications): Clarify somewhat what the
23131 macro inhibits (bug#6525).
23132
23133 * simple.el (eval-expression): Note what it does if called
23134 interactively (bug#6495).
23135
23136 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
23137
23138 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
23139 Use pop-to-buffer buffer-or-name if it is nil.
23140
23141 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
23142 Remove switch-to-buffer.
23143
23144 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
23145
23146 * files.el (make-directory): Clarify that an error will be raised
23147 if there's an error (bug#6397).
23148
23149 * startup.el (initial-buffer-choice): Add `none' as a choice
23150 (bug#6234).
23151
23152 * subr.el (add-hook): Clarify section about buffer-local hooks
23153 (bug#6218).
23154
23155 * dired.el (dired-flagged): Clarify doc string (bug#6117).
23156
23157 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
23158
23159 * tabify.el (untabify): Preserve the current column so that point
23160 doesn't move (bug#6032).
23161
23162 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
23163
23164 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
23165 Rewrite to avoid awkward possessive "s" (bug#5986).
23166
23167 2011-07-13 Glenn Morris <rgm@gnu.org>
23168
23169 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
23170 (dired-insert-directory): Give a message the first time
23171 if ls is found not to support --dired.
23172
23173 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
23174
23175 * simple.el (toggle-truncate-lines): Clarify what is toggled
23176 (bug#5580). Text by Drew Adams.
23177
23178 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
23179
23180 * simple.el (blink-matching-open): Make the error message from the
23181 last change less verbose.
23182
23183 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
23184
23185 * font-lock.el (font-lock-comment-face): Use the high contrast
23186 "yellow" color for font-lock-comment-face on low color terminals
23187 using a dark background color (bug#4221).
23188
23189 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
23190
23191 * dired.el (dired-insert-set-properties): Make the doc string
23192 reflect what it does now (bug#5325).
23193
23194 * simple.el (blink-matching-open): Say that we were unable to find
23195 the match within the limit, if we're limited (bug#5122).
23196
23197 * international/mule-cmds.el (prefer-coding-system): Add an
23198 example (bug#4869).
23199
23200 * progmodes/etags.el (tags-search): Document `file-list-form'
23201 (bug#4731).
23202
23203 2011-07-13 Lawrence Mitchell <wence@gmx.li>
23204
23205 * net/browse-url.el (browse-url-default-browser)
23206 (browse-url-browser-function): Make the default browser choice a
23207 bit more logical (bug#4300). Also clean up the doc string.
23208
23209 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
23210
23211 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
23212 binary endings (bug#4440).
23213
23214 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
23215
23216 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
23217 which can be pretty annoying (bug#8971).
23218
23219 * jka-compr.el (jka-compr-verbose): New variable, and use
23220 throughout (bug#8971).
23221
23222 * info.el (Info-find-file): Fall back on the installation
23223 directory if we can't find the info node anywhere else.
23224
23225 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
23226
23227 * vc/vc.el (vc-revert-file):
23228 Don't set file time-stamp in the past. (Bug#5181)
23229
23230 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
23231
23232 * files.el (after-find-file): Give a better error message when
23233 trying to find a symlink that points to a file that doesn't exist
23234 (bug#4398).
23235
23236 * progmodes/cc-vars.el: Remove (probably) misleading comment
23237 (bug#4396).
23238
23239 2011-07-12 Johan BockgĂ¥rd <bojohan@gnu.org>
23240
23241 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
23242
23243 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
23244
23245 * mouse-sel.el: Hack restoring functionality, while keeping
23246 compatibility with 2010-07-03 changes to mouse selection.
23247 (mouse-sel-primary-overlay): New var.
23248 (mouse-sel-selection-alist): Use it.
23249 (mouse-sel-mode): Doc fix; remove points that are default features
23250 of mouse.el.
23251
23252 2011-07-12 Johan BockgĂ¥rd <bojohan@gnu.org>
23253
23254 * progmodes/compile.el (compilation-error-regexp-alist-alist):
23255 Fix previous fix (bug#2490).
23256
23257 2011-07-12 Roland Winkler <winkler@gnu.org>
23258
23259 * textmodes/bibtex.el (bibtex-initialize):
23260 Use pop-to-buffer-same-window.
23261 (bibtex-search-entries): Fix interactive call.
23262
23263 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
23264
23265 * progmodes/compile.el (compilation-error-regexp-alist-alist):
23266 Fontise bytecomp Error lines more correctly (bug#2490).
23267 Fix suggested by Johan BockgĂ¥rd.
23268
23269 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
23270
23271 * dired-x.el (dired-guess-default): Use `delete-dups'.
23272
23273 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
23274
23275 * dired.el (dired-mark-prompt):
23276 * dired-aux.el (dired-read-shell-command): Doc fix.
23277
23278 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
23279
23280 * mail/sendmail.el (sendmail-query-once):
23281 Use `customize-save-variable' unconditionally, now that it works under
23282 emacs -Q.
23283
23284 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
23285
23286 * cus-edit.el (custom-file): Take an optional no-error variable.
23287 (customize-save-variable): Set the variable, and give a warning if
23288 running under "emacs -q".
23289
23290 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
23291
23292 * loadhist.el (unload-feature-special-hooks):
23293 Add `auto-coding-functions', `fill-nobreak-predicate' and
23294 `find-directory-functions' (bug#5327).
23295
23296 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
23297
23298 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
23299
23300 * cus-edit.el (custom-guess-name-alist): -alist variables should
23301 use the `alist' type (bug#3120). Suggested by Drew Adams.
23302
23303 * printing.el: Add documentation to all the `pr-toggle-' commands.
23304
23305 2011-07-11 Leo Liu <sdl.web@gmail.com>
23306
23307 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
23308 backends where it makes sense (bug#2623).
23309
23310 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
23311
23312 * dired-x.el (dired-guess-default): Remove duplicate shell command
23313 entries (bug#2028).
23314 (dired-guess-default): Fix grammar in doc string (bug#2028).
23315 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
23316
23317 * subr.el (remove-duplicates): New conveniency function.
23318
23319 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
23320
23321 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
23322 (bug#1526).
23323
23324 2011-07-10 Martin Rudalics <rudalics@gmx.at>
23325
23326 * window.el (display-buffer-normalize-default): Don't invert
23327 meaning of even-window-heights. Reported by Eli Zaretskii
23328 <eliz@gnu.org>.
23329
23330 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
23331
23332 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
23333
23334 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
23335
23336 * window.el (display-buffer): Fix arguments to
23337 display-buffer-reuse-window in last change.
23338
23339 * faces.el (link): Use a less saturated blue on light backgrounds.
23340
23341 * startup.el (fancy-startup-text, fancy-about-text)
23342 (fancy-startup-tail): Use font-lock faces, for background safety.
23343
23344 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
23345
23346 * emulation/viper-cmd.el (viper-change-state-to-vi):
23347 Limit triggering of abbrev expansion (Bug#9038).
23348
23349 2011-07-09 Martin Rudalics <rudalics@gmx.at>
23350
23351 * window.el (display-buffer-default-specifiers): Remove.
23352 (display-buffer-macro-specifiers): Remove default specifiers.
23353 (display-buffer-alist): Default to nil.
23354 (display-buffer-reuse-window): New optional argument other-window.
23355 (display-buffer-pop-up-window): Allow splitting internal
23356 windows. Check whether a live window was created.
23357 (display-buffer-other-window-means-other-frame)
23358 (display-buffer-normalize-arguments): Rename to
23359 display-buffer-normalize-argument and rewrite. Set the
23360 other-window specifier.
23361 (display-buffer-normalize-special): New function.
23362 (display-buffer-normalize-options): Rename to
23363 display-buffer-normalize-default and rewrite.
23364 (display-buffer-normalize-options-inhibit): Remove.
23365 (display-buffer-normalize-specifiers): Rewrite.
23366 (display-buffer): Process other-window specifier and call
23367 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
23368 more faithfully.
23369 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
23370 (display-buffer-alist-set): Don't handle 'unset default values.
23371 (display-buffer-in-window, display-buffer-alist-set):
23372 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
23373 <tassilo@member.fsf.org>.
23374
23375 2011-07-09 Leo Liu <sdl.web@gmail.com>
23376
23377 * register.el (insert-register): Restore accidental change on
23378 2011-06-26. (Bug#9028)
23379
23380 2011-07-09 Glenn Morris <rgm@gnu.org>
23381
23382 * subr.el (remq): Handle the empty list. (Bug#9024)
23383
23384 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
23385
23386 * mail/sendmail.el (send-mail-function): No longer delay custom
23387 initialization.
23388 * custom.el (custom-initialize-delay): Doc fix.
23389
23390 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
23391
23392 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
23393
23394 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
23395
23396 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
23397 human-friendly prompt.
23398
23399 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
23400
23401 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
23402 provided by a particular plugin.
23403
23404 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
23405
23406 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
23407 save customizations (with "emacs -Q"), just set the variable
23408 instead of erroring out.
23409
23410 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
23411
23412 2011-07-08 Juri Linkov <juri@jurta.org>
23413
23414 * arc-mode.el (archive-zip-expunge, archive-zip-update)
23415 (archive-zip-update-case): Use 7z if found by `executable-find'.
23416 The order of searching the available programs is the same as in
23417 `archive-zip-extract' (bug#8968).
23418
23419 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
23420
23421 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
23422 (menu-bar-options-menu): Tweak descriptions.
23423
23424 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
23425
23426 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
23427 menu items into verb phrases (bug#1421). Also refill to fit under
23428 80 columns.
23429
23430 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
23431
23432 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
23433 (Info-read-node-name): Doc fix (Bug#1084).
23434
23435 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
23436 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
23437 (end-of-sexp, beginning-of-sexp)
23438 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
23439 (forward-symbol, forward-same-syntax, word-at-point)
23440 (sentence-at-point): Doc fix (Bug#1144).
23441
23442 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
23443
23444 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
23445 should cover it (bug#1281).
23446
23447 * cus-edit.el (custom-show): Mark as obsolete.
23448
23449 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
23450 negotiation fails, then possibly try again with a non-encrypted
23451 connection (bug#9017).
23452
23453 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
23454 be used.
23455
23456 2011-07-07 Richard Stallman <rms@gnu.org>
23457
23458 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
23459 property, and handle its changed format.
23460 Look for the correct line number.
23461 Use file's line contents (but not past first =) to find
23462 correct line in message.
23463
23464 2011-07-07 Kenichi Handa <handa@m17n.org>
23465
23466 * international/characters.el (build-unicode-category-table):
23467 Delete it.
23468 (unicode-category-table): Set it by unicode-property-table-internal.
23469
23470 * international/mule-cmds.el (char-code-property-alist): Move to
23471 to src/chartab.c.
23472 (get-char-code-property): Call unicode-property-table-internal to
23473 load a file. Call get-unicode-property-internal where necessary.
23474 (put-char-code-property): Call unicode-property-table-internal to
23475 load a file. Call put-unicode-property-internal where necessary.
23476 put-unicode-property-internal where necessary.
23477 (char-code-property-description):
23478 Call unicode-property-table-internal to load a file.
23479
23480 * international/charprop.el:
23481 * international/uni-bidi.el:
23482 * international/uni-category.el:
23483 * international/uni-combining.el:
23484 * international/uni-comment.el:
23485 * international/uni-decimal.el:
23486 * international/uni-decomposition.el:
23487 * international/uni-digit.el:
23488 * international/uni-lowercase.el:
23489 * international/uni-mirrored.el:
23490 * international/uni-name.el:
23491 * international/uni-numeric.el:
23492 * international/uni-old-name.el:
23493 * international/uni-titlecase.el:
23494 * international/uni-uppercase.el: Regenerate.
23495
23496 * loadup.el: Load international/charprop.el before
23497 international/characters.
23498
23499 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
23500
23501 * window.el (next-buffer, previous-buffer): Signal an error if
23502 called from a minibuffer window.
23503
23504 * bindings.el: Revert 2011-07-04 change.
23505
23506 2011-07-06 Richard Stallman <rms@gnu.org>
23507
23508 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
23509 (rmail-mime-insert-bulk, rmail-mime-insert-text):
23510 Treat markers like ints.
23511 (rmail-mime-entity): Doc fix.
23512
23513 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
23514
23515 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
23516 defcustom again for backwards compatibility.
23517
23518 * simple.el (shell-command-on-region): Fill.
23519
23520 * dired-aux.el (dired-kill-line): Add a doc string.
23521
23522 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
23523 to "\\sw\\|\\s_" (bug#358).
23524
23525 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
23526 (dired-unmark-backward): Ditto.
23527 (dired-flag-backup-files): Ditto.
23528
23529 * dired-x.el (dired-mark-sexp): Ditto.
23530
23531 2011-07-06 Richard Stallman <rms@gnu.org>
23532
23533 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
23534 (rmail-mime-entity): New arg TRUNCATED.
23535 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
23536 New functions.
23537 (rmail-mime-save): Warn if entity is truncated.
23538 (rmail-mime-toggle-hidden): Likewise, for showing.
23539 (rmail-mime-process-multipart): Record when an entity is truncated.
23540
23541 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
23542 if ENTITY is a string.
23543
23544 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
23545
23546 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
23547 of faces when `M-C-x'-ing their definitions (bug#8378).
23548 Also clean up the code slightly.
23549
23550 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
23551 because that makes the colors go away.
23552
23553 * mail/sendmail.el (send-mail-function): Change the default to
23554 `sendmail-query-once'.
23555 (sendmail-query-once): Add an autoload cookie.
23556
23557 * net/network-stream.el (network-stream-open-starttls): Try using
23558 a plain connection even if the server offered STARTTLS, and we
23559 kinda wanted to use it, if Emacs doesn't have any STARTTLS
23560 capability. This should make smtpmail.el work in slightly more
23561 configurations.
23562
23563 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
23564
23565 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
23566 New defun.
23567 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
23568
23569 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
23570
23571 * progmodes/sql.el: Version 3.0
23572 (sql-product-alist): Add product :completion-object,
23573 :completion-column, and :statement attributes.
23574 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
23575 (sql-mode-syntax-table): Mark all punctuation.
23576 (sql-font-lock-keywords-builder): Temporarily remove fallback on
23577 ansi keywords.
23578 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
23579 (sql-mode-oracle-font-lock-keywords): Improve.
23580 (sql-oracle-show-reserved-words): New function for development.
23581 (sql-product-font-lock): Simplify for source code buffers.
23582 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
23583 New functions.
23584 (sql-highlight-product): Set product specific syntax table.
23585 (sql-mode-map): Add statement movement functions.
23586 (sql-ansi-statement-starters, sql-oracle-statement-starters):
23587 New variable.
23588 (sql-statement-regexp, sql-beginning-of-statement)
23589 (sql-end-of-statement, sql-signum): New functions.
23590 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
23591 (sql-show-sqli-buffer): Bug fix.
23592 (sql-interactive-mode): Store connection data as buffer local.
23593 (sql-connect): Add NEW-NAME parameter. Redesign interaction
23594 with sql-interactive-mode.
23595 (sql-save-connection): Save buffer local settings.
23596 (sql-connection-menu-filter): Change menu entry name.
23597 (sql-product-interactive): Bug fix.
23598 (sql-preoutput-hold): New variable.
23599 (sql-interactive-remove-continuation-prompt): Bug fixes.
23600 (sql-debug-redirect): New variable.
23601 (sql-str-literal): New function.
23602 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
23603 Redesign.
23604 (sql-oracle-save-settings, sql-oracle-restore-settings)
23605 (sql-oracle-list-all, sql-oracle-list-table): New functions.
23606 (sql-completion-object, sql-completion-column)
23607 (sql-completion-sqlbuf): New variables.
23608 (sql-build-completions-1, sql-build-completions)
23609 (sql-try-completion): New functions.
23610 (sql-read-table-name): Use them.
23611 (sql-contains-names): New buffer local variable.
23612 (sql-list-all, sql-list-table): Use it.
23613 (sql-oracle-completion-types): New variable.
23614 (sql-oracle-completion-object, sql-sqlite-completion-object)
23615 (sql-postgres-completion-object): New functions.
23616
23617 2011-07-06 Glenn Morris <rgm@gnu.org>
23618
23619 * window.el (pop-to-buffer): Doc fix.
23620
23621 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
23622
23623 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
23624
23625 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
23626
23627 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
23628
23629 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
23630
23631 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
23632
23633 * button.el (button): Inherit from link face. Suggested by Dan
23634 Nicolaescu.
23635
23636 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
23637
23638 * progmodes/gdb-mi.el: Fit in 80 columns.
23639 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
23640 switch-to-buffer.
23641
23642 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
23643 if imenu is simply not configured (bug#8941).
23644
23645 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
23646
23647 * allout.el (allout-post-undo-hook): New allout outline-change
23648 event hook to signal undo activity.
23649 (allout-post-command-business): Run allout-post-undo-hook if an
23650 undo just occurred.
23651 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
23652 * allout-widgets.el (allout-widgets-after-undo-function):
23653 Ensure the integrity of the current item's decoration after it has been
23654 in the vicinity of an undo.
23655 (allout-widgets-mode): Include allout-widgets-after-undo-function
23656 on the new allout-post-undo-hook.
23657
23658 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
23659
23660 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
23661 Let define-derived-mode define it.
23662 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
23663 cycles of abbrev-table inheritance (bug#8998).
23664
23665 2011-07-05 Roland Winkler <winkler@gnu.org>
23666
23667 * textmodes/bibtex.el: Add support for biblatex.
23668 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
23669 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
23670 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
23671 (bibtex-entry-alist, bibtex-field-alist): New variables.
23672 (bibtex-entry-field-alist): Obsolete alias for
23673 bibtex-BibTeX-entry-alist.
23674 (bibtex-entry-alist, bibtex-field-alist): New widgets.
23675 (bibtex-set-dialect): New command.
23676 (bibtex-entry-type, bibtex-entry-head)
23677 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
23678 Bind via bibtex-set-dialect.
23679 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
23680 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
23681 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
23682 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
23683 Define via bibtex-set-dialect.
23684 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
23685 Obey bibtex-no-opt-remove-re.
23686 (bibtex-vec-push, bibtex-vec-incr): New functions.
23687 (bibtex-format-entry, bibtex-field-list)
23688 (bibtex-print-help-message, bibtex-validate)
23689 (bibtex-search-entries): Use new format of bibtex-entry-alist.
23690
23691 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
23692
23693 * progmodes/compile.el (compilation-goto-locus):
23694 * net/tramp-cmds.el (tramp-append-tramp-buffers):
23695 * bs.el (bs-cycle-next, bs-cycle-previous):
23696 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
23697 * bindings.el (mode-line-other-buffer):
23698 * autoinsert.el (auto-insert):
23699 * arc-mode.el (archive-extract):
23700 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
23701
23702 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
23703
23704 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
23705 Fix check of `emacs-lock-unlockable-modes'.
23706 Coerce true values of `emacs-lock--try-unlocking' to t.
23707
23708 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
23709
23710 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
23711 * emacs-lock.el: New file.
23712
23713 2011-07-05 Julien Danjou <julien@danjou.info>
23714
23715 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
23716 than `boundp' to check if face is set.
23717
23718 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
23719
23720 * register.el (registerv-make):
23721 * window.el (window-min-height): Fix typos in docstrings.
23722
23723 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
23724
23725 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
23726 Update doc string.
23727
23728 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
23729
23730 * server.el (server-execute): Catch quit and call
23731 `server-return-error' to pass the error back to emacsclient and
23732 close the connection (bug#8942).
23733
23734 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
23735
23736 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
23737 insecure exception for current topic. Also note that auto-saves
23738 are handled differently.
23739
23740 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
23741 State variables for tracking auto-save inhibition situation.
23742
23743 (allout-write-contents-hook-handler): Rename from
23744 'allout-write-file-hook-handler', and describe how it depends on
23745 write-contents-functions sensitivity to non-nil value to prevent
23746 file write.
23747
23748 (allout-auto-save-hook-handler): Remove. auto-save does not check
23749 this in individual buffers, only in the starting buffer, so this
23750 is not the right way for us to inhibit auto-save in a buffer
23751 according to its condition.
23752
23753 (allout-mode): Use new allout-write-contents-hook-handler, and
23754 only with write-contents-functions. Remove auto-save provisions -
23755 they're implemented elsewhere.
23756
23757 (allout-before-change-handler): If undo is in progress, note that
23758 for attention of allout-post-command-business.
23759
23760 (allout-post-command-business): If the command we're following was
23761 an undo, check for change in the status of encrypted items and
23762 adjust auto-save inhibitions accordingly.
23763
23764 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
23765 according to whether there are or aren't any plain-text topics
23766 pending encryption.
23767
23768 (allout-inhibit-auto-save-info-for-decryption):
23769 Adjust buffer-saved-size and some allout state to inhibit auto-saves
23770 if there are plain-text topics pending encryption.
23771
23772 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
23773 buffer-saved-size and some allout state to not inhibit auto-saves
23774 if there are no longer any plain-text topics pending encryption.
23775
23776 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
23777 No longer provide for exemption of the current topic.
23778
23779 2011-07-04 Juri Linkov <juri@jurta.org>
23780
23781 Add 7z operations to delete and save changed members (bug#8968).
23782 * arc-mode.el (archive-7z-expunge, archive-7z-update):
23783 New defcustoms.
23784 (archive-7z-write-file-member): New function.
23785 (archive-7z-summarize): Fix the number of dashes in the
23786 listing output.
23787
23788 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
23789
23790 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
23791 (bug#8958).
23792
23793 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
23794
23795 * bindings.el: Ignore next-buffer and previous-buffer in
23796 minibuffer-local-map.
23797
23798 * font-lock.el (font-lock-builtin-face): Change light background
23799 color to dark slate blue (Bug#6693).
23800
23801 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
23802
23803 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
23804
23805 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
23806
23807 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
23808 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
23809 Add switch-to-buffer.
23810
23811 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
23812
23813 * isearch.el (isearch-search-fun-function): Clarify further the
23814 meaning of the function returned.
23815
23816 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
23817
23818 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
23819
23820 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
23821 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
23822 Use it.
23823 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
23824 `tramp-default-remote-path' does not exist.
23825 (tramp-send-command-and-read): New optional argument NOERROR.
23826 (tramp-open-connection-setup-interactive-shell)
23827 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
23828 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
23829 (tramp-process-sentinel): Flush also process' connection property.
23830 (tramp-sh-handle-start-file-process): Do not set process
23831 sentinel. It is done now ...
23832 (tramp-maybe-open-connection): ... here. (Bug#8929)
23833
23834 2011-07-04 MON KEY <monkey@sandpframing.com>
23835
23836 * play/animate.el (animate-string): Doc fixes and allow changing
23837 the buffer name (bug#5417).
23838
23839 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
23840
23841 * play/animate.el (animation-buffer-name): Rename from *animate*.
23842
23843 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
23844
23845 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
23846 This is simpler and helps future-proof the code.
23847 (timer-until): Use time-subtract and float-time.
23848 (timer--time-less-p): Use time-less-p.
23849
23850 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
23851
23852 * type-break.el (timep): Use the value of `float-time' to avoid a
23853 byte-compiler warning.
23854
23855 * server.el (server-eval-and-print): Return any result, even nil.
23856
23857 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
23858
23859 * type-break.el: Accept time formats that the builtins accept.
23860 (timep, type-break-time-difference): Accept any format that
23861 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
23862 This is simpler and helps future-proof the code.
23863 (type-break-time-difference): Round rather than ignoring
23864 subseconds components.
23865
23866 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
23867
23868 * info.el (Info-apropos-matches): Make non-interactive, since it
23869 doesn't seem to do anything useful as a command (bug#8829).
23870
23871 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
23872
23873 * frame.el (frame-background-mode, frame-set-background-mode):
23874 Move from faces.el.
23875 (frame-default-terminal-background): New function.
23876
23877 * custom.el (custom-push-theme): Don't record faces in `changed'
23878 theme; this doesn't work correctly for per-frame face settings.
23879 (disable-theme): Use face-set-after-frame-default to reset faces.
23880 (custom--frame-color-default): New function.
23881
23882 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
23883
23884 * dired.el (dired-flagging-regexp): Remove unused variable
23885 (bug#8769).
23886
23887 2011-03-29 Kevin Ryde <user42@zip.com.au>
23888
23889 * progmodes/compile.el (compilation-error-regexp-alist-alist):
23890 `perl-Test2' extend to match possible "fail #N" rep count
23891 (bug#8377).
23892
23893 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
23894
23895 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
23896 `smtpmail-via-smtp' now returns the error instead of nil.
23897
23898 * isearch.el (isearch-search-fun-function): Clarify the doc string
23899 (bug#8101).
23900
23901 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
23902
23903 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
23904 unnecessary spaces (bug#8987).
23905
23906 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
23907
23908 * net/network-stream.el (open-network-stream): Use the
23909 :end-of-capability command thoughout.
23910
23911 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
23912
23913 * net/network-stream.el (open-network-stream): Add the
23914 :end-of-capability command parameter, used by pop3.el.
23915
23916 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
23917
23918 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
23919
23920 * fringe.el (fringe-query-style): Remove redundant text " (type ?
23921 for list)" (bug#6475).
23922
23923 * files.el (file-expand-wildcards): Ignore non-readable
23924 sub-directories while trying to find matches instead of signaling
23925 an error (bug#6297).
23926
23927 * man.el (Man-reference-regexp): Allow matching possible
23928 word-wrapped references (bug#6289).
23929
23930 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
23931 for consistency with the other vc buffers (bug#6197).
23932 (vc-checkin): Ditto.
23933
23934 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
23935
23936 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
23937
23938 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
23939
23940 * custom.el (defcustom): Clarify that :set is only used in the
23941 Customize user interface (bug#6089).
23942
23943 * progmodes/flymake.el (flymake-mode): If the buffer isn't
23944 associated with a file, refuse to run instead of erroring out
23945 (bug#6084).
23946
23947 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
23948 the doc string, since it appears that using `fill-column' always
23949 controls the width (bug#7845).
23950
23951 * simple.el (shell-command-on-region): Say where the error output
23952 went if `shell-command-default-error-buffer' is set (bug#6857).
23953
23954 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
23955
23956 * allout.el (allout-yank-processing): Adjust cursor position for
23957 backwards-deleted space.
23958
23959 (allout-rebullet-heading): Register changes with
23960 allout-exposure-changed-hook, so the modified topic is properly
23961 decorated.
23962
23963 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
23964
23965 * minibuffer.el (completion-in-region): Document PREDICATE
23966 (bug#7136).
23967
23968 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
23969 of keyword/argument pairs (bug#6904).
23970
23971 * replace.el (multi-occur):
23972 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
23973
23974 2011-07-02 Drew Adams <drew.adams@oracle.com>
23975
23976 * dired.el (dired-mark-if): Make the message about whether it's
23977 marking or unmarking clearer (bug#8523).
23978
23979 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
23980
23981 * disp-table.el (display-table-print-array): New function.
23982 (describe-display-table): Use it to print the vectors more pretty
23983 (Bug#8859).
23984
23985 2011-07-02 Martin Rudalics <rudalics@gmx.at>
23986
23987 * window.el (window-state-get-1): Don't assign clone numbers.
23988 Add clone-of item to list of window parameters.
23989 (window-state-put-2): Don't process clone numbers.
23990 (display-buffer-alist): Fix doc-string.
23991
23992 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
23993
23994 * subr.el (remq): Don't allocate if it's not needed.
23995 (keymap--menu-item-binding, keymap--menu-item-with-binding)
23996 (keymap--merge-bindings): New functions.
23997 (keymap-canonicalize): Use them to refine the canonicalization.
23998 * minibuffer.el (minibuffer-local-completion-map)
23999 (minibuffer-local-must-match-map): Move initialization from C.
24000 (minibuffer-local-filename-completion-map): Move initialization from C;
24001 don't inherit from anything here.
24002 (minibuffer-local-filename-must-match-map): Make obsolete.
24003 (completing-read-default): Use make-composed-keymap to combine
24004 minibuffer-local-filename-completion-map with either
24005 minibuffer-local-must-match-map or
24006 minibuffer-local-filename-completion-map.
24007
24008 2011-07-01 Glenn Morris <rgm@gnu.org>
24009
24010 * type-break.el (type-break-time-sum): Use dolist.
24011
24012 * textmodes/flyspell.el (flyspell-word-search-backward):
24013 Replace CL function.
24014
24015 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
24016
24017 * mouse.el (mouse--strip-first-event): New function.
24018 (function-key-map): Use it to map fringe clicks to normal clicks
24019 by default.
24020
24021 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
24022 (vc-bzr-revision-completion-table): Add support for annotate and date.
24023
24024 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
24025 inherit from parent.
24026
24027 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
24028
24029 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
24030 (dired-show-file-type): Doc fixup (bug#8818).
24031
24032 * dired.el (dired-mode): Fix up the doc string as suggested by
24033 Drew Adams (bug#8817).
24034
24035 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
24036 cookie, since the manual says that it should be possible to add
24037 this function to `find-file-hook' (bug#8709).
24038
24039 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
24040
24041 * progmodes/cfengine.el: Moved all cfengine3.el functionality
24042 here. Noted Ted Zlatanov as the maintainer.
24043 (cfengine-common-settings, cfengine-common-syntax): New functions
24044 to set up common things between `cfengine-mode' and
24045 `cfengine3-mode'.
24046 (cfengine3-mode): New mode.
24047 (cfengine3-defuns cfengine3-defuns-regex
24048 (cfengine3-class-selector-regex cfengine3-category-regex)
24049 (cfengine3-vartypes cfengine3-font-lock-keywords)
24050 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
24051 (cfengine3-indent-line): Add from cfengine3.el.
24052
24053 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
24054
24055 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
24056
24057 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
24058
24059 2011-07-01 Martin Rudalics <rudalics@gmx.at>
24060
24061 * window.el (same-window-buffer-names, same-window-regexps)
24062 (same-window-p, special-display-frame-alist)
24063 (special-display-popup-frame, special-display-function)
24064 (special-display-buffer-names, special-display-regexps)
24065 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
24066 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
24067 (split-window-preferred-function, split-height-threshold)
24068 (split-width-threshold, even-window-heights)
24069 (display-buffer-mark-dedicated, window-splittable-p)
24070 (split-window-sensibly, window-safely-shrinkable-p):
24071 Un-obsolete.
24072 (display-buffer): Don't spread args with function specifier
24073 because special-display-popup-frame won't like it.
24074
24075 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
24076
24077 Time-stamp simplifications and fixes.
24078 These improve accuracy slightly, and future-proof the code
24079 against some potential changes to current-time format.
24080
24081 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
24082 by using time-since and float-time.
24083
24084 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
24085 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
24086 + NNN microseconds".
24087
24088 * type-break.el (type-break-time-sum): Rewrite using time-add.
24089
24090 * play/hanoi.el (hanoi-current-time-float): Remove.
24091 All uses replaced by float-time.
24092
24093 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
24094 This yields a more-accurate answer.
24095 (rng-time-to-float): Remove; no longer needed.
24096
24097 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
24098
24099 * calendar/timeclock.el (timeclock-seconds-to-time):
24100 Defalias to seconds-to-time, since they're the same thing.
24101
24102 * emacs-lisp/elp.el (elp-elapsed-time):
24103 * emacs-lisp/benchmark.el (benchmark-elapse):
24104 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
24105
24106 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
24107
24108 * window.el (bury-buffer): Don't iconify the only frame.
24109 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
24110 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
24111
24112 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
24113
24114 * eshell/em-smart.el (eshell-smart-display-navigate-list):
24115 Add mouse-yank-primary.
24116
24117 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
24118
24119 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
24120
24121 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
24122
24123 * emacs-lisp/find-func.el (find-library--load-name): New fun.
24124 (find-library-name): Use it to find relative load names when provided
24125 absolute file name (bug#8803).
24126
24127 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
24128
24129 * textmodes/flyspell.el (flyspell-word): Consider words that
24130 differ only in case as potential doublons (bug#5687).
24131
24132 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
24133 Remove two rather uninteresting debugging-like messages to make
24134 debbugs.el more silent.
24135
24136 * comint.el (comint-password-prompt-regexp): Accept "Response" as
24137 a password-like phrase.
24138
24139 2011-06-30 Masatake YAMATO <yamato@redhat.com>
24140
24141 * progmodes/cc-guess.el: New file.
24142
24143 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
24144
24145 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
24146 derived from `c-basic-common-init'.
24147
24148 * progmodes/cc-mode.el (top-level): Require cc-guess.
24149 (c-basic-common-init): Use `cc-choose-style-for-mode'.
24150
24151 2011-06-30 Lawrence Mitchell <wence@gmx.li>
24152
24153 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
24154
24155 2011-06-30 Alan Mackenzie <acm@muc.de>
24156
24157 * progmodes/cc-engine.el (c-guess-continued-construct):
24158 Correct the handling of template-args-cont, particularly for when font
24159 lock is disabled. Name this case as "CASE G".
24160
24161 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
24162
24163 * allout.el (allout-yank-processing): Fix injection of extra space
24164 between bullet and non-whitespace character in first topic when
24165 pasting, ensuring that the actual spacing in the pasted topic
24166 following the bullet char is preserved. This extra space was
24167 causing pasted encrypted topics to get a decrypted status even
24168 when the content was actually still encrypted. Now the decryption
24169 status from before the paste is preserved.
24170
24171 (allout-flag-region): Set all allout overlays so they evaporate
24172 when reduced to zero length (evanescent), to prevent overlay
24173 leakage.
24174
24175 2011-06-30 Glenn Morris <rgm@gnu.org>
24176
24177 * w32-fns.el (w32-charset-info-alist): Declare.
24178
24179 * find-dired.el (find-grep-options): Simplify.
24180
24181 * term/ns-win.el (ns-set-resource): Declare.
24182
24183 * ses.el (row, col): Declare dynamic variables honestly.
24184
24185 * textmodes/reftex-parse.el (index-tags): Declare.
24186
24187 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
24188
24189 * cus-edit.el (customize-push-and-save): New function.
24190
24191 * files.el (hack-local-variables-confirm): Use it.
24192
24193 * custom.el (load-theme): New arg NO-CONFIRM.
24194 Use customize-push-and-save (Bug#8720).
24195 (custom-enabled-themes): Doc fix.
24196
24197 * cus-theme.el (customize-create-theme)
24198 (custom-theme-merge-theme): Callers to load-theme changed.
24199
24200 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
24201
24202 * thingatpt.el (thing-at-point-short-url-regexp): Require that
24203 short URLs have at least one dot in them (bug #7614).
24204
24205 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
24206 nil, because using a pty is apparently too slow (bug #895).
24207
24208 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
24209
24210 * mail/sendmail.el (sendmail-query-once): New function.
24211 (sendmail-query-once-function): New variable.
24212
24213 2011-06-29 Glenn Morris <rgm@gnu.org>
24214
24215 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
24216
24217 * ses.el (top-level): Require cl when compiling.
24218 (ses-set-localvars): Fix error statement.
24219 Call it at compile time to silence a storm of warnings.
24220
24221 2011-06-29 Martin Rudalics <rudalics@gmx.at>
24222
24223 * window.el (normalize-live-buffer): Rename to
24224 window-normalize-buffer.
24225 (normalize-live-frame): Rename to window-normalize-frame.
24226 (normalize-any-window): Rename to window-normalize-any-window.
24227 (normalize-live-window): Rename to window-normalize-live-window.
24228 (make-window-atom): Rename to window-make-atom.
24229 (window-resize-reset): Rename to window--resize-reset.
24230 (window-resize-reset-1): Rename to window--resize-reset-1.
24231 (resize-mini-window): Rename to window--resize-mini-window.
24232 (resize-subwindows-skip-p): Rename to
24233 window--resize-subwindows-skip-p.
24234 (resize-subwindows-normal): Rename to
24235 window--resize-subwindows-normal.
24236 (resize-subwindows): Rename to window--resize-subwindows.
24237 (resize-other-windows): Rename to window--resize-siblings.
24238 (resize-this-window): Rename to window--resize-this-window.
24239 (resize-root-window): Rename to window--resize-root-window.
24240 (resize-root-window-vertically): Rename to
24241 window--resize-root-window-vertically.
24242 (normalize-buffer-to-display): Rename to
24243 window-normalize-buffer-to-display.
24244 (normalize-buffer-to-switch-to): Rename to
24245 window-normalize-buffer-to-switch-to.
24246 Correspondingly update all callers of the functions listed
24247 above.
24248 (display-buffer-alist, display-buffer-normalize-arguments)
24249 (display-buffer-normalize-options, display-buffer)
24250 (display-buffer-alist-set): Use "function" instead of
24251 "fun-with-args".
24252
24253 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
24254
24255 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
24256 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
24257 debbugs.gnu.org. Mention acknowledgment email.
24258
24259 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
24260
24261 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
24262 buffer multibyteness, since it shouldn't matter.
24263
24264 2011-06-28 Martin Rudalics <rudalics@gmx.at>
24265
24266 * window.el (display-buffer-in-side-window): Handle dedicated
24267 windows as in display-buffer-reuse-window.
24268 (display-buffer-normalize-alist): Use value of override
24269 specifier.
24270 (display-buffer-normalize-specifiers): Use value of
24271 other-window-means-other-frame specifier.
24272 (display-buffer-alist): Rewrite some texts in widgets.
24273 (display-buffer): Spread arguments when calling function
24274 specified by fun-with-args.
24275
24276 2011-06-28 Deniz Dogan <deniz@dogan.se>
24277
24278 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
24279 Unnest `let'.
24280
24281 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
24282 selectors (Bug#5732).
24283 (css-proprietary-nmstart-re): Use `regexp-opt'.
24284
24285 2011-06-27 Jari Aalto <jari.aalto@cante.net>
24286
24287 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
24288 (eshell-ls-date-format): New defcustom.
24289 (eshell-ls-file): Use it.
24290
24291 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
24292
24293 * help-fns.el (describe-variable): Fix message for terminal-local vars.
24294
24295 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
24296
24297 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
24298 (ange-ftp-make-tmp-name): New arg.
24299 (ange-ftp-file-local-copy): Use it.
24300
24301 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
24302
24303 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
24304 no-conversion (Bug#8870).
24305
24306 2011-06-27 Martin Rudalics <rudalics@gmx.at>
24307
24308 * window.el (window-right, window-left, window-child)
24309 (window-child-count, window-last-child)
24310 (window-iso-combination-p, walk-window-tree-1)
24311 (window-atom-check-1, window-tree-1, delete-window)
24312 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
24313 new naming conventions - window-vchild, window-hchild,
24314 window-next and window-prev are now called window-top-child,
24315 window-left-child, window-next-sibling and window-prev-sibling
24316 respectively.
24317 (resize-window-reset): Rename to window-resize-reset.
24318 (resize-window-reset-1): Rename to window-resize-reset-1.
24319 (resize-window): Rename to window-resize.
24320 (window-min-height, window-min-width)
24321 (resize-mini-window, resize-this-window, resize-root-window)
24322 (resize-root-window-vertically, adjust-window-trailing-edge)
24323 (enlarge-window, shrink-window, maximize-window)
24324 (minimize-window, delete-window, quit-restore-window)
24325 (split-window, balance-windows, balance-windows-area-adjust)
24326 (balance-windows-area, window-state-put-2)
24327 (display-buffer-even-window-sizes, display-buffer-set-height)
24328 (display-buffer-set-width, set-window-text-height)
24329 (fit-window-to-buffer): Rename all "resize-window" prefixed
24330 calls to use the "window-resize" prefix convention.
24331 (display-buffer-alist): Fix symbol for label specifier.
24332 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
24333 corresponding specifier.
24334 Reported by Juanma Barranquero <lekktu@gmail.com>.
24335
24336 2011-06-27 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
24337
24338 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
24339 convention.
24340 (ses-call-printer): Does not pass an empty string to formatter when the
24341 cell is empty to keep from barking printer Calc math-format-value.
24342
24343 2011-06-27 Richard Stallman <rms@gnu.org>
24344
24345 * battery.el (battery-mode-line-limit): New variable.
24346 (battery-update): Handle it.
24347
24348 * mail/rmailmm.el (rmail-mime-process-multipart):
24349 Handle truncated messages.
24350
24351 2011-06-27 Glenn Morris <rgm@gnu.org>
24352
24353 * progmodes/flymake.el (flymake-err-line-patterns):
24354 Allow for column numbers in the ant/javac pattern. (Bug#8866)
24355
24356 2011-06-27 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
24357
24358 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
24359 (ses--clean-!, ses--clean-_): New functions.
24360 (ses-range): Add configurability of readout order, and conversion
24361 to Calc vector.
24362
24363 * ses.el (ses-repair-cell-reference-all): New function.
24364 (ses-cell-symbol): Set macro as safe, so that it can be used in
24365 formulas.
24366
24367 * ses.el: Update cycle detection algorithm.
24368 (ses-localvars): Add ses--Dijkstra-attempt-nb and
24369 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
24370 (ses-set-localvars): New function.
24371 (ses-make-cell): Add property-list as a cell element.
24372 (ses-cell-property-get-fun, ses-cell-property-get)
24373 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
24374 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
24375 New functions.
24376 (ses-cell-property-set, ses-cell-property-pop)
24377 (ses-cell-property-get-handle): New macro.
24378 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
24379 New aliases, used for code readability.
24380 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
24381 cycle detection.
24382 (ses-self-reference-early-detection): New defcustom.
24383 (ses-formula-references): Robustify against self-referring cells.
24384 (ses-mode): Use ses-set-localvars.
24385 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
24386 before lauching the update processing.
24387 (ses-initialize-Dijkstra-attempt): New function.
24388 (ses-recalculate-cell): Update for cycle detection based on
24389 Dijkstra algorithm.
24390
24391 * ses.el: Fix commenting and indenting convention.
24392
24393 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
24394
24395 * bs.el (bs-cycle-next): Complete last change.
24396
24397 2011-06-27 Drew Adams <drew.adams@oracle.com>
24398
24399 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
24400
24401 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
24402
24403 * net/network-stream.el (network-stream-open-starttls):
24404 Don't re-get capabilities unless we've reestablished connection.
24405 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
24406
24407 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
24408 to binary to possibly avoid line encoding issues on Windows (among
24409 other things).
24410
24411 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
24412
24413 * net/network-stream.el (open-network-stream): Return an :error
24414 saying what the problem was, if possible.
24415
24416 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
24417 server.
24418
24419 * net/network-stream.el (network-stream-open-starttls): If we
24420 wanted to use STARTTLS, and the server offered it, but we weren't
24421 able to because we had no STARTTLS support, then close the connection.
24422 (open-network-stream): Return an :error element, if present.
24423
24424 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
24425
24426 * hl-line.el (hl-line-sticky-flag): Doc fix.
24427 (global-hl-line-sticky-flag): New option (Bug#8323).
24428 (global-hl-line-highlight): Obey it.
24429
24430 * vc/vc.el (vc-revert-show-diff): Default to t.
24431
24432 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
24433
24434 * allout-widgets.el (allout-widgets-post-command-business):
24435 Stop decorating intermediate isearch matches. They're not being
24436 undecorated when an isearch is continued past, and isearch
24437 automatically collapses them. This leads to "widget leaks", where
24438 decorated items accumulate in collapsed areas. Lines with lots of
24439 hidden widgets can slow down cursor travel, substantially.
24440 Too much complicated machinery would be needed to ensure undecoration,
24441 so we're doing without this nicety.
24442
24443 (allout-widgets-tally-string): Don't try to do a hash-table-count
24444 of allout-widgets-tally when it's nil. This eliminates spurious "Error
24445 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
24446 *Messages* when allout-widgets-maintain-tally is t.
24447
24448 2011-06-26 Martin Rudalics <rudalics@gmx.at>
24449
24450 * window.el (display-buffer-normalize-argument): Rename to
24451 display-buffer-normalize-arguments. Handle special meaning of
24452 LABEL argument. Respect special-display-function when popping up
24453 a new frame. Fix code searching for a window showing the buffer
24454 on another frame.
24455 (display-buffer-normalize-specifiers):
24456 Call display-buffer-normalize-arguments.
24457 (display-buffer-in-window): Don't undedicate the window if its
24458 buffer remains the same.
24459 Reported by Drew Adams <drew.adams@oracle.com>.
24460 (display-buffer-alist): Add choice for same-window macro
24461 specfier.
24462 (display-buffer): Mention special meaning of LABEL argument in
24463 doc-string. Fix quoting. Don't pop up a new frame even as
24464 fallback.
24465
24466 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
24467
24468 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
24469 avoid deleting the current window in some cases (bug#8911).
24470
24471 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
24472
24473 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
24474 (Bug#8934)
24475
24476 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
24477
24478 * net/network-stream.el (network-stream-open-starttls):
24479 Use built-in TLS support if `gnutls-available-p' is true.
24480 (network-stream-open-tls): Ditto.
24481
24482 2011-06-26 Leo Liu <sdl.web@gmail.com>
24483
24484 * register.el (registerv): New struct.
24485 (registerv-make): New function.
24486 (jump-to-register, describe-register-1, insert-register):
24487 Support the jump-func, print-func and insert-func slot of a registerv
24488 struct. (Bug#8415)
24489
24490 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
24491
24492 * vc/vc.el (vc-revert-show-diff): New defcustom.
24493 (vc-diff-internal): New arg specifying diff buffer.
24494 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
24495 reuse an existing *vc-diff* buffer (Bug#8927).
24496
24497 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
24498
24499 2011-06-26 Glenn Morris <rgm@gnu.org>
24500
24501 * progmodes/f90.el (f90-critical-indent): New option.
24502 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
24503 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
24504 (f90-mode): Doc fix.
24505 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
24506 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
24507 (f90-beginning-of-block, f90-next-block, f90-indent-region)
24508 (f90-match-end): Handle block, critical.
24509
24510 2011-06-25 Glenn Morris <rgm@gnu.org>
24511
24512 * calendar/diary-lib.el (diary-included-files): Doc fix.
24513 (diary-include-files): New function, extracted from
24514 diary-include-other-diary-files and diary-mark-included-diary-files.
24515 (diary-include-other-diary-files, diary-mark-included-diary-files):
24516 Just call diary-include-files.
24517 (diary-mark-entries): Reset diary-included-files on first call.
24518
24519 * calendar/diary-lib.el (diary-mark-entries)
24520 (diary-mark-included-diary-files):
24521 Visit included diary-files in temp buffers.
24522
24523 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
24524 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
24525 (f90-start-block-re, f90-imenu-generic-expression)
24526 (f90-looking-at-program-block-start, f90-no-block-limit):
24527 Add support for submodules.
24528
24529 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
24530 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
24531
24532 2011-06-25 Eli Zaretskii <eliz@gnu.org>
24533
24534 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
24535 buffer-file-type before setting its value, to avoid disastrous
24536 global effects on decoding files for DOS/Windows systems. (Bug#8780)
24537
24538 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
24539
24540 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
24541
24542 * ses.el (ses-unload-function):
24543 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
24544
24545 * proced.el (proced-unload-function):
24546 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
24547
24548 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
24549
24550 * server.el (server-create-window-system-frame): Add parameters arg.
24551 (server-process-filter): Doc fix. Handle frame-parameters.
24552
24553 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
24554
24555 Fix bug#8730, bug#8781.
24556
24557 * loadhist.el (unload--set-major-mode): New function.
24558 (unload-feature): Use it.
24559
24560 * progmodes/python.el (python-after-info-look): Add autoload cookie.
24561 (python-unload-function): New function.
24562
24563 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
24564
24565 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
24566
24567 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
24568
24569 * net/browse-url.el (browse-url-firefox-program): Add icecat to
24570 the candidates list.
24571
24572 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
24573
24574 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
24575
24576 2011-06-23 Richard Stallman <rms@gnu.org>
24577
24578 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
24579 (rmail-variables): Set next-error-move-function.
24580 (rmail-what-message): Take argument POS.
24581 (rmail-next-error-move): New function.
24582
24583 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
24584
24585 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
24586 messages for adjacent non-terminals.
24587
24588 2011-06-23 Richard Stallman <rms@gnu.org>
24589
24590 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
24591 (rmail-show-message-1): Preserve buffer modified flag.
24592 (rmail-start-mail): Don't specify use of rmail-mail-return;
24593 that's done by mail-bury now.
24594 (rmail-mail-return): Handle arg NEWBUF.
24595
24596 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
24597
24598 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
24599 SIZE is a number.
24600
24601 2011-06-23 Martin Rudalics <rudalics@gmx.at>
24602
24603 * window.el (get-lru-window, get-mru-window)
24604 (get-largest-window): Never return a minibuffer window.
24605 (display-buffer-pop-up-window): Fix a bug that could lead to
24606 reusing the minibuffer window.
24607 (display-buffer): Pass original specifier argument to
24608 display-buffer-function instead of the normalized one.
24609 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
24610
24611 2011-06-22 Leo Liu <sdl.web@gmail.com>
24612
24613 * minibuffer.el (completing-read-function)
24614 (completing-read-default): Move from minibuf.c.
24615
24616 2011-06-22 Richard Stallman <rms@gnu.org>
24617
24618 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
24619 to Rmail even if not started by a special Rmail command.
24620
24621 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
24622 Copy the buffer currently showing just one message.
24623
24624 2011-06-22 Roland Winkler <winkler@gnu.org>
24625
24626 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
24627 (bibtex-clean-entry): First delete the old key so that a
24628 customized algorithm for generating the new key does not get
24629 confused by the old key.
24630 (bibtex-url): Obey regexp of first step.
24631 (bibtex-search-entries): Do not use add-to-list with local
24632 list-var.
24633
24634 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
24635
24636 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
24637 stored a user name, then query for the password first, instead of
24638 waiting for SMTP to give an error message and the trying again.
24639
24640 2011-06-22 Lawrence Mitchell <wence@gmx.li>
24641
24642 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
24643 BUFFER in call-process.
24644
24645 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
24646
24647 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
24648 QUIT twice.
24649 (smtpmail-try-auth-methods): Require user name and password from
24650 auth-source.
24651
24652 2011-06-22 Martin Rudalics <rudalics@gmx.at>
24653
24654 * window.el (display-buffer-default-specifiers)
24655 (display-buffer-alist): Remove entries for pop-up-frame-alist.
24656 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
24657 (split-window): Normalize SIDE argument (Bug#8916).
24658
24659 * frame.el (pop-up-frame-alist, pop-up-frame-function)
24660 (special-display-frame-alist, special-display-popup-frame):
24661 Remove duplicate declarations. These are now in window.el.
24662
24663 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
24664
24665 * mail/smtpmail.el (smtpmail-via-smtp):
24666 Set :use-starttls-if-possible so that we always use STARTTLS if the
24667 server supports it. SMTP servers that support STARTTLS commonly
24668 require it.
24669
24670 * net/network-stream.el (network-stream-open-starttls): Support
24671 upgrading to STARTTLS always, even if we don't have built-in support.
24672 (open-network-stream): Add the :always-query-capabilities keyword.
24673
24674 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
24675 upgrades with `open-network-stream', and rely solely on
24676 auth-source for all credentials. Big changes throughout the file,
24677 but in particular:
24678 (smtpmail-auth-credentials): Remove.
24679 (smtpmail-starttls-credentials): Remove.
24680 (smtpmail-via-smtp): Check for servers saying they want AUTH after
24681 MAIL FROM, too.
24682
24683 * net/network-stream.el (network-stream-open-starttls):
24684 Provide support for client certificates both for external and built-in
24685 STARTTLS.
24686 (auth-source): Require.
24687 (open-network-stream): Document the :client-certificate keyword.
24688 (network-stream-certificate): Change cert-cert to cert and
24689 cert-key to key.
24690
24691 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
24692
24693 * net/tramp-cache.el (top): Don't load the persistency file when
24694 "emacs -Q" has been called.
24695
24696 2011-06-21 Tim Harper <timcharper@gmail.com>
24697
24698 * term/ns-win.el (ns-initialize-window-system):
24699 Set application-specific `ApplePressAndHoldEnabled' system
24700 resource to NO as it is not yet supported by the NS port.
24701
24702 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
24703
24704 * misc.el (list-dynamic-libraries--refresh): Compute header here...
24705 (list-dynamic-libraries): ...not here.
24706
24707 2011-06-21 Leo Liu <sdl.web@gmail.com>
24708
24709 * subr.el (sha1): Implement sha1 using secure-hash.
24710
24711 2011-06-21 Martin Rudalics <rudalics@gmx.at>
24712
24713 * window.el (display-buffer-alist): In default value do not
24714 enforce searching a window on any but the selected frame.
24715 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
24716 (display-buffer-select-window): Remove function.
24717 (display-buffer-in-window): When a window on another frame gets
24718 reused, do not select it any more but just raise its frame if
24719 necessary (Bug#8851) and (Bug#8856).
24720 (display-buffer-normalize-options): Handle pop-up-frames related
24721 options more faithfully.
24722 (pop-to-buffer): Don't rely on `display-buffer' selecting the
24723 window if it is on another frame.
24724 (display-buffer-alist, display-buffer-default-specifiers):
24725 Don't make new frame unsplittable by default.
24726 (display-buffer-normalize-argument): Fix doc-string typo and use
24727 'same-frame-other-window instead of 'other-window when associating
24728 with display-buffer-macro-specifiers.
24729
24730 2011-06-21 Vincent BelaĂ¯che <vincent.b.1@hotmail.fr>
24731
24732 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
24733 New functions.
24734 (5x5-mode-map, 5x5-mode-menu): Bind them.
24735 (5x5-draw-grid): Tweak the solver's rendering.
24736
24737 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
24738
24739 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
24740 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
24741
24742 2011-06-21 Drew Adams <drew.adams@oracle.com>
24743
24744 * menu-bar.el: Use function variable instead of switch-to-buffer.
24745 (menu-bar-select-buffer-function): New variable.
24746 (menu-bar-update-buffers): Use it (bug#8876).
24747
24748 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
24749
24750 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
24751 variable's status.
24752
24753 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
24754
24755 * x-dnd.el (x-dnd-version-from-flags)
24756 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
24757 and long as number (Bug#8899).
24758 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
24759
24760 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
24761
24762 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
24763 (completion-try-completion, completion-all-completions): Compute the
24764 metadata argument if it's missing; make it optional (bug#8795).
24765
24766 * wid-edit.el: Use lex-bind and move towards completion-at-point.
24767 (widget-complete): Use new :completion-function property.
24768 (widget-completions-at-point): New function.
24769 (default): Use :completion-function instead of :complete.
24770 (widget-default-completions): Rename from widget-default-complete;
24771 Rewrite.
24772 (widget-string-complete, widget-file-complete, widget-color-complete):
24773 Remove functions.
24774 (file, symbol, function, variable, coding-system, color):
24775 * international/mule-cmds.el (default-input-method, charset)
24776 (language-info-custom-alist):
24777 * cus-edit.el (face): Use new property :completions.
24778
24779 * progmodes/pascal.el (pascal-completions-at-point): New function.
24780 (pascal-mode): Use it.
24781 (pascal-mode-map): Use completion-at-point.
24782 (pascal-toggle-completions): Make obsolete.
24783 (pascal-complete-word, pascal-show-completions):
24784 * progmodes/octave-mod.el (octave-complete-symbol):
24785 Redefine as obsolete alias.
24786 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
24787 Signal absence of completion info for old Octave,
24788 (inferior-octave-complete): Redefine as obsolete alias.
24789 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
24790 (meta-completions-at-point): Rename from meta-complete-symbol and
24791 adapt it for use on completion-at-point-functions.
24792 (meta-common-mode): Use it.
24793 (meta-looking-at-backward, meta-match-buffer): Remove.
24794 (meta-complete-symbol): Redefine as obsolete alias.
24795 (meta-common-mode-map): Use completion-at-point.
24796 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
24797 (makefile-mode-map): Use completion-at-point.
24798 (makefile-completions-at-point): Rename from makefile-complete and
24799 adapt it for use on completion-at-point-functions.
24800 (makefile-mode): Use it.
24801 (makefile-complete): Redefine as obsolete alias.
24802
24803 2011-06-20 Deniz Dogan <deniz@dogan.se>
24804
24805 * net/rcirc.el: Delete trailing whitespaces once and for all.
24806
24807 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
24808
24809 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
24810
24811 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
24812
24813 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
24814
24815 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
24816
24817 2011-06-19 Martin Rudalics <rudalics@gmx.at>
24818
24819 * window.el (display-buffer-other-window-means-other-frame):
24820 Call display-buffer-normalize-alist.
24821 (display-buffer-normalize-specifiers-1): Rename to
24822 display-buffer-normalize-argument. New argument other-frame.
24823 Rewrite.
24824 (display-buffer-normalize-specifiers-2): Rename to
24825 display-buffer-normalize-options.
24826 (display-buffer-normalize-alist-1): New function.
24827 (display-buffer-normalize-specifiers-3): Rename to
24828 display-buffer-normalize-alist.
24829 Call display-buffer-normalize-alist-1.
24830 (display-buffer-normalize-options-inhibit): New variable.
24831 (display-buffer-normalize-specifiers): Rewrite calling
24832 display-buffer-normalize-alist,
24833 display-buffer-normalize-argument, and
24834 display-buffer-normalize-options. Don't call the latter if
24835 display-buffer-normalize-options-inhibit is non-nil.
24836 (frame-auto-delete): New option.
24837 (window-deletable-p): Use frame-auto-delete.
24838 (window-list-no-nils, window-state-ignored-parameters)
24839 (window-state-get-1, window-state-get, window-state-put-list)
24840 (window-state-put-1, window-state-put-2, window-state-put):
24841 New functions.
24842 (display-buffer-normalize-options): Move special-display-p group
24843 after pop-up-frame group (Bug#8851) and (Bug#8856).
24844
24845 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
24846
24847 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
24848 groups (Bug#8776).
24849 (rx-submatch-n): New function.
24850 (rx): Document it.
24851
24852 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
24853 (Bug#8768).
24854
24855 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
24856
24857 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
24858
24859 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
24860 anytime existing face settings are present (Bug#8889).
24861
24862 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
24863 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
24864 Remove unused argument.
24865
24866 2011-06-18 Martin Rudalics <rudalics@gmx.at>
24867
24868 * window.el (display-buffer-default-specifiers):
24869 Remove pop-up-frame. Add pop-up-window-min-height,
24870 pop-up-window-min-width, and another reuse-window specifier
24871 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
24872 (display-buffer-normalize-specifiers-2):
24873 Handle split-height-threshold and split-width-threshold also when
24874 pop-up-windows is unset. Add a reuse-window specifier for the
24875 case popping up a new window fails.
24876 (special-display-popup-frame): Remove double quoting.
24877 (display-buffer-normalize-specifiers-1): Fix thinko.
24878
24879 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
24880
24881 * shell.el (shell-completion-vars): Set pcomplete-termination-string
24882 according to comint-completion-addsuffix.
24883
24884 * pcomplete.el: Convert to lexical binding and fix bug#8819.
24885 (pcomplete-suffix-list): Mark as obsolete.
24886 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
24887 pcomplete-seen in the closure.
24888 (pcomplete-comint-setup): Setup completion-at-point as well.
24889 (pcomplete--entries): New function.
24890 (pcomplete--env-regexp): New var.
24891 (pcomplete-entries): Rewrite to work with partial-completion and
24892 without relying on pcomplete-suffix-list.
24893 (pcomplete-pare-list): Remove, unused.
24894
24895 2011-06-17 Martin Rudalics <rudalics@gmx.at>
24896
24897 * window.el (display-buffer-alist): Set pop-up-window-min-height
24898 and pop-up-window-min-width in default value. Reported by
24899 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
24900 other-window-means-other-frame.
24901 (display-buffer-macro-specifiers): Comment out entry for
24902 other-window specifier.
24903 (display-buffer-other-window-means-other-frame): New function.
24904 (display-buffer-normalize-specifiers-1): New arguments
24905 buffer-name and label. Treat other-window case specially.
24906 (display-buffer-normalize-specifiers-2): Treat other-window case
24907 specially.
24908 (display-buffer-normalize-specifiers-3): New function.
24909 (display-buffer-normalize-specifiers):
24910 Call display-buffer-normalize-specifiers-3.
24911
24912 2011-06-17 Martin Rudalics <rudalics@gmx.at>
24913
24914 * window.el (same-window-p): Fix two typos introduced when
24915 adding with-no-warnings.
24916 (display-buffer-normalize-specifiers-1): Don't check
24917 pop-up-frames for 'unset initialization.
24918 (display-buffer-normalize-specifiers-2): Major rewrite using
24919 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
24920 (pop-up-frames, display-buffer-reuse-frames)
24921 (display-buffer-mark-dedicated): Don't initialize to 'unset.
24922 Suggested by David Engster <deng@randomsample.de>.
24923 (even-window-heights): Initialize to 'unset.
24924 (display-buffer-alist-set): Handle new 'unset initializations.
24925 (display-buffer-macro-specifiers): Don't pop up a new frame in the
24926 other window case.
24927
24928 2011-06-16 Martin Rudalics <rudalics@gmx.at>
24929
24930 * window.el (display-buffer-normalize-specifiers-1):
24931 Respect current value of pop-up-frames for most reasonable values of
24932 second argument of display-buffer (Bug#8865).
24933 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
24934 (switch-to-buffer-other-window-same-frame)
24935 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
24936 Adams (Bug#8875).
24937 (display-buffer): Don't check noninteractive when calling
24938 display-buffer-pop-up-frame.
24939 (display-buffer-pop-up-frame): Never pop up a frame in
24940 noninteractive mode (Bug#8857).
24941 (enlarge-window, shrink-window): Don't report an error when the
24942 window can't be resized as requested (Bug#8862).
24943
24944 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
24945
24946 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
24947
24948 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
24949
24950 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
24951
24952 2011-06-15 Alan Mackenzie <acm@muc.de>
24953
24954 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
24955 for declarators, disable knr checking to speed up for normal files.
24956 2: Refactor, replacing a sequence of nested if forms by a cond form.
24957
24958 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
24959
24960 * net/network-stream.el (open-network-stream): Add the keyword
24961 :always-query-capabilities for the case where you want to force a
24962 `plain' network connection, but the protocol still requires the
24963 capabilitiy command (i.e., SMTP and EHLO).
24964
24965 * subr.el (process-live-p): Rename from `process-alive-p' for
24966 consistency with other `-live-p' functions.
24967
24968 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
24969
24970 * window.el (same-window-buffer-names, same-window-regexps)
24971 (special-display-frame-alist, special-display-popup-frame)
24972 (special-display-function, special-display-buffer-names)
24973 (special-display-regexps, pop-up-frame-alist)
24974 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
24975 (pop-up-windows, split-window-preferred-function)
24976 (split-height-threshold, split-width-threshold, even-window-heights)
24977 (display-buffer-mark-dedicated): Don't encourage the use of
24978 display-buffer-alist from Elisp code.
24979
24980 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
24981
24982 * progmodes/python.el (python-mode): Derive from prog-mode.
24983 * progmodes/ps-mode.el (ps-mode):
24984 * progmodes/mixal-mode.el (mixal-mode):
24985 * progmodes/cfengine.el (cfengine-mode):
24986 * progmodes/ld-script.el (ld-script-mode): Likewise.
24987
24988 2011-06-15 Martin Rudalics <rudalics@gmx.at>
24989
24990 * window.el (display-buffer-alist): Trim default value to avoid
24991 popping up a new frame (Bug#8857) or reusing an arbitrary window
24992 on another frame.
24993 (display-buffer): Do not fall back on popping up a new frame in
24994 batch mode (Bug#8857).
24995
24996 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
24997
24998 * cus-theme.el (describe-theme-1): Use custom-theme-p.
24999 (custom-theme-summary): New function.
25000 (customize-themes): Use it.
25001
25002 2011-06-13 Glenn Morris <rgm@gnu.org>
25003
25004 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
25005
25006 2011-06-13 Martin Rudalics <rudalics@gmx.at>
25007
25008 * help.el (help-window): Remove variable.
25009 (help-window-point-marker, temp-buffer-max-height)
25010 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
25011 (help-print-return-message): Don't set help-window.
25012 (resize-temp-buffer-window): Rewrite cod eand doc-string.
25013 (help-window-setup-finish): Remove.
25014 (help-window-display-message, help-window-setup)
25015 (with-help-window): Major rewrite based on new
25016 display-buffer-window variable.
25017
25018 * help-mode.el (help-mode-finish): Remove help-window related
25019 code.
25020
25021 * view.el (view-exits-all-viewing-windows): Remove reference to
25022 view-return-to-alist in doc-string.
25023 (view-return-to-alist): Make obsolete.
25024 (view-buffer): Call pop-to-buffer-same-window and remove
25025 undo-window code.
25026 (view-buffer-other-window): Call pop-to-buffer-other-window and
25027 simplify code. Ignore second argument.
25028 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
25029 simplify code. Ignore second argument.
25030 (view-return-to-alist-update): Make obsolete.
25031 (view-mode-enter): Rename second argument to QUIT-RESTORE.
25032 Rewrite using quit-restore window parameters.
25033 (view-mode-exit): Rename second argument to EXIT-ONLY.
25034 Rewrite using quit-restore-window.
25035 (View-exit, View-exit-and-edit, View-leave, View-quit)
25036 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
25037 appropriate arguments.
25038 (view-end-message): Use quit-restore window parameter.
25039
25040 * window.el (display-buffer-function): Rewrite doc-string.
25041 (display-buffer-window, display-buffer-alist): New variables.
25042 (display-buffer-split-specifiers)
25043 (display-buffer-side-specifiers)
25044 (display-buffer-macro-specifiers): New constants.
25045 (display-buffer-even-window-sizes, display-buffer-set-height)
25046 (display-buffer-set-width, display-buffer-select-window)
25047 (display-buffer-in-window, display-buffer-reuse-window)
25048 (display-buffer-split-window-1, display-buffer-split-window)
25049 (display-buffer-split-atom-window, display-buffer-pop-up-window)
25050 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
25051 (display-buffer-in-side-window, normalize-buffer-to-display)
25052 (display-buffer-normalize-specifiers-1)
25053 (display-buffer-normalize-specifiers-2)
25054 (display-buffer-normalize-specifiers, display-buffer-frame):
25055 New functions.
25056 (display-buffer): Major rewrite.
25057 (display-buffer-other-window, display-buffer-other-frame)
25058 (pop-to-buffer, switch-to-buffer-other-window)
25059 (switch-to-buffer-other-frame): Rewrite.
25060 (display-buffer-same-window, display-buffer-same-frame)
25061 (display-buffer-same-frame-other-window)
25062 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
25063 (pop-to-buffer-other-window)
25064 (pop-to-buffer-same-frame-other-window)
25065 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
25066 (switch-to-buffer-other-window-same-frame): New functions.
25067 (same-window-p, special-display-p): Rewrite disabling warnings.
25068 Make obsolete.
25069 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
25070 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
25071 Make obsolete
25072 (same-window-buffer-names, same-window-regexps)
25073 (special-display-frame-alist, special-display-popup-frame)
25074 (special-display-function, special-display-buffer-names)
25075 (special-display-regexps, pop-up-frame-alist)
25076 (pop-up-frame-function, split-window-preferred-function)
25077 (split-height-threshold, split-width-threshold)
25078 (even-window-heights): Make obsolete.
25079
25080 2011-06-12 Glenn Morris <rgm@gnu.org>
25081
25082 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
25083 Misc simplifications.
25084
25085 2011-06-12 Martin Rudalics <rudalics@gmx.at>
25086
25087 * window.el (window-safely-shrinkable-p): Restore function which
25088 was inadvertently removed in change from 2011-06-11. Declare as
25089 obsolete.
25090
25091 * calendar/calendar.el (calendar-generate-window):
25092 Use window-iso-combined-p instead of combination of one-window-p and
25093 window-safely-shrinkable-p.
25094
25095 2011-06-12 Glenn Morris <rgm@gnu.org>
25096
25097 * progmodes/fortran.el (fortran-mode-syntax-table):
25098 * progmodes/f90.el (f90-mode-syntax-table):
25099 Set % to punctuation. (Bug#8820)
25100 (f90-find-tag-default): Remove, no longer needed.
25101
25102 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
25103
25104 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
25105
25106 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
25107
25108 * image.el (image-animated-p): Return animation delay in seconds.
25109 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
25110 (image-animate-timeout): Remove DELAY argument. Don't assume
25111 every subimage has the same delay; get it from image-animated-p.
25112 (image-animate): Caller changed.
25113
25114 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
25115
25116 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
25117 to ignored backtrace functions.
25118
25119 2011-06-11 Glenn Morris <rgm@gnu.org>
25120
25121 * calendar/appt.el (appt-disp-window-function): Doc fix.
25122 (appt-check): Handle overlapping appointments. (Bug#8337)
25123
25124 2011-06-11 Martin Rudalics <rudalics@gmx.at>
25125
25126 * window.el (window-tree-1, window-tree): New functions, moving
25127 the latter to window.el.
25128 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
25129 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
25130 (bw-refresh-edges): Remove.
25131 (balance-windows-1, balance-windows-2): New functions.
25132 (balance-windows): Rewrite in terms of window tree functions,
25133 balance-windows-1 and balance-windows-2.
25134 (bw-adjust-window): Remove.
25135 (balance-windows-area-adjust): New function with functionality of
25136 bw-adjust-window but using resize-window.
25137 (set-window-text-height): Rewrite doc-string.
25138 Use normalize-live-window and resize-window.
25139 (enlarge-window-horizontally, shrink-window-horizontally):
25140 Rename argument to DELTA.
25141 (window-buffer-height): New function.
25142 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
25143 Rewrite using new window resize routines.
25144 (kill-buffer-and-window, mouse-autoselect-window-select):
25145 Use ignore-errors instead of condition-case.
25146 (quit-window): Call delete-frame instead of delete-windows-on
25147 for the only buffer on frame.
25148
25149 2011-06-10 Martin Rudalics <rudalics@gmx.at>
25150
25151 * loadup.el (top-level): Load window before files for the sake
25152 of replace-buffer-in-windows.
25153
25154 * files.el (read-buffer-to-switch)
25155 (switch-to-buffer-other-window)
25156 (switch-to-buffer-other-frame, display-buffer-other-frame):
25157 Move to window.el.
25158
25159 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
25160 (previous-buffer): Move to window.el.
25161
25162 * bindings.el (unbury-buffer): Move to window.el.
25163
25164 * window.el (delete-other-windows-vertically): Move after
25165 definition of delete-other-windows.
25166 (other-window, delete-windows-on, replace-buffer-in-windows):
25167 Move here from window.c.
25168 (record-window-buffer, unrecord-window-buffer)
25169 (set-window-buffer-start-and-point, switch-to-prev-buffer)
25170 (switch-to-next-buffer): New functions.
25171 (get-next-valid-buffer, last-buffer, next-buffer): Move here
25172 from simple.el. Call switch-to-next-buffer.
25173 (previous-buffer): Move here from simple.el.
25174 Call switch-to-prev-buffer.
25175 (bury-buffer): Move here from buffer.c. Switch to previous
25176 buffer when window cannot be deleted.
25177 (unbury-buffer): Move here from bindings.el.
25178 (ctl-x-map): Move binding for other-window from window.c to
25179 here.
25180 (read-buffer-to-switch, switch-to-buffer-other-window)
25181 (switch-to-buffer-other-frame): Move here from files.el.
25182 (normalize-buffer-to-switch-to): New functions.
25183 (switch-to-buffer): Move here from buffer.c.
25184 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
25185
25186 2011-06-10 Martin Rudalics <rudalics@gmx.at>
25187
25188 * window.el (window-min-height, window-min-width): Move here
25189 from window.c. Add defcustoms and rewrite doc-strings.
25190 (resize-mini-window, resize-window): New functions.
25191 (adjust-window-trailing-edge, enlarge-window, shrink-window):
25192 Move here from window.c.
25193 (maximize-window, minimize-window): New functions.
25194 (delete-window, delete-other-windows, split-window): Move here
25195 from window.c.
25196 (window-split-min-size): New function.
25197 (split-window-keep-point): Mention split-window-above-each-other
25198 instead of split-window-vertically.
25199 (split-window-above-each-other, split-window-vertically):
25200 Rename split-window-vertically to split-window-above-each-other
25201 and provide defalias for old definition.
25202 (split-window-side-by-side, split-window-horizontally):
25203 Rename split-window-horizontally to split-window-side-by-side
25204 and provide defalias for the old definition.
25205 (ctl-x-map): Move bindings for delete-window,
25206 delete-other-windows and enlarge-window here from window.c.
25207 Replace bindings for split-window-vertically and
25208 split-window-horizontally by bindings for
25209 split-window-above-each-other and split-window-side-by-side.
25210
25211 * cus-start.el (all): Remove entries for window-min-height and
25212 window-min-width. Add entries for window-splits and
25213 window-nest.
25214
25215 2011-06-09 Glenn Morris <rgm@gnu.org>
25216
25217 * calendar/appt.el (appt-mode-line): New function.
25218 (appt-check, appt-disp-window): Use it.
25219
25220 * files.el (hack-one-local-variable-eval-safep):
25221 Allow minor-modes with explicit +/-1 arguments.
25222
25223 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
25224
25225 * term/xterm.el (xterm): Add defgroup.
25226 (xterm-extra-capabilities): Add defcustom to supply known xterm
25227 capabilities, skip querying them, or query them (default).
25228 (terminal-init-xterm): Use it.
25229 (terminal-init-xterm-modify-other-keys): New function to set up
25230 modifyOtherKeys support to simplify `terminal-init-xterm'.
25231
25232 2011-06-09 Martin Rudalics <rudalics@gmx.at>
25233
25234 * window.el (resize-window-reset, resize-window-reset-1)
25235 (resize-subwindows-skip-p, resize-subwindows-normal)
25236 (resize-subwindows, resize-other-windows, resize-this-window)
25237 (resize-root-window, resize-root-window-vertically)
25238 (window-deletable-p, window-or-subwindow-p)
25239 (frame-root-window-p): New functions.
25240
25241 2011-06-09 Glenn Morris <rgm@gnu.org>
25242
25243 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
25244 (ange-ftp-get-files): Use it.
25245
25246 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
25247
25248 * mail/sendmail.el (mail-recover-1, mail-recover):
25249 * files.el (recover-file, recover-session):
25250 Handle dired-listing-switches not being just a single short option.
25251
25252 2011-06-09 Glenn Morris <rgm@gnu.org>
25253
25254 * calendar/appt.el (appt-display-message, appt-disp-window):
25255 Handle lists of appointments.
25256
25257 2011-06-08 Martin Rudalics <rudalics@gmx.at>
25258
25259 * window.el (one-window-p): Move down in code.
25260 Rewrite doc-string.
25261 (window-current-scroll-bars): Rewrite doc-string.
25262 Normalize live window argument.
25263 (walk-windows, get-window-with-predicate, count-windows):
25264 Rewrite doc-string. Use window-list-1.
25265 (window-in-direction-2, window-in-direction, get-mru-window):
25266 New functions.
25267
25268 2011-06-08 Reuben Thomas <rrt@sc3d.org>
25269
25270 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
25271 Doc fix (Bug#8713).
25272
25273 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
25274
25275 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
25276
25277 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
25278
25279 * loadhist.el (unload-feature-special-hooks):
25280 Add `comint-output-filter-functions'.
25281
25282 2011-06-08 Ivan Kanis <gnu@kanis.fr>
25283
25284 * calendar/appt.el (appt-check): Move some initializations into the let.
25285
25286 2011-06-08 Martin Rudalics <rudalics@gmx.at>
25287
25288 * window.el (window-height): Defalias to window-total-height.
25289 (window-width): Defalias to window-body-width.
25290
25291 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
25292
25293 * image-mode.el (image-toggle-animation): New command.
25294 (image-mode-map): Bind it to RET.
25295 (image-mode): Update message.
25296 (image-toggle-display-image): Avoid a spurious cache flush.
25297 (image-transform-rotation): Doc fix.
25298 (image-transform-properties): Return quickly in the normal case.
25299 (image-animate-loop): Rename from image-animate-max-time.
25300
25301 * image.el (image-animate-max-time): Move to image-mode.el.
25302 (create-animated-image): Remove unnecessary function.
25303 (image-animate): Rename from image-animate-start. New arg.
25304 (image-animate-stop): Remove; just use image-animate-timer.
25305 (image-animate-timer): Use car-safe.
25306 (image-animate-timeout): Rename argument.
25307
25308 2011-06-07 Martin Rudalics <rudalics@gmx.at>
25309
25310 * window.el (get-lru-window, get-largest-window): Move here from
25311 window.c. Rename first argument to ALL-FRAMES.
25312 Rephrase doc-strings.
25313 (get-buffer-window-list): Rewrite using window-list-1.
25314 Rephrase doc-string.
25315 (window-safe-min-height, window-safe-min-width): New constants.
25316 (window-size-ignore, window-min-size, window-min-size-1)
25317 (window-sizable, window-sizable-p, window-size-fixed-1)
25318 (window-size-fixed-p, window-min-delta-1, window-min-delta)
25319 (window-max-delta-1, window-max-delta, window-resizable)
25320 (window-resizable-p, window-total-height, window-total-width)
25321 (window-body-width): New functions.
25322 (window-full-height-p, window-full-width-p): Rewrite using
25323 window-total-size.
25324 (window-body-height): Rewrite using window-body-size.
25325
25326 2011-06-06 Martin Rudalics <rudalics@gmx.at>
25327
25328 * window.el (window-right, window-left, window-child)
25329 (window-child-count, window-last-child, window-any-p)
25330 (normalize-live-buffer, normalize-live-frame)
25331 (normalize-any-window, normalize-live-window)
25332 (window-iso-combination-p, window-iso-combined-p)
25333 (window-iso-combinations)
25334 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
25335 (windows-with-parameter, window-with-parameter)
25336 (window-atom-root, make-window-atom, window-atom-check-1)
25337 (window-atom-check, window-side-check, window-check):
25338 New functions.
25339 (ignore-window-parameters, window-sides, window-sides-vertical)
25340 (window-sides-slots): New variables.
25341 (window-size-fixed): Move down in code. Minor doc-string fix.
25342
25343 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
25344
25345 * comint.el (comint-dynamic-complete-as-filename)
25346 (comint-dynamic-complete-filename): Correctly call
25347 completion-in-region.
25348
25349 2011-06-05 Deniz Dogan <deniz@dogan.se>
25350
25351 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
25352 in last change.
25353
25354 2011-06-05 Deniz Dogan <deniz@dogan.se>
25355
25356 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
25357 (rcirc): Use it to prompt for encryption.
25358
25359 2011-06-05 Roland Winkler <winkler@gnu.org>
25360
25361 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
25362 (bibtex-search-entries): New command bound to C-c C-a.
25363 (bibtex-display-entries): New function.
25364
25365 2011-06-05 Roland Winkler <winkler@gnu.org>
25366
25367 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
25368 (bibtex-insert-kill): After yanking insert newline if necessary.
25369 (bibtex-initialize): Call bibtex-string-files-init only once.
25370 (bibtex-mode): Do not call easy-menu-add.
25371 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
25372 (bibtex-yank): Set arg properly if nil.
25373
25374 2011-06-05 Roland Winkler <winkler@gnu.org>
25375
25376 * textmodes/bibtex.el (bibtex-search-entry-globally):
25377 New variable.
25378 (bibtex-search-entry): Use it.
25379
25380 2011-06-05 Roland Winkler <winkler@gnu.org>
25381
25382 * textmodes/bibtex.el (bibtex-entry-format): New option
25383 sort-fields.
25384 (bibtex-format-entry, bibtex-reformat): Honor this option.
25385 (bibtex-parse-entry): Return fields in proper order.
25386
25387 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
25388
25389 * doc-view.el (doc-view-remove-if): Move computation of result out
25390 of `dolist' to silence misleading lexical-binding warning.
25391
25392 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
25393
25394 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
25395 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
25396
25397 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
25398
25399 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
25400 "SunOS 5.10".
25401
25402 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
25403
25404 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
25405 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
25406 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
25407 (tramp-parse-putty):
25408 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
25409 (tramp-completion-function-alist-ssh)
25410 (tramp-completion-function-alist-telnet)
25411 (tramp-completion-function-alist-su)
25412 (tramp-completion-function-alist-putty): Set `tramp-autoload'
25413 cookie.
25414
25415 * net/tramp-ftp.el:
25416 * net/tramp-sh.el:
25417 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
25418 load "tramp.el" `tramp-set-completion-function'.
25419
25420 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
25421
25422 * shell.el: Require and use pcomplete.
25423 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
25424 (shell-completion-vars): Set pcomplete-default-completion-function.
25425
25426 2011-06-04 Deniz Dogan <deniz@dogan.se>
25427
25428 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
25429 `memq' (Bug#8799).
25430
25431 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
25432
25433 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
25434
25435 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
25436
25437 * bs.el (bs--mark-unmark, bs--nth-wrapper):
25438 * mpc.el (mpc-select-extend, mpc-songpointer-context):
25439 * vc/log-view.el (log-view-beginning-of-defun):
25440 * vc/smerge-mode.el (smerge-apply-resolution-patch)
25441 (smerge-refine-forward, smerge-refine-chopup-region):
25442 Silence warning for unused `dotimes' counter variables.
25443
25444 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
25445
25446 * net/tramp.el (tramp-with-progress-reporter): Rename from
25447 with-progress-reporter. Use `declare'.
25448 * net/tramp-smb.el:
25449 * net/tramp-sh.el:
25450 * net/tramp-gvfs.el: Update all uses.
25451
25452 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
25453
25454 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
25455 buffer isn't killed before making it current.
25456
25457 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
25458
25459 Silence various byte-compiler warnings.
25460 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
25461 `access-type' and new obsolescence format.
25462 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
25463 new format.
25464 (byte-compile-check-variable): New `access-type' argument.
25465 Only warn if the access-type is obsolete.
25466 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
25467 (byte-compile-variable-set): Adjust callers.
25468 * help-fns.el (describe-variable): Adjust to new obsolescence format.
25469 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
25470 setting it as obsolete.
25471 * simple.el (minibuffer-completing-symbol):
25472 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
25473 access as obsolete.
25474 * minibuffer.el (minibuffer-completing-file-name): Don't make it
25475 obsolete yet.
25476 * international/quail.el (quail-mouse-choose-completion): Remove unused
25477 code referring to obsolete var.
25478 (quail-choose-completion-string): Remove.
25479 * server.el (server-clients-with, server-kill-buffer-query-function)
25480 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
25481 * proced.el (proced-send-signal):
25482 * emacs-lisp/lisp.el (lisp-complete-symbol):
25483 Replace completion-annotate-function with completion-extra-properties.
25484
25485 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
25486
25487 * simple.el (goto-line): Use read-number.
25488 (overriding-map-is-bound): Remove.
25489 (saved-overriding-map): Change default.
25490 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
25491 Take the map as argument.
25492 (universal-argument, negative-argument, digit-argument): Use it.
25493 (restore-overriding-map): Adjust.
25494 (do-auto-fill): Use fill-forward-paragraph.
25495 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
25496
25497 * minibuffer.el (minibuffer-inactive-mode-map): New var.
25498 (minibuffer-inactive-mode): New major mode.
25499 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
25500 the *Messages* buffer" hack.
25501 (mouse-popup-menubar): Don't burp if the event is a normal key.
25502
25503 Miscellaneous tweaks.
25504 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
25505 lexical scoping as in subr.el's dolist and dotimes.
25506 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
25507 Silence compiler warning.
25508 * thingatpt.el (forward-whitespace): Trivial coding style fix.
25509 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
25510 * international/ccl.el (ccl-compile): Trivial simplification.
25511 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
25512 * emacs-lisp/testcover.el (testcover-end): Remove spurious
25513 `printflag' argument.
25514 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
25515 Purecopy the whole obsolescence data.
25516
25517 2011-06-01 Leo Liu <sdl.web@gmail.com>
25518
25519 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
25520 improve doc-string as suggested by Marco Pessotto
25521 <melmothx@gmail.com>.
25522 (rcirc-print): Fix last change.
25523
25524 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
25525
25526 * minibuffer.el (complete-with-action): Return nil for the metadata and
25527 boundaries of non-functional tables.
25528 (completion-table-dynamic): Return nil for the metadata.
25529 (completion-table-with-terminator): Add default case, using
25530 complete-with-action.
25531 (completion--metadata): New function.
25532 (completion-all-sorted-completions, minibuffer-completion-help): Use it
25533 to try and avoid pathological performance problems.
25534 (completion--embedded-envvar-table): Return `category' metadata.
25535
25536 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
25537
25538 * subr.el (process-alive-p): New tiny convenience function.
25539
25540 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
25541
25542 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
25543 content but also its previous major mode.
25544
25545 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
25546
25547 * emacs-lisp/debug.el (debug): Restore the previous content of the
25548 *Backtrace* buffer when we exit with C-M-c.
25549
25550 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
25551
25552 * minibuffer.el: Add metadata method to completion tables.
25553 (completion-category-overrides): New defcustom.
25554 (completion-metadata, completion--field-metadata)
25555 (completion-metadata-get, completion--styles)
25556 (completion--cycle-threshold): New functions.
25557 (completion-try-completion, completion-all-completions):
25558 Add `metadata' argument to choose completion-styles.
25559 (completion--do-completion): Use metadata to choose cycling.
25560 (completion-all-sorted-completions): Use metadata for sorting.
25561 Remove :completion-cycle-penalty which is not needed any more.
25562 (completion--try-word-completion): Add `metadata' argument.
25563 (minibuffer-completion-help): Check metadata for annotation function
25564 and sorting.
25565 (completion-file-name-table): Return `category' metadata.
25566 (minibuffer-completing-file-name): Make obsolete.
25567 * simple.el (minibuffer-completing-symbol): Make obsolete.
25568 * icomplete.el (icomplete-completions): Pass new `metadata' param to
25569 completion-try-completion.
25570
25571 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
25572
25573 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
25574
25575 2011-05-30 Leo Liu <sdl.web@gmail.com>
25576
25577 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
25578 (rcirc-print): Decode all incoming messages (bug#8744).
25579 (rcirc-decode-coding-system): Allow value nil for automatic coding
25580 system detection.
25581
25582 2011-06-01 Glenn Morris <rgm@gnu.org>
25583
25584 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
25585
25586 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
25587
25588 * image.el (image-animate-max-time): Allow nil and t values.
25589 Default to nil.
25590 (create-animated-image): Doc fix.
25591 (image-animate-start): Remove second arg; just use
25592 image-animate-max-time.
25593 (image-animate-timeout): Doc fix. Args changed.
25594
25595 * image-mode.el (image-toggle-display-image): Ensure that the
25596 image spec passed to the animate timer is the same object as in
25597 the buffer's display property (Bug#6981).
25598 (image-transform-properties): Doc fix.
25599
25600 * image.el (image-animate-max-time): Default to nil.
25601
25602 2011-05-29 Martin Rudalics <rudalics@gmx.at>
25603
25604 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
25605 entire buffer list (Bug#8184).
25606
25607 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
25608
25609 * image.el (imagemagick-types-inhibit)
25610 (imagemagick-register-types): Doc fix.
25611
25612 2011-05-29 Deniz Dogan <deniz@dogan.se>
25613
25614 * net/rcirc.el (rcirc): Use the user's stored encryption method by
25615 default.
25616
25617 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
25618
25619 * select.el: Don't perform clipboard-manager saving in hooks;
25620 leave the hooks empty.
25621
25622 2011-05-28 Leo Liu <sdl.web@gmail.com>
25623
25624 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
25625 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
25626 (occur-edit-mode): New major mode (Bug#8463).
25627 (occur-after-change-function): New function.
25628 (occur-engine): Give Occur tags a read-only property.
25629
25630 2011-05-28 Kevin Ryde <user42@zip.com.au>
25631
25632 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
25633
25634 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
25635
25636 * bindings.el (help-echo): Make the initial non-indicator dash
25637 empty on graphical terminals (Bug#7295).
25638
25639 * files.el (auto-mode-alist): Move config rule after the
25640 in-stripping one (Bug#8547).
25641
25642 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
25643
25644 * startup.el (normal-splash-screen): Remove gratuitous mode-line
25645 setting (Bug#8740).
25646
25647 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
25648
25649 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
25650 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
25651 (Bug#8539).
25652
25653 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
25654
25655 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
25656
25657 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
25658
25659 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
25660 (hs-hide-block-at-point, hs-find-block-beginning)
25661 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
25662 (Bug#8279).
25663
25664 2011-05-28 Glenn Morris <rgm@gnu.org>
25665
25666 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
25667
25668 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
25669
25670 * help-fns.el (describe-function-1): If the function is a derived
25671 major mode, print the parent mode.
25672
25673 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
25674 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
25675
25676 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
25677
25678 * minibuffer.el (completion--capf-wrapper): Check applicability before
25679 returning non-nil for non-exclusive completion data.
25680 * progmodes/etags.el (tags-completion-at-point-function):
25681 * info-look.el (info-lookup-completions-at-point): Mark as
25682 non-exclusive.
25683 (info-complete): Adjust accordingly.
25684
25685 * info-look.el: Convert to lexical-binding and completion-at-point.
25686 (info-lookup-completions-at-point): New function.
25687 (info-complete): Use it and completion-in-region.
25688
25689 2011-05-28 Drew Adams <drew.adams@oracle.com>
25690
25691 * isearch.el: Let M-e start with point at the first mismatched char.
25692 (isearch-fail-pos): New function.
25693 (isearch-edit-string): Use it.
25694
25695 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
25696
25697 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
25698
25699 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
25700
25701 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
25702 traversal functions for avl-trees.
25703 (avl-tree--stack): New struct.
25704 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
25705 (avl-tree-enter): Add optional `updatefun' arg.
25706 (avl-tree--do-enter): Add optional `updatefun' arg.
25707 Change return value.
25708 (avl-tree-delete): Add optional `test' and `nilflag' args.
25709 (avl-tree--do-delete): Add `test' and `nilflag' args.
25710 Change return value.
25711 (avl-tree-member): Add optional `nilflag'
25712 (avl-tree-member-p): New function.
25713 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
25714 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
25715 (avl-tree-stack-empty-p): New functions.
25716
25717 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
25718 avl-tree--del-balance1 and make it work both ways.
25719 (avl-tree--del-balance2): Remove.
25720 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
25721 make it work both ways.
25722 (avl-tree--enter-balance2): Remove.
25723 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
25724 New macros.
25725 (avl-tree--mapc, avl-tree-map): Add direction argument.
25726
25727 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
25728
25729 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
25730
25731 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
25732
25733 * select.el: Support clipboard managers with built-in function
25734 x-clipboard-manager-save, via delete-frame-functions and
25735 kill-emacs-hook.
25736 (xselect-convert-to-targets): Add MULTIPLE target to list.
25737 (xselect-convert-to-save-targets): New function.
25738
25739 2011-05-27 Kenichi Handa <handa@m17n.org>
25740
25741 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
25742 let-binding rfc2047-encode-encoded-words to nil.
25743
25744 2011-05-27 Glenn Morris <rgm@gnu.org>
25745
25746 * mail/emacsbug.el: Don't require url-util.
25747
25748 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
25749
25750 * files.el (set-auto-mode):
25751 Also respect mode: entries at the end of the file. (Bug#8586)
25752
25753 2011-05-26 Glenn Morris <rgm@gnu.org>
25754
25755 * files.el (hack-local-variables-prop-line, hack-local-variables):
25756 Downcase mode names, as seems to be traditional.
25757 (hack-local-variables, hack-local-variables-apply): Doc fixes.
25758
25759 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
25760 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
25761
25762 2011-05-25 Julien Danjou <julien@danjou.info>
25763
25764 * textmodes/rst.el (rst-define-level-faces): Do not define face
25765 symbol if it is already defined.
25766
25767 2011-05-24 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
25768
25769 * play/5x5.el (5x5-new-game, 5x5-randomize):
25770 Reset 5x5-solver-output to nil when a new grid is cast.
25771 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
25772 these debugging traces, as defmacro breaks the compiled code.
25773
25774 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
25775
25776 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
25777
25778 2011-05-24 Leo Liu <sdl.web@gmail.com>
25779
25780 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
25781 (vc-bzr-sha1): Adapt.
25782
25783 * sha1.el: Remove. Function `sha1' is now builtin.
25784
25785 * bindings.el: Provide sha1 feature.
25786
25787 2011-05-24 Kenichi Handa <handa@m17n.org>
25788
25789 * mail/sendmail.el: Require `rfc2047'.
25790 (mail-insert-from-field): Do not perform RFC2047 encoding.
25791 (mail-encode-header): New function.
25792 (sendmail-send-it): Set buffer-file-coding-system of the work
25793 buffer to the return value of select-message-coding-system.
25794 Call mail-encode-header.
25795
25796 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
25797
25798 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
25799
25800 * mail/supercite.el (sc-default-cite-frame):
25801 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
25802
25803 2011-05-24 Glenn Morris <rgm@gnu.org>
25804
25805 * progmodes/python.el (brm-menu): Declare.
25806
25807 * emulation/viper.el (viper-set-hooks): Declare.
25808
25809 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
25810 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
25811 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
25812 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
25813 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
25814 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
25815
25816 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
25817
25818 Add an :exit-function for completion-at-point.
25819
25820 * minibuffer.el (completion--done): New fun.
25821 (completion--do-completion): Use it. New arg `expect-exact'.
25822 (minibuffer-complete, minibuffer-complete-word): Don't output message,
25823 since completion--do-completion does it for us now.
25824 (minibuffer-force-complete): Use completion--done and
25825 completion--replace. Handle sole-completion case with more care.
25826 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
25827 (completion-extra-properties): New var.
25828 (completion-annotate-function): Make obsolete.
25829 (minibuffer-completion-help): Adjust accordingly.
25830 Use completion-list-insert-choice-function.
25831 (completion-at-point, completion-help-at-point):
25832 Bind completion-extra-properties.
25833 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
25834 * simple.el (completion-list-insert-choice-function): New var.
25835 (completion-setup-function): Preserve it.
25836 (choose-completion): Pay attention to it, shuffle the code a bit.
25837 (choose-completion-string): New arg `insert-function'.
25838
25839 * textmodes/bibtex.el: Convert to lexical binding.
25840 (bibtex-mode-map): Use completion-at-point.
25841 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
25842 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
25843 (bibtex-complete): Define as obsolete alias.
25844 (bibtex-complete-internal): Remove.
25845 (bibtex-format-entry): Remove unused sub-group in regexp.
25846 * shell.el (shell--command-completion-data)
25847 (shell-environment-variable-completion):
25848 * pcomplete.el (pcomplete-completions-at-point):
25849 * comint.el (comint--complete-file-name-data): Use :exit-function
25850 instead of completion-table-with-terminator so it also works for
25851 choose-completion.
25852
25853 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
25854
25855 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
25856
25857 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
25858 (bug#8710).
25859
25860 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
25861
25862 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
25863
25864 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
25865 customization variable and implement: If non-nil, auto-fill will
25866 be inhibited while on topic's header line.
25867
25868 2011-05-23 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
25869
25870 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
25871 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
25872 always have a solution in grid size = 5 cases.
25873 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
25874 (5x5-solver-output, 5x5-log-buffer): New vars.
25875 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
25876 Make these variables buffer local to achieve 5x5 multi-session-ness.
25877 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
25878 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
25879 (5x5-solve-suggest): New funs.
25880 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
25881 randomize a grid so that we ensure that there is always a solution.
25882 (5x5-make-random-grid): Allow other movement than flipping.
25883
25884 2011-05-23 Kevin Ryde <user42@zip.com.au>
25885
25886 * emacs-lisp/advice.el (ad-read-advised-function):
25887 Use `function-called-at-point' as the default, if it has
25888 advice and passes PREDICATE.
25889
25890 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
25891
25892 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
25893 byte-compile-lambda if it's actually a lambda.
25894
25895 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
25896 Fix function quoting. Use backquote better.
25897
25898 2011-05-22 Yuanle Song <sylecn@gmail.com>
25899
25900 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
25901 matching (Bug#8516).
25902
25903 2011-05-22 Jari Aalto <jari.aalto@cante.net>
25904
25905 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
25906 different face (Bug#8178).
25907
25908 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
25909
25910 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
25911 defface (Bug#8144).
25912
25913 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
25914
25915 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
25916 funcall as well (bug#8712). Warn when performing those conversions.
25917 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
25918
25919 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
25920
25921 2011-05-22 Glenn Morris <rgm@gnu.org>
25922
25923 * files.el (hack-local-variables-prop-line): Small simplifications.
25924 (hack-local-variables, hack-local-variables-prop-line):
25925 If MODE-ONLY, return the mode, rather than just `t'.
25926
25927 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
25928
25929 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
25930
25931 2011-05-21 Glenn Morris <rgm@gnu.org>
25932
25933 * files.el (hack-local-variables-prop-line, hack-local-variables):
25934 If only interested in the mode, don't bother doing the other stuff.
25935
25936 * image-mode.el (image-after-revert-hook):
25937 Redraw all frames on which the image is visible. (Bug#8567)
25938
25939 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
25940
25941 * wid-edit.el (widget-checklist-match-inline):
25942 Fix 2011-04-19 change. (Bug#8649)
25943
25944 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
25945
25946 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
25947 Also allow singlespace after single-letter capitals followed by a dot.
25948
25949 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
25950 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
25951
25952 2011-05-20 Nix <nix@esperi.org.uk>
25953
25954 * files.el (basic-save-buffer-2):
25955 Fix handling of break-hardlink-on-save with non-existent files.
25956
25957 2011-05-19 Deniz Dogan <deniz@dogan.se>
25958
25959 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
25960 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
25961
25962 2011-05-19 Glenn Morris <rgm@gnu.org>
25963
25964 * progmodes/f90.el (f90-type-def-re):
25965 Handle "type, bind(c)". (Bug#8691)
25966
25967 * emacs-lisp/autoload.el (batch-update-autoloads):
25968 Set autoload-excludes by parsing loadup.el rather than Makefiles.
25969
25970 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
25971
25972 * net/tramp.el (tramp-process-actions): Set "first-password-request"
25973 property for the correct connection in case of multihops.
25974
25975 2011-05-18 Glenn Morris <rgm@gnu.org>
25976
25977 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
25978 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
25979
25980 Rationalize calendar handling of day and month abbrev-arrays.
25981 * calendar/calendar.el (calendar-customized-p): New function.
25982 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
25983 (calendar-day-name-array, calendar-month-name-array): Doc fix.
25984 Add :set function.
25985 (calendar-abbrev-length, calendar-day-abbrev-array)
25986 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
25987 (calendar-day-abbrev-array, calendar-month-abbrev-array):
25988 Elements may no longer be nil.
25989 (calendar-day-name, calendar-month-name):
25990 Update for changed nature of abbrev arrays.
25991 * calendar/diary-lib.el (diary-name-pattern):
25992 Update for changed nature of abbrev arrays.
25993 (diary-mark-entries-1): Update calendar-make-alist calls.
25994 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
25995 * calendar/cal-html.el (cal-html-day-abbrev-array):
25996 Simply inherit from calendar-day-abbrev-array.
25997
25998 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
25999
26000 * progmodes/grep.el (grep-mode): Disable default
26001 compilation-directory-matcher setting (bug#8684).
26002
26003 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
26004
26005 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
26006 instead of "head" and "tail". There were problems with SunOS 5.9,
26007 and it performs better.
26008
26009 2011-05-17 Glenn Morris <rgm@gnu.org>
26010
26011 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
26012
26013 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
26014 Replace obsolete function.
26015
26016 * shell.el (pcomplete-parse-arguments-function): Declare.
26017
26018 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
26019 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
26020 (appt-check): Doc fixes.
26021 (appt-disp-window-function, appt-delete-window-function):
26022 Remove needless special case in custom :type.
26023 (appt-display-count): Default to 0, not nil.
26024 (appt-check): Reset appt-display-count to 0, not nil.
26025
26026 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
26027
26028 * progmodes/python.el (python-font-lock-keywords):
26029 Add the Python 3.X keyword "nonlocal" (bug#8639).
26030
26031 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
26032
26033 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
26034
26035 2011-05-16 Kevin Ryde <user42@zip.com.au>
26036
26037 * info-look.el (makefile-automake-mode): New setups, looking in
26038 automake manual, then makefile-mode.
26039 (makefile-mode): Remove automake manual, have it just in
26040 makefile-automake-mode since there's various things different or
26041 not relevant to plain make.
26042 (makefile-mode): Remove "other-modes" non-existent automake-mode,
26043 believe a hypothetical automake-mode would go to makefile-mode,
26044 not the other way around.
26045
26046 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
26047
26048 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
26049 hunk-end tags (Bug#8672).
26050
26051 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
26052 vc-annotate-show-diff-revision-at-line (Bug#8671).
26053
26054 2011-05-14 Glenn Morris <rgm@gnu.org>
26055
26056 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
26057 in the middle of an existing one with multiple authors. (Bug#8645)
26058 (change-log-font-lock-keywords): Also handle multiple author lines
26059 with leading tabs. (Bug#8644)
26060
26061 * calendar/appt.el (appt-check): Rename some local variables.
26062 Some simplification/reordering.
26063
26064 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
26065 (feedmail-sendmail-f-doesnt-sell-me-out)
26066 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
26067 (feedmail-debug-sit-for, feedmail-queue-express-hook)
26068 (feedmail-queue-runner-message-sender): Set :version.
26069 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
26070 (bbdb-dwim-net-address, vm-mail): Declare.
26071 (feedmail-binmail-gnulinuxish-template):
26072 Rename from feedmail-binmail-linuxish-template.
26073 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
26074 Use insert-buffer-substring.
26075
26076 2011-05-14 Bill Carpenter <bill@carpenter.org>
26077
26078 * mail/feedmail.el (feedmail-patch-level): Increase.
26079 (feedmail-debug): New custom group.
26080 (feedmail-confirm-outgoing-timeout)
26081 (feedmail-sendmail-f-doesnt-sell-me-out)
26082 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
26083 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
26084 (feedmail-sender-line, feedmail-from-line)
26085 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
26086 (feedmail-spray-this-address)
26087 (feedmail-spray-address-fiddle-plex-list)
26088 (feedmail-queue-use-send-time-for-date)
26089 (feedmail-queue-use-send-time-for-message-id)
26090 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
26091 (feedmail-buffer-eating-function):
26092 Doc fixes.
26093 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
26094 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
26095 (feedmail-message-action-scroll-down): New functions.
26096 (feedmail-queue-directory, feedmail-queue-draft-directory):
26097 Use expand-file-name.
26098 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
26099 Remove C-v help entry.
26100 (feedmail-queue-buffer-file-name): New variable.
26101 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
26102 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
26103 (feedmail-message-action-send-strong, feedmail-message-action-edit)
26104 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
26105 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
26106 (feedmail-message-action-toggle-spray)
26107 (feedmail-run-the-queue-no-prompts)
26108 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
26109 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
26110 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
26111 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
26112 (feedmail-envelope-deducer, feedmail-fiddle-from)
26113 (feedmail-fiddle-sender, feedmail-default-date-generator)
26114 (feedmail-fiddle-date, feedmail-fiddle-message-id)
26115 (feedmail-fiddle-spray-address)
26116 (feedmail-fiddle-list-of-spray-fiddle-plexes)
26117 (feedmail-fiddle-list-of-fiddle-plexes)
26118 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
26119 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
26120 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
26121 Change default. Doc fix.
26122 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
26123 (feedmail-binmail-linuxish-template): New constant.
26124 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
26125 Respect feedmail-sendmail-f-doesnt-sell-me-out.
26126 (feedmail-send-it): Add debug call.
26127 Use feedmail-queue-buffer-file-name, and
26128 feedmail-send-it-immediately-wrapper.
26129 (feedmail-message-action-send): Add debug call.
26130 Use feedmail-send-it-immediately-wrapper.
26131 (feedmail-queue-express-to-queue): Add debug call.
26132 Run feedmail-queue-express-hook.
26133 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
26134 (feedmail-message-action-help-blat):
26135 Rename from feedmail-queue-send-edit-prompt-help-first.
26136 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
26137 Check line-endings. Handle errors better.
26138 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
26139 Doc fix. Add debug call.
26140 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
26141 Use feedmail-queue-send-edit-prompt-inner.
26142 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
26143 (feedmail-queue-send-edit-prompt-inner): New function, extracted
26144 from feedmail-queue-send-edit-prompt.
26145 (feedmail-queue-send-edit-prompt-help)
26146 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
26147 (feedmail-tidy-up-slug): Add debug call.
26148 Respect feedmail-queue-slug-suspect-regexp.
26149 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
26150 (feedmail-dump-message-to-queue): Add debug call.
26151 Expand queue-directory.
26152 (feedmail-dump-message-to-queue): Change message slightly.
26153 Use feedmail-say-chatter.
26154 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
26155 (feedmail-send-it-immediately-wrapper): New function.
26156 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
26157 Insert empty string rather than newline. Handle full-frame case.
26158 Use catch/throw. Use feedmail-say-chatter.
26159 (feedmail-fiddle-from): Try mail-host-address.
26160 (feedmail-default-message-id-generator): Doc fix.
26161 Bind system-time-locale. Handle missing end.
26162 (feedmail-fiddle-x-mailer): Add debug call.
26163 Handle feedmail-x-mailer-line being nil.
26164 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
26165 Add debug call. Use buffer-substring-no-properties.
26166 (feedmail-say-debug, feedmail-say-chatter): New functions.
26167 (feedmail-find-eoh): Give an explicit error.
26168
26169 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
26170
26171 * net/newst-treeview.el (newsticker-treeview-face): Change default
26172 family from helvetica to sans.
26173 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
26174 etc/images/newsticker.
26175
26176 * net/newst-reader.el (newsticker-feed-face): Change default
26177 family from helvetica to sans.
26178
26179 * net/newst-plainview.el (newsticker-new-item-face)
26180 (newsticker-old-item-face, newsticker-immortal-item-face)
26181 (newsticker-obsolete-item-face, newsticker-date-face)
26182 (newsticker-statistics-face): Change default family from
26183 helvetica to sans.
26184 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
26185 etc/images/newsticker.
26186
26187 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
26188 (newsticker--process-auto-mark-filter-match): Tell user about
26189 auto-marking.
26190
26191 2011-05-13 Didier Verna <didier@xemacs.org>
26192
26193 Common Lisp indentation improvements on defmethod and lambda-lists.
26194 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
26195 TODO entries.
26196 (lisp-lambda-list-keyword-parameter-indentation)
26197 (lisp-lambda-list-keyword-parameter-alignment)
26198 (lisp-lambda-list-keyword-alignment): New customizable user options.
26199 (lisp-indent-defun-method): Improve docstring.
26200 (extended-loop-p): Fix comment.
26201 (lisp-indent-lambda-list-keywords-regexp): New variable.
26202 (lisp-indent-lambda-list): New function.
26203 (lisp-indent-259): Use it.
26204 (lisp-indent-defmethod): Support for more than one
26205 method qualifier and properly indent methods lambda-lists.
26206 (defgeneric): Provide a missing common-lisp-indent-function property.
26207
26208 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
26209
26210 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
26211 bounds for the empty string (bug#8667).
26212
26213 2011-05-13 Glenn Morris <rgm@gnu.org>
26214
26215 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
26216
26217 * mail/sendmail.el (sendmail-program): Try executable-find first.
26218 (sendmail-send-it): `sendmail-program' cannot be unbound.
26219
26220 * calendar/appt.el (appt-make-list): Simplify.
26221 (appt-time-msg-list): Doc fix.
26222 (appt-check): Change mode-line message at the time of the appointment.
26223
26224 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
26225
26226 * progmodes/ld-script.el (ld-script-keywords)
26227 (ld-script-builtins): Update keywords list.
26228
26229 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
26230
26231 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
26232
26233 * shell.el (shell-completion-vars): New function.
26234 (shell-mode):
26235 * simple.el (read-shell-command): Use it.
26236 (blink-matching-open): No need for " [...]" in minibuffer-message.
26237
26238 2011-05-12 Glenn Morris <rgm@gnu.org>
26239
26240 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
26241 (appt-check): Simplify.
26242
26243 2011-05-12 Eli Zaretskii <eliz@gnu.org>
26244
26245 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
26246 literal "/dev/null".
26247
26248 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
26249
26250 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
26251 Fix typo.
26252
26253 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
26254
26255 * progmodes/which-func.el (which-function):
26256 Use add-log-current-defun instead of add-log-current-defun-function,
26257 which might not be defined (Bug#8260).
26258
26259 2011-05-12 Glenn Morris <rgm@gnu.org>
26260
26261 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
26262 Let byte-compile-initial-macro-environment always take precedence.
26263
26264 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
26265
26266 * net/rcirc.el: Add support for SSL/TLS connections.
26267 (rcirc-server-alist): New field `encryption'.
26268 (rcirc): Check `encryption' settings.
26269 (rcirc-connect): New arg `encryption'. Use open-network-stream.
26270 Merge make-local-variable into `set'.
26271 (rcirc--connection-open-p): New function.
26272 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
26273 the process is not a network process (e.g. running gnutls-cli).
26274 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
26275 Make rcirc-(en|de)code-coding-system local here.
26276 (rcirc-mode): Merge make-local-variable into `set'.
26277 (rcirc-parent-buffer): Make permanent buffer-local.
26278 (rcirc-multiline-minor-mode): Don't do it here.
26279 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
26280 there's no server buffer.
26281
26282 2011-05-11 Glenn Morris <rgm@gnu.org>
26283
26284 * newcomment.el (comment-kill): Prefix "unused" local.
26285
26286 * term/w32console.el (get-screen-color): Declare.
26287
26288 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
26289 Handle symbol elements of byte-compile-initial-macro-environment.
26290
26291 2011-05-10 Leo Liu <sdl.web@gmail.com>
26292
26293 * bookmark.el (bookmark-bmenu-mode-map):
26294 Bind bookmark-bmenu-search to `/'.
26295
26296 * mail/footnote.el: Convert to utf-8 encoding.
26297 (footnote-unicode-string, footnote-unicode-regexp): New variable.
26298 (Footnote-unicode): New function.
26299 (footnote-style-alist): Add unicode style to the list.
26300 (footnote-style): Doc fix.
26301
26302 2011-05-10 Jim Meyering <meyering@redhat.com>
26303
26304 Fix doubled-word typos.
26305 * international/quail.el (quail-insert-kbd-layout): and and -> and.
26306 * kermit.el: and and -> and.
26307 * net/ldap.el (ldap-search-internal): to to -> to.
26308 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
26309 * progmodes/js.el (js-mode): and and -> and.
26310 * textmodes/artist.el (artist-move-to-xy): at at -> at.
26311 (artist-draw-region-trim-line-endings): if if -> if.
26312 And Safetyc -> Safety.
26313 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a.
26314
26315 2011-05-10 Glenn Morris <rgm@gnu.org>
26316 Stefan Monnier <monnier@iro.umontreal.ca>
26317
26318 * files.el (hack-one-local-variable-eval-safep):
26319 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
26320
26321 2011-05-10 Glenn Morris <rgm@gnu.org>
26322
26323 * calendar/diary-lib.el (diary-list-entries-hook)
26324 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
26325 (diary-nongregorian-marking-hook, diary-list-entries)
26326 (diary-include-other-diary-files, diary-mark-entries)
26327 (diary-mark-included-diary-files): Doc fixes.
26328
26329 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
26330
26331 * misc.el: Require tabulated-list.el during compilation.
26332
26333 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
26334
26335 * progmodes/compile.el (compilation-start):
26336 Run compilation-filter-hook for the async case too.
26337 (compilation-filter-hook): Doc fix.
26338
26339 2011-05-09 Deniz Dogan <deniz@dogan.se>
26340
26341 * wdired.el: Remove outdated installation comment. Fix usage
26342 comment.
26343
26344 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
26345
26346 * misc.el: Implement new command `list-dynamic-libraries'.
26347 (list-dynamic-libraries--loaded-only-p): New variable.
26348 (list-dynamic-libraries--refresh): New function.
26349 (list-dynamic-libraries): New command.
26350
26351 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
26352
26353 * progmodes/compile.el (compilation-error-regexp-alist-alist):
26354 Fix the ant regexp to handle end-line and end-column info from jikes.
26355 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
26356 higher priority to avoid clobbering by gnu.
26357
26358 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
26359
26360 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
26361 if the face has existing theme settings (Bug#8454).
26362
26363 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
26364
26365 * progmodes/perl-mode.el (perl-imenu-generic-expression):
26366 Only match variables declared via `my' or `our' (Bug#8261).
26367
26368 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
26369 special file names `.' and `..' (Bug#8259).
26370
26371 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
26372
26373 * progmodes/grep.el (grep-mode-font-lock-keywords):
26374 Remove buffer-changing entries.
26375 (grep-filter): New function.
26376 (grep-mode): Add it to compilation-filter-hook.
26377
26378 * progmodes/compile.el (compilation-filter-hook)
26379 (compilation-filter-start): New defvars.
26380 (compilation-filter): Call compilation-filter-hook prior to
26381 updating the process mark.
26382
26383 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
26384
26385 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
26386
26387 2011-05-07 Eli Zaretskii <eliz@gnu.org>
26388
26389 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
26390 mailclient-send-it even if window-system is nil. (Bug#8595)
26391
26392 * term/w32console.el (terminal-init-w32console):
26393 Call get-screen-color and use its output to set the frame
26394 background-mode. (Bug#8597)
26395
26396 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
26397
26398 Make bytecomp.el understand that defmethod defines funs (bug#8631).
26399 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
26400 New functions.
26401 (defgeneric, eieio--defmethod): Use them.
26402 (eieio-defgeneric): Remove.
26403 (defmethod): Call defgeneric in a way visible to the byte-compiler.
26404
26405 2011-05-07 Glenn Morris <rgm@gnu.org>
26406
26407 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
26408 Use let rather than let*.
26409 (timeclock-find-discrep): Remove unused local.
26410
26411 * calendar/diary-lib.el (diary-comment-start): Doc fix.
26412
26413 * calendar/appt.el (appt-time-msg-list): Doc fix.
26414
26415 2011-05-06 Noah Friedman <friedman@splode.com>
26416
26417 * apropos.el (apropos-print-doc): Only use
26418 emacs-lisp-docstring-fill-column when it is bound to an integer,
26419 per that variable's documentation.
26420
26421 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
26422
26423 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
26424 and warnings are not silently discarded (e.g. use -d instead of -P).
26425
26426 2011-05-06 Glenn Morris <rgm@gnu.org>
26427
26428 * calendar/appt.el (appt-message-warning-time): Doc fix.
26429 (appt-warning-time-regexp): New option.
26430 (appt-make-list): Respect appt-message-warning-time.
26431
26432 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
26433 New options.
26434 (diary-add-to-list): Strip comments from the displayed string.
26435 (diary-mode): Set comment-start and comment-end.
26436
26437 * vc/diff-mode.el (smerge-refine-subst): Declare.
26438 (diff-refine-hunk): Don't require smerge-mode when compiling.
26439
26440 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
26441
26442 * simple.el (list-processes): Return nil as the docstring says.
26443
26444 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
26445
26446 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
26447 to "".
26448 (ange-ftp-write-region, ange-ftp-insert-file-contents)
26449 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
26450 determining of binary transfer. (Bug#7383)
26451
26452 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
26453
26454 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
26455 Fix port computation bug. (Bug#8618)
26456
26457 2011-05-05 Glenn Morris <rgm@gnu.org>
26458
26459 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
26460
26461 * simple.el (shell-dynamic-complete-functions)
26462 (comint-dynamic-complete-functions): Declare.
26463
26464 * net/network-stream.el (gnutls-negotiate):
26465 * simple.el (tabulated-list-print): Fix declarations.
26466
26467 * progmodes/gud.el (syntax-symbol, syntax-point):
26468 Remove unnecessary and incorrect declarations.
26469
26470 * emacs-lisp/check-declare.el (check-declare-scan):
26471 Handle byte-compile-initial-macro-environment in bytecomp.el.
26472
26473 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
26474
26475 Fix earlier half-done eieio-defmethod change (bug#8338).
26476 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
26477 Streamline and change calling convention.
26478 (defmethod): Adjust accordingly and simplify.
26479 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
26480 new eieio--defmethod.
26481 (slot-boundp): Minor CSE simplification.
26482
26483 2011-05-05 Milan Zamazal <pdm@zamazal.org>
26484
26485 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
26486 (glasses-make-readable): Use glasses-separate-capital-groups.
26487
26488 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
26489
26490 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
26491 (warning-series): Doc fix.
26492 (display-warning): Don't try to create the buffer if we just found it.
26493
26494 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
26495
26496 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
26497 (autoload-find-generated-file): New function.
26498 (generate-file-autoloads): Bind generated-autoload-file to
26499 buffer-file-name.
26500 (update-file-autoloads, update-directory-autoloads):
26501 Use autoload-find-generated-file. If called interactively, prompt for
26502 output file (Bug#7989).
26503 (batch-update-autoloads): Doc fix.
26504
26505 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
26506
26507 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
26508
26509 2011-05-04 Glenn Morris <rgm@gnu.org>
26510
26511 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
26512 function, so it follows changes in calendar-date-style.
26513 (diary-fancy-date-matcher): New function.
26514 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
26515 (diary-fancy-font-lock-fontify-region-function):
26516 Use diary-fancy-date-pattern as a function.
26517
26518 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
26519 non-numbers for `year' etc pseudo-variables. (Bug#8583)
26520
26521 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
26522
26523 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
26524 instead of positional arguments. Allow :keylist and :crlfiles
26525 arguments.
26526 (open-gnutls-stream): Call it.
26527
26528 * net/network-stream.el (network-stream-open-starttls): Adjust to
26529 call `gnutls-negotiate' with :process and :hostname arguments.
26530
26531 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
26532
26533 * minibuffer.el (completion--message): New function.
26534 (completion--do-completion, minibuffer-complete)
26535 (minibuffer-force-complete, minibuffer-complete-word): Use it.
26536 (completion--do-completion): Don't ignore completion-auto-help when in
26537 icomplete-mode.
26538
26539 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
26540 internal encoding (e.g. tibetan zero is not whitespace).
26541 (global-whitespace-mode): Prefer save-current-buffer.
26542 (whitespace-trailing-regexp): Remove useless save-match-data.
26543 (whitespace-empty-at-bob-regexp): Minor simplification.
26544
26545 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
26546
26547 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
26548
26549 2011-05-03 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
26550
26551 * textmodes/ispell.el (ispell-add-per-file-word-list):
26552 Use `concat' to create string for insertion.
26553
26554 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
26555
26556 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
26557 Avoid open-line which runs post-self-insert-hook.
26558 (bibtex-fill-entry): Remove unused `end' var.
26559
26560 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
26561
26562 * textmodes/ispell.el (ispell-add-per-file-word-list):
26563 Protect against `nil' value of `comment-start' (Bug#8579).
26564
26565 2011-05-03 Leo Liu <sdl.web@gmail.com>
26566
26567 * isearch.el (isearch-yank-pop): New command.
26568 (isearch-mode-map): Bind it to `M-y'.
26569 (isearch-forward): Mention it.
26570
26571 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
26572
26573 * simple.el (minibuffer-complete-shell-command): Remove.
26574 (minibuffer-local-shell-command-map): Use completion-at-point.
26575 (read-shell-command): Setup completion vars here instead.
26576 (read-expression-map): Bind TAB to symbol completion.
26577
26578 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
26579 error directly rather via storing it into `results'.
26580
26581 2011-05-02 Leo Liu <sdl.web@gmail.com>
26582
26583 * vc/diff.el: Fix description.
26584
26585 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
26586
26587 * server.el (server-eval-at): New function.
26588
26589 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
26590
26591 * net/network-stream.el (open-network-stream): Take a :nowait
26592 parameter and pass it on to `make-network-process'.
26593 (network-stream-open-plain): Ditto.
26594
26595 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
26596
26597 * faces.el (face-spec-set-match-display): Don't match toolkit
26598 options on terminal frames.
26599
26600 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
26601
26602 * progmodes/pascal.el: Use lexical binding.
26603 (pascal-mode-map): Remove author preferences.
26604
26605 * pcomplete.el (pcomplete-std-complete): Don't abuse
26606 completion-at-point.
26607
26608 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
26609
26610 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
26611 removing code that has been dead since 1991 or so.
26612
26613 * startup.el (command-line): When warning about "_emacs", use a
26614 delayed warning to allow the user to filter it out.
26615
26616 2011-04-28 Deniz Dogan <deniz@dogan.se>
26617
26618 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
26619 user has not joined.
26620
26621 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
26622
26623 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
26624 aren't any completions at point.
26625
26626 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
26627
26628 * subr.el (display-delayed-warnings): New function.
26629 (delayed-warnings-hook): New variable.
26630
26631 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
26632
26633 * minibuffer.el (completion-at-point, completion-help-at-point):
26634 Don't presume that a given completion-at-point-function will always
26635 use the same calling convention.
26636
26637 * pcomplete.el (pcomplete-completions-at-point):
26638 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
26639 pcomplete-seen is non-nil.
26640 (pcomplete-comint-setup): Also recognize the new comint/shell
26641 completion functions.
26642 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
26643 pcomplete-seen is non-nil.
26644
26645 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
26646
26647 * calendar/icalendar.el (diary-lib): Add require statement.
26648 (icalendar--create-uid): Read out a uid from a text-property on
26649 the first character in the entry. This allows for code to add its
26650 own uid to the entry.
26651 (icalendar--convert-float-to-ical): Add export of
26652 `diary-float'-entries save for those with the optional DAY
26653 argument.
26654
26655 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
26656
26657 * subr.el (shell-quote-argument): Use alternate escaping strategy
26658 when we spot a variable reference in a string.
26659
26660 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
26661
26662 * cus-start.el (all): Define customization for debug-on-event.
26663
26664 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
26665
26666 * subr.el (shell-quote-argument): Escape correctly under Windows.
26667
26668 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
26669
26670 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
26671
26672 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
26673
26674 * net/tramp.el (tramp-process-actions): Add POS argument.
26675 Delete region between POS and (pos).
26676
26677 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
26678 Use `nil' position in `tramp-process-actions' call.
26679 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
26680
26681 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
26682 position in `tramp-process-actions' call.
26683
26684 * net/trampver.el: Update release number.
26685
26686 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
26687
26688 * custom.el (defcustom): Obey lexical-binding.
26689
26690 Fix octave-inf completion problems reported by Alexander Klimov.
26691 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
26692 Inherit from octave-mode-syntax-table.
26693 (inferior-octave-mode): Set info-lookup-mode.
26694 (inferior-octave-completion-at-point): New function.
26695 (inferior-octave-complete): Use it and completion-in-region.
26696 (inferior-octave-dynamic-complete-functions): Use it as well, and use
26697 comint-filename-completion.
26698 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
26699 symbol elements which shouldn't be word elements.
26700 (octave-font-lock-keywords, octave-beginning-of-defun)
26701 (octave-function-header-regexp): Adjust regexps accordingly.
26702 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
26703
26704 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
26705
26706 * net/gnutls.el (gnutls-errorp): Declare before first use.
26707
26708 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
26709
26710 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
26711 verify-error, and verify-hostname-error parameters. Check whether
26712 default trustfile exists before going to use it. Add missing
26713 argument to gnutls-message-maybe call. Return value.
26714 Reported by Claudio Bley <claudio.bley@gmail.com>.
26715 (open-gnutls-stream): Add usage example.
26716
26717 * net/network-stream.el (network-stream-open-starttls): Give host
26718 parameter to `gnutls-negotiate'.
26719 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
26720 * subr.el (shell-quote-argument): Escape correctly under Windows.
26721
26722 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
26723
26724 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
26725 Use correct match group (bug#8438).
26726
26727 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
26728
26729 * emacs-lisp/package.el (package-built-in-p): Fix typo.
26730 (package-menu--generate): New arg specifying packages to show.
26731 (package-menu-refresh, package-menu-execute, list-packages):
26732 Callers changed.
26733 (package-show-package-list): New function, replacing deleted
26734 package--list-packages (renamed because it is non-internal).
26735
26736 * finder.el (finder-list-matches): Use package-show-package-list
26737 instead of deleted package--list-packages.
26738
26739 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
26740 Based on a previous implementation by Juanma Barranquero (Bug#8366).
26741 (vc-annotate-mode-map): Bind it to RET.
26742
26743 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
26744
26745 * progmodes/etags.el (next-file): Don't use set-buffer to change
26746 buffers (Bug#8478).
26747
26748 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
26749
26750 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
26751
26752 * apropos.el (apropos-label-face): Avoid variable-pitch face.
26753 (apropos-accumulator): Doc fix.
26754 (apropos-function, apropos-macro, apropos-command)
26755 (apropos-variable, apropos-face, apropos-group, apropos-widget)
26756 (apropos-plist): Add face property.
26757 (apropos-symbols-internal): Fix indentation.
26758 (apropos-print): Simplify help, and recognize apropos-multi-type.
26759 (apropos-print-doc): Use button-type-get to extract the button's
26760 face property. Fill docstring (Bug#8352).
26761
26762 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
26763
26764 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
26765
26766 * play/mpuz.el (mpuz-silent): Doc fix.
26767 (mpuz-mode-map): Use mapc.
26768 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
26769 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
26770 Fix typos in docstrings.
26771
26772 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
26773 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
26774
26775 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
26776
26777 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
26778
26779 * minibuffer.el (completion--do-completion): Avoid the "Next char
26780 not unique" prompt if icomplete-mode is enabled (Bug#5849).
26781
26782 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
26783 mouse-2 into unread-command-events, it is interpreted correctly.
26784
26785 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
26786 (image-toggle-display): Doc fix.
26787
26788 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
26789
26790 * textmodes/page.el (what-page): Use line-number-at-pos to
26791 calculate line number (Bug#6825).
26792
26793 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
26794
26795 * eshell/esh-mode.el (find-tag-interactive): Declare function.
26796 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
26797 Pass argument NO-DEFAULT to `find-tag-interactive'.
26798
26799 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
26800
26801 Lexical-binding cleanup.
26802
26803 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
26804 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
26805 * progmodes/ada-prj.el (ada-prj-initialize-values)
26806 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
26807 (ada-prj-show-value):
26808 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
26809 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
26810 (antlr-invalidate-context-cache, antlr-options-menu-filter)
26811 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
26812 * progmodes/bug-reference.el (bug-reference-push-button):
26813 * progmodes/fortran.el (fortran-line-length):
26814 * progmodes/glasses.el (glasses-change):
26815 * progmodes/octave-mod.el (octave-fill-paragraph):
26816 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
26817 (python-pdbtrack-grub-for-buffer, python-sentinel):
26818 * progmodes/sql.el (sql-save-connection):
26819 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
26820 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
26821 Mark unused parameters.
26822
26823 * progmodes/compile.el (compilation--flush-directory-cache)
26824 (compilation--flush-parse, compile-internal): Mark unused parameters.
26825 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
26826 (compilation-next-error-function): Remove unused variable `timestamp'.
26827
26828 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
26829 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
26830
26831 * progmodes/dcl-mode.el (dcl-end-of-command):
26832 Remove unused variable `start'.
26833 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
26834 (dcl-option-value-basic, dcl-option-value-offset)
26835 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
26836 Mark unused parameters.
26837 (dcl-save-local-variable): Remove unused variable `val'.
26838 (mode): Declare.
26839
26840 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
26841 Mark unused parameters.
26842 (delphi-ignore-changes): Move before first use.
26843 (delphi-charset-token-at): Remove unused variable `start'.
26844 (delphi-else-start): Remove unused variable `if-count'.
26845 (delphi-comment-block-start, delphi-comment-block-end):
26846 Remove unused variable `kind'.
26847 (delphi-indent-line): Remove unused variable `new-point'.
26848
26849 * progmodes/ebrowse.el (ebrowse-files-list)
26850 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
26851 Mark unused parameters. Don't quote `lambda'.
26852 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
26853 Don't quote `lambda'.
26854 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
26855 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
26856 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
26857 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
26858 Use `ignore-errors'.
26859 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
26860 (ebrowse-view/find-file-and-search-pattern)
26861 (ebrowse-view/find-member-declaration/definition):
26862 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
26863 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
26864 Rename parameter PREFIX-ARG to PREFIX.
26865 (ebrowse-tags-read-name): Remove unused variables `start' and
26866 `member-info'.
26867 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
26868 to `tags-file'.
26869
26870 * progmodes/etags.el (local-find-tag-hook): Declare.
26871 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
26872 Mark unused parameters.
26873
26874 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
26875 (executable-interpret): Mark unused parameter.
26876
26877 * progmodes/flymake.el (flymake-process-sentinel)
26878 (flymake-after-change-function)
26879 (flymake-create-temp-with-folder-structure)
26880 (flymake-get-include-dirs-dot): Mark unused parameters.
26881 (flymake-safe-delete-directory): Remove unused variable `err'.
26882
26883 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
26884 (speedbar-timer-fn, speedbar-line-text)
26885 (speedbar-change-expand-button-char, speedbar-delete-subblock)
26886 (speedbar-center-buffer-smartly): Declare functions.
26887 (gdb-find-watch-expression): Remove unused variable `array'.
26888 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
26889 (gdb-starting): Mark unused parameters.
26890 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
26891 (gdb-table-string): Remove unused variable `res'.
26892 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
26893 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
26894 (gdb-display-buffer): Remove unused variable `cur-size'.
26895
26896 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
26897 allow lexical-binding compilation.
26898 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
26899 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
26900 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
26901 Mark unused parameters.
26902 (gud-gdb-marker-filter): Remove unused variable `match'.
26903 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
26904 lambda expressions and funcall them, instead of using `fset'.
26905
26906 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
26907 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
26908
26909 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
26910 variable `header-beg'; use `let'.
26911
26912 * progmodes/icon.el (indent-icon-exp): Remove unused variables
26913 `restart', `last-sexp' and `at-do'.
26914
26915 * progmodes/js.el (js--debug): Mark unused parameter.
26916 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
26917 (js--splice-into-items): Remove unused variable `item'.
26918 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
26919
26920 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
26921 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
26922 (makefile-complete): Remove unused variable `try'.
26923 (makefile-fill-paragraph, makefile-match-function-end):
26924 Mark unused parameters.
26925
26926 * progmodes/octave-inf.el (inferior-octave-complete):
26927 Remove unused variable `proc'.
26928 (inferior-octave-output-digest): Mark unused parameter.
26929
26930 * progmodes/perl-mode.el (perl-calculate-indent):
26931 Remove unused variable `err'.
26932
26933 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
26934 (prolog-indent-line): Mark unused parameters.
26935 (prolog-indent-line): Remove unused variable `beg'.
26936
26937 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
26938 (reporter-dont-compact-list): Declare.
26939
26940 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
26941 Remove unused variable `char'.
26942 (sh-debug): Mark unused parameter.
26943 (sh-get-indent-info): Remove unused variable `start'.
26944 (sh-calculate-indent): Remove unused variable `var'.
26945
26946 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
26947 (simula-electric-keyword): Remove unused variable `null'.
26948 (simula-search-backward, simula-search-forward): Remove unused
26949 variables `begin' and `end'.
26950
26951 * progmodes/vera-mode.el (vera-guess-basic-syntax):
26952 Remove unused variable `pos'.
26953 (vera-electric-tab, vera-comment-uncomment-region):
26954 Mark unused parameters.
26955 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
26956
26957 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
26958
26959 * emacs-lisp/package.el (package--builtins, package-alist)
26960 (package-load-descriptor, package-built-in-p, package-activate)
26961 (define-package, package-installed-p)
26962 (package-compute-transaction, package-buffer-info)
26963 (package--push): Doc fix. Distinguish more clearly between
26964 version strings and version lists.
26965
26966 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
26967
26968 Lexical-binding cleanup.
26969
26970 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
26971 (5x5-make-mutate-best):
26972 * play/fortune.el (fortune-in-buffer):
26973 * play/gomoku.el (gomoku-init-display):
26974 * play/solitaire.el (solitaire, solitaire-do-check):
26975 * play/tetris.el (tetris-default-update-speed-function):
26976 Mark unused parameters.
26977
26978 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
26979 (bubbles--shift): Remove unused variable `char-org'.
26980 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
26981 (bubbles--show-images): Remove unused variable `char'.
26982
26983 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
26984 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
26985 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
26986 (decipher-analyze-buffer): Use ?\s.
26987 (decipher-make-checkpoint): Remove unused variable `mapping'.
26988
26989 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
26990
26991 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
26992 Remove unused variable `result'; use `let'.
26993
26994 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
26995 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
26996 (gametree-children-shown-p, gametree-compute-reduced-score):
26997 Use `ignore-errors'.
26998
26999 * play/handwrite.el (ps-lpr-switches): Declare.
27000 (handwrite): Remove unused variables `pmin' and `lastp'.
27001
27002 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
27003
27004 * play/landmark.el (landmark-init-display)
27005 (landmark-update-naught-weights): Mark unused parameters.
27006 (landmark-y): Remove unused variable `noise'. Simplify.
27007 (landmark-human-plays): Remove unused variable `score'.
27008
27009 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
27010 (mpuz-try-proposal): Remove unused variable `game'.
27011
27012 * play/zone.el (life-patterns): Declare.
27013
27014 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
27015
27016 * vc/vc.el (ediff-vc-internal): Declare function.
27017
27018 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
27019
27020 * shell.el: Use lexical-binding and std completion UI.
27021 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
27022 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
27023 comint-preoutput-filter-functions rather than on
27024 comint-output-filter-functions.
27025 (shell-command-completion, shell--command-completion-data)
27026 (shell-filename-completion, shell-environment-variable-completion)
27027 (shell-c-a-p-replace-by-expanded-directory): New functions.
27028 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
27029 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
27030 (shell-dynamic-complete-environment-variable): Use them.
27031 (shell-dynamic-complete-as-environment-variable)
27032 (shell-dynamic-complete-as-command): Remove.
27033 (shell-match-partial-variable): Match past point.
27034 * comint.el: Clean up use of completion-at-point-functions.
27035 (comint-completion-at-point): New function.
27036 (comint-mode): Use it completion-at-point-functions.
27037 (comint-dynamic-complete): Make it obsolete.
27038 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
27039 (comint-c-a-p-replace-by-expanded-history): New function.
27040 (comint-dynamic-complete-functions)
27041 (comint-replace-by-expanded-history): Use it.
27042 * minibuffer.el (completion-table-with-terminator): Allow dynamic
27043 termination strings. Try harder to avoid second try-completion.
27044 (completion-in-region-mode-map): Disable bindings that don't work yet.
27045
27046 * comint.el: Use lexical-binding. Require CL.
27047 (comint-dynamic-complete-functions): Use comint-filename-completion.
27048 (comint-completion-addsuffix): Tweak custom type.
27049 (comint-filename-completion, comint--common-suffix)
27050 (comint--common-quoted-suffix, comint--table-subvert)
27051 (comint--complete-file-name-data): New functions.
27052 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
27053 (comint-dynamic-list-filename-completions): Use them.
27054 (comint-dynamic-simple-complete): Make obsolete.
27055
27056 * minibuffer.el (completion-in-region-mode):
27057 Keep completion-in-region-mode--predicate global.
27058 (completion-in-region--postch):
27059 Assume completion-in-region-mode--predicate is not null.
27060
27061 * progmodes/flymake.el (flymake-start-syntax-check-process):
27062 Obey `dir'. Simplify.
27063
27064 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
27065 we're in VC after all.
27066
27067 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
27068
27069 * vc/vc.el (vc-diff-build-argument-list-internal)
27070 (vc-version-ediff, vc-ediff): New commands.
27071 (vc-version-diff): Use vc-diff-build-argument-list-internal.
27072
27073 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
27074
27075 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
27076 add sanity check.
27077
27078 * obsolete/erc-hecomplete.el: Make obsolete.
27079 * obsolete/: Standardize obsolescence info in the header.
27080
27081 2011-04-20 Glenn Morris <rgm@gnu.org>
27082
27083 * calendar/solar.el (solar-horizontal-coordinates):
27084 Use the longitude argument rather than `calendar-longitude'.
27085 (solar-date-next-longitude): Remove unused locals.
27086
27087 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
27088
27089 * whitespace.el: New version 13.2.1.
27090
27091 2011-04-20 felix <EmacsWiki> (tiny change)
27092
27093 * whitespace.el (global-whitespace-mode): Keep highlight when
27094 switching between major modes on a file.
27095
27096 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
27097
27098 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
27099 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
27100 multi-line comments as well.
27101
27102 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
27103
27104 Lexical-binding cleanup.
27105
27106 * arc-mode.el (archive-mode-revert):
27107 * cmuscheme.el (scheme-interactively-start-process):
27108 * custom.el (custom-initialize-delay):
27109 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
27110 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
27111 * emacs-lock.el (emacs-lock-clear-sentinel):
27112 * ezimage.el (defezimage):
27113 * follow.el (follow-avoid-tail-recenter):
27114 * fringe.el (set-fringe-mode-1):
27115 * generic-x.el (bat-generic-mode-compile):
27116 * help-mode.el (help-info-variable, help-do-xref)
27117 (help-mode-revert-buffer):
27118 * help.el (view-emacs-todo):
27119 * iswitchb.el (iswitchb-completion-help):
27120 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
27121 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
27122 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
27123 * locate.el (locate-update):
27124 * longlines.el (longlines-encode-region)
27125 (longlines-after-change-function):
27126 * outline.el (outline-isearch-open-invisible):
27127 * ps-def.el (declare-function, charset-dimension, char-width)
27128 (encode-char):
27129 * ps-mule.el (ps-mule-plot-string):
27130 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
27131 (recentf-edit-list-select, recentf-edit-list-validate)
27132 (recentf-open-files-action):
27133 * rect.el (delete-whitespace-rectangle-line)
27134 (rectangle-number-line-callback):
27135 * register.el (window-configuration-to-register)
27136 (frame-configuration-to-register):
27137 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
27138 * select.el (xselect-convert-to-string, xselect-convert-to-length)
27139 (xselect-convert-to-targets, xselect-convert-to-delete)
27140 (xselect-convert-to-filename, xselect-convert-to-charpos)
27141 (xselect-convert-to-lineno, xselect-convert-to-colno)
27142 (xselect-convert-to-os, xselect-convert-to-host)
27143 (xselect-convert-to-user, xselect-convert-to-class)
27144 (xselect-convert-to-name, xselect-convert-to-integer)
27145 (xselect-convert-to-atom, xselect-convert-to-identity):
27146 * subr.el (declare, ignore, process-kill-without-query)
27147 (text-clone-maintain):
27148 * terminal.el (te-get-char, te-tic-sentinel):
27149 * tool-bar.el (tool-bar-make-keymap):
27150 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
27151 * type-break.el (type-break-mode, type-break-noninteractive-query):
27152 * view.el (View-back-to-mark):
27153 * wid-browse.el (widget-browse-action, widget-browse-widget)
27154 (widget-browse-widgets, widget-browse-sexp):
27155 * widget.el (define-widget-keywords):
27156 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
27157 Mark unused parameters.
27158
27159 * align.el (align-adjust-col-for-rule): Mark unused parameter.
27160 (align-areas): Remove unused variable `look'.
27161 (align-region): Remove unused variables `real-end' and `pos-list'.
27162
27163 * apropos.el (apropos-score-doc): Remove unused variable `i'.
27164
27165 * bindings.el (mode-line-modified, mode-line-remote):
27166 Mark unused parameters.
27167 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
27168
27169 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
27170 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
27171
27172 * comint.el (comint-history-isearch-pop-state)
27173 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
27174 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
27175 (comint-substitute-in-file-name): Doc fix.
27176
27177 * completion.el (cmpl-statistics-block): Mark unused parameter.
27178 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
27179 (save-completions-to-file, load-completions-from-file):
27180 Remove unused local variable `e'.
27181
27182 * composite.el (compose-chars): Remove unused variable `len'.
27183 (lgstring-insert-glyph): Remove unused variable `g'.
27184 (compose-glyph-string): Remove unused variables `ascent',
27185 `descent', `lbearing' and `rbearing'.
27186 (compose-glyph-string-relative): Remove unused variables
27187 `lbearing', `rbearing' and `wadjust'.
27188 (compose-gstring-for-graphic): Remove unused variables `header',
27189 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
27190 (compose-gstring-for-terminal): Remove unused variables `header'
27191 and `nchars'. Use `let', not `let*'.
27192
27193 * cus-edit.el (Custom-set, Custom-save, custom-reset)
27194 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
27195 (Custom-buffer-done, custom-buffer-create-internal)
27196 (custom-browse-visibility-action, custom-browse-group-tag-action)
27197 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
27198 (widget-magic-mouse-down-action, custom-toggle-parent)
27199 (custom-add-parent-links, custom-toggle-hide-variable)
27200 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
27201 (custom-toggle-hide-face, face, hook, custom-group-link-action)
27202 (custom-face-menu-create, custom-variable-menu-create, get)
27203 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
27204 (custom-reset-standard-save-and-update): Remove unused variable `value'.
27205 (customize-apropos): Remove unused variable `tests'.
27206 (custom-group-value-create): Remove unused variable `hidden-p'.
27207 (sort-fold-case): Declare.
27208
27209 * cus-theme.el (custom-reset-standard-faces-list)
27210 (custom-reset-standard-variables-list): Declare.
27211 (customize-create-theme, custom-theme-revert, custom-theme-write)
27212 (custom-theme-choose-mode, customize-themes, custom-theme-save):
27213 Mark unused parameters.
27214
27215 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
27216
27217 * delim-col.el (delimit-columns-max): Move defvar before first use.
27218
27219 * descr-text.el (describe-char-categories): Don't quote `lambda'.
27220 (describe-char): Don't quote `lambda'. Mark unused parameter.
27221
27222 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
27223 (auto-insert): Declare.
27224 (desktop-restore-file-buffer): Rename desktop-* parameters;
27225 mark unused ones.
27226 (desktop-create-buffer): Rename desktop-* parameters and bind them.
27227 (desktop-buffer): Rename desktop-* parameters.
27228
27229 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
27230 (dframe-reposition-frame-xemacs, dframe-help-echo)
27231 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
27232 Mark unused parameters.
27233
27234 * dired-aux.el (backup-extract-version-start, overwrite-query)
27235 (overwrite-backup-query, rename-regexp-query)
27236 (rename-non-directory-query): Declare.
27237 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
27238 (dired-add-entry): Remove unused variable `orig-file-name'.
27239 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
27240 Use parameter PRESERVE-TIME instead of accessing dynamic variable
27241 `dired-copy-preserve-time' directly.
27242 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
27243 (dired-insert-subdir-newpos): Rename unused variable `pos'.
27244
27245 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
27246 (dired-virtual-revert, dired-make-relative-symlink):
27247 Mark unused parameters.
27248 (manual-program): Declare.
27249 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
27250 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
27251 wrapped in `with-no-warnings' to avoid replacing one warning by another.
27252
27253 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
27254
27255 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
27256
27257 * echistory.el (electric-history-in-progress, Helper-return-blurb):
27258 Declare.
27259
27260 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
27261
27262 * electric.el (Electric-command-loop): Rename parameter
27263 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
27264
27265 * expand.el (expand-in-literal): Remove unused variable `here'.
27266
27267 * facemenu.el (facemenu-add-new-color):
27268 Remove unused variable `docstring'.
27269
27270 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
27271 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
27272 (face-attr-construct): Mark unused parameter. Doc fix.
27273 (read-color): Remove unused variable `hex-string'.
27274
27275 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
27276 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
27277 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
27278 (display-buffer-other-frame): Remove unused variable `old-window'.
27279 (kill-buffer-hook): Declare.
27280 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
27281 Mark unused parameters.
27282 (after-find-file): Pass 1 to `auto-save-mode', not t.
27283
27284 * files-x.el (auto-insert): Declare.
27285 (modify-file-local-variable-prop-line): Remove unused variable `val'.
27286
27287 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
27288 variable `buf'. Mark unused parameter.
27289 (find-lisp-insert-directory): Mark unused parameter.
27290
27291 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
27292 (format-encode-region): Remove unused variables `cur-buf' and `result'.
27293 (format-common-tail): Remove, unused.
27294 (format-deannotate-region): Remove unused variable `loc'.
27295 (format-annotate-region): Remove unused variable `p'.
27296 (format-annotate-single-property-change): Remove unused variables
27297 `default' and `tail'.
27298
27299 * forms.el (read-file-filter): Declare.
27300 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
27301
27302 * frame.el (frame-creation-function-alist): Mark unused parameter.
27303 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
27304
27305 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
27306 Remove unused parameters.
27307 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
27308 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
27309
27310 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
27311 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
27312 (hfy-prepare-tag-map): Mark unused parameters.
27313 (htmlfontify-buffer): Use `called-interactively-p'.
27314
27315 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
27316 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
27317 (ibuffer-do-occur): Mark unused parameters.
27318 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
27319 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
27320
27321 * ibuffer.el: Don't quote `lambda'.
27322 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
27323 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
27324 Mark unused parameters.
27325
27326 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
27327 (ido-completing-read): Mark unused parameters.
27328 (ido-copy-current-word): Mark unused parameters;
27329 remove unused variable `name'.
27330 (ido-sort-merged-list): Remove unused parameter `dirs'.
27331
27332 * ielm.el (ielm-input-sender): Mark unused parameter.
27333 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
27334 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
27335 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
27336 `ielm-string' as a dynamic variable accessible from the IELM prompt.
27337 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
27338
27339 * image-dired.el (image-dired-display-thumbs): Remove unused
27340 variables `curr-file' and `count'.
27341 (image-dired-remove-tag): Remove unused variable `start'.
27342 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
27343 variable `curr-file'
27344 (image-dired-rotate-original): Remove unused variable `temp-file'.
27345 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
27346 Remove unused variable `file'.
27347 (image-dired-gallery-generate): Remove unused variable `curr'.
27348 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
27349
27350 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
27351
27352 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
27353
27354 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
27355
27356 * isearch.el (minibuffer-history-symbol): Declare.
27357 (isearch-edit-string): Remove unused variable `err'.
27358 (isearch-message-prefix, isearch-message-suffix):
27359 Mark unused parameters.
27360
27361 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
27362
27363 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
27364
27365 * makesum.el (double-column): Remove unused variable `cnt'.
27366
27367 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
27368 (ido-ignore-item-temp-list): Declare.
27369
27370 * mouse-drag.el (mouse-drag-throw): Remove unused variables
27371 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
27372 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
27373 (mouse-drag-drag): Remove unused variables `mouse-delta' and
27374 `mouse-col-delta'.
27375
27376 * mouse-sel.el (mouse-extend-internal):
27377 Remove unused variable `orig-window-frame'.
27378
27379 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
27380 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
27381 Move declarations before first use.
27382 (pcomplete-opt): Mark unused parameters; doc fix.
27383
27384 * proced.el (proced-revert): Mark unused parameter.
27385 (proced-send-signal): Remove unused variable `err'.
27386
27387 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
27388 Rename parameter PREFIX-ARG to ARG.
27389 (ps-basic-plot-string, ps-basic-plot-whitespace):
27390 Mark unused parameters.
27391
27392 * replace.el (replace-count): Define.
27393 (occur-revert-function): Mark unused parameters.
27394 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
27395 (isearch-case-fold-search, isearch-string): Declare.
27396 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
27397 bind `case-fold-search'. Remove unused variables `beg' and `end',
27398 and simplify.
27399 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
27400 COUNT and bind `replace-count'.
27401 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
27402 to COUNT.
27403
27404 * savehist.el (print-readably, print-string-length): Declare.
27405
27406 * shadowfile.el (shadow-expand-cluster-in-file-name):
27407 Remove unused variable `cluster'.
27408 (shadow-copy-file): Remove unused variable `i'.
27409 (shadow-noquery, shadow-clusters, shadow-site-cluster)
27410 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
27411 (shadow-define-literal-group, shadow-define-regexp-group)
27412 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
27413
27414 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
27415 (shell): Use `called-interactively-p'.
27416 (shell-directory-tracker): Remove unused variable `chdir-failure'.
27417
27418 * simple.el (compilation-context-lines, comint-file-name-quote-list)
27419 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
27420 (delete-backward-char): Remove unused variable `ocol'.
27421 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
27422 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
27423 (event-apply-hyper-modifier, event-apply-shift-modifier)
27424 (event-apply-control-modifier, event-apply-meta-modifier):
27425 Mark unused parameters.
27426 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
27427 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
27428
27429 * speedbar.el (speedbar-ignored-directory-expressions)
27430 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
27431 (speedbar-find-file, speedbar-dir-follow)
27432 (speedbar-directory-buttons-follow, speedbar-tag-find)
27433 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
27434 (speedbar-buffers-line-directory, speedbar-buffer-click):
27435 Mark unused parameters.
27436 (speedbar-tag-file): Remove unused variable `mode'.
27437 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
27438
27439 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
27440
27441 * talk.el (talk): Remove unused variable `display'.
27442
27443 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
27444 (tar-write-region-annotate): Mark unused parameter.
27445
27446 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
27447 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
27448 Declare them, wrapped in `with-no-warnings' to avoid replacing one
27449 warning by another.
27450
27451 * time-stamp.el (time-stamp-string-preprocess):
27452 Remove unused variable `require-padding'.
27453
27454 * tree-widget.el (widget-glyph-enable): Declare.
27455 (tree-widget-action): Mark unused parameter.
27456
27457 * w32-fns.el (x-get-selection): Mark unused parameter.
27458 (autoload-make-program, generated-autoload-file): Declare.
27459
27460 * wdired.el (wdired-revert): Mark unused parameters.
27461 (wdired-xcase-word): Remove unused variable `err'.
27462
27463 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
27464 (whitespace-help-scroll): Remove unused variable `data-help'.
27465
27466 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
27467 (widget-image-insert, widget-after-change, default)
27468 (widget-default-format-handler, widget-default-notify)
27469 (widget-default-prompt-value, widget-info-link-action)
27470 (widget-url-link-action, widget-function-link-action)
27471 (widget-variable-link-action, widget-file-link-action)
27472 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
27473 (widget-field-prompt-internal, widget-field-action, widget-field-match)
27474 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
27475 (widget-insert-button-action, widget-delete-button-action, visibility)
27476 (widget-documentation-link-action, widget-documentation-string-action)
27477 (widget-const-prompt-value, widget-regexp-match, symbol)
27478 (widget-coding-system-prompt-value)
27479 (widget-key-sequence-value-to-external, sexp)
27480 (widget-sexp-value-to-internal, character, vector, cons)
27481 (widget-choice-prompt-value, widget-boolean-prompt-value)
27482 (widget-color--choose-action): Mark unused parameters.
27483 (widget-item-match-inline, widget-choice-match-inline)
27484 (widget-checklist-match, widget-checklist-match-inline)
27485 (widget-group-match): Rename parameter VALUES to VALS.
27486 (widget-field-value-set): Remove unused variable `size'.
27487 (widget-color-action): Remove unused variables `value' and `start'.
27488
27489 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
27490 variable `dir'. Doc fix.
27491 (windmove-find-other-window): Don't pass it.
27492
27493 * window.el (count-windows): Mark unused parameter.
27494 (bw-adjust-window): Remove unused variable `err'.
27495
27496 * woman.el (woman-file-name): Remove unused variable `default'.
27497 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
27498 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
27499 (global-font-lock-mode): Declare.
27500 (woman-decode-region): Mark unused parameter.
27501 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
27502
27503 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
27504 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
27505 (x-dnd-handle-moz-url): Remove unused variable `title'.
27506 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
27507
27508 * xml.el (xml-parse-tag, xml-parse-attlist):
27509 Remove unused variable `pos'.
27510
27511 2011-04-19 Glenn Morris <rgm@gnu.org>
27512
27513 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
27514 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
27515 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
27516 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
27517 * calendar/cal-html.el (cal-html-insert-minical):
27518 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
27519 (calendar-mark-date-pattern):
27520 Prefix "unused" locals.
27521
27522 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
27523 optional argument `style'.
27524
27525 * calendar/appt.el (appt-make-list):
27526 * calendar/cal-china.el (calendar-chinese-date-string):
27527 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
27528 (diary-hebrew-yahrzeit):
27529 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
27530 * calendar/calendar.el (calendar-generate-window):
27531 * calendar/time-date.el (time-to-days):
27532 Remove unused local variables.
27533
27534 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
27535
27536 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
27537 glyphless-char-display table.
27538 (tabulated-list-glyphless-char-display): New var.
27539
27540 2011-04-18 Sam Steingold <sds@gnu.org>
27541
27542 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
27543 to acknowledgments.
27544
27545 2011-04-17 Glenn Morris <rgm@gnu.org>
27546
27547 * calendar/diary-lib.el (diary-sexp-entry):
27548 * calendar/holidays.el (holiday-sexp):
27549 Set debug-on-error rather than the removed stack-trace-on-error.
27550
27551 2011-04-16 Glenn Morris <rgm@gnu.org>
27552
27553 * progmodes/f90.el: Use lexical-binding.
27554 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
27555
27556 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
27557
27558 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
27559 (mail-mode): Setup mailalias completion here instead.
27560 * mail/mailalias.el: Use lexical-binding.
27561 (pattern, mailalias-done): Declare dynamic.
27562 (mail-completion-at-point-function): New function, from mail-complete.
27563 (mail-complete): Use it.
27564 (mail-completion-expand): New function.
27565 (mail-get-names): Use it.
27566 (mail-directory, mail-directory-process, mail-directory-stream):
27567 Don't use `pattern' for lexically bound arg.
27568
27569 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
27570
27571 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
27572 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
27573 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
27574
27575 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
27576 (byte-save-window-excursion, byte-temp-output-buffer-setup)
27577 (byte-interactive-p): Define them again, for use when inlining
27578 old code.
27579
27580 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
27581
27582 * loadup.el: Use `string-to-number', not `string-to-int'.
27583
27584 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
27585
27586 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
27587 gud-gdb-complete-command.
27588 (gud-gdb-completions): New function, from gud-gdb-complete-command.
27589 (gud-gdb-completion-at-point): New function.
27590 (gud-gdb-completions): Remove.
27591
27592 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
27593
27594 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
27595 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
27596 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
27597 whether `executable-find' is bound.
27598
27599 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
27600
27601 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
27602
27603 * minibuffer.el (completion-in-region-mode-predicate)
27604 (completion-in-region-mode--predicate): New vars.
27605 (completion-in-region, completion-in-region--postch)
27606 (completion-in-region-mode): Use them.
27607 (completion--capf-wrapper): Also return the hook function.
27608 (completion-at-point, completion-help-at-point):
27609 Adjust and provide a predicate.
27610
27611 Preserve arg names for advice of subr and lexical functions (bug#8457).
27612 * help-fns.el (help-function-arglist): Consolidate the subr and
27613 new-byte-code cases. Add argument `preserve-names' to extract names
27614 from the docstring when needed.
27615 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
27616 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
27617 (ad-arglist): Use help-function-arglist's new arg.
27618 (ad-definition-type): Use cond.
27619
27620 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
27621
27622 * autorevert.el (auto-revert-handler):
27623 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
27624 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
27625 Don't quote lambda.
27626
27627 * image-mode.el (image-transform-set-scale):
27628 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
27629
27630 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
27631
27632 * net/network-stream.el (network-stream-open-starttls): Only do
27633 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
27634 Upgrades via gnutls-cli are too slow to be done opportunistically.
27635
27636 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
27637
27638 * dframe.el (dframe-current-frame): Remove spurious quote.
27639
27640 2011-04-12 Glenn Morris <rgm@gnu.org>
27641
27642 * calendar/cal-tex.el (cal-tex-end-document):
27643 Try to automatically use latin1 input if needed.
27644
27645 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
27646 Don't try to cons a mark onto an empty element.
27647
27648 2011-04-11 Leo Liu <sdl.web@gmail.com>
27649
27650 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
27651 buffers.
27652 (ido-kill-buffer-at-head): Support killing virtual buffers.
27653
27654 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
27655
27656 * minibuffer.el (completion-show-inline-help): New var.
27657 (completion--do-completion, minibuffer-complete)
27658 (minibuffer-force-complete, minibuffer-complete-word):
27659 Inhibit minibuffer messages if completion-show-inline-help is nil.
27660
27661 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
27662 to avoid interference from inline help (Bug#5849).
27663
27664 2011-04-10 Leo Liu <sdl.web@gmail.com>
27665
27666 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
27667 Fix typo.
27668
27669 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
27670
27671 * image-mode.el (image-toggle-display-image): Signal an error if
27672 not in Image mode.
27673 (image-transform-mode, image-transform-resize)
27674 (image-transform-set-rotation): Doc fix.
27675 (image-transform-set-resize): Delete.
27676 (image-transform-set-scale, image-transform-fit-to-height)
27677 (image-transform-fit-to-width): Handle image-toggle-display-image
27678 and image-transform-resize directly.
27679
27680 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
27681
27682 * doc-view.el (doc-view-fit-width-to-window)
27683 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
27684 New functions for fitting the shown image to the Emacs window size.
27685 (doc-view-mode-map): Add bindings for the new functions.
27686
27687 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
27688
27689 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
27690 Fix typo in docstring.
27691
27692 2011-04-08 Eli Zaretskii <eliz@gnu.org>
27693
27694 * files.el (file-size-human-readable): Produce one digit after
27695 decimal, like "ls -lh" does.
27696
27697 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
27698 the file size representation.
27699
27700 * simple.el (list-processes): If async subprocesses are not
27701 available, error out with a clear error message.
27702
27703 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
27704
27705 * help.el (help-form-show): New function, to be called from C.
27706 Put help-form output in a buffer named differently than *Help*.
27707
27708 2011-04-08 Eli Zaretskii <eliz@gnu.org>
27709
27710 * files.el (file-size-human-readable): New function.
27711
27712 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
27713 computing the representation inline. Don't require `cl'.
27714
27715 2011-04-08 Glenn Morris <rgm@gnu.org>
27716
27717 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
27718
27719 * net/browse-url.el (browse-url-firefox):
27720 Test system-type, not system-configuration.
27721
27722 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
27723 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
27724 Use log-edit-empty-buffer-p. (Bug#7598)
27725
27726 * net/rlogin.el (rlogin-process-connection-type): Simplify.
27727 (rlogin-mode-map): Initialize in the defvar.
27728 (rlogin): Use ignore-errors.
27729
27730 * replace.el (occur-mode-map): Some fixes for menu items.
27731
27732 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
27733
27734 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
27735
27736 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
27737
27738 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
27739 issuing unused warnings.
27740
27741 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
27742 macro directly.
27743
27744 * simple.el: Lisp reimplement of list-processes. Based on an
27745 earlier reimplementation by Leo Liu, but using tabulated-list.el.
27746 (process-menu-mode): New major mode.
27747 (list-processes--refresh, list-processes):
27748 (process-menu-visit-buffer): New functions.
27749
27750 * files.el (save-buffers-kill-emacs): Don't assume any return
27751 value of list-processes, which is undocumented anyway.
27752
27753 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
27754
27755 * emacs-lisp/tabulated-list.el: New file.
27756
27757 * emacs-lisp/package.el: Use Tabulated List mode.
27758 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
27759 (package-menu-mode): Derive from tabulated-list-mode. Set up the
27760 table format using Tabulated List mode variables.
27761 (package--push): New macro, replacing package-list-maybe-add.
27762 (package-menu--generate): Use package--push. Renamed from
27763 package--generate-package-list.
27764 (package-menu-refresh, list-packages): Use it.
27765 (package-menu--print-info): Rename from package-print-package.
27766 Return insertion data instead of inserting it directly.
27767 (package-menu-describe-package, package-menu-execute):
27768 Use tabulated-list-get-id.
27769 (package-menu-mark-delete, package-menu-mark-install)
27770 (package-menu-mark-unmark, package-menu-backup-unmark)
27771 (package-menu-mark-obsolete-for-deletion):
27772 Use tabulated-list-put-tag.
27773 (package--list-packages, package-menu-revert)
27774 (package-menu-get-package, package-menu-get-version)
27775 (package-menu-sort-by-column): Functions deleted.
27776 (package-menu-package-list, package-menu-sort-key): Vars deleted.
27777 (package-menu--status-predicate, package-menu--version-predicate)
27778 (package-menu--name-predicate)
27779 (package-menu--description-predicate): Handle arguments in the
27780 Tabulated List format.
27781 (package-list-packages-no-fetch): Call list-packages.
27782
27783 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
27784
27785 * files.el (after-find-file-from-revert-buffer): Remove variable.
27786 (after-find-file): Don't bind it.
27787 (revert-buffer-in-progress-p): New variable.
27788 (revert-buffer): Bind it.
27789 Pass nil for `after-find-file-from-revert-buffer'.
27790
27791 * saveplace.el (save-place-find-file-hook): Use new variable
27792 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
27793
27794 2011-04-06 Glenn Morris <rgm@gnu.org>
27795
27796 * Makefile.in (AUTOGEN_VCS): New variable.
27797 (autoloads): Use $AUTOGEN_VCS.
27798
27799 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
27800 * calendar/calendar.el (calendar-mode-map):
27801 Check for toolkit scroll bars. (Bug#8305)
27802
27803 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
27804
27805 * minibuffer.el (completion-in-region--postch)
27806 (completion-in-region-mode): Remove unnecessary messages.
27807
27808 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
27809
27810 * font-lock.el (font-lock-refresh-defaults):
27811 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
27812 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
27813
27814 * info.el (Info-directory-list, Info-read-node-name-2)
27815 (Info-split-parameter-string): Doc fixes.
27816 (Info-virtual-nodes): Reflow docstring.
27817 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
27818 (Info-apropos-toc-nodes, info-finder, Info-get-token)
27819 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
27820 Fix typos in docstrings.
27821 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
27822 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
27823 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
27824 (Info-restore-desktop-buffer): Mark unused parameters.
27825 (Info-directory-find-file, Info-directory-find-node)
27826 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
27827 (Info-virtual-index-find-node, Info-apropos-find-file)
27828 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
27829 Mark unused parameters; fix typos in docstrings.
27830 (Info-virtual-index): Remove unused local variable `nodename'.
27831
27832 2011-04-05 Deniz Dogan <deniz@dogan.se>
27833
27834 * net/rcirc.el: Update my e-mail address.
27835 (rcirc-mode-map): Remove M-o binding.
27836
27837 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
27838
27839 * startup.el (command-line): Save the cursor's theme-face
27840 directly, instead of using face-override-spec.
27841
27842 * custom.el (load-theme): Minor optimization in assigning faces.
27843
27844 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
27845
27846 * help-fns.el (describe-variable): Complete all variables having
27847 documentation, including keywords.
27848 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
27849
27850 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
27851
27852 Convert to lexical-binding.
27853
27854 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
27855 (bs--get-marked-string, bs--get-modified-string)
27856 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
27857 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
27858 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
27859
27860 * ehelp.el (electric-help-execute-extended)
27861 (electric-help-ctrl-x-prefix):
27862 * hexl.el (hexl-revert-buffer-function):
27863 * linum.el (linum-after-change, linum-after-scroll):
27864 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
27865
27866 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
27867
27868 2011-04-04 Daiki Ueno <ueno@unixuser.org>
27869
27870 * epa-dired.el:
27871 * epa-mail.el:
27872 * epa-hook.el:
27873 * epa-file.el:
27874 * epa.el:
27875 * epg.el: Use lexical binding.
27876
27877 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
27878
27879 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
27880
27881 * textmodes/flyspell.el (flyspell-word): Recognize default
27882 dictionary case for flyspell-mark-duplications-exceptions.
27883 Use regexp matching for languages.
27884 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
27885 default dictionary (Bug#7926).
27886
27887 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
27888
27889 * emacs-lisp/package.el (package--with-work-buffer):
27890 Recognize https URLs.
27891
27892 * net/network-stream.el: Move from gnus/proto-stream.el.
27893 Change prefix to network-stream throughout.
27894 (open-protocol-stream): Merge into open-network-stream, leaving
27895 open-protocol-stream as an alias. Handle nil BUFFER args.
27896
27897 * subr.el (open-network-stream): Move to net/network-stream.el.
27898
27899 2011-04-02 Glenn Morris <rgm@gnu.org>
27900
27901 * find-dired.el (find-exec-terminator): New option.
27902 (find-ls-option): Test for -ls support.
27903 (find-ls-subdir-switches): Test for -b in find-ls-option.
27904 (find-dired, find-grep-dired): Doc fixes.
27905 (find-dired): Use find-exec-terminator.
27906
27907 * find-dired.el (find-ls-option, find-ls-subdir-switches)
27908 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
27909 (find-name-arg): Remove purecopy.
27910
27911 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
27912 (grep-compute-defaults): Check for `-exec COMMAND +' support.
27913 Set grep-find-use-xargs, grep-find-command, and grep-find-template
27914 accordingly. Don't add the null-device if not needed.
27915
27916 * files.el (save-some-buffers): Doc fix.
27917
27918 2011-04-02 Eli Zaretskii <eliz@gnu.org>
27919
27920 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
27921
27922 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
27923
27924 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
27925 Use `dolist' rather than `mapcar'.
27926
27927 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
27928
27929 Add lexical binding.
27930
27931 * subr.el (apply-partially): Use new closures rather than CL.
27932 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
27933 (dolist, dotimes): Use slightly different expansion for lexical code.
27934 (functionp): Move to C.
27935 (letrec): New macro.
27936 (with-wrapper-hook): Use it and apply-partially instead of CL.
27937 (eval-after-load): Preserve lexical-binding.
27938 (save-window-excursion, with-output-to-temp-buffer): Turn them
27939 into macros.
27940
27941 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
27942
27943 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
27944 than the arglist.
27945 (help-add-fundoc-usage): Don't add `Not documented'.
27946 (help-function-arglist): Handle closures, subroutines, and new
27947 byte-code-functions.
27948 (help-make-usage): Remove leading underscores.
27949 (describe-function-1): Handle closures.
27950 (describe-variable): Use special-variable-p for completion.
27951
27952 * files.el (lexical-binding): Declare safe.
27953
27954 * emacs-lisp/pcase.el: Don't use destructuring-bind.
27955 (pcase--memoize): Rename from pcase-memoize. Change weakness.
27956 (pcase): Add `let' pattern.
27957 Change memoization so it actually works.
27958 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
27959 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
27960 <let>: New case.
27961
27962 * emacs-lisp/macroexp.el: Use lexical binding.
27963 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
27964 Don't convert ' to #' without checking that it's indeed quoting
27965 a lambda.
27966
27967 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
27968 Use eval-sexp-add-defvars.
27969 (eval-sexp-add-defvars): New fun.
27970
27971 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
27972
27973 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
27974 Don't autoload.
27975 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
27976 than the internal `byte-compile-lambda'.
27977 (defmethod): Don't hide code under quotes.
27978 (eieio-defmethod): New `code' argument.
27979
27980 * emacs-lisp/eieio-comp.el: Remove.
27981
27982 * emacs-lisp/edebug.el (edebug-eval-defun)
27983 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
27984 (edebug-toggle): Avoid `eval'.
27985
27986 * emacs-lisp/disass.el (disassemble-internal): Handle new
27987 `closure' objects.
27988 (disassemble-1): Handle new byte codes.
27989
27990 * emacs-lisp/cl.el (pushnew): Silence warning.
27991
27992 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
27993 (cl-byte-compile-throw): Remove.
27994 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
27995
27996 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
27997 closures.
27998
27999 * emacs-lisp/cconv.el: New file.
28000
28001 * emacs-lisp/bytecomp.el: Use lexical binding instead of
28002 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
28003 (byte-compile-initial-macro-environment):
28004 Handle declare-function here.
28005 (byte-compile--lexical-environment): New var.
28006 (byte-stack-ref, byte-stack-set, byte-discardN)
28007 (byte-discardN-preserve-tos): New lap codes.
28008 (byte-interactive-p): Don't use any more.
28009 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
28010 New macros.
28011 (byte-compile-lapcode): Use them and handle new lap codes.
28012 (byte-compile-obsolete): Remove.
28013 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
28014 (byte-compile-arglist-warn): Check late def of inlinable funs.
28015 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
28016 since they should have been expanded by now.
28017 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
28018 (byte-compile-from-buffer): Remove unused second arg.
28019 (byte-compile-preprocess): New function.
28020 (byte-compile-toplevel-file-form): New function to distinguish
28021 file-form calls from outside from file-form calls from hunk-handlers.
28022 (byte-compile-file-form): Simplify.
28023 (byte-compile-file-form-defsubst): Remove.
28024 (byte-compile-file-form-defmumble): Simplify now that
28025 byte-compile-lambda always returns a byte-code-function.
28026 (byte-compile): Preprocess.
28027 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
28028 Remove, not used any more.
28029 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
28030 (byte-compile-make-args-desc): New funs.
28031 (byte-compile-lambda): Handle lexical functions. Always return
28032 a byte-code-function.
28033 (byte-compile-reserved-constants): New var, to make up room for
28034 closed-over variables.
28035 (byte-compile-constants-vector): Obey it.
28036 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
28037 (byte-compile-macroexpand-declare-function): New function.
28038 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
28039 byte-code-functions.
28040 (byte-compile-form): Check obsolescence here.
28041 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
28042 (byte-compile-variable-ref): Remove.
28043 (byte-compile-dynamic-variable-op): New fun.
28044 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
28045 (byte-compile-variable-set): New funs.
28046 (byte-compile-discard): Add 2 args.
28047 (byte-compile-stack-ref, byte-compile-stack-set)
28048 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
28049 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
28050 macroexpand-all instead.
28051 (byte-compile-quote-form): Remove.
28052 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
28053 (byte-compile-bind, byte-compile-unbind): New funs.
28054 (byte-compile-let): Handle let* and lexical binding.
28055 (byte-compile-let*): Remove.
28056 (byte-compile-catch, byte-compile-unwind-protect)
28057 (byte-compile-track-mouse, byte-compile-condition-case):
28058 Handle a new :fun-body form, used for lexical scoping.
28059 (byte-compile-save-window-excursion)
28060 (byte-compile-with-output-to-temp-buffer): Remove.
28061 (byte-compile-defun): Simplify.
28062 (byte-compile-stack-adjustment): New fun.
28063 (byte-compile-out): Use it.
28064 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
28065
28066 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
28067 handler any more.
28068
28069 * emacs-lisp/byte-opt.el: Use lexical binding.
28070 (byte-inline-lapcode): Remove (to bytecomp).
28071 (byte-compile-inline-expand): Pay attention to inlining to/from
28072 lexically bound code.
28073 (byte-compile-unfold-lambda): Don't handle byte-code-functions
28074 any more.
28075 (byte-optimize-form-code-walker): Don't handle save-window-excursion
28076 any more and don't call compiler-macros.
28077 (byte-compile-splice-in-already-compiled-code): Remove.
28078 (byte-code): Don't inline any more.
28079 (disassemble-offset): Receive `bytes' as argument rather than via
28080 dynamic scoping.
28081 (byte-compile-tag-number): Declare before first use.
28082 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
28083 `return' even if make-spliceable.
28084 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
28085 obsolete interactive-p.
28086 (byte-optimize-lapcode): Optimize new lap-codes.
28087 Don't trip up on new form of `byte-constant' lap code.
28088
28089 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
28090
28091 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
28092
28093 * custom.el (custom-initialize-default, custom-declare-variable):
28094 Use `defvar'.
28095
28096 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
28097 New variables.
28098 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
28099 (COMPILE_FIRST): Add macroexp and cconv.
28100 * makefile.w32-in: Mirror changes in Makefile.in.
28101
28102 * vc/cvs-status.el:
28103 * vc/diff-mode.el:
28104 * vc/log-edit.el:
28105 * vc/log-view.el:
28106 * vc/smerge-mode.el:
28107 * textmodes/bibtex-style.el:
28108 * textmodes/css-mode.el:
28109 * startup.el:
28110 * uniquify.el:
28111 * minibuffer.el:
28112 * newcomment.el:
28113 * reveal.el:
28114 * server.el:
28115 * mpc.el:
28116 * emacs-lisp/smie.el:
28117 * doc-view.el:
28118 * dired.el:
28119 * abbrev.el: Use lexical binding.
28120
28121 2011-04-01 Eli Zaretskii <eliz@gnu.org>
28122
28123 * info.el (info-display-manual): New function.
28124
28125 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
28126
28127 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
28128
28129 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
28130
28131 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
28132 an entry for that server in rcirc-authinfo. (Bug#8385)
28133
28134 2011-03-31 Glenn Morris <rgm@gnu.org>
28135
28136 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
28137
28138 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
28139
28140 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
28141
28142 * progmodes/python.el (python-default-interpreter)
28143 (python-python-command-args, python-jython-command-args)
28144 (python-which-shell, python-which-args, python-which-bufname)
28145 (python-file-queue, python-comint-output-filter-function)
28146 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
28147 variables and functions.
28148
28149 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
28150
28151 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
28152 (completion-in-region-mode): New minor mode.
28153 (completion-in-region): Use it.
28154 (completion-in-region--data, completion-in-region-mode-map): New vars.
28155 (completion-in-region--postch): New function.
28156 (completion--capf-misbehave-funs, completion--capf-safe-funs):
28157 New vars.
28158 (completion--capf-wrapper): New function.
28159 (completion-at-point): Use it to track well-behavedness of
28160 hook functions.
28161 (completion-help-at-point): New command.
28162
28163 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
28164
28165 * vc/add-log.el (add-change-log-entry): Don't use whitespace
28166 syntax class to search for whitespace on a single line
28167 (Message-ID: <4D938140.4030905@redhat.com>).
28168
28169 2011-03-30 Leo Liu <sdl.web@gmail.com>
28170
28171 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
28172 New commands.
28173 (edit-abbrevs-map): Bind them here.
28174 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
28175
28176 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
28177
28178 * allout.el (allout-hide-by-annotation, allout-flag-region):
28179 Reduce possibility of overlay leakage by making them volatile.
28180
28181 * allout-widgets.el (allout-widgets-tally): Define as nil so the
28182 hash is not shared between buffers. Mode initialization is
28183 responsible for giving it a useful starting value.
28184 (allout-item-span): Reduce possibility of overlay leakage by
28185 making them volatile.
28186 (allout-widgets-count-buttons-in-region): Add diagnostic function
28187 for tracking down button overlay leaks.
28188
28189 2011-03-29 Leo Liu <sdl.web@gmail.com>
28190
28191 * ido.el (ido-read-internal): Use the default history var
28192 minibuffer-history if no HISTORY is specified.
28193
28194 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
28195
28196 * net/imap.el (imap-shell-open, imap-process-connection-type):
28197 Use imap-process-connection-type for 'shell' streams as well as
28198 Kerberos, SSL, other subprocesses.
28199
28200 2011-03-28 Leo Liu <sdl.web@gmail.com>
28201
28202 * abbrev.el (abbrev-table-empty-p): New function.
28203 (prepare-abbrev-list-buffer): Place empty abbrev tables after
28204 nonempty ones. (Bug#5937)
28205
28206 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
28207
28208 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
28209
28210 2011-03-27 Leo Liu <sdl.web@gmail.com>
28211
28212 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
28213 for foreground and background colors.
28214 (ansi-color-make-color-map): Adapt.
28215
28216 2011-03-25 Leo Liu <sdl.web@gmail.com>
28217
28218 * midnight.el (midnight-time-float): Remove. Note it calculates
28219 the microsecond component incorrectly and seconds-to-time does the
28220 same job.
28221 Remove redundant (require 'timer).
28222
28223 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
28224 (ido-completions): Remove unused arguments. (Bug#8329)
28225
28226 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
28227
28228 * minibuffer.el (completion--flush-all-sorted-completions):
28229 Remove itself from hook.
28230 (completion-at-point): Let the functions perform the completion
28231 immediately and return nil or t.
28232 * comint.el (comint-dynamic-complete-functions): Now identical to
28233 completion-at-point-functions.
28234 (comint-dynamic-list-input-ring): Remove unused var `index'.
28235 (comint--match-partial-filename, comint--unquote&expand-filename):
28236 New funs, split from comint-match-partial-filename.
28237 (comint-dynamic-complete): Use completion-at-point.
28238 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
28239
28240 2011-03-24 Drew Adams <drew.adams@oracle.com>
28241
28242 * thingatpt.el: Support `defun'.
28243
28244 2011-03-23 Leo Liu <sdl.web@gmail.com>
28245
28246 * abbrevlist.el: Move to obsolete/abbrevlist.el.
28247
28248 * help-mode.el (help-mode-finish): Tweak regexp.
28249
28250 2011-03-23 Glenn Morris <rgm@gnu.org>
28251
28252 * eshell/esh-opt.el (eshell-eval-using-options):
28253 Do not bind unused local variable `eshell-option-stub'.
28254
28255 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
28256
28257 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
28258
28259 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
28260 keymap variable in `with-no-warnings' to avoid a warning when the
28261 keymap has been already `defconst'ed.
28262
28263 2011-03-22 Leo Liu <sdl.web@gmail.com>
28264
28265 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
28266 encode all chars in abbrevs; otherwise use emacs-mule or
28267 utf-8-emacs. (Bug#8308)
28268
28269 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
28270
28271 * simple.el (backward-delete-char-untabify):
28272 Avoid warning about using `delete-backward-char'.
28273
28274 * image.el (image-type-file-name-regexps): Make it variable.
28275 `imagemagick-register-types' modifies it, and the user may want
28276 to add new extensions for known image types.
28277 (imagemagick-register-types): Throw error if not using ImageMagick.
28278
28279 2011-03-22 Leo Liu <sdl.web@gmail.com>
28280
28281 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
28282 located before rcirc-prompt-end-marker.
28283 (rcirc-complete): Error if point is not after rcirc prompt.
28284 Handle the case when table is nil.
28285 (rcirc-user-authenticated): Define to fix compiler warning.
28286
28287 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
28288
28289 * custom.el (custom--inhibit-theme-enable): Make it affect only
28290 custom-theme-set-variables and custom-theme-set-faces.
28291 (provide-theme): Ignore custom--inhibit-theme-enable.
28292 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
28293 (custom-enabling-themes): Delete variable.
28294 (enable-theme): Accept only loaded themes as arguments.
28295 Ignore the special custom-enabled-themes variable.
28296 (custom-enabled-themes): Forbid themes from setting this.
28297 Eliminate use of custom-enabling-themes.
28298 (custom-push-theme): Quote "changed" custom var entry.
28299
28300 2011-03-21 Leo Liu <sdl.web@gmail.com>
28301
28302 * ido.el (ido-read-internal): Add ido-selected to history instead
28303 of user input.
28304
28305 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
28306
28307 * subr.el (deferred-action-list, deferred-action-function):
28308 Mark obsolete.
28309
28310 2011-03-21 Leo Liu <sdl.web@gmail.com>
28311
28312 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
28313 change on 2011-02-13 (bug#8309).
28314
28315 * minibuffer.el (read-file-name-function): Change default value.
28316 (read-file-name--defaults): Rename from read-file-name-defaults.
28317 (read-file-name-default): Rename from read-file-name.
28318 (read-file-name): Call read-file-name-function.
28319
28320 2011-03-21 Glenn Morris <rgm@gnu.org>
28321
28322 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
28323 Doc fixes.
28324
28325 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
28326
28327 * cus-theme.el: Add missing provide statement.
28328 (customize-create-theme): Extract theme value correctly.
28329 (custom-theme-visit-theme): Autoload.
28330 (customize-create-theme): Prompt before inserting default faces.
28331
28332 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
28333
28334 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
28335 units and musical notes.
28336
28337 2011-03-20 Leo Liu <sdl.web@gmail.com>
28338
28339 * ido.el (ido-read-internal): Use completing-read-default.
28340 (ido-completing-read): Fix compatibility with completing-read.
28341
28342 2011-03-20 Christian Ohler <ohler@gnu.org>
28343
28344 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
28345 (ert-delete-all-tests): Use `called-interactively-p' rather than
28346 `interactive-p'.
28347 (ert--make-xrefs-region): Respect END.
28348
28349 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
28350
28351 * dired-aux.el (dired-create-directory): Signal an error if the
28352 directory already exists (Bug#8246).
28353
28354 * facemenu.el (list-colors-display): Call list-faces-display
28355 inside with-help-window.
28356 (list-colors-print): Use display property to align the final
28357 column, instead of checking window-width.
28358
28359 2011-03-19 Eli Zaretskii <eliz@gnu.org>
28360
28361 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
28362 windows-nt systems.
28363 (emerge-protect-metachars): Quote correctly for ms-dos and
28364 windows-nt systems.
28365
28366 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
28367
28368 * info.el (info-initialize): Replace all uses of `:' with
28369 path-separator for compatibility with non-Unix systems.
28370 Cache quoting of path-separator. (Bug#8258)
28371
28372 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
28373
28374 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
28375 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
28376 (mouse-avoidance-mode): Fix typos in docstrings.
28377
28378 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
28379
28380 * startup.el (package-subdirectory-regexp): Move from package.el.
28381 Omit \\` and \\', and let callers add them.
28382
28383 * emacs-lisp/package.el (package-strip-version)
28384 (package-load-all-descriptors): Add \\` and \\' to
28385 package-subdirectory-regexp before using it.
28386 (package-untar-buffer): New arg DIR; ensure that file untars only
28387 into this expected directory. Remove superfluous delete-region.
28388 (package-unpack): Caller changed.
28389 (package-tar-file-info): Use package-subdirectory-regexp.
28390
28391 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
28392
28393 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
28394 diff-mode-shared-map (bug#8284).
28395 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
28396
28397 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
28398
28399 * calendar/time-date.el (format-seconds): Use assoc instead of
28400 assoc-string, since assoc-string doesn't exist in XEmacs.
28401
28402 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
28403
28404 * custom.el (custom-known-themes): Reflow docstring.
28405 (custom-theme-load-path): Fix typo in docstring.
28406 (load-theme): Fix typo in error message.
28407 (custom-available-themes, custom-variable-theme-value):
28408 Use `let', not `let*'.
28409
28410 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
28411
28412 * calc/README: Mention inclusion of musical notes.
28413
28414 * calc/calc-units.el (calc-lu-quant): Rename from
28415 `calc-logunits-quantity'.
28416 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
28417 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
28418 (calc-db): Rename from `calc-dblevel'.
28419 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
28420 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
28421 (calc-np): Rename from `calc-nplevel'.
28422 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
28423 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
28424 (calc-lu-plus): Rename from `calc-logunits-add'.
28425 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
28426 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
28427 (calc-lu-minus): Rename from `calc-logunits-sub'.
28428 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
28429 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
28430 (calc-lu-times): Rename from `calc-logunits-mul'.
28431 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
28432 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
28433 (calc-lu-divide): Rename from `calc-logunits-div'.
28434 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
28435 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
28436
28437 * calc/calc-ext.el (calc-init-extensions): Update the names of the
28438 functions being autoloaded.
28439
28440 * calc/calc.el (calc-lu-power-reference): Rename from
28441 `calc-logunits-power-reference'.
28442 (calc-lu-field-reference): Rename from
28443 `calc-logunits-field-reference'.
28444
28445 * calc/calc-help.el (calc-l-prefix-help):
28446 Mention musical note functions.
28447
28448 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
28449
28450 * minibuffer.el (completion-all-sorted-completions):
28451 Use :completion-cycle-penalty text property if present.
28452
28453 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
28454
28455 * allout.el (allout-yank-processing): Adjust for new rebulleting
28456 regime so bullet being yanked is used without prompting the user
28457 for a choice.
28458
28459 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
28460
28461 * startup.el (command-line): Warn the user that _emacs is deprecated.
28462
28463 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
28464
28465 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
28466 (delphi-verbose, delphi-comment-face, delphi-string-face)
28467 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
28468 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
28469 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
28470 (delphi-new-comment-line, delphi-font-lock-defaults)
28471 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
28472 Fix typos in docstrings.
28473
28474 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
28475
28476 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
28477 Invert the roles of character and string values for INSTEAD, so a
28478 string is used for the more common case of a defaulting prompt.
28479
28480 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
28481
28482 * progmodes/ruby-mode.el (ruby-backward-sexp):
28483 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
28484 * play/gamegrid.el (gamegrid-make-face):
28485 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
28486 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
28487 * notifications.el (notifications-notify):
28488 * net/xesam.el (xesam-search-engines):
28489 * net/quickurl.el (quickurl-list-insert):
28490 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
28491
28492 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
28493
28494 * startup.el (command-line): Update package subdirectory regexp.
28495
28496 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
28497
28498 * allout.el (allout-abbreviate-flattened-numbering)
28499 (allout-mode-deactivate-hook): Fix up obsolescence "date".
28500
28501 * subr.el (read-char-choice): Only show the cursor after the prompt,
28502 not after the answer.
28503
28504 2011-03-15 Kevin Ryde <user42@zip.com.au>
28505
28506 * help-fns.el (variable-at-point): Skip leading quotes, if any
28507 (bug#8253).
28508
28509 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
28510
28511 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
28512 warning message.
28513
28514 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
28515
28516 * shell.el (shell): When called interactively, offer to change the
28517 shell file name on remote hosts.
28518
28519 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
28520
28521 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
28522 integration for LDAP parameters. The host, base, user or binddn,
28523 and secret tokens can be specified in a netrc file, for instance.
28524 This is optional because an `auth-source' parameter must be
28525 specified in the search attributes.
28526
28527 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
28528
28529 * help.el (describe-mode): Link to the mode's definition (bug#8185).
28530
28531 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
28532
28533 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
28534 into declaration. Remove redundant and harmful binding.
28535
28536 2011-03-12 Eli Zaretskii <eliz@gnu.org>
28537
28538 * files.el (file-ownership-preserved-p): Pass `integer' as an
28539 explicit 2nd argument to `file-attributes'. If the file's owner
28540 is the Administrators group on Windows, and the current user is
28541 Administrator, consider that a match.
28542
28543 * server.el (server-ensure-safe-dir): Consider server directory
28544 safe on MS-Windows if its owner is the Administrators group while
28545 the current Emacs user is Administrator. Use `=' to compare
28546 numerical UIDs, since they could be integers or floats.
28547
28548 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
28549
28550 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
28551
28552 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
28553
28554 Sync with Tramp 2.2.1.
28555
28556 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
28557
28558 * net/trampver.el: Update release number.
28559
28560 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
28561
28562 * progmodes/compile.el (compilation--previous-directory): Fix up
28563 various nil/dead-marker mismatches (bug#8014).
28564 (compilation-directory-properties, compilation-error-properties):
28565 Don't call it at a position past the one we're about to change.
28566
28567 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
28568 Disable obsolescence warnings in the file that declares it.
28569
28570 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
28571
28572 * allout-widgets.el (allout-widgets-tally):
28573 Initialize allout-widgets-tally as a hash table rather than nil to
28574 prevent mode-line redisplay warnings. Also, clarify the module
28575 description and fix a comment typo.
28576
28577 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
28578
28579 * help-fns.el (describe-variable): Don't complete keywords.
28580 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
28581
28582 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
28583
28584 * emacs-lisp/package.el (package-version-join): Impose a standard
28585 string representation for pre/alpha/beta version lists.
28586 (package-unpack-single): Standardize the directory name by passing
28587 it through package-version-join.
28588 (package-strip-rcs-id): Accept any version string that does not
28589 signal an error in version-to-list.
28590
28591 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
28592
28593 * simple.el (delete-trailing-whitespace): Return nil for the
28594 benefit of `write-file-functions'.
28595
28596 2011-03-10 Glenn Morris <rgm@gnu.org>
28597
28598 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
28599
28600 * vc/vc-git.el (vc-git-program): New option.
28601 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
28602 (vc-git--call): Use it.
28603
28604 * eshell/esh-util.el (eshell-condition-case): Doc fix.
28605
28606 * cus-edit.el (Custom-newline): If no button at point, look
28607 for a subgroup button at start-of-line. (Bug#2298)
28608
28609 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
28610
28611 2011-03-10 Julien Danjou <julien@danjou.info>
28612
28613 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
28614 `cursor-type' is nil.
28615
28616 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
28617
28618 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
28619
28620 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
28621
28622 * allout.el: Change so yank of distinctive-bullet items
28623 preserves the existing header prefix, rebulleting it if necessary,
28624 rather than replacing it. This is necessary for proper operation
28625 of cooperative addons like allout-widgets.
28626 (allout-make-topic-prefix, allout-rebullet-heading):
28627 Change SOLICIT arg to INSTEAD, and interpret additionally a string
28628 value as alternate bullet to be used, instead of prompting the user
28629 for a bullet character.
28630
28631 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
28632
28633 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
28634 Do not use `tramp-file-name-port', because this returns also
28635 `tramp-default-port'.
28636
28637 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
28638
28639 * net/rcirc.el (rcirc-handler-001): Remove useless
28640 with-rcirc-process-buffer.
28641 (rcirc-check-auth-status): Swap arguments to string-match.
28642
28643 2011-03-09 Glenn Morris <rgm@gnu.org>
28644
28645 * shell.el (shell-mode):
28646 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
28647
28648 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
28649 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
28650
28651 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
28652
28653 * emacs-lisp/package.el (package-refresh-contents)
28654 (package-menu-execute): Use condition-case-no-debug.
28655
28656 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
28657
28658 * simple.el (shell-command-to-string): Use `process-file'.
28659
28660 * emacs-lisp/package.el (package-tar-file-info): Handle also
28661 remote files.
28662
28663 * emacs-lisp/package-x.el (package-upload-buffer-internal):
28664 Use `equal' for upload base check.
28665
28666 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
28667
28668 * textmodes/texinfo.el (texinfo-environments):
28669 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
28670
28671 2011-03-08 Glenn Morris <rgm@gnu.org>
28672
28673 * cus-start.el (cursor-in-non-selected-windows):
28674 Fix :set quoting oddness. (Bug#8192)
28675
28676 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
28677 in some setf expressions. (Bug#2159)
28678
28679 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
28680
28681 * custom.el (custom-available-themes): Return themes in
28682 alphabetical order.
28683
28684 See ChangeLog.15 for earlier changes.
28685
28686 ;; Local Variables:
28687 ;; coding: utf-8
28688 ;; End:
28689
28690 Copyright (C) 2011-2013 Free Software Foundation, Inc.
28691
28692 This file is part of GNU Emacs.
28693
28694 GNU Emacs is free software: you can redistribute it and/or modify
28695 it under the terms of the GNU General Public License as published by
28696 the Free Software Foundation, either version 3 of the License, or
28697 (at your option) any later version.
28698
28699 GNU Emacs is distributed in the hope that it will be useful,
28700 but WITHOUT ANY WARRANTY; without even the implied warranty of
28701 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
28702 GNU General Public License for more details.
28703
28704 You should have received a copy of the GNU General Public License
28705 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.