* lisp/progmodes/python.el (ffap-alist): Declare.
[bpt/emacs.git] / lisp / ChangeLog
1 2013-06-18 Glenn Morris <rgm@gnu.org>
2
3 * progmodes/python.el (ffap-alist): Declare.
4
5 * textmodes/reftex.el (bibtex-mode-map): Declare.
6
7 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
8
9 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
10 (package-unpack, package-unpack-single): Return the pkg-dir.
11 (package-download-transaction): Use it to update package-alist.
12
13 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
14
15 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
16 possible choice.
17
18 2013-06-17 Juri Linkov <juri@jurta.org>
19
20 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
21
22 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
23
24 * emacs-lisp/package.el (package-load-descriptor): Remove
25 `with-syntax-table' call, `read' doesn't need it.
26 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
27
28 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
29
30 * startup.el (command-line): Expand package name returned by
31 `package--description-file' (bug#14639).
32
33 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
34
35 * emacs-lisp/package.el (package-load-descriptor): Do not call
36 `emacs-lisp-mode', just use its syntax table.
37
38 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
39
40 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
41 `font-lock-extra-managed-props' if any prettifying keyword is added.
42 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
43 (prog-mode): Use `setq-local'.
44
45 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
46
47 * international/characters.el (standard-case-table): Set syntax of ?»
48 and ?« to punctuation.
49
50 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
51
52 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
53 Save relevant match data before calling `syntax-ppss' (bug#14595).
54
55 2013-06-15 Juri Linkov <juri@jurta.org>
56
57 * files-x.el (modify-file-local-variable-prop-line): Add local
58 variables to the end of the existing comment on the first line.
59 Use `file-auto-mode-skip' to skip interpreter magic line,
60 and also skip XML declaration.
61
62 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
63
64 * startup.el (package--builtin-versions): New var.
65 (package-subdirectory-regexp): Remove.
66 (package--description-file): Hard code its value instead.
67
68 * emacs-lisp/package.el: Don't activate packages older than builtin.
69 (package-obsolete-list): Rename from package-obsolete-alist, and make
70 it into a simple list of package-desc.
71 (package-strip-version): Remove.
72 (package-built-in-p): Use package--builtin-versions.
73 (package-mark-obsolete): Simplify.
74 (package-process-define-package): Mark it obsolete if older than the
75 builtin version.
76 (package-handle-response): Use line-end-position.
77 (package-read-archive-contents, package--download-one-archive):
78 Simplify.
79 (package--add-to-archive-contents): Skip if older than the builtin or
80 installed version.
81 (package-menu-describe-package): Fix last change.
82 (package-list-unversioned): New var.
83 (package-menu--generate): Use it.
84
85 * emacs-lisp/autoload.el: Manage package--builtin-versions.
86 (autoload--insert-text, autoload--insert-cookie-text): New functions.
87 (autoload-builtin-package-versions): New variable.
88 (autoload-generate-file-autoloads): Use them.
89 Remove the list of autoloaded functions/macros from the
90 (autoload...) comments.
91
92 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
93
94 2013-06-15 Eli Zaretskii <eliz@gnu.org>
95
96 * simple.el (line-move-partial): Don't jump to the next screen
97 line as soon as it becomes visible. Instead, continue enlarging
98 the vscroll until the portion of a tall screen line that's left on
99 display is about the height of the frame's default font.
100 (Bug#14567)
101
102 2013-06-15 Glenn Morris <rgm@gnu.org>
103
104 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
105 compilation-error-regexp-alist void, or local while let-bound.
106
107 * progmodes/make-mode.el (makefile-mode-syntax-table):
108 Treat "=" as punctuation. (Bug#14614)
109
110 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
111
112 * help-fns.el (describe-variable):
113 Add extra line for permanent-local variables.
114
115 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
116
117 * progmodes/scheme.el (scheme-font-lock-keywords-2):
118 Add export, import, library. (Bug#9164)
119 (library): Set indent function.
120
121 2013-06-14 Glenn Morris <rgm@gnu.org>
122
123 * term/xterm.el (xterm--query):
124 Stop after first matching handler. (Bug#14615)
125
126 2013-06-14 Ivan Kanis <ivan@kanis.fr>
127
128 Add support for dired in saveplace.
129 * dired.el (dired-initial-position-hook): New variable.
130 (dired-initial-position): Call hook to place cursor position.
131 * saveplace.el (save-place-to-alist): Add dired position.
132 (save-place-dired-hook): New function.
133
134 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
135
136 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
137 through a symbol rather than letrec.
138
139 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
140 (package-desc): Add `dir' field.
141 (package-desc-full-name): New function.
142 (package-load-descriptor): Combine the two arguments. Don't use `load'.
143 (package-maybe-load-descriptor): Remove.
144 (package-load-all-descriptors): Just call package-load-descriptor.
145 (package--disabled-p): New function.
146 (package-desc-vers, package-desc-doc): Remove aliases.
147 (package--dir): Remove function.
148 (package-activate): Check if a package is disabled.
149 (package-process-define-package): New function, extracted from
150 define-package.
151 (define-package): Turn into a place holder.
152 (package-unpack-single, package-tar-file-info):
153 Use package--description-file.
154 (package-compute-transaction): Use package--disabled-p.
155 (package-download-transaction): Don't call
156 package-maybe-load-descriptor since they're all loaded anyway.
157 (package-install): Change argument to be a pkg-desc.
158 (package-delete): Use a single pkg-desc argument.
159 (describe-package-1): Use package-desc-dir instead of package--dir.
160 Use package-desc property instead of package-symbol.
161 (package-install-button-action): Adjust accordingly.
162 (package--push): Rewrite.
163 (package-menu--print-info): Adjust accordingly. Change the ID format
164 to be a pkg-desc.
165 (package-menu-describe-package, package-menu-get-status)
166 (package-menu--find-upgrades, package-menu-mark-upgrades)
167 (package-menu-execute, package-menu--name-predicate):
168 Adjust accordingly.
169 * startup.el (package--description-file): New function.
170 (command-line): Use it.
171 * emacs-lisp/package-x.el (package-upload-buffer-internal):
172 Use package-desc-version.
173
174 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
175 (byte-compile-preprocess): Use it.
176 (byte-compile-file-form-defalias): Try a bit harder to use macros we
177 can't quite recognize.
178 (byte-compile-add-to-list): Remove.
179 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
180 (cconv-closure-convert): Add assertion.
181
182 * emacs-lisp/map-ynp.el: Use lexical-binding.
183 (map-y-or-n-p): Remove unused vars `tail' and `object'.
184 Factor out some repeated code.
185
186 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
187
188 * subr.el (with-eval-after-load): New macro.
189 (eval-after-load): Allow form to be a function.
190 take advantage of lexical-binding.
191 (do-after-load-evaluation): Use dolist and adjust to new format.
192 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
193
194 2013-06-13 Juri Linkov <juri@jurta.org>
195
196 * replace.el (perform-replace): Display "symbol " and other search
197 modes from `isearch-message-prefix' in the *Help* buffer.
198
199 * isearch.el (isearch-query-replace): Add " symbol" and other
200 possible search modes from `isearch-message-prefix' to the prompt.
201 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
202 when reading a regexp to collect.
203
204 2013-06-13 Juri Linkov <juri@jurta.org>
205
206 * isearch.el (word-search-regexp): Match whitespace if the search
207 string begins or ends in whitespace. The LAX arg is applied to
208 both ends of the search string. Use `regexp-quote' and explicit
209 \< and \> instead of \b. Use \` and \' instead of ^ and $.
210 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
211 boundaries are replaced with symbol boundaries, and characters
212 between symbols match non-word non-symbol syntax. (Bug#14602)
213
214 2013-06-13 Juri Linkov <juri@jurta.org>
215
216 * isearch.el (isearch-del-char): Don't exceed the length of
217 `isearch-string' by the prefix arg. (Bug#14563)
218
219 2013-06-13 Juri Linkov <juri@jurta.org>
220
221 * isearch.el (isearch-yank-word, isearch-yank-line)
222 (isearch-char-by-name, isearch-quote-char)
223 (isearch-printing-char, isearch-process-search-char):
224 Add optional count prefix arg. (Bug#14563)
225
226 * international/isearch-x.el
227 (isearch-process-search-multibyte-characters):
228 Add optional count prefix arg.
229
230 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
231
232 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
233 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
234 lexical-binding.
235
236 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
237
238 * subr.el (set-temporary-overlay-map): Add on-exit argument.
239
240 2013-06-13 Glenn Morris <rgm@gnu.org>
241
242 * startup.el (tty-handle-args):
243 Don't just discard "--" and anything after. (Bug#14608)
244
245 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
246
247 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
248
249 Implement changes in Secret Service API. Make it backward compatible.
250 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
251 (secrets-create-item): Use it. Prefix properties with interface.
252
253 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
254
255 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
256 (term-emulate-terminal): Respect term-suppress-hard-newline.
257
258 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
259
260 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
261 Only remove a `thumb-file' overlay. (Bug#14548)
262
263 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
264
265 * mail/reporter.el (reporter-submit-bug-report):
266 Handle missing package-name. (Bug#14600)
267
268 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
269
270 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
271 (reftex-citation-prompt, reftex-default-bibliography)
272 (reftex-bib-or-thebib, reftex-get-bibfile-list)
273 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
274 (reftex-bib-sort-author, reftex-bib-sort-year)
275 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
276 (reftex-extract-bib-entries-from-thebibliography)
277 (reftex-get-bibkey-default, reftex-get-bib-names)
278 (reftex-parse-bibtex-entry, reftex-get-bib-field)
279 (reftex-format-bib-entry, reftex-parse-bibitem)
280 (reftex-format-bibitem, reftex-do-citation)
281 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
282 (reftex-restrict-bib-matches, reftex-extract-bib-file)
283 (reftex-insert-bib-matches, reftex-format-citation)
284 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
285 (reftex-create-bibtex-file): Add docstrings, mostly by converting
286 existing comments into docstrings.
287
288 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
289
290 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
291
292 2013-06-12 Andreas Schwab <schwab@suse.de>
293
294 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
295 for auto-save files.
296
297 2013-06-12 Glenn Morris <rgm@gnu.org>
298
299 * ido.el (ido-delete-ignored-files): Remove.
300 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
301 Go back to calling ido-ignore-item-p directly.
302
303 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
304
305 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
306
307 * ido.el (ido-delete-ignored-files): New function,
308 split from ido-make-file-list-1.
309 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
310 (ido-make-file-list-1): Use ido-delete-ignored-files.
311
312 2013-06-12 Leo Liu <sdl.web@gmail.com>
313
314 * progmodes/octave.el (inferior-octave-startup)
315 (inferior-octave-completion-table)
316 (inferior-octave-track-window-width-change)
317 (octave-eldoc-function-signatures, octave-help)
318 (octave-find-definition): Use single quoted strings.
319 (inferior-octave-startup-args): Change default value.
320 (inferior-octave-startup): Do not hard code "-i" and
321 "--no-line-editing".
322 (inferior-octave-resync-dirs): Add optional arg NOERROR.
323 (inferior-octave-directory-tracker): Use it.
324 (octave-goto-function-definition): Robustify.
325 (octave-help): Support highlighting operators in 'See also'.
326 (octave-find-definition): Find subfunctions only in Octave mode.
327
328 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
329
330 * help-fns.el (help-fns--compiler-macro): If the handler function is
331 named, then put a link to it.
332 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
333 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
334 (cl-typep): Use it.
335 (cl-eval-when): Simplify debug spec.
336 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
337 compiler-macro function instead of setting `compiler-macro-file'.
338
339 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
340
341 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
342 * vc/vc-hooks.el (vc-stay-local): Doc fix.
343
344 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
345 Daniel Hackney <dan@haxney.org>
346
347 First part of Daniel Hackney's patch to package.el.
348 * emacs-lisp/package.el: Use defstruct.
349 (package-desc): New, main struct.
350 (package--bi-desc, package--ac-desc): New structs, used to describe the
351 format in external files.
352 (package-desc-vers): Replace with package-desc-version accessor.
353 (package-desc-doc): Replace with package-desc-summary accessor.
354 (package-activate-1): Remove `package' arg since the pkg-vec now
355 includes the name.
356 (define-package): Use package-desc-from-define.
357 (package-unpack-single): Change file-name arg to be a symbol.
358 (package--add-to-archive-contents): Use package-desc-create and new
359 accessor functions to package--ac-desc.
360 (package-buffer-info, package-tar-file-info): Return a package-desc.
361 (package-install-from-buffer): Remove `type' argument. Change pkg-info
362 arg to be a package-desc.
363 (package-install-file): Adjust accordingly. Use \' to match EOS.
364 (package--from-builtin): New function.
365 (describe-package-1, package-menu--generate): Use it.
366 (package--make-autoloads-and-compile): Change name arg to be a symbol.
367 (package-generate-autoloads): Idem and return the name of the file.
368 * emacs-lisp/package-x.el (package-upload-buffer-internal):
369 Change pkg-info arg to be a package-desc.
370 Use package-make-ac-desc.
371 (package-upload-file): Use \' to match EOS.
372 * finder.el (finder-compile-keywords): Use package-make-builtin.
373
374 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
375
376 * vc/vc.el (vc-deduce-fileset): Change error message.
377 (vc-read-backend): New function.
378 (vc-next-action): Use it.
379
380 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
381
382 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
383 (prolog-font-lock-keywords): Use regexp-opt instead.
384 Don't manually highlight strings.
385 (prolog-mode-variables): Simplify comment-start-skip.
386 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
387
388 * emacs-lisp/generic.el (generic--normalise-comments)
389 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
390 (generic-mode-set-comments): Use them.
391 (generic-bracket-support): Use setq-local.
392 (generic-make-keywords-list): Declare obsolete.
393
394 2013-06-11 Glenn Morris <rgm@gnu.org>
395
396 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
397 Prettify after setting font-lock-defaults. (Bug#14574)
398
399 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
400
401 * replace.el (query-replace, occur-read-regexp-defaults-function)
402 (replace-search):
403 * subr.el (declare-function, number-sequence, local-set-key)
404 (substitute-key-definition, locate-user-emacs-file)
405 (with-silent-modifications, split-string, eval-after-load):
406 Fix typos, remove unneeded backslashes and reflow some docstrings.
407
408 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
409
410 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
411 default for Elisp files.
412
413 2013-06-11 Glenn Morris <rgm@gnu.org>
414
415 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
416 although define-derived-mode was doing this anyway. (Bug#14583)
417
418 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
419
420 * allout.el (allout-encryption-plaintext-sanitization-regexps):
421 Fix make-variable-buffer-local call to refer to the correct variable.
422
423 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
424
425 * eshell/em-term.el (eshell-visual-commands)
426 (eshell-visual-subcommands, eshell-visual-options):
427 Add summary line to docstrings. Add cross-references.
428
429 2013-06-10 Glenn Morris <rgm@gnu.org>
430
431 * epa.el (epa-read-file-name): New function. (Bug#14510)
432 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
433
434 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
435
436 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
437 output redirection to be ignored with visual commands.
438
439 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
440
441 * eshell/em-term.el (eshell-visual-command-p): New function.
442 (eshell-term-initialize): Move long lambda to separate function
443 eshell-visual-command-p.
444 * eshell/em-dirs.el (eshell-dirs-initialise):
445 * eshell/em-script.el (eshell-script-initialize):
446 Add missing #' to lambda.
447
448 2013-06-08 Leo Liu <sdl.web@gmail.com>
449
450 * progmodes/octave.el (octave-add-log-current-defun): New function.
451 (octave-mode): Set add-log-current-defun-function.
452 (octave-goto-function-definition): Do not move point if not found.
453 (octave-find-definition): Enhance to try subfunctions first.
454
455 2013-06-08 Glenn Morris <rgm@gnu.org>
456
457 * emacs-lisp/bytecomp.el (byte-compile-char-before)
458 (byte-compile-backward-char, byte-compile-backward-word):
459 Improve previous change, to handle non-explicit nil.
460
461 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
462
463 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
464 (smie--opener/closer-at-point): New function.
465 (smie--matching-block-data): Use it. Don't match from right after an
466 opener or right before a closer. Obey smie-blink-matching-inners.
467 Don't signal a mismatch for repeated inners like "switch..case..case".
468
469 2013-06-07 Leo Liu <sdl.web@gmail.com>
470
471 * progmodes/octave.el (octave-mode): Set comment-use-global-state
472 to t. (Bug#14303)
473 (octave-function-header-regexp): Fix. (Bug#14570)
474 (octave-help-mode-finish-hook, octave-help-mode-finish):
475 Remove. Just use temp-buffer-show-hook.
476
477 * newcomment.el (comment-search-backward): Revert last change.
478 (Bug#14434)
479
480 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
481
482 2013-06-07 Eli Zaretskii <eliz@gnu.org>
483
484 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
485 through xargs, to avoid failure due to MS-Windows limitations on
486 command-line length.
487
488 2013-06-06 Glenn Morris <rgm@gnu.org>
489
490 * font-lock.el (lisp-font-lock-keywords-2):
491 Treat user-error like error.
492
493 * emacs-lisp/bytecomp.el (byte-compile-char-before)
494 (byte-compile-backward-char, byte-compile-backward-word):
495 Handle explicit nil arguments. (Bug#14565)
496
497 2013-06-05 Alan Mackenzie <acm@muc.de>
498
499 * isearch.el (isearch-allow-prefix): New user option.
500 (isearch-other-meta-char): Don't exit isearch when a prefix
501 argument is typed whilst `isearch-allow-prefix' is non-nil.
502 (Bug#9706)
503
504 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
505
506 * autorevert.el (auto-revert-notify-handler): Use memq.
507 Hide assertion failure.
508
509 * skeleton.el: Use cl-lib.
510 (skeleton-further-elements): Use defvar-local.
511 (skeleton-insert): Use cl-progv.
512
513 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
514
515 * progmodes/prog-mode.el (prog-prettify-symbols)
516 (prog-prettify-install): Update docstrings.
517
518 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
519
520 * simple.el: Move all the prog-mode code to prog-mode.el.
521 * progmodes/prog-mode.el: New file.
522 * loadup.el: Add prog-mode.el.
523
524 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
525
526 * simple.el (prog-prettify-symbols): Add version.
527 (prog-prettify-install): Add convenience function to prettify symbols.
528
529 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
530 (perl--augmented-font-lock-keywords-1)
531 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
532 variables and use it.
533
534 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
535 (cfengine3-mode): Remove unneeded variable and use it.
536
537 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
538 (lisp--augmented-font-lock-keywords-1)
539 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
540 Remove unneeded variables and use it.
541
542 2013-06-05 João Távora <joaotavora@gmail.com>
543
544 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
545 to point when opening the connection. (Bug#14380)
546
547 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
548
549 * subr.el (load-history-regexp, load-history-filename-element)
550 (eval-after-load, after-load-functions, do-after-load-evaluation)
551 (eval-next-after-load, display-delayed-warnings)
552 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
553 definition of save-match-data.
554 (overriding-local-map): Remove accidental obsolescence declaration.
555
556 * emacs-lisp/edebug.el (edebug-result): Move before first use.
557
558 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
559
560 Generalize symbol prettify support to prog-mode and implement it
561 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
562 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
563 (prog--prettify-font-lock-compose-symbol)
564 (prog-prettify-font-lock-symbols-keywords): New variables and
565 functions to support symbol prettification.
566 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
567 (lisp--augmented-font-lock-keywords-1)
568 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
569 (lisp--prettify-symbols-alist): Implement prettify of lambda.
570 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
571 (cfengine3--prettify-symbols-alist, cfengine3-mode):
572 Implement prettify of -> => :: strings.
573 * progmodes/perl-mode.el (perl-prettify-symbols)
574 (perl--font-lock-compose-symbol)
575 (perl--font-lock-symbols-keywords): Move to prog-mode.
576 (perl--prettify-symbols-alist): Prettify -> => :: strings.
577 (perl-font-lock-keywords-1)
578 (perl-font-lock-keywords-2): Remove explicit prettify support.
579 (perl--augmented-font-lock-keywords)
580 (perl--augmented-font-lock-keywords-1)
581 (perl--augmented-font-lock-keywords-2, perl-mode):
582 Implement prettify support.
583
584 2013-06-05 Leo Liu <sdl.web@gmail.com>
585
586 Re-implement smie matching block highlight using
587 show-paren-data-function. (Bug#14395)
588 * emacs-lisp/smie.el (smie-matching-block-highlight)
589 (smie--highlight-matching-block-overlay)
590 (smie--highlight-matching-block-lastpos)
591 (smie-highlight-matching-block)
592 (smie-highlight-matching-block-mode): Remove.
593 (smie--matching-block-data-cache): New variable.
594 (smie--matching-block-data): New function.
595 (smie-setup): Use smie--matching-block-data for
596 show-paren-data-function.
597
598 * progmodes/octave.el (octave-mode-menu): Fix.
599 (octave-find-definition): Skip garbage lines.
600
601 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
602
603 Fix compilation error with simultaneous dynamic+lexical scoping.
604 Add warning when a defvar appears after the first let-binding.
605 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
606 (byte-compile-close-variables): Initialize it.
607 (byte-compile--declare-var): New function.
608 (byte-compile-file-form-defvar)
609 (byte-compile-file-form-define-abbrev-table)
610 (byte-compile-file-form-custom-declare-variable): Use it.
611 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
612 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
613 (byte-compile-bind): Handle dynamic bindings that shadow
614 lexical bindings.
615 (byte-compile-unbind): Make arg non-optional.
616 (byte-compile-let): Simplify.
617 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
618 (cconv--analyse-function, cconv-analyse-form): Populate it.
619 Protect byte-compile-bound-variables to limit the scope of defvars.
620 (cconv-analyse-form): Add missing rule for (defvar <foo>).
621 Remove unneeded rule for `declare'.
622
623 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
624 so as to avoid depending on cl-adjoin at run-time.
625 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
626
627 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
628 (macroexp--warn-and-return): Use it.
629
630 2013-06-05 Leo Liu <sdl.web@gmail.com>
631
632 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
633
634 2013-06-04 Leo Liu <sdl.web@gmail.com>
635
636 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
637 (compilation-auto-jump): Suppress the "Mark set" message to give
638 way to exit message.
639
640 2013-06-04 Alan Mackenzie <acm@muc.de>
641
642 Remove faulty optimisation from indentation calculation.
643 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
644 search limit based on 2000 characters back from indent-point.
645
646 2013-06-03 Tassilo Horn <tsdh@gnu.org>
647
648 * eshell/em-term.el (cl-lib): Require `cl-lib'.
649
650 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
651
652 * emacs-lisp/lisp.el: Use lexical-binding.
653 (lisp--local-variables-1, lisp--local-variables): New functions.
654 (lisp--local-variables-completion-table): New var.
655 (lisp-completion-at-point): Use it complete let-bound vars.
656
657 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
658 eagerly (bug#14422).
659
660 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
661
662 * autorevert.el (auto-revert-notify-enabled)
663 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
664 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
665 (auto-revert-notify-handler): Handle also gfilenotify.
666
667 * subr.el (file-notify-handle-event): New defun. Replacing ...
668 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
669 Remove.
670
671 2013-06-03 Juri Linkov <juri@jurta.org>
672
673 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
674 `M-s h .'. (Bug#14427)
675
676 * hi-lock.el (highlight-symbol-at-point): New alias for the new
677 command `hi-lock-face-symbol-at-point'.
678 (hi-lock-face-symbol-at-point): New command.
679 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
680 (hi-lock-menu): Add `highlight-symbol-at-point'.
681 (hi-lock-mode): Doc fix.
682
683 * isearch.el (isearch-forward-symbol-at-point): New command.
684 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
685 (isearch-highlight-regexp): Add a regexp which matches
686 words/symbols for word/symbol mode.
687
688 * subr.el (find-tag-default-bounds): New function with the body
689 mostly moved from `find-tag-default'.
690 (find-tag-default): Move most code to `find-tag-default-bounds',
691 call it and apply `buffer-substring-no-properties' afterwards.
692
693 2013-06-03 Tassilo Horn <tsdh@gnu.org>
694
695 * eshell/em-term.el (eshell-term-initialize):
696 Use `cl-intersection' rather than `intersection'.
697
698 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
699
700 * vc/log-view.el: Doc fix.
701 (log-view-mode-map): Copy keymap from `special-mode-map'.
702
703 2013-06-02 Eric Ludlam <zappo@gnu.org>
704
705 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
706 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
707 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
708 (eieio-unbound, eieio-default-superclass)
709 (eieio--define-field-accessors, method-static, method-before)
710 (method-primary, method-after, method-num-lists)
711 (method-generic-before, method-generic-primary)
712 (method-generic-after, method-num-slots)
713 (eieio-specialized-key-to-generic-key)
714 (eieio--check-type, class-v, class-p)
715 (eieio-class-name, define-obsolete-function-alias)
716 (eieio-class-parents-fast, eieio-class-children-fast)
717 (same-class-fast-p, class-constructor, generic-p)
718 (generic-primary-only-p, generic-primary-only-one-p)
719 (class-option-assoc, class-option, eieio-object-p)
720 (class-abstract-p, class-method-invocation-order)
721 (eieio-defclass-autoload-map, eieio-defclass-autoload)
722 (eieio-class-un-autoload, eieio-defclass)
723 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
724 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
725 (eieio--defgeneric-init-form, eieio-defgeneric-form)
726 (eieio-defgeneric-reset-generic-form)
727 (eieio-defgeneric-form-primary-only)
728 (eieio-defgeneric-reset-generic-form-primary-only)
729 (eieio-defgeneric-form-primary-only-one)
730 (eieio-defgeneric-reset-generic-form-primary-only-one)
731 (eieio-unbind-method-implementations)
732 (eieio--defmethod, eieio--typep)
733 (eieio-perform-slot-validation, eieio-validate-slot-value)
734 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
735 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
736 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
737 (eieio-slot-name-index, eieio-class-slot-name-index)
738 (eieio-set-defaults, eieio-initarg-to-attribute)
739 (eieio-attribute-to-initarg, eieio-c3-candidate)
740 (eieio-c3-merge-lists, eieio-class-precedence-c3)
741 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
742 (eieio-class-precedence-list, eieio-generic-call-methodname)
743 (eieio-generic-call-arglst, eieio-generic-call-key)
744 (eieio-generic-call-next-method-list)
745 (eieio-pre-method-execution-functions, eieio-generic-call)
746 (eieio-generic-call-primary-only, eieiomt-method-list)
747 (eieiomt-optimizing-obarray, eieiomt-install)
748 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
749 (eieio-generic-form, eieio-defmethod, make-obsolete)
750 (eieio-defgeneric, make-obsolete): Move to eieio-core.el
751 (defclass): Remove `eval-and-compile' from macro.
752 (call-next-method, shared-initialize): Instead of using
753 `scoped-class' variable, use new eieio--scoped-class, and
754 eieio--with-scoped-class.
755 (initialize-instance): Rename local variable 'scoped-class' to
756 'this-class' to remove ambiguitity from old global.
757
758 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
759 eieio.el.
760 (eieio--scoped-class-stack): New variable
761 (eieio--scoped-class): New fcn
762 (eieio--with-scoped-class): New scoping macro.
763 (eieio-defclass): Use pushnew instead of add-to-list.
764 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
765 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
766 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
767 `scoped-class' variable, use new eieio--scoped-class, and
768 eieio--with-scoped-class.
769
770 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
771
772 2013-06-02 Tassilo Horn <tsdh@gnu.org>
773
774 * eshell/esh-ext.el (eshell-external-command): Pass args to
775 `eshell-find-interpreter'.
776 (eshell-find-interpreter): Add new second parameter ARGS.
777
778 * eshell/em-script.el (eshell-script-initialize): Add second arg
779 to the function added as MATCH to `eshell-interpreter-alist'.
780
781 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
782 the function added as MATCH to `eshell-interpreter-alist'.
783
784 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
785 (eshell-visual-options): New defcustom.
786 (eshell-escape-control-x): Adapt docstring.
787 (eshell-term-initialize): Test `eshell-visual-subcommands' and
788 `eshell-visual-options' in addition to `eshell-visual-commands'.
789 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
790
791 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
792
793 * progmodes/python.el (python-indent-block-enders): Add break,
794 continue and raise keywords.
795
796 2013-06-01 Glenn Morris <rgm@gnu.org>
797
798 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
799
800 Plain (f)boundp silences compilation warnings since Emacs 22.1.
801 * progmodes/cc-cmds.el (delete-forward-p):
802 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
803 * progmodes/cc-engine.el (buffer-syntactic-context):
804 * progmodes/cc-fonts.el (face-property-instance):
805 * progmodes/cc-mode.el (set-keymap-parents):
806 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
807 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
808 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
809 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
810 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
811
812 * progmodes/cc-vars.el (other): Emacs has this widget since
813 at least 21.1, so don't (re)define it.
814
815 * eshell/em-cmpl.el (eshell-cmpl-initialize):
816 Replace the obsolete alias pcomplete-arg-quote-list.
817
818 2013-06-01 Leo Liu <sdl.web@gmail.com>
819
820 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
821 punctuation syntax.
822 (inferior-octave-minimal-columns)
823 (inferior-octave-last-column-width): New variables.
824 (inferior-octave-track-window-width-change): New function.
825 (inferior-octave-mode): Adjust column width so that Octave output,
826 for example from 'ls', can fit into the window nicely.
827
828 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
829
830 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
831 Highlight expansions inside regexp literals.
832
833 2013-05-31 Glenn Morris <rgm@gnu.org>
834
835 * obsolete/sym-comp.el (symbol-complete):
836 Replace obsolete completion-annotate-function.
837
838 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
839
840 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
841
842 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
843 New function, checks if point is inside a literal that allows
844 expression expansion.
845 (ruby-syntax-propertize-expansion): Use it.
846 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
847 around the body.
848
849 2013-05-30 Juri Linkov <juri@jurta.org>
850
851 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
852 to "\M-si".
853 (isearch-invisible): New variable.
854 (isearch-forward): Doc fix.
855 (isearch-mode): Set `isearch-invisible'
856 to the value of `search-invisible'.
857 (isearch-toggle-case-fold): Doc fix.
858 (isearch-toggle-invisible): New command.
859 (isearch-query-replace): Let-bind `search-invisible'
860 to the value of `isearch-invisible'.
861 (isearch-search): Use `isearch-invisible' instead of
862 `search-invisible'. Let-bind `search-invisible'
863 to the value of `isearch-invisible'. (Bug#11378)
864
865 2013-05-30 Juri Linkov <juri@jurta.org>
866
867 * replace.el (perform-replace): Avoid `isearch-range-invisible'
868 call when `query-flag' is nil and `search-invisible' is non-nil.
869 (Bug#11746)
870
871 2013-05-30 Glenn Morris <rgm@gnu.org>
872
873 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
874
875 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
876 (cc-require): Suppress spurious "noruntime" warnings.
877 (cc-require-when-compile): Use fboundp, for sake of compiler.
878
879 * progmodes/cc-mode.el: Move load of cc-vars before that of
880 cc-langs (which in turn loads cc-vars), to quieten compiler.
881
882 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
883
884 * paren.el: Simplify the code.
885 (show-paren-mode): Always start the timer.
886 (show-paren--idle-timer): Rename from show-paren-idle-timer.
887 (show-paren--overlay, show-paren--overlay-1): Rename from
888 show-paren-overlay and show-paren-overlay-1, and initialize to an
889 overlay rather than to nil.
890 (show-paren-function): Misc cleanup and simplifications.
891
892 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
893
894 * paren.el (show-paren-data-function): New hook.
895 (show-paren--default): New function, extracted from show-paren-function.
896 (show-paren-function): Use show-paren-data-function.
897
898 2013-05-30 Glenn Morris <rgm@gnu.org>
899
900 * ielm.el (ielm-map, ielm-complete-symbol):
901 Use completion-at-point rather than obsolete functions.
902 (inferior-emacs-lisp-mode): Doc fix.
903 Set completion-at-point-functions, rather than
904 comint-dynamic-complete-functions.
905
906 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
907 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
908 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
909
910 * image.el (image-animated-p): Tweak definition.
911
912 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
913 (rlogin-process-connection-type): Tweak default. Add set-after.
914 (rlogin-host): Doc fix.
915 (rlogin): Tweak prompt.
916 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
917
918 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
919 * progmodes/tcl.el (inferior-tcl-mode-map):
920 Use completion-at-point rather than obsolete alias.
921
922 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
923
924 * minibuffer.el (read-file-name-completion-ignore-case):
925 Move before completion--in-region, for eager macro expansion.
926
927 2013-05-29 Juri Linkov <juri@jurta.org>
928
929 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
930 for total count of matching lines. Add `global-matches' for total
931 count of matches. Rename `matches' to `lines' for count of
932 matching lines. Add `matches' for count of matches.
933 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
934 to `prev-line' for line number of prev match endpt.
935 Increment `matches' for every match. Print the number of
936 matching lines in the header.
937 (occur-context-lines): Rename `lines' to `curr-line'.
938 Rename `prev-lines' to `prev-line'. (Bug#14017)
939
940 2013-05-29 Juri Linkov <juri@jurta.org>
941
942 * replace.el (perform-replace): Add `skip-read-only-count',
943 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
944 Increment them for corresponding conditions and report the number
945 of skipped occurrences in the final message. (Bug#11746)
946 (query-replace, query-replace-regexp, query-replace-regexp-eval)
947 (replace-string, replace-regexp): Doc fix.
948
949 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
950
951 * emacs-lisp/trace.el (trace--read-args): Provide a default.
952
953 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
954 prog-mode-map (bug#14504).
955
956 2013-05-29 Leo Liu <sdl.web@gmail.com>
957
958 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
959 (octave-help): Small simplification.
960
961 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
962 off the highlight first.
963
964 2013-05-29 Glenn Morris <rgm@gnu.org>
965
966 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
967 Handle idlwave-last-system-routine-info-cons-cell being nil.
968
969 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
970 (idlwave-write-paths): Simplify via with-temp-buffer.
971
972 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
973 * emulation/cua-rect.el: Also load cua-base at run time.
974
975 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
976 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
977 (cperl-imenu-on-info): Require imenu.
978
979 2013-05-28 Alan Mackenzie <acm@muc.de>
980
981 Handle "capitalised keywords" correctly.
982 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
983
984 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
985
986 * eshell/em-unix.el: Add -r option to cp.
987
988 2013-05-28 Glenn Morris <rgm@gnu.org>
989
990 * vc/vc-arch.el (vc-exec-after): Declare.
991 (vc-switches): Autoload.
992 * vc/vc-bzr.el: No need to require vc when compiling.
993 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
994 (vc-resynch-buffer, vc-dir-refresh): Declare.
995 (vc-setup-buffer, vc-switches): Autoload.
996 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
997 (vc-resynch-buffer): Declare.
998 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
999 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
1000 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
1001 (grep-read-regexp, grep-read-files, grep-expand-template)
1002 (vc-dir-refresh): Declare.
1003 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
1004 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
1005 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
1006 * vc/vc-mtn.el (vc-exec-after): Declare.
1007 (vc-switches): Autoload.
1008 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
1009 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
1010 (vc-file-tree-walk): Declare.
1011 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
1012 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
1013 (vc-tag-precondition, vc-rename-master): Autoload.
1014 * vc/vc-svn.el (vc-exec-after): Declare.
1015 (vc-switches, vc-setup-buffer): Autoload.
1016 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
1017 Autoload.
1018 (vc-resynch-buffer): Declare.
1019
1020 * obsolete/fast-lock.el (byte-compile-warnings):
1021 Don't warn about obsolete features in this obsolete file.
1022
1023 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
1024 Move definition before use.
1025
1026 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
1027 (dun-unix-verbs): Remove dun-zippy.
1028 (dun-zippy): Remove function.
1029
1030 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
1031
1032 2013-05-27 Juri Linkov <juri@jurta.org>
1033
1034 * replace.el (replace-search): New function with code moved out
1035 from `perform-replace'.
1036 (replace-highlight, replace-dehighlight): Move function definitions
1037 up closer to `replace-search'. (Bug#11746)
1038
1039 2013-05-27 Juri Linkov <juri@jurta.org>
1040
1041 * replace.el (perform-replace): Ignore invisible matches.
1042 In addition to checking `query-replace-skip-read-only', also
1043 filter out matches by calling `run-hook-with-args-until-failure'
1044 on `isearch-filter-predicates', and also check `search-invisible'
1045 for t or call `isearch-range-invisible'.
1046 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
1047
1048 2013-05-27 Juri Linkov <juri@jurta.org>
1049
1050 * isearch.el (isearch-filter-predicates): Rename from
1051 `isearch-filter-predicate'. Doc fix. (Bug#11378)
1052 (isearch-message-prefix): Display text from the property
1053 `isearch-message-prefix' of the currently active filters.
1054 (isearch-search): Don't compare `isearch-filter-predicate' with
1055 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
1056 on `isearch-filter-predicates'. Also check `search-invisible' for t
1057 or call `isearch-range-invisible'.
1058 (isearch-filter-visible): Make obsolete.
1059 (isearch-lazy-highlight-search):
1060 Call `run-hook-with-args-until-failure' on
1061 `isearch-filter-predicates' and use `isearch-range-invisible'.
1062
1063 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
1064 `isearch-filter-predicates' instead of `funcall'ing
1065 `isearch-filter-predicate'.
1066 (Info-mode): Set `Info-isearch-filter' to
1067 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
1068
1069 * dired-aux.el (dired-isearch-filter-predicate-orig):
1070 Remove variable.
1071 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
1072 (dired-isearch-filenames-end): Add and remove
1073 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
1074 instead of changing the value of `isearch-filter-predicate'.
1075 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
1076 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
1077 Put property `isearch-message-prefix' to "filename " on
1078 `dired-isearch-filter-filenames'.
1079
1080 * wdired.el (wdired-change-to-wdired-mode):
1081 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
1082 locally instead of changing `isearch-filter-predicate'.
1083 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
1084
1085 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
1086
1087 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
1088 return the commit hash (Bug#14459). Also set the
1089 `vc-git-detached' property.
1090 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
1091 (vc-git-mode-line-string): Use the same help-echo format whether
1092 in detached mode or not, because we know the actual revision now.
1093 When in detached mode, shorten the revision to 7 chars.
1094
1095 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
1096
1097 * emacs-lisp/easy-mmode.el (define-minor-mode):
1098 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
1099 mode hook and provide a docstring.
1100
1101 2013-05-27 Alan Mackenzie <acm@muc.de>
1102
1103 Remove spurious syntax-table text properties inserted by C-y.
1104 * progmodes/cc-mode.el (c-after-change): Also clear hard
1105 syntax-table property with value nil.
1106
1107 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
1108
1109 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
1110 when reading the events; the buffer layout shall not be changed.
1111
1112 2013-05-27 Leo Liu <sdl.web@gmail.com>
1113
1114 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
1115 New variable.
1116 (inferior-octave-directory-tracker): Automatically re-sync
1117 default-directory.
1118 (octave-help): Improve handling of 'See also'.
1119
1120 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
1121
1122 * doc-view.el: Minor naming convention tweaks.
1123 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
1124
1125 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
1126 even if there's no `display' property yet (bug#14435).
1127
1128 2013-05-25 Eli Zaretskii <eliz@gnu.org>
1129
1130 * subr.el (unmsys--file-name): Rename from reveal-filename.
1131
1132 * Makefile.in (custom-deps, finder-data, autoloads)
1133 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
1134 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
1135 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
1136
1137 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
1138
1139 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
1140 error-completion on the first 2 args of condition-case (bug#14446).
1141 Don't burp at EOB.
1142
1143 2013-05-25 Leo Liu <sdl.web@gmail.com>
1144
1145 * comint.el (comint-previous-matching-input): Do not flood the
1146 *Messages* buffer with trivial messages.
1147
1148 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
1149
1150 * progmodes/flymake.el (flymake-nop): Don't return a string.
1151 (flymake-set-at): Fix typo.
1152
1153 * simple.el (read--expression): New function, extracted from
1154 eval-expression. Set completion-at-point-functions (bug#14465).
1155 (eval-expression, eval-minibuffer): Use it.
1156
1157 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
1158
1159 * progmodes/flymake.el (flymake-save-buffer-in-file)
1160 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
1161 (flymake-selected-frame, flymake-log, flymake-ins-after)
1162 (flymake-set-at, flymake-get-buildfile-from-cache)
1163 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
1164 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
1165 Refine the doc string.
1166 (flymake-get-file-name-mode-and-masks): Reformat.
1167 (flymake-get-real-file-name-function): Fix a minor bug.
1168
1169 2013-05-24 Juri Linkov <juri@jurta.org>
1170
1171 * progmodes/grep.el (grep-mode-font-lock-keywords):
1172 Support =linenumber= format used by git-grep for lines with
1173 function names. (Bug#13549)
1174
1175 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
1176
1177 * progmodes/octave.el (octave-smie-rules): Return nil rather than
1178 0 after a semi-colon; it works better for smie-auto-fill.
1179 (octave--indent-new-comment-line): New function.
1180 (octave-indent-new-comment-line): Use it (indirectly).
1181 (octave-mode): Don't disable smie-auto-fill. Use add-function to
1182 modify comment-line-break-function.
1183
1184 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
1185 (smie-setup): Use add-function to set it.
1186
1187 2013-05-24 Sam Steingold <sds@gnu.org>
1188
1189 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
1190 argument (before the `interactive' argument).
1191
1192 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
1193
1194 * image-mode.el (image-mode-winprops): Add winprops to
1195 image-mode-winprops-alist before running
1196 image-mode-new-window-functions.
1197 * doc-view.el (doc-view-new-window-function): Don't delay
1198 doc-view-goto-page via timers (bug#14435).
1199
1200 2013-05-24 Tassilo Horn <tsdh@gnu.org>
1201
1202 * doc-view.el: Integrate with desktop.el. (Bug#14435)
1203 (doc-view-desktop-save-buffer): New function.
1204 (doc-view-restore-desktop-buffer): New function.
1205 (desktop-buffer-mode-handlers):
1206 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
1207 handler.
1208 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
1209 `desktop-save-buffer' function.
1210
1211 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
1212
1213 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
1214 (tramp-gvfs-file-name-handler): Raise a user error when
1215 `tramp-gvfs-enabled' is nil.
1216 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
1217 Do not raise a user error when loading package. (Bug#14447)
1218
1219 * net/xesam.el: Move to obsolete/.
1220
1221 2013-05-24 Glenn Morris <rgm@gnu.org>
1222
1223 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
1224
1225 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
1226
1227 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
1228 (Info-find-node, Man-getpage-in-background): Declare.
1229
1230 * mail/unrmail.el (unrmail):
1231 Replace obsolete detect-coding-with-priority.
1232
1233 * net/socks.el (socks-split-string): Use this rather than split-string.
1234 (socks-nslookup-host): Update for above change.
1235 (dynamic-choice, s5-dynamic-choice-match)
1236 (s5-dynamic-choice-match-inline, s5-widget-value-create):
1237 Comment out unused code.
1238
1239 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
1240 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
1241 (gud-tooltip-echo-area): Make obsolete.
1242 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
1243
1244 * progmodes/js.el (js--optimize-arglist): Declare.
1245
1246 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
1247
1248 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
1249 (ediff-window-C): Declare.
1250
1251 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
1252 Tweak requires to silence compiler.
1253
1254 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
1255 (he-search-string, he-tried-table, he-expand-list)
1256 (he-init-string, he-string-member, he-substitute-string)
1257 (he-reset-string): Declare.
1258
1259 * obsolete/options.el (list-options): Use custom-variable-p,
1260 rather than obsolete alias.
1261
1262 2013-05-23 Sam Steingold <sds@gnu.org>
1263
1264 * simple.el (shell-command-on-region): Pass the `replace' argument
1265 down to `call-process-region' to comply with the doc as reported on
1266 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
1267
1268 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
1269
1270 * emacs-lisp/smie.el (smie-indent-forward-token)
1271 (smie-indent-backward-token): Handle string tokens (bug#14381).
1272
1273 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1274
1275 * ielm.el (ielm-menu): New menu.
1276 (inferior-emacs-lisp-mode): Set comment-start.
1277
1278 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1279
1280 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
1281 Fix deactivate action.
1282
1283 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
1284 Add cleveref macros.
1285
1286 * lisp/textmodes/reftex-parse.el
1287 (reftex-locate-bibliography-files): Accept options for
1288 bibliography commands.
1289 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
1290 Add addbibresource. Basic Biblatex support.
1291
1292 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
1293
1294 * net/tramp-gvfs.el (top):
1295 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
1296 when loading package. (Bug#14447)
1297
1298 2013-05-23 Glenn Morris <rgm@gnu.org>
1299
1300 * progmodes/js.el: No need to load comint when compiling.
1301 (ring-insert, comint-send-string, comint-send-input)
1302 (comint-last-input-end, ido-chop): Declare.
1303
1304 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
1305 * vc/ediff-mult.el: Adjust requires.
1306 (ediff-directories-internal, ediff-directory-revisions-internal)
1307 (ediff-patch-file-internal): Declare.
1308 * vc/ediff-ptch.el: Adjust requires.
1309 (ediff-use-last-dir, ediff-buffers-internal): Declare.
1310 (ediff-find-file): Autoload.
1311 * vc/ediff-util.el: No need to load ediff when compiling.
1312 (ediff-regions-internal): Declare.
1313 * vc/ediff-wind.el: Adjust requires.
1314 (ediff-compute-toolbar-width): Define when compiling.
1315 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
1316 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
1317 (dired-get-filename, dired-get-marked-files)
1318 (ediff-last-dir-patch, ediff-patch-default-directory)
1319 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
1320 (ediff-patch-buffer-internal): Declare.
1321
1322 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
1323 (ispell-process, ispell-buffer-local-words, lm-summary)
1324 (lm-section-start, lm-section-end): Declare.
1325 (checkdoc-ispell-init): Simplify.
1326
1327 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
1328 (he-string-member, he-reset-string, he-substitute-string): Declare.
1329
1330 * eshell/em-ls.el: Adjust requires.
1331 (eshell-glob-regexp): Declare.
1332 * eshell/em-tramp.el: Adjust requires.
1333 (eshell-parse-command): Autoload.
1334 * eshell/em-xtra.el: Adjust requires.
1335 (eshell-parse-command): Autoload.
1336 * eshell/esh-ext.el: Adjust requires.
1337 (eshell-parse-command, eshell-close-handles): Autoload.
1338 * eshell/esh-io.el: Adjust requires.
1339 (eshell-output-filter): Autoload.
1340 * eshell/esh-util.el: No need to load tramp when compiling.
1341 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
1342 Declare.
1343 (eshell-parse-ange-ls): Require ange-ftp and tramp.
1344 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
1345 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
1346 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
1347 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
1348 * eshell/esh-opt.el, eshell/esh-proc.el:
1349 * eshell/esh-var.el: Adjust requires.
1350 * eshell/eshell.el: Do not require esh-util twice.
1351 (eshell-add-input-to-history): Declare.
1352 (eshell-command): Check history module is active before using it.
1353
1354 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
1355
1356 2013-05-22 Leo Liu <sdl.web@gmail.com>
1357
1358 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
1359
1360 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
1361
1362 * autorevert.el (auto-revert-notify-add-watch)
1363 (auto-revert-notify-handler): Add `attrib' for the inotify case,
1364 it indicates changes in file modification time.
1365
1366 2013-05-22 Glenn Morris <rgm@gnu.org>
1367
1368 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
1369 Always delete the autoloaded function from the noruntime and
1370 unresolved functions lists.
1371
1372 * allout.el: No need to load epa, epg, overlay when compiling.
1373 (epg-context-set-passphrase-callback, epg-list-keys)
1374 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
1375 (epg-key-user-id-list): Declare.
1376
1377 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
1378 (viper-set-parsing-style-toggling-macro)
1379 (viper-set-emacs-state-searchstyle-macros):
1380 Use called-interactively-p on Emacs.
1381 (viper-looking-back): Make it an obsolete alias. Update callers.
1382 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
1383 Use looking-back rather than viper-looking-back.
1384 (viper-tmp-insert-at-eob, viper-enlarge-region)
1385 (viper-read-string-with-history, viper-register-to-point)
1386 (viper-append-to-register, viper-change-state-to-vi)
1387 (viper-backward-char-carefully, viper-forward-char-carefully)
1388 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
1389 (viper-change-state-to-emacs): Declare.
1390 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
1391 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
1392 * emulation/viper-mous.el: Do not load viper-cmd.
1393 (viper-backward-char-carefully, viper-forward-char-carefully)
1394 (viper-forward-word, viper-adjust-window): Declare.
1395
1396 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
1397
1398 * progmodes/idlw-help.el (idlwave-help-fontify):
1399 Use called-interactively-p.
1400
1401 * term/w32console.el (w32-get-console-codepage)
1402 (w32-get-console-output-codepage): Declare.
1403
1404 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
1405 Remove unnecessary declarations.
1406 (dframe-message): Doc fix.
1407
1408 * info.el (dframe-select-attached-frame, dframe-current-frame):
1409 Declare.
1410
1411 * speedbar.el (speedbar-message): Make it an obsolete alias.
1412 Update all callers.
1413 (speedbar-with-attached-buffer)
1414 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
1415 (speedbar-with-writable): Use backquote.
1416 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
1417 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
1418 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
1419 rather than speedbar- aliases.
1420 * mail/rmail.el: Load dframe rather than speedbar when compiling.
1421 (speedbar-make-specialized-keymap, speedbar-insert-button)
1422 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
1423 (speedbar-do-function-pointer): Declare.
1424 (rmail-speedbar-button, rmail-speedbar-find-file)
1425 (rmail-speedbar-move-message):
1426 Use dframe-with-attached-buffer rather than speedbar- alias.
1427 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
1428 (dframe-message, speedbar-make-specialized-keymap)
1429 (speedbar-add-expansion-list, speedbar-mode-functions-list)
1430 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
1431 (speedbar-insert-button, dframe-select-attached-frame)
1432 (dframe-maybee-jump-to-attached-frame)
1433 (speedbar-change-initial-expansion-list)
1434 (speedbar-previously-used-expansion-list-name): Declare.
1435 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
1436 Use dframe-message, dframe-with-attached-buffer rather than
1437 speedbar- aliases.
1438 (gud-sentinel): Silence compiler.
1439 * progmodes/vhdl-mode.el (speedbar-refresh)
1440 (speedbar-do-function-pointer, speedbar-add-supported-extension)
1441 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
1442 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
1443 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
1444 (speedbar-file-lists, speedbar-make-tag-line)
1445 (speedbar-line-directory, speedbar-goto-this-file)
1446 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
1447 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
1448 (speedbar-make-button, speedbar-reset-scanners)
1449 (speedbar-files-item-info, speedbar-line-text)
1450 (speedbar-find-file-in-frame, speedbar-set-timer)
1451 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
1452 (speedbar-with-writable): Do not (re)define it.
1453 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
1454 rather than speedbar- alias.
1455
1456 2013-05-21 Leo Liu <sdl.web@gmail.com>
1457
1458 * progmodes/octave.el (octave-mode-menu): Update and re-organize
1459 menu items.
1460 (octave-mode): Tweak fill-nobreak-predicate.
1461 (inferior-octave-startup): Check process to avoid infinite loop.
1462 (inferior-octave): Pop to buffer first to show abornmal process
1463 exit information.
1464
1465 2013-05-21 Glenn Morris <rgm@gnu.org>
1466
1467 * printing.el (pr-menu-bar): Define when compiling.
1468
1469 2013-05-21 Leo Liu <sdl.web@gmail.com>
1470
1471 * progmodes/octave.el (octave-auto-fill): Remove.
1472 (octave-indent-new-comment-line): Improve.
1473 (octave-mode): Use auto fill mode through
1474 comment-line-break-function and fill-nobreak-predicate
1475 (octave-goto-function-definition): Support DEFUN_DLD.
1476 (octave-beginning-of-defun): Small Tweak
1477 (octave-help): Show parent directory.
1478
1479 2013-05-21 Glenn Morris <rgm@gnu.org>
1480
1481 * files.el (dired-unmark):
1482 * progmodes/gud.el (gdb-input): Update declarations.
1483
1484 * calculator.el (electric, ehelp): No need to load when compiling.
1485 (Electric-command-loop, electric-describe-mode): Declare.
1486
1487 * doc-view.el (doc-view-current-converter-processes): Move before use.
1488
1489 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
1490 Move MODE-set-explicitly definition before use.
1491
1492 * international/mule-diag.el (mule-diag):
1493 Don't use obsolete window-system-version.
1494
1495 * mail/feedmail.el (smtpmail): No need to load when compiling.
1496 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
1497
1498 * mail/mail-utils.el (rfc822): No need to load when compiling.
1499 (rfc822-addresses): Autoload it.
1500 (mail-strip-quoted-names): Trivial simplification.
1501
1502 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
1503 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
1504
1505 * net/snmp-mode.el (tempo): Don't duplicate requires.
1506
1507 * progmodes/prolog.el (info): No need to load when compiling.
1508 (comint): Require before shell requires it.
1509 (Info-goto-node): Autoload it.
1510 (Info-follow-nearest-node): Declare.
1511 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
1512
1513 * textmodes/artist.el (picture-mode-exit): Declare.
1514
1515 * textmodes/reftex-parse.el (reftex-parse-from-file):
1516 Trivial rewrite so the compiler can parse it better.
1517
1518 2013-05-20 Leo Liu <sdl.web@gmail.com>
1519
1520 * progmodes/octave.el (octave-help-mode-map)
1521 (octave-help-mode-finish-hook): New variables.
1522 (octave-help-mode, octave-help-mode-finish): New functions.
1523 (octave-help): Use octave-help-mode.
1524
1525 2013-05-20 Glenn Morris <rgm@gnu.org>
1526
1527 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
1528
1529 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
1530
1531 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
1532 start at point, so that expansion starting right after opening
1533 slash in a regexp is recognized.
1534 (ruby-syntax-before-regexp-re): New defvar, extracted from
1535 ruby-syntax-propertize-function. Since the value of this regexp
1536 is looked up at runtime now, we should be able to turn
1537 `ruby-syntax-methods-before-regexp' into a defcustom later.
1538 (ruby-syntax-propertize-function): Split regexp matching into two
1539 parts, for opening and closing slashes. That allows us to skip
1540 over string interpolations and support multiline regexps.
1541 Don't call `ruby-syntax-propertize-expansions', instead use another rule
1542 for them, which calls `ruby-syntax-propertize-expansion'.
1543 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
1544 call to `ruby-syntax-propertize-function'.
1545 (ruby-syntax-propertize-expansion): Extracted from
1546 `ruby-syntax-propertize-expansions'. Handles one expansion.
1547 (ruby-syntax-propertize-percent-literal): Leave point right after
1548 the percent symbol, so that the expression expansion rule can
1549 propertize the contents.
1550 (ruby-syntax-propertize-heredoc): Leave point at bol following the
1551 heredoc openers.
1552 (ruby-syntax-propertize-expansions): Remove.
1553
1554 2013-05-18 Juri Linkov <juri@jurta.org>
1555
1556 * man.el (Man-default-man-entry): Remove `-' from the end
1557 of the default value. (Bug#14400)
1558
1559 2013-05-18 Glenn Morris <rgm@gnu.org>
1560
1561 * comint.el (comint-password-prompt-regexp):
1562 Allow "password for XXX" where XXX contains colons (eg https://...).
1563
1564 2013-05-18 Leo Liu <sdl.web@gmail.com>
1565
1566 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
1567 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
1568 (octave-source-directories): Don't check process.
1569 (octave-source-directories, octave-find-definition): Doc fix.
1570
1571 2013-05-18 Glenn Morris <rgm@gnu.org>
1572
1573 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
1574 Remove backspace/delete bindings. (Bug#14392)
1575
1576 * cus-dep.el (custom-make-dependencies): Sort the output.
1577 (custom-versions-load-alist): Convert comment to doc.
1578
1579 2013-05-17 Leo Liu <sdl.web@gmail.com>
1580
1581 * newcomment.el (comment-search-backward): Stricter in finding
1582 comment start. (Bug#14303)
1583
1584 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
1585 (octave-comment-start-skip): Properly anchored.
1586
1587 2013-05-17 Leo Liu <sdl.web@gmail.com>
1588
1589 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
1590 Clean up when turned off. (Bug#14395)
1591 (smie--highlight-matching-block-overlay): No longer buffer-local.
1592 (smie-highlight-matching-block): Adjust.
1593
1594 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
1595
1596 Doc string fix for "nanoseconds" (Bug#14406).
1597 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
1598 Fix doc string typo that had "nanoseconds" instead of "microseconds".
1599
1600 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
1601
1602 * calc/calc-units.el (math-extract-units): Preserve powers
1603 of units.
1604
1605 2013-05-17 Leo Liu <sdl.web@gmail.com>
1606
1607 * subr.el (delete-consecutive-dups): New function.
1608 * ido.el (ido-set-matches-1): Use it.
1609 * progmodes/octave.el (inferior-octave-completion-table): Use it.
1610 * ido.el (ido-remove-consecutive-dups): Remove.
1611
1612 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
1613
1614 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
1615 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
1616 regexp-opt's `words'.
1617
1618 2013-05-16 Leo Liu <sdl.web@gmail.com>
1619
1620 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
1621 (smie--highlight-matching-block-overlay)
1622 (smie--highlight-matching-block-lastpos)
1623 (smie--highlight-matching-block-timer): New variables.
1624 (smie-highlight-matching-block): New function.
1625 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
1626 (smie-setup): Conditionally enable smie-blink-matching-open.
1627
1628 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
1629
1630 Sync with upstream verilog-mode r840.
1631 * progmodes/verilog-mode.el (verilog-mode-version)
1632 (verilog-mode-release-date): Update.
1633 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
1634 (verilog-sig-tieoff): Fix string error on
1635 AUTORESET with colon define, bug594. Reported by Andrew Hou.
1636 (verilog-read-decls): Fix parameters confusing
1637 AUTOINST interfaces, bug565. Reported by Leith Johnson.
1638
1639 2013-05-16 Eli Zaretskii <eliz@gnu.org>
1640
1641 * subr.el (reveal-filename): New function.
1642
1643 * loadup.el: Compute Emacs executable versions on MS-Windows,
1644 where executables have the .exe extension. Add a hard link
1645 emacs-XX.YY.ZZ.exe on MS-Windows.
1646
1647 * Makefile.in (XARGS_LIMIT): New variable.
1648 (custom-deps, finder-data, autoloads)
1649 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
1650 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
1651 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
1652 (compile-main): Limit xargs according to $(XARGS_LIMIT).
1653
1654 2013-05-16 Leo Liu <sdl.web@gmail.com>
1655
1656 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
1657 (octave-mode-menu, octave-mode-map): Remove its uses.
1658
1659 2013-05-16 Reto Zimmermann <reto@gnu.org>
1660
1661 Sync with upstream vhdl mode v3.34.2.
1662 * progmodes/vhdl-mode.el: Use `push' throughout.
1663 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
1664 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
1665 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
1666 (vhdl-actual-generic-name): New option to derive actual generic name.
1667 (vhdl-port-paste-signals): Replace formal by actual generics.
1668 (vhdl-beautify): New name for old group vhdl-align. Update users.
1669 (vhdl-beautify-options): New option.
1670 (vhdl-last-input-event): New compat alias. Use throughout.
1671 (vhdl-goto-line): Replace user level function `goto-line'.
1672 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
1673 vhdl-fix-statement-buffer.
1674 (vhdl-create-mode-menu): Add some entries.
1675 (vhdl-align-region-groups): Respect vhdl-beautify-options.
1676 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
1677 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
1678 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
1679 to force statements on one line.
1680 (vhdl-remove-trailing-spaces-region):
1681 New, split from vhdl-remove-trailing-spaces.
1682 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
1683 Respect vhdl-beautify-options.
1684 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
1685 (vhdl-update-sensitivity-list): Not add with index if exists without.
1686 Not include array index with signal. Ignore keywords in comments.
1687 (vhdl-get-visible-signals): Regexp tweaks.
1688 (vhdl-template-component-inst): Handle empty library.
1689 (vhdl-template-type): Add template for 'enum' type.
1690 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
1691 Use vhdl-replace-string.
1692 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
1693 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
1694 (vhdl-speedbar-initialize): Update for above name change.
1695 (vhdl-compose-wire-components): Fix in handling of constants.
1696 (vhdl-error-regexp-emacs-alist): New variable.
1697 (vhdl-error-regexp-add-emacs): New function;
1698 adds support for new compile.el (Emacs 22+)
1699 (vhdl-generate-makefile-1): Change target order for single lib. units.
1700 Allow use of absolute file names.
1701
1702 2013-05-16 Leo Liu <sdl.web@gmail.com>
1703
1704 * simple.el (prog-indent-sexp): Indent enclosing defun.
1705
1706 2013-05-15 Glenn Morris <rgm@gnu.org>
1707
1708 * cus-start.el (show-trailing-whitespace): Move to editing basics.
1709 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
1710 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
1711 (whitespace-highlight): Move to whitespace group.
1712
1713 * comint.el (comint-source):
1714 * pcmpl-linux.el (pcmpl-linux):
1715 * shell.el (shell-faces):
1716 * eshell/esh-opt.el (eshell-opt):
1717 * international/ccl.el (ccl): Remove empty custom groups.
1718
1719 * completion.el (dynamic-completion-mode):
1720 * jit-lock.el (jit-lock-debug-mode):
1721 * minibuffer.el (completion-in-region-mode):
1722 * type-break.el (type-break-mode-line-message-mode)
1723 (type-break-query-mode):
1724 * emulation/tpu-edt.el (tpu-edt-mode):
1725 * progmodes/subword.el (global-subword-mode, global-superword-mode):
1726 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
1727 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
1728
1729 * term/xterm.el (xterm): Change parent group to terminals.
1730
1731 * master.el (master): Remove empty custom group.
1732 (master-mode): Remove unused :group argument.
1733 * textmodes/refill.el (refill): Remove empty custom group.
1734 (refill-mode): Remove unused :group argument.
1735
1736 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
1737
1738 * cus-dep.el: Provide a feature.
1739 (custom-make-dependencies): Ignore dotfiles (dir-locals).
1740 Don't mistakenly ignore files whose basenames match a basename
1741 from preloaded-file-list (eg cedet/ede/simple.el).
1742 Add a fallback method for getting :group.
1743
1744 2013-05-15 Juri Linkov <juri@jurta.org>
1745
1746 * isearch.el (isearch-char-by-name): Rename from
1747 `isearch-insert-char-by-name'. Doc fix.
1748 (isearch-forward): Mention `isearch-char-by-name' in
1749 the docstring. (Bug#13348)
1750
1751 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
1752 `exit-minibuffer' instead of
1753 `isearch-nonincremental-exit-minibuffer'.
1754 (isearch-edit-string): Remove mention of
1755 `isearch-nonincremental-exit-minibuffer' from docstring.
1756 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
1757 (isearch-forward-exit-minibuffer)
1758 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
1759
1760 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
1761
1762 * loadup.el: Just use unversioned DOC.
1763
1764 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
1765 literals as extending to EOB.
1766 (nxml-last-fontify-end): Remove unused variable.
1767 (nxml-after-change1): Use with-silent-modifications.
1768 (nxml-extend-after-change-region): Simplify.
1769 (nxml-extend-after-change-region1): Remove function.
1770 (nxml-after-change1): Don't adjust for dependent regions.
1771 (nxml-fontify-matcher): Simplify.
1772 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
1773 (xmltok-add-dependent): Remove function.
1774 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
1775 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
1776 (xmltok-scan-prolog-after-processing-instruction-open): Treat
1777 unclosed <[[, <?, comment, and other literals as extending to EOB.
1778 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
1779 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
1780 Remove functions.
1781 (rng-do-some-validation-1): Don't mark dependent regions.
1782 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
1783 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
1784 (nxml-clear-dependent-regions): Remove functions.
1785 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
1786 (nxml-ensure-scan-up-to-date):
1787 Don't clear&mark dependent regions.
1788
1789 2013-05-15 Leo Liu <sdl.web@gmail.com>
1790
1791 * progmodes/octave.el (octave-goto-function-definition):
1792 Improve and fix callers.
1793
1794 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
1795
1796 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
1797 the setter (bug#14387).
1798
1799 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
1800 surrounding group (bug#14402).
1801
1802 2013-05-14 Juri Linkov <juri@jurta.org>
1803
1804 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
1805 (Bug#14390)
1806
1807 2013-05-14 Glenn Morris <rgm@gnu.org>
1808
1809 * progmodes/f90.el (f90-imenu-generic-expression):
1810 Fix typo in 2013-05-08 change. (Bug#14402)
1811
1812 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
1813
1814 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
1815 Remove signals for which replies are never received.
1816
1817 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
1818
1819 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
1820 (gdb-handler-alist, gdb-handler-number): Remove variables.
1821 (gdb-handler-list): New variable.
1822 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
1823 (gdb-pending-handler-p, gdb-handle-reply)
1824 (gdb-remove-all-pending-triggers): New functions.
1825 (gdb-discard-unordered-replies): New defcustom.
1826 (gdb-handler): New defstruct.
1827 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
1828 instead of gdb-pending-triggers. Update docstring.
1829 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
1830 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
1831 (gdb-var-update-handler, def-gdb-auto-update-trigger)
1832 (def-gdb-auto-update-handler, gdb-get-changed-registers)
1833 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
1834 (gdb-frame-handler): Pending triggers are now automatically managed.
1835 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
1836 Remove argument.
1837 (gdb-input): Automatically handles pending triggers. Update docstring.
1838 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
1839 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
1840 Update comments.
1841 (gdb-done-or-error): Now use gdb-handle-reply.
1842
1843 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
1844
1845 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
1846 gdb-debug-log.
1847
1848 2013-05-14 Glenn Morris <rgm@gnu.org>
1849
1850 * subr.el (user-emacs-directory-warning): New option.
1851 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
1852
1853 2013-05-14 Leo Liu <sdl.web@gmail.com>
1854
1855 * progmodes/octave.el (octave-font-lock-keywords): Fix error
1856 during redisplay.
1857 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
1858 (octave-font-lock-texinfo-comment): Fix invalid search bound
1859 error: wrong side of point.
1860
1861 2013-05-14 Glenn Morris <rgm@gnu.org>
1862
1863 * progmodes/flymake.el (flymake-xml-program): New option.
1864 (flymake-xml-init): Use it.
1865
1866 * term/xterm.el: Provide a feature.
1867
1868 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
1869
1870 2013-05-13 Glenn Morris <rgm@gnu.org>
1871
1872 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
1873 Add compat aliases as a hack workaround. (Bug#14384)
1874
1875 2013-05-13 Leo Liu <sdl.web@gmail.com>
1876
1877 * progmodes/octave.el (octave-indent-comment): Fix indentation for
1878 ###, and %!.
1879 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
1880 C-M-q.
1881 (octave-comment-start-skip): Include %!.
1882 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
1883
1884 2013-05-12 Leo Liu <sdl.web@gmail.com>
1885
1886 * progmodes/octave.el (inferior-octave-startup): Store the value
1887 of __octave_srcdir__ for octave-source-directories.
1888 (inferior-octave-check-process): New function refactored out of
1889 inferior-octave-send-list-and-digest.
1890 (octave-source-directories)
1891 (octave-find-definition-filename-function): New variables.
1892 (octave-source-directories)
1893 (octave-find-definition-default-filename): New functions.
1894 (octave-find-definition): Improve to find functions implemented in C++.
1895
1896 2013-05-12 Glenn Morris <rgm@gnu.org>
1897
1898 * calendar/diary-lib.el (diary-outlook-format-1):
1899 Don't include dayname in the output. (Bug#14349)
1900
1901 2013-05-11 Glenn Morris <rgm@gnu.org>
1902
1903 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
1904
1905 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
1906 Treat cc-provide like provide.
1907
1908 2013-05-11 Kevin Ryde <user42@zip.com.au>
1909
1910 * cus-dep.el (custom-make-dependencies):
1911 Use generated-autoload-load-name for the sake of files such
1912 such cedet/semantic/bovine/c.el, where the base file name
1913 is not in load-path. (Bug#5277)
1914
1915 2013-05-11 Glenn Morris <rgm@gnu.org>
1916
1917 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
1918 Provide features.
1919
1920 2013-05-11 Leo Liu <sdl.web@gmail.com>
1921
1922 * progmodes/octave.el (octave-indent-comment): Improve.
1923 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
1924 (octave-eldoc-function-signatures, octave-eldoc-function):
1925 New functions.
1926 (octave-mode, inferior-octave-mode): Add eldoc support.
1927
1928 2013-05-11 Richard Stallman <rms@gnu.org>
1929
1930 * epa.el (epa-decrypt-file): Take output file name as argument
1931 and read it using `interactive'.
1932
1933 2013-05-11 Leo Liu <sdl.web@gmail.com>
1934
1935 * progmodes/octave.el (octave-beginning-of-line)
1936 (octave-end-of-line): Check before using up-list because it jumps
1937 out of more syntactic contructs since moving to smie.
1938 (octave-indent-comment): New function.
1939 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
1940 (octave-begin-keywords, octave-end-keywords)
1941 (octave-reserved-words, octave-smie-bnf-table)
1942 (octave-smie-rules): Add new keywords from Octave 3.6.4.
1943
1944 2013-05-11 Glenn Morris <rgm@gnu.org>
1945
1946 * faces.el (internal-face-x-get-resource):
1947 * frame.el (ns-display-monitor-attributes-list):
1948 * calc/calc-aent.el (math-to-radians-2): Fix declarations.
1949
1950 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
1951
1952 * calc/calc-menu.el: Make it loadable in isolation.
1953
1954 * net/eudcb-bbdb.el: Make it loadable without bbdb.
1955 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
1956 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
1957 (eudc-bbdb-query-internal): Require 'bbdb.
1958
1959 * lpr.el (lpr-headers-switches):
1960 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
1961
1962 * progmodes/sql.el (sql-login-params): Fix and improve :type.
1963
1964 * emulation/edt-mapper.el: In batch mode, error rather than hang.
1965
1966 * term.el (term-set-escape-char): Make it idempotent.
1967
1968 2013-05-10 Leo Liu <sdl.web@gmail.com>
1969
1970 * progmodes/octave.el (inferior-octave-completion-table):
1971 No longer a function and all uses changed. Use cache to speed up
1972 completion due to bug#11906.
1973 (octave-beginning-of-defun): Re-write to be more general.
1974
1975 2013-05-10 Glenn Morris <rgm@gnu.org>
1976
1977 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
1978
1979 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1980
1981 * comint.el (comint-redirect-send-command-to-process): Use :around
1982 rather than :override for comint-redirect-filter.
1983 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
1984 Call it instead of comint-redirect-original-filter-function (which
1985 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
1986
1987 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
1988
1989 * frame.el (display-monitor-attributes-list): Add NS case.
1990 (ns-display-monitor-attributes-list): Declare.
1991
1992 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
1993
1994 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
1995
1996 2013-05-09 Glenn Morris <rgm@gnu.org>
1997
1998 * international/fontset.el (vertical-centering-font-regexp):
1999 Set standard-value.
2000
2001 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
2002
2003 * bookmark.el (bookmark-search-delay):
2004 * cus-start.el (vertical-centering-font-regexp):
2005 * ps-mule.el (ps-mule-font-info-database-default):
2006 * ps-print.el (ps-default-fg, ps-default-bg):
2007 * type-break.el (type-break-good-break-interval):
2008 * whitespace.el (whitespace-indentation-regexp)
2009 (whitespace-space-after-tab-regexp):
2010 * emacs-lisp/testcover.el (testcover-1value-functions)
2011 (testcover-noreturn-functions, testcover-progn-functions)
2012 (testcover-prog1-functions):
2013 * emulation/viper-init.el (viper-emacs-state-cursor-color):
2014 * eshell/em-glob.el (eshell-glob-translate-alist):
2015 * play/tetris.el (tetris-tty-colors):
2016 * progmodes/cpp.el (cpp-face-default-list):
2017 * progmodes/flymake.el (flymake-allowed-file-name-masks):
2018 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
2019 (idlwave-help-browser-generic-args):
2020 * progmodes/make-mode.el (makefile-special-targets-list):
2021 * progmodes/python.el (python-shell-virtualenv-path):
2022 * progmodes/verilog-mode.el (verilog-active-low-regexp)
2023 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
2024 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
2025 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
2026 * textmodes/reftex-vars.el (reftex-format-label-function):
2027 * textmodes/remember.el (remember-diary-file): Fix custom types.
2028
2029 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
2030 Add :version.
2031
2032 2013-05-09 Leo Liu <sdl.web@gmail.com>
2033
2034 * progmodes/octave.el (inferior-octave-completion-at-point):
2035 Restore file completion. (Bug#14300)
2036 (inferior-octave-startup): Fix incorrect highlighting for the
2037 first prompt.
2038
2039 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
2040
2041 * progmodes/ruby-mode.el: First cut at SMIE support.
2042 (ruby-use-smie): New var.
2043 (ruby-smie-grammar): New constant.
2044 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
2045 (ruby-smie--forward-token, ruby-smie--backward-token)
2046 (ruby-smie-rules): New functions.
2047 (ruby-mode-variables): Setup SMIE if applicable.
2048
2049 2013-05-08 Eli Zaretskii <eliz@gnu.org>
2050
2051 * simple.el (line-move-visual): Signal beginning/end of buffer
2052 only if vertical-motion moved less than it was requested. Avoids
2053 silly incorrect error messages when there are display strings with
2054 multiple newlines at EOL.
2055
2056 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
2057
2058 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
2059 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
2060 (prolog-char-quote-workaround):
2061 * progmodes/cperl-mode.el (cperl-under-as-char):
2062 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
2063 Mark as obsolete.
2064 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
2065 their declaration.
2066 (vhdl-mode-syntax-table-init): Remove.
2067
2068 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
2069 last change.
2070
2071 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
2072 syntax for "_".
2073 (ld-script-font-lock-keywords):
2074 Change regexps to use things like \_< and \_>.
2075
2076 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
2077 Change all regexps to use things like \_< and \_>.
2078
2079 * progmodes/autoconf.el (autoconf-definition-regexp)
2080 (autoconf-font-lock-keywords, autoconf-current-defun-function):
2081 Handle a _ with symbol syntax.
2082 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
2083
2084 * progmodes/ada-mode.el (ada-mode-abbrev-table):
2085 Consolidate declaration.
2086 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
2087 the declaration.
2088 (ada-create-syntax-table): Remove.
2089 (ada-capitalize-word): Don't mess with the syntax of "_" since it
2090 already has the right syntax nowadays.
2091 (ada-goto-next-word): Don't change the syntax of "_".
2092
2093 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
2094 with-wrapper-hook.
2095
2096 2013-05-08 Sam Steingold <sds@gnu.org>
2097
2098 * thingatpt.el (thing-at-point): Accept optional second argument
2099 NO-PROPERTIES to strip the text properties from the return value.
2100 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
2101 to `thing-at-point' instead of stripping the properties ourselves.
2102 Also, when `thing-at-point' fails to find a url, prepend "http://"
2103 to the filename at point on the assumption that the user is
2104 pointing at something like gnu.org/gnu.
2105
2106 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
2107
2108 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
2109 * faces.el (crm-separator):
2110 Silence byte-compiler.
2111
2112 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
2113 (tool-bar-map): Remove unneeded defvars.
2114
2115 2013-05-08 Leo Liu <sdl.web@gmail.com>
2116
2117 Re-work a fix for bug#10994 based on Le Wang's patch.
2118 * ido.el (ido-remove-consecutive-dups): New helper.
2119 (ido-completing-read): Use it.
2120 (ido-chop): Revert fix for bug#10994.
2121
2122 2013-05-08 Adam Spiers <emacs@adamspiers.org>
2123
2124 * cus-edit.el (custom-save-variables):
2125 Pretty-print long values. (Bug#14187)
2126
2127 2013-05-08 Glenn Morris <rgm@gnu.org>
2128
2129 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
2130 (m4-mode-syntax-table): Init in the defvar.
2131 (m4-mode-abbrev-table): Let define-derived-mode define it.
2132
2133 2013-05-08 Tom Tromey <tromey@redhat.com>
2134
2135 * progmodes/m4-mode.el (m4-mode-syntax-table):
2136 Do not treat "_" as word constituent. (Bug#14167)
2137
2138 2013-05-07 Glenn Morris <rgm@gnu.org>
2139
2140 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
2141 Remove explicit eshell-isearch-cancel-map.
2142
2143 * progmodes/f90.el (f90-smart-end-names): New option.
2144 (f90-smart-end): Doc fix.
2145 (f90-end-block-optional-name): New constant.
2146 (f90-block-match): Respect f90-smart-end-names.
2147
2148 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
2149
2150 * progmodes/octave.el (octave-smie-forward-token): Be more careful
2151 about implicit semi-colons (bug#14218).
2152
2153 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
2154
2155 * frame.el (display-monitor-attributes-list)
2156 (frame-monitor-attributes): New functions.
2157
2158 2013-05-06 Leo Liu <sdl.web@gmail.com>
2159
2160 * progmodes/octave.el (octave-syntax-propertize-function): Change
2161 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
2162 (octave-font-lock-keywords): Use octave-operator-regexp.
2163 (octave-completion-at-point): Rename from
2164 octave-completion-at-point-function.
2165 (inferior-octave-directory-tracker): Robustify.
2166 (octave-text-functions): Remove and fix its uses. No such things
2167 any more.
2168
2169 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
2170
2171 * emacs-lisp/trace.el (trace--display-buffer): New function.
2172 (trace-make-advice): Use it.
2173
2174 2013-05-06 Juri Linkov <juri@jurta.org>
2175
2176 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
2177 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
2178 Doc fix.
2179 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
2180 in the help string. (Bug#12985)
2181
2182 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
2183
2184 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
2185
2186 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
2187
2188 * progmodes/perl-mode.el: Add support for here documents.
2189 (perl-syntax-propertize-function): Match here-doc markers.
2190 (perl-syntax-propertize-special-constructs): Find their end.
2191 (perl-imenu-generic-expression): Use [:alnum:].
2192
2193 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
2194 (advice--add-function): Refresh the advice if already present
2195 (bug#14317).
2196
2197 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
2198
2199 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
2200
2201 2013-05-06 Glenn Morris <rgm@gnu.org>
2202
2203 * w32-fns.el (w32-charset-info-alist): Declare.
2204
2205 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
2206 of its defcustom properties.
2207 (eshell-cmpl-initialize): No need to load pcomplete.
2208
2209 * generic-x.el: No need to require comint when compiling.
2210
2211 * net/eudc-export.el: Make it loadable without bbdb.
2212 (top-level): Use require rather than load-library.
2213 (eudc-create-bbdb-record, eudc-bbdbify-phone)
2214 (eudc-batch-export-records-to-bbdb)
2215 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
2216 Require bbdb.
2217
2218 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
2219
2220 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
2221 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
2222 some tweaks, instead.
2223
2224 2013-05-05 Leo Liu <sdl.web@gmail.com>
2225
2226 * progmodes/octave.el (octave-font-lock-keywords)
2227 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
2228 (inferior-octave-send-list-and-digest): Improve error message.
2229 (octave-mode, inferior-octave-mode): Use setq-local.
2230 (octave-help): Set info-lookup-mode.
2231
2232 2013-05-05 Richard Stallman <rms@gnu.org>
2233
2234 * vc/compare-w.el (compare-windows-whitespace):
2235 Treat no-break space as whitespace.
2236
2237 * mail/rmailsum.el (rmail-summary-rmail-update):
2238 Detect empty summary and don't change selected message.
2239 (rmail-summary-goto-msg): Likewise.
2240
2241 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
2242 Doc fixes, rename args.
2243
2244 2013-05-05 Alan Mackenzie <acm@muc.de>
2245
2246 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
2247
2248 2013-05-05 Juri Linkov <juri@jurta.org>
2249
2250 * info.el (Info-read-subfile): Use (point-min) instead of (point)
2251 to not add the length of the summary segment to the return value.
2252 (Bug#14125)
2253
2254 2013-05-05 Leo Liu <sdl.web@gmail.com>
2255
2256 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
2257 (inferior-octave-output-filter): Remove.
2258 (octave-send-region, inferior-octave-startup): Fix callers.
2259 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
2260 (octave-binary-file-extensions): New user variable.
2261 (octave-find-definition): Confirm if opening binary files.
2262 (octave-help-file): Use octave-find-definition to get the binary
2263 confirmation.
2264 (octave-help): Adjust for octave-help-file change.
2265
2266 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
2267
2268 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
2269 Merge the two entries that handle function definitions.
2270 (pascal--syntax-propertize): New const.
2271 (pascal-mode): Use it. Use setq-local.
2272
2273 2013-05-04 Glenn Morris <rgm@gnu.org>
2274
2275 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
2276 (diary-from-outlook): Respect diary-from-outlook-function.
2277
2278 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
2279
2280 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
2281 Move the declaration from C.
2282 (read-minibuffer, eval-minibuffer): Move from C.
2283 (completion-setup-function): Avoid minibuffer-completion-contents.
2284
2285 2013-05-03 Leo Liu <sdl.web@gmail.com>
2286
2287 * progmodes/octave.el (octave-font-lock-keywords): Do not
2288 dehighlight 'end' in comments or strings.
2289 (octave-completing-read, octave-goto-function-definition):
2290 New helpers.
2291 (octave-help-buffer): New user variable.
2292 (octave-help-file, octave-help-function): New button types.
2293 (octave-help): New command and bind it to C-h ;.
2294 (octave-find-definition): New command and bind it to M-.
2295 (user-error): Alias to error if not defined.
2296
2297 2013-05-02 Leo Liu <sdl.web@gmail.com>
2298
2299 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
2300 for \. (bug#14332)
2301 (octave-font-lock-keywords): Include [ and {.
2302
2303 2013-05-02 Leo Liu <sdl.web@gmail.com>
2304
2305 * progmodes/octave.el (inferior-octave-startup-file): Change default.
2306 (inferior-octave): Remove calling comint-mode and return the buffer.
2307 (inferior-octave-startup): Cosmetic changes.
2308
2309 2013-05-02 Leo Liu <sdl.web@gmail.com>
2310
2311 * progmodes/octave.el (octave-syntax-propertize-function):
2312 Include the case when ' is at line beginning. (Bug#14336)
2313
2314 2013-05-02 Glenn Morris <rgm@gnu.org>
2315
2316 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
2317 * desktop.el (vc-dir-mode): Just autoload it here.
2318
2319 2013-05-02 Alan Mackenzie <acm@muc.de>
2320
2321 Eliminate variable c-standard-font-lock-fontify-region-function.
2322 * progmodes/cc-mode.el
2323 (c-standard-font-lock-fontify-region-function): Remove.
2324 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
2325
2326 2013-05-01 Leo Liu <sdl.web@gmail.com>
2327
2328 * progmodes/octave.el: Compatible with older emacs-24 releases.
2329 (inferior-octave-has-built-in-variables): Remove. Built-in
2330 variables were removed from Octave in 2007.
2331 (inferior-octave-startup): Fix uses.
2332 (comint-line-beginning-position): Remove compatibility code for
2333 emacs 21.
2334
2335 2013-05-01 Juri Linkov <juri@jurta.org>
2336
2337 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
2338
2339 2013-05-01 Juri Linkov <juri@jurta.org>
2340
2341 * comint.el (comint-previous-matching-input): Don't print message
2342 "History item: %d" when `isearch-mode' is active.
2343 (comint-history-isearch-message): Print message "History item: %d"
2344 when `comint-input-ring-index' is not empty and this function is
2345 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
2346
2347 2013-05-01 Leo Liu <sdl.web@gmail.com>
2348
2349 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
2350 definitions. Use completion-at-point to insert keywords.
2351 (octave-abbrev-start): Remove.
2352 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
2353
2354 2013-04-30 Leo Liu <sdl.web@gmail.com>
2355
2356 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
2357 change.
2358
2359 2013-04-30 Alan Mackenzie <acm@muc.de>
2360
2361 Handle arbitrarily long C++ member initialisation lists.
2362 * progmodes/cc-engine.el (c-back-over-member-initializers):
2363 new function.
2364 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
2365 (most) member init lists.
2366
2367 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2368
2369 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
2370 variable.
2371
2372 2013-04-30 Leo Liu <sdl.web@gmail.com>
2373
2374 * progmodes/octave.el (octave-variables): Remove. No builtin
2375 variables any more. All converted to functions.
2376 (octave-font-lock-keywords, octave-completion-at-point-function):
2377 Fix uses.
2378 (octave-font-lock-texinfo-comment): New user variable.
2379 (octave-texinfo-font-lock-keywords): New variable for texinfo
2380 comment block.
2381 (octave-function-comment-block): New face.
2382 (octave-font-lock-texinfo-comment): New function.
2383 (octave-mode): Font lock texinfo comment block.
2384
2385 2013-04-29 Leo Liu <sdl.web@gmail.com>
2386
2387 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
2388 indexing expression.
2389 (octave-continuation-string): Do not use \.
2390 (inferior-octave-complete-impossible): Remove.
2391 (inferior-octave-completion-table)
2392 (inferior-octave-completion-at-point): Remove its uses.
2393 (inferior-octave-startup): completion_matches was introduced to
2394 Octave in 1996 so safe to assume it.
2395 (octave-function-file-comment): Improve to follow how Octave does it.
2396 (octave-update-function-file-comment): Tweak.
2397
2398 2013-04-29 Leo Liu <sdl.web@gmail.com>
2399
2400 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
2401 (inferior-octave-startup): Remove inferior-octave-startup-hook.
2402 (octave-function-file-comment): Fix typo.
2403 (octave-sync-function-file-names): Use read-char-choice.
2404
2405 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
2406
2407 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
2408 to t for the less important warnings.
2409
2410 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
2411
2412 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
2413
2414 2013-04-27 Glenn Morris <rgm@gnu.org>
2415
2416 * vc/log-view.el (log-view-current-entry):
2417 Treat "---" separator lines as part of the following rev. (Bug#14169)
2418
2419 2013-04-27 Juri Linkov <juri@jurta.org>
2420
2421 * subr.el (read-number): Doc fix about using it by interactive
2422 code letter `n'. (Bug#14254)
2423
2424 2013-04-27 Juri Linkov <juri@jurta.org>
2425
2426 * desktop.el (desktop-auto-save-timeout): New option.
2427 (desktop-file-checksum): New variable.
2428 (desktop-save): Add optional arg `auto-save' and don't auto-save
2429 if nothing changed.
2430 (desktop-auto-save-timer): New variable.
2431 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
2432 (after-init-hook): Call `desktop-auto-save-set-timer'.
2433 Suggested by Reuben Thomas <rrt@sc3d.org> in
2434 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
2435
2436 2013-04-27 Leo Liu <sdl.web@gmail.com>
2437
2438 * progmodes/octave.el (octave-function-file-p)
2439 (octave-skip-comment-forward, octave-function-file-comment)
2440 (octave-update-function-file-comment): New functions.
2441 (octave-mode-map): Bind C-c ; to
2442 octave-update-function-file-comment.
2443 (octave-mode-menu): Add octave-update-function-file-comment.
2444 (octave-mode, inferior-octave-mode): Fix doc-string.
2445 (octave-insert-defun): Conform to Octave's coding convention.
2446 (Bug#14285)
2447
2448 * files.el (basic-save-buffer): Don't let errors in
2449 before-save-hook prevent saving buffer.
2450
2451 2013-04-20 Roland Winkler <winkler@gnu.org>
2452
2453 * faces.el (read-face-name): Use completing-read if arg multiple
2454 is nil.
2455
2456 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
2457
2458 * ls-lisp.el (ls-lisp-insert-directory): If no files are
2459 displayed, move point to after the totals line.
2460 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
2461 for the details.
2462
2463 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
2464
2465 * emacs-lisp/package.el (package-autoload-ensure-default-file):
2466 Add current dir to the load-path.
2467 (package-generate-autoloads): Don't rely on
2468 autoload-ensure-default-file.
2469
2470 2013-04-26 Reuben Thomas <rrt@sc3d.org>
2471
2472 * textmodes/remember.el (remember-store-in-files): Document that
2473 the file name format is passed to `format-time-string'.
2474
2475 2013-04-26 Leo Liu <sdl.web@gmail.com>
2476
2477 * progmodes/octave.el (octave-sync-function-file-names): New function.
2478 (octave-mode): Use it in before-save-hook.
2479
2480 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
2481
2482 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
2483 (bug#14274).
2484
2485 * progmodes/octave.el (octave-smie-forward-token): Properly skip
2486 \n and comment, even if it's not an implicit ; (bug#14218).
2487
2488 2013-04-26 Glenn Morris <rgm@gnu.org>
2489
2490 * subr.el (read-number): Once more use `read' rather than
2491 `string-to-number', to trap non-numeric input. (Bug#14254)
2492
2493 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
2494
2495 * emacs-lisp/syntax.el (syntax-propertize-multiline):
2496 Use `syntax-multiline' text property consistently instead of
2497 `font-lock-multiline'. (Bug#14237)
2498
2499 2013-04-26 Glenn Morris <rgm@gnu.org>
2500
2501 * emacs-lisp/shadow.el (list-load-path-shadows):
2502 No longer necessary to check for duplicate simple.el, since
2503 2012-07-07 change to init_lread to not include installation lisp
2504 directories in load-path when running uninstalled. (Bug#14270)
2505
2506 2013-04-26 Leo Liu <sdl.web@gmail.com>
2507
2508 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
2509 (octave-mode, inferior-octave-mode): Use setq-local.
2510 (octave-not-in-string-or-comment-p): Rename to
2511 octave-in-string-or-comment-p.
2512 (octave-in-comment-p, octave-in-string-p)
2513 (octave-in-string-or-comment-p): Replace defsubst with defun.
2514
2515 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
2516
2517 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
2518
2519 2013-04-25 Bastien Guerry <bzg@gnu.org>
2520
2521 * textmodes/remember.el (remember-data-directory)
2522 (remember-directory-file-name-format): Fix custom types.
2523
2524 2013-04-25 Leo Liu <sdl.web@gmail.com>
2525
2526 * progmodes/octave.el (octave-completion-at-point-function):
2527 Make use of inferior octave process.
2528 (octave-initialize-completions): Remove.
2529 (inferior-octave-completion-table): New function.
2530 (inferior-octave-completion-at-point): Use it.
2531 (octave-completion-alist): Remove.
2532
2533 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
2534
2535 * progmodes/opascal.el: Use font-lock and syntax-propertize.
2536 (opascal-mode-syntax-table): New var.
2537 (opascal-literal-kind, opascal-is-literal-end)
2538 (opascal-literal-token-at): Rewrite.
2539 (opascal--literal-start-re, opascal-font-lock-keywords)
2540 (opascal--syntax-propertize): New constants.
2541 (opascal-font-lock-defaults): Adjust.
2542 (opascal-mode): Use them. Set comment-<foo> variables as well.
2543 (delphi-comment-face, opascal-comment-face, delphi-string-face)
2544 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
2545 (delphi-other-face, opascal-other-face): Remove face variables.
2546 (opascal-save-state): Remove macro.
2547 (opascal-fontifying-progress-step): Remove constant.
2548 (opascal--ignore-changes): Remove var.
2549 (opascal-set-token-property, opascal-parse-next-literal)
2550 (opascal-is-stable-literal, opascal-complete-literal)
2551 (opascal-is-literal-start, opascal-face-of)
2552 (opascal-parse-region, opascal-parse-region-until-stable)
2553 (opascal-fontify-region, opascal-after-change)
2554 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
2555 (opascal-debug-parse-region, opascal-debug-parse-window)
2556 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
2557 (opascal-debug-fontify-buffer): Remove.
2558 (opascal-debug-mode-map): Adjust accordingly.
2559
2560 2013-04-25 Leo Liu <sdl.web@gmail.com>
2561
2562 Merge octave-mod.el and octave-inf.el into octave.el with some
2563 cleanups.
2564 * progmodes/octave.el: New file renamed from octave-mod.el.
2565 * progmodes/octave-inf.el: Merged into octave.el.
2566 * progmodes/octave-mod.el: Renamed to octave.el.
2567
2568 2013-04-25 Tassilo Horn <tsdh@gnu.org>
2569
2570 * textmodes/reftex-vars.el
2571 (reftex-label-ignored-macros-and-environments): New defcustom.
2572
2573 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
2574
2575 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
2576
2577 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
2578 (smie-indent-keyword): Improve the check to ensure that the next
2579 comment is really on the same line.
2580 (smie-indent-comment): Don't align with a subsequent closer (or eob).
2581
2582 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
2583 semi-colons if the line is not otherwise empty (bug#14218).
2584
2585 2013-04-25 Glenn Morris <rgm@gnu.org>
2586
2587 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
2588
2589 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
2590
2591 * progmodes/opascal.el (opascal-set-token-property): Rename from
2592 opascal-set-text-properties and only set `token' (bug#14134).
2593 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
2594 (opascal-literal-text-properties): Remove.
2595 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
2596 Adjust callers.
2597
2598 2013-04-24 Reuben Thomas <rrt@sc3d.org>
2599
2600 * textmodes/remember.el (remember-handler-functions): Add an
2601 option for a new handler `remember-store-in-files'.
2602 (remember-data-directory, remember-directory-file-name-format):
2603 New options.
2604 (remember-store-in-files): New function to store remember notes
2605 as separate files within a directory.
2606
2607 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
2608
2609 * progmodes/compile.el (compilation-next-error-function):
2610 Pass "formats" to compilation-find-file (bug#11777).
2611
2612 2013-04-24 Glenn Morris <rgm@gnu.org>
2613
2614 * vc/vc-bzr.el (vc-bzr-print-log):
2615 * vc/vc-hg.el (vc-hg-print-log):
2616 * vc/vc-svn.el (vc-svn-print-log):
2617 Fix START-REVISION with LIMIT != 1. (Bug#14168)
2618
2619 * vc/vc-bzr.el (vc-bzr-print-log):
2620 * vc/vc-cvs.el (vc-cvs-print-log):
2621 * vc/vc-git.el (vc-git-print-log):
2622 * vc/vc-hg.el (vc-hg-print-log):
2623 * vc/vc-mtn.el (vc-mtn-print-log):
2624 * vc/vc-rcs.el (vc-rcs-print-log):
2625 * vc/vc-sccs.el (vc-sccs-print-log):
2626 * vc/vc-svn.el (vc-svn-print-log):
2627 * vc/vc.el (vc-print-log-internal): Doc fixes.
2628
2629 2013-04-23 Glenn Morris <rgm@gnu.org>
2630
2631 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
2632 Remove venerable code attempting to avoid substitute-command-keys.
2633
2634 2013-04-23 Tassilo Horn <tsdh@gnu.org>
2635
2636 * textmodes/reftex-vars.el (reftex-label-regexps):
2637 Call `reftex-compile-variables' after changes to this variable.
2638
2639 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
2640
2641 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
2642 Use lexical-binding.
2643 (jit-lock-force-redisplay): Use markers, check buffer's continued
2644 existence and beware narrowed buffers.
2645 (jit-lock-fontify-now): Adjust call accordingly.
2646
2647 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
2648
2649 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
2650 to avoid misleading the user.
2651
2652 2013-04-22 Leo Liu <sdl.web@gmail.com>
2653
2654 * info-look.el: Prefer latex2e.info. (Bug#14240)
2655
2656 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
2657
2658 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
2659
2660 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
2661 * net/tramp.el (tramp-call-process): ... here
2662 (tramp-set-completion-function, tramp-parse-putty):
2663 * net/tramp-adb.el (tramp-adb-execute-adb-command):
2664 * net/tramp-gvfs.el (tramp-gvfs-send-command):
2665 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
2666 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
2667 (tramp-call-local-coding-command): Use `tramp-call-process'
2668 instead of `tramp-compat-call-process'.
2669
2670 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
2671 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
2672 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
2673 (tramp-find-inline-compress): Improve traces.
2674 (tramp-maybe-send-script): Check for Perl binary.
2675 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
2676
2677 2013-04-22 Daiki Ueno <ueno@gnu.org>
2678
2679 * epg.el (epg-context-pinentry-mode): New function.
2680 (epg-context-set-pinentry-mode): New function.
2681 (epg--start): Pass --pinentry-mode option to gpg command.
2682
2683 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
2684
2685 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
2686 `comint-dynamic-complete' is obsolete since 24.1, replaced by
2687 `completion-at-point'. (Bug#13774)
2688
2689 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
2690 default key binding for `describe-distribution' has been moved to
2691 `C-h C-o'. (Bug#13970)
2692
2693 2013-04-21 Glenn Morris <rgm@gnu.org>
2694
2695 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
2696 Add doc strings.
2697 (vc-print-log): Clarify interactive prompt.
2698
2699 2013-04-20 Glenn Morris <rgm@gnu.org>
2700
2701 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
2702 No longer include timestamp etc information.
2703
2704 2013-04-20 Roland Winkler <winkler@gnu.org>
2705
2706 * faces.el (read-face-name): Bug fix, return just one face if arg
2707 multiple is nil. (Bug#14209)
2708
2709 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
2710
2711 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
2712 (remove-function): Autoload.
2713
2714 * comint.el (comint-redirect-original-filter-function): Remove.
2715 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
2716 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
2717 (vc-cvs-annotate-command):
2718 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
2719 * progmodes/prolog.el (prolog-consult-compile):
2720 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
2721 Use add/remove-function instead.
2722 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
2723 (gud-tooltip-process-output, gud-tooltip-tips):
2724 Use add/remove-function instead.
2725 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
2726 (scheme-interaction-mode, exit-scheme-interaction-mode):
2727 Use add/remove-function instead.
2728
2729 * vc/vc-dispatcher.el: Use lexical-binding.
2730 (vc--process-sentinel): Rename from vc-process-sentinel.
2731 Change last arg to be the code to run. Don't use vc-previous-sentinel
2732 and vc-sentinel-commands any more.
2733 (vc-exec-after): Allow code to be a function. Use add/remove-function.
2734 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
2735
2736 2013-04-19 Masatake YAMATO <yamato@redhat.com>
2737
2738 * progmodes/sh-script.el (sh-imenu-generic-expression):
2739 Handle function names with a single character. (Bug#14111)
2740
2741 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
2742
2743 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
2744 for subroutines defined in an eval (bug#14182).
2745
2746 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2747
2748 * bookmark.el (bookmark-completing-read): Improve handling of empty
2749 string (bug#14176).
2750
2751 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
2752
2753 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
2754
2755 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
2756
2757 New faster Imenu implementation (bug#14058).
2758 * progmodes/python.el:
2759 (python-imenu-prev-index-position):
2760 (python-imenu-format-item-label-function)
2761 (python-imenu-format-parent-item-label-function)
2762 (python-imenu-format-parent-item-jump-label-function):
2763 New vars.
2764 (python-imenu-format-item-label)
2765 (python-imenu-format-parent-item-label)
2766 (python-imenu-format-parent-item-jump-label)
2767 (python-imenu--put-parent, python-imenu--build-tree)
2768 (python-imenu-create-index, python-imenu-create-flat-index)
2769 (python-util-popn): New functions.
2770 (python-mode): Set imenu-create-index-function to
2771 python-imenu-create-index.
2772
2773 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
2774
2775 * winner.el (winner-active-region): Use region-active-p, activate-mark
2776 and deactivate-mark (bug#14225).
2777
2778 * simple.el (deactivate-mark): Don't inline it.
2779
2780 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
2781
2782 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
2783
2784 2013-04-18 Tassilo Horn <tsdh@gnu.org>
2785
2786 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
2787 file extensions from the archive-mode entry in order to prefer
2788 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
2789
2790 2013-04-18 Leo Liu <sdl.web@gmail.com>
2791
2792 * bindings.el (help-event-list): Add ?\?.
2793
2794 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
2795
2796 * subr.el (with-wrapper-hook): Declare obsolete.
2797 * simple.el (filter-buffer-substring-function): New hook.
2798 (filter-buffer-substring): Use it.
2799 (filter-buffer-substring-functions): Mark obsolete.
2800 * minibuffer.el (completion-in-region-function): New hook.
2801 (completion-in-region): Use it.
2802 (completion-in-region-functions): Mark obsolete.
2803 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
2804 * abbrev.el (abbrev-expand-function): New hook.
2805 (expand-abbrev): Use it.
2806 (abbrev-expand-functions): Mark obsolete.
2807 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
2808 and :filter-return.
2809
2810 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
2811
2812 * progmodes/python.el (python-nav--syntactically): Fix cornercases
2813 and do not care about match data.
2814
2815 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
2816
2817 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
2818 completion tables when completing error conditions and
2819 `declare' arguments.
2820 (lisp-complete-symbol, field-complete): Mark as obsolete.
2821 (check-parens): Unmatched parens are user errors.
2822 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
2823
2824 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
2825
2826 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
2827 command changed buffer (ie. `flyspell-pre-buffer' is not current
2828 buffer), which prevents making decisions based on invalid value of
2829 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
2830 cause an error when `flyspell-pre-point' was nil after switching
2831 buffers.
2832 (flyspell-post-command-hook): No longer needs to change buffers when
2833 checking pre-word. While at it remove unnecessary progn.
2834
2835 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
2836
2837 * textmodes/ispell.el (ispell-add-per-file-word-list):
2838 Fix `flyspell-correct-word-before-point' error when accepting
2839 words and `coment-padding' is an integer by using
2840 `comment-normalize-vars' (Bug #14214).
2841
2842 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
2843
2844 New defun movement commands.
2845 * progmodes/python.el (python-nav--syntactically)
2846 (python-nav--forward-defun, python-nav-backward-defun)
2847 (python-nav-forward-defun): New functions.
2848
2849 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
2850
2851 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
2852 (python-syntax-context): Use named compiler-macro for backwards
2853 compatibility with Emacs 24.x.
2854
2855 2013-04-17 Leo Liu <sdl.web@gmail.com>
2856
2857 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
2858 octave-hide-process-buffer.
2859
2860 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
2861
2862 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
2863 (bug#14216).
2864
2865 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
2866
2867 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
2868 Fix adjustment of offset when receiving incomplete responses from GDB
2869 (bug#14129).
2870
2871 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
2872
2873 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
2874 python-mode-abbrev-table.
2875 (python-skeleton-define): Adjust accordingly.
2876 (python-mode-abbrev-table): New table that inherits from it so that
2877 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
2878
2879 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
2880 (abbrev-symbol): Use it.
2881 (abbrev--before-point): Use it since we already handle inheritance.
2882
2883 2013-04-16 Leo Liu <sdl.web@gmail.com>
2884
2885 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
2886 binding to info-lookup-symbol.
2887
2888 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
2889
2890 * minibuffer.el (completion--twq-all):
2891 * term/ns-win.el (ns-initialize-window-system):
2892 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
2893
2894 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
2895
2896 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
2897 global bindings.
2898
2899 * doc-view.el (doc-view-start-process): Handle url-handler directories.
2900
2901 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
2902
2903 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
2904 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
2905 to nil.
2906 (ruby-end-of-defun): Remove the unused arg, change the docstring
2907 to reflect that this function is only used as the value of
2908 `end-of-defun-function'.
2909 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
2910 to reflect an earlier change that beginning/end-of-defun functions
2911 jump between methods in a class definition, as well as top-level
2912 functions.
2913
2914 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
2915
2916 * minibuffer.el (minibuffer-complete): Don't just scroll
2917 a *Completions* that's been iconified.
2918 (minibuffer-force-complete): Make sure repetitions do cycle when going
2919 through completion-in-region -> minibuffer-complete.
2920
2921 2013-04-15 Alan Mackenzie <acm@muc.de>
2922
2923 Correct the placement of c-cpp-delimiters when there're #s not at
2924 col 0.
2925
2926 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
2927 place a submatch around the #.
2928 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
2929 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
2930 on the #, not BOL.
2931
2932 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
2933
2934 * emacs-lisp/nadvice.el: Properly test names when adding advice.
2935 (advice--member-p): New arg `name'.
2936 (advice--add-function, advice-member-p): Use it (bug#14202).
2937
2938 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
2939
2940 Reformulate java imenu-generic-expression.
2941 The old expression contained ill formed regexps.
2942
2943 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
2944 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
2945 (cc-imenu-java-method-arg-regexp): New defconsts.
2946 (cc-imenu-java-build-type-args-regex): New defun.
2947 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
2948 handling of spaces in the regexp.
2949
2950 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2951
2952 * textmodes/ispell.el (ispell-command-loop): Remove
2953 flyspell highlight of a word when ispell accepts it (bug #14178).
2954
2955 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
2956
2957 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
2958 uses code from the previous `ange-ftp-run-real-handler'.
2959 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
2960 only in case that function exist. This is needed for proper
2961 unloading of Tramp.
2962
2963 2013-04-15 Tassilo Horn <tsdh@gnu.org>
2964
2965 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
2966
2967 * textmodes/reftex.el (reftex-compile-variables): Use it.
2968
2969 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
2970
2971 * files.el (normal-mode): Only use default major-mode if no other mode
2972 was specified.
2973
2974 * emacs-lisp/trace.el (trace-values): New function.
2975
2976 * files.el: Allow : in local variables (bug#14089).
2977 (hack-local-variable-regexp): New var.
2978 (hack-local-variables-prop-line, hack-local-variables): Use it.
2979
2980 2013-04-13 Roland Winkler <winkler@gnu.org>
2981
2982 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
2983 data before it gets modified by bibtex-beginning-of-entry.
2984
2985 2013-04-13 Roland Winkler <winkler@gnu.org>
2986
2987 * textmodes/bibtex.el (bibtex-url): Doc fix.
2988
2989 2013-04-13 Roland Winkler <winkler@gnu.org>
2990
2991 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
2992 does not visit a BibTeX file, exclude it from the list of buffers
2993 returned by bibtex-initialize.
2994
2995 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
2996
2997 * window.el (split-window): Remove interactive form, since as a
2998 command this function is a special case of split-window-below.
2999 Correct doc string.
3000
3001 2013-04-12 Roland Winkler <winkler@gnu.org>
3002
3003 * faces.el (read-face-name): Do not override value of arg default.
3004 Allow single faces and strings as default values. Remove those
3005 elements from return value that are not faces.
3006 (describe-face): Simplify.
3007 (face-at-point): New optional args thing and multiple so that this
3008 function can provide the same functionality previously provided by
3009 read-face-name.
3010 (make-face-bold, make-face-unbold, make-face-italic)
3011 (make-face-unitalic, make-face-bold-italic, invert-face)
3012 (modify-face, read-face-and-attribute): Use face-at-point.
3013
3014 * cus-edit.el (customize-face, customize-face-other-window)
3015 * cus-theme.el (custom-theme-add-face)
3016 * face-remap.el (buffer-face-set)
3017 * facemenu.el (facemenu-set-face): Use face-at-point.
3018
3019 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
3020
3021 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
3022
3023 2013-04-10 Tassilo Horn <tsdh@gnu.org>
3024
3025 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
3026 off leading { and trailing } from field values.
3027
3028 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
3029
3030 * emacs-lisp/timer.el (timer--check): New function.
3031 (timer--time, timer-set-function, timer-event-handler): Use it.
3032 (timer-set-idle-time): Simplify.
3033 (timer--activate): CSE.
3034 (timer-event-handler): Give more info in error message.
3035 (internal-timer-start-idle): New function, moved from C.
3036
3037 * mpc.el (mpc-proc): Add `restart' argument.
3038 (mpc-proc-cmd): Use it.
3039 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
3040 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
3041 less often.
3042
3043 2013-04-10 Masatake YAMATO <yamato@redhat.com>
3044
3045 * progmodes/sh-script.el: Implement `sh-mode' own
3046 `add-log-current-defun-function' (bug#14112).
3047 (sh-current-defun-name): New function.
3048 (sh-mode): Use the function.
3049
3050 2013-04-09 Bastien Guerry <bzg@gnu.org>
3051
3052 * simple.el (choose-completion-string): Fix docstring (bug#14163).
3053
3054 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
3055
3056 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
3057
3058 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
3059 timer (bug#14156).
3060
3061 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
3062
3063 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
3064 declaration.
3065
3066 2013-04-07 Leo Liu <sdl.web@gmail.com>
3067
3068 * pcmpl-x.el: New file.
3069
3070 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
3071
3072 Do not set x-display-name until X connection is established.
3073 This is needed to prevent from weird situation described at
3074 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
3075 * frame.el (make-frame): Set x-display-name after call to
3076 window system initialization function, not before.
3077 * term/x-win.el (x-initialize-window-system): Add optional
3078 display argument and use it.
3079 * term/w32-win.el (w32-initialize-window-system):
3080 * term/ns-win.el (ns-initialize-window-system):
3081 * term/pc-win.el (msdos-initialize-window-system):
3082 Add compatible optional display argument.
3083
3084 2013-04-06 Eli Zaretskii <eliz@gnu.org>
3085
3086 * files.el (normal-backup-enable-predicate): On MS-Windows and
3087 MS-DOS compare truenames of temporary-file-directory and of the
3088 file, so that 8+3 aliases (usually found in $TEMP on Windows)
3089 don't fail comparison by compare-strings. Also, compare file
3090 names case-insensitively on MS-Windows and MS-DOS.
3091
3092 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
3093
3094 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
3095 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
3096
3097 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
3098
3099 * whitespace.el (whitespace-color-on, whitespace-color-off):
3100 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
3101
3102 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
3103
3104 * ispell.el (ispell-set-spellchecker-params):
3105 Really set `ispell-args' for all equivs.
3106
3107 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
3108
3109 * ido.el (ido-completions): Use extra elements of ido-decorations
3110 (bug#14143).
3111 (ido-decorations): Update docstring.
3112
3113 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
3114
3115 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
3116 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
3117 nil during initialization, in order not to miss changes since the
3118 file was opened. (Bug#14140)
3119
3120 2013-04-05 Leo Liu <sdl.web@gmail.com>
3121
3122 * kmacro.el (kmacro-call-macro): Fix bug#14135.
3123
3124 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
3125
3126 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
3127
3128 2013-04-04 Glenn Morris <rgm@gnu.org>
3129
3130 * electric.el (electric-pair-inhibit-predicate): Add :version.
3131
3132 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
3133
3134 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
3135 when a package is required several times (bug#14082).
3136
3137 2013-04-04 Roland Winkler <winkler@gnu.org>
3138
3139 * faces.el (read-face-name): Behave as promised by the docstring.
3140 Assume that arg default is a list of faces.
3141 (describe-face): Call read-face-name with list of default faces.
3142
3143 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3144
3145 * bookmark.el: Fix deletion of bookmarks (bug#13972).
3146 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
3147 (bookmark-bmenu-execute-deletions): Only skip first line if it's
3148 the header.
3149 (bookmark-exit-hook-internal): Save even if list is empty.
3150
3151 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
3152
3153 * emacs-lisp/package.el (package-pinned-packages): New var.
3154 (package--add-to-archive-contents): Obey it (bug#14118).
3155
3156 2013-04-03 Alan Mackenzie <acm@muc.de>
3157
3158 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
3159 Also adapt to the new values of element 7 of a parse state.
3160
3161 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
3162 parameter `not-in-delimiter'. Handle being inside comment opener.
3163 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
3164 character in case we're typing a '*' after a '/'.
3165 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
3166 instead by passing the parameter to c-state-pp-to-literal.
3167
3168 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
3169 for elt. 7 of a parse state.
3170
3171 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
3172
3173 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
3174 * international/latin1-disp.el, international/mule-util.el:
3175 * language/cyril-util.el, language/european.el, language/ind-util.el:
3176 * language/lao-util.el, language/thai.el, language/tibet-util.el:
3177 * language/tibetan.el, language/viet-util.el:
3178 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
3179
3180 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
3181
3182 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
3183 (electric-pair-post-self-insert-function): Use it.
3184 (electric-pair-default-inhibit): New function, extracted from
3185 electric-pair-post-self-insert-function.
3186
3187 2013-03-31 Roland Winkler <winkler@gnu.org>
3188
3189 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
3190
3191 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
3192
3193 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
3194
3195 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
3196
3197 Un-indent after "pass" and "return" statements (Bug#13888)
3198 * progmodes/python.el (python-indent-block-enders): New var.
3199 (python-indent-calculate-indentation): Use it.
3200
3201 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
3202
3203 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
3204 defun. Defining it as defalias could introduce too eager
3205 byte-compiler optimization. (Bug#14030)
3206
3207 2013-03-30 Chong Yidong <cyd@gnu.org>
3208
3209 * iswitchb.el (iswitchb-read-buffer): Fix typo.
3210
3211 2013-03-30 Leo Liu <sdl.web@gmail.com>
3212
3213 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
3214 (kmacro-execute-from-register): Pass the keyboard macro to
3215 kmacro-call-macro or repeating won't work correctly.
3216
3217 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
3218
3219 * progmodes/subword.el: Back to using `forward-symbol'.
3220
3221 * subr.el (forward-whitespace, forward-symbol)
3222 (forward-same-syntax): Move from thingatpt.el.
3223
3224 2013-03-29 Leo Liu <sdl.web@gmail.com>
3225
3226 * kmacro.el (kmacro-to-register): New command.
3227 (kmacro-execute-from-register): New function.
3228 (kmacro-keymap): Bind to 'x'. (Bug#14071)
3229
3230 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
3231
3232 * mpc.el: Use defvar-local and setq-local.
3233 (mpc--proc-connect): Connection failures are not bugs.
3234 (mpc-mode-map): `follow-link' only applies to the buffer's content.
3235 (mpc-volume-map): Bind to the up-events.
3236
3237 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
3238
3239 * progmodes/subword.el (superword-mode): Use `forward-sexp'
3240 instead of `forward-symbol'.
3241
3242 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
3243
3244 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
3245 (edebug--recursive-edit): Use it.
3246 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
3247 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
3248
3249 2013-03-28 Leo Liu <sdl.web@gmail.com>
3250
3251 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
3252
3253 2013-03-27 Eli Zaretskii <eliz@gnu.org>
3254
3255 * facemenu.el (list-colors-callback): New defvar.
3256 (list-colors-redisplay): New function.
3257 (list-colors-display): Install list-colors-redisplay as the
3258 revert-buffer-function. (Bug#14063)
3259
3260 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
3261
3262 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
3263 and suffixes don't overlap (bug#14061).
3264
3265 * case-table.el: Use lexical-binding.
3266 (case-table-get-table): New function.
3267 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
3268
3269 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
3270
3271 * progmodes/subword.el: Add `superword-mode' to do word motion
3272 over symbol_words (parallels and leverages `subword-mode' which
3273 does word motion inside MixedCaseWords).
3274
3275 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
3276
3277 * eshell/em-unix.el: Move su and sudo to...
3278 * eshell/em-tramp.el: ...Eshell tramp module.
3279
3280 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
3281
3282 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
3283 Change return value to be a sexp. Delay `get-buffer' to after
3284 restoring the desktop (bug#13951).
3285
3286 2013-03-26 Leo Liu <sdl.web@gmail.com>
3287
3288 * register.el: Move semantic tag handling back to
3289 cedet/semantic/senator.el. (Bug#14052)
3290
3291 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
3292
3293 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
3294 into the prompt either (bug#13963).
3295
3296 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
3297
3298 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
3299 part of "(error-foo)".
3300
3301 2013-03-24 Juri Linkov <juri@jurta.org>
3302
3303 * replace.el (list-matching-lines-prefix-face): New defcustom.
3304 (occur-1): Pass `list-matching-lines-prefix-face' to the function
3305 `occur-engine' if `face-differs-from-default-p' returns t.
3306 (occur-engine): Add `,' inside backquote construct to evaluate
3307 `prefix-face'. Propertize the prefix with the `prefix-face' face.
3308 Pass `prefix-face' to the functions `occur-context-lines' and
3309 `occur-engine-add-prefix'.
3310 (occur-engine-add-prefix, occur-context-lines): Add optional arg
3311 `prefix-face' and propertize the prefix with `prefix-face'.
3312 (Bug#14017)
3313
3314 2013-03-24 Leo Liu <sdl.web@gmail.com>
3315
3316 * nxml/rng-valid.el (rng-validate-while-idle)
3317 (rng-validate-quick-while-idle): Guard against deleted buffer.
3318 (Bug#13999)
3319
3320 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
3321 is the last entry in kill-buffer-hook.
3322
3323 * files.el (kill-buffer-hook): Doc fix.
3324
3325 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
3326
3327 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
3328 Make it safe-local.
3329
3330 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
3331
3332 2013-03-23 Leo Liu <sdl.web@gmail.com>
3333
3334 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
3335 Remove.
3336
3337 * nxml/rng-valid.el (rng-validate-mode)
3338 (rng-after-change-function, rng-do-some-validation):
3339 * nxml/rng-maint.el (rng-validate-buffer):
3340 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
3341 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
3342 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
3343 (nxml-extend-after-change-region): Use with-silent-modifications.
3344
3345 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
3346 timer-idle-list.
3347
3348 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
3349 (rng-next-error-1, rng-previous-error-1): Do not let-bind
3350 timer-idle-list. (Bug#13999)
3351
3352 2013-03-23 Juri Linkov <juri@jurta.org>
3353
3354 * info.el (info-index-match): New face.
3355 (Info-index, Info-apropos-matches): Add a nested subgroup to the
3356 main pattern and add text properties with the new face to matches
3357 in index entries relative to the beginning of the index entry.
3358 (Bug#14015)
3359
3360 2013-03-21 Eric Ludlam <zappo@gnu.org>
3361
3362 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
3363 Inhibit read only while inserting objects.
3364
3365 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
3366
3367 * progmodes/cfengine.el: Update docs to mention
3368 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
3369 symbol motion. Remove "_" from the word syntax.
3370
3371 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
3372
3373 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
3374 syntax for both `cfengine2-mode' and `cfengine3-mode'.
3375
3376 2013-03-20 Juri Linkov <juri@jurta.org>
3377
3378 * info.el (Info-next-reference-or-link)
3379 (Info-prev-reference-or-link): New functions.
3380 (Info-next-reference, Info-prev-reference): Use them.
3381 (Info-try-follow-nearest-node): Handle footnote navigation.
3382 (Info-fontify-node): Fontify footnotes. (Bug#13989)
3383
3384 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
3385
3386 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
3387 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
3388
3389 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
3390
3391 Suppress unnecessary non-ASCII chatter during build process.
3392 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
3393 (batch-skkdic-convert): Suppress most of the chatter.
3394 It's not needed so much now that machines are faster,
3395 and its non-ASCII component was confusing; see Dmitry Gutov in
3396 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
3397
3398 2013-03-20 Leo Liu <sdl.web@gmail.com>
3399
3400 * ido.el (ido-chop): Fix bug#10994.
3401
3402 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
3403
3404 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
3405 Remove vars.
3406 (whitespace-color-on, whitespace-color-off):
3407 Use `font-lock-fontify-buffer' (Bug#13817).
3408
3409 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
3410
3411 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
3412 remapping in mode-line.
3413 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
3414
3415 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
3416
3417 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
3418 value for `whitespace-line' face (Bug#13875).
3419 (whitespace-font-lock-keywords): Change description.
3420 (whitespace-color-on): Don't save `font-lock-keywords' value, save
3421 the constructed keywords instead.
3422 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
3423
3424 2013-03-19 Leo Liu <sdl.web@gmail.com>
3425
3426 * progmodes/compile.el (compilation-display-error): New command.
3427 (compilation-mode-map, compilation-minor-mode-map): Bind it to
3428 C-o. (Bug#13992)
3429
3430 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
3431
3432 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
3433
3434 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
3435
3436 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
3437
3438 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
3439
3440 * net/tramp-compat.el (tramp-compat-user-error): New defun.
3441
3442 * net/tramp-adb.el (tramp-adb-handle-shell-command):
3443 * net/tramp-gvfs.el (top):
3444 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
3445 (tramp-handle-shell-command): Use it.
3446 (tramp-dissect-file-name): Raise an error when hostname is a
3447 method name, and neither method nor user is specified.
3448
3449 * net/trampver.el: Update release number.
3450
3451 2013-03-18 Leo Liu <sdl.web@gmail.com>
3452
3453 Make sure eldoc can be turned off properly.
3454 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
3455 eldoc-mode.
3456 (eldoc-display-message-p): Revert last change.
3457 (eldoc-display-message-no-interference-p)
3458 (eldoc-print-current-symbol-info): Tweak.
3459
3460 2013-03-18 Tassilo Horn <tsdh@gnu.org>
3461
3462 * doc-view.el (doc-view-new-window-function): Check the new window
3463 overlay's display property instead the char property of the
3464 buffer's first char. Use `with-selected-window' instead of
3465 `save-window-excursion' with `select-window'.
3466 (doc-view-document->bitmap): Check the current doc-view overlay's
3467 display property instead the char property of the buffer's first char.
3468
3469 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
3470
3471 Automate the build of ja-dic.el (Bug#13984).
3472 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
3473 from the input, rather than assume that it's been done for us by the
3474 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
3475 the current date into a ja-dic.el comment, as that complicates
3476 regression testing.
3477
3478 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
3479
3480 * whitespace.el: Fix double evaluation.
3481 (whitespace-space, whitespace-hspace, whitespace-tab)
3482 (whitespace-newline, whitespace-trailing, whitespace-line)
3483 (whitespace-space-before-tab, whitespace-indentation)
3484 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
3485 obsolete defvars.
3486 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
3487 (whitespace-color-on): Use a single font-lock-add-keywords call.
3488 Fix double-evaluation of face variables.
3489
3490 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
3491
3492 * net/tramp-adb.el (tramp-adb-parse-device-names):
3493 Use `start-process' instead of `call-process'. Otherwise, the
3494 function might be blocked under MS Windows. (Bug#13299)
3495
3496 2013-03-17 Leo Liu <sdl.web@gmail.com>
3497
3498 Extend eldoc to display info in the mode-line. (Bug#13978)
3499 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
3500 (eldoc-mode-line-string): New variable.
3501 (eldoc-minibuffer-message): New function.
3502 (eldoc-message-function): New variable.
3503 (eldoc-message): Use it.
3504 (eldoc-display-message-p)
3505 (eldoc-display-message-no-interference-p):
3506 Support eldoc-post-insert-mode.
3507
3508 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
3509 (eval-expression): Run it.
3510
3511 2013-03-17 Roland Winkler <winkler@gnu.org>
3512
3513 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
3514 strings in the list of return values.
3515
3516 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
3517
3518 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
3519 radix before checking for HMS forms.
3520
3521 2013-03-16 Leo Liu <sdl.web@gmail.com>
3522
3523 * progmodes/scheme.el: Add indentation and font-locking for λ.
3524 (Bug#13975)
3525
3526 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
3527
3528 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
3529 token before point (bug#13942).
3530
3531 2013-03-16 Leo Liu <sdl.web@gmail.com>
3532
3533 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
3534
3535 2013-03-16 Eli Zaretskii <eliz@gnu.org>
3536
3537 * startup.el (command-line-normalize-file-name): Fix handling of
3538 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
3539 <xfq.free@gmail.com> in
3540 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
3541
3542 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
3543
3544 Sync with Tramp 2.2.7.
3545
3546 * net/trampver.el: Update release number.
3547
3548 2013-03-14 Tassilo Horn <tsdh@gnu.org>
3549
3550 * doc-view.el Fix bug#13887.
3551 (doc-view-insert-image): Don't modify overlay associated to
3552 non-live windows, and implement horizontal centering of image in
3553 case it's smaller than the window.
3554 (doc-view-new-window-function): Force redisplay of new windows on
3555 doc-view buffers.
3556
3557 2013-03-13 Karl Fogel <kfogel@red-bean.com>
3558
3559 * saveplace.el (save-place-alist-to-file): Don't sort
3560 `save-place-alist', just pretty-print it (bug#13882).
3561
3562 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
3563
3564 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Check,
3565 whether `default-file-name-coding-system' is bound. It isn't in
3566 XEmacs.
3567
3568 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
3569
3570 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
3571 backquotes for `obsolete' (bug#13929).
3572
3573 * international/mule.el (find-auto-coding): Include file name in
3574 obsolescence warning (bug#13922).
3575
3576 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
3577
3578 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
3579 for CFEngine 3-specific indentation.
3580 (cfengine3-indent-line): Use it. Fix up category regex.
3581 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
3582
3583 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
3584
3585 * type-break.el (type-break-file-name):
3586 * textmodes/remember.el (remember-data-file):
3587 * strokes.el (strokes-file):
3588 * shadowfile.el (shadow-initialize):
3589 * saveplace.el (save-place-file):
3590 * ps-bdf.el (bdf-cache-file):
3591 * progmodes/idlwave.el (idlwave-config-directory):
3592 * net/quickurl.el (quickurl-url-file):
3593 * international/kkc.el (kkc-init-file-name):
3594 * ido.el (ido-save-directory-list-file):
3595 * emulation/viper.el (viper-custom-file-name):
3596 * emulation/vip.el (vip-startup-file):
3597 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
3598 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
3599
3600 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
3601
3602 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
3603 * language/thai-word.el: Switch to UTF-8.
3604
3605 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
3606
3607 * recentf.el (recentf-save-file): Use locate-user-emacs-file (bug#13870).
3608
3609 2013-03-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3610
3611 * net/net-utils.el (net-utils-remove-ctrl-m-filter):
3612 Use with-current-buffer and don't move point.
3613 (net-utils-run-simple): Remove useless code.
3614 (net-utils-remove-ctl-m): Remove unused custom.
3615
3616 2013-03-11 Per Starbäck <starback@stp.lingfil.uu.se>
3617
3618 * international/characters.el (glyphless-set-char-table-range): New fun.
3619 (update-glyphless-char-display): Use it (bug#13744).
3620
3621 2013-03-11 Teodor Zlatanov <tzz@lifelogs.com>
3622
3623 * progmodes/cfengine.el: Update for CFEngine 3.4.2 and higher:
3624 namespaces in the syntax, indent closer for hanging brace
3625 correctly, allow single-quote delimited 'strings', and make
3626 `cfengine3-mode' the default.
3627
3628 2013-03-11 Jean-Philippe Gravel <jpgravel@gmail.com>
3629
3630 * progmodes/gdb-mi.el: Speed up initialization (bug#10580).
3631 Use lexical-binding. Fix up docstring according to conventions.
3632 (gdbmi-debug-mode): New var.
3633 (gdbmi-start-with, gdbmi-same-start, gdbmi-is-number, gdbmi-bnf-init)
3634 (gdbmi-bnf-output, gdbmi-bnf-skip-unrecognized, gdbmi-bnf-gdb-prompt)
3635 (gdbmi-bnf-result-record, gdbmi-bnf-out-of-band-record)
3636 (gdbmi-bnf-async-record, gdbmi-bnf-stream-record)
3637 (gdbmi-bnf-console-stream-output, gdbmi-bnf-target-stream-output)
3638 (gdbmi-bnf-log-stream-output, gdbmi-bnf-result-and-async-record-impl)
3639 (gdbmi-bnf-incomplete-record-result): New functions.
3640 (gdb-car<): Remove function.
3641 (gdbmi-record-list): Remove variable.
3642 (gdbmi-bnf-state, gdbmi-bnf-offset): New vars.
3643 (gdbmi-bnf-result-state-configs): New const.
3644 (gud-gdbmi-marker-filter): Rewrite.
3645 (gdb-ignored-notification, gdb-thread-created, gdb-thread-exited)
3646 (gdb-thread-selected, gdb-running, gdb-starting, gdb-stopped):
3647 Add `token' argument.
3648 (gdb-done, gdb-error): New functions.
3649 (gdb-done-or-error): Add `is-complete' argument. Change arg order.
3650
3651 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
3652
3653 * term/xterm.el (xterm--report-background-handler): Don't burp
3654 upon timeout.
3655 (xterm--version-handler): Extract from terminal-init-xterm.
3656 (xterm--query): Don't mishandle timeout. Remove debugging messages.
3657 Allow multiple handlers.
3658 (terminal-init-xterm): Handle OSX's Terminal.app's incorrect answer.
3659
3660 * term/xterm.el: Don't discard input (bug#6758). Use lexical-binding.
3661 (xterm--report-background-handler, xterm--query): New functions.
3662 (terminal-init-xterm): Use them.
3663
3664 2013-03-11 Michael R. Mauger <michael@mauger.com>
3665
3666 * progmodes/sql.el Version 3.2
3667 Please note that my address changed to <michael@mauger.com>;
3668 the <mmaug@yahoo.com> address remains active.
3669 (sql-connection-alist): Updates documentation to fix bug#13715.
3670 (sql-connect): Handle missing `sql-connection-alist' correctly.
3671 (sql-mode-oracle-font-lock-keywords): Add missing keywords.
3672 (sql-magic-go, sql-magic-semicolon): Mark with `delete-selection'
3673 property.
3674 (sql-default-value): New function.
3675 (sql-get-login-ext, sql-get-login): Fixes bug where buffer-local
3676 values were not used.
3677 (sql-rename-buffer): Make sure alternate buffer name has no text
3678 properties.
3679 (sql-input-sender, sql-execute-feature): Fetch variable with
3680 `buffer-local-value' rather than `with-current-buffer'.
3681 (sql-*): Use #' function syntax consistently.
3682 (sql-*): Use message/error/user-error consistently.
3683
3684 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
3685
3686 * xt-mouse.el (xterm-mouse-event-read): Remove.
3687 (xterm-mouse--read-event-sequence-1000)
3688 (xterm-mouse--read-event-sequence-1006): Use read-event instead.
3689
3690 2013-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
3691
3692 * term/xterm.el (xterm-function-map): Support format used with
3693 formatOtherKeys=1 (bug#13839).
3694
3695 * emacs-lisp/byte-run.el (dont-compile): Declare obsolete.
3696 (with-no-warnings): Use `declare'.
3697
3698 * whitespace.el (whitespace-enable-predicate): New variable.
3699 (whitespace-enable-predicate): Use it.
3700
3701 * comint.el (comint-send-input, comint-snapshot-last-prompt)
3702 (comint-output-filter, comint-update-fence):
3703 Use with-silent-modifications.
3704
3705 2013-03-10 Jambunathan K <kjambunathan@gmail.com>
3706
3707 * replace.el (occur-read-regexp-defaults-function): New var.
3708 (occur-read-regexp-defaults): New defun.
3709 (occur-read-primary-args): Propagate above change (bug#13892).
3710
3711 2013-03-09 Stefan Monnier <monnier@iro.umontreal.ca>
3712
3713 * mouse.el (mouse-drag-track): Remove left-over debugging code.
3714
3715 2013-03-09 Michael Albinus <michael.albinus@gmx.de>
3716
3717 Major rewrite due to changed D-Bus interface of GVFS 1.14.
3718
3719 * net/tramp-gvfs.el (top): Extend check for gvfs availability.
3720 (tramp-gvfs-methods-mounttracker, tramp-gvfs-listmounts)
3721 (tramp-gvfs-mountlocation, tramp-gvfs-mountlocation-signature):
3722 New defconst.
3723 (tramp-gvfs-file-name-handler-alist) [directory-files]
3724 [directory-files-and-attributes, file-exists-p, file-modes]:
3725 Use Tramp default handler.
3726 [file-acl, file-selinux-context, process-file, set-file-acl]:
3727 [set-file-modes, set-file-selinux-context, shell-command]:
3728 [start-file-process]: Remove handler.
3729 [verify-visited-file-modtime]: New handler.
3730 (tramp-gvfs-dbus-string-to-byte-array)
3731 (tramp-gvfs-dbus-byte-array-to-string): New defuns. Replace all
3732 calls of `dbus-string-to-byte-array' and
3733 `tramp-gvfs-dbus-byte-array-to-string'.
3734 (tramp-gvfs-handle-copy-file)
3735 (tramp-gvfs-handle-delete-directory)
3736 (tramp-gvfs-handle-delete-file, tramp-gvfs-handle-file-attributes)
3737 (tramp-gvfs-handle-file-directory-p)
3738 (tramp-gvfs-handle-file-executable-p)
3739 (tramp-gvfs-handle-file-name-all-completions)
3740 (tramp-gvfs-handle-file-readable-p)
3741 (tramp-gvfs-handle-file-writable-p)
3742 (tramp-gvfs-handle-insert-directory)
3743 (tramp-gvfs-handle-insert-file-contents)
3744 (tramp-gvfs-handle-make-directory, tramp-gvfs-handle-rename-file)
3745 (tramp-gvfs-handle-set-visited-file-modtime)
3746 (tramp-gvfs-handle-write-region): Rewrite.
3747 (tramp-gvfs-handle-file-acl)
3748 (tramp-gvfs-handle-file-selinux-context)
3749 (tramp-gvfs-handle-process-file, tramp-gvfs-handle-set-file-acl)
3750 (tramp-gvfs-handle-set-file-modes)
3751 (tramp-gvfs-handle-set-file-selinux-context)
3752 (tramp-gvfs-handle-shell-command)
3753 (tramp-gvfs-handle-start-file-process)
3754 (tramp-gvfs-handle-verify-visited-file-modtime): Remove defuns.
3755 (tramp-gvfs-url-file-name): Do not use `file-truename', we work
3756 over the symlinks. Fix user handling.
3757 (top, tramp-gvfs-handler-mounted-unmounted): Handle different names
3758 of the D-Bus signals.
3759 (tramp-gvfs-connection-mounted-p): Handle different names of the
3760 D-Bus methods.
3761 (tramp-gvfs-mount-spec-entry): New defun.
3762 (tramp-gvfs-mount-spec): Use it.
3763 (tramp-gvfs-maybe-open-connection): Check, that in case of "smb"
3764 there is a share name. Handle different names of the D-Bus
3765 signals and methods. Set connection properties needed for
3766 `tramp-check-cached-permissions'.
3767 (tramp-gvfs-send-command): Apply `tramp-gvfs-maybe-open-connection'.
3768 Return t or nil.
3769
3770 * net/tramp.el (tramp-backtrace): Move up.
3771 (tramp-error): Dump a backtrace into the debug buffer when
3772 `tramp-verbose > 9.
3773 (tramp-file-mode-type-map, tramp-file-mode-from-int)
3774 (tramp-file-mode-permissions, tramp-get-local-uid)
3775 (tramp-get-local-gid, tramp-check-cached-permissions): Move from
3776 tramp-sh.el.
3777
3778 * net/tramp-sh.el (tramp-file-mode-type-map)
3779 (tramp-check-cached-permissions, tramp-file-mode-from-int)
3780 (tramp-file-mode-permissions, tramp-get-local-uid)
3781 (tramp-get-local-gid): Move to tramp.el.
3782
3783 2013-03-09 Stefan Monnier <monnier@iro.umontreal.ca>
3784
3785 Separate mouse-1-click-follows-link from mouse-drag-region.
3786 * mouse.el (mouse--down-1-maybe-follows-link): New function.
3787 (key-translation-map): Use it to implement mouse-1-click-follows-link.
3788 (mouse-drag-line, mouse-drag-track):
3789 Remove mouse-1-click-follows-link code.
3790 (mouse--remap-link-click-p): Remove.
3791
3792 2013-03-08 Jambunathan K <kjambunathan@gmail.com>
3793
3794 * hi-lock.el (hi-lock-read-regexp-defaults-function): New var.
3795 (hi-lock-read-regexp-defaults): New defun.
3796 (hi-lock-line-face-buffer, hi-lock-face-buffer)
3797 (hi-lock-face-phrase-buffer): Propagate above change.
3798 Update docstring (bug#13892).
3799
3800 * subr.el (find-tag-default-as-regexp): New defun.
3801 * replace.el (read-regexp): Propagate above change.
3802
3803 2013-03-08 Jay Belanger <jay.p.belanger@gmail.com>
3804
3805 * calc/calc-units.el (calc-convert-units): Fix the way that default
3806 new units are stored.
3807
3808 2013-03-07 Matthias Meulien <orontee@gmail.com>
3809
3810 * bookmark.el: Define a face to highlight bookmark names in
3811 bookmark menu buffers, where the default is a bold face similarly
3812 to buffer names in buffer menu buffers.
3813 (bookmark-menu-bookmark): New face to highlight bookmark names.
3814 (bookmark-insert-location): Remove duplicated text property to
3815 conform to buffer list (see `list-buffers').
3816 (bookmark-bmenu-list, bookmark-bmenu-hide-filenames): Apply face
3817 `bookmark-menu-bookmark' to bookmark names.
3818
3819 2013-03-07 Matthias Meulien <orontee@gmail.com>
3820 Karl Fogel <kfogel@red-bean.com>
3821
3822 * bookmark.el: Display the bookmark list header similarly to the
3823 buffer list header (see `list-buffers'), where the default is now
3824 an immovable/immutable header line.
3825 (bookmark-bmenu-use-header-line): New variable.
3826 (bookmark-bmenu-inline-header-height): New name for
3827 `bookmark-bmenu-header-height', to avoid confusion with the code
3828 for the new immovable header. All references changed.
3829 (bookmark-bmenu-set-header): New function.
3830 (bookmark-bmenu-list, bookmark-bmenu-toggle-filenames):
3831 Conditionalize header construction accordingly.
3832 (bookmark-bmenu-ensure-position): Conditionalize the skipping of
3833 the inline header height.
3834 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
3835 Conditionalize the skipping of the inline header height.
3836
3837 2013-03-07 Dmitry Gutov <dgutov@yandex.ru>
3838
3839 * progmodes/js.el (js--multi-line-declaration-indentation):
3840 Merge from js2-mode (https://github.com/mooz/js2-mode/issues/89).
3841
3842 2013-03-06 Dmitry Gutov <dgutov@yandex.ru>
3843
3844 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
3845 Only propertize regexp when not inside a string (Bug#13885).
3846
3847 2013-03-06 Alan Mackenzie <acm@muc.de>
3848
3849 Correct the position of point in some line-up functions.
3850 * progmodes/cc-align.el (c-lineup-whitesmith-in-block)
3851 (c-lineup-assignments, c-lineup-gcc-asm-reg ): Take position of
3852 point at column 0 rather than at a random place in the line.
3853
3854 2013-03-05 Michael Albinus <michael.albinus@gmx.de>
3855
3856 * net/tramp-compat.el (tramp-compat-delete-directory):
3857 Implement TRASH argument.
3858
3859 2013-03-05 Dmitry Gutov <dgutov@yandex.ru>
3860
3861 Keep pre-existing highlighting in completion candidates (Bug#13250).
3862 * minibuffer.el (completions-first-difference): State that the
3863 face is "added" in the docstring.
3864 (completions-common-part): Same. And don't inherit from default.
3865 (completion-hilit-commonality): Prepend 'completions-common-part
3866 and 'completion-first-difference faces to the 'face property,
3867 instead of replacing the value(s).
3868 (completion--insert-strings): Same with 'completions-annotations face.
3869 (completion-hilit-commonality): Use 'face instead of
3870 'font-lock-face, because it gets priority if the completion
3871 strings already have 'face set.
3872
3873 2013-03-04 Alan Mackenzie <acm@muc.de>
3874
3875 Replace `last-command-event' by `last-command-char' in XEmacs.
3876 * progmodes/cc-defs.el (c-last-command-char): New macro.
3877 * progmodes/cc-align.el (c-semi&comma-inside-parenlist)
3878 (c-semi&comma-no-newlines-before-nonblanks)
3879 (c-semi&comma-no-newlines-for-oneline-inliners): Use the new macro
3880 in place of `last-command-event'.
3881 * progmodes/cc-cmds.el (c-electric-pound, c-electric-brace)
3882 (c-electric-slash, c-electric-semi&comma, c-electric-lt-gt)
3883 (c-electric-paren, c-electric-continued-statement): Use the new
3884 macro in place of `last-command-event'.
3885
3886 2013-03-04 Glenn Morris <rgm@gnu.org>
3887
3888 * files.el (inhibit-local-variables-regexps):
3889 Add .diff and .patch. (Bug#13862)
3890
3891 2013-03-03 Michael Albinus <michael.albinus@gmx.de>
3892
3893 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Cache,
3894 whether the "su" command is available on the device.
3895
3896 2013-03-01 Michael Albinus <michael.albinus@gmx.de>
3897
3898 * net/tramp-adb.el (tramp-adb-prompt): Extend regexp.
3899 (tramp-adb-handle-process-file): Remove superfluous setting.
3900 (tramp-adb-command-exit-status): Handle case that COMMAND is nil.
3901 (tramp-adb-barf-unless-okay): Use `tramp-adb-command-exit-status'.
3902 (tramp-adb-maybe-open-connection): Apply "su" if user is defined.
3903
3904 2013-03-01 Stefan Monnier <monnier@iro.umontreal.ca>
3905
3906 * textmodes/ispell.el: Fix nitpicks and byte-compiler warnings.
3907 (ispell-print-if-debug): Build `format' in. Avoid end-of-buffer.
3908 (ispell-parse-hunspell-affix-file): Avoid beginning-of-buffer.
3909 Use dict-key rather than dict-name for the error message.
3910
3911 2013-03-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3912
3913 * net/net-utils.el (net-utils-run-simple): Don't display-buffer
3914 when reverting (bug#13831).
3915
3916 2013-03-01 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3917
3918 * textmodes/ispell.el (ispell-find-hunspell-dictionaries):
3919 Always expand affix-file before storing to protect against changed
3920 `default-directory'.
3921 (ispell-print-if-debug): Make sure message is printed at the end
3922 of the debug buffer.
3923
3924 2013-03-01 Michael Albinus <michael.albinus@gmx.de>
3925
3926 * net/tramp.el (tramp-obsolete-methods): New defconst.
3927 (tramp-warned-obsolete-methods): New defvar.
3928 (tramp-find-method): Check for obsolete methods. Map them to a
3929 replacement method if appropriate.
3930
3931 * net/tramp-sh.el (tramp-methods) [scp1, scp2, ssh1, ssh2, plink1]:
3932 Remove methods.
3933 (top): Remove completion functions for "scp1", "scp2", "ssh1",
3934 "ssh2" and "plink1".
3935
3936 2013-02-28 Dale Sedivec <dale@codefu.org>
3937
3938 * textmodes/sgml-mode.el (sgml-syntax-propertize-function):
3939 Return valid syntax-table property value when converting
3940 quotes within text from string syntax to punctuation syntax (bug#13844).
3941
3942 2013-02-28 Juri Linkov <juri@jurta.org>
3943
3944 * dired-aux.el (dired-diff): If file at point is a backup file,
3945 use its original as the default value, and reverse the order
3946 of arguments to the `diff' call. Doc fix. (Bug#13772)
3947
3948 2013-02-28 Michael Albinus <michael.albinus@gmx.de>
3949
3950 * net/tramp-adb.el (tramp-adb-sdk-dir): Remove. Replaced by ...
3951 (tramp-adb-program): New defcustom. Remove function. Adapt calls.
3952
3953 2013-02-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3954
3955 Initial support for hunspell dictionaries auto-detection (Bug#13639)
3956
3957 * textmodes/ispell.el (ispell-find-hunspell-dictionaries):
3958 Ask hunspell about available and default dictionaries.
3959 (ispell-parse-hunspell-affix-file): Extract relevant info from
3960 hunspell affix file.
3961 (ispell-hunspell-fill-dictionary-entry): Fill non-initialized
3962 `ispell-dictionary-alist' entry for given dictionary after info
3963 provided by `ispell-parse-hunspell-affix-file'.
3964 (ispell-hunspell-dict-paths-alist): New defvar to contain an alist
3965 of parsed hunspell dicts and associated affix files.
3966 (ispell-hunspell-dictionary-alist): New defvar to contain an alist
3967 of parsed hunspell dicts and associated parameters.
3968 (ispell-set-spellchecker-params):
3969 Call `ispell-find-hunspell-dictionaries' if hunspell and not
3970 previously done.
3971 (ispell-start-process):
3972 Call `ispell-hunspell-fill-dictionary-entry' for current
3973 dictionary if it is not initialized.
3974
3975 2013-02-28 Stefan Monnier <monnier@iro.umontreal.ca>
3976
3977 * imenu.el: Comment nitpicks.
3978
3979 2013-02-28 Sam Steingold <sds@gnu.org>
3980
3981 * vc/diff-mode.el (diff-hunk-file-names): Handle filenames with spaces.
3982 See <http://stackoverflow.com/questions/14720205>.
3983
3984 2013-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3985
3986 * net/net-utils.el (net-utils--revert-function): New fun (bug#13831).
3987 (net-utils-mode): Use it.
3988 (net-utils--revert-cmd): New var.
3989 (net-utils-run-simple): Set it, and remove bogus interactive spec.
3990 (traceroute): Use net-utils-run-simple.
3991
3992 2013-02-28 Glenn Morris <rgm@gnu.org>
3993
3994 * textmodes/paragraphs.el (mark-paragraph): Doc fix.
3995
3996 2013-02-28 Stefan Monnier <monnier@iro.umontreal.ca>
3997
3998 * doc-view.el: Preserve h&v scroll across C-c C-c C-c C-c.
3999 (doc-view-fallback-mode): Remove overlays here.
4000 (doc-view-toggle-display): Instead of here. Don't throw away
4001 image-mode-winprops-alist.
4002 (doc-view-goto-page): Don't mess with hscroll.
4003
4004 2013-02-27 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4005
4006 * font-lock.el (lisp-font-lock-keywords-2): Fix highlighting of
4007 &optional (bug#13819).
4008
4009 2013-02-27 Michael Albinus <michael.albinus@gmx.de>
4010
4011 * net/tramp-adb.el (tramp-adb-parse-device-names)
4012 (tramp-adb-maybe-open-connection): Add timeouts. (Bug#13299)
4013
4014 2013-02-26 Michael Albinus <michael.albinus@gmx.de>
4015
4016 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
4017 Add "2>/dev/null" to the ls command, in case "en_US.utf8" is not
4018 defined. POSIX environments fall back to the "C" locale then and
4019 emit a warning, which shall be suppressed.
4020
4021 2013-02-26 Stefan Monnier <monnier@iro.umontreal.ca>
4022
4023 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): Tweak logic.
4024 (easy-mmode-set-keymap-parents): Use make-composed-keymap.
4025
4026 2013-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
4027
4028 * emacs-lisp/bytecomp.el (byte-compile-file): Use let.
4029
4030 2013-02-25 Juri Linkov <juri@jurta.org>
4031
4032 * replace.el (read-regexp): Let-bind `default' to the first
4033 element of `defaults' if it's a list, otherwise it should be
4034 a string or nil. Let-bind `suggestions' to `defaults' if it's
4035 a list, otherwise make a list with the string value. Doc fix.
4036 (Bug#13805)
4037
4038 2013-02-25 Eli Zaretskii <eliz@gnu.org>
4039
4040 * emacs-lisp/bytecomp.el (byte-recompile-directory): Reject files
4041 that match "\`\.#", to avoid compiling lock files, even if they
4042 are readable (as they are on MS-Windows).
4043
4044 2013-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
4045
4046 * files.el (basic-save-buffer): Remove redundant directory-creation.
4047
4048 2013-02-24 Jay Belanger <jay.p.belanger@gmail.com>
4049
4050 * calc/calc-ext.el (math-to-radians-2, math-from-radians-2):
4051 Add option to force `pi' to remain symbolic.
4052 * calc/calcalg2.el (calcFunc-sin, calcFunc-cos, calcFunc-tan)
4053 (calcFunc-cot, calcFunc-csc, calcFunc-sec, calcFunc-arcsin)
4054 (calcFunc-arccos, calcFunc-arctan): Use symbolic `pi' in the
4055 derivatives, when necessary.
4056
4057 2013-02-23 Peter Kleiweg <p.c.j.kleiweg@rug.nl>
4058
4059 * progmodes/ps-mode.el (ps-mode-version): Bump to 1.1i.
4060 (ps-mode-octal-region): Use string-make-unibyte.
4061
4062 2013-02-23 Glenn Morris <rgm@gnu.org>
4063
4064 * emulation/viper-cmd.el (viper-submit-report):
4065 * progmodes/ps-mode.el (ps-mode-maintainer-address):
4066 * progmodes/vera-mode.el (vera-mode-help-address):
4067 * textmodes/artist.el (artist-maintainer-address):
4068 * textmodes/reftex.el (reftex-report-bug):
4069 * vc/ediff-util.el (ediff-submit-report):
4070 Add bug-gnu-emacs to bug report address.
4071
4072 * progmodes/simula.el (simula-mode-menu, simula-mode-map):
4073 Remove bug report entries.
4074 (simula-mode-help-address, simula-submit-bug-report): Make obsolete.
4075
4076 * emacs-lisp/bytecomp.el (byte-compile-level): New.
4077 (byte-compile-file, byte-compile-from-buffer):
4078 Use separate input/output buffers for each level of recursive
4079 byte-compile-file calls. (Bug#13787)
4080
4081 2013-02-23 Michael Albinus <michael.albinus@gmx.de>
4082
4083 * net/tramp.el (tramp-methods): Fix docstring.
4084 (tramp-ssh-controlmaster-options): Rename it from
4085 `tramp-ssh-controlmaster-template'. Return a string.
4086 (tramp-default-method): Adapt check for
4087 `tramp-ssh-controlmaster-options'.
4088
4089 * net/tramp-sh.el (tramp-methods):
4090 Replace `tramp-ssh-controlmaster-template' by "%c".
4091 (tramp-do-copy-or-rename-file-out-of-band)
4092 (tramp-maybe-open-connection): Use it in format spec. Ensure,
4093 that it is applied for the first hop only.
4094
4095 2013-02-22 Juri Linkov <juri@jurta.org>
4096
4097 * isearch.el (isearch-lazy-highlight-new-loop):
4098 Set `isearch-lazy-highlight-start' and `isearch-lazy-highlight-end'
4099 to `isearch-other-end' if it is not nil. (Bug#13402)
4100
4101 * replace.el (replace-highlight): Let-bind `isearch-other-end'
4102 to `match-beg'.
4103
4104 * textmodes/ispell.el (ispell-highlight-spelling-error-overlay):
4105 Let-bind `isearch-other-end' to `start', `isearch-forward' to t
4106 and `isearch-error' to nil.
4107
4108 2013-03-16 Fabián Ezequiel Gallina <fgallina@cuca>
4109
4110 * progmodes/python.el (python-info-current-defun):
4111 Enhance match-data cluttering prevention.
4112
4113 2013-02-22 Michael Albinus <michael.albinus@gmx.de>
4114
4115 * net/tramp.el (tramp-tramp-file-p): Fix docstring.
4116
4117 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
4118 Handle multibyte file names.
4119
4120 2013-02-22 Glenn Morris <rgm@gnu.org>
4121
4122 * textmodes/sgml-mode.el (sgml-xml-mode): Move before use.
4123 (sgml-transformation-function): Give it a :set function.
4124 (sgml-tag): Doc fix.
4125
4126 * cmuscheme.el (scheme-buffer):
4127 * progmodes/inf-lisp.el (inferior-lisp-buffer):
4128 * progmodes/tcl.el (inferior-tcl-buffer):
4129 * textmodes/tex-mode.el (tex-command): Doc fixes.
4130
4131 * image-mode.el (image-mode): Add mouse bindings for mode-line-process.
4132
4133 * htmlfontify.el (hfy-default-header): Encode title string. (Bug#7457)
4134
4135 2013-02-21 Bastien Guerry <bzg@gnu.org>
4136
4137 * cmuscheme.el (scheme-buffer): Fix docstring. (Bug#13778)
4138
4139 2013-02-21 Fabián Ezequiel Gallina <fgallina@cuca>
4140
4141 * progmodes/python.el (python-info-current-defun):
4142 Enhance match-data cluttering prevention.
4143
4144 2013-02-21 Glenn Morris <rgm@gnu.org>
4145
4146 * net/tramp.el (tramp-get-debug-buffer): Ensure outline.el is not
4147 loaded while outline-regexp is let bound. (Bug#9584)
4148
4149 2013-02-21 Fabián Ezequiel Gallina <fgallina@cuca>
4150
4151 * progmodes/python.el (python-info-current-defun): Fix failed
4152 defun name retrieval because of unwanted match-data cluttering.
4153
4154 2013-02-21 Michael Albinus <michael.albinus@gmx.de>
4155
4156 * net/tramp.el (tramp-ssh-controlmaster-template): Make it a
4157 defconst. Apply independent check for ControlPersist.
4158
4159 * net/tramp-sh.el (tramp-sh-handle-set-file-times): Set $UTC only
4160 temporarily, via "env".
4161
4162 2013-02-21 Glenn Morris <rgm@gnu.org>
4163
4164 * info.el (Info-enable-edit): Remove.
4165 (Info-edit): Disable it rather than using Info-enable.
4166 (Info-edit-mode-hook, Info-edit-map, Info-edit-mode, Info-edit)
4167 (Info-cease-edit): Make editing of Info files obsolete.
4168
4169 * informat.el (Info-tagify):
4170 Handle buffers not visiting files. (Bug#13763)
4171
4172 2013-02-21 Juanma Barranquero <lekktu@gmail.com>
4173
4174 * calc/calc-graph.el (calc-graph-show-dumb): Fix typo.
4175
4176 2013-02-21 Glenn Morris <rgm@gnu.org>
4177
4178 * files.el (basic-save-buffer): Move check for existing parent
4179 directory after hooks. (Bug#13773)
4180
4181 2013-02-20 Stefan Monnier <monnier@iro.umontreal.ca>
4182
4183 * simple.el (command-execute): Move from C. Add obsolete check.
4184 (extended-command-history): Move from C.
4185
4186 2013-02-20 Ulrich Müller <ulm@gentoo.org>
4187
4188 * jka-cmpr-hook.el (jka-compr-compression-info-list)
4189 (jka-compr-mode-alist-additions): Handle .txz suffix for
4190 XZ-compressed tar archives (bug#13770).
4191
4192 2013-02-20 Bastien Guerry <bzg@gnu.org>
4193
4194 * outline.el (outline-regexp, outline-heading-end-regexp):
4195 Make variables, not options (bug#13731).
4196
4197 2013-02-20 Glenn Morris <rgm@gnu.org>
4198
4199 * image.el (image-current-frame): Change from variable to function.
4200 (image-show-frame): Rename from image-nth-frame. Update callers.
4201 * image-mode.el (image-multi-frame): New variable.
4202 (image-mode-map, image-mode, image-goto-frame):
4203 Use image-multi-frame rather than image-current-frame.
4204 (image-mode, image-goto-frame): Use image-current-frame as
4205 function rather than as variable.
4206
4207 * emacs-lisp/cl-lib.el (cl-floatp-safe): Make it an alias for floatp.
4208 * emacs-lisp/cl-macs.el (cl--make-type-test)
4209 (cl--compiler-macro-assoc): Use floatp rather than cl-floatp-safe.
4210
4211 2013-02-19 Michael Albinus <michael.albinus@gmx.de>
4212
4213 * net/tramp-cache.el (tramp-get-hash-table): New defun.
4214 (tramp-get-file-property, tramp-set-file-property)
4215 (tramp-get-connection-property, tramp-set-connection-property): Use it.
4216 (tramp-flush-file-property, tramp-flush-directory-property):
4217 Rename argument to KEY.
4218 (tramp-flush-connection-property): Simplify a little bit.
4219 (tramp-connection-property-p): New defun.
4220 (top): Reapply saved values only if there isn't a corresponding
4221 entry in `tramp-connection-properties'.
4222
4223 2013-02-19 Fabián Ezequiel Gallina <fgallina@cuca>
4224
4225 * progmodes/python.el (python-indent-context):
4226 Fix python-info-line-ends-backslash-p call.
4227 (python-info-line-ends-backslash-p)
4228 (python-info-beginning-of-backslash): Respect line-number argument.
4229 (python-info-current-line-comment-p):
4230 Fix behavior when not at beginning-of-line.
4231 (python-util-position): Remove function.
4232 (python-util-goto-line): New function.
4233
4234 2013-02-19 Michael Albinus <michael.albinus@gmx.de>
4235
4236 * eshell/em-unix.el (eshell/su): Require tramp.
4237 (eshell/sudo): Require tramp. Remove now unnecessary check.
4238
4239 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Let-bind
4240 `tramp-current-connection' in order to avoid an error when several
4241 commands are invoked in a short time in eshell and friends.
4242
4243 2013-02-19 Stefan Monnier <monnier@iro.umontreal.ca>
4244
4245 Cleanup some of EIEIO's namespace.
4246 * emacs-lisp/eieio.el (eieio--define-field-accessors): New macro.
4247 Use it to define all the class-* and object-* field accessors (renamed
4248 to eieio--class-* and eieio--object-*). Update all uses.
4249 (eieio--class-num-slots, eieio--object-num-slots): Rename from
4250 class-num-slots and object-num-slots.
4251 (eieio--check-type): New macro.
4252 (eieio-defclass, eieio-oref, eieio-oref-default, same-class-p)
4253 (object-of-class-p, child-of-class-p, object-slots, class-slot-initarg)
4254 (eieio-oset, eieio-oset-default, object-assoc, object-assoc-list)
4255 (object-assoc-list-safe): Use it.
4256 (eieio-defclass): Tighten regexp.
4257 (eieio--defmethod): Use `memq'. Signal an error for unknown method kind.
4258 Remove unreachable code.
4259 (object-class-fast): Declare obsolete.
4260 (eieio-class-name, eieio-object-name, eieio-object-set-name-string)
4261 (eieio-object-class, eieio-object-class-name, eieio-class-parents)
4262 (eieio-class-children, eieio-class-precedence-list, eieio-class-parent):
4263 Rename from class-name, object-name, object-set-name-string,
4264 object-class, object-class-name, class-parents, class-children,
4265 class-precedence-list, class-parent; with obsolete alias.
4266 (class-of, class-direct-superclasses, class-direct-subclasses):
4267 Declare obsolete.
4268 (eieio-defmethod): Use `memq'; remove unreachable code.
4269 * emacs-lisp/eieio-base.el (eieio-persistent-read):
4270 * emacs-lisp/eieio-opt.el (eieio-class-button, eieio-describe-generic)
4271 (eieio-browse-tree, eieio-browse): Use eieio--check-type.
4272
4273 2013-02-18 Aidan Gauland <aidalgol@no8wireless.co.nz>
4274
4275 * eshell/em-cmpl.el: Correct "context-related help" keybinding in
4276 commentary.
4277
4278 2013-02-18 Michael Heerdegen <michael_heerdegen@web.de>
4279
4280 * emacs-lisp/eldoc.el (eldoc-highlight-function-argument):
4281 Use font-lock-keyword-face for macros and special forms (bug#8345).
4282
4283 2013-02-17 Didier Verna <didier@didierverna.net>
4284
4285 * net/network-stream.el (network-stream-open-starttls):
4286 Check that response to the starttls-command is non-nil. (Bug#13706)
4287
4288 2013-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
4289
4290 * font-lock.el (lisp-font-lock-keywords-1, lisp-font-lock-keywords-2):
4291 Don't assume all identifier chars have syntax word.
4292 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
4293 Remove bar-not-symbol. Adjust callers.
4294 (lisp-mode-variables): Don't set a font-lock-syntax-table.
4295
4296 2013-02-17 Leo Liu <sdl.web@gmail.com>
4297
4298 * net/rcirc.el (rcirc-keepalive): Fix invalid timer error.
4299
4300 2013-02-17 Glenn Morris <rgm@gnu.org>
4301
4302 * menu-bar.el (menu-bar-tools-menu): Fix case of EDE entry.
4303
4304 * image-mode.el (image-mode-map): Add image-dired menu entry.
4305
4306 * image-dired.el (tumme): Make this alias obsolete.
4307
4308 2013-02-16 Glenn Morris <rgm@gnu.org>
4309
4310 * image.el (image-animated-types): Remove.
4311 (image-multi-frame-p): Rename from image-animated-p, and generalize.
4312 (image-animated-p): Make obsolete alias.
4313 (image-animate, image-nth-frame, image-animate-timeout):
4314 Use image-multi-frame-p.
4315 (image-animate-timeout): If no delay, use image-default-frame-delay.
4316 * image-mode.el (image-mode, image-toggle-animation):
4317 Use image-multi-frame-p. (Bug#763, bug#10739)
4318 (image-mode): Adjust startup message for a multi-frame image.
4319
4320 * image-mode.el (image-mode-map): Give it a menu.
4321
4322 2013-02-16 Michael Albinus <michael.albinus@gmx.de>
4323
4324 * net/tramp-cache.el (tramp-connection-properties): New customer
4325 option.
4326 (tramp-get-connection-property): Use it.
4327
4328 * net/tramp-compat.el (top): Require 'trampver.
4329
4330 * net/tramp-sh.el (tramp-remote-process-environment):
4331 Set tramp-autoload cookie.
4332
4333 2013-02-16 Kevin Ryde <user42@zip.com.au>
4334
4335 * info-look.el (info-lookup-select-mode): If major-mode has no
4336 info-lookup-alist entry then search up derived-mode-parent (bug#8660).
4337
4338 2013-02-16 Jambunathan K <kjambunathan@gmail.com>
4339
4340 * replace.el (read-regexp): Tighten the regexp that matches tag.
4341 When tag is retrieved with `find-tag-default', use regexp that
4342 matches tag at point. Also update docstring (Bug#13687).
4343
4344 2013-02-16 Eli Zaretskii <eliz@gnu.org>
4345
4346 * autorevert.el (auto-revert-notify-add-watch): With 'w32notify',
4347 add watch for the file, not its parent directory, since w32notify
4348 sets up the watch for the directory internally. (Bug#13725)
4349
4350 2013-02-16 Glenn Morris <rgm@gnu.org>
4351
4352 * image.el (image-default-frame-delay): New variable.
4353 (image-animated-p): Use image-default-frame-delay.
4354 (image-minimum-frame-delay): New constant.
4355 (image-animate-timeout): Use image-minimum-frame-delay.
4356
4357 * image.el (image-nth-frame): New, split from image-animate-timeout.
4358 (image-animate-timeout): Use image-nth-frame.
4359 * image-mode.el (image-goto-frame, image-next-frame)
4360 (image-previous-frame): New commands.
4361 (image-mode-map): Add new frame commands.
4362
4363 2013-02-16 Jonas Bernoulli <jonas@bernoul.li>
4364
4365 * emacs-lisp/tabulated-list.el (tabulated-list-print-col):
4366 If col-desc already has help-echo, use it. (Bug#13563)
4367
4368 2013-02-16 Glenn Morris <rgm@gnu.org>
4369
4370 * image.el (image-current-frame): New variable.
4371 (image-animate-timeout): Set image-current-frame.
4372 * image-mode.el (image-mode): For animated images,
4373 display a frame counter via mode-line-process.
4374
4375 * font-lock.el (lisp-font-lock-keywords-1): Add defvar-local.
4376
4377 2013-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
4378
4379 * simple.el (eval-expression): Let `exp' set the mark (bug#13724).
4380
4381 2013-02-15 Alan Mackenzie <acm@muc.de>
4382
4383 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): When a
4384 global minor mode has been enabled, call the minor mode function
4385 for a new buffer once only, after the major mode hook, whilst
4386 allowing that hook explicitly to disable the minor mode.
4387 (MODE-disable-in-buffer): New (generated) function.
4388 (disable-MODE): New (generated) buffer local variable.
4389
4390 2013-02-15 Jambunathan K <kjambunathan@gmail.com>
4391
4392 * iswitchb.el (iswitchb-read-buffer): Bind `C-.' and `C-,' to
4393 `iswitchb-next-match' and `iswitchb-prev-match' resply.
4394 * ido.el (ido-init-completion-maps): Bind `C-.' and `C-,' to
4395 `ido-next-match' and `ido-prev-match' resply.
4396 * icomplete.el (icomplete-minibuffer-map): Unbind `C-s' and `C-r'.
4397 Bind `C-.' and `C-,' to `icomplete-forward-completions' and
4398 `icomplete-backward-completions' (Bug#13708).
4399
4400 2013-02-15 Glenn Morris <rgm@gnu.org>
4401
4402 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
4403
4404 2013-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
4405
4406 * net/goto-addr.el (goto-address-fontify): Add start and end args.
4407 (goto-address-fontify-region): Use them instead of narrowing, so
4408 syntax-ppss has access to the whole buffer.
4409
4410 2013-02-15 Fabián Ezequiel Gallina <fgallina@cuca>
4411
4412 * progmodes/python.el: Explain how to restore "cc-mode"-like
4413 forward-sexp movement in header documentation (Bug#13642).
4414 (python-nav--forward-sexp): Behave like emacs-lisp-mode in
4415 comments and strings (GH bug 114).
4416
4417 2013-02-15 Fabián Ezequiel Gallina <fgallina@cuca>
4418
4419 * progmodes/python.el (python-info-current-defun): Fix current
4420 defun detection (Bug#13618).
4421
4422 2013-02-15 Chong Yidong <cyd@gnu.org>
4423
4424 * xml.el (xml-parse-string): Fix typo in handling of bad character
4425 references.
4426
4427 2013-02-15 Glenn Morris <rgm@gnu.org>
4428
4429 * play/fortune.el (fortune-compile): Simplify and fix previous change.
4430
4431 2013-02-14 Michael Albinus <michael.albinus@gmx.de>
4432
4433 * net/tramp.el (tramp-debug-message):
4434 Add `tramp-condition-case-unless-debug'.
4435 (tramp-debug-on-error): New defvar.
4436 (tramp-condition-case-unless-debug): New defun.
4437 (tramp-file-name-handler): Use it.
4438
4439 2013-02-14 Juri Linkov <juri@jurta.org>
4440
4441 * info.el (Info-isearch-filter): Treat non-nil values of
4442 `search-invisible' including its default value `open'
4443 like the value `t' to match hidden text. (Bug#13402)
4444
4445 2013-02-14 Glenn Morris <rgm@gnu.org>
4446
4447 * help-fns.el (find-lisp-object-file-name): Give special treatment
4448 to all ~/.foo.elc files, not just ~/.emacs. (Bug#9007)
4449
4450 2013-02-14 David Biesack <sasdjb@d72933.na.sas.com> (tiny change)
4451
4452 * net/quickurl.el (quickurl-save-urls):
4453 Ensure quickurl-urls is not truncated on printing. (Bug#9276)
4454
4455 2013-02-14 Dmitry Gutov <dgutov@yandex.ru>
4456
4457 * progmodes/ruby-mode.el (ruby-parse-partial): Don't increase
4458 depth for unfinished percent literal. Not using it in the caller.
4459 (ruby-move-to-block): Jump over multiline literals of all types,
4460 ignoring code-looking contents inside them.
4461 (ruby-add-log-current-method): Improve performance at the expense
4462 of accuracy. `ruby-block-contains-point' is relatively slow, so
4463 only use it for method and singleton class blocks.
4464
4465 2013-02-13 Michael Albinus <michael.albinus@gmx.de>
4466
4467 Use ControlMaster where applicable. (Bug#13677)
4468
4469 * net/tramp.el (tramp-ssh-controlmaster-template): New defvar,
4470 replacing `tramp-detect-ssh-controlmaster'.
4471 (tramp-default-method): Use it.
4472
4473 * net/tramp-sh.el (tramp-methods) [scp, scp1, scp2, scpx, sftp]:
4474 [rsync, ssh, ssh1, ssh2, sshx]: Add ControlPath and ControlMaster
4475 arguments.
4476 [scpc, rsyncc]: Remove methods.
4477 (top): Remove completion functions for "scpc", "rsyncc", "ssh1_old"
4478 and "ssh2_old".
4479 (tramp-do-copy-or-rename-file-out-of-band): Change trace level.
4480 (tramp-maybe-open-connection): Reuse tmpfile for ControlPath.
4481
4482 2013-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
4483
4484 * emacs-lisp/package.el (package--initialized): Move before first use.
4485
4486 2013-02-13 Jambunathan K <kjambunathan@gmail.com>
4487
4488 * icomplete.el (icomplete-hide-common-prefix): New user option.
4489 (icomplete-first-match): New face.
4490 (icomplete-completions): Correct handling of "complete but not
4491 unique" (Bug#12638).
4492
4493 2013-02-13 YE Qianchuan <stool.ye@gmail.com> (tiny change)
4494
4495 * descr-text.el (describe-char): Display the script (bug#13698).
4496
4497 2013-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
4498
4499 * tmm.el: Use lexical-binding and current-active-maps.
4500 (tmm-menubar): Use map-keymap and pcase.
4501 (tmm--completion-table): New function.
4502 (tmm-prompt): Use it to fix the menu order.
4503 (tmm-get-keybind): Use current-active-maps.
4504
4505 2013-02-12 Christopher Schmidt <christopher@ch.ristopher.com>
4506
4507 Add dired-hide-details-mode. (Bug#6799)
4508
4509 * locate.el (locate-mode): Set parent mode property to dired-mode.
4510
4511 * find-dired.el (find-dired): Call dired-insert-set-properties on
4512 initial information line. Set process mark on end of buffer.
4513 (find-dired-sentinel):
4514 Call dired-insert-set-properties on summary.
4515
4516 * dired.el (dired-hide-details-hide-symlink-targets)
4517 (dired-hide-details-hide-information-lines): New options.
4518 (dired-insert-directory):
4519 Set properties after final treatment of output.
4520 (dired-insert-set-properties):
4521 Set dired-hide-details-* properties.
4522 (dired-mode-map): Bind dired-hide-details-mode.
4523 (dired-mode): Set buffer-invisibility-spec to a list.
4524 (dired-next-line): Skip hidden lines.
4525 (dired-previous-line): Use dired-next-line.
4526 (dired-hide-details-mode): New minor mode.
4527 (dired-hide-details-update-invisibility-spec): New function.
4528
4529 2013-02-13 Glenn Morris <rgm@gnu.org>
4530
4531 * play/yow.el: Move to obsolete/. (Bug#9384)
4532
4533 2013-02-13 Juri Linkov <juri@jurta.org>
4534
4535 * vc/ediff-util.el (ediff-recenter): Use `select-frame-set-input-focus'
4536 to select `ediff-control-frame' and set input focus correctly on Xfce.
4537 (Bug#12218)
4538
4539 2013-02-13 Juri Linkov <juri@jurta.org>
4540
4541 * image-mode.el (image-mode-map):
4542 * doc-view.el (doc-view-mode-map):
4543 * vc/ediff-util.el (ediff-setup-keymap):
4544 Make S-SPC scroll in the opposite sense to SPC. (Bug#2145)
4545
4546 2013-02-13 Dmitry Gutov <dgutov@yandex.ru>
4547
4548 * progmodes/ruby-mode.el (ruby-move-to-block): Improve
4549 performance. Instead of recalculating indentation fully for each
4550 line, sum up indentation depth based only on visited lines.
4551 (ruby-parse-partial): Increase the depth after "do" even when END
4552 is right after it.
4553 (ruby-parse-partial): When END is in the middle of a percent
4554 literal, increase the depth if the delimiter chars belong to the
4555 paren syntax class.
4556
4557 2013-02-13 Kirill A. Korinskiy <catap@catap.ru>
4558
4559 * play/fortune.el (fortune-compile): Also make the compiled file
4560 if it does not exist at all, not just if it is old. (Bug#5338)
4561
4562 2013-02-13 Glenn Morris <rgm@gnu.org>
4563
4564 * emacs-lisp/package.el (package-menu-execute): Doc fix.
4565
4566 2013-02-13 Yves Baumes <ybaumes@gmail.com> (tiny change)
4567
4568 * lisp/emacs-lisp/package.el (package-menu-execute):
4569 Add optional noquery argument. (Bug#13625)
4570
4571 2013-02-13 Michael Albinus <michael.albinus@gmx.de>
4572
4573 * net/ange-ftp.el (ange-ftp-make-directory): Don't raise an error,
4574 if DIR exists and PARENTS is non-nil.
4575
4576 2013-02-13 Juanma Barranquero <lekktu@gmail.com>
4577
4578 * progmodes/js.el (js--multi-line-declaration-indentation):
4579 Silence byte-compiler warning.
4580
4581 2013-02-12 Michael Albinus <michael.albinus@gmx.de>
4582
4583 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Rewrite.
4584
4585 * net/tramp-compat.el (top): Declare `remote-file-name-inhibit-cache'
4586 only if it doesn't exist.
4587
4588 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
4589 Set process marker.
4590
4591 2013-02-12 Tassilo Horn <tsdh@gnu.org>
4592
4593 * doc-view.el (doc-view-odf->pdf-converter-soffice): Use separate
4594 UserInstallation when calling soffice to work around LibreOffice
4595 bug 37531.
4596
4597 2013-02-12 Glenn Morris <rgm@gnu.org>
4598
4599 * files.el (basic-save-buffer):
4600 Offer to create a non-existing directory. (Bug#3016)
4601
4602 * calc/calc-graph.el (calc-graph-show-dumb):
4603 * calendar/calendar.el (calendar-mode-map):
4604 * cus-edit.el (custom-mode-map):
4605 * ehelp.el (electric-help-map):
4606 * emulation/vip.el (vip-mode-map):
4607 * epa.el (epa-key-list-mode-map):
4608 * info.el (Info-mode-map):
4609 * mail/rmail.el (rmail-mode-map):
4610 * mail/rmailsum.el (rmail-summary-mode-map):
4611 * man.el (Man-mode-map):
4612 * net/newst-plainview.el (newsticker-mode-map):
4613 * progmodes/cpp.el (cpp-edit-mode-map):
4614 * progmodes/grep.el (grep-mode-map):
4615 * progmodes/idlw-help.el (idlwave-help-mode-map):
4616 * simple.el (special-mode-map):
4617 * startup.el (splash-screen-keymap):
4618 * view.el (view-mode-map):
4619 Make S-SPC scroll in the opposite sense to SPC. (Bug#2145)
4620
4621 2013-02-11 Elias Pipping <pipping@lavabit.com>
4622
4623 * doc-view.el (doc-view-current-cache-dir): Beware % escapes
4624 (bug#13679).
4625
4626 2013-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
4627
4628 * cus-start.el (all): Remove inhibit-local-menu-bar-menus.
4629
4630 2013-02-11 Glenn Morris <rgm@gnu.org>
4631
4632 * vc/diff.el (diff-use-labels): New variable.
4633 (diff-no-select): Use --label rather than -L, and first
4634 check that it is supported. (Bug#11067)
4635
4636 * files.el (enable-dir-local-variables): New variable.
4637 (hack-dir-local-variables): Respect enable-dir-local-variables.
4638 * tutorial.el (help-with-tutorial):
4639 Ignore directory-local variables. (Bug#11127)
4640
4641 * vc/vc-svn.el (vc-svn-command): Move --non-interactive from here...
4642 (vc-svn-global-switches): ... to here. (Bug#13513)
4643
4644 2013-02-10 Christopher Schmidt <christopher@ch.ristopher.com>
4645
4646 * minibuf-eldef.el (minibuffer-default--in-prompt-regexps):
4647 Handle "foo (bar, default: xxx): " prompts.
4648
4649 2013-02-10 Chong Yidong <cyd@gnu.org>
4650
4651 * files.el (basic-save-buffer-1): Do not set
4652 buffer-file-coding-system-explicit (Bug#4533).
4653
4654 * mail/emacsbug.el (report-emacs-bug): Change binding of
4655 report-emacs-bug-insert-to-mailer to C-c M-i (Bug#13510).
4656
4657 2013-02-09 Jay Belanger <jay.p.belanger@gmail.com>
4658
4659 * calc/calc.el (calc-allow-units-as-numbers): New variable.
4660 * calc/calc-units.el (calc-convert-units): Use new variable.
4661
4662 2013-02-09 Eli Zaretskii <eliz@gnu.org>
4663
4664 * subr.el (buffer-file-type, default-buffer-file-type): Remove.
4665
4666 * net/ange-ftp.el (ange-ftp-insert-file-contents): Don't reference
4667 buffer-file-type.
4668
4669 * mail/feedmail.el (feedmail-force-binary-write): Doc fix.
4670 (feedmail-run-the-queue, feedmail-dump-message-to-queue)
4671 (feedmail-send-it-immediately): Don't bind buffer-file-type, bind
4672 coding-system-for-write instead.
4673
4674 * jka-compr.el (jka-compr-write-region): Don't bind
4675 buffer-file-type.
4676
4677 * emacs-lisp/bytecomp.el (byte-compile-file): Don't bind
4678 buffer-file-type.
4679
4680 * files.el (file-name-buffer-file-type-alist): Remove defvar.
4681 (insert-file-contents-literally): Remove reference to
4682 file-name-buffer-file-type-alist.
4683
4684 * dos-w32.el (file-name-buffer-file-type-alist): Deprecate and
4685 make-obsolete.
4686 (find-buffer-file-type-match, find-buffer-file-type): Remove.
4687 (find-buffer-file-type-coding-system): Remove references to
4688 find-buffer-file-type-match, find-buffer-file-type, and
4689 buffer-file-type.
4690 Don't put find-buffer-file-type-coding-system into
4691 file-coding-system-alist.
4692 (find-file-binary, find-file-text): Bind coding-system-for-read
4693 instead of file-name-buffer-file-type-alist.
4694
4695 2013-02-09 Jambunathan K <kjambunathan@gmail.com>
4696
4697 * doc-view.el: Use (and prefer) soffice as default ODF->PDF
4698 converter (Bug#13622).
4699 (doc-view-unoconv-program): Make obsolete alias.
4700 (doc-view-odf->pdf-converter-program): New variable.
4701 (doc-view-odf->pdf-converter-function): New variable.
4702 (doc-view-mode-p): Use it.
4703 (doc-view-odf->pdf-converter-unoconv):
4704 Rename from `doc-view-odf->pdf-converter-unoconv'.
4705 (doc-view-odf->pdf-converter-soffice): New function.
4706 (doc-view-convert-current-doc):
4707 Use `doc-view-odf->pdf-converter-function'.
4708
4709 2013-02-09 Chong Yidong <cyd@gnu.org>
4710
4711 * minibuffer.el (minibuffer-inactive-mode-map): Bind mouse-1 to
4712 view-echo-area-messages (Bug#13340).
4713
4714 * help.el (view-echo-area-messages): Use display-buffer.
4715
4716 * dired-x.el (dired-do-run-mail): Prompt for confirmation
4717 (Bug#13561).
4718
4719 2013-02-08 Stefan Monnier <monnier@iro.umontreal.ca>
4720
4721 * emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):
4722 Eval body right away, now that we do eager macroexpansion (bug#13605).
4723
4724 * simple.el (end-of-buffer): Don't touch unrelated windows (bug#13466).
4725 (fundamental-mode): Use run-mode-hooks.
4726
4727 * eshell/esh-proc.el (eshell/kill): Fix last change.
4728 * eshell/em-ls.el (eshell-ls-dir): Fix use of CL in last change.
4729
4730 2013-02-08 Aidan Gauland <aidalgol@no8wireless.co.nz>
4731
4732 * eshell/esh-proc.el (eshell/kill): Rewrite.
4733
4734 * eshell/em-ls.el (show-almost-all): Declare.
4735 (eshell-do-ls): Add support for -A argument.
4736
4737 2013-02-08 Jambunathan K <kjambunathan@gmail.com>
4738
4739 * icomplete.el (icomplete-forward-completions)
4740 (icomplete-backward-completions): Handle corner case (bug#13602).
4741
4742 2013-02-07 Michael Albinus <michael.albinus@gmx.de>
4743
4744 * vc/vc-hooks.el (vc-find-file-hook): `buffer-file-truename' can
4745 be nil. Handle this. (Bug#13636)
4746
4747 2013-02-07 Richard Stallman <rms@gnu.org>
4748
4749 * mail/rmail.el (rmail-variables): Specify `no-conversion' for
4750 `save-buffer-coding-system'.
4751
4752 2013-02-07 Alan Mackenzie <acm@muc.de>
4753
4754 Fix bug in state cache mechanism. Remove 'BOD "strategy". Refactor.
4755 * progmodes/cc-engine.el (c-get-fallback-scan-pos): Remove.
4756 (c-parse-state-get-strategy): Don't return 'BOD any more.
4757 (c-append-lower-brace-pair-to-state-cache):
4758 Extra parameter HERE instead of narrowing.
4759 Widen to top of buffer before searching backwards for a brace pair.
4760 (c-state-push-any-brace-pair): Add HERE parameter to function call.
4761 (c-append-to-state-cache): Extra parameter HERE in place of narrowing.
4762 Narrow to parameter HERE, in place of being called narrowed.
4763 (c-remove-stale-state-cache): Extra parameter HERE in place of
4764 narrowing. Check there's an open brace in the cache before
4765 searching for its match.
4766 (c-invalidate-state-cache-1): Add HERE parameter to function call.
4767 (c-parse-state-1): Don't narrow here for 'forward strategy,
4768 instead passing extra parameter HERE to several functions.
4769 Remove 'BOD strategy.
4770
4771 2013-02-06 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
4772
4773 * emacs-lisp/package.el (describe-package-1): Tell what archive is
4774 used to install the package.
4775
4776 2013-02-06 Glenn Morris <rgm@gnu.org>
4777
4778 * vc/vc-hooks.el (vc-find-file-hook): Don't ask about following links
4779 if we can't get user input. (Bug#6567)
4780
4781 * startup.el (command-line): If simple.el is missing,
4782 test and warn about for some possible causes.
4783
4784 2013-02-05 Jan Djärv <jan.h.d@swipnet.se>
4785
4786 * cus-start.el (all): Add ns-use-native-fullscreen.
4787
4788 2013-02-05 Glenn Morris <rgm@gnu.org>
4789
4790 * profiler.el (profiler-report-mode-map): Add a restart menu entry.
4791
4792 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
4793 Fix directory creation in fallback case.
4794
4795 2013-02-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4796
4797 * vc/vc.el (vc-next-action): Fix inf-loop (bug#13610).
4798 (vc-update-change-log): Use dolist.
4799
4800 2013-02-04 Chong Yidong <cyd@gnu.org>
4801
4802 * thingatpt.el: Rewrite the URL detection routines, absorbing some
4803 code from ffap.el.
4804 (thing-at-point-beginning-of-url-regexp): New var.
4805 (thing-at-point-uri-schemes): Update list of URI schemes.
4806 (thing-at-point-url-regexp): Variable deleted.
4807 (thing-at-point-markedup-url-regexp): Disallow newlines.
4808 (thing-at-point-newsgroup-regexp)
4809 (thing-at-point-newsgroup-heads)
4810 (thing-at-point-default-mail-uri-scheme): New variables.
4811 (thing-at-point-bounds-of-url-at-point): Rewrite. Use ffap's
4812 method to find the possible bounds of the URI at point.
4813 New optional argument to find ill-formed URIs.
4814 (thing-at-point-url-at-point): Rewrite. New arguments for finding
4815 ill-formed URIs. Use thing-at-point-bounds-of-url-at-point, and
4816 the scheme-adding heuristics from ffap-url-at-point.
4817 (thing-at-point--bounds-of-well-formed-url): New function.
4818 Do parens matching to decide whether to include parens in the URI
4819 (Bug#9153).
4820
4821 * ffap.el: Require thingatpt.
4822 (ffap-url-at-point): Delegate URI detection to thing-at-point.
4823 All URI-valid characters are now recognized (Bug#5673).
4824 (ffap-string-at-point): Use use-region-p.
4825 (ffap-url-regexp): Extra character is handled by thing-at-point.
4826 (ffap-string-at-point-mode-alist): Allow parentheses.
4827 (ffap-newsgroup-regexp, ffap-newsgroup-heads, ffap-newsgroup-p):
4828 Convert to aliases; code moved to thingatpt.el.
4829 (ffap-gnus-hook): Use setq-local.
4830
4831 2013-02-04 Glenn Morris <rgm@gnu.org>
4832
4833 * emacs-lisp/ert.el (ert--explain-format-atom):
4834 Don't try to print non-characters as characters. (Bug#13543)
4835
4836 2013-02-03 Michael Albinus <michael.albinus@gmx.de>
4837
4838 * net/tramp.el (tramp-debug-message): Extend function exclude list.
4839 (tramp-backtrace): New defun.
4840 (tramp-handle-insert-file-contents): Use `visit' when inserting
4841 the local copy.
4842
4843 * net/tramp-sh.el (tramp-sh-handle-set-visited-file-modtime):
4844 Use `remote-file-name-inhibit-cache'.
4845
4846 2013-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
4847
4848 * progmodes/cperl-mode.el (cperl-mode): Avoid byte-compile warning
4849 (bug#13614).
4850
4851 * subr.el (internal--called-interactively-p--get-frame): Avoid filling
4852 current-load-list (bug#13366).
4853
4854 2013-02-02 Christopher Schmidt <christopher@ch.ristopher.com>
4855
4856 * progmodes/compile.el (compilation-error-regexp-alist-alist):
4857 Identify g++ template instantiation trace. (Bug#12287)
4858 (compilation-mode-hook, compilation-start-hook)
4859 (compilation-window-height): Simplify docstrings. (Bug#13379)
4860
4861 2013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
4862
4863 * mouse.el (mouse-drag-track): Always deactivate the mark before
4864 running the final event's command since that command is in charge of
4865 activating the mark if needed (bug#13523).
4866
4867 2013-02-02 Juri Linkov <juri@jurta.org>
4868
4869 * replace.el (perform-replace): Move let-bindings of isearch-*
4870 variables deeper to the loop that searches for the next match.
4871 Add bindings for `isearch-nonincremental' and `isearch-adjusted'.
4872 Use `isearch-search-fun-default' instead of `isearch-search-fun'.
4873 (Bug#13579)
4874
4875 * isearch.el (isearch-search-fun-default): Check for null
4876 first element of isearch-cmds as a precaution when it's used
4877 with inactive isearch.
4878
4879 2013-02-02 Andrew W. Nosenko <andrew.w.nosenko@gmail.com> (tiny change)
4880
4881 * net/tramp.el (tramp-check-for-regexp): Avoid "Args out of range"
4882 error when buffer in question is narrowed so position 1 is out of
4883 visible part.
4884
4885 2013-02-02 Glenn Morris <rgm@gnu.org>
4886
4887 * textmodes/remember.el (remember-clipboard): Doc fix.
4888
4889 2013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
4890
4891 * progmodes/make-mode.el (makefile-fill-paragraph): Reset syntax-table
4892 properties (bug#13179).
4893
4894 2013-02-02 Juri Linkov <juri@jurta.org>
4895
4896 * progmodes/grep.el (grep-regexp-alist): Use variable grep-match-face
4897 instead of hard-coded default face `match'. (Bug#9438)
4898
4899 2013-02-01 Christopher Schmidt <christopher@ch.ristopher.com>
4900
4901 * vc/vc-arch.el (vc-arch-registered):
4902 * vc/vc-bzr.el (vc-bzr-registered):
4903 * vc/vc-cvs.el (vc-cvs-registered):
4904 * vc/vc-git.el (vc-git-registered):
4905 * vc/vc-hg.el (vc-hg-registered):
4906 * vc/vc-mtn.el (vc-mtn-registered):
4907 * vc/vc-svn.el (vc-svn-registered): Suppress load messages.
4908 (Bug#13139)
4909
4910 * info.el (Info-next-reference, Info-prev-reference): Add numeric
4911 prefix argument. (Bug#11656)
4912
4913 2013-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
4914
4915 * help-fns.el (help-split-fundoc): Don't insert byte-compiled body.
4916
4917 2013-02-01 Glenn Morris <rgm@gnu.org>
4918
4919 * vc/vc-hooks.el (vc-menu-map): Disable vc-rollback menu item
4920 if the backend is known not to support it.
4921
4922 * imenu.el (imenu-default-create-index-function):
4923 Tweak infinite loop test to check for forward motion as well as none.
4924
4925 2013-02-01 Alex Harsanyi <AlexHarsanyi@gmail.com>
4926
4927 * net/soap-client.el (soap-invoke): Encode the string for
4928 `url-request-data' as UTF-8.
4929 Fixes <http://code.google.com/p/emacs-soap-client/issues/detail?id=16>.
4930
4931 2013-02-01 Glenn Morris <rgm@gnu.org>
4932
4933 * calc/calc-help.el (calc-view-news): Use view-emacs-news.
4934
4935 * calc/README, calc/README.prev: Rename/merge to etc/CALC-NEWS.
4936
4937 2013-01-31 Michael Albinus <michael.albinus@gmx.de>
4938
4939 * net/tramp.el (tramp-tramp-file-p): Comment check for
4940 `string-as-unibyte'. The function does not exist on XEmacs, and
4941 likely we need another approach.
4942
4943 * net/tramp-sh.el (tramp-compute-multi-hops): Check, whether
4944 `tramp-gw-*' variables are bound.
4945
4946 2013-01-31 Glenn Morris <rgm@gnu.org>
4947
4948 * files.el (basic-save-buffer-2): Choose coding system for
4949 writing the file before backing it up, to reduce delay between
4950 backing up and writing the new version. (Bug#13522)
4951
4952 2013-01-31 Michal Nazarewicz <mina86@mina86.com>
4953
4954 * simple.el (cycle-spacing): New command.
4955 (just-one-space): Use it.
4956
4957 2013-01-31 Stefan Monnier <monnier@iro.umontreal.ca>
4958
4959 * progmodes/opascal.el: Rename from delphi.el. Use lexical-binding.
4960 (opascal-newline-always-indents): Remove custom.
4961 (opascal-tab, opascal-newline): Remove commands.
4962 (opascal-new-comment-line): Insert "\n" instead of calling newline.
4963 (opascal-mode-map): Keep default bindings for RET and TAB and DEL.
4964 (opascal-save-match-data): Remove, use save-match-data instead.
4965 (opascal-save-state): Use with-silent-modifications.
4966
4967 * progmodes/pascal.el (pascal-mode-syntax-table): Accept //..\n comments
4968 (bug#13585).
4969
4970 2013-01-30 Juri Linkov <juri@jurta.org>
4971
4972 * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
4973 Use fullboth as an alias for fullscreen. Suggested by Jan Djärv in
4974 <http://lists.gnu.org/archive/html/emacs-devel/2013-01/msg00203.html>.
4975
4976 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
4977
4978 * progmodes/make-mode.el (makefile-backslash-region): Don't compute
4979 column if we're just deleting the backslashes.
4980 (makefile-fill-paragraph): Use eolp.
4981
4982 2013-01-30 Michael Albinus <michael.albinus@gmx.de>
4983
4984 * autorevert.el (auto-revert-use-notify): Fix docstring.
4985
4986 2013-01-30 Leo Liu <sdl.web@gmail.com>
4987
4988 * imenu.el (imenu--truncate-items): Fix subalist checking (bug#13576).
4989
4990 2013-01-30 Glenn Morris <rgm@gnu.org>
4991
4992 * mouse.el (mouse-drag-line): Avoid pushing same event onto
4993 unread-command-events twice in some cases. This tries to implement
4994 the 2012-07-26 changes in a different way. (Bug#13560)
4995
4996 2013-01-30 Fabián Ezequiel Gallina <fgallina@cuca>
4997
4998 * progmodes/python.el
4999 (python-pdbtrack-comint-output-filter-function): Enhancements on
5000 stacktrace detection. (thanks @gnovak)
5001
5002 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
5003
5004 * jit-lock.el (jit-lock-stealth-chunk-start): Don't widen (bug#13542).
5005 (jit-lock-mode, jit-lock-functions, jit-lock-context-unfontify-pos):
5006 Use defvar-local.
5007 (jit-lock-register): Use setq-local.
5008
5009 2013-01-30 Jay Belanger <jay.p.belanger@gmail.com>
5010
5011 * calc-units.el (math-default-units-table): Remove initial value.
5012 (calc-convert-units): Treat expressions where all the units cancel as
5013 if they didn't have units.
5014
5015 2013-01-30 Michael Albinus <michael.albinus@gmx.de>
5016
5017 * net/tramp.el (tramp-process-connection-type): Fix docstring.
5018 (tramp-completion-reread-directory-timeout): Fix type.
5019 (tramp-connection-min-time-diff): New defcustom.
5020
5021 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
5022
5023 2013-01-30 Glenn Morris <rgm@gnu.org>
5024
5025 * imenu.el (imenu-default-create-index-function):
5026 Put back a version of the infinite loop test removed 2013-01-23.
5027
5028 2013-01-30 Fabián Ezequiel Gallina <fgallina@cuca>
5029
5030 * progmodes/python.el (python-shell-parse-command):
5031 Find python-shell-interpreter with modified environment.
5032
5033 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
5034
5035 * emacs-lisp/cl.el (cl-set-getf): Add compatibility alias.
5036
5037 2013-01-29 Alan Mackenzie <acm@muc.de>
5038
5039 Amend to fontify /regexp/s in actions correctly.
5040 * cc-awk.el (c-awk-harmless-char-re, c-awk-harmless-string*-re):
5041 (c-awk-harmless-string*-here-re): Braces, parens and semicolons
5042 are no longer included.
5043 (c-awk-harmless-line-char-re, c-awk-harmless-line-string*-re):
5044 What used to be these variables without "-line" in the name.
5045 (c-awk-neutral-re): { is no longer neutral. Escaped newlines now are.
5046 (c-awk-non-arith-op-bra-re): Now also matches {.
5047 (c-awk-pre-exp-alphanum-kwd-re): New regexp to match "print",
5048 "return", and "case".
5049 (c-awk-kwd-regexp-sign-re): New, to match "print", etc., followed
5050 by /.
5051 (c-awk-syntax-tablify-/): Check special cases "print /re/", etc.
5052 (c-awk-set-syntax-table-properties): Extend FSM to handle {,},(,),;.
5053
5054 2013-01-29 Michael Albinus <michael.albinus@gmx.de>
5055
5056 * autorevert.el (auto-revert-use-notify):
5057 Use `custom-initialize-default' for initialization. (Bug#13583)
5058
5059 * net/ange-ftp.el (ange-ftp-skip-msgs): Add another message.
5060
5061 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
5062 Catch `suppress'. Otherwise, `tramp-run-real-handler' might be called
5063 in `tramp-file-name-handler'.
5064 (tramp-gw-tunnel-method, tramp-gw-socks-method): Declare for
5065 compatibility.
5066 (tramp-compute-multi-hops): Check, whether
5067 `tramp-gw-tunnel-method' and `tramp-gw-socks-method' are non-nil.
5068
5069 2013-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
5070
5071 * hi-lock.el (hi-lock-unface-buffer): Don't assume `face' is a symbol
5072 (bug#13297).
5073
5074 2013-01-27 Dmitry Gutov <dgutov@yandex.ru>
5075
5076 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove some
5077 checks made superfluous by the \_< operator.
5078 * progmodes/ruby-mode.el (ruby-move-to-block): Work with (maybe
5079 temporarily) broken indentation.
5080 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
5081 Highlight nested constants, too. \_< broke that.
5082
5083 2013-01-27 Nobuyoshi Nakada <nobu@ruby-lang.org>
5084
5085 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Use "\\_<"
5086 instead of "\\b".
5087
5088 2013-01-27 Michael Albinus <michael.albinus@gmx.de>
5089
5090 * autorevert.el (auto-revert-handler): Notifications which result
5091 from a saved file shall not be taken into account. (Bug#13557)
5092
5093 2013-01-26 Andreas Schwab <schwab@linux-m68k.org>
5094
5095 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Add optional
5096 parameter BAR-NOT-SYMBOL to control syntax of | for font-lock.
5097 (lisp-mode): Pass t for it. (Bug#13556)
5098
5099 2013-01-25 Alan Mackenzie <acm@muc.de>
5100
5101 AWK Mode: Fix indentation bug at top level. Bug #12274.
5102
5103 * progmodes/cc-engine.el (c-guess-basic-syntax): Move CASE 5P to
5104 just before CASE 5D.
5105
5106 2013-01-25 Dmitry Antipov <dmantipov@yandex.ru>
5107
5108 * net/socks.el (socks-nslookup-host): Use string-to-number.
5109
5110 2013-01-25 Michael Albinus <michael.albinus@gmx.de>
5111
5112 * autorevert.el (auto-revert-remote-files)
5113 (auto-revert-notify-exclude-dir-regexp): New defcustoms.
5114 (auto-revert-notify-enabled, auto-revert-use-notify)
5115 (auto-revert-notify-watch-descriptor-hash-list)
5116 (auto-revert-notify-modified-p, auto-revert-notify-event-p)
5117 (auto-revert-notify-event-descriptor)
5118 (auto-revert-notify-event-action)
5119 (auto-revert-notify-event-file-name): Doc fix.
5120 (global-auto-revert-mode): Reorder checks.
5121 (auto-revert-notify-rm-watch): Respect changed values of
5122 `auto-revert-notify-watch-descriptor-hash-list'.
5123 (auto-revert-notify-add-watch): Check for
5124 `auto-revert-notify-exclude-dir-regexp'. Adapt filters for
5125 `inotify-add-watch'. Watch `default-directory' instead of
5126 `buffer-file-name'. `auto-revert-notify-watch-descriptor-hash-list'
5127 has a changed meaning now. (Bug#13540)
5128 (auto-revert-notify-handler): Change implementation wrt events
5129 returning from a directory.
5130 (auto-revert-handler): Reorder implementation for checks of remote
5131 files.
5132 (auto-revert-buffers): Fix parentheses error.
5133
5134 2013-01-25 Fabián Ezequiel Gallina <fgallina@cuca>
5135
5136 * progmodes/python.el: Enhancements to header documentation about
5137 skeletons. (Bug#5716)
5138
5139 * imenu.el (imenu-default-create-index-function): Remove useless
5140 infinite loop check. (Bug#13438)
5141
5142 2013-01-25 Alan Mackenzie <acm@muc.de>
5143
5144 Fix a bug in the state cache mechanism. Refactor this a bit.
5145
5146 * progmodes/cc-engine.el (c-parse-state-get-strategy): Remove the
5147 `cache-pos' element from the return value.
5148 (c-append-lower-brace-pair-to-state-cache): "Narrow" to end of
5149 buffer to enable proper searching from beyond HERE. Amend the
5150 test for detecting the sought brace pair. Amend the value written
5151 to the "brace desert cache" when the brace isn't found.
5152 (c-remove-stale-state-cache): Rename `good-pos' to `start-point',
5153 and several other variables analogously.
5154 (c-remove-stale-state-cache-backwards): Change `cache-pos' from a
5155 parameter to a locally calculated variable.
5156 (c-parse-state-1): Change the calling conventions to the two
5157 defuns involving `cache-pos'.
5158
5159 2013-01-25 Chong Yidong <cyd@gnu.org>
5160
5161 * xml.el (xml-entity-or-char-ref-re): Fix regexp.
5162
5163 2013-01-24 Aaron Ecay <aaronecay@gmail.com> (tiny change)
5164
5165 * paren.el (show-paren-function): Make sure to set 'priority and
5166 'face only if the overlay does exist.
5167
5168 2013-01-24 Michael Albinus <michael.albinus@gmx.de>
5169
5170 * net/tramp.el (tramp-tramp-file-p): Check, whether NAME is unibyte.
5171
5172 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Do not suppress
5173 basic attributes.
5174 (tramp-sh-handle-set-file-acl): Improve error checking.
5175
5176 2013-01-24 Dmitry Antipov <dmantipov@yandex.ru>
5177
5178 * doc-view.el (doc-view-display): Force mode line update until all
5179 document is converted. Suggested by Stefan Monnier (Bug#13164).
5180
5181 2013-01-23 Bastien Guerry <bzg@gnu.org>
5182
5183 * paren.el (show-paren-function): Make sure an overlay exists
5184 before trying to delete it. Also use `pos' as a position only
5185 when it is an integer.
5186
5187 2013-01-23 Dmitry Antipov <dmantipov@yandex.ru>
5188
5189 * play/gametree.el (gametree-break-line-here): Use point-marker.
5190
5191 2013-01-22 Michael Albinus <michael.albinus@gmx.de>
5192
5193 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
5194 Mark descriptive parts with `display' property.
5195
5196 2013-01-21 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5197
5198 * textmodes/ispell.el (ispell-hunspell-dictionary-equivs-alist):
5199 New variable to map standard dict names to hunspell ones.
5200 (ispell-set-spellchecker-params): Make sure specific dict names
5201 are used for standard dicts with hunspell.
5202
5203 2013-01-21 Tassilo Horn <tsdh@gnu.org>
5204
5205 * textmodes/reftex-cite.el (reftex-format-citation): Add format
5206 chars for note (%N) and url (%U).
5207 * textmodes/reftex-vars.el (reftex-cite-format): Document them.
5208
5209 2013-01-21 Juri Linkov <juri@jurta.org>
5210
5211 * frame.el: Bind `f10' in `esc-map' to `toggle-frame-maximized'
5212 in addition to existing separate binding `meta f10' in `global-map'.
5213 (Bug#13484)
5214
5215 2013-01-21 Michael Albinus <michael.albinus@gmx.de>
5216
5217 Improve XEmacs compatibility.
5218
5219 * net/tramp.el (tramp-replace-environment-variables): Make it a defun.
5220
5221 * net/tramp-adb.el (top): Require `time-date'.
5222 (tramp-adb-ls-output-time-less-p): Use `tramp-time-less-p'.
5223 (tramp-adb-handle-copy-file, tramp-adb-handle-rename-file):
5224 Use `tramp-file-name-handler'.
5225 (tramp-adb-maybe-open-connection):
5226 Use `tramp-compat-set-process-query-on-exit-flag'.
5227
5228 * net/tramp-sh.el (tramp-sh-handle-file-acl):
5229 Use `tramp-compat-funcall'.
5230
5231 * net/tramp-smb.el (tramp-smb-handle-file-acl): Use `looking-at' and
5232 `tramp-compat-funcall'.
5233
5234 2013-01-21 Jürgen Hötzel <juergen@archlinux.org>
5235
5236 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Complete
5237 reimplementation using "adb shell command ..." instead of running
5238 remote shell interactively.
5239
5240 2013-01-20 Glenn Morris <rgm@gnu.org>
5241
5242 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
5243 Add native profiler menu entries.
5244
5245 * profiler.el (profiler-running-p): New function.
5246 (profiler-cpu-profile): Use profiler-running-p.
5247 (profiler-report-mode-map): Add some more menu entries.
5248
5249 2013-01-19 Glenn Morris <rgm@gnu.org>
5250
5251 * mail/unrmail.el (unrmail): Do not mangle the mbox From line;
5252 fixes 2012-12-07 change. (Bug#13499)
5253
5254 2013-01-19 Leo Liu <sdl.web@gmail.com>
5255
5256 * dired.el (dired-get-marked-files): Prune erroneous values due to
5257 last change. (Bug#13152)
5258
5259 2013-01-19 Glenn Morris <rgm@gnu.org>
5260
5261 * progmodes/etags.el (tags-table-check-computed-list):
5262 Preserve point in tags buffer. (Bug#13412)
5263
5264 * emacs-lisp/lisp-mode.el (lisp-indent-function): Doc fix.
5265
5266 2013-01-19 Christian Wittern <cwittern@gmail.com> (tiny change)
5267 Chong Yidong <cyd@gnu.org>
5268
5269 * image-mode.el (image-next-file, image-previous-file):
5270 New commands (Bug#8453).
5271 (image-mode-map): Bind them to n and p.
5272 (image-mode--images-in-directory): New helper function.
5273
5274 2013-01-19 Chong Yidong <cyd@gnu.org>
5275
5276 * image-mode.el (image-mode-fit-frame): Add a frame argument.
5277 Suggested by Drew Adams (Bug#7730). Handle window decorations;
5278 save and restore the old window configuration.
5279
5280 2013-01-18 Leo Liu <sdl.web@gmail.com>
5281
5282 * progmodes/js.el: Tweak autoload cookie for alias.
5283
5284 2013-01-17 Michael Albinus <michael.albinus@gmx.de>
5285
5286 * autorevert.el (auto-revert-notify-watch-descriptor): Make it
5287 buffer local, again. This was lost with the fix on 2013-01-12.
5288
5289 2013-01-17 Jürgen Hötzel <juergen@archlinux.org>
5290
5291 * eshell/esh-util.el (eshell-path-env): Make it buffer local, in
5292 order to support several eshell buffers in parallel.
5293
5294 2013-01-17 Michael Albinus <michael.albinus@gmx.de>
5295
5296 * autorevert.el (auto-revert-use-notify): In the :set function, do
5297 not modify `kill-buffer-hook'.
5298 (auto-revert-notify-rm-watch):
5299 Remove `auto-revert-notify-rm-watch' from `kill-buffer-hook'.
5300 (auto-revert-notify-add-watch): Do not call
5301 `auto-revert-notify-rm-watch', but add it to a buffer local
5302 `kill-buffer-hook'.
5303
5304 2013-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
5305
5306 * emacs-lisp/trace.el (trace--read-args): Use a closure and an honest
5307 call to `eval' rather than a backquoted lambda.
5308
5309 2013-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
5310
5311 * emacs-lisp/nadvice.el (advice--tweak): Make it possible for `tweak'
5312 to return an explicit nil.
5313 (advice--remove-function): Change accordingly.
5314
5315 * emacs-lisp/advice.el (ad-preactivate-advice): Adjust the cleanup to
5316 the use of nadvice.el.
5317
5318 * progmodes/which-func.el (which-function): Silence imenu errors
5319 (bug#13433).
5320
5321 2013-01-15 Michael R. Mauger <mmaug@yahoo.com>
5322
5323 * progmodes/sql.el (sql-imenu-generic-expression):
5324 (sql-mode-font-lock-object-name): Match schema qualified names.
5325 (sql-connect): Use string keys.
5326 (sql-product-interactive): Wait for interpreter prompt.
5327 (sql-comint-oracle): Set process coding based on NLS_LANG.
5328
5329 2013-01-15 Michael R. Mauger <mmaug@yahoo.com>
5330
5331 * progmodes/sql.el (sql-output-to-send): Remove, unused.
5332 (sql-interactive-remove-continuation-prompt):
5333 (sql-send-magic-terminator, sql-interactive-mode): Remove references.
5334
5335 2013-01-14 Leo Liu <sdl.web@gmail.com>
5336
5337 * calendar/calendar.el (calendar-redraw): Sync window-point and point.
5338 (Bug#13420)
5339
5340 2013-01-14 Glenn Morris <rgm@gnu.org>
5341
5342 * progmodes/compile.el (compilation-error-regexp-alist-alist):
5343 Fix interpretation of gnu line.col1-col2 format. (Bug#13335)
5344
5345 2013-01-13 Fabián Ezequiel Gallina <fgallina@cuca>
5346
5347 * progmodes/python.el (python-nav-end-of-statement):
5348 Fix cornercase when handling multiline strings.
5349
5350 2013-01-13 Richard Stallman <rms@gnu.org>
5351
5352 * mail/sendmail.el (mail-position-on-field): Add doc string.
5353
5354 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
5355 Get current message boundaries and pass them to
5356 message-forward-make-body-mime. Minor style changes.
5357
5358 2013-01-13 Eli Zaretskii <eliz@gnu.org>
5359
5360 * cus-start.el (all): Avoid warnings about
5361 scroll-bar-adjust-thumb-portion on platforms where it is not defined.
5362
5363 2013-01-11 Jan Djärv <jan.h.d@swipnet.se>
5364
5365 * cus-start.el (all): Add scroll-bar-adjust-thumb-portion.
5366
5367 2013-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
5368
5369 * jit-lock.el (jit-lock-debug-mode): New minor mode.
5370 (jit-lock--debug-fontifying): New var.
5371 (jit-lock--debug-fontify): New function.
5372 * subr.el (condition-case-unless-debug): Don't prevent catching the
5373 error, just let the debbugger run.
5374 * emacs-lisp/timer.el (timer-event-handler): Don't prevent debugging
5375 timer code and don't drop errors silently.
5376
5377 2013-01-12 Michael Albinus <michael.albinus@gmx.de>
5378
5379 * autorevert.el (auto-revert-notify-watch-descriptor): Give it
5380 `permanent-local' property.
5381 (auto-revert-notify-handler): Use `file-equal-p'.
5382
5383 2013-01-12 Eli Zaretskii <eliz@gnu.org>
5384
5385 * autorevert.el (auto-revert-notify-handler): Fix filtering of
5386 file notification by ACTION. For filtering by file name, compare
5387 only the non-directory part of the file name.
5388
5389 2013-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
5390
5391 * autorevert.el: Use cl-lib instead of cl.
5392
5393 * vc/vc-bzr.el (vc-bzr--sanitize-header): New function (bug#13307).
5394 (vc-bzr-checkin): Use it.
5395 * vc/log-edit.el (log-edit-extract-headers): Don't presume FUNCTION
5396 will preserve match-data.
5397
5398 2013-01-11 Felix H. Dahlke <fhd@ubercode.de>
5399
5400 * progmodes/js.el: Fix multiline declarations's indentation (bug#8576).
5401 (js--declaration-keyword-re): New var.
5402 (js--multi-line-declaration-indentation): New function.
5403 (js--proper-indentation): Use it.
5404
5405 2013-01-11 Aaron S. Hawley <Aaron.Hawley@vtinfo.com>
5406
5407 * calc/calc.el (calc-highlight-selections-with-faces)
5408 (calc-dispatch):
5409 * comint.el (comint-history-isearch-message):
5410 * emacs-lisp/edebug.el (edebug-read, edebug-eval-defun):
5411 * ffap.el (ffap-string-at-point-region, ffap-next)
5412 (ffap-string-at-point, ffap-string-around)
5413 (ffap-copy-string-as-kill, ffap-highlight-overlay)
5414 (ffap-literally):
5415 * font-lock.el (font-lock-keywords-alist)
5416 (font-lock-removed-keywords-alist):
5417 * help-mode.el (help-xref-symbol-regexp):
5418 * info.el (Info-find-emacs-command-nodes):
5419 * international/mule.el (add-to-coding-system-list):
5420 * isearch.el (isearch-message-function, isearch-fail-pos):
5421 * misearch.el (multi-isearch-next-buffer-function):
5422 * newcomment.el (comment-box):
5423 * printing.el (pr-txt-printer-alist, pr-ps-printer-alist)
5424 (pr-setting-database):
5425 * progmodes/cc-fonts.el (c-font-lock-keywords-3)
5426 (c++-font-lock-keywords-3, objc-font-lock-keywords-3)
5427 (java-font-lock-keywords-3, idl-font-lock-keywords-3)
5428 (pike-font-lock-keywords-3):
5429 * progmodes/compile.el (compile):
5430 * progmodes/etags.el (tags-table-files)
5431 (tags-table-files-function, tags-included-tables-function):
5432 * progmodes/gdb-mi.el (gdb, gdb-setup-windows)
5433 (gdb-restore-windows):
5434 * ps-print.el (ps-even-or-odd-pages, ps-spool-buffer-with-faces)
5435 (ps-n-up-filling-database):
5436 * server.el (server-buffer, server-log):
5437 * simple.el (newline, delete-backward-char, delete-forward-char)
5438 (minibuffer-history-isearch-message, kill-line, track-eol)
5439 (temporary-goal-column):
5440 * textmodes/flyspell.el (flyspell-mark-duplications-flag)
5441 (flyspell-default-deplacement-commands):
5442 * textmodes/ispell.el (ispell-accept-output):
5443 * textmodes/sgml-mode.el (html-tag-help):
5444 * vc/compare-w.el (compare-ignore-whitespace)
5445 (compare-ignore-case, compare-windows-dehighlight):
5446 * vc/diff.el (diff):
5447 * whitespace.el (whitespace-point)
5448 (whitespace-font-lock-refontify, whitespace-bob-marker)
5449 (whitespace-eob-marker): Fix ambiguous doc string cross-reference(s).
5450
5451 2013-01-11 Michael Albinus <michael.albinus@gmx.de>
5452
5453 * autorevert.el (top): Require 'cl in order to pacify byte compiler.
5454 (auto-revert-notify-rm-watch): Ignore errors.
5455 (auto-revert-notify-add-watch): Ignore errors. Use '(modify) for
5456 inotify, and '(size last-write-time) for w32notify.
5457 Set buffer-local `auto-revert-use-notify' to nil when adding a file
5458 watch fails - this is a fallback to the file modification check.
5459 (auto-revert-notify-event-p, auto-revert-notify-event-descriptor)
5460 (auto-revert-notify-event-action)
5461 (auto-revert-notify-event-file-name): New defuns.
5462 (auto-revert-notify-handler): Use them. Implement first
5463 plausibility checks.
5464 (auto-revert-handler): Handle also `auto-revert-tail-mode'.
5465
5466 2013-01-11 Julien Danjou <julien@danjou.info>
5467
5468 * color.el (color-rgb-to-hsv): Fix conversion computing in case min and
5469 max are almost equal. Also return the correct value for V which is
5470 already between 0 and 1.
5471
5472 2013-01-11 Dmitry Antipov <dmantipov@yandex.ru>
5473
5474 * emacs-lisp/ert.el (ert-run-test): Use point-max-marker.
5475
5476 2013-01-11 Eli Zaretskii <eliz@gnu.org>
5477
5478 * autorevert.el (auto-revert-notify-rm-watch)
5479 (auto-revert-notify-add-watch): Fix typos in w32notify function
5480 names.
5481
5482 2013-01-10 Michael Albinus <michael.albinus@gmx.de>
5483
5484 * autorevert.el (auto-revert-notify-enabled): Move up.
5485 (auto-revert-use-notify): New defcustom.
5486 (auto-revert-mode, global-auto-revert-mode)
5487 (auto-revert-notify-add-watch, auto-revert-handler)
5488 (auto-revert-buffers): Use `auto-revert-use-notify' instead of
5489 `auto-revert-notify-enabled'.
5490
5491 2013-01-10 Elias Pipping <pipping@exherbo.org>
5492
5493 * files.el (auto-mode-alist): Use doc-view for djvu files (bug#13164).
5494 * doc-view.el (doc-view-document->bitmap):
5495 Use doc-view-single-page-converter-function instead of
5496 single-page-converter arg; adjust callers.
5497
5498 2013-01-10 Feng Li <fengli@gmail.com> (tiny change)
5499
5500 * progmodes/which-func.el (which-function): Understand Semantic's use
5501 of overlays in imenu--index-alist.
5502
5503 2013-01-10 Wolfgang Jenkner <wjenkner@inode.at>
5504
5505 * man.el: Handle different "man -k" behaviors (bug#13160). Use utf-8.
5506 (Man-man-k-use-anchor): New var.
5507 (Man-parse-man-k): New function.
5508 (Man-completion-table): Use it.
5509 (man): Flush the completion cache between uses.
5510
5511 2013-01-10 Michael Albinus <michael.albinus@gmx.de>
5512
5513 * autorevert.el: Add file watch support.
5514 (auto-revert-notify-enabled): New defconst.
5515 (auto-revert-notify-watch-descriptor-hash-list)
5516 (auto-revert-notify-watch-descriptor)
5517 (auto-revert-notify-modified-p): New defvars.
5518 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
5519 (auto-revert-notify-handler): New defuns.
5520 (auto-revert-mode, global-auto-revert-mode): Remove file watches
5521 when mode is disabled.
5522 (auto-revert-handler): Check for `auto-revert-notify-modified-p'.
5523 (auto-revert-buffers): Add file watches for active buffers.
5524
5525 2013-01-10 Dmitry Antipov <dmantipov@yandex.ru>
5526
5527 * cus-start.el (toplevel): Only allow float values for
5528 scroll-up-aggressively and scroll-down-aggressively.
5529 Allow any number for line-spacing.
5530
5531 2013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
5532
5533 * doc-view.el (doc-view-pdfdraw-program): Allow "pdfdraw" name.
5534 (doc-view-pdf->png-converter-function): Use mupdf if available.
5535 (doc-view-djvu->png-converter-function)
5536 (doc-view-ps->png-converter-function): Remove.
5537 (doc-view--image-file-pattern): Replace doc-view--image-file-extension.
5538 (doc-view-goto-page, doc-view-convert-current-doc, doc-view-display)
5539 (doc-view-already-converted-p): Adjust accordingly.
5540 (doc-view-mode-p): Simplify.
5541 (doc-view-enlarge): Use setq-local.
5542 (doc-view-pdf->png-converter-ghostscript)
5543 (doc-view-djvu->png-converter-ddjvu)
5544 (doc-view-pdf->png-converter-mupdf): Rework to call
5545 doc-view-start-process directly.
5546 (doc-view-pdf/ps->png): Simplify accordingly.
5547 (doc-view-pdf->png-1, doc-view-djvu->png-1): Remove.
5548 (doc-view-document->bitmap): Rename from doc-view-document->png.
5549 (doc-view-convert-current-doc): Merge pdf and djvu cases.
5550 (doc-view-set-slice-from-bounding-box): Fix completion table.
5551 (doc-view-mode): Use add-hook for after-revert-hook.
5552
5553 2013-01-10 Glenn Morris <rgm@gnu.org>
5554
5555 * emacs-lisp/authors.el (authors-ignored-files)
5556 (authors-valid-file-names, authors-renamed-files-alist):
5557 Add some more entries.
5558
5559 2013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
5560
5561 * image-mode.el (image-mode-winprops): Don't throw away the fallback
5562 `t' pseudo-window entry.
5563
5564 2013-01-10 Alan Mackenzie <acm@muc.de>
5565
5566 Fix bugs in the c-parse-state mechanism. Reuse some markers
5567 instead of continually generating new ones.
5568
5569 * progmodes/cc-engine.el (c-state-old-cpp-beg-marker)
5570 (c-state-old-cpp-end-marker): New variables.
5571 (c-append-lower-brace-pair-to-state-cache): Start a backward
5572 search for "}" definitively outside CPP constructs.
5573 (c-remove-stale-state-cache): Inform the caller of a need to
5574 search back for a brace pair in certain circumstances.
5575 (c-state-maybe-marker): New macro.
5576 (c-parse-state): Reuse markers when appropriate.
5577
5578 2013-01-10 Glenn Morris <rgm@gnu.org>
5579
5580 * simple.el (execute-extended-command): Doc fix.
5581 Bind prefix-arg around read-extended-command, for prompt. (Bug#13395)
5582
5583 2013-01-10 Chong Yidong <cyd@gnu.org>
5584
5585 * faces.el (read-face-name): Doc fix.
5586
5587 2013-01-10 Roland Winkler <winkler@gnu.org>
5588
5589 * emacs-lisp/crm.el: Allow any regexp for separators.
5590 (crm-default-separator): All spaces around the default comma separator.
5591 (crm--completion-command): New macro.
5592 (crm-completion-help, crm-complete, crm-complete-word): Use it.
5593 (crm-complete-and-exit): Handle non-single-char separators.
5594
5595 2013-01-09 Elias Pipping <pipping@lavabit.com>
5596
5597 * doc-view.el: Add support for DjVu (bug#13164).
5598 (doc-view-djvu->png-converter-function): New config var.
5599 (doc-view-single-page-converter-function, doc-view--image-type)
5600 (doc-view--image-file-extension): New vars.
5601 (doc-view-mode): Initialize them.
5602 (doc-view-goto-page): Use them.
5603 (doc-view-mode-p): Add support for ddjvu.
5604 (doc-view-djvu->png-converter-ddjvu, doc-view-djvu->png-1)
5605 (doc-view-set-up-single-converter): New funs.
5606 (doc-view-pdf/ps->png): Extend for djvu.
5607 (doc-view-document->png): Rename from doc-view-pdf->png.
5608 (doc-view-convert-current-doc): Handle djvu.
5609 (doc-view-insert-image, doc-view-display)
5610 (doc-view-already-converted-p): Don't hardcode png.
5611 (doc-view-set-doc-type): Recognize djvu docs.
5612
5613 2013-01-09 Elias Pipping <pipping@lavabit.com>
5614
5615 * doc-view.el: Add support for mupdf converter (bug#13164).
5616 (doc-view-pdfdraw-program, doc-view-pdf->png-converter-function)
5617 (doc-view-ps->png-converter-function): New config vars.
5618 (doc-view-pdf->png-converter-ghostscript)
5619 (doc-view-ps->png-converter-ghostscript)
5620 (doc-view-pdf->png-converter-mupdf): New functions.
5621 (doc-view-pdf/ps->png, doc-view-pdf->png-1): Use them.
5622
5623 2013-01-09 Jürgen Hötzel <juergen@archlinux.org>
5624
5625 * net/tramp.el (tramp-eshell-directory-change): Check remote-path
5626 first in session cache: When `tramp-own-remote-path' is in
5627 `tramp-remote-path', the remote path is only set in the session
5628 cache.
5629
5630 2013-01-09 Glenn Morris <rgm@gnu.org>
5631
5632 * emacs-lisp/trace.el (trace-function-foreground)
5633 (trace-function-background): Doc fix.
5634
5635 2013-01-09 Juri Linkov <juri@jurta.org>
5636
5637 * international/mule-cmds.el (read-char-by-name): Move let-binding
5638 of completion-ignore-case around completing-read to fix regression
5639 exhibited by the test case `C-x 8 RET *acc TAB' and caused by
5640 `string-match-p' using the nil value of `case-fold-search' and
5641 `completion-ignore-case' in `completion-pcm--all-completions'.
5642 (Bug#12615).
5643
5644 2013-01-09 Glenn Morris <rgm@gnu.org>
5645
5646 * progmodes/compile.el (compilation-parse-errors):
5647 Fix typo. (Bug#13369)
5648
5649 2013-01-09 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
5650
5651 * comint.el (comint-send-input): Check size of buffer before
5652 waiting for process output, in case already accepted. (Bug#13290)
5653
5654 2013-01-09 Paul Eggert <eggert@cs.ucla.edu>
5655
5656 Spelling fixes.
5657 * net/tramp-adb.el (tramp-adb-get-toolbox):
5658 Fix misspelling of 'unknown'.
5659
5660 2013-01-08 Juri Linkov <juri@jurta.org>
5661
5662 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
5663 * progmodes/flymake.el (flymake-errline, flymake-warnline):
5664 Use underline style wave on terminals that support it. (Bug#13000)
5665
5666 2013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
5667
5668 * emacs-lisp/pcase.el (pcase--split-equal): Also take advantage if
5669 the predicate returns nil.
5670
5671 * simple.el: Use lexical-binding.
5672 (primitive-undo): Use pcase.
5673 (minibuffer-history-isearch-push-state): Use a closure.
5674
5675 2013-01-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
5676
5677 * simple.el (primitive-undo): Move from undo.c.
5678
5679 2013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
5680
5681 * vc/pcvs.el (cvs-cleanup-collection): Extend meaning of `rm-handled'.
5682 (cvs-mode-remove-handled): Use it (bug#13380).
5683
5684 * emacs-lisp/nadvice.el (advice--tweak): New function.
5685 (advice--remove-function, advice--subst-main): Use it.
5686
5687 * emacs-lisp/advice.el: Update commentary.
5688
5689 2013-01-08 Michael Albinus <michael.albinus@gmx.de>
5690
5691 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5692 Remove spurious entry.
5693
5694 2013-01-08 Glenn Morris <rgm@gnu.org>
5695
5696 * net/tramp.el (tramp-default-host-alist): Add :version.
5697
5698 2013-01-08 Juri Linkov <juri@jurta.org>
5699
5700 * info.el (Info-read-node-name-2): Don't duplicate suffixes for
5701 single completion. (Bug#12456)
5702 (info--manual-names): Expand node completions into an explicit list
5703 before appending it to another list. Filter out internal buffers
5704 with the leading space in the buffer name. (Bug#10771)
5705
5706 2013-01-08 Juri Linkov <juri@jurta.org>
5707
5708 * info.el (Info-read-node-name-1): Allow empty node name in (FILENAME)
5709 that defaults to the Top node.
5710 (Info-goto-node, Info-read-node-name): Doc fix to mention that
5711 the short format (FILENAME) goes to the Top node.
5712 (Info-build-node-completions): Rename arg `file' to `filename'.
5713 (Bug#13365)
5714
5715 2013-01-07 Bastien Guerry <bzg@gnu.org>
5716
5717 * menu-bar.el (menu-bar-search-documentation-menu):
5718 Use `apropos-user-option' and fix the help message.
5719
5720 2013-01-07 Bastien Guerry <bzg@gnu.org>
5721
5722 * apropos.el (apropos-do-all): Update docstring.
5723 (apropos-user-option-button): New face.
5724 (apropos-user-option): Rename from `apropos-variable' and update
5725 docstring.
5726 (apropos-variable): Rewrite, now show all variables by default.
5727 (apropos-print): Mention "User option" instead of "Variable" when
5728 printing doc for user options. (Bug#13276)
5729
5730 2013-01-07 Jürgen Hötzel <juergen@archlinux.org>
5731
5732 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
5733 Handle filename correctly, when parsing "source -> target" symlink
5734 output.
5735 (tramp-adb-handle-set-file-times): New defun.
5736
5737 2013-01-07 Stefan Monnier <monnier@iro.umontreal.ca>
5738
5739 * emacs-lisp/advice.el (ad-activate-advised-definition): Refresh the
5740 advice list when the interactive-spec of ad-Advice-* changes.
5741
5742 2013-01-07 Katsumi Yamaoka <yamaoka@jpl.org>
5743
5744 * wid-edit.el (widget-default-get): Work for inlined elements.
5745 (Bug#12670)
5746
5747 2013-01-07 Michael Albinus <michael.albinus@gmx.de>
5748
5749 * net/tramp.el (tramp-default-host-alist): New defcustom.
5750 (tramp-find-host): Use it.
5751 (tramp-eshell-directory-change): Move from tramp-sh.el. Add to
5752 `eshell-directory-change-hook'.
5753
5754 * net/tramp-adb.el (top): Add adb specific entry in
5755 `tramp-default-host-alist'.
5756 (tramp-adb-file-name-host): Remove function.
5757 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
5758 Use `tramp-file-name-host' instead of `tramp-adb-file-name-host'.
5759
5760 * net/tramp-sh.el: Move eshell integration code to tramp.el.
5761
5762 2013-01-06 Jürgen Hötzel <juergen@archlinux.org>
5763
5764 * net/tramp-adb.el (tramp-methods): Add `tramp-tmpdir' entry.
5765
5766 2013-01-06 Michael Albinus <michael.albinus@gmx.de>
5767
5768 * net/tramp-adb.el (tramp-adb-ls-toolbox-regexp): The file size can
5769 consist of more than one digit.
5770 (tramp-adb-file-name-handler-alist):
5771 Use `tramp-handle-file-exists-p' consistently.
5772 (tramp-adb-file-name-handler): Don't tweak `tramp-default-host'.
5773 (tramp-adb-handle-file-exists-p): Remove function.
5774 (tramp-adb-file-name-host): New defun.
5775 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
5776 Use it.
5777 (tramp-adb-maybe-open-connection): Set "remote-path" property.
5778
5779 2013-01-06 Chong Yidong <cyd@gnu.org>
5780
5781 * vc/vc.el (vc-next-action): Detect buffer modifications
5782 conflicting with locking VCS operation (Bug#11490).
5783
5784 * vc/vc-hooks.el (vc-after-save): DTRT for locking VCSes.
5785
5786 2013-01-05 Michael Albinus <michael.albinus@gmx.de>
5787
5788 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
5789 (tramp-adb-handle-directory-files-and-attributes): Fix typos.
5790
5791 2013-01-05 Jürgen Hötzel <juergen@archlinux.org>
5792
5793 * net/tramp-adb.el (tramp-adb-handle-file-attributes): More robust
5794 parsing of ls output using regular expression (handle filenames
5795 with spaces). Use virtual device number.
5796 (tramp-do-parse-file-attributes-with-ls): New defun (Code
5797 cleanup).
5798
5799 2013-01-04 Daiki Ueno <ueno@gnu.org>
5800
5801 * epg.el: Silence byte-compiler warnings.
5802 (epg--start): Use delete-char instead of delete-backward-char.
5803 (epg-wait-for-completion): Pass FRAME arg to redraw-frame.
5804
5805 2013-01-04 Daiki Ueno <ueno@gnu.org>
5806
5807 * epg.el (epg--start): Don't call "tty" program on W32 platforms.
5808 Suggested by Eli Zaretskii <eliz@gnu.org>.
5809
5810 2013-01-04 Michael Albinus <michael.albinus@gmx.de>
5811
5812 * net/tramp-sh.el (tramp-set-file-uid-gid): UID and GID must be
5813 non-negative integers. Otherwise, the default values are used.
5814 (tramp-convert-file-attributes): Convert uid and gid to integers.
5815
5816 2013-01-04 Glenn Morris <rgm@gnu.org>
5817
5818 * term.el (term-handle-colors-array): Ensure face attributes
5819 are fully specified, not nil. (Bug#13337)
5820
5821 * term.el (term-default-fg-color, term-default-bg-color):
5822 Fix custom type.
5823
5824 * progmodes/etags.el (tags-compression-info-list): Doc fix.
5825 (tag-find-file-of-tag-noselect): Check auto-compression-mode
5826 rather than 'jka-compr being loaded. (Bug#13338)
5827
5828 2013-01-04 Wesley Dawson <whd@lavabit.com> (tiny change)
5829
5830 * icomplete.el (icomplete-completions):
5831 Honor icomplete-prospects-height once more following
5832 2012-11-29 changes. (Bug#13224)
5833
5834 2013-01-04 Stefan Monnier <monnier@iro.umontreal.ca>
5835
5836 * subr.el (internal--called-interactively-p--get-frame): Find aliases
5837 of called-interactively-p as well (bug#13237).
5838
5839 * view.el (view--enable, view--disable): Rename from view-mode-enable
5840 and view-mode-disable and assume it's called from view-mode.
5841 (view-mode-enable, view-mode-disable): Redefine as obsolete
5842 compatibility layer above view-mode.
5843 (view-mode-enter): Call `view-mode'.
5844
5845 * files.el (after-find-file): Call `view-mode'.
5846
5847 * doc-view.el (doc-view-scale-internally): New var.
5848 (doc-view-enlarge, doc-view-insert-image): Obey it.
5849
5850 2013-01-03 Daiki Ueno <ueno@gnu.org>
5851
5852 * epg.el (epg--start): Ignore errors when /dev/fd/0 does not
5853 exist. (Bug#13344)
5854
5855 2013-01-03 Glenn Morris <rgm@gnu.org>
5856
5857 * mail/rmail.el (rmail-set-header-1): Ignore case.
5858 Handle multi-line headers. (Bug#13330)
5859
5860 * progmodes/make-mode.el (makefile-fill-paragraph): Add doc.
5861 Handle paragraph starting at beginning of buffer.
5862
5863 * subr.el (eval-after-load): Don't purecopy the form, so that it
5864 can be nconc'd later on; reverts 2009-11-11 change. (Bug#13331)
5865
5866 * emacs-lisp/byte-run.el (defun): Place cl declarations
5867 after any interactive spec. (Bug#13265)
5868
5869 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
5870
5871 * emacs-lisp/byte-run.el (defmacro): Use same argument parsing as
5872 defun. Don't check for DECL if DOCSTRING isn't a string.
5873 (defun): Likewise.
5874
5875 2013-01-02 Glenn Morris <rgm@gnu.org>
5876
5877 * eshell/em-cmpl.el (eshell-pcomplete):
5878 More thoroughly imitate pcomplete. (Bug#13293)
5879
5880 * files.el (parse-colon-path): Doc fix. (Bug#12351)
5881 Return nil for empty path elements. (Bug#13296)
5882
5883 2013-01-02 Fabián Ezequiel Gallina <fgallina@cuca>
5884
5885 * progmodes/python.el (python-nav-end-of-statement): Rewrite in
5886 order to improve efficiency (Based on Daniel Colascione's
5887 <dancol@dancol.org> patch). (Bug#13182)
5888
5889 2013-01-02 Glenn Morris <rgm@gnu.org>
5890
5891 * vc/log-edit.el (log-edit-header-contents-regexp): Add doc string.
5892
5893 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
5894
5895 * emacs-lisp/byte-run.el (defmacro): Don't lose final nil if
5896 neither DOCSTRING nor DECL was given. (Bug#13316)
5897
5898 2013-01-02 Michael Albinus <michael.albinus@gmx.de>
5899
5900 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Add argument to
5901 `error' call.
5902 (tramp-do-copy-or-rename-file): Ignore errors when calling
5903 `set-file-extended-attributes'.
5904
5905 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
5906 Add handler for `file-acl'.
5907 (tramp-smb-handle-file-acl): New defun.
5908
5909 2013-01-02 Jay Belanger <jay.p.belanger@gmail.com>
5910
5911 * calc/README: Mention ISO 8601 week-numbering dates.
5912
5913 2013-01-01 Martin Rudalics <rudalics@gmx.at>
5914
5915 * view.el (view-mode-enable): New argument run-view-mode-hook.
5916 Run view-mode-hook only when it's non-nil (Bug#13315).
5917 (view-mode-enter): Call view-mode-enable with run-view-mode-hook
5918 argument t.
5919
5920 2012-12-31 Jürgen Hötzel <juergen@archlinux.org>
5921
5922 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Handle errors
5923 (No device connected, invalid device name). (Bug #13299)
5924
5925 2012-12-31 Martin Rudalics <rudalics@gmx.at>
5926
5927 * window.el (window-resizable--p): Rename to window-resizable-p.
5928 (window-resize-no-error): New function.
5929
5930 * mail/rmail.el (rmail-maybe-display-summary): Restore behavior
5931 broken in fix from 2012-12-28.
5932
5933 2012-12-31 Stefan Monnier <monnier@iro.umontreal.ca>
5934
5935 * subr.el (special-form-p): Don't signal errors on undef aliases.
5936
5937 2012-12-31 Jay Belanger <jay.p.belanger@gmail.com>
5938
5939 * calc/calc-forms.el (math-parse-date): Try using
5940 `math-parse-iso-date' when it looks like it might be needed.
5941 Allow times of 24:00.
5942 (math-parse-date-validate, math-parse-iso-date-validate): Allow times
5943 of 24:00.
5944
5945 2012-12-30 Glenn Morris <rgm@gnu.org>
5946
5947 * net/mairix.el (rmail, rmail-summary-displayed, rmail-summary):
5948 Remove unnecessary/buggy autoloads (missing interactive). (Bug#13294)
5949 (rmail-summary-displayed, rmail-summary): Declare.
5950 (mairix-rmail-display): Just require rmail.
5951
5952 2012-12-30 Chong Yidong <cyd@gnu.org>
5953
5954 * emacs-lisp/package.el (package-untar-buffer): Improve integrity
5955 check for the tarball contents.
5956
5957 2012-12-30 Matt Fidler <matt.fidler@alcon.com> (tiny change)
5958
5959 * emacs-lisp/package.el (package-untar-buffer): Handle problematic
5960 tarfile content listings (Bug#13136).
5961
5962 2012-12-30 Mark Lillibridge <mark.lillibridge@hp.com>
5963
5964 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
5965 Insert the undecoded text of the message being forwarded. (Bug#9521)
5966
5967 2012-12-30 Michael Albinus <michael.albinus@gmx.de>
5968
5969 * net/tramp-sh.el (tramp-set-file-uid-gid): Convert UID and GID to
5970 integers, if they are real numbers. (Bug#13282)
5971
5972 * net/tramp-sh.el (tramp-sh-handle-set-file-selinux-context):
5973 Return `t' on success.
5974
5975 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
5976 Add handler for `set-file-selinux-context'.
5977
5978 2012-12-29 Michael Albinus <michael.albinus@gmx.de>
5979
5980 * net/tramp-sh.el (tramp-sh-handle-file-acl): Suppress basic attributes.
5981 (tramp-sh-handle-set-file-acl): Return `t' on success.
5982
5983 2012-12-29 Eli Zaretskii <eliz@gnu.org>
5984
5985 * files.el (backup-buffer-copy, basic-save-buffer-2):
5986 If set-file-extended-attributes fails, fall back on set-file-modes
5987 instead of signaling an error. (Bug#13298)
5988 (basic-save-buffer): Likewise.
5989
5990 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
5991
5992 * progmodes/python.el: Support other commands triggering
5993 python-indent-line so indentation cycling continues to work.
5994 (python-indent-trigger-commands): New defcustom.
5995 (python-indent-line): Use it.
5996
5997 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
5998
5999 * progmodes/python.el (python-shell-send-region): Add blank lines
6000 for non sent code so backtraces remain correct.
6001
6002 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
6003
6004 * progmodes/python.el: Remove cl dependency.
6005 (python-syntax-count-quotes): Replace incf call.
6006 (python-fill-string): Replace setf call.
6007
6008 2012-12-29 Damien Cassou <damien.cassou@gmail.com>
6009
6010 * info.el (info-other-window): New arg, for consistency with info.
6011
6012 2012-12-28 Martin Rudalics <rudalics@gmx.at>
6013
6014 * mail/rmail.el (rmail-maybe-display-summary):
6015 Rewrite (Bug#13066).
6016
6017 2012-12-28 Andreas Schwab <schwab@linux-m68k.org>
6018
6019 * epg.el (epg--start): Modify process-environment locally.
6020
6021 2012-12-28 Daiki Ueno <ueno@gnu.org>
6022
6023 * epg.el: Support pinentry-curses.
6024 Suggested by Werner Koch in
6025 <http://lists.gnu.org/archive/html/emacs-devel/2007-02/msg00755.html>.
6026 (epg-agent-file, epg-agent-mtime): New variable.
6027 (epg--start): Record the modified time of gpg-agent socket file,
6028 to restore Emacs frame after pinentry-curses termination.
6029 (epg-wait-for-completion): Restore Emacs frame here.
6030
6031 2012-12-27 Juri Linkov <juri@jurta.org>
6032
6033 * info.el (Info-file-completions): New variable.
6034 (Info-read-node-name-1): Complete node names in the Info file
6035 when a file name is given. Call `Info-build-node-completions'
6036 with a file name.
6037 (Info-build-node-completions): Add new arg `file'. When it is
6038 non-nil, visit it in a temporary buffer and cache its completions in
6039 `Info-current-file-completions'. Move most of the function body to
6040 `Info-build-node-completions-1'.
6041 (Info-build-node-completions-1): New function with the body from
6042 `Info-build-node-completions'. (Bug#12456)
6043
6044 2012-12-27 Juri Linkov <juri@jurta.org>
6045
6046 * frame.el (frame-maximization-style): Remove user option.
6047 (cycle-frame-maximized): Remove function.
6048 (toggle-frame-maximized): Rewrite and bind to M-<f10>.
6049 (toggle-frame-fullscreen): New command bound to <f11> instead of
6050 `toggle-frame-maximized'.
6051 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00703.html
6052
6053 2012-12-27 Michael Albinus <michael.albinus@gmx.de>
6054
6055 * net/tramp.el (tramp-handle-file-accessible-directory-p): New defun.
6056
6057 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6058 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6059 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
6060 for `file-accessible-directory-p'. (Bug#13275)
6061
6062 2012-12-27 Sam Steingold <sds@gnu.org>
6063
6064 * progmodes/cperl-mode.el (cperl-calculate-indent): Do not stagger
6065 continuations, see <http://stackoverflow.com/questions/3582436>.
6066
6067 2012-12-27 Dmitry Gutov <dgutov@yandex.ru>
6068
6069 * progmodes/ruby-mode.el (ruby-indent-beg-re): Only allow "class",
6070 "module" and "def" to have indentation before them.
6071 Regression from 2012-09-07T04:15:56Z!dgutov@yandex.ru (see the new test).
6072
6073 * progmodes/ruby-mode.el: Bump the version to 1.2 (Bug#13200).
6074
6075 2012-12-27 Alan Mackenzie <acm@muc.de>
6076
6077 Speed up fontification where there's large brace blocks.
6078 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Add a limit
6079 to a call of c-beginning-of-decl-1.
6080
6081 2012-12-27 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
6082
6083 * comint.el (comint-adjust-window-point): New function.
6084 (comint-postoutput-scroll-to-bottom):
6085 Call comint-adjust-window-point (Bug#13248).
6086
6087 2012-12-26 Dmitry Gutov <dgutov@yandex.ru>
6088
6089 * progmodes/ruby-mode.el (auto-mode-alist): `purecopy' the
6090 Rakefile regexp.
6091 (auto-mode-alist): Associate .gemspec files with ruby-mode
6092 (https://bugs.ruby-lang.org/issues/5453).
6093
6094 2012-12-26 Jürgen Hötzel <juergen@archlinux.org>
6095
6096 * net/tramp-adb.el (tramp-adb-get-ls-command): New defun.
6097 Suppress coloring, if possible (required for BusyBox based systems like
6098 CyanogenMod).
6099 (tramp-adb-handle-file-attributes)
6100 (tramp-adb-handle-insert-directory)
6101 (tramp-adb-handle-file-name-all-completions): Use it.
6102 (tramp-adb-get-toolbox): New defun. Check for remote shell
6103 implementation (BusyBox or Toolbox).
6104
6105 2012-12-24 Constantin Kulikov <zxnotdead@gmail.com> (tiny change)
6106
6107 * startup.el (initial-buffer-choice): Allow function as value
6108 (Bug#13251).
6109 (command-line-1): Handle case where initial-buffer-choice
6110 specifies a function.
6111 * server.el (server-execute): Handle case where
6112 initial-buffer-choice specifies a function.
6113
6114 2012-12-24 Lars Ingebrigtsen <larsi@gnus.org>
6115
6116 * mail/smtpmail.el (smtpmail-try-auth-method): Refactored out into
6117 its own function.
6118 (smtpmail-try-auth-methods): Forget the user name/password if the
6119 login is unsuccessful (bug#12424).
6120
6121 2012-12-22 Michael Albinus <michael.albinus@gmx.de>
6122
6123 * notifications.el (notifications-notify): Protect body with
6124 `with-demoted-errors'.
6125
6126 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
6127 Check properties of remote device. Restart connection, if there is a
6128 change.
6129
6130 2012-12-21 Chong Yidong <cyd@gnu.org>
6131
6132 * sort.el (sort-subr): Doc fix (Bug#13056).
6133
6134 2012-12-21 Bastien Guerry <bzg@gnu.org>
6135
6136 * progmodes/etags.el (tags-search): Fix typo. Bug #13232.
6137
6138 2012-12-21 Michael Albinus <michael.albinus@gmx.de>
6139
6140 * simple.el (process-file): Overwrite stderr file, if exists.
6141
6142 2012-12-21 Daiki Ueno <ueno@gnu.org>
6143
6144 * epg.el (epg--start): Print GPG_AGENT_INFO in the debug buffer.
6145 (epg-error): Set `error-message' property.
6146
6147 2012-12-21 Chong Yidong <cyd@gnu.org>
6148
6149 * international/mule-cmds.el (read-char-by-name): Signal an error
6150 if the user does not supply a valid character (Bug#13177).
6151
6152 * simple.el (transpose-subr-1): Preserve marker positions by
6153 changing the insertion sequence (Bug#13122).
6154
6155 2012-12-21 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
6156
6157 * simple.el (kill-region): Deactivate mark even for empty regions
6158 (Bug#13169).
6159
6160 2012-12-21 Chong Yidong <cyd@gnu.org>
6161
6162 * help-fns.el (describe-variable): Make sure we get the right
6163 buffer name (Bug#13105). Suggested by Kelly Dean.
6164
6165 2012-12-20 Michael R. Mauger <mmaug@yahoo.com>
6166
6167 * comint.el (comint-redirect-previous-input-string): New variable.
6168 (comint-redirect-setup, comint-redirect-cleanup)
6169 (comint-redirect-preoutput-filter): Use it. Fixes redirection bug.
6170 (comint-redirect-preoutput-filter): Fix verbose message.
6171
6172 2012-12-20 Michael Albinus <michael.albinus@gmx.de>
6173
6174 * progmodes/grep.el (rgrep): Escape command line. Sometimes, it
6175 is too long for Tramp. See discussion in
6176 <http://thread.gmane.org/gmane.emacs.tramp/8233/focus=8244>.
6177
6178 * progmodes/compile.el (compilation-start): Remove line escape
6179 template.
6180
6181 2012-12-20 Dmitry Antipov <dmantipov@yandex.ru>
6182
6183 * vc/ediff-ptch.el (ediff-map-patch-buffer): Use `point-min-marker'.
6184 Adjust comment.
6185
6186 2012-12-19 Jonas Bernoulli <jonas@bernoul.li>
6187
6188 * emacs-lisp/lisp-mnt.el (lm-section-end): Always end before the
6189 following non-comment text (bug#13207).
6190 (lm-header-multiline): Continuation lines need to be indented more than
6191 the first line.
6192 (lm-homepage): New function.
6193 (lm-with-file): Don't be confused if narrowing is in effect.
6194
6195 2012-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
6196
6197 * vc/diff-mode.el (diff-post-command-hook): Don't ignore changes at the
6198 very beginning of a hunk (e.g. killing the first line).
6199
6200 2012-12-19 Michael Albinus <michael.albinus@gmx.de>
6201
6202 * net/tramp-sh.el (tramp-sh-handle-file-acl): Delete empty lines
6203 and text properties from returned ACL string.
6204 (tramp-sh-handle-set-file-acl): Do not use additional parentheses
6205 for "setfacl" command.
6206
6207 2012-12-18 Michael Albinus <michael.albinus@gmx.de>
6208
6209 * net/tramp.el (tramp-error-with-buffer): Give a hint to use
6210 `tramp-cleanup-this-connection', when the process has died.
6211 (Bug#13151)
6212
6213 2012-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
6214
6215 * icomplete.el (icomplete-completions): Also use … to truncate prefix.
6216
6217 2012-12-17 Kevin Ryde <user42@zip.com.au>
6218
6219 * files.el (auto-save-file-name-p): Use \` and \' (bug#13186).
6220
6221 2012-12-17 Michael Albinus <michael.albinus@gmx.de>
6222
6223 Add support for preserving ACL entries of files.
6224
6225 * net/tramp.el (tramp-file-name-for-operation): Add `file-acl' and
6226 `set-file-acl' handlers.
6227
6228 * net/tramp-adb.el (tramp-adb-handle-copy-file):
6229 Handle PRESERVE-EXTENDED-ATTRIBUTES.
6230
6231 * net/tramp-compat.el (tramp-compat-copy-file):
6232 Handle PRESERVE-EXTENDED-ATTRIBUTES.
6233
6234 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6235 Add `file-acl' and `set-file-acl' handlers.
6236 (tramp-gvfs-handle-copy-file):
6237 Handle PRESERVE-EXTENDED-ATTRIBUTES.
6238 (tramp-gvfs-handle-file-acl, tramp-gvfs-handle-set-file-acl):
6239 New defuns.
6240
6241 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6242 Add `file-acl' and `set-file-acl' handlers.
6243 (tramp-remote-acl-p, tramp-sh-handle-file-acl)
6244 (tramp-sh-handle-set-file-acl): New defuns.
6245 (tramp-sh-handle-copy-file, tramp-do-copy-or-rename-file):
6246 Handle PRESERVE-EXTENDED-ATTRIBUTES.
6247
6248 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
6249 Add `file-acl' and `set-file-acl' handlers.
6250 (tramp-smb-handle-copy-file): Handle PRESERVE-EXTENDED-ATTRIBUTES.
6251
6252 2012-12-17 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
6253
6254 * help-macro.el (make-help-screen): Instead of switch-to-buffer
6255 use pop-to-buffer with NORECORD argument t. As buffer name, use
6256 *Metahelp* with a leading space (Bug#13190).
6257
6258 2012-12-16 Romain Francoise <romain@orebokech.com>
6259
6260 * files.el (file-extended-attributes)
6261 (set-file-extended-attributes): New functions.
6262 (backup-buffer): Use them to handle both SELinux context and ACL
6263 entries.
6264 (backup-buffer-copy): Work with an alist of extended attributes,
6265 rather than an SELinux context.
6266 (basic-save-buffer-2): Ditto.
6267
6268 2012-12-16 Timo Myyrä <timo.myyra@gmail.com>
6269
6270 * battery.el (battery-bsd-apm): New function.
6271
6272 2012-12-16 Jay Belanger <jay.p.belanger@gmail.com>
6273
6274 * calc/calc.el (calc-standard-date-formats): Adjust one of the
6275 standard date formats.
6276
6277 2012-12-15 Juri Linkov <juri@jurta.org>
6278
6279 * isearch.el (isearch-mode-map): Bind `C-x 8 RET' to
6280 `isearch-insert-char-by-name'.
6281 (with-isearch-suspended): New defmacro with body mostly from
6282 `isearch-edit-string' except the part that sets
6283 `isearch-new-string' and `isearch-new-message'.
6284 (isearch-edit-string): Use new macro `with-isearch-suspended' with
6285 body that sets `isearch-new-string' and `isearch-new-message'.
6286 (isearch-insert-char-by-name): New command.
6287 * international/mule-cmds.el (read-char-by-name): Let-bind
6288 `enable-recursive-minibuffers' to t.
6289 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00234.html
6290
6291 2012-12-15 Juri Linkov <juri@jurta.org>
6292
6293 * isearch.el (isearch-delete-char, isearch-del-char): Doc fix.
6294 (Bug#13175)
6295
6296 2012-12-15 Christopher Schmidt <christopher@ch.ristopher.com>
6297
6298 * dired-x.el (dired-guess-shell-command): Put colon at the end of
6299 the prompt. (Bug#13045)
6300
6301 2012-12-14 Glenn Morris <rgm@gnu.org>
6302
6303 * emacs-lisp/macroexp.el (macroexp--warn-and-return):
6304 Try to include filename in non-bytecomp warning. (Bug#13132)
6305
6306 2012-12-14 Paul Eggert <eggert@cs.ucla.edu>
6307
6308 Fix permissions bugs with setgid directories etc. (Bug#13125)
6309 * files.el (backup-buffer): Don't rely on 9th output of
6310 file-attributes, as it's now a placeholder. Instead, use the new
6311 optional arg of file-ownership-preserved-p.
6312 (file-ownership-preserved-p): New optional arg GROUP.
6313 Fix mishandling of setuid directories that would cause this
6314 function to return t when it should have returned nil.
6315 Document what happens if the file does not exist, and when
6316 it's not known whether the ownership will be preserved.
6317 * net/tramp-sh.el (tramp-sh-handle-file-ownership-preserved-p):
6318 Likewise.
6319 (tramp-get-local-gid): Use group-gid for integer, as that's
6320 faster and more reliable.
6321
6322 2012-12-14 Julien Danjou <julien@danjou.info>
6323
6324 * progmodes/sql.el (sql-mode-postgres-font-lock-keywords):
6325 Update keywords list, data type and PL/pgSQL.
6326
6327 2012-12-14 Dave Abrahams <dave@boostpro.com>
6328
6329 * vc/ediff-util.el (ediff-buffer-type): New function.
6330 (ediff-clone-buffer-for-current-diff-comparison): Compute the buf-type
6331 rather than taking it as as argument.
6332 (ediff-inferior-compare-regions): Adjust calls accordingly (bug#11319).
6333
6334 2012-12-14 Ryan Crum <ryan.crum@eleostech.com>
6335
6336 * json.el: Add pretty-print option (bug#12634).
6337 (json-encoding-separator, json-encoding-default-indentation)
6338 (json--encoding-current-indentation, json-encoding-pretty-print)
6339 (json-encoding-lisp-style-closings): New vars.
6340 (json--with-indentation): New macro.
6341 (json-encode-hash-table, json-encode-alist, json-encode-plist)
6342 (json-encode-array): Use it to obey json-encoding-pretty-print.
6343 (json-pretty-print-buffer, json-pretty-print): New commands.
6344
6345 2012-12-14 Dmitry Gutov <dgutov@yandex.ru>
6346
6347 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
6348 Extract `ruby-syntax-propertize-expansions'.
6349 (ruby-syntax-propertize-expansions): Only change syntax on
6350 certain string delimiters, to punctuation. This way the common
6351 functions like forward-word and thing-at-point still work.
6352 (ruby-match-expression-expansion): Improve readability.
6353 (ruby-block-contains-point): New function.
6354 (ruby-add-log-current-method): Handle several edge cases.
6355
6356 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
6357
6358 * emacs-lisp/edebug.el (edebug-unload-function): Make sure that
6359 unload-feature finishes even when aborting an ongoing edebug session.
6360 Also, do not worry about edebug-mode, unload-feature takes care of it.
6361
6362 2012-12-13 Andreas Schwab <schwab@suse.de>
6363
6364 * net/tls.el (tls-program): Update customize type.
6365
6366 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
6367
6368 * emacs-lisp/edebug.el (edebug--require-cl-read): New function.
6369 (edebug-setup-hook, cl-read-load-hooks): Use it.
6370 (edebug-unload-function): New function. (Bug#13163)
6371
6372 2012-12-13 Michael Albinus <michael.albinus@gmx.de>
6373
6374 * net/tramp-adb.el (tramp-adb-file-name-p): Make it a defsubst.
6375 Otherwise, there could be errors in autoloading. (Bug#13151)
6376
6377 2012-12-13 Jürgen Hötzel <juergen@archlinux.org>
6378
6379 * net/tramp-adb.el (tramp-adb-wait-for-output): Remove spurious " ^H"
6380 sequences.
6381
6382 2012-12-13 Alan Mackenzie <acm@muc.de>
6383
6384 Make CC Mode not hang when _some_ lines end in CRLF. Bug #11841.
6385 * progmodes/cc-engine.el (c-backward-comments): Add code to work
6386 around `forward-comment' not recognizing ^M as whitespace.
6387
6388 2012-12-13 Fabián Ezequiel Gallina <fgallina@cuca>
6389
6390 * progmodes/python.el (python-skeleton-class)
6391 (python-skeleton-def): Do not add space after defun name.
6392
6393 2012-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
6394
6395 * emacs-lisp/cl.el (letf): Make it an alias of cl-letf.
6396 (cl--symbol-function): Remove (now that funbound is like nil).
6397
6398 2012-12-12 Glenn Morris <rgm@gnu.org>
6399
6400 * button.el (button--area-button-p): Fix typo.
6401
6402 2012-12-12 Sam Steingold <sds@gnu.org>
6403
6404 * frame.el (frame-maximization-style): New user option.
6405 (toggle-frame-maximized): Toggle frame maximization according to
6406 `frame-maximization-style', bound to <f11>.
6407 (cycle-frame-maximized): Cycle between all maximization styles and
6408 non-maximized frame, bound to shift-<f11>.
6409
6410 2012-12-12 David Cadé <codename68@gmail.com>
6411
6412 * mpc.el (mpc-format): Use truncate-string-to-width (bug#13143).
6413
6414 2012-12-12 Jonas Bernoulli <jonas@bernoul.li>
6415
6416 * lisp/emacs-lisp/eieio.el: Prettier object pretty-printing (bug#13115).
6417 (eieio-override-prin1): Don't quote kewords and booleans.
6418 (object-write) <eieio-default-superclass>: Don't put closing parens
6419 on new line, avoid needless empty lines, align values that are objects
6420 with the slot keyword (instead of beginning on the same line).
6421 (eieio-list-prin1): Align value with slot keyword; increase
6422 eieio-print-depth before printing members of the list.
6423
6424 2012-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
6425
6426 * mail/emacsbug.el (report-emacs-bug): Move the intangible text to
6427 a display text-property.
6428 (report-emacs-bug-hook): Don't bother deleting it any more.
6429
6430 * hilit-chg.el (highlight-save-buffer-state): Delete.
6431 Use with-silent-modifications instead.
6432 (hilit-chg-set-face-on-change): Only fixup the text that's modified.
6433
6434 * button.el: Handle buttons in display text-properties.
6435 (button--area-button-p, button--area-button-string):
6436 Use (STRING . STRING-POS) representation instead of just STRING.
6437
6438 2012-12-11 Eli Zaretskii <eliz@gnu.org>
6439
6440 * makefile.w32-in (compile4-SH): Fix a typo that caused term
6441 subdirectory be skipped.
6442
6443 2012-12-11 Glenn Morris <rgm@gnu.org>
6444
6445 * net/rcirc.el (rcirc-urls, rcirc-condition-filter): Doc fixes.
6446
6447 * progmodes/f90.el (f90-line-continued, f90-indent-region):
6448 Treat preprocessor lines embedded in continuations like comments.
6449 (f90-indent-line): Special-case preprocessor lines. (Bug#13138)
6450
6451 2012-12-11 Jay Belanger <jay.p.belanger@gmail.com>
6452
6453 * calc/calc.el (calc-standard-date-formats): Add more date
6454 formats.
6455 * calc/calc-forms.el (math-parse-iso-date): New function.
6456 (math-parse-date): Use `math-parse-iso-date' when appropriate.
6457 (math-parse-iso-date-validate): Add extra error checking.
6458 (calc-date-notation): Add ability to access new date formats.
6459
6460 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
6461
6462 * hi-lock.el (hi-lock--regexps-at-point): Fix boundary case for
6463 font-lock as well as when there's no text-property.
6464
6465 2012-12-10 Jambunathan K <kjambunathan@gmail.com>
6466
6467 * hi-lock.el: Refine the choice of default face.
6468 (hi-lock-keyword->face): New function. Use it wherever we used
6469 cadadadr instead.
6470 (hi-lock--regexps-at-point): Ignore faces that can't come from hi-lock.
6471 (hi-lock--last-face): Remove var.
6472 (hi-lock--unused-faces): New var to replace it.
6473 (hi-lock-read-face-name): Use/maintain it.
6474 (hi-lock-unface-buffer): Maintain it. Fix error for the C-u case.
6475 (hi-lock-set-pattern): Ignore new rule if it has the same regexp even
6476 if it has another face.
6477
6478 2012-12-10 Eli Zaretskii <eliz@gnu.org>
6479
6480 * subr.el (w32notify-handle-event): New function.
6481 (inotify-handle-event): Doc fix.
6482
6483 2012-12-10 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6484
6485 * subr.el (inotify-event-p, inotify-handle-event): New functions.
6486
6487 2012-12-10 Dani Moncayo <dmoncayo@gmail.com>
6488
6489 * simple.el (just-one-space): Doc fix.
6490
6491 2012-12-10 Eli Zaretskii <eliz@gnu.org>
6492
6493 * textmodes/texinfo.el (texinfo-enable-quote-envs): Add "smallexample".
6494
6495 2012-12-10 Le Wang <l26wang@gmail.com>
6496
6497 * hilit-chg.el (hilit-chg-set-face-on-change): Don't burp in
6498 narrowed buffer (bug#12361).
6499
6500 2012-12-10 Juanma Barranquero <lekktu@gmail.com>
6501
6502 * vc/vc-hooks.el (vc-state): Doc fix.
6503
6504 2012-12-10 Glenn Morris <rgm@gnu.org>
6505
6506 * mail/rmail.el (rmail-maybe-display-summary):
6507 Preserve buffer, in case select-window changes it. (Bug#13066)
6508
6509 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
6510
6511 * emacs-lisp/cl.el, emacs-lisp/cl-lib.el: Move cl-unload-function and
6512 cl-load-hook where they belong.
6513
6514 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
6515
6516 * emacs-lisp/cl-lib.el (cl-declaim): Paren typo.
6517
6518 2012-12-09 Eli Zaretskii <eliz@gnu.org>
6519
6520 Parallelize byte compilation on MS-Windows.
6521 * makefile.w32-in (WINS_BASIC1, WINS_BASIC2, WINS_BASIC3)
6522 (WINS_BASIC4): New variables, subdivide subdirectories into 4 parts.
6523 (WINS_BASIC): Define as concatenation of the above.
6524 (compile): Subdivide into 4 separate and independent jobs that can
6525 be run in parallel.
6526 (compile0-CMD, compile0-SH): New targets for compiling
6527 COMPILE_FIRST files, which are prerequisites for the rest of the
6528 byte-compilation.
6529 (compile1-CMD, compile2-CMD, compile3-CMD, compile4-CMD):
6530 New targets for parallel compilation with cmd.exe.
6531 (compile1-SH, compile2-SH, compile3-SH, compile4-SH): Ditto for
6532 compiling under a Unixy shell.
6533
6534 2012-12-09 Chong Yidong <cyd@gnu.org>
6535
6536 * simple.el (set-mark-default-inactive): Delete this
6537 accidentally-introduced option.
6538 (set-mark-command, exchange-point-and-mark): Remove calls.
6539
6540 2012-12-09 Glenn Morris <rgm@gnu.org>
6541
6542 * emacs-lisp/lisp-mode.el (eval-defun-1): Doc fix.
6543 Respect a defcustom's :set function, if appropriate. (Bug#109)
6544 (eval-defun): Doc fix.
6545
6546 2012-12-08 Juri Linkov <juri@jurta.org>
6547
6548 * info.el (Info-copy-current-node-name, Info-breadcrumbs)
6549 (Info-fontify-node, Info-bookmark-make-record): Remove the
6550 file extension from Info-current-file (Bug#13016).
6551
6552 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
6553
6554 * hi-lock.el (hi-lock-unface-buffer): If there's no matching regexp at
6555 point, still provide some default.
6556 (hi-lock--regexps-at-point): Don't enforce a "hi-lock-" prefix on face
6557 names, since we don't use it right now. Actually return the list.
6558 (hi-lock-file-patterns, hi-lock-interactive-patterns): Use defvar-local.
6559
6560 2012-12-07 Chong Yidong <cyd@gnu.org>
6561
6562 * novice.el (disabled-command-function): Remove a spurious help
6563 xref (Bug#13043). Suggested by Kelly Dean.
6564
6565 * subr.el (text-clone-maintain): Fix clone overlay deletion when a
6566 syntax is specified (Bug#13025).
6567
6568 * info.el (Info-set-mode-line): Remove the file extension from
6569 Info-current-file if there is one (Bug#13016).
6570
6571 2012-12-07 Glenn Morris <rgm@gnu.org>
6572
6573 * mail/rmail.el (rmail-mime-decoded): New permanent local.
6574 (rmail-show-message-1): Set rmail-mime-decoded when appropriate.
6575 * mail/rmailedit.el (rmail-cease-edit): Respect rmail-mbox-format
6576 and rmail-mime-decoded. (Bug#9841)
6577
6578 * mail/unrmail.el (unrmail-mbox-format): New option. (Bug#6574)
6579 (batch-unrmail, unrmail): Doc fixes.
6580 (unrmail): Respect unrmail-mbox-format.
6581 * mail/rmail.el (rmail-mbox-format): New option.
6582 (rmail-show-message-1): Respect rmail-mbox-format.
6583
6584 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
6585
6586 * emacs-lisp/cl-macs.el (cl-tagbody): New macro.
6587
6588 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
6589
6590 Further cleanup of the "cl-" namespace. Fit CL in 80 columns.
6591 * emacs-lisp/cl-macs.el (cl--pop2, cl--optimize-safety)
6592 (cl--optimize-speed, cl--not-toplevel, cl--parse-loop-clause)
6593 (cl--expand-do-loop, cl--proclaim-history, cl--declare-stack)
6594 (cl--do-proclaim, cl--proclaims-deferred): Rename from the "cl-" prefix.
6595 (cl-progv): Don't rely on dynamic scoping to find the body.
6596 * emacs-lisp/cl-lib.el (cl--optimize-speed, cl--optimize-safety)
6597 (cl--proclaims-deferred): Rename from the "cl-" prefix.
6598 (cl-declaim): Use backquotes.
6599 * emacs-lisp/cl-extra.el (cl-make-random-state, cl-random-state-p):
6600 Use "cl--" prefix for the object's tag.
6601
6602 * ses.el: Use advice-add/remove.
6603 (ses--advice-copy-region-as-kill, ses--advice-yank): New functions.
6604 (copy-region-as-kill, yank): Use advice-add.
6605 (ses-unload-function): Use advice-remove.
6606
6607 2012-12-06 Jonas Bernoulli <jonas@bernoul.li>
6608
6609 * button.el: Make them work in header-lines (bug#12817).
6610 (button-map): Add bindings for header-line and mode-line use.
6611 (button-get, button-put, button-label): `button' may now be a string.
6612 (button-activate): Don't make it a defsubst.
6613 (button--area-button-p, button--area-button-string): New functions.
6614 (make-text-button): Fix the return value when `beg' was a string.
6615 (push-button): Handle the mode-line case.
6616
6617 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
6618
6619 * progmodes/sql.el: Use cl-lib and lexical-binding; various cleanup.
6620 (sql-signum): Remove. Use `cl-signum' instead.
6621 (sql-read-passwd): Remove; use read-passwd instread.
6622 (sql-get-login-ext): Use read-string.
6623 (sql-get-login): Use dolist and pcase.
6624 (sql--completion-table): Rename from sql-try-completion.
6625 Use complete-with-action.
6626 (sql-mode): Don't change abbrev-all-caps globally.
6627 (sql-connect): Don't rely on dynamic scoping for `new-name'.
6628 (sql-postgres-completion-object): Initialize vars in their `let'.
6629 (sql-comint-sybase, sql-comint-sqlite, sql-comint-mysql)
6630 (sql-comint-solid, sql-comint-ms, sql-comint-postgres)
6631 (sql-comint-interbase): Use a single append, without setq.
6632 (sql-comint-linter): Same, and unwind-protect the LINTER_MBX var.
6633
6634 * hi-lock.el: Rework the default face and the serialize regexp code.
6635 (hi-lock--auto-select-face-defaults): Remove.
6636 (hi-lock-string-serialize-serial): Remove.
6637 (hi-lock--hashcons-hash): Rename from hi-lock-string-serialize-hash;
6638 make weak.
6639 (hi-lock--hashcons): Rename from hi-lock-string-serialize, return an
6640 equal string.
6641 (hi-lock-set-pattern): Adjust accordingly.
6642 (hi-lock--regexps-at-point): Simplify accordingly.
6643 (hi-lock--auto-select-face-defaults): Remove.
6644 (hi-lock--last-face): New var to replace it.
6645 (hi-lock-read-face-name): Rewrite (bug#11095).
6646 (hi-lock-unface-buffer): Arrange for the face to be the next default.
6647
6648 2012-12-06 Michael Albinus <michael.albinus@gmx.de>
6649
6650 * net/tramp.el (tramp-replace-environment-variables):
6651 Hide compiler warning.
6652 (tramp-file-name-for-operation): Remove `executable-find',
6653 `start-process', `call-process' and `call-process-region'.
6654
6655 * net/tramp-compat.el (top): Don't require 'tramp-util and 'tramp-vc.
6656
6657 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Ensure backward
6658 compatibility.
6659
6660 * net/tramp-sh.el (top): Remove `tramp-sh-handle-call-process-region'.
6661
6662 2012-12-06 Chong Yidong <cyd@gnu.org>
6663
6664 * ffap.el (ffap-replace-file-component): Fix typo.
6665
6666 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
6667
6668 * progmodes/octave-mod.el (octave-mark-block): Move out of tokens and
6669 fix open-paren-like token test (bug#12785).
6670
6671 2012-12-06 Glenn Morris <rgm@gnu.org>
6672
6673 * mail/rmailsum.el (rmail-new-summary): Tweak for
6674 rmail-maybe-display-summary changing buffer. (Bug#13066)
6675
6676 2012-12-06 Juri Linkov <juri@jurta.org>
6677
6678 * info.el (Info-fontify-node): Don't hide the last newline.
6679 (Bug#12272)
6680
6681 2012-12-06 Katsumi Yamaoka <yamaoka@jpl.org>
6682
6683 * mail/mailabbrev.el (mail-abbrev-expand-wrapper): Work in minibuffer
6684 so as to enable message-read-from-minibuffer to expand mail aliases.
6685
6686 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
6687
6688 * minibuf-eldef.el (minibuf-eldef-update-minibuffer): Don't mess with
6689 the `intangible' property.
6690 Suggested by Christopher Schmidt <christopher@ch.ristopher.com>
6691
6692 2012-12-05 Deniz Dogan <deniz@dogan.se>
6693
6694 * net/rcirc.el (rcirc-urls): Update documentation.
6695 (rcirc-condition-filter): New function.
6696 (rcirc-browse-url, rcirc-markup-urls): Use only URLs before point
6697 and exclude consecutive duplicate URLs (Bug#6082).
6698
6699 2012-12-05 Michael Albinus <michael.albinus@gmx.de>
6700
6701 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
6702 Check return code of copy command.
6703
6704 * net/tramp-adb.el (tramp-adb-sdk-dir, tramp-adb-prompt):
6705 Use group `tramp'. Add version.
6706
6707 2012-12-05 Chong Yidong <cyd@gnu.org>
6708
6709 * ffap.el (ffap-url-regexp): Don't require matching at front of
6710 string (Bug#4952).
6711 (ffap-url-p): If only a substring matches, return that.
6712 (ffap-url-at-point): Use the return value of ffap-url-p.
6713 (ffap-read-file-or-url, ffap-read-file-or-url-internal)
6714 (find-file-at-point, dired-at-point, dired-at-point-prompter)
6715 (ffap-guess-file-name-at-point): Likewise.
6716 (ffap-replace-file-component): Fix typo.
6717
6718 * info.el (info-display-manual): Add existing Info buffers, whose
6719 files may not be in Info-directory-list, to the completion.
6720 (info--manual-names): New helper function.
6721
6722 2012-12-05 Glenn Morris <rgm@gnu.org>
6723
6724 * vc/vc-hg.el (vc-hg-resolve-when-done, vc-hg-find-file-hook):
6725 New functions, for detecting and resolving conflicts. (Bug#10709)
6726
6727 2012-12-04 Jambunathan K <kjambunathan@gmail.com>
6728
6729 * hi-lock.el (hi-lock-auto-select-face): New user variable.
6730 (hi-lock-auto-select-face-defaults): New buffer local variable.
6731 (hi-lock-read-face-name): Honor `hi-lock-auto-select-face'.
6732 (hi-lock-unface-buffer): Prompt user with useful defaults.
6733 With prefix arg, unhighlight all hi-lock patterns in buffer.
6734
6735 2012-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
6736
6737 * obsolete/terminal.el, obsolete/longlines.el: Add obsolecence info.
6738
6739 2012-12-04 Michael Albinus <michael.albinus@gmx.de>
6740
6741 * Makefile.in (TRAMP_SRC):
6742 * makefile.w32-in (TRAMP_SRC): Add tramp-adb.el.
6743
6744 2012-12-04 Juergen Hoetzel <juergen@archlinux.org>
6745
6746 * net/tramp-adb.el: New package.
6747
6748 2012-12-04 Chong Yidong <cyd@gnu.org>
6749
6750 * terminal.el: Move to obsolete/.
6751
6752 * longlines.el: Move to obsolete/.
6753
6754 * vc/ediff-diff.el (ediff-extract-diffs, ediff-extract-diffs3):
6755 Remove code referring to longlines mode.
6756
6757 2012-12-03 Juri Linkov <juri@jurta.org>
6758
6759 * sort.el (delete-duplicate-lines): New command. (Bug#13032)
6760
6761 2012-12-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6762
6763 * textmodes/ispell.el (ispell-init-process)
6764 (ispell-start-process, ispell-internal-change-dictionary):
6765 Make sure personal dictionary name is expanded after initial
6766 `default-directory' value. Use expanded strings for
6767 keep/restart checks and for value (Bug#13019).
6768
6769 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
6770
6771 * calc/calc-forms.el (math-date-to-iso-dt): Fix weekday number.
6772
6773 2012-12-03 Leo Liu <sdl.web@gmail.com>
6774
6775 * files.el (dir-locals-read-from-file): Check file non-empty
6776 before reading. (Bug#13038)
6777
6778 2012-12-03 Glenn Morris <rgm@gnu.org>
6779
6780 * jka-cmpr-hook.el (jka-compr-get-compression-info):
6781 Remove any version extension before checking filename. (Bug#13006)
6782 (jka-compr-compression-info-list): Belated :version bump.
6783
6784 2012-12-03 Chong Yidong <cyd@gnu.org>
6785
6786 * simple.el (transient-mark-mode): Doc fix (Bug#11523).
6787
6788 * buff-menu.el (Buffer-menu-delete-backwards, Buffer-menu-mode)
6789 (buffer-menu): Doc fix (Bug#12294).
6790
6791 2012-12-03 Roland Winkler <winkler@gnu.org>
6792
6793 * calendar/diary-lib.el (diary-header-line-format): Use keybinding
6794 of diary-show-all-entries in the diary buffer (Bug#12994).
6795
6796 2012-12-03 Michael Albinus <michael.albinus@gmx.de>
6797
6798 * net/tramp-sh.el (tramp-perl-encode): Use "read STDIN" instead of
6799 "<STDIN>". This is binary safe.
6800
6801 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
6802
6803 * calc/calc-forms.el (math-absolute-from-iso-dt)
6804 (math-date-to-iso-dt, math-parse-iso-date-validate)
6805 (math-iso-dt-to-date): New functions.
6806 (math-fd-iso-dt, math-fd-isoyear, math-fd-isoweek)
6807 (math-fd-isoweekday): New variables.
6808 (calc-date-notation, math-parse-standard-date, math-format-date)
6809 (math-format-date-part): Add support for more formatting codes.
6810
6811 2012-12-02 Dmitry Gutov <dgutov@yandex.ru>
6812
6813 * vc/vc.el (vc-delete-file, vc-rename-file): Default to the
6814 current buffer's file name when called interactively (Bug#12488).
6815
6816 2012-12-02 Juri Linkov <juri@jurta.org>
6817
6818 * info.el (info-display-manual): Don't clobber an existing Info
6819 buffer (Bug#10770). Add completion (Bug#10771).
6820
6821 2012-12-01 Yuya Nishihara <yuya@tcha.org> (tiny change)
6822
6823 * vc/vc-hooks.el (vc-find-file-hook): Expand buffer-file-truename
6824 before using it for comparison (Bug#5297).
6825
6826 2012-12-01 Jari Aalto <jari.aalto@cante.net>
6827
6828 * textmodes/css-mode.el (css-current-defun-name): New function.
6829 (css-mode): Use it.
6830
6831 * textmodes/sgml-mode.el (html-current-defun-name): New function.
6832 (html-mode): Use it.
6833
6834 2012-12-01 Chong Yidong <cyd@gnu.org>
6835
6836 Modularize add-log-current-defun (Bug#2224).
6837 Suggested by Jari Aalto.
6838
6839 * vc/add-log.el (add-log-current-defun-function): Doc fix.
6840 (add-log-current-defun): Move mode-specific code to other files.
6841 (add-log-lisp-like-modes, add-log-c-like-modes)
6842 (add-log-tex-like-modes): Variables deleted.
6843
6844 * emacs-lisp/lisp-mode.el (lisp-current-defun-name): New.
6845 (lisp-mode-variables): Use it.
6846
6847 * progmodes/cc-mode.el (c-common-init):
6848 * progmodes/cperl-mode.el (cperl-mode): Set a value for
6849 add-log-current-defun-function.
6850
6851 * progmodes/m4-mode.el (m4-current-defun-name): New function.
6852 (m4-mode): Use it.
6853
6854 * progmodes/perl-mode.el (perl-current-defun-name): New.
6855 (perl-mode): Use it.
6856
6857 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
6858 Use lisp-current-defun-name.
6859
6860 * textmodes/tex-mode.el (tex-current-defun-name): New.
6861 (tex-common-initialization): Use it.
6862
6863 * textmodes/texinfo.el (texinfo-current-defun-name): New.
6864 (texinfo-mode): Use it.
6865
6866 2012-12-01 Chong Yidong <cyd@gnu.org>
6867
6868 * emacs-lisp/lisp-mode.el (lisp-mode-variables, lisp-mode):
6869 * progmodes/autoconf.el (autoconf-mode):
6870 * progmodes/js.el (js-mode):
6871 * progmodes/make-mode.el (makefile-mode, makefile-makepp-mode)
6872 (makefile-bsdmake-mode, makefile-imake-mode, makefile-browse):
6873 * progmodes/perl-mode.el (perl-mode):
6874 * progmodes/sh-script.el (sh-mode, sh-set-shell):
6875 * textmodes/css-mode.el (css-mode):
6876 * textmodes/sgml-mode.el (html-mode, sgml-mode)
6877 (sgml-tags-invisible, sgml-guess-indent):
6878 * textmodes/tex-mode.el (tex-common-initialization)
6879 (latex-complete-bibtex-keys, tex-shell, tex-main-file)
6880 (doctex-mode, plain-tex-mode, latex-mode):
6881 * textmodes/texinfo.el (texinfo-mode): Use setq-local.
6882
6883 2012-12-01 Kirk Kelsey <kirk.kelsey@0x4b.net>
6884
6885 * vc/vc-hg.el (vc-hg-next-revision):
6886 Ensure use of default "tip" output format. (Bug#6968)
6887
6888 2012-12-01 Kim F. Storm <storm@cua.dk>
6889
6890 * startup.el (fancy-startup-tail): Add a clickable link
6891 (Bug#2176).
6892
6893 2012-12-01 Chong Yidong <cyd@gnu.org>
6894
6895 * startup.el (fancy-startup-tail): Improve the message about
6896 auto-save files (Bug#2176).
6897
6898 * files.el (recover-session): Improve the descriptive message, and
6899 use substitute-command-keys.
6900
6901 2012-12-01 Glenn Morris <rgm@gnu.org>
6902
6903 * ido.el (ido-file-internal):
6904 Handle other-window, other-frame for dired. (Bug#13036)
6905
6906 2012-11-30 Glenn Morris <rgm@gnu.org>
6907
6908 * icomplete.el (icomplete-separator): Fix :version.
6909
6910 2012-11-30 Chong Yidong <cyd@gnu.org>
6911
6912 * shell.el (shell): For C-u M-x shell, use an inactive shell
6913 buffer as the default (Bug#1975).
6914 (shell-apply-ansi-color, shell-reapply-ansi-color): New functions.
6915 (shell-mode): Use them to reapply ansi colorization if Shell mode
6916 is re-enabled.
6917
6918 2012-11-30 Yuriy Vostrikov <delamonpansie@gmail.com> (tiny change)
6919
6920 * vc/vc-git.el (vc-git-command): Disable the pager (Bug#6137).
6921
6922 2012-11-30 Samuel Bronson <naesten@gmail.com>
6923
6924 * progmodes/grep.el (grep-compute-defaults): Do not pass the -e
6925 flag to xargs, for compatibility with BSD xargs (Bug#11703).
6926
6927 2012-11-30 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
6928
6929 * textmodes/fill.el (fill-region-as-paragraph): Handle overshoot
6930 by move-to-column (Bug#3234).
6931
6932 2012-11-30 Chong Yidong <cyd@gnu.org>
6933
6934 * longlines.el (longlines-wrap-line, longlines-encode-region):
6935 Preserve text properties (Bug#1425).
6936
6937 2012-11-30 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
6938
6939 * vc/vc.el (vc-register): Allow registering a file which is
6940 already registered with a different backend (Bug#10589).
6941
6942 2012-11-29 Jambunathan K <kjambunathan@gmail.com>
6943 Stefan Monnier <monnier@iro.umontreal.ca>
6944
6945 * icomplete.el: Change separator; add ido-style commands.
6946 (icomplete-show-key-bindings): Remove custom var.
6947 (icomplete-get-keys): Remove function.
6948 (icomplete-forward-completions, icomplete-backward-completions):
6949 New commands.
6950 (icomplete-minibuffer-map): New var.
6951 (icomplete-minibuffer-setup): Use it.
6952 (icomplete-exhibit): Don't delay if the list of completions is known.
6953 (icomplete-separator): New custom.
6954 (icomplete-completions): Use it.
6955 * minibuffer.el (completion-all-sorted-completions): Delete duplicates.
6956 (minibuffer-force-complete-and-exit): New command.
6957 (minibuffer--complete-and-exit): New function extracted from
6958 minibuffer-complete-and-exit.
6959 (minibuffer-complete-and-exit): Use it.
6960
6961 * progmodes/etags.el (visit-tags-table-buffer): Give a more precise
6962 error message when the file doesn't exist (bug#12974).
6963
6964 2012-11-29 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
6965
6966 * simple.el (activate-mark): Run activate-mark-hook (bug#13027).
6967
6968 2012-11-29 Glenn Morris <rgm@gnu.org>
6969
6970 * files.el (hack-dir-local-variables): Warn if try to set
6971 coding via dir-locals, since it doesn't work. (Bug#7169)
6972
6973 Add desktop support for restoring vc-dir buffers. (Bug#10606)
6974 * vc/vc-dir.el (vc-dir-mode): Autoload it (for desktop restore).
6975 Set buffer-local value of desktop-save-buffer.
6976 (vc-dir-desktop-buffer-misc-data, vc-dir-restore-desktop-buffer):
6977 New functions.
6978 (desktop-buffer-mode-handlers): Add vc-dir-mode entry.
6979 * desktop.el (desktop-save-buffer-p): Treat vc-dir like dired.
6980
6981 * files.el (inhibit-local-variables-ignore-case): New. (Bug#10610)
6982 (inhibit-local-variables-p): Use inhibit-local-variables-ignore-case.
6983 Doc fix.
6984 (inhibit-local-variables-regexps, inhibit-local-variables-suffixes):
6985 Doc fixes.
6986
6987 2012-11-28 Jay Belanger <jay.p.belanger@gmail.com>
6988
6989 * calc/calc-forms.el (calc-date-notation): Fix regexp
6990 used to find time codes. Fix symbol for seconds.
6991
6992 2012-11-27 Glenn Morris <rgm@gnu.org>
6993
6994 * emacs-lisp/derived.el (derived-mode-make-docstring):
6995 Don't mention "abbrev" or "syntax" if nil. (Bug#11277)
6996
6997 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
6998
6999 * textmodes/table.el (table-insert): Don't use `symbol-name' on
7000 lexically scoped variables (bug#13005).
7001
7002 2012-11-27 Glenn Morris <rgm@gnu.org>
7003
7004 * vc/vc-hooks.el (vc-mistrust-permissions):
7005 Default to t, to avoid data-loss. (Bug#11490)
7006
7007 2012-11-27 Fabián Ezequiel Gallina <fgallina@cuca>
7008
7009 * progmodes/python.el (python-indent-guess-indent-offset):
7010 If indentation is guessed make python-indent-offset buffer-local.
7011
7012 Fix Imenu regression.
7013 * progmodes/python.el (python-nav-beginning-of-defun):
7014 Fix forward movement when statement(s) separates point from defun.
7015 (python-imenu-prev-index-position): New function.
7016
7017 2012-11-27 Eli Zaretskii <eliz@gnu.org>
7018
7019 * subr.el (buffer-file-type): Declare with defvar-local. Doc fix.
7020
7021 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
7022 Don't set buffer-file-type. Return nil. (Bug#12989)
7023
7024 2012-11-27 Glenn Morris <rgm@gnu.org>
7025
7026 * hippie-exp.el (hippie-expand-try-functions-list):
7027 Re-autoload it. (Bug#12982)
7028
7029 2012-11-27 Eli Zaretskii <eliz@gnu.org>
7030
7031 * descr-text.el (describe-char-padded-string):
7032 Call internal-char-font only on GUI frames. (Bug#11964)
7033
7034 2012-11-27 Andreas Schwab <schwab@linux-m68k.org>
7035
7036 * buff-menu.el (Buffer-menu-buffer+size-width): Fix customize type
7037 and obsoletion message.
7038
7039 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
7040
7041 * emacs-lisp/cl-macs.el (cl--transform-lambda): Add back `declare' in
7042 the constructs to keep outside of the `cl-block' (bug#12977).
7043
7044 2012-11-27 Chong Yidong <cyd@gnu.org>
7045
7046 * mouse.el (mouse-drag-line): Even if the line is not draggable,
7047 keep reading until we get the up-event anyway, in order to process
7048 the up-event for mouse-1-click-follows-link (Bug#12971).
7049
7050 2012-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
7051
7052 * emacs-lisp/advice.el (ad-should-compile): Don't compile advice if the
7053 base function is not yet defined (bug#12965).
7054 (ad-activate-advised-definition): Use ad-compile-function.
7055 (ad-activate): Use cond.
7056
7057 2012-11-25 Leo Liu <sdl.web@gmail.com>
7058
7059 * textmodes/sgml-mode.el (sgml-tag): Fix indentation for closing tag.
7060 (Bug#12979)
7061
7062 2012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
7063
7064 * textmodes/reftex-parse.el (reftex-parse-from-file): Use variable
7065 reftex-section-info-function in order to be compatible with
7066 Texinfo integration.
7067
7068 * textmodes/reftex.el (reftex-section-pre-regexp)
7069 (reftex-section-post-regexp, reftex-section-info-function):
7070 New variable.
7071 (reftex-compile-variables): Use variables reftex-section-pre-regexp,
7072 reftex-section-post-regexp, and reftex-section-info-function in order
7073 to be compatible with Texinfo integration.
7074
7075 * textmodes/reftex-toc.el (reftex-toc-promote-action):
7076 use reftex-section-pre-regexp variable in order to be compatible with
7077 Texinfo integration.
7078
7079 2012-11-25 Chong Yidong <cyd@gnu.org>
7080
7081 * faces.el: Make face-spec-set more analogous to setq.
7082 (face-spec-set): Change the third arg to specify whether this
7083 function is being called via defface, customize, or a third party.
7084 Set the appropriate symbol properties. Clear the override spec if
7085 setting via Custom. Initialize face if necessary. (Bug#4988)
7086 (face-spec-recalc): Allow theme faces to completely replace the
7087 defface spec, in the same way as custom faces (Bug#8454).
7088
7089 * cus-face.el (custom-declare-face): Move face initialization to
7090 face-spec-set.
7091 (custom-theme-set-faces): Don't initialize the face name here, as
7092 that is now done in face-spec-set.
7093
7094 * cus-edit.el (custom-face-set, custom-face-mark-to-save)
7095 (custom-face-reset-saved, custom-face-mark-to-reset-standard):
7096 Simplify by using the new arg to face-spec-set.
7097
7098 * emacs-lisp/lisp-mode.el (eval-defun-1): When evaluating defface,
7099 reset face-override-spec too, and use custom-declare-face.
7100
7101 2012-11-24 Jan Djärv <jan.h.d@swipnet.se>
7102
7103 * term/ns-win.el (ns-initialize-window-system): Move creation of
7104 fontsets here (Bug#11964).
7105
7106 2012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
7107
7108 * ses.el (ses-rename-cell): Correct bug on mode-line update after
7109 cell renaming.
7110
7111 2012-11-24 Chong Yidong <cyd@gnu.org>
7112
7113 * woman.el (woman-default-faces, woman-monochrome-faces): Mark as
7114 obsolete.
7115
7116 * custom.el (custom-theme-set-variables): Use a topological sort
7117 for ordering by custom dependencies (Bug#12952).
7118 (custom--sort-vars, custom--sort-vars-1): New functions.
7119
7120 2012-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
7121
7122 * emacs-lisp/bytecomp.el (byte-compile-file): Setup default value for
7123 lexical-binding (bug#12938).
7124
7125 2012-11-24 Wolfgang Jenkner <wjenkner@inode.at>
7126
7127 * image-mode.el (image-transform-check-size): Use assertions only
7128 for images of type imagemagick.
7129
7130 Otherwise no error, image-transform-fit-to-{width,height} is
7131 silently ignored, as before. Doc fix.
7132
7133 2012-11-24 Chong Yidong <cyd@gnu.org>
7134
7135 * faces.el (color-defined-p): Doc fix (Bug#12853).
7136
7137 2012-11-24 Juri Linkov <juri@jurta.org>
7138
7139 * dired.el (dired-mark): Add optional arg `interactive'.
7140 Check for `use-region-p' if `interactive' is non-nil.
7141 (dired-unmark, dired-flag-file-deletion): Add optional arg
7142 `interactive'. Call `dired-mark' with the arg `interactive'.
7143 (Bug#10624)
7144
7145 * wdired.el: Revert 2012-10-17 change partly and replace it with
7146 Patch by Christopher Schmidt <christopher@ch.ristopher.com>.
7147 (wdired-finish-edit): Add marks for new file names to
7148 `wdired-old-marks'. Restore marks using `dired-mark-remembered'
7149 after `revert-buffer'.
7150 (wdired-do-renames): Remove calls to `dired-remove-file',
7151 `dired-add-file', `dired-add-entry'. (Bug#11795)
7152
7153 2012-11-24 Alan Mackenzie <acm@muc.de>
7154
7155 * progmodes/cc-defs.el (c-version): Bump to 5.32.4.
7156
7157 Fix bugs in the state cache. Enhance a debugging mechanism.
7158 * progmodes/cc-engine.el (c-parse-state-get-strategy): Don't use
7159 "brace at column zero" strategy for C++.
7160 (c-append-lower-brace-pair-to-state-cache): Repair algorithm.
7161 (c-parse-state-point): New variable.
7162 (c-record-parse-state-state): Record old parse state with
7163 `copy-tree'. Record previous value of point.
7164 (c-debug-parse-state-double-cons): New debugging function.
7165 (c-debug-parse-state): Call the above new function.
7166 (c-toggle-parse-state-debug): Output a confirmatory message.
7167
7168 * progmodes/cc-mode.el (c-before-change, c-after-change):
7169 Call c-invalidate-state-cache from `c-before-change' instead of
7170 `c-after-change'.
7171
7172 2012-11-23 Chong Yidong <cyd@gnu.org>
7173
7174 * find-cmd.el (find-constituents): Add executable, ipath,
7175 readable, samefile, writable, daystart, regextype (Bug#12856).
7176
7177 2012-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
7178
7179 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: Use cl-lib and lexical-binding.
7180
7181 2012-11-22 Paul Eggert <eggert@cs.ucla.edu>
7182
7183 * calc/calc.el (calc-gregorian-switch): Move to after calc-refresh
7184 definition. This fixes a bootstrap failure.
7185 (calc-gregorian-switch): In menu, put dates before regions.
7186 This is easier to follow, lines up better in the menu, and lets us
7187 coalesce regions that switch at the same time. Give country
7188 names, not "Vatican", as that's better for non-expert users.
7189 Use names that are stable between the date of switch and now, e.g.,
7190 Bohemia and Moravia (which existed then and now) and not
7191 Czechoslovakia (which didn't exist then and doesn't exist now).
7192 What is now the U.S. mostly did not switch at the same time as
7193 Britain, so omit the U.S. Correct spelling of "Britain".
7194 Catholic Switzerland was too much of a mess, so omit it.
7195
7196 2012-11-22 Jay Belanger <jay.p.belanger@gmail.com>
7197
7198 * calc/calc.el (calc-gregorian-switch): Refresh the Calc buffer
7199 after the variable is changed.
7200
7201 2012-11-21 Daniel Colascione <dancol@dancol.org>
7202
7203 * progmodes/sql.el (sql-mode-font-lock-object-name): Support IF NOT EXISTS
7204 in SQL declarations for font-lock.
7205 (sql-imenu-generic-expression): Teach imenu about IF NOT EXISTS.
7206
7207 2012-11-21 Glenn Morris <rgm@gnu.org>
7208
7209 * faces.el (face-underline-p, face-inverse-video-p, face-bold-p)
7210 (face-italic-p): Add optional argument "inherit".
7211
7212 * faces.el (set-face-inverse-video, set-face-bold, set-face-italic):
7213 Remove -p suffix from names, for consistency with other set-face-*.
7214 (set-face-inverse-video): Fix interactive spec.
7215 * play/gamegrid.el (gamegrid-make-mono-tty-face):
7216 * textmodes/table.el (table--update-cell-face):
7217 Use set-face-inverse-video rather than now obsolete alias.
7218
7219 2012-11-21 Eli Zaretskii <eliz@gnu.org>
7220
7221 * simple.el (line-move): Don't call line-move-partial if
7222 scroll-conservatively is in effect. (Bug#12927)
7223
7224 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
7225
7226 * eshell/em-cmpl.el (eshell-pcomplete): Refine fix for bug#12838:
7227 Fallback on completion-at-point rather than
7228 pcomplete-expand-and-complete, and only if pcomplete actually failed.
7229 (eshell-cmpl-initialize): Setup completion-at-point.
7230
7231 * pcomplete.el (pcomplete--entries): Obey pcomplete-ignore-case.
7232
7233 * emacs-lisp/ert.el (ert--expand-should-1): Adapt to cl-lib.
7234
7235 2012-11-21 Michael Albinus <michael.albinus@gmx.de>
7236
7237 * net/tramp-sh.el (tramp-do-copy-or-rename-file): If both files
7238 are remote, check out-of-band property for both.
7239
7240 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
7241
7242 * window.el (switch-to-buffer): Re-add the warning that was lost in the
7243 code rewrite.
7244
7245 2012-11-21 Paul Eggert <eggert@cs.ucla.edu>
7246
7247 More minor time fixes.
7248 * calendar/time-date.el: Commentary fix.
7249 * net/tramp-sh.el (tramp-do-file-attributes-with-ls): Undo last change;
7250 too much other code depends on (0 0) time stamps.
7251 * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
7252 Add a couple of FIXME comments.
7253
7254 Minor cleanup for times as lists of four integers.
7255 * files.el (dir-locals-directory-cache):
7256 * ps-bdf.el (bdf-file-mod-time, bdf-read-font-info):
7257 Doc fixes.
7258 * net/tramp-sh.el (tramp-do-file-attributes-with-ls):
7259 * ps-bdf.el (bdf-file-newer-than-time):
7260 Process four-integers time stamps, not two. Doc fixes.
7261
7262 2012-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
7263
7264 * uniquify.el (uniquify-managed): Use defvar-local.
7265 (rename-buffer, create-file-buffer): Advise with advice-add.
7266 (uniquify-unload-function): Unadvise accordingly.
7267
7268 * emacs-lisp/trace.el: Rewrite, use nadvice and lexical-binding.
7269 (trace-buffer): Don't purecopy.
7270 (trace-entry-message, trace-exit-message): Add `context' arg.
7271 (trace--timer): New var.
7272 (trace-make-advice): Adjust for use in nadvice.
7273 Add `context' argument. Delay `display-buffer' via a timer.
7274 (trace-function-internal): Use advice-add.
7275 (trace--read-args): New function.
7276 (trace-function-foreground, trace-function-background): Use it.
7277 (trace-function): Rename to trace-function-foreground and redefine as
7278 an alias to that new name.
7279 (untrace-function, untrace-all): Adjust to the use of nadvice.
7280
7281 * emacs-lisp/bytecomp.el (byte-compile): Fix handling of closures.
7282
7283 * emacs-lisp/byte-run.el (defun-declarations-alist): Fix last change.
7284
7285 * subr.el (called-interactively-p-functions): New var.
7286 (internal--called-interactively-p--get-frame): New macro.
7287 (called-interactively-p, interactive-p): Rewrite in Lisp.
7288 * emacs-lisp/nadvice.el (advice--called-interactively-skip): New fun.
7289 (called-interactively-p-functions): Use it.
7290 * emacs-lisp/edebug.el (edebug--called-interactively-skip): New fun.
7291 (called-interactively-p-functions): Use it.
7292 * allout.el (allout-called-interactively-p): Don't assume
7293 called-interactively-p is a subr.
7294
7295 2012-11-20 Glenn Morris <rgm@gnu.org>
7296
7297 * profiler.el (profiler-report-mode-map): Add a menu.
7298 No need to bind `q' because we derive from special-mode.
7299 (profiler-report-find-entry): Handle calls from the menu-bar.
7300
7301 2012-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
7302
7303 * emacs-lisp/byte-run.el (defun-declarations-alist):
7304 Allow a compiler-macro to be a lambda expression.
7305
7306 * progmodes/python.el: Use cl-lib. Move var declarations outside of
7307 eval-when-compile.
7308 (python-syntax-context): Add compiler-macro.
7309 (python-font-lock-keywords): Simplify with De Morgan.
7310
7311 * vc/diff-mode.el (diff-hunk): Don't make useless timers.
7312
7313 * files.el (load-file): Require match in minibuffer selection, as was
7314 the case in Emacs-20 before we changed the spec to allow .elc files
7315 (bug#12935).
7316
7317 * json.el: Don't require cl since we don't use it.
7318 * color.el: Don't require cl.
7319 (color-complement): `caddr' -> `nth 2'.
7320
7321 * calendar/time-date.el (time-to-seconds): De-obsolete.
7322
7323 2012-11-19 Jay Belanger <jay.p.belanger@gmail.com>
7324
7325 * calc/calc-forms.el (math-leap-year-p): Fix formula for negative
7326 year numbers.
7327 (math-date-to-julian-dt): Adjust the initial approximation for the
7328 year to deal with the new definition of the DATE.
7329
7330 2012-11-19 Daniel Colascione <dancol@dancol.org>
7331
7332 * term/w32-win.el (cygwin-convert-path-from-windows):
7333 Accomodate rename of cygwin_convert_path* to cygwin_convert_file_name*.
7334
7335 2012-11-18 Chong Yidong <cyd@gnu.org>
7336
7337 * filecache.el (file-cache--read-list): New function.
7338 (file-cache-add-directory-list, file-cache-add-file-list)
7339 (file-cache-delete-file-list, file-cache-delete-directory-list):
7340 Use it to read a list of files or directories (Bug#12846).
7341 (file-cache-add-file, file-cache-add-directory)
7342 (file-cache-delete-file-list, file-cache-delete-file-regexp)
7343 (file-cache-delete-directory): Print an message.
7344
7345 2012-11-18 Jay Belanger <jay.p.belanger@gmail.com>
7346
7347 * calc/calc-forms.el (math-date-to-dt): Use integer date when
7348 calling `math-date-to-julian-dt' and 'math-date-to-gregorian-dt'.
7349
7350 2012-11-18 Glenn Morris <rgm@gnu.org>
7351
7352 * image.el (insert-image, insert-sliced-image): Doc fix.
7353
7354 2012-11-18 Chong Yidong <cyd@gnu.org>
7355
7356 * emacs-lisp/syntax.el (syntax-propertize-function): Doc fix
7357 (Bug#12810).
7358
7359 2012-11-18 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
7360
7361 * vc/vc-svn.el (vc-svn-merge-news): Properly parse the merge
7362 response when the target file is in a subdirectory (Bug#12757).
7363
7364 2012-11-18 Chong Yidong <cyd@gnu.org>
7365
7366 * filecache.el (file-cache-add-file-list): Doc fix (Bug#12694).
7367
7368 2012-11-18 Glenn Morris <rgm@gnu.org>
7369
7370 * emacs-lisp/cl-lib.el (face-underline-p):
7371 Use set-face-underline rather than the alias set-face-underline-p.
7372
7373 * window.el (with-temp-buffer-window): Doc fix.
7374 * subr.el (with-output-to-temp-buffer):
7375 Add doc xref to with-temp-buffer-window.
7376
7377 2012-11-18 Juanma Barranquero <lekktu@gmail.com>
7378
7379 * woman.el (woman-non-underline-faces): Use `set-face-underline'.
7380 * calc/calc.el (math-format-date-cache): Declare.
7381
7382 2012-11-17 Paul Eggert <eggert@cs.ucla.edu>
7383
7384 Calc by default uses the Gregorian calendar for all dates (Bug#12633).
7385 It also uses January 1, 1 AD as its day number 1.
7386 * calc/calc-forms.el (math-julian-date-beginning)
7387 (math-julian-date-beginning-int): Implement this.
7388
7389 2012-11-17 Juanma Barranquero <lekktu@gmail.com>
7390
7391 * descr-text.el (quail-find-key):
7392 * dired.el (desktop-file-name):
7393 * dirtrack.el (shell-prefixed-directory-name, shell-process-cd):
7394 * generic-x.el (comint-mode, comint-exec):
7395 * image-dired.el (widget-forward):
7396 * info.el (speedbar-add-expansion-list, speedbar-center-buffer-smartly)
7397 (speedbar-change-expand-button-char)
7398 (speedbar-change-initial-expansion-list, speedbar-delete-subblock)
7399 (speedbar-make-specialized-keymap, speedbar-make-tag-line):
7400 * printing.el (easy-menu-add-item, easy-menu-remove-item)
7401 (widget-field-action, widget-value-set):
7402 * speedbar.el (imenu--make-index-alist):
7403 * term.el (ring-empty-p, ring-ref, ring-insert-at-beginning)
7404 (ring-length, ring-insert):
7405 * vcursor.el (compare-windows-skip-whitespace):
7406 * woman.el (dired-get-filename):
7407 Declare functions.
7408
7409 * term/w32-win.el (cygwin-convert-path-from-windows): Fix declaration.
7410
7411 2012-11-17 Jay Belanger <jay.p.belanger@gmail.com>
7412
7413 * calc/calc.el (calc-gregorian-switch): New variable.
7414
7415 * calc/calc-forms.el (math-day-in-year, math-dt-before-p)
7416 (math-absolute-from-gregorian-dt, math-absolute-from-julian-dt)
7417 (math-date-to-julian-dt, math-date-to-gregorian-dt): New functions.
7418 (math-leap-year-p): Add option to distinguish between Julian
7419 and Gregorian calendars.
7420 (math-day-number): Use `math-day-in-year' to do the computations.
7421 (math-absolute-from-dt): Rename from `math-absolute-from-date'.
7422 Use `math-absolute-from-gregorian' and `math-absolute-from-julian'
7423 to do the computations.
7424 (math-date-to-dt): Use `math-date-to-julian-dt' and
7425 `math-date-to-gregorian-dt' to do the computations.
7426 (calcFunc-weekday, math-format-date-part): Use the new version of
7427 the DATE to determine the weekday.
7428 (calcFunc-newmonth, calcFunc-newyear): Use `calc-gregorian-switch'
7429 when necessary.
7430
7431 2012-11-17 Eli Zaretskii <eliz@gnu.org>
7432
7433 * term/w32-win.el (w32-handle-dropped-file): Use 'file://' only on
7434 Cygwin; otherwise use 'file:'. (Bug#12914)
7435 (cygwin-convert-path-from-windows): Declare, to avoid
7436 byte-compiler warnings.
7437
7438 2012-11-17 Andreas Politz <politza@fh-trier.de>
7439
7440 * ibuffer.el (ibuffer-mark-forward, ibuffer-unmark-forward)
7441 (ibuffer-unmark-backward, ibuffer-mark-interactive): Support plain
7442 prefix and negative numeric prefix args (Bug#12795).
7443
7444 2012-11-17 Stephen Berman <stephen.berman@gmx.net>
7445
7446 * play/gamegrid.el (gamegrid-add-score-with-update-game-score-1):
7447 Don't signal an error with a score that is too low to add to the
7448 list of top scores. (Bug#12779)
7449
7450 2012-11-17 Chong Yidong <cyd@gnu.org>
7451
7452 * help-mode.el (help-xref-interned): End on point-min (Bug#12737).
7453
7454 * filecache.el (file-cache-add-file): Handle relative file name in
7455 the argument (Bug#12694).
7456
7457 2012-11-16 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
7458
7459 * eshell/em-unix.el (eshell/mkdir): Handle "--parents" (bug#12897).
7460
7461 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
7462
7463 * emacs-lisp/advice.el (ad-make-advised-definition): Improve last fix.
7464
7465 * emacs-lisp/cl-lib.el: Set more meaningful version number.
7466
7467 2012-11-16 Martin Rudalics <rudalics@gmx.at>
7468
7469 * window.el (enlarge-window, shrink-window): Don't mention return
7470 value in doc-string (Bug#12896).
7471 (window--display-buffer): Don't resize frames - it won't work
7472 with all window managers and defeat pop-up-frame-alist.
7473 (display-buffer-alist): In doc-string explain that CONDITION can
7474 be a function and which arguments are passed to it (Bug#12854).
7475 (display-buffer-assq-regexp): New argument ACTION. Handle lambda
7476 expressions (Bug#12854).
7477 (display-buffer): Pass ACTION argument to
7478 display-buffer-assq-regexp.
7479
7480 2012-11-16 Glenn Morris <rgm@gnu.org>
7481
7482 * window.el (fit-frame-to-buffer-bottom-margin)
7483 (fit-frame-to-buffer, fit-window-to-buffer): Doc fixes.
7484
7485 * faces.el (face-underline-p): Use face-attribute-specified-or.
7486
7487 2012-11-16 Juanma Barranquero <lekktu@gmail.com>
7488
7489 * emacs-lisp/cl-macs.el (cl-loop, cl-do, cl-do*): Doc fixes.
7490
7491 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
7492
7493 * emacs-lisp/cl-macs.el (cl-flet, cl-flet*): Fix docstring (bug#12895).
7494
7495 2012-11-16 Glenn Morris <rgm@gnu.org>
7496
7497 * eshell/em-cmpl.el (eshell-pcomplete): New command. (Bug#12838)
7498 (eshell-cmpl-initialize): Bind eshell-pcomplete to TAB, C-i.
7499
7500 * faces.el (face-underline-p): Doc fix. Handle :underline being
7501 things other than `t' (a string, a list).
7502 (face-inverse-video-p): Doc fix.
7503 (set-face-underline): Rename it back from set-face-underline-p.
7504 Doc fix. Allow interactive input of values other than t.
7505 (read-face-attribute): Apply formatting to :underline,
7506 since like :box and :stipple it can take list values.
7507
7508 * term.el (ansi-term): Don't let C-x escape-char binding
7509 clobber the more standard C-c binding. (Bug#12842)
7510
7511 * subr.el (set-temporary-overlay-map): Doc fix.
7512
7513 2012-11-16 Martin Rudalics <rudalics@gmx.at>
7514
7515 * window.el (record-window-buffer)
7516 (display-buffer-record-window): When copying the markers to
7517 window-point preserve window-point-insertion-type. (Bug#12588)
7518
7519 2012-11-16 Glenn Morris <rgm@gnu.org>
7520
7521 * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
7522 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error):
7523 Use new names for hooks rather than obsolete aliases.
7524
7525 2012-11-15 Daniel Colascione <dancol@dancol.org>
7526
7527 * term/w32-win.el (w32-handle-dropped-file): Use a "file://"
7528 prefix instead of "file:" so that when FILE-NAME begins with "//",
7529 as it does when the target file is on a network share, url-handler
7530 isn't confused.
7531
7532 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
7533
7534 * emacs-lisp/advice.el (ad-definition-type): Make sure we don't use
7535 a preactivated advice from an old advice.el; they're not compatible!
7536
7537 2012-11-15 Katsumi Yamaoka <yamaoka@jpl.org>
7538
7539 * emacs-lisp/nadvice.el (advice--make-interactive-form):
7540 Fix string-spec case.
7541
7542 * emacs-lisp/advice.el (ad-make-advised-definition): Fix undefined case.
7543
7544 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
7545
7546 * emacs-lisp/nadvice.el: Add buffer-local support to add-function.
7547 (advice--buffer-local-function-sample): New var.
7548 (advice--set-buffer-local, advice--buffer-local): New functions.
7549 (add-function, remove-function): Use them.
7550
7551 2012-11-15 Drew Adams <drew.adams@oracle.com>
7552
7553 * imenu.el (imenu--split-submenus): Use imenu--subalist-p (bug#12717).
7554
7555 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
7556
7557 * emacs-lisp/cl-macs.el (cl--transform-lambda): Defend against
7558 potential binding of print-gensym to t, and prettify (back)quotes in
7559 case they appear in args's default values (bug#12884).
7560
7561 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
7562
7563 * emacs-lisp/nadvice.el: Add around advice for interactive specs.
7564 (advice-eval-interactive-spec): New function.
7565 (advice--make-interactive-form): Support around advice (bug#12844).
7566
7567 2012-11-14 Dmitry Gutov <dgutov@yandex.ru>
7568
7569 * progmodes/ruby-mode.el (ruby-expr-beg): Make heredoc detection
7570 more strict. Add docstring.
7571 (ruby-expression-expansion-re): Extract from
7572 `ruby-match-expression-expansion'.
7573 (ruby-syntax-propertize-function): After everything else, search
7574 for expansions in string literals, mark their insides as
7575 whitespace syntax and save match data for font-lock.
7576 (ruby-font-lock-keywords): Use the 2nd group from expression
7577 expansion matches.
7578 (ruby-match-expression-expansion): Use the match data saved to the
7579 text property in ruby-syntax-propertize-function.
7580
7581 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
7582
7583 * emacs-lisp/gv.el (setf): Fix debug spec for multiple assignments
7584 (bug#12879).
7585
7586 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
7587
7588 * progmodes/ruby-mode.el (ruby-move-to-block): Looks for a block
7589 start/end keyword a bit harder. Works with different values of N.
7590 Add more comments.
7591 (ruby-end-of-block): Update accordingly.
7592
7593 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
7594
7595 * woman.el (woman-file-name): Don't mess with unread-command-events
7596 (bug#12861).
7597
7598 * emacs-lisp/advice.el: Layer on top of nadvice.el.
7599 Remove out of date self-require hack.
7600 (ad-do-advised-functions): Use simple `dolist'.
7601 (ad-advice-name, ad-advice-protected, ad-advice-enabled)
7602 (ad-advice-definition): Redefine as functions.
7603 (ad-advice-classes): Move before first use.
7604 (ad-make-origname, ad-set-orig-definition, ad-clear-orig-definition)
7605 (ad-make-mapped-call, ad-make-advised-docstring)
7606 (ad-make-plain-docstring, ad--defalias-fset): Remove functions.
7607 (ad-make-advicefunname, ad-clear-advicefunname-definition): New funs.
7608 (ad-get-orig-definition): Rewrite.
7609 (ad-make-advised-definition-docstring): Change base docstring.
7610 (ad-real-orig-definition): Rewrite.
7611 (ad-map-arglists): Change name of called function.
7612 (ad--make-advised-docstring): Redirect `function' from ad-Advice-...
7613 (ad-make-advised-definition): Simplify.
7614 (ad-assemble-advised-definition): Tweak for new calling context.
7615 (ad-activate-advised-definition): Setup ad-Advice-* i.s.o ad-Orig-*.
7616 (ad--defalias-fset): Rename from ad-handle-definition. Make it set the
7617 function and call ad-activate if needed.
7618 (ad-activate, ad-deactivate): Don't call ad-handle-definition any more.
7619 (ad-recover): Clear ad-Advice-* instead of ad-Orig-*.
7620 (ad-compile-function): Compile ad-Advice-*.
7621 (ad-activate-on-top-level, ad-with-auto-activation-disabled): Remove.
7622 (ad-start-advice, ad-stop-advice): Remove.
7623
7624 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
7625
7626 * progmodes/ruby-mode.el (ruby-add-log-current-method): Print the
7627 period before class method names, not after. Remove handling of
7628 one impossible case. Add comments.
7629
7630 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
7631
7632 * emacs-lisp/advice.el: Remove support for freezing.
7633 (ad-make-freeze-docstring, ad-make-freeze-definition): Remove functions.
7634 (ad-make-single-advice-docstring, ad-defadvice-flags, defadvice):
7635 Remove support for `freeze'.
7636
7637 * emacs-lisp/cl.el (dolist, dotimes, declare): Use advice-add to
7638 override the default.
7639 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Rewrite without using
7640 cl--dotimes/dolist.
7641 * subr.el (dolist, dotimes, declare): Redefine them normally, even when
7642 `cl' is loaded.
7643
7644 * emacs-lisp/nadvice.el (advice--normalize): New function, extracted
7645 from add-advice.
7646 (advice--strip-macro): New function.
7647 (advice--defalias-fset): Use them to handle macros.
7648 (advice-add): Use them.
7649 (advice-member-p): Correctly handle macros.
7650
7651 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
7652
7653 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
7654 Never font-lock the beginning of singleton class as heredoc.
7655
7656 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
7657
7658 * emacs-lisp/gv.el (gv-define-simple-setter): One more fix (bug#12871).
7659
7660 2012-11-13 Wolfgang Jenkner <wjenkner@inode.at>
7661
7662 * ansi-color.el (ansi-color-apply-sequence): Implement SGR codes
7663 39 and 49 (bug#12792). Also, treat unimplemented parameters as 0,
7664 thereby restoring the behavior of revisions prior to 2012-08-15T03:33:55Z!monnier@iro.umontreal.ca.
7665
7666 2012-11-13 Fabián Ezequiel Gallina <fgallina@cuca>
7667
7668 Fix end-of-defun misbehavior.
7669 * progmodes/python.el (python-nav-beginning-of-defun): Rename from
7670 python-beginning-of-defun-function. Handle nested defuns
7671 correctly.
7672 (python-nav-end-of-defun): Rename from
7673 python-end-of-defun-function. Ensure forward movement.
7674 (python-info-current-defun): Reimplement to work as intended
7675 with new fixed python-nav-{end,beginning}-of-defun. Stop scanning
7676 parent defuns as soon as possible.
7677
7678 2012-11-13 Glenn Morris <rgm@gnu.org>
7679
7680 * progmodes/flymake.el (flymake-error-bitmap)
7681 (flymake-warning-bitmap, flymake-fringe-indicator-position): Doc fixes.
7682 (flymake-error-bitmap, flymake-warning-bitmap): Fix :types.
7683
7684 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
7685
7686 * progmodes/ruby-mode.el (ruby-move-to-block): When moving
7687 backward, always stop at indentation. Reverts the change from
7688 2012-08-12T22:06:56Z!monnier@iro.umontreal.ca (Bug#12851).
7689
7690 2012-11-13 Glenn Morris <rgm@gnu.org>
7691
7692 * ibuffer.el (ibuffer-mode-map, ibuffer-mode):
7693 Add ibuffer-filter-by-derived-mode.
7694
7695 * ibuffer.el (ibuffer-mode-map): Don't have two menu items with
7696 the same name shadowing each other.
7697
7698 * window.el (with-temp-buffer-window): Doc tweak.
7699
7700 * emacs-lisp/debug.el (debugger-bury-or-kill): Doc tweak.
7701
7702 * help.el (temp-buffer-max-height):
7703 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-bottom-margin):
7704 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix :version.
7705
7706 2012-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
7707
7708 * emacs-lisp/nadvice.el: New package.
7709 * subr.el (special-form-p): New function.
7710 * emacs-lisp/elp.el: Use lexical-binding and advice-add.
7711 (elp-all-instrumented-list): Remove var.
7712 (elp-not-profilable): Remove elp-wrapper.
7713 (elp-profilable-p): Use autoloadp and special-form-p.
7714 (elp--advice-name): New const.
7715 (elp-instrument-function): Use advice-add.
7716 (elp--instrumented-p): New predicate.
7717 (elp-restore-function): Use advice-remove.
7718 (elp-restore-all, elp-reset-all): Use mapatoms.
7719 (elp-set-master): Use elp--instrumented-p.
7720 (elp--make-wrapper): Rename from elp-wrapper, return a function
7721 suitable for advice-add. Use cl-inf.
7722 (elp-results): Use mapatoms+elp--instrumented-p.
7723 * emacs-lisp/debug.el: Use lexical-binding and advice-add.
7724 (debug-function-list): Remove var.
7725 (debug): Rename arg, and then let-bind it explicitly inside.
7726 (debugger-setup-buffer): Rename arg.
7727 (debugger-setup-buffer): Adjust counts to new debug-on-entry setup.
7728 (debugger-frame-number): Adjust to new debug-on-entry setup.
7729 (debug--implement-debug-on-entry): Rename from
7730 implement-debug-on-entry, add argument.
7731 (debugger-special-form-p): Remove, use special-form-p instead.
7732 (debug-on-entry): Use advice-add.
7733 (debug--function-list): New function.
7734 (cancel-debug-on-entry): Use it, along with advice-remove.
7735 (debug-arglist, debug-convert-byte-code, debug-on-entry-1): Remove.
7736 (debugger-list-functions): Use debug--function-list instead of
7737 debug-function-list.
7738 * emacs-lisp/advice.el (ad-save-real-definition): Remove, unused.
7739 (ad-special-form-p): Remove, use special-form-p instead.
7740 (ad-set-advice-info): Use add-function and remove-function.
7741 (ad--defalias-fset): Adjust accordingly.
7742
7743 2012-11-10 Glenn Morris <rgm@gnu.org>
7744
7745 * mail/emacsbug.el (report-emacs-bug-tracker-url)
7746 (report-emacs-bug-bug-alist, report-emacs-bug-choice-widget)
7747 (report-emacs-bug-create-existing-bugs-buffer)
7748 (report-emacs-bug-parse-query-results)
7749 (report-emacs-bug-query-existing-bugs): Remove. (Bug#7449)
7750
7751 * term.el (term-default-fg-color, term-default-bg-color):
7752 Make obsolete, rather than just saying "deprecated" in the doc.
7753
7754 * term.el (term): Rename from `term-face'.
7755 (term-current-face, ansi-term-color-vector)
7756 (term-default-fg-color, term-default-bg-color, term-ansi-reset):
7757 Update all users.
7758
7759 2012-11-10 Jan Djärv <jan.h.d@swipnet.se>
7760
7761 * server.el (server-create-window-system-frame): Handle Nextstep
7762 specially (Bug#12780).
7763
7764 2012-11-10 Glenn Morris <rgm@gnu.org>
7765
7766 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
7767 Unautoload, and make obsolete. (Bug#7449)
7768
7769 2012-11-10 Chong Yidong <cyd@gnu.org>
7770
7771 * vc/diff-mode.el (diff-delete-trailing-whitespace): Rewrite, and
7772 rename from diff-remove-trailing-whitespace (Bug#12831).
7773
7774 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
7775
7776 * emacs-lisp/advice.el: Require `cl-lib' at run-time to fix
7777 miscompilation of trace.el.
7778
7779 2012-11-10 Glenn Morris <rgm@gnu.org>
7780
7781 * vc/diff-mode.el (diff-remove-trailing-whitespace): Doc fix.
7782
7783 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
7784
7785 * emacs-lisp/gv.el (gv-define-simple-setter): Fix last change
7786 (bug#12812).
7787
7788 2012-11-10 Chong Yidong <cyd@gnu.org>
7789
7790 * minibuf-eldef.el (minibuffer-eldef-shorten-default): Convert to
7791 a defcustom with an appropriate :set function.
7792 (minibuffer-default--in-prompt-regexps): New function.
7793
7794 2012-11-10 Glenn Morris <rgm@gnu.org>
7795
7796 * emacs-lisp/cl.el (define-setf-expander, defsetf)
7797 (define-modify-macro): Doc fixes.
7798
7799 * emacs-lisp/gv.el (gv-letplace): Fix doc typo.
7800 (gv-define-simple-setter): Update doc of `fix-return'.
7801
7802 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
7803
7804 * emacs-lisp/gv.el (gv-define-simple-setter): Don't evaluate `val'
7805 twice when `fix-return' is set (bug#12813).
7806
7807 * emacs-lisp/cl.el (defsetf): Pass the third arg to
7808 gv-define-simple-setter (bug#12812).
7809
7810 * woman.el (woman-decode-region): Disable adaptive-fill when rendering
7811 (bug#12756).
7812
7813 2012-11-10 Glenn Morris <rgm@gnu.org>
7814
7815 * emacs-lisp/gv.el (gv-define-setter): Fix doc typo.
7816
7817 * emacs-lisp/cl-extra.el (cl-prettyexpand):
7818 * emacs-lisp/cl-lib.el (cl-proclaim, cl-declaim):
7819 * emacs-lisp/cl-macs.el (cl-destructuring-bind, cl-locally)
7820 (cl-the, cl-compiler-macroexpand): Add basic doc strings.
7821
7822 * emacs-lisp/cl-extra.el (cl-maplist, cl-mapcan): Doc fix.
7823
7824 2012-11-10 Leo Liu <sdl.web@gmail.com>
7825
7826 * ido.el (ido-set-matches-1): Improve flex matching performance by
7827 removing backtracking in the regexp (suggested by Stefan). (Bug#12796)
7828
7829 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
7830
7831 * emacs-lisp/advice.el (ad-set-advice-info): Set defalias-fset-function.
7832 (ad--defalias-fset): New function.
7833 (ad-safe-fset): Remove.
7834 (ad-make-freeze-definition): Use cl-letf*.
7835
7836 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
7837
7838 * subr.el (dolist): Don't bind VAR in RESULT.
7839
7840 * emacs-lisp/advice.el: Miscellaneous cleanup. Use lexical-binding.
7841 (fset, documentation): Don't save real def since we don't advise.
7842 (ad-do-advised-functions): Remove problematic `result-form'.
7843 (ad-safe-fset): `ad-real-fset' => `fset'.
7844 (ad-read-advised-function): Don't assume that ad-do-advised-functions
7845 uses CL's dolist internally.
7846 (ad-arglist): Remove unused arg `name'.
7847 (ad-docstring, ad-make-advised-docstring):
7848 `ad-real-documentation' => `documentation'.
7849 (warning-suppress-types): Declare.
7850 (ad-set-arguments): Simple CSE.
7851 (ad-recover-normality): Sanity check.
7852
7853 * emacs-lisp/bytecomp.el (byte-compile-out-toplevel): Don't turn
7854 (funcall '(lambda ..) ..) into ((lambda ..) ..).
7855
7856 2012-11-09 Vincent Belaïche <vincentb1@users.sourceforge.net>
7857
7858 * ses.el: Symbol to coordinate mapping is made by symbol property
7859 `ses-cell'. This means that the same mapping is done for all SES
7860 sheets. That is good enough for cells with standard A1 names, but
7861 not for named cell. So a hash map is added for the latter.
7862 (defconst ses-localvars): Add local variable ses--named-cell-hashmap
7863 (ses-sym-rowcol): Use hashmap for named cell.
7864 (ses-is-cell-sym-p): New defun.
7865 (ses-decode-cell-symbol): New defun.
7866 (ses-create-cell-variable): Add cell to hashmap when name is not
7867 A1-like.
7868 (ses-rename-cell): Check that cell new name is not already in
7869 spreadsheet with the use of ses-is-cell-sym-p
7870 (ses-rename-cell): Use hash map for named cells, but accept also
7871 renaming back to A1-like.
7872
7873 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
7874
7875 * emacs-lisp/advice.el: Use new dynamic docstrings.
7876 (ad-make-advised-definition-docstring, ad-advised-definition-p):
7877 Use dynamic-docstring-function instead of ad-advice-info.
7878 (ad--make-advised-docstring): New function extracted from
7879 ad-make-advised-docstring.
7880 (ad-make-advised-docstring): Use it.
7881 * progmodes/sql.el (sql--make-help-docstring): New function, extracted
7882 from sql-help.
7883 (sql-help): Use it with dynamic-docstring-function.
7884
7885 * env.el (env--substitute-vars-regexp): Don't use rx (for bootstrap).
7886
7887 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
7888
7889 * files.el (hack-one-local-variable--obsolete): New function.
7890 (hack-one-local-variable): Use it for obsolete settings.
7891
7892 * subr.el (locate-user-emacs-file): If both old and new name exist, use
7893 the new name.
7894
7895 * progmodes/js.el (js--filling-paragraph): New var.
7896 (c-forward-sws, c-backward-sws, c-beginning-of-macro): Advise.
7897 (js-c-fill-paragraph): Prefer advice to cl-letf so the rebinding is
7898 less sneaky.
7899
7900 2012-11-08 Julien Danjou <julien@danjou.info>
7901
7902 * progmodes/ruby-mode.el (auto-mode-alist): Add Rakefile in
7903 `auto-mode-alist' (Bug#12835).
7904
7905 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
7906
7907 * progmodes/perl-mode.el (perl-prettify-symbols): New defcustom.
7908 (perl--prettify-symbols-alist): New const.
7909 (perl--font-lock-compose-symbol, perl--font-lock-symbols-keywords):
7910 New functions.
7911 (perl-font-lock-keywords-2): Use them.
7912 (perl-electric-noindent-p): New function.
7913 (perl-mode): Use it to set up electric-indent-mode.
7914 (perl-electric-terminator, perl-indent-command): Mark obsolete.
7915 (perl-mode-map): Remove bindings for them.
7916 (perl-imenu-generic-expression, perl-outline-level):
7917 Match functions&packages in column>0.
7918
7919 * env.el (env--substitute-vars-regexp): New const.
7920 (substitute-env-vars): Use it. Add `only-defined' arg.
7921 * net/tramp.el (tramp-replace-environment-variables): Use it.
7922
7923 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
7924 Byte-compile *before* eval in eval-and-compile.
7925 (byte-compile-log-warning): Remove redundant inhibit-read-only.
7926 (byte-compile-file-form-autoload): Don't hide actual definition.
7927 (byte-compile-maybe-guarded): Accept `functionp' as well.
7928
7929 * emacs-lisp/gv.el (gv-ref, gv-deref): New function and macro.
7930
7931 2012-11-07 Michael Albinus <michael.albinus@gmx.de>
7932
7933 * notifications.el (notifications-get-server-information-method):
7934 New defconst.
7935 (notifications-get-capabilities): Fix docstring.
7936 (notifications-get-server-information): New defun.
7937
7938 2012-11-06 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7939
7940 * textmodes/ispell.el (ispell-region): Standard re-indent for better
7941 readability.
7942
7943 * textmodes/ispell.el: Experimental support for support debugging.
7944 (ispell-create-debug-buffer): Create a `ispell-debug-buffer' debug
7945 buffer for ispell.
7946 (ispell-print-if-debug): New function to print stuff to
7947 `ispell-debug-buffer' if debugging is enabled.
7948 (ispell-region, ispell-process-line): Use `ispell-print-if-debug' to
7949 show some debugging info.
7950 (ispell-buffer-with-debug): New function that creates a debugging
7951 buffer and calls `ispell-buffer' with debugging enabled.
7952
7953 * textmodes/ispell.el (ispell-region): Do not prefix sent string by
7954 comment in autoconf mode. (Bug#12768)
7955
7956 2012-11-06 Dmitry Antipov <dmantipov@yandex.ru>
7957
7958 * emacs-lisp/byte-opt.el (toplevel): Add compare-window-configurations,
7959 frame-first-window, frame-root-window, frame-selected-window,
7960 minibuffer-selected-window, minibuffer-window,
7961 window-absolute-pixel-edges, window-at, window-body-height,
7962 window-body-width, window-display-table, window-combination-limit,
7963 window-frame, window-fringes, window-inside-absolute-pixel-edges,
7964 window-inside-edges, window-inside-pixel-edges, window-left-child,
7965 window-left-column, window-margins, window-next-buffers,
7966 window-next-sibling, window-new-normal, window-new-total,
7967 window-normal-size, window-parameter, window-parameters, window-parent,
7968 window-pixel-edges, window-point, window-prev-buffers,
7969 window-prev-sibling, window-redisplay-end-trigger, window-scroll-bars,
7970 window-start, window-text-height, window-top-child, window-top-line,
7971 window-total-height, window-total-width and window-use-time to the list
7972 of functions without side-effects.
7973 (toplevel): Add window-valid-p to the list of error-free functions
7974 without side-effects.
7975
7976 2012-11-05 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7977
7978 * textmodes/ispell.el (ispell-program-name):
7979 Update spellchecker parameters when customized.
7980
7981 2012-11-04 Glenn Morris <rgm@gnu.org>
7982
7983 * vc/vc-svn.el (vc-svn-state-heuristic): Avoid calling svn. (Bug#7850)
7984
7985 2012-11-04 Chong Yidong <cyd@gnu.org>
7986
7987 * bookmark.el (bookmark-bmenu-switch-other-window): Avoid binding
7988 same-window-* variables.
7989
7990 2012-11-04 Juri Linkov <juri@jurta.org>
7991
7992 * isearch.el (isearch-help-for-help, isearch-describe-bindings)
7993 (isearch-describe-key, isearch-describe-mode): Use a display
7994 action instead of binding same-window-* variables (Bug#10040).
7995
7996 2012-11-03 Glenn Morris <rgm@gnu.org>
7997
7998 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
7999 Rename handler properties back from cl-- to cl-. (Bug#12788)
8000
8001 * emacs-lisp/cl-macs.el (cl-do-all-symbols): Add doc string.
8002
8003 2012-11-03 Eli Zaretskii <eliz@gnu.org>
8004
8005 * term/pc-win.el: Don't load term/internal from here.
8006
8007 * loadup.el: Load term/internal from here.
8008
8009 2012-11-03 Fabián Ezequiel Gallina <fgallina@cuca>
8010
8011 * progmodes/python.el (inferior-python-mode): Fix hang in
8012 jit-lock (Bug#12645).
8013
8014 2012-11-03 Martin Rudalics <rudalics@gmx.at>
8015
8016 * window.el (switch-to-visible-buffer)
8017 (switch-to-buffer-preserve-window-point): Fix doc-strings.
8018
8019 2012-11-03 Glenn Morris <rgm@gnu.org>
8020
8021 * emacs-lisp/cl-lib.el (cl--random-time):
8022 Rename from cl-random-time. (Bug#12773)
8023 (cl--gensym-counter, cl--random-state): Update callers.
8024 * emacs-lisp/cl-extra.el (cl-make-random-state): Update callers.
8025
8026 2012-11-03 Chong Yidong <cyd@gnu.org>
8027
8028 * cus-start.el: Make cursor-type customizable (Bug#11633).
8029
8030 2012-11-02 Glenn Morris <rgm@gnu.org>
8031
8032 * filecache.el: No need to load find-lisp when compiling.
8033 (find-lisp-find-files): Autoload it.
8034 (file-cache-add-directory-recursively): Don't require find-lisp.
8035
8036 * image.el (image-type-from-file-name): Trivial simplification.
8037
8038 * emacs-lisp/bytecomp.el (byte-compile-eval):
8039 Decouple "noruntime" and "cl-functions" warnings.
8040
8041 2012-11-01 Stephen Berman <stephen.berman@gmx.net>
8042
8043 * play/gomoku.el (gomoku-display-statistics): Update mode line
8044 only if in Gomoku buffer; don't capitalize "won" (Bug#12771).
8045
8046 2012-10-31 Martin Rudalics <rudalics@gmx.at>
8047
8048 * window.el (quit-restore-window): If the window has been
8049 created on an existing frame and ended up as the sole window on
8050 that frame, do not delete it (Bug#12764).
8051
8052 2012-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
8053
8054 * progmodes/sh-script.el (sh--inside-noncommand-expression):
8055 Rename from sh--inside-arithmetic-expression, handle more cases
8056 (bug#11263).
8057
8058 * progmodes/sh-script.el (sh--inside-arithmetic-expression): New func.
8059 (sh-font-lock-open-heredoc): Use it (bug#12770).
8060
8061 2012-10-30 Glenn Morris <rgm@gnu.org>
8062
8063 * emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie. Doc fix.
8064
8065 * emacs-lisp/cl.el (letf): Doc fix. (Bug#12760)
8066
8067 2012-10-29 Chong Yidong <cyd@gnu.org>
8068
8069 * isearch.el (isearch-other-meta-char): Ensure that a reprocessed
8070 function key is stored in a keyboard macro (Bug#4894).
8071
8072 * thingatpt.el (number-at-point): Apply a thing-at-point property.
8073
8074 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
8075
8076 * vc/diff-mode.el (diff-context->unified): Don't get confused by "hunk
8077 header comments".
8078 (diff-unified->context, diff-context->unified)
8079 (diff-reverse-direction, diff-fixup-modifs): Use `use-region-p'.
8080
8081 * emacs-lisp/cl.el (letf): Add missing indent rules (bug#12759).
8082
8083 * files.el (find-alternate-file): Only ask one question (bug#12487).
8084
8085 2012-10-29 Chong Yidong <cyd@gnu.org>
8086
8087 * vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer.
8088 Suggested by Dan Nicolaescu (Bug#6326).
8089
8090 * info.el (Info-complete-menu-item): Avoid duplicates (Bug#12705).
8091
8092 * startup.el (fancy-about-screen): Don't message (Bug#12680).
8093
8094 * thingatpt.el (thing-at-point): Doc fix (Bug#12691).
8095
8096 * imenu.el (imenu): Inhibit push-mark message (Bug#12726).
8097
8098 * face-remap.el (face-remap-add-relative): Handle the case where a
8099 face-remapping-alist entry is a cons cell (Bug#12762).
8100
8101 2012-10-29 Kevin Ryde <user42@zip.com.au>
8102
8103 * woman.el (woman-parse-numeric-value): Handle picas correctly
8104 (Bug#12639).
8105
8106 2012-10-29 Glenn Morris <rgm@gnu.org>
8107
8108 * emacs-lisp/cl.el (defsetf): Doc fix.
8109
8110 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
8111
8112 * progmodes/sh-script.el (sh-font-lock-paren): Also put punctuation
8113 syntax to the matching opener, if any (bug#12547).
8114 (sh-smie-sh-forward-token, sh-smie-sh-backward-token): Recognize this
8115 matching open as a "case-(".
8116 (sh-smie-rc-grammar): Add a corresponding rule for it.
8117
8118 2012-10-28 Daniel Hackney <dan@haxney.org>
8119
8120 * emacs-lisp/package.el (package-generate-autoloads): Kill buffer
8121 "PKGNAME-autoloads.el" in case we created it.
8122
8123 2012-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
8124
8125 * minibuffer.el (completion--sifn-requote): Rewrite to handle things
8126 like Tramp's "/foo:~bar//baz" -> "/scpc:foo:/baz" mapping (bug#11714).
8127 (completion--twq-all): Disable too-strict assertions.
8128
8129 * tmm.el (tmm-prompt): Use map-keymap (bug#12744).
8130
8131 2012-10-27 Eli Zaretskii <eliz@gnu.org>
8132
8133 * profiler.el (profiler-report-make-entry-part): Fix help-echo
8134 text to match the real keybindings.
8135
8136 2012-10-27 Juri Linkov <juri@jurta.org>
8137
8138 * wdired.el (wdired-keep-marker-rename): New defcustom.
8139 (wdired-do-renames): Use it instead of `dired-keep-marker-rename'.
8140 (Bug#11795)
8141
8142 * dired.el (dired-keep-marker-rename): Add reference to
8143 `wdired-keep-marker-rename' in the docstring.
8144 Add default character value ?R to display initially in
8145 Customization UI instead of ?@.
8146
8147 2012-10-27 Martin Rudalics <rudalics@gmx.at>
8148
8149 * window.el (display-buffer): In doc-string describe
8150 window-height and window-width alist entries.
8151
8152 * time.el (display-time-world): Restore fit-window-to-buffer
8153 behavior.
8154
8155 2012-10-27 Chong Yidong <cyd@gnu.org>
8156
8157 * subr.el (insert-buffer-substring-as-yank): Doc fix.
8158
8159 2012-10-26 Jambunathan K <kjambunathan@gmail.com>
8160
8161 * minibuffer.el (completion-category-overrides): New completion
8162 category `bookmark' (bug#11131).
8163
8164 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
8165
8166 * emacs-lisp/advice.el (ad-assemble-advised-definition):
8167 Silence bogus compiler warnings for ad-do-it.
8168
8169 * bookmark.el (bookmark-completing-read): Set the completion category
8170 to `bookmark' (bug#11131).
8171
8172 2012-10-26 Bastien <bzg@altern.org>
8173 Stefan Monnier <monnier@iro.umontreal.ca>
8174
8175 * face-remap.el: Use lexical-binding.
8176 (text-scale-adjust): Improve docstring. Use itself for the temporary
8177 overlay-map bindings, so as to repeat the "Use..." message each time.
8178
8179 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
8180
8181 * emacs-lisp/macroexp.el (macroexp--expand-all):
8182 Obey byte-compile-warning-enabled-p (bug#12486).
8183
8184 * vc/diff-mode.el (diff-end-of-hunk): Also skip potential "no LF at eol".
8185 (diff-refine-hunk): Similarly, handle the "no LF at eol" (bug#12584).
8186
8187 2012-10-26 Martin Rudalics <rudalics@gmx.at>
8188
8189 * mouse.el (mouse-drag-line): Move last form into preceding when
8190 clause (Bug#12731).
8191
8192 * help.el (resize-temp-buffer-window): Fix doc-string.
8193
8194 2012-10-25 David Engster <deng@randomsample.de>
8195
8196 * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
8197 Remove. This feature is already integrated in imenu.
8198
8199 * emacs-lisp/eieio-opt.el: Remove require for `button' since it is
8200 always loaded. Require `speedbar' unconditionally.
8201
8202 2012-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
8203
8204 * dired.el (dired-get-marked-files): Allow ! on . and .. (bug#12725).
8205
8206 * minibuffer.el (minibuffer-force-complete): Fix thinko.
8207
8208 * net/ldap.el (ldap-search-internal): The official ldif format starts
8209 with a "version: 1" header (bug#12724).
8210
8211 * emacs-lisp/package.el (package-installed-p): Warn if not ready
8212 (bug#12721).
8213
8214 2012-10-25 Glenn Morris <rgm@gnu.org>
8215
8216 * emacs-lisp/cl-macs.el (cl-progv): Doc fix.
8217
8218 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
8219
8220 * minibuffer.el (minibuffer-force-complete): Use one more marker
8221 for the temporary-overlay-map command (bug#12619).
8222
8223 2012-10-24 Chong Yidong <cyd@gnu.org>
8224
8225 * time.el (display-time-world-mode): Derive from special-mode.
8226 (display-time-world): Use display-buffer (Bug#12708).
8227 (display-time-world-mode-map): Variable deleted.
8228 (display-time-world-display): Wrap the final delete-char inside
8229 inhibit-read-only.
8230
8231 2012-10-24 Chong Yidong <cyd@gnu.org>
8232
8233 * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
8234 Doc fix.
8235
8236 * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
8237
8238 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
8239
8240 * minibuffer.el (completion--all-sorted-completions-location): New var.
8241 (completion--cache-all-sorted-completions)
8242 (completion--flush-all-sorted-completions): Use it.
8243 (completion-in-region, completion-in-region--postch)
8244 (completion-at-point, completion-help-at-point): Use markers in
8245 completion-in-region--data (bug#12619).
8246
8247 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
8248
8249 * progmodes/compile.el (compilation-start): Try to handle common
8250 quoting of `cd' argument (bug#12640).
8251
8252 * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
8253 (bug#12671).
8254
8255 2012-10-23 Glenn Morris <rgm@gnu.org>
8256
8257 * progmodes/gud.el (gud-menu-map):
8258 Check gdb-active-process is bound. (Bug#12358)
8259
8260 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
8261
8262 * repeat.el (repeat): Set real-this-command (bug#12232).
8263
8264 * htmlfontify.el (hfy-post-html-hook):
8265 * filesets.el (filesets-cache-fill-content-hook):
8266 * arc-mode.el (archive-extract-hook):
8267 * progmodes/cc-mode.el (c-prepare-bug-report-hook):
8268 * net/rcirc.el (rcirc-sentinel-functions)
8269 (rcirc-receive-message-functions, rcirc-activity-functions)
8270 (rcirc-print-functions):
8271 * net/dbus.el (dbus-event-error-functions):
8272 * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
8273 * emacs-lisp/checkdoc.el (checkdoc-style-functions)
8274 (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
8275 * term/sun.el (sun-raw-prefix-hooks):
8276 * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
8277
8278 2012-10-23 Michael Albinus <michael.albinus@gmx.de>
8279
8280 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
8281 Set `tramp-chunksize' to 1. This improves the performance.
8282 (tramp-smb-wait-for-output): Add timeout to
8283 `tramp-accept-process-output' calls.
8284
8285 2012-10-23 Chong Yidong <cyd@gnu.org>
8286
8287 * faces.el (font-list-limit): Define as an obsolete variable.
8288
8289 * startup.el (command-line):
8290 * cus-start.el: Don't refer to font-list-limit.
8291
8292 * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
8293
8294 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
8295
8296 * subr.el (internal-temp-output-buffer-show): Rename from
8297 temp-output-buffer-show, since previously compiled files expect this name.
8298
8299 2012-10-23 Glenn Morris <rgm@gnu.org>
8300
8301 * image.el (image-type-from-file-name): If multiple types match,
8302 return the first one that is supported. (Bug#9045)
8303
8304 2012-10-22 Glenn Morris <rgm@gnu.org>
8305
8306 * image.el (imagemagick-enabled-types): Doc fix.
8307
8308 2012-10-22 Takafumi Arakaki <aka.tkf@gmail.com> (tiny change)
8309
8310 * progmodes/which-func.el (which-func-current): The hash-table may have
8311 an explicit nil (bug#12338).
8312
8313 2012-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
8314
8315 * electric.el (electric-pair-delete-selection-self-insert-function):
8316 Rename to electric-pair-will-use-region, return a boolean.
8317 (electric-pair-mode): Adjust accordingly. Don't require delsel.
8318
8319 * delsel.el (delete-selection-helper): Use a function instead of a hook.
8320 (delete-selection-pre-hook): Use use-region-p.
8321 (delete-selection-self-insert-function): Remove.
8322 (self-insert-command): Obey self-insert-uses-region-functions.
8323 (self-insert-iso): Revert to previous setting, since we don't actually
8324 know what that command does.
8325 (delete-selection-self-insert-hooks): Remove.
8326
8327 2012-10-22 Simon Law <sfllaw@sfllaw.ca> (tiny change)
8328
8329 * delsel.el (delete-selection-helper): New function, extracted from
8330 delete-selection-pre-hook.
8331 (delete-selection-pre-hook): Use it.
8332 (delete-selection-self-insert-function): New function.
8333 (delete-selection-self-insert-hooks): New hook.
8334 (self-insert-command, self-insert-iso): Use it.
8335 * electric.el (electric-pair-syntax): New function, extracted from
8336 electric-pair-post-self-insert-function.
8337 (electric-pair-post-self-insert-function): Use it.
8338 (electric-pair-delete-selection-self-insert-function): New function.
8339 (electric-pair-mode): Require delsel and setup
8340 delete-selection-self-insert-hooks (bug#11520).
8341
8342 2012-10-20 Chong Yidong <cyd@gnu.org>
8343
8344 * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
8345 no changes to show (Bug#12586).
8346
8347 * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
8348 list explicitly (Bug#12571).
8349
8350 2012-10-20 Arne Jørgensen <arne@arnested.dk>
8351
8352 * progmodes/flymake.el (flymake-create-temp-inplace):
8353 Use file-truename.
8354
8355 2012-10-20 Eli Zaretskii <eliz@gnu.org>
8356
8357 * loadup.el: Update comment about uncompiled Lisp files. (Bug#12395)
8358
8359 2012-10-20 Jay Belanger <jay.p.belanger@gmail.com>
8360
8361 * calc/calc-units.el (math-extract-units): Properly extract powers
8362 of units.
8363
8364 2012-10-20 Daniel Colascione <dancol@dancol.org>
8365
8366 * frame.el (make-frame): Set x-display-name as we used to in order
8367 to unbreak creating an X11 frame from an Emacs daemon started
8368 without a display.
8369
8370 2012-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
8371
8372 * minibuffer.el (minibuffer-force-complete): Make the next completion use
8373 the same completion-field (bug#12221).
8374
8375 2012-10-19 Martin Rudalics <rudalics@gmx.at>
8376
8377 * emacs-lisp/debug.el (debug): Record height of debugger window
8378 also when debugger will be back (Bug#8789).
8379
8380 2012-10-18 Chong Yidong <cyd@gnu.org>
8381
8382 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
8383 Convert to defcustom.
8384 (gdb-get-source-file): Don't bind pop-up-windows.
8385
8386 * progmodes/gud.el (gud-display-line): Don't specially re-use
8387 other frames for the gdb-mi case (Bug#12648).
8388
8389 2012-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
8390
8391 * emacs-lisp/advice.el: Clean up commentary a bit.
8392 (ad-do-advised-functions, ad-with-originals): Use `declare'.
8393 (byte-code-function-p): Never redefine.
8394
8395 * emacs-lisp/gv.el (cond): Same fix as before for `if'.
8396
8397 2012-10-18 Glenn Morris <rgm@gnu.org>
8398
8399 * dired.el (dired-sort-toggle): Some ls implementations only allow
8400 a single option string. (Bug#12666)
8401
8402 * minibuffer.el (completion-cycle-threshold): Doc fix.
8403
8404 2012-10-17 Kenichi Handa <handa@gnu.org>
8405
8406 * international/mule.el (set-keyboard-coding-system):
8407 Recover input meta mode when the new coding system doesn not use 8-bit.
8408 Supply TERMINAL arg to set-input-meta-mode.
8409
8410 2012-10-17 Michael Heerdegen <michael_heerdegen@web.de>
8411
8412 * wdired.el (wdired-old-marks): New variable.
8413 (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
8414 (wdired-do-renames): Move point with renamed file and don't lose
8415 mark status (Bug#11795).
8416
8417 2012-10-16 Juri Linkov <juri@jurta.org>
8418
8419 * replace.el (query-replace-help): Mention multi-buffer replacement
8420 keys in the Help message. (Bug#12655)
8421
8422 2012-10-15 Chong Yidong <cyd@gnu.org>
8423
8424 * emacs-lisp/byte-run.el (defsubst): Doc fix.
8425
8426 2012-10-14 Eli Zaretskii <eliz@gnu.org>
8427
8428 * window.el (display-buffer): Doc fix.
8429
8430 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8431 Adjust the msft regexp to the output of Studio 2010, and move msft
8432 before edg-1. See the discussion on emacs-devel,
8433 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
8434 for the details.
8435
8436 2012-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
8437
8438 * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
8439 (oset): Move uses of object-class-fast macro after its definition.
8440
8441 * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
8442
8443 2012-10-13 Chong Yidong <cyd@gnu.org>
8444
8445 * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
8446 enabled, re-enable it (Bug#11963).
8447
8448 2012-10-13 Martin Rudalics <rudalics@gmx.at>
8449
8450 * emacs-lisp/debug.el (debug): When debugger-will-be-back is
8451 non-nil, restore window configuration (Bug#12623).
8452
8453 2012-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
8454
8455 * help-fns.el (describe-variable, describe-function-1):
8456 * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
8457
8458 * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
8459
8460 2012-10-12 Glenn Morris <rgm@gnu.org>
8461
8462 * mail/rmailsum.el (rmail-header-summary):
8463 Fix 2010-11-26 test for multiline Subject: field. (Bug#12625)
8464
8465 2012-10-12 Fabián Ezequiel Gallina <fgallina@cuca>
8466
8467 * progmodes/python.el (python-mode-map):
8468 Replace subtitute-key-definition with proper command remapping.
8469 (python-nav--up-list): Fix behavior for blocks on the same level.
8470
8471 2012-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
8472
8473 * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
8474
8475 * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
8476 changes to the format of load-history.
8477
8478 * international/mule-cmds.el (read-char-by-name): Move let-binding of
8479 completion-ignore-case in case that var is buffer-local (bug#12615).
8480
8481 2012-10-11 Kenichi Handa <handa@gnu.org>
8482
8483 * international/eucjp-ms.el: Re-generated.
8484
8485 2012-10-10 Kenichi Handa <handa@gnu.org>
8486
8487 * select.el (xselect--encode-string): If a coding is specified for
8488 selection, and that is compatible with COMPOUND_TEXT, use it.
8489
8490 2012-10-10 Martin Rudalics <rudalics@gmx.at>
8491
8492 * window.el (switch-to-buffer-preserve-window-point): New option.
8493 (switch-to-buffer):
8494 Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
8495
8496 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
8497
8498 * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
8499 Don't document nil as a useful value (bug#12583).
8500
8501 2012-10-09 Michael Albinus <michael.albinus@gmx.de>
8502
8503 * net/tramp.el (tramp-debug-message):
8504 Remove "tramp-with-progress-reporter" from regexp of ignored functions.
8505 (with-tramp-progress-reporter): Rename from
8506 `tramp-with-progress-reporter'.
8507 (with-tramp-file-property, with-tramp-connection-property):
8508 Move from tramp-cache.el, rename from `with-file-property' and
8509 `with-connection-property', respectively.
8510
8511 * net/tramp-cache.el: Remove `with-file-property' and
8512 `with-connection-property'.
8513
8514 * net/tramp.el:
8515 * net/tramp-gvfs.el:
8516 * net/tramp-sh.el:
8517 * net/tramp-smb.el: Adapt callees.
8518
8519 * net/trampver.el: Update release number.
8520
8521 2012-10-09 Glenn Morris <rgm@gnu.org>
8522
8523 * w32-fns.el (set-message-beep):
8524 * term/w32-win.el (set-message-beep): Update declarations.
8525
8526 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
8527
8528 * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
8529 (mode-line-widen, mode-line-input-method-map)
8530 (mode-line-coding-system-map, mode-line-remote)
8531 (mode-line-unbury-buffer, mode-line-bury-buffer)
8532 (mode-line-next-buffer, mode-line-previous-buffer):
8533 Replace save-selected-window+select-window => with-selected-window.
8534
8535 * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
8536 * progmodes/cc-vars.el (bq-process): Remove, unused.
8537
8538 * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
8539
8540 2012-10-09 Fabián Ezequiel Gallina <fgallina@cuca>
8541
8542 Implemented `backward-up-list'-like navigation.
8543 * progmodes/python.el (python-nav-up-list)
8544 (python-nav-backward-up-list): New functions.
8545 (python-mode-map): Define substitute key for backward-up-list to
8546 python-nav-backward-up-list.
8547
8548 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
8549
8550 * progmodes/python.el (python-fill-paragraph): Rename from
8551 python-fill-paragraph-function. Fixed fill-paragraph for
8552 decorators (Bug#12605).
8553
8554 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
8555
8556 * progmodes/python.el (python-shell-output-filter): Handle extra
8557 carriage return in OSX (Bug#12409).
8558
8559 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
8560
8561 Fix shell handling of unbalanced quotes and parens in output.
8562 * progmodes/python.el (python-rx-constituents): Add string-delimiter.
8563 (python-syntax-propertize-function): Use it.
8564 (python-shell-output-syntax-table): New var.
8565 (inferior-python-mode): Prevent unbalanced parens/quotes from
8566 previous output mess with current input context.
8567
8568 2012-10-08 Juanma Barranquero <lekktu@gmail.com>
8569
8570 * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
8571 Make obsolete aliases of js-mode and js-mode-hook (from js.el).
8572
8573 2012-10-08 Michael Albinus <michael.albinus@gmx.de>
8574
8575 * ffap.el (ffap-replace-file-component): Support Tramp file name
8576 syntax, not only ange-ftp's one.
8577
8578 2012-10-08 Glenn Morris <rgm@gnu.org>
8579
8580 * cus-start.el (message-log-max): Set :version.
8581
8582 * calendar/calendar.el (calendar-intermonth-header): Doc fix.
8583
8584 2012-10-08 Martin Rudalics <rudalics@gmx.at>
8585
8586 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
8587 the minibuffer window (Bug#10851).
8588
8589 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
8590
8591 Enhancements on forward-sexp movement.
8592 * progmodes/python.el (python-nav-beginning-of-statement)
8593 (python-nav-end-of-statement): Return point-marker.
8594 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
8595 (python-info-current-symbol)
8596 (python-info-statement-starts-block-p): Rename from
8597 python-info-beginning-of-block-p.
8598 (python-info-statement-ends-block-p): Rename from
8599 python-info-end-of-block-p.
8600 (python-info-beginning-of-statement-p)
8601 (python-info-end-of-statement-p)
8602 (python-info-beginning-of-block-p, python-info-end-of-block-p):
8603 New functions.
8604
8605 2012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
8606
8607 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
8608 frame-selected-windows.
8609
8610 2012-10-08 Daniel Colascione <dancol@dancol.org>
8611
8612 * battery.el (battery-status-function): Check for
8613 w32-battery-status itself, not system-time windows-nt.
8614
8615 * frame.el: Require cl-lib.
8616 (display-format-alist): New variable mapping frame types to
8617 functions that initialize them.
8618 (window-system-for-display): New function: interprets
8619 display-format-alist.
8620 (make-frame-on-display): Remove existing display-selection logic
8621 and just forward to make-frame, which will now DTRT.
8622 (make-frame): Restructure to use window-system-for-display to
8623 figure out how to create a frame on a given display.
8624 (display-mouse-p): Look for frame-type w32, not a particular
8625 system-type.
8626
8627 * loadup.el: Load w32 lisp code when we have the w32 feature.
8628
8629 * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
8630 system-type windows-nt.
8631
8632 * server.el (server-create-window-system-frame): Look for window
8633 type.
8634 (server-proces-filter): Only force a window system when windows-nt
8635 _and_ w32. Explain why.
8636
8637 * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
8638 of window systems we configure for the mode.
8639
8640 * startup.el (command-line): Mark window system is initialized
8641 after we've done it.
8642
8643 * common-win.el (x-select-text): Look for w32, not windows-nt.
8644
8645 * ns-win.el: Require cl-lib. Add ourselves to
8646 display-format-alist.
8647 (ns-initialize-window-system): Assert we're not initialized twice.
8648
8649 * w32-win.el: Enable lexical binding; require cl-lib; add
8650 ourselves to display-format-alist.
8651 (w32-handle-dropped-file): Convert incoming dropped files from
8652 Windows paths to Cygwin ones before passing them on to the rest of
8653 Emacs.
8654 (w32-drag-n-drop): New paramter new-frame. Simplify logic.
8655 (w32-initialize-window-system): Assert we're not initialized twice.
8656
8657 * x-win.el: Require cl-lib; add ourselves to display-format-alist.
8658 (x-initialize-window-system): Assert we're not initialized twice.
8659
8660 * w32-common-fns.el: New File.
8661 (w32-version, w32-using-nt, w32-get-clipboard-data)
8662 (w32-set-clipboard-data, x-set-selection, x-get-selection)
8663 (w32-charset-info-alist, x-last-selected, text)
8664 (x-get-selection-value, x-selection-value): Move here.
8665
8666 * w32-fns.el: Require w32-common-fns.
8667 (w32-version, w32-using-nt, w32-get-clipboard-data)
8668 (w32-set-clipboard-data, x-set-selection, x-get-selection)
8669 (w32-charset-info-alist, x-last-selected, text)
8670 (x-get-selection-value, x-selection-value): Move to
8671 w32-common-fns.
8672
8673 * w32-vars.el:
8674 (w32-allow-system-shell, w32-system-shells): Define only in
8675 non-cygwin case.
8676
8677 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
8678
8679 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
8680 (read-passwd): Remove a few more potential sources of leaks.
8681
8682 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
8683
8684 * progmodes/python.el (inferior-python-mode)
8685 (python-shell-make-comint): Fix initialization of local
8686 variables copied from parent buffer.
8687
8688 2012-10-07 Jan Djärv <jan.h.d@swipnet.se>
8689
8690 * term/ns-win.el (ns-read-file-name): Update declaration to match
8691 nsfns.m.
8692 (ns-respond-to-change-font): Change fontsize separately so we are sure
8693 it is set when font is acted upon.
8694
8695 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
8696
8697 Enhancements to indentation.
8698 * progmodes/python.el (python-indent-context): Give priority to
8699 inside-string context. Make comments indentation markers.
8700 (python-indent-region): Do not mess with strings, unless it's the
8701 enclosing set of quotes.
8702
8703 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
8704
8705 * window.el (internal--before-save-selected-window)
8706 (internal--after-save-selected-window): New functions extracted from
8707 save-selected-window. Make sure we return the `alist' we construct.
8708 (save-selected-window): Use them.
8709
8710 * textmodes/tex-mode.el (tex-recenter-output-buffer):
8711 Use with-selected-window.
8712
8713 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
8714 forms that define macros (bug#12593).
8715
8716 2012-10-07 Kenichi Handa <handa@gnu.org>
8717
8718 * international/mule-conf.el (compound-text-with-extensions):
8719 Add :mime-charset property as x-ctext.
8720
8721 2012-10-07 Stefan Merten <smerten@oekonux.de>
8722
8723 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
8724 (rst-indent-literal-normal, rst-indent-literal-minimized)
8725 (rst-indent-comment): Correct :version tag.
8726 (rst-official-cvs-rev): Correct version string.
8727
8728 2012-10-07 Glenn Morris <rgm@gnu.org>
8729
8730 * mail/rmailmm.el (rmail-mime-process-multipart):
8731 Do not confuse a multipart message with an epilogue
8732 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
8733
8734 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
8735
8736 Fix shell output retrieval and comint-prompt-regexp init.
8737 * progmodes/python.el (inferior-python-mode):
8738 (python-shell-make-comint): Fix initialization of
8739 comint-prompt-regexp from copied file local variables.
8740 (python-shell-fetched-lines): Remove var.
8741 (python-shell-output-filter-in-progress): Rename from
8742 python-shell-fetch-lines-in-progress.
8743 (python-shell-output-filter-buffer): Rename from
8744 python-shell-fetch-lines-string.
8745 (python-shell-fetch-lines-filter): Delete function.
8746 (python-shell-output-filter): New function.
8747 (python-shell-send-string-no-output): Use them.
8748
8749 2012-10-07 Glenn Morris <rgm@gnu.org>
8750
8751 * hi-lock.el (hi-lock-process-phrase):
8752 Try to make it less fragile. (Bug#7161)
8753
8754 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
8755
8756 2012-10-06 Glenn Morris <rgm@gnu.org>
8757
8758 * ehelp.el (electric-help-mode): Use help-mode rather than
8759 non-existent mode `help'.
8760 (electric-help-map): Use button-buffer-map. (Bug#10917)
8761
8762 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
8763 (reftex-create-bibtex-footer): Fix custom types.
8764
8765 * progmodes/sh-script.el (sh-indent-after-continuation):
8766 Add explicit :group.
8767
8768 * textmodes/rst.el (rst-preferred-decorations)
8769 (rst-shift-basic-offset): Clarify obsolescence versions.
8770
8771 * profiler.el (profiler): Add missing group :version tag.
8772 * avoid.el (mouse-avoidance-banish-position):
8773 * proced.el (proced-renice-command):
8774 * calc/calc.el (calc-ensure-consistent-units):
8775 * calendar/icalendar.el (icalendar-import-format-uid):
8776 * net/tramp.el (tramp-save-ad-hoc-proxies):
8777 * progmodes/bug-reference.el (bug-reference-bug-regexp):
8778 * progmodes/flymake.el (flymake-error-bitmap)
8779 (flymake-warning-bitmap, flymake-fringe-indicator-position):
8780 * progmodes/sh-script.el (sh-indent-after-continuation):
8781 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
8782 (verilog-before-save-font-hook, verilog-after-save-font-hook):
8783 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
8784 (vhdl-array-index-record-field-in-sensitivity-list)
8785 (vhdl-indent-comment-like-next-code-line):
8786 * textmodes/reftex-vars.el (reftex-ref-style-alist)
8787 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
8788 (reftex-cite-key-separator, reftex-create-bibtex-header)
8789 (reftex-create-bibtex-footer):
8790 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
8791 (rst-indent-literal-normal, rst-indent-literal-minimized)
8792 (rst-indent-comment): Add missing custom :version tags.
8793
8794 * calendar/timeclock.el (timeclock-modeline-display):
8795 Add missing obsolete alias for renamed user option.
8796
8797 * strokes.el (strokes-modeline-string):
8798 * emulation/crisp.el (crisp-mode-modeline-string):
8799 * eshell/esh-mode.el (eshell-status-in-modeline):
8800 Aliases to defcustoms must come before the defcustom.
8801
8802 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
8803 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
8804 (cal-tex-cursor-week-monday): Doc fixes.
8805 (cal-tex-cursor-week2-summary): Doc fix.
8806 Rename from cal-tex-cursor-week-at-a-glance.
8807
8808 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
8809 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
8810
8811 * calendar/calendar.el (calendar-mode-map):
8812 Add cal-tex-cursor-week2-summary.
8813
8814 2012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
8815
8816 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
8817
8818 * subr.el (read-passwd-map): New var.
8819 (read-passwd): Use `read-string' again.
8820 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
8821
8822 2012-10-06 Jambunathan K <kjambunathan@gmail.com>
8823
8824 * register.el (append-to-register, prepend-to-register):
8825 Deactivate mark, as does `copy-to-register' (bug#12389).
8826
8827 2012-10-06 Chong Yidong <cyd@gnu.org>
8828
8829 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
8830
8831 2012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
8832
8833 * international/characters.el: Fix simple mistake ((car chars) ->
8834 elt), delete duplicated code.
8835
8836 2012-10-06 Glenn Morris <rgm@gnu.org>
8837
8838 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
8839
8840 2012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
8841
8842 * color.el (color-hsl-to-rgb): Fix incorrect results for
8843 small and large hue values. (Bug#12559)
8844
8845 2012-10-05 Fabián Ezequiel Gallina <fgallina@cuca>
8846
8847 Enhancements to docstring formatting when filling paragraphs.
8848 * progmodes/python.el (python-fill-docstring-style): Rename from
8849 python-fill-string-style. Added new style.
8850 (python-fill-string): Use new style. Better checks for
8851 docstrings.
8852
8853 2012-10-05 Glenn Morris <rgm@gnu.org>
8854
8855 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
8856
8857 * color.el (color-name-to-rgb, color-rgb-to-hex)
8858 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
8859 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
8860 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
8861 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
8862
8863 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
8864
8865 2012-10-05 Juanma Barranquero <lekktu@gmail.com>
8866
8867 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
8868 to get the correct size across symlinks.
8869
8870 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
8871
8872 2012-10-04 Juri Linkov <juri@jurta.org>
8873
8874 * replace.el (query-replace-interactive): Declare obsolete.
8875 (query-replace-read-from): Add the last incremental search string
8876 to the list of default values accessible via M-n.
8877 (map-query-replace-regexp): Use `read-regexp'.
8878 (query-replace, query-replace-regexp, query-replace-regexp-eval)
8879 (map-query-replace-regexp, replace-string, replace-regexp):
8880 Fix docstrings to replace mentions of `query-replace-interactive'
8881 with alternatives. (Bug#12526)
8882
8883 2012-10-04 Juri Linkov <juri@jurta.org>
8884
8885 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
8886 (dired-pop-to-buffer): Declare obsolete.
8887 (dired-mark-pop-up): Doc fix.
8888
8889 2012-10-04 Fabián Ezequiel Gallina <fgallina@cuca>
8890
8891 Allow user to set docstring style for fill-paragraph.
8892 * progmodes/python.el
8893 (python-fill-comment-function, python-fill-string-function)
8894 (python-fill-decorator-function, python-fill-paren-function):
8895 Remove :safe for defcustoms.
8896 (python-fill-string-style): New defcustom
8897 (python-fill-paragraph-function): Enhance context detection.
8898 (python-fill-string): Honor python-fill-string-style settings.
8899
8900 2012-10-04 Martin Rudalics <rudalics@gmx.at>
8901
8902 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
8903 after setting its buffer (Bug#10805).
8904
8905 2012-10-03 Fabián Ezequiel Gallina <fgallina@cuca>
8906
8907 Fix cornercase for string syntax.
8908 * progmodes/python.el (python-syntax-propertize-function):
8909 Simplify and enhance the regexp for unescaped quotes. Now it also
8910 matches quotes in weird situations like the single quote in
8911 "something\"'".
8912 (python-syntax-stringify): Simplify num-quotes detecting code.
8913
8914 2012-10-03 Glenn Morris <rgm@gnu.org>
8915
8916 * help-macro.el (three-step-help):
8917 Revert 2012-09-29 change. (Bug#12567)
8918
8919 2012-10-03 Martin Rudalics <rudalics@gmx.at>
8920
8921 * menu-bar.el (kill-this-buffer): Don't do anything when
8922 `menu-frame' is not alive or visible (Bug#8184).
8923
8924 * emacs-lisp/debug.el (debug): When quitting the debugger window
8925 restore current buffer (Bug#12502).
8926
8927 2012-10-02 Chong Yidong <cyd@gnu.org>
8928
8929 * progmodes/hideif.el (hif-lookup, hif-defined):
8930 Handle semantic-c-takeover-hideif.
8931
8932 2012-10-02 Paul Eggert <eggert@cs.ucla.edu>
8933
8934 Change sampling interval units from ms to ns.
8935 * profiler.el (profiler-sampling-interval): Change units
8936 from ms to ns, multiplying the default by 1000000 so that
8937 it remains 1 ms.
8938 (profiler-report-cpu-line-format): Give enough room for
8939 the maximum counters on 64-bit hosts.
8940 (profiler-report-render-calltree-1): Call them "CPU samples",
8941 not "Time (ms)", since they are not milliseconds now (and
8942 never really were).
8943
8944 2012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
8945
8946 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
8947 Fix querying BBDB for entries without a last name (Bug#11580).
8948
8949 2012-10-02 Chong Yidong <cyd@gnu.org>
8950
8951 * emacs-lisp/eieio.el: Restore Version header.
8952
8953 2012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
8954
8955 * vc/diff-mode.el (diff--auto-refine-data): New var.
8956 (diff-hunk): Use it to delay refinement.
8957 (diff-mode): Remove overlays when we turn off font-lock.
8958
8959 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
8960 (table-initialize-table-fixed-width-mode)
8961 (table-set-table-fixed-width-mode): Remove functions.
8962 (table-command-list): Move initialization into declaration.
8963 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
8964 (table-with-cache-buffer): Use `declare'.
8965 (table-span-cell): Simplify via CSE.
8966 (table-fixed-width-mode): Use define-minor-mode.
8967 (table-call-interactively, table-funcall, table-apply): Remove.
8968 (table-function): New function, to replace them.
8969
8970 * bookmark.el (bookmark-search-pattern): Remove var.
8971 (bookmark-read-search-input): Remove function.
8972 (bookmark-bmenu-search): Reimplement using a minibuffer.
8973
8974 * faces.el (modeline): Remove obsolete face name.
8975
8976 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
8977 and give a non-nil default value.
8978 (add-change-log-entry): Simplify accordingly.
8979
8980 2012-10-01 Dmitry Gutov <dgutov@yandex.ru>
8981
8982 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
8983 (vc-git-log-edit-toggle-amend): New function.
8984 (vc-git-log-edit-toggle-signoff): New function.
8985 (vc-git-log-edit-mode): New major mode.
8986 (vc-git-log-edit-mode-map): Keymap for it.
8987 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
8988
8989 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
8990 header names.
8991 (log-edit-toggle-header): New function.
8992 (log-edit-extract-headers): Accept function values in HEADERS alist.
8993
8994 2012-10-01 David Engster <deng@randomsample.de>
8995
8996 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
8997 from symbol property and change message to be more consistent with
8998 Emacs proper.
8999 (eieio-describe-generic): Add filename for each implementation.
9000 Fix indices for generic and normal methods.
9001 (eieio-method-def, eieio-class-def): New buttons.
9002 (eieio-help-find-method-definition)
9003 (eieio-help-find-class-definition): New functions.
9004 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
9005 class, constructor and method definitions.
9006
9007 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
9008 information in symbol property.
9009 (scoped-class): Remove.
9010 (eieio-slot-name-index, call-next-method): Check if it is bound.
9011
9012 2012-10-01 Leo P. White <lpw25@cam.ac.uk>
9013
9014 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
9015 (eieio-custom-mode): New major mode.
9016 (eieio-customize-object): Use it.
9017
9018 2012-10-01 Eric Ludlam <zappo@gnu.org>
9019
9020 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
9021 specifying the expected class, and whether subclassing is allowed.
9022 (eieio-persistent-convert-list-to-object):
9023 (eieio-persistent-validate/fix-slot-value)
9024 (eieio-persistent-slot-type-is-class-p): New functions.
9025 (eieio-named::slot-missing): Doc fix.
9026
9027 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
9028 Stop using unused publd variable.
9029
9030 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
9031 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
9032 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
9033 (eieio-speedbar-handle-click): Do not specify a class for the
9034 method. Fixes method invocation order problems with EDE.
9035
9036 2012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
9037
9038 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
9039 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
9040
9041 2012-10-01 Karl Fogel <kfogel@red-bean.com>
9042
9043 * bookmark.el (bookmark-version-control): Give tags in the
9044 :type choices (Bug#12309), and improve doc string.
9045 (bookmark-write-file): Bind `print-circle' to `t' to allow
9046 circular custom bookmark types. (Bug#12503)
9047
9048 2012-10-01 Paul Eggert <eggert@cs.ucla.edu>
9049
9050 Revert the FOLLOW-SYMLINKS change for file-attributes.
9051 * files.el (remote-file-name-inhibit-cache, after-find-file):
9052 * time.el (display-time-file-nonempty-p): Undo last change.
9053
9054 * profiler.el (profiler-sampling-interval): Change default back to 1.
9055 See Stefan Monnier in
9056 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
9057
9058 2012-10-01 Fabián Ezequiel Gallina <fgallina@cuca>
9059
9060 Shell output catching a la gud-gdb.
9061 * progmodes/python.el (python-shell-fetch-lines-in-progress)
9062 (python-shell-fetch-lines-string, python-shell-fetched-lines):
9063 New Vars.
9064 (python-shell-fetch-lines-filter): New function.
9065 (python-shell-send-string-no-output): Use them.
9066
9067 2012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
9068
9069 * profiler.el (profiler-sampling-interval): Rename from
9070 profiler-sample-interval.
9071 (profiler-sampling-interval): Default to 10.
9072 (profiler-find-profile): New command (was profiler-find-log).
9073 (profiler-find-profile-other-window): New command.
9074 (profiler-find-profile-other-frame): New command.
9075 (profiler-profile): Introduce API-level data structure.
9076
9077 2012-09-30 Paul Eggert <eggert@cs.ucla.edu>
9078
9079 file-attributes has a new optional arg FOLLOW-SYMLINKS.
9080 * files.el (remote-file-name-inhibit-cache):
9081 * time.el (display-time-file-nonempty-p): Use it.
9082 * files.el (after-find-file): Don't chase links before calling
9083 file-exists-p, as file-exists-p already does the right thing.
9084
9085 2012-09-30 Ralf Angeli <angeli@caeruleus.net>
9086
9087 Merge from standalone RefTeX repository.
9088
9089 The following ChangeLog entries are shortened versions of the
9090 original ones with file paths adapted. A not so strongly edited
9091 version of the original ChangeLog can be found in the commit log.
9092
9093 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
9094 (reftex-arg-cite): Use `reftex-cite-key-separator'.
9095 Correctly handle new value type returned by `reftex-citation'.
9096
9097 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
9098 that entries with whitespace at various places are found.
9099 Doc fix. Include entries that are cross-referenced from cited entries.
9100 Include @String definitions in the resulting bib file. Add header
9101 and footer defined in `reftex-create-bibtex-header' and
9102 `reftex-create-bibtex-footer'.
9103 (reftex-do-citation): Make it possible again to insert
9104 non-existent entries. Save match data when asking for optional
9105 arguments. Return all keys, not just the first one.
9106 (reftex-all-used-citation-keys): Fix regexp to correctly extract
9107 all citations in the same line.
9108 (reftex-parse-bibtex-entry): Accept additional optional argument
9109 `raw' and keep quotes or braces if it is non-nil. Match fields
9110 containing hyphens besides word constituents.
9111 (reftex-get-string-refs): New function.
9112 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
9113 and ask if it should be reread in case it did.
9114 (reftex-pop-to-bibtex-entry)
9115 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
9116 entries with spaces or tabs in front of arguments.
9117 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
9118 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
9119 Match entries containing numbers and symbol constituents.
9120 (reftex-do-citation, reftex-figure-out-cite-format):
9121 Use `reftex-cite-key-separator'.
9122
9123 * textmodes/reftex-dcr.el: Move provide statement to end of file.
9124 (reftex-mouse-view-crossref): Explain why point is set.
9125
9126 * textmodes/reftex-global.el: Whitespace changes.
9127
9128 * textmodes/reftex-index.el: Move provide statement to end of
9129 file.
9130 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
9131 (reftex-index-visit-phrases-buffer): Set marker when visiting
9132 buffer. This allows for returning from the phrases file to the
9133 file one was just editing instead of the file where the last
9134 phrases was added from.
9135 (reftex-index-phrases-syntax-table): New variable. Give ?\"
9136 punctuation syntax as it usually is not used as string quote in
9137 TeX-related modes and may occur unmatched. The change also
9138 prevents fontification of quoted content.
9139 (reftex-index-phrases-mode): Use it.
9140
9141 * textmodes/reftex-parse.el (reftex-parse-from-file):
9142 Move backward one char if a `\' was matched after a section macro.
9143 (reftex-parse-from-file): Use beginning of match instead of end as
9144 bound.
9145
9146 * textmodes/reftex-ref.el: Adapt creation of
9147 `reftex-<package>-<macro>' functions to new structure of
9148 `reftex-ref-style-alist'.
9149 (reftex-reference): Use `reftex-ref-style-list' function.
9150 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
9151 reference macro if `reftex-ref-macro-prompt' is non-nil.
9152 (reftex-reference): Pass refstyle to `reftex-format-special'.
9153 Determine reference macro by looking at
9154 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
9155 Use only one special format function.
9156 (reftex-varioref-vref, reftex-fancyref-fref)
9157 (reftex-fancyref-Fref): Remove definitions. The functions are now
9158 generated from `reftex-ref-style-alist'.
9159 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
9160 Remove.
9161 (reftex-format-special): New function.
9162
9163 * textmodes/reftex-sel.el
9164 (reftex-select-cycle-ref-style-internal): Adapt to new structure
9165 of `reftex-ref-style-alist'. Remove code for testing macro type.
9166 (reftex-select-toggle-varioref)
9167 (reftex-select-toggle-fancyref): Remove.
9168 (reftex-select-cycle-ref-style-internal)
9169 (reftex-select-cycle-ref-style-forward)
9170 (reftex-select-cycle-ref-style-backward): New functions.
9171 (reftex-select-label-map): Use `v' and `V' for general cycling
9172 through reference styles. Add `p' for switching between number
9173 and page reference types.
9174
9175 * textmodes/reftex-toc.el (reftex-re-enlarge):
9176 Call `enlarge-window' only if there is something to do because in Emacs
9177 the horizontal version throws an error even if the parameter is 0.
9178
9179 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
9180 (reftex-plug-into-AUCTeX): Doc fix.
9181 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
9182 string. Adapt to new name.
9183 (reftex-ref-style-alist): Change structure so that it is not
9184 possible to use multiple different package names within a style.
9185 Remove the symbols for symbols for macro type distinction.
9186 Add characters for macro selection.
9187 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
9188 (reftex-create-bibtex-footer): New variables.
9189 (reftex-format-ref-function): Mention third argument of special
9190 format function.
9191 (reftex-ref-style-alist, reftex-ref-style-default-list):
9192 New variables.
9193 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
9194 to new implementation. Mark as obsolete. Add compatibility code
9195 for honoring the variable values in case they are set.
9196 (reftex-cite-format-builtin, reftex-bibliography-commands):
9197 Add support for ConTeXt.
9198 (reftex-format-ref-function, reftex-format-cite-function):
9199 Fix custom type.
9200 (reftex-cite-key-separator): New variable.
9201
9202 * textmodes/reftex.el (reftex-syntax-table-for-bib)
9203 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
9204 `reftex-syntax-table' because parens have to retain their paren
9205 syntax in order for parsing of BibTeX entries like @book(...) to
9206 work.
9207 (reftex-in-comment): Do not error out if `comment-start-skip' is
9208 not set. Deal correctly with escaped comment characters.
9209 (reftex-tie-multifile-symbols): Add doc string.
9210 Initialize `reftex-ref-style-list'.
9211 (reftex-untie-multifile-symbols): Add doc string.
9212 (reftex-add-index-macros): Doc fix.
9213 (reftex-ref-style-activate, reftex-ref-style-toggle)
9214 (reftex-ref-style-list): New functions.
9215 (reftex-mode-menu): Use them. Adapt to new structure of
9216 `reftex-ref-style-alist'.
9217 (reftex-select-with-char): Kill the RefTeX Select buffer when
9218 done.
9219 (reftex-remove-if): New function.
9220 (reftex-erase-all-selection-and-index-buffers)
9221 (reftex-mode-menu): Reference styles are now computed from
9222 `reftex-ref-style-alist'. Fix typo.
9223 (reftex-report-bug): New function.
9224 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
9225 algorithms with O(n log n). Introduce optional argument SORT (not
9226 yet used).
9227
9228 2012-09-30 Fabián Ezequiel Gallina <fgallina@cuca>
9229
9230 Enhancements for triple-quote string syntax.
9231 * progmodes/python.el (python-syntax-propertize-function):
9232 Match both quote cases in one regexp.
9233 (python-syntax-stringify): Handle matches properly.
9234
9235 2012-09-30 Juri Linkov <juri@jurta.org>
9236
9237 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
9238 to nil around the call to `insert' to prevent
9239 directory time modification by lock_file. (Bug#2295)
9240 * tar-mode.el (tar-summarize-buffer): Idem.
9241
9242 2012-09-30 Juri Linkov <juri@jurta.org>
9243
9244 * facemenu.el (list-colors-sort): Add option "Luminance".
9245 (list-colors-sort-key): Implement it.
9246
9247 * vc/diff-mode.el (diff-refine-removed):
9248 * vc/ediff-init.el (ediff-fine-diff-A):
9249 * vc/smerge-mode.el (smerge-refined-removed):
9250 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
9251
9252 2012-09-30 Jan Djärv <jan.h.d@swipnet.se>
9253
9254 * term/ns-win.el (x-file-dialog): New function.
9255
9256 2012-09-30 Juanma Barranquero <lekktu@gmail.com>
9257
9258 * ido.el (ido-max-directory-size): Default to nil; the current
9259 default is small for POSIX systems, and impractical on Windows 7
9260 now that lstat returns directory sizes for NTFS.
9261
9262 2012-09-30 Martin Rudalics <rudalics@gmx.at>
9263
9264 In buffer display functions handle window-height/window-width
9265 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
9266 * window.el (window--display-buffer): New argument ALIST.
9267 Obey window-height and window-width alist entries.
9268 (window--try-to-split-window): New argument ALIST.
9269 Bind window-combination-limit to t when the window's size shall be
9270 changed and window-combination-limit equals `window-size'.
9271 (display-buffer-in-atom-window)
9272 (display-buffer-in-major-side-window)
9273 (display-buffer-in-side-window, display-buffer-same-window)
9274 (display-buffer-reuse-window, display-buffer-pop-up-frame)
9275 (display-buffer-pop-up-window, display-buffer-below-selected)
9276 (display-buffer-at-bottom, display-buffer-in-previous-window)
9277 (display-buffer-use-some-window): Adjust all callers of
9278 window--display-buffer and window--try-to-split-window.
9279 (fit-frame-to-buffer): New option.
9280 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
9281 is non-nil.
9282 (display-buffer-in-major-side-window): Evaluate window-height /
9283 window-width alist entries.
9284
9285 * help.el (temp-buffer-resize-frames)
9286 (temp-buffer-resize-regexps): Remove options.
9287 (temp-buffer-resize-mode): Adjust doc-string.
9288 (resize-temp-buffer-window): Don't consult
9289 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
9290 temp-buffer-resize-frames.
9291
9292 * dired.el (dired-mark-pop-up):
9293 Call display-buffer-below-selected with a fit-window-to-buffer alist
9294 entry.
9295
9296 2012-09-30 Chong Yidong <cyd@gnu.org>
9297
9298 * server.el (server-host): Document the security implications.
9299 (server-auth-key): Doc fix.
9300
9301 * startup.el (initial-buffer-choice): Doc fix.
9302
9303 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
9304
9305 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
9306 restriction change.
9307
9308 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
9309
9310 * help-fns.el (help-fns--obsolete): Fix last change.
9311
9312 2012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
9313
9314 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
9315 (minor-mode-map-alist): Remove redundant code.
9316
9317 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
9318 visited in a buffer.
9319 (cvs-insert-visited-file): New function.
9320 (find-file-hook): Use it.
9321
9322 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
9323
9324 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
9325 chose face.
9326 (log-edit-empty-buffer-p): Don't require a space after a header.
9327
9328 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
9329
9330 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
9331
9332 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
9333 a proper minor-mode.
9334
9335 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
9336
9337 2012-09-29 Glenn Morris <rgm@gnu.org>
9338
9339 * winner.el (winner-mode): Remove variable (let define-minor-mode
9340 handle it).
9341 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
9342 Doc fixes.
9343 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
9344 (winner-mode): Use define-minor-mode.
9345
9346 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
9347 the full definition in loaddefs, rather than duplicating it.
9348
9349 * help-macro.el (three-step-help): No need to autoload defcustom.
9350
9351 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
9352 (inferior-lisp-program, inferior-lisp-load-command)
9353 (inferior-lisp-prompt, inferior-lisp-mode-hook):
9354 No need to autoload defcustoms.
9355
9356 * hippie-exp.el (hippie-expand-try-functions-list)
9357 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
9358 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
9359 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
9360 (hippie-expand-only-buffers): No need to autoload defcustoms.
9361 * progmodes/vhdl-mode.el (vhdl-line-expand):
9362 Explicitly load hippie-exp, so it does not get autoloaded
9363 while hippie-expand-try-functions-list is let-bound.
9364
9365 2012-09-28 Glenn Morris <rgm@gnu.org>
9366
9367 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
9368
9369 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
9370 Only "cl.el" counts as cl these days.
9371
9372 2012-09-28 Juri Linkov <juri@jurta.org>
9373
9374 Display archive errors in the echo area instead of inserting
9375 to the file buffer.
9376
9377 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
9378 to STDERR-TEST that can be a regexp matching a successful output.
9379 Create a temporary file and redirect stderr to it. Search for
9380 STDERR-TEST in the stderr output and display it in the echo area
9381 if no match is found.
9382 (archive-extract-by-file): New function like
9383 `archive-extract-by-stdout' but extracting archives to files
9384 and looking for successful matches in stdout. Function body is
9385 mostly copied from `archive-rar-extract'.
9386 (archive-rar-extract): Use `archive-extract-by-file'.
9387 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
9388
9389 2012-09-28 Leo Liu <sdl.web@gmail.com>
9390
9391 * pcomplete.el (pcomplete-show-completions):
9392 Use minibuffer-message to make pcomplete usable in minibuffer.
9393
9394 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
9395
9396 2012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
9397
9398 * type-break.el: Use lexical-binding.
9399 (type-break-mode): Use define-minor-mode.
9400
9401 * emacs-lisp/pcase.el (pcase--mark-used): New.
9402 (pcase--u1): Use it (bug#12512).
9403
9404 * custom.el (load-theme): Set buffer-file-name so the load is recorded
9405 in load-history with the right file name.
9406
9407 2012-09-28 Tassilo Horn <tsdh@gnu.org>
9408
9409 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
9410 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
9411 (doc-view-get-bounding-box): Make bounding box slicing work for
9412 ODF and DVI documents.
9413
9414 2012-09-28 Glenn Morris <rgm@gnu.org>
9415
9416 * type-break.el (type-break-mode, type-break-interval)
9417 (type-break-good-rest-interval, type-break-keystroke-threshold):
9418 No need to autoload.
9419 (type-break-good-rest-interval, type-break-keystroke-threshold):
9420 Add :set-after.
9421
9422 2012-09-28 Chong Yidong <cyd@gnu.org>
9423
9424 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
9425 Add :version tag.
9426
9427 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
9428
9429 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
9430
9431 2012-09-27 Glenn Morris <rgm@gnu.org>
9432
9433 * faces.el (x-display-name): Declare (for without-x builds).
9434
9435 * linum.el (linum-format): Don't autoload it. Improve :type.
9436
9437 * progmodes/tcl.el: Don't require outline when compiling.
9438 (outline-regexp, outline-level): Declare.
9439 * textmodes/sgml-mode.el: Don't require outline when compiling.
9440 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
9441
9442 * term.el (term-ansi-reset):
9443 Try setting term-ansi-face-already-done to nil. (Bug#11785)
9444
9445 * vc/vc.el (vc-next-action): Only gripe about committing read-only
9446 files for RCS and SCCS. (Bug#9781)
9447
9448 2012-09-27 Chong Yidong <cyd@gnu.org>
9449
9450 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
9451 change; value should be t.
9452
9453 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
9454
9455 * image-mode.el: Use lexical-binding.
9456 (image-mode-winprops): Use t to stand for the window of
9457 a buffer that's not displayed.
9458 * doc-view.el (doc-view-new-window-function): Handle the new
9459 t in winprops.
9460 (doc-view-enlarge): Make it a real nop if the size is not changed.
9461 (doc-view-display): Handle the case where the buffer is not (yet?)
9462 displayed in any window.
9463 (doc-view-saved-settings): New var.
9464 (doc-view-mode): Use it.
9465 (doc-view-fallback-mode): Set it.
9466
9467 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
9468 Set lexical-binding.
9469 (minibuffer-eldef-shorten-default): New var.
9470 (minibuffer-default-in-prompt-regexps): Use it for new default.
9471 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
9472
9473 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
9474
9475 * international/uni-bidi.el:
9476 * international/uni-category.el:
9477 * international/uni-name.el:
9478 * international/uni-numeric.el: Regenerate.
9479
9480 2012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
9481 Stefan Monnier <monnier@iro.umontreal.ca>
9482
9483 * profiler.el: New file.
9484
9485 2012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
9486
9487 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
9488 (testcover-reinstrument): Simplify with CSE.
9489
9490 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
9491
9492 * window.el (temp-buffer-window-setup): Fix typo in docstring.
9493
9494 2012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
9495
9496 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
9497 (verilog-auto-input, verilog-auto-insert-lisp)
9498 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
9499 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
9500 (verilog-auto-unused, verilog-auto-wire)
9501 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
9502 newline. Reported by Andrew Jones.
9503 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
9504 Reported by Brad Dobbie.
9505 (verilog-batch-delete-trailing-whitespace):
9506 Create verilog-batch-delete-trailing-whitespace.
9507 Reported by Brad Dobbie.
9508 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
9509 parameters from another module. Reported by Dan Katz.
9510 (verilog-auto, verilog-auto-assign-modport)
9511 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
9512 AUTOINOUTMODPORT for UVM interface module shell generation.
9513 Reported by Brad Dobbie.
9514 (verilog-auto-inst-interfaced-ports): Make default nil, as more
9515 standard behavior.
9516 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
9517 Reported by Matt Martin.
9518
9519 2012-09-25 Martin Rudalics <rudalics@gmx.at>
9520
9521 * window.el (window--resize-child-windows): When resizing child
9522 windows proportionally, process them in reverse order to
9523 preserve the "when splitting a window the new one gets the odd
9524 line" behavior.
9525 (window--resize-root-window-vertically): When resizing the
9526 minibuffer window try to affect only windows at the bottom of the
9527 frame. (Bug#12419)
9528
9529 2012-09-25 Chong Yidong <cyd@gnu.org>
9530
9531 * subr.el (declare): Doc fix.
9532
9533 * help-fns.el (help-fns--obsolete): Handle macros properly.
9534
9535 2012-09-25 Chong Yidong <cyd@gnu.org>
9536
9537 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
9538 this function obsolete.
9539
9540 * calendar/cal-x.el (calendar-two-frame-setup)
9541 (calendar-only-one-frame-setup, calendar-one-frame-setup):
9542 * calendar/calendar.el (american-calendar, european-calendar)
9543 (calendar-for-loop):
9544 * comint.el (comint-dynamic-simple-complete)
9545 (comint-dynamic-complete-as-filename, comint-unquote-filename):
9546 * desktop.el (desktop-load-default):
9547 * dired-x.el (dired-omit-here-always)
9548 (dired-hack-local-variables, dired-default-directory):
9549 * emacs-lisp/derived.el (derived-mode-class):
9550 * emacs-lisp/timer.el (timer-set-time-with-usecs):
9551 * emacs-lock.el (toggle-emacs-lock):
9552 * epa.el (epa-display-verify-result):
9553 * epg.el (epg-sign-keys, epg-start-sign-keys)
9554 (epg-passphrase-callback-function):
9555 * eshell/esh-util.el (eshell-for):
9556 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
9557 (eshell-add-to-window-buffer-names):
9558 * files.el (locate-file-completion):
9559 * imenu.el (imenu-example--create-c-index)
9560 (imenu-example--create-lisp-index)
9561 (imenu-example--lisp-extract-index-name)
9562 (imenu-example--name-and-position):
9563 * international/mule-cmds.el (princ-list):
9564 * international/mule-diag.el (decode-codepage-char):
9565 * international/mule-util.el (detect-coding-with-priority):
9566 * iswitchb.el (iswitchb-read-buffer):
9567 * mail/mailalias.el (mail-complete):
9568 * mail/sendmail.el (mail-sent-via):
9569 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
9570 (mouse-major-mode-menu):
9571 * password-cache.el (password-read-and-add):
9572 * pcomplete.el (pcomplete-parse-comint-arguments):
9573 * progmodes/sh-script.el (sh-maybe-here-document):
9574 * replace.el (query-replace-regexp-eval):
9575 * savehist.el (savehist-load):
9576 * simple.el (choose-completion-delete-max-match):
9577 * term.el (term-dynamic-simple-complete):
9578 * vc/ediff-init.el (ediff-check-version):
9579 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
9580 * vc/vc.el (vc-diff-switches-list):
9581 * view.el (view-return-to-alist-update): Likewise.
9582
9583 * subr.el (eval-next-after-load, makehash, insert-string)
9584 (assoc-ignore-representation, assoc-ignore-case): Use declare to
9585 mark obsolete.
9586 (mode-line-inverse-video): Variable deleted.
9587
9588 * international/mule-util.el (string-to-sequence): Remove.
9589
9590 * calendar/calendar.el (calendar-version):
9591 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
9592 (icalendar-convert-diary-to-ical):
9593 * cus-edit.el (custom-mode):
9594 * ansi-color.el (ansi-color-unfontify-region):
9595 * international/latin1-disp.el (latin1-char-displayable-p):
9596 * progmodes/cwarn.el (turn-on-cwarn-mode):
9597 * progmodes/which-func.el (which-func-update-1):
9598 Use define-obsolete-function-alias.
9599
9600 * net/newst-backend.el (newsticker-cache-filename):
9601 * net/newst-treeview.el (newsticker-groups-filename):
9602 Fix incorrect obsolescence declaration.
9603
9604 * allout.el (allout-passphrase-hint-string): Likewise.
9605 (allout-init): Use a declare form to mark obsolete.
9606
9607 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
9608 this applies to functions.
9609
9610 * iswitchb.el (iswitchb-read-buffer): Move code of
9611 iswitchb-define-mode-map here, and delete that obsolete function.
9612
9613 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
9614 font-lock-reference-face.
9615
9616 2012-09-25 Glenn Morris <rgm@gnu.org>
9617
9618 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
9619 Doc fixes.
9620
9621 * eshell/em-term.el (eshell-term-name):
9622 Default to term-term-name. (Bug#12485)
9623
9624 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
9625
9626 * progmodes/python.el (python-shell-send-buffer): Better handling
9627 of "if __name__ == '__main__':" conditionals when sending the buffer.
9628
9629 2012-09-24 Glenn Morris <rgm@gnu.org>
9630
9631 * eshell/esh-cmd.el (eshell-find-alias-function):
9632 Tighten up file-name regexp. (Bug#12499)
9633
9634 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
9635
9636 Enhancements for triple-quote string syntax.
9637 * progmodes/python.el (python-quote-syntax): Remove.
9638 (python-syntax-propertize-function): New value.
9639 (python-syntax-count-quotes, python-syntax-stringify):
9640 New functions.
9641
9642 2012-09-24 Chong Yidong <cyd@gnu.org>
9643
9644 * mail/supercite.el (sc-version): Remove obsolete function.
9645 (sc-describe): Don't mark as obsolete, since it is bound.
9646 (sc-submit-bug-report): Remove.
9647
9648 * vc/log-edit.el (cvs-changelog-full-paragraphs)
9649 (cvs-commit-buffer-require-final-newline): Remove.
9650 (log-edit-require-final-newline)
9651 (log-edit-changelog-full-paragraphs): Default to t.
9652
9653 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
9654 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
9655 * vc/vc.el (vc-checkout-carefully): Likewise.
9656
9657 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
9658 (emerge-version): Remove.
9659
9660 * progmodes/compile.el (compile-internal): Remove.
9661 (compilation-parse-errors-function): Fix typo.
9662
9663 * international/mule.el (set-char-table-default): Remove.
9664 (set-coding-priority, make-coding-system, generic-char-p)
9665 (charset-list, charset-bytes, charset-id): Use declare to mark
9666 functions as obsolete.
9667
9668 * vc/pcvs-defs.el (cvs-buffer-name-alist)
9669 (cvs-invert-ignore-marks): Remove references to obsolete vars.
9670 * vc/vc-hooks.el (vc-default-registered): Don't use
9671 vc-master-templates.
9672
9673 * font-lock.el (font-lock-reference-face):
9674 Use define-obsolete-variable-alias.
9675
9676 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
9677 * calendar/calendar.el (calendar-font-lock-keywords):
9678 * calendar/diary-lib.el (diary-font-lock-keywords)
9679 (diary-fancy-font-lock-keywords):
9680 * textmodes/reftex-sel.el (reftex-insert-docstruct):
9681 * textmodes/reftex-index.el (reftex-insert-index):
9682 * textmodes/reftex-cite.el (reftex-format-bib-entry):
9683 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
9684 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
9685 * progmodes/prolog.el (prolog-font-lock-keywords):
9686 * progmodes/idlwave.el (idlwave-idl-keywords):
9687 * progmodes/ada-mode.el (ada-font-lock-keywords):
9688 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
9689
9690 2012-09-24 Glenn Morris <rgm@gnu.org>
9691
9692 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
9693
9694 2012-09-23 Fabián Ezequiel Gallina <fgallina@cuca>
9695
9696 * progmodes/python.el (python-indent-line): More consistent cursor
9697 movement behavior.
9698
9699 2012-09-23 Stefan Merten <smerten@oekonux.de>
9700
9701 * textmodes/rst.el: Fix compiler warning.
9702
9703 2012-09-23 Roland Winkler <winkler@gnu.org>
9704
9705 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
9706 Transcribe also LaTeX hyphenation.
9707 (bibtex-reformat): Bug fix. Do not quote twice the elements of
9708 bibtex-reformat-previous-options.
9709
9710 2012-09-23 Roland Winkler <winkler@gnu.org>
9711
9712 * proced.el (proced-renice-command): New variable.
9713 (proced-marked-processes): New function.
9714 (proced-with-processes-buffer): New macro.
9715 (proced-send-signal): Use them.
9716 (proced-renice): New command bound to r.
9717
9718 2012-09-23 Roland Winkler <winkler@gnu.org>
9719
9720 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
9721 ibuffer-saved-filter-groups has one element, shortcut the call of
9722 completing-read. (Bug#12331)
9723
9724 2012-09-23 Chong Yidong <cyd@gnu.org>
9725
9726 * bindings.el (mode-line-toggle-read-only):
9727 * bs.el (bs-toggle-readonly):
9728 * buff-menu.el (Buffer-menu-toggle-read-only):
9729 * dired.el (dired-toggle-read-only):
9730 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
9731
9732 2012-09-23 Chong Yidong <cyd@gnu.org>
9733
9734 * image.el (image-type-available-p): Adapt to init-image-library
9735 argument changes.
9736
9737 2012-09-22 Juri Linkov <juri@jurta.org>
9738
9739 * dired.el (dired-mode-map): Add [remap read-only-mode] for
9740 `dired-toggle-read-only'. (Bug#12462)
9741
9742 2012-09-22 Martin Rudalics <rudalics@gmx.at>
9743
9744 * subr.el (temp-output-buffer-show): New function.
9745 (with-output-to-temp-buffer): Call temp-output-buffer-show
9746 instead of internal-temp-output-buffer-show.
9747
9748 2012-09-22 Chong Yidong <cyd@gnu.org>
9749
9750 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
9751 (Bug#12462).
9752
9753 * repeat.el (repeat): Doc fix (Bug#12348).
9754
9755 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
9756 (Bug#10909).
9757
9758 * simple.el (shell-command-on-region): Doc fix.
9759 (read-only-mode): Doc fix.
9760
9761 2012-09-22 Eli Zaretskii <eliz@gnu.org>
9762
9763 * emacs-lisp/timer.el (run-with-idle-timer)
9764 (timer-activate-when-idle): Warn against reinvoking an idle timer
9765 from within its own timer action. (Bug#12447)
9766
9767 2012-09-22 Martin Rudalics <rudalics@gmx.at>
9768
9769 * cus-start.el (window-combination-limit): Add new optional
9770 values.
9771 * window.el (temp-buffer-window-show)
9772 (window--try-to-split-window): Handle new values of
9773 window-combination-limit (Bug#1806).
9774 (split-window): Test window-combination-limit for t instead of
9775 non-nil.
9776 (display-buffer-at-bottom): New buffer display action function.
9777 * help.el (temp-buffer-resize-regexps): New option.
9778 (temp-buffer-resize-mode): Rewrite doc-string.
9779 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
9780 Don't resize reused window. Suggested by Glenn Morris.
9781
9782 2012-09-22 Stefan Merten <smerten@oekonux.de>
9783
9784 * textmodes/rst.el: Revamp section title faces.
9785 (rst-official-version)
9786 (rst-package-emacs-version-alist): Sync with official version
9787 V1.4.0.
9788 (rst-faces-defaults, rst-set-level-default)
9789 (rst-level-face-max, rst-level-face-base-color)
9790 (rst-level-face-base-light, rst-level-face-format-light)
9791 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
9792 (rst-adornment-faces-alist): Match new setup.
9793 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
9794 (rst-level-5, rst-level-6): New faces.
9795
9796 2012-09-22 Chong Yidong <cyd@gnu.org>
9797
9798 * simple.el (undo): Handle indirect buffers (Bug#8207).
9799
9800 2012-09-21 Leo Liu <sdl.web@gmail.com>
9801
9802 IDO: Disable match re-ordering for buffer switching.
9803 * ido.el (ido-buffer-disable-smart-matches): New variable.
9804 (ido-set-matches-1): Use it. (Bug#2042)
9805
9806 2012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
9807
9808 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
9809 Fix 2011-05-17 change. (Bug#12418)
9810
9811 2012-09-21 Leo Liu <sdl.web@gmail.com>
9812
9813 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
9814
9815 2012-09-21 Glenn Morris <rgm@gnu.org>
9816
9817 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
9818 Be more robust about locating simple.el.
9819
9820 2012-09-21 Glenn Morris <rgm@gnu.org>
9821
9822 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
9823
9824 2012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
9825
9826 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
9827
9828 2012-09-20 Juri Linkov <juri@jurta.org>
9829
9830 * replace.el (query-replace-read-from): Use `read-regexp' instead
9831 of `read-from-minibuffer' when `regexp-flag' is non-nil.
9832 (occur-read-primary-args): Use `read-regexp' instead of
9833 `read-string'.
9834 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
9835 `read-from-minibuffer'.
9836 * isearch.el (isearch-occur): Use `read-regexp' instead of
9837 `read-string'.
9838 * dired.el (dired-read-regexp): Use `read-regexp' instead of
9839 `read-from-minibuffer'.
9840 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
9841 of `read-string'. (Bug#7567)
9842
9843 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
9844 and allow accepting a list of strings prepended to a list of
9845 standard default values. Doc fix. (Bug#12321)
9846
9847 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
9848
9849 * replace.el (read-regexp): Don't add ": " when PROMPT already
9850 ends with a colon and space. (Bug#12321)
9851
9852 2012-09-20 Tassilo Horn <tsdh@gnu.org>
9853
9854 * doc-view.el (doc-view-display): Better fix for the cl-assertion
9855 error.
9856
9857 2012-09-20 Stefan Merten <smerten@oekonux.de>
9858
9859 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
9860 Fixes feature request bug#11711.
9861 (rst-mode): Create `imenu-create-index-function'.
9862 (rst-get-stripped-line): Delete after refactoring.
9863 (rst-section-tree, rst-section-tree-rec)
9864 (rst-section-tree-point): Refactor and document properly.
9865 (rst-imenu-find-adornments-for-position)
9866 (rst-imenu-convert-cell, rst-imenu-create-index):
9867 New function.
9868
9869 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
9870
9871 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
9872 (macroexp--expand-all): Use it.
9873 (macroexp--funcall-and-return): Remove by folding it into its sole
9874 caller (macroexp--warn-and-return).
9875 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
9876 Use macroexp--obsolete-warning.
9877
9878 * calc/calc.el: Fix last change by removing the whole chunk, since it
9879 was only needed back when Calc was not bundled.
9880
9881 2012-09-20 Martin Rudalics <rudalics@gmx.at>
9882
9883 * emacs-lisp/debug.el (debug): Restore assignment to
9884 debugger-old-buffer removed on 2012-09-08.
9885
9886 2012-09-20 Juri Linkov <juri@jurta.org>
9887
9888 * dired-aux.el (dired-diff): Remove (require 'diff) since
9889 `diff-latest-backup-file' is now autoloaded.
9890
9891 2012-09-20 Chong Yidong <cyd@gnu.org>
9892
9893 * vc/diff.el (diff-latest-backup-file): Autoload.
9894
9895 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
9896
9897 * calc/calc.el: Remove redundant autoload shape check.
9898 (sel-mode): Don't defvar.
9899 (calc-get-stack-element): Add `sel-mode' arg instead.
9900 (calc-top, calc-top-list): Pass it this additional argument.
9901 * calc/calc-store.el (calc-store-map):
9902 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
9903 (calc-map-equation, calc-outer-product, calc-inner-product):
9904 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
9905
9906 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
9907
9908 2012-09-19 Juri Linkov <juri@jurta.org>
9909
9910 * dired-aux.el (dired-diff): Add (require 'diff) because
9911 `diff-latest-backup-file' is not autoloaded.
9912 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
9913 of `dired-get-filename' to t to not report error when there is
9914 no default file on the current line.
9915
9916 2012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
9917
9918 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
9919 macroexp--eval-if-compile.
9920 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
9921 (macroexp--expand-all): Use them (bug#12371).
9922
9923 * doc-view.el (doc-view-guess-paper-size)
9924 (doc-view-scale-bounding-box): Fix unbound `caddr'.
9925
9926 2012-09-19 Tassilo Horn <tsdh@gnu.org>
9927
9928 New feature: set optimal slice from BoundingBox information.
9929 * doc-view.el (doc-view-mode-map): Add keybinding.
9930 (doc-view-menu): Add menu entry.
9931 (doc-view-set-slice): Adapt docstring.
9932 (doc-view-get-bounding-box, doc-view-guess-paper-size)
9933 (doc-view-scale-bounding-box)
9934 (doc-view-set-slice-from-bounding-box): New functions.
9935 (doc-view-paper-sizes): New defvar.
9936
9937 2012-09-19 Glenn Morris <rgm@gnu.org>
9938
9939 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
9940 (byte-compile-log-warning): Autoload. (Bug#12371)
9941
9942 * calendar/calendar.el (calendar-american-month-header)
9943 (calendar-european-month-header, calendar-iso-month-header)
9944 (calendar-month-header): New options.
9945 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
9946 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
9947
9948 2012-09-19 Jan Djärv <jan.h.d@swipnet.se>
9949
9950 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
9951
9952 2012-09-18 Juri Linkov <juri@jurta.org>
9953
9954 * dired-aux.el (dired-diff): Restore original functionality of
9955 getting the default value, but keep new feature of using the
9956 latest existing backup file (`diff-latest-backup-file').
9957
9958 2012-09-18 Juri Linkov <juri@jurta.org>
9959
9960 * dired.el (dired-mark): If the region is active in Transient Mark
9961 mode, mark all files in the active region. Doc fix.
9962 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
9963 Doc fix. (Bug#10624)
9964
9965 2012-09-18 Juri Linkov <juri@jurta.org>
9966
9967 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
9968 attributes for M-n are pulled from the file at point.
9969 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
9970 Suggested by Drew Adams. (Bug#10624)
9971
9972 2012-09-18 Dmitry Gutov <dgutov@yandex.ru>
9973
9974 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
9975 whitespace after "end".
9976 (ruby-do-end-to-brace): Collapse block to one line if it fits
9977 within fill-column.
9978
9979 2012-09-18 Martin Rudalics <rudalics@gmx.at>
9980
9981 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
9982 value.
9983 (debug): Don't remove debugger window when debugger is expected
9984 to be back.
9985
9986 2012-09-18 Chong Yidong <cyd@gnu.org>
9987
9988 * custom.el (defface): Doc fix.
9989
9990 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
9991
9992 2012-09-18 Martin Blais <blais@furius.ca> (tiny change)
9993
9994 * progmodes/compile.el (compilation-start): Use compilation-always-kill
9995 to initialize query-on-exit; then test that instead (bug#12288).
9996
9997 2012-09-17 Stefan Merten <smerten@oekonux.de>
9998
9999 * textmodes/rst.el: Add support for `testcover'.
10000 (rst-defcustom-testcover, rst-testcover-add-compose)
10001 (rst-testcover-add-1value): New functions.
10002 (rst-portable-mark-active-p): Replace by `use-region-p'.
10003 (rst-update-section, rst-classify-adornment)
10004 (rst-find-title-line): Mark `1value' forms.
10005 (rst-classify-adornment): Remove superfluous form.
10006 (rst-update-section, rst-get-adornments-around)
10007 (rst-adornment-complete-p, rst-get-next-adornment)
10008 (rst-adjust, rst-promote-region)
10009 (rst-display-adornments-hierarchy, rst-straighten-adornments)
10010 (rst-find-pfx-in-region, rst-section-tree-rec)
10011 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
10012 (rst-toc-node, rst-toc, rst-forward-section)
10013 (rst-iterate-leftmost-paragraphs)
10014 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
10015 (rst-bullet-list-region)
10016 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
10017 (rst-compile-find-conf, rst-compile)
10018 (rst-repeat-last-character): Fix style.
10019
10020 2012-09-17 Chong Yidong <cyd@gnu.org>
10021
10022 * comint.el (comint--complete-file-name-data): Don't add a space
10023 if the status is `sole'; that adds a gratuitous space in the
10024 completion-cycling case (Bug#12092).
10025
10026 * pcomplete.el (pcomplete-completions-at-point): Likewise.
10027
10028 2012-09-17 Richard Stallman <rms@gnu.org>
10029
10030 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
10031 only in the mime-shown mode, not in raw mode.
10032 (rmail-mime): Toggle off mime by displaying the message without
10033 mime processing. (Bug#12305)
10034
10035 * mail/rmail.el (rmail-retry-failure):
10036 Turn off mime processing first. (Bug#12037)
10037
10038 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
10039
10040 2012-09-17 Chong Yidong <cyd@gnu.org>
10041
10042 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
10043 (shell-dynamic-complete-functions): Convert to defcustom.
10044 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
10045
10046 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
10047 * comint.el (comint-prompt-read-only):
10048 * custom.el (defcustom):
10049 * hi-lock.el (hi-lock-mode):
10050 * ibuffer.el (ibuffer-formats):
10051 * ielm.el (ielm-prompt-read-only):
10052 * novice.el (disable-command):
10053 * saveplace.el (toggle-save-place):
10054 * speedbar.el (speedbar-supported-extension-expressions):
10055 * startup.el (auto-save-list-file-prefix, init-file-user)
10056 (after-init-hook, inhibit-startup-echo-area-message):
10057 * strokes.el (strokes-help):
10058 * time-stamp.el (time-stamp):
10059 * calendar/calendar.el (calendar, diary-file):
10060 * calendar/diary-lib.el (diary-mail-entries, diary)
10061 (diary-list-entries-hook):
10062 * calendar/holidays.el (holidays, calendar-holidays):
10063 * calendar/lunar.el (lunar-phases):
10064 * calendar/solar.el (sunrise-sunset):
10065 * emulation/edt.el (edt-load-keys):
10066 * emulation/viper.el (viper-mode):
10067 * eshell/em-alias.el (eshell-command-aliases-list):
10068 * eshell/esh-util.el (eshell-convert-numeric-arguments):
10069 * international/ogonek.el (ogonek-information):
10070 * net/tramp-cmds.el (tramp-bug):
10071 * net/quickurl.el (quickurl-reread-hook-postfix):
10072 * play/decipher.el (decipher-font-lock-keywords):
10073 * progmodes/cc-styles.el (c-set-style):
10074 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
10075 * progmodes/inf-lisp.el (inferior-lisp-prompt):
10076 * progmodes/octave-mod.el (octave-mode):
10077 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
10078 * progmodes/verilog-mode.el (verilog-read-defines):
10079 * textmodes/two-column.el (2C-mode): Likewise.
10080
10081 2012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
10082
10083 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
10084 that holds many addresses.
10085
10086 2012-09-16 Chong Yidong <cyd@gnu.org>
10087
10088 * align.el (align-areas): Call the indication function with
10089 positions instead of markers for arguments (Bug#12343).
10090
10091 * files.el (parse-colon-path): Use split-string (Bug#12351).
10092
10093 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
10094 (display-buffer-function): Mark as obsolete.
10095
10096 * progmodes/compile.el (compilation-parse-errors): Accept list
10097 values similar to font-lock-keywords (Bug#12136).
10098 Suggested by Oleksandr Manzyuk.
10099 (compilation-error-regexp-alist): Doc fix.
10100
10101 2012-09-15 Glenn Morris <rgm@gnu.org>
10102
10103 * version.el (emacs-bzr-version-bzr): New function.
10104 (emacs-bzr-get-version): Add optional EXTERNAL argument.
10105
10106 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
10107 checkouts, check the parent dirstate matches the branch.
10108 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
10109 empty string.
10110
10111 * version.el (emacs-bzr-version): Doc fix.
10112 (emacs-bzr-version-dirstate): New function.
10113 (emacs-bzr-get-version): For lightweight checkouts, if the parent
10114 is local try and check that it matches the branch. If not, just
10115 use dirstate information. (Bug#12441)
10116
10117 2012-09-14 Juri Linkov <juri@jurta.org>
10118
10119 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
10120 (Bug#12399)
10121
10122 2012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
10123
10124 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
10125
10126 * emacs-lisp/edebug.el: Miscellaneous cleanup.
10127 Remove obsolete byte-compiler hack that tried to silence some warnings.
10128 (edebug-submit-bug-report): Remove.
10129 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
10130 Remove aliases, use the un-prefixed name instead.
10131 (edebug-pop-to-buffer): Consider other frames.
10132 (edebug-original-read):: Make it more obvious that it's always defined.
10133 (edebug--make-form-data-entry, edebug--form-data-name)
10134 (edebug--form-data-begin, edebug--form-data-end): Rename from the
10135 single-dashed name, and implement with cl-defstruct.
10136 (edebug-set-form-data-entry): Use the standard accessors.
10137 (edebug-make-top-form-data-entry): Use push.
10138 (edebug-no-match): Drop useless `funcall'.
10139 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
10140 to functions.
10141 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
10142 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
10143 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
10144 (easy-menu-define, with-custom-print): Remove redundant specs.
10145 (edebug-outside-overriding-local-map)
10146 (edebug-outside-overriding-terminal-local-map): Remove, unused.
10147 (edebug--display): Bind unread-command-events directly to nil rather
10148 than binding it to unread-command-events and later setting it to nil.
10149 (edebug--display): Kill edebug-eval-buffer here...
10150 (edebug--recursive-edit): ...rather than here.
10151 Bind standard-output and standard-input.
10152 (edebug-eval): Check cl-macroexpand-all is fboundp.
10153 (edebug-temp-display-freq-count): Fix last change.
10154
10155 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
10156 * subr.el (noreturn, 1value): Add `debug' spec.
10157 * emacs-lisp/advice.el: Require cl-lib.
10158 (ad-copy-tree): Remove, use copy-tree instead.
10159 (ad-dolist): Remove use dolist or cl-dolist instead.
10160 (ad-do-return): Remove, use cl-return instead.
10161 (defadvice): Add `debug' spec.
10162
10163 2012-09-13 Juri Linkov <juri@jurta.org>
10164
10165 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
10166 (Bug#12399)
10167
10168 2012-09-13 Glenn Morris <rgm@gnu.org>
10169
10170 * calc/calc.el (math-compose-expr):
10171 * calc/calc-ext.el (math-compose-expr):
10172 * progmodes/cc-defs.el (cl-macroexpand-all):
10173 * progmodes/cc-langs.el (delete-duplicates, mapcan)
10174 (cl-macroexpand-all): Update declarations.
10175
10176 * vc/vc.el: No need to require ediff.
10177 (ediff-load-version-control): Declare.
10178 (ediff-vc-internal): Fix declaration.
10179 (vc-version-ediff): Require ediff.
10180
10181 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
10182
10183 Use a more backwards-compatible timer format (Bug#12430).
10184 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
10185 being right after USECS, as that better supports old code that
10186 inadvisedly looked directly at the timer vector.
10187
10188 2012-09-13 Kenichi Handa <handa@gnu.org>
10189
10190 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
10191 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
10192 `coding-priority' property of these language environment.
10193
10194 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
10195
10196 Fix glitches caused by addition of psec to timers (Bug#12430).
10197 * image.el (image-animate-timer):
10198 * time.el (display-time-world-timer):
10199 Use timer--function and timer--args rather than raw access to
10200 timer vector.
10201
10202 2012-09-13 Glenn Morris <rgm@gnu.org>
10203
10204 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
10205 If not compiling a file, try using load-file-name.
10206
10207 2012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
10208
10209 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
10210 Fix last change.
10211 (edebug-update-eval-list): Use `push'.
10212
10213 * emacs-lisp/edebug.el: Use lexical-binding.
10214 Remove the "edebug-" prefix from non-dynamically-scoped variables.
10215 Mark unused args with underscore.
10216 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
10217 (edebug-form-data): Use defvar-local.
10218 (edebug-make-before-and-after-form, edebug-make-after-form):
10219 Use backquote.
10220 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
10221 Not dynamically scoped any more.
10222 (edebug--enter-trace): Add arguments `function' and `args'.
10223 Rename from edebug-enter-trace.
10224 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
10225 (edebug--update-coverage): Add `after-index' and `value' args.
10226 Rename from edebug-update-coverage.
10227 (edebug-slow-after): Call it accordingly.
10228 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
10229 edebug-recursive-edit.
10230 (edebug--display): Call it accordingly. Add args `value',
10231 `offset-index', and `arg-mode'. Rename from edebug-display.
10232 (edebug-debugger, edebug): Call it accordingly.
10233 (edebug-eval-display-list): Use dolist.
10234
10235 2012-09-12 Juri Linkov <juri@jurta.org>
10236
10237 * info.el (Info-search): Don't check for isearch-mode and
10238 isearch-regexp before let-binding search-spaces-regexp to
10239 Info-search-whitespace-regexp.
10240 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
10241 search-whitespace-regexp if isearch-lax-whitespace or
10242 isearch-regexp-lax-whitespace is non-nil.
10243 (Info-mode): Don't set local variable search-whitespace-regexp.
10244 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
10245
10246 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
10247
10248 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
10249 (debugger-env-macro): Remove support for unread-command-char.
10250
10251 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
10252 the temporary map re-appearing on emulation-mode-map-alists.
10253
10254 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
10255 since 22.1.
10256
10257 * ehelp.el (with-electric-help): Accept functions in
10258 electric-help-form-to-execute.
10259 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
10260 And replace unread-command-char -> unread-command-events.
10261
10262 2012-09-12 Michael Albinus <michael.albinus@gmx.de>
10263
10264 Sync with Tramp 2.2.6.
10265
10266 * net/tramp.el (tramp-accept-process-output): Don't use
10267 JUST-THIS-ONE in the XEmacs case.
10268
10269 * net/trampver.el: Update release number.
10270
10271 2012-09-12 Martin Rudalics <rudalics@gmx.at>
10272
10273 * emacs-lisp/debug.el (debugger-previous-window-height):
10274 New variable.
10275 (debug): When debugger-jumping-flag is non-nil try to restore
10276 height of debugger window. (Bug#8789)
10277
10278 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
10279
10280 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
10281 overriding-local-map and pre/post-command-hook here.
10282 (edebug-recursive-edit): Do it here instead (bug#12345).
10283 (edebug-outside-unread-command-char): Remove all uses of
10284 unread-command-char.
10285
10286 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
10287 inhibit-debugger is bound instead.
10288
10289 2012-09-11 Bastien Guerry <bzg@gnu.org>
10290
10291 * subr.el (set-temporary-overlay-map): Add a docstring.
10292 (Bug#12346)
10293
10294 2012-09-11 Bastien Guerry <bzg@gnu.org>
10295
10296 * minibuffer.el (completion-table-subvert): Fix docstring.
10297 (Bug#12347)
10298
10299 2012-09-11 Bastien Guerry <bzg@gnu.org>
10300
10301 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
10302
10303 2012-09-10 Michael R. Mauger <mmaug@yahoo.com>
10304
10305 * progmodes/sql.el: Version 3.1
10306 (sql-db2-escape-newlines): New variable.
10307 (sql-escape-newlines-filter): Use it.
10308
10309 2012-09-10 Juanma Barranquero <lekktu@gmail.com>
10310
10311 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
10312
10313 2012-09-10 Dan Nicolaescu <dann@gnu.org>
10314
10315 * vc/diff-mode.el (diff-mode-menu):
10316 Bind diff-remove-trailing-whitespace.
10317
10318 2012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
10319
10320 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
10321 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
10322 (emacs-lisp-byte-code-mode): New functions.
10323 (eval-sexp-add-defvars): Don't skip defvars in column >0.
10324 (eval-defun-2): Remove bogus interactive spec.
10325 (lisp-indent-line): Remove redundant whole-exp code, now done in
10326 indent-according-to-mode.
10327 (save-match-data): Remove redundant indent data.
10328
10329 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
10330 Use `declare'.
10331
10332 2012-09-09 Juri Linkov <juri@jurta.org>
10333
10334 * replace.el (replace-regexp-lax-whitespace): New defcustom.
10335 (replace-lax-whitespace, query-replace-regexp)
10336 (query-replace-regexp-eval, replace-regexp): Doc fix.
10337 (perform-replace, replace-highlight): Let-bind
10338 isearch-lax-whitespace to replace-lax-whitespace and
10339 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
10340
10341 * isearch.el (isearch-query-replace): Let-bind
10342 replace-lax-whitespace to isearch-lax-whitespace and
10343 replace-regexp-lax-whitespace to
10344 isearch-regexp-lax-whitespace. (Bug#10885)
10345
10346 2012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
10347
10348 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
10349
10350 2012-09-09 Alan Mackenzie <acm@muc.de>
10351
10352 * progmodes/cc-engine.el (c-state-cache-init):
10353 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
10354 (c-record-parse-state-state):
10355 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
10356
10357 2012-09-09 Andreas Schwab <schwab@linux-m68k.org>
10358
10359 * register.el (register-separator): Rename from
10360 separator-register. All uses changed. Doc fix.
10361 (register): Fix version.
10362
10363 2012-09-09 Chong Yidong <cyd@gnu.org>
10364
10365 * replace.el (query-replace-map): Bind four new symbols for
10366 requesting window scrolling.
10367
10368 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
10369 query-replace-map (Bug#8948).
10370
10371 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
10372
10373 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
10374 since they are now in query-replace-map.
10375
10376 * window.el (scroll-other-window-down): Make the arg optional.
10377
10378 2012-09-09 Chong Yidong <cyd@gnu.org>
10379
10380 * files.el (hack-local-variables-confirm): Use quit-window to kill
10381 the *Local Variables* buffer.
10382
10383 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
10384
10385 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
10386 not just expect to be at its beginning. Adjust callees.
10387 Succeed when do-end block has no space before the pipe character.
10388 (ruby-brace-to-do-end): When the original block is one-liner,
10389 convert to multiline. Reindent the result.
10390
10391 2012-09-08 Jambunathan K <kjambunathan@gmail.com>
10392
10393 * register.el (register): New group.
10394 (separator-register): New user option.
10395 (increment-register): Route it to `append-to-register', if
10396 register contains text. Implication is that `C-x r +' can now be
10397 used for appending to a text register (bug#12217).
10398 (append-to-register, prepend-to-register): Add separator based on
10399 `separator-register'.
10400
10401 2012-09-08 Alan Mackenzie <acm@muc.de>
10402
10403 AWK Mode: make auto-newline work when there's "==" in the pattern.
10404 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
10405 correctly.
10406 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
10407 Test more rigorously for "=" token.
10408
10409 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
10410
10411 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
10412 Only fail when reached LIMIT.
10413
10414 2012-09-08 Chong Yidong <cyd@gnu.org>
10415
10416 * dired.el (dired-mode-map): Don't bind M-=.
10417
10418 * dired-aux.el (dired-diff): Use backup file as default.
10419
10420 2012-09-08 Drew Adams <drew.adams@oracle.com>
10421
10422 * subr.el (add-to-history): Fix delete usage (Bug#12314).
10423
10424 2012-09-08 Chong Yidong <cyd@gnu.org>
10425
10426 * subr.el (syntax-after, syntax-class): Doc fix.
10427
10428 2012-09-08 Martin Rudalics <rudalics@gmx.at>
10429
10430 * window.el (display-buffer-in-previous-window): New buffer
10431 display action function.
10432
10433 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
10434 (debugger-previous-window): New variable.
10435 (debug): Rewrite using display-buffer-in-previous-window,
10436 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
10437
10438 2012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
10439
10440 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
10441
10442 2012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
10443
10444 * progmodes/python.el (python-shell-send-string):
10445 When default-directory is remote, create temp file on remote
10446 filesystem.
10447 (python-shell-send-file): When file is remote, pass local view of
10448 file paths to remote Python interpreter. (Bug#12340)
10449
10450 2012-09-07 Chong Yidong <cyd@gnu.org>
10451
10452 * window.el (switch-to-buffer): Doc fix (Bug#12181).
10453
10454 * files.el (after-find-file): Don't fail on a read-only buffer if
10455 require-final-newline is `visit' or `visit-save' (Bug#11156).
10456
10457 * subr.el (read-char-choice): Allow quitting via ESC ESC.
10458
10459 * userlock.el (ask-user-about-supersession-threat):
10460 Use read-char-choice (Bug#12093).
10461
10462 2012-09-07 Chong Yidong <cyd@gnu.org>
10463
10464 * subr.el (buffer-narrowed-p): New function.
10465
10466 * ses.el (ses-widen):
10467 * simple.el (count-words--buffer-message):
10468 * net/browse-url.el (browse-url-of-buffer): Use it.
10469
10470 * simple.el (count-words-region): Don't signal an error if there
10471 is a non-nil prefix arg and the mark is not set.
10472
10473 * help.el (describe-key-briefly): Allow the message to be seen
10474 when invoked from the minibuffer (Bug#7014).
10475
10476 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
10477
10478 * progmodes/ruby-mode.el (ruby-end-of-defun)
10479 (ruby-beginning-of-defun): Simplify, allow indentation before
10480 block beginning and end keywords.
10481 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
10482 (ruby-end-of-defun): Expect that the point is at the beginning of
10483 the defun.
10484
10485 2012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
10486
10487 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
10488 (bug#12367).
10489 (cl--make-usage-args): Strip _ from argument names.
10490
10491 2012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10492
10493 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
10494 obsolete alias speedbar-key-map.
10495 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
10496 (vhdl-index-menu-init): Don't use obsolete variable
10497 font-lock-maximum-size.
10498
10499 2012-09-06 Chong Yidong <cyd@gnu.org>
10500
10501 * frame.el (window-system-version): Mark as obsolete.
10502
10503 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
10504 of obsolete variable speedbar-key-map.
10505
10506 2012-09-06 Juri Linkov <juri@jurta.org>
10507
10508 * replace.el (replace-lax-whitespace): New defcustom.
10509 (query-replace, query-replace-regexp, query-replace-regexp-eval)
10510 (replace-string, replace-regexp): Mention it in docstrings.
10511 (perform-replace, replace-highlight): Let-bind
10512 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
10513 to the values of replace-lax-whitespace and regexp-flag.
10514 Don't let-bind search-whitespace-regexp. (Bug#10885)
10515
10516 * isearch.el (isearch-query-replace): Let-bind
10517 replace-lax-whitespace instead of let-binding
10518 replace-search-function and replace-re-search-function.
10519 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
10520 and isearch-regexp-lax-whitespace to lazy-highlight variables.
10521 (isearch-toggle-symbol): Set isearch-regexp to nil
10522 in isearch-word mode (like in isearch-toggle-word).
10523
10524 2012-09-06 Juri Linkov <juri@jurta.org>
10525
10526 * replace.el (replace-search-function)
10527 (replace-re-search-function): Set default values to nil.
10528 (perform-replace): Let-bind isearch-related variables based on
10529 replace-related values, call `isearch-search-fun' and let-bind
10530 the result to `search-function'. Remove code that sets
10531 `search-function' and `search-string' separately for
10532 `delimited-flag'.
10533 (replace-highlight): Add new argument `delimited-flag' and
10534 rename other arguments to the names used in `perform-replace'.
10535 Let-bind `isearch-word' to the argument `delimited-flag'.
10536 (Bug#10885, bug#10887)
10537
10538 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
10539
10540 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
10541 ruby-beginning-of-indent, simplify, allow all keywords to have
10542 indentation before them.
10543 (ruby-beginning-of-indent): Adjust for above. Search until the
10544 found point is not inside a string or comment.
10545 (ruby-font-lock-keywords): Allow symbols to start with "@"
10546 character, give them higher priority than variables.
10547 (ruby-syntax-propertize-function)
10548 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
10549 matchers. Expression expansions are not comments when inside a
10550 string, and there comment syntax status is irrelevant.
10551 (ruby-match-expression-expansion): New function. Check that
10552 expression expansion is inside a string, and it's not escaped.
10553 (ruby-font-lock-keywords): Use it.
10554
10555 2012-09-05 Martin Rudalics <rudalics@gmx.at>
10556
10557 * help.el (temp-buffer-max-height): New default value.
10558 (temp-buffer-resize-frames): New option.
10559 (resize-temp-buffer-window): Optionally resize frame.
10560
10561 * window.el (fit-frame-to-buffer-bottom-margin): New option.
10562 (fit-frame-to-buffer): New function.
10563
10564 2012-09-05 Glenn Morris <rgm@gnu.org>
10565
10566 * emulation/cua-rect.el (cua--init-rectangles):
10567 * textmodes/picture.el (picture-mode-map):
10568 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
10569 like forward-char and backward-char. (Bug#12317)
10570
10571 2012-09-05 Leo Liu <sdl.web@gmail.com>
10572
10573 * progmodes/flymake.el (flymake-warning-re): New variable.
10574 (flymake-parse-line): Use it.
10575
10576 2012-09-05 Glenn Morris <rgm@gnu.org>
10577
10578 * calendar/holidays.el (holiday-christian-holidays):
10579 Rename an entry. (Bug#12289)
10580
10581 2012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
10582
10583 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
10584 (bug#12222).
10585
10586 2012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
10587
10588 * loadup.el: Load macroexp. Remove hack.
10589 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
10590 (macroexp--expand-all): Use it to get better warnings.
10591 (macroexp--backtrace, macroexp--trim-backtrace-frame)
10592 (internal-macroexpand-for-load): New functions.
10593 (macroexp--pending-eager-loads): New var.
10594 (emacs-startup-hook): New hack to replace one in loadup.el.
10595 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
10596 (cl--compiler-macro-cXXr): Move to top, before they can be used.
10597 (cl-psetf): Simplify.
10598 (cl-defstruct): Add indent rule.
10599
10600 2012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
10601
10602 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
10603 over `user-mail-address' for the SMTP MAIL FROM envelope.
10604 (smtpmail-via-smtp): Ditto.
10605
10606 2012-09-04 Dmitry Gutov <dgutov@yandex.ru>
10607
10608 * progmodes/ruby-mode.el: Clean up keybindings.
10609 (ruby-mode-map): Don't bind ruby-electric-brace,
10610 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
10611 backward-kill-word, reindent-then-newline-and-indent.
10612 (ruby-mark-defun): Remove.
10613 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
10614 (ruby-mode): Set local beginning-of-defun-function and
10615 end-of-defun-function values.
10616
10617 2012-09-03 Martin Rudalics <rudalics@gmx.at>
10618
10619 * window.el (temp-buffer-window-setup-hook)
10620 (temp-buffer-window-show-hook): New hooks.
10621 (temp-buffer-window-setup, temp-buffer-window-show)
10622 (with-temp-buffer-window): New functions.
10623 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
10624 (special-display-popup-frame): Make sure the window used shows BUFFER.
10625
10626 * help.el (temp-buffer-resize-mode): Fix doc-string.
10627 (resize-temp-buffer-window): New optional argument WINDOW.
10628
10629 * files.el (recover-file, save-buffers-kill-emacs):
10630 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
10631
10632 2012-09-02 Michael Albinus <michael.albinus@gmx.de>
10633
10634 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
10635 remote definition of `default-directory', ensure we can connect.
10636
10637 2012-09-02 Juri Linkov <juri@jurta.org>
10638
10639 Toggle whitespace matching mode with M-s SPC.
10640 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
10641
10642 * isearch.el (search-whitespace-regexp): Doc fix.
10643 Remove cons cell customization.
10644 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
10645 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
10646 New variables.
10647 (isearch-forward, isearch-forward-regexp): Doc fix.
10648 (isearch-toggle-lax-whitespace): New command.
10649 (search-forward-lax-whitespace, search-backward-lax-whitespace)
10650 (re-search-forward-lax-whitespace)
10651 (re-search-backward-lax-whitespace): New functions.
10652 (isearch-whitespace-regexp): Remove function.
10653 (isearch-query-replace): Let-bind replace-search-function and
10654 replace-re-search-function.
10655 (isearch-occur): Let-bind search-spaces-regexp according to the
10656 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
10657 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
10658 condition for C-q SPC.
10659 (isearch-search-fun-default): Use new functions mentioned above.
10660 (isearch-search-forward, isearch-search-backward): Remove functions.
10661 (isearch-search): Don't let-bind search-spaces-regexp.
10662 (isearch-lazy-highlight-space-regexp): Remove variable.
10663 (isearch-lazy-highlight-lax-whitespace)
10664 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
10665 (isearch-lazy-highlight-new-loop): Use them.
10666 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
10667
10668 2012-09-02 Chong Yidong <cyd@gnu.org>
10669
10670 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
10671
10672 2012-09-02 Glenn Morris <rgm@gnu.org>
10673
10674 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
10675
10676 2012-09-01 Glenn Morris <rgm@gnu.org>
10677
10678 * term.el: Tidy up menu definitions.
10679 (term-mode-map): Use easymenu for In/Out, Complete menus.
10680 (term-pager-break-map): Initialize in the defvar.
10681 (term-terminal-menu, term-signals-menu): Define with easymenu.
10682 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
10683 (term-pager-menu): New, extracted from term-process-pager.
10684 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
10685 (term-update-mode-line): Propertize line/char and page items.
10686 (term-process-pager): Move keymap initialization elsewhere.
10687
10688 2012-09-01 Martin Rudalics <rudalics@gmx.at>
10689
10690 * window.el (switch-to-prev-buffer): Handle additional values of
10691 BURY-OR-KILL argument. Don't switch in minibuffer window.
10692 (switch-to-next-buffer): Don't switch in minibuffer window.
10693 (quit-restore-window): New function based on quit-window.
10694 Handle additional values of former KILL argument.
10695 (quit-window): Call quit-restore-window with appropriate
10696 interpretation of KILL argument.
10697 (display-buffer-below-selected): New buffer display action
10698 function.
10699
10700 2012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
10701
10702 * minibuffer.el (completion-at-point-functions): Complete docstring
10703 (bug#12254).
10704
10705 2012-09-01 Paul Eggert <eggert@cs.ucla.edu>
10706
10707 Better seed support for (random).
10708 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
10709 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
10710 * play/mpuz.el, play/tetris.el, play/zone.el:
10711 * calc/calc-comb.el (math-init-random-base):
10712 * play/blackbox.el (bb-init-board):
10713 * play/life.el (life):
10714 * server.el (server-use-tcp):
10715 * type-break.el (type-break):
10716 Remove unnecessary call to (random t).
10717 * net/sasl.el (sasl-unique-id-function):
10718 Change (random t) to (random), now that the latter is more random.
10719 * play/life.el (life-initialized): Remove no-longer-needed var.
10720
10721 2012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
10722
10723 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
10724 Consider frame's buffer predicate when choosing the buffer.
10725 (Bug#12081)
10726
10727 2012-08-30 Richard Stallman <rms@gnu.org>
10728
10729 * simple.el (special-mode-map): Delete binding for `z'.
10730
10731 2012-08-30 Andreas Schwab <schwab@linux-m68k.org>
10732
10733 * progmodes/compile.el (compilation-always-kill): Doc fix.
10734
10735 2012-08-30 Chong Yidong <cyd@gnu.org>
10736
10737 * window.el (display-buffer-reuse-frames): Make the obsolescence
10738 message more informative.
10739
10740 2012-08-30 Glenn Morris <rgm@gnu.org>
10741
10742 * paren.el (show-paren-delay):
10743 Add a :set function. Doc fix. (Bug#12297)
10744
10745 2012-08-29 Martin Blais <blais@furius.ca> (tiny change)
10746
10747 * progmodes/compile.el (compilation-always-kill): New var.
10748 (compilation-start): Use it.
10749
10750 2012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
10751
10752 * simple.el (read-only-mode): Move from files.el for bootstrapping.
10753 * files.el (read-only-mode): Move to simple.el.
10754
10755 * files.el (read-only-mode): New minor mode.
10756 (toggle-read-only): Use it and mark obsolete.
10757 (find-file--read-only):
10758 * vc/vc.el (vc-next-action, vc-checkout):
10759 * vc/vc-cvs.el (vc-cvs-checkout):
10760 * obsolete/vc-mcvs.el (vc-mcvs-update):
10761 * ffap.el (ffap--toggle-read-only): Update callers.
10762
10763 2012-08-29 Michael Albinus <michael.albinus@gmx.de>
10764
10765 * eshell/esh-ext.el (eshell-external-command): Do not examine
10766 remote shell scripts.
10767 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
10768
10769 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
10770 "/usr/local/sbin".
10771
10772 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
10773
10774 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
10775
10776 2012-08-28 Leo Liu <sdl.web@gmail.com>
10777
10778 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
10779 completion-at-point. (Bug#12220)
10780
10781 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
10782
10783 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
10784
10785 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
10786
10787 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
10788 be buffer-local; add delete-trailing-whitespace (bug#12259).
10789
10790 2012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
10791
10792 * progmodes/hideif.el (hif-compress-define-list):
10793 Fix typo. (Bug#11951)
10794
10795 2012-08-28 Dan Nicolaescu <dann@gnu.org>
10796
10797 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
10798 buffer local setting.
10799
10800 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
10801 rcirc-encode-coding-system.
10802
10803 2012-08-28 Leo Liu <sdl.web@gmail.com>
10804
10805 * net/rcirc.el (rcirc-split-message): New function.
10806 (rcirc-send-message): Use it. (Bug#12051)
10807
10808 2012-08-28 Juri Linkov <juri@jurta.org>
10809
10810 * info.el (Info-fontify-node): Hide empty lines at the end of
10811 the node. (Bug#12272)
10812
10813 2012-08-27 Drew Adams <drew.adams@oracle.com>
10814
10815 * dired.el (dired-pop-to-buffer): Make window start at beginning
10816 of buffer (Bug#12281).
10817
10818 2012-08-26 Chong Yidong <cyd@gnu.org>
10819
10820 * window.el (special-display-regexps, special-display-frame-alist)
10821 (special-display-buffer-names, special-display-function)
10822 (display-buffer-reuse-frames): Mark as obsolete.
10823
10824 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
10825
10826 * help.el (help-print-return-message): Don't treat
10827 display-buffer-reuse-frames specially.
10828
10829 2012-08-26 Chong Yidong <cyd@gnu.org>
10830
10831 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
10832 New variable, replacing gdb-frame-parameters.
10833 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
10834 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
10835 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
10836 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
10837 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
10838 the functions directly with gdb-display-buffer-other-frame-action.
10839 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
10840 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
10841 (gdb-display-stack-buffer, gdb-display-locals-buffer)
10842 (gdb-display-registers-buffer): Define directly.
10843 (def-gdb-display-buffer): Macro deleted.
10844 (gdb-display-buffer): Remove second and third args, callers don't
10845 use them. Defer to the default display-buffer behavior, apart
10846 from making windows dedicated.
10847 (gdb-setup-windows): Don't call display-buffer unnecessarily.
10848
10849 * progmodes/gud.el (gud-display-line): Just use display-buffer.
10850
10851 * window.el (display-buffer-pop-up-frame): Handle a
10852 pop-up-frame-parameters alist entry.
10853 (display-buffer): Document it.
10854
10855 2012-08-26 Chong Yidong <cyd@gnu.org>
10856
10857 * isearch.el (search-whitespace-regexp): Make string and nil
10858 values apply to both ordinary and regexp search. Allow a cons
10859 cell value to distinguish between the two.
10860 (isearch-whitespace-regexp, isearch-search-forward)
10861 (isearch-search-backward): New functions.
10862 (isearch-occur, isearch-search-fun-default, isearch-search)
10863 (isearch-lazy-highlight-new-loop): Use them.
10864 (isearch-forward, isearch-forward-regexp): Doc fix.
10865
10866 2012-08-26 Chong Yidong <cyd@gnu.org>
10867
10868 * faces.el (help-argument-name): Always inherit from italic
10869 (Bug#12213).
10870
10871 2012-08-25 Martin Rudalics <rudalics@gmx.at>
10872
10873 * window.el (window--even-window-heights): Even heights when
10874 WINDOW and the selected window form a vertical combination.
10875 (display-buffer-use-some-window): Provide that window used gets
10876 sized back by quit-window. (Bug#11880) and (Bug#12091)
10877
10878 2012-08-24 Paul Eggert <eggert@cs.ucla.edu>
10879
10880 Fix file time stamp problem with bzr and CVS (Bug#12001).
10881 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
10882 in the file's time stamp, since the version control system loses
10883 that information.
10884
10885 2012-08-22 Juri Linkov <juri@jurta.org>
10886
10887 * info.el (Info-fontify-node): Hide the suffix of the
10888 Info file name in the header line. (Bug#12187)
10889
10890 2012-08-22 Glenn Morris <rgm@gnu.org>
10891
10892 * calendar/cal-tex.el (cal-tex-weekly-common):
10893 Restore leading blank page.
10894
10895 2012-08-22 Le Wang <l26wang@gmail.com>
10896
10897 * misc.el (forward-to-word, backward-to-word): Activate or extend
10898 the region under `shift-select-mode'. (Bug#12231)
10899
10900 2012-08-22 Bastien Guerry <bzg@gnu.org>
10901
10902 * progmodes/executable.el (executable-prefix): Set to "#!" instead
10903 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
10904 gives details on why the space is never needed.
10905
10906 2012-08-22 Martin Rudalics <rudalics@gmx.at>
10907
10908 * window.el (walk-window-tree, window-with-parameter):
10909 New optional argument MINIBUF to control whether these functions
10910 should run on the minibuffer window.
10911 (window-at-side-list): Don't operate on minibuffer window.
10912 (window-in-direction): Simplify and rewrite doc-string.
10913 (window--size-ignore): Rename to window--size-ignore-p.
10914 Update callers.
10915 (display-buffer-in-atom-window, window--major-non-side-window)
10916 (window--major-side-window, display-buffer-in-major-side-window)
10917 (delete-side-window, display-buffer-in-side-window):
10918 New functions.
10919 (window--side-check, window-deletable-p, delete-window)
10920 (delete-other-windows, split-window): Handle side windows and
10921 atomic windows appropriately.
10922 (window--display-buffer): Call display-buffer-record-window also
10923 when the window buffer did not change.
10924
10925 2012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
10926
10927 * help-fns.el (help-fns--key-bindings):
10928 Abbreviate non-symbol remap targets. (Bug#12174)
10929
10930 2012-08-22 Martin Rudalics <rudalics@gmx.at>
10931
10932 * dired.el (dired-mark-remembered): Don't clobber point.
10933 (Bug#11795)
10934
10935 2012-08-22 Glenn Morris <rgm@gnu.org>
10936
10937 * progmodes/bug-reference.el (bug-reference): New custom group.
10938 (bug-reference-bug-regexp): Make it a defcustom.
10939
10940 2012-08-22 Daiki Ueno <ueno@unixuser.org>
10941
10942 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
10943 (js-paren-indent-offset, js-square-indent-offset)
10944 (js-curly-indent-offset): Add :safe (Bug#12257).
10945
10946 2012-08-22 Edward O'Connor <hober0@gmail.com>
10947
10948 * json.el (json-key-format): Add error properties.
10949 (json-encode-key): New function.
10950 (json-encode-hash-table, json-encode-alist, json-encode-plist):
10951 Use json-encode-key.
10952
10953 2012-08-22 Glenn Morris <rgm@gnu.org>
10954
10955 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
10956 (cal-tex-leftday, cal-tex-rightday): Remove functions.
10957 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
10958 Update for above change.
10959
10960 2012-08-21 Andreas Schwab <schwab@linux-m68k.org>
10961
10962 * cus-face.el (custom-face-attributes): Fix customize type for the
10963 :underline attribute. (Bug#11805)
10964
10965 2012-08-21 Martin Rudalics <rudalics@gmx.at>
10966
10967 * window.el (window-point-1, set-window-point-1): Remove.
10968 (window-in-direction, record-window-buffer)
10969 (set-window-buffer-start-and-point, split-window-below)
10970 (window--state-get-1, display-buffer-record-window):
10971 Replace calls to window-point-1 and set-window-point-1 by calls to
10972 window-point and set-window-point respectively.
10973
10974 2012-08-21 Glenn Morris <rgm@gnu.org>
10975
10976 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
10977 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
10978 Use it.
10979
10980 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
10981 (cal-tex-shortday): New function.
10982 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
10983 (cal-tex-cursor-filofax-daily): Use the above.
10984
10985 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
10986 New functions.
10987 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
10988 (cal-tex-cursor-filofax-week): Use them.
10989
10990 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
10991 New constants.
10992 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
10993 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
10994
10995 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
10996 (cal-tex-end-document): Don't rely on buffer name.
10997
10998 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
10999 Use cal-tex-vspace.
11000 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
11001 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
11002 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
11003 Use cal-tex-arg.
11004
11005 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
11006 (cal-tex-cursor-week, cal-tex-cursor-week2)
11007 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
11008 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
11009 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
11010 (cal-tex-insert-preamble, cal-tex-b-document)
11011 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
11012 Improve cal-tex-cmd usage.
11013
11014 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
11015 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
11016 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
11017 (cal-tex-weekly-paper): New function.
11018 (cal-tex-cursor-week, cal-tex-cursor-week2)
11019 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
11020 (cal-tex-cursor-day): Use it.
11021
11022 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
11023 (cal-tex-cursor-filofax-week): Remove leading blank page.
11024
11025 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
11026 Add autoload cookie. For now at least, don't use color, since
11027 no other cal-tex function does.
11028
11029 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
11030 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
11031 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
11032
11033 2012-08-21 Juri Linkov <juri@jurta.org>
11034
11035 * info.el (Info-file-attributes): New variable.
11036 (info-insert-file-contents): Add file attributes to
11037 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
11038 `Info-toc-nodes' when previous modtime of the Info file is less
11039 than new modtime.
11040 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
11041 of info.el. (Bug#12230)
11042
11043 2012-08-20 Glenn Morris <rgm@gnu.org>
11044
11045 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
11046 * calendar/holidays.el (calendar-holiday-list):
11047 Report errors with display-warning rather than beep'n'sleep.
11048
11049 2012-08-20 Michael Albinus <michael.albinus@gmx.de>
11050
11051 * net/tramp.el (tramp-accept-process-output): Accept only output
11052 from PROC. Otherwise, process filters and sentinels might be
11053 confused. (Bug#12145)
11054
11055 2012-08-20 Chong Yidong <cyd@gnu.org>
11056
11057 * descr-text.el (describe-text-properties-1): Use overlays-in to
11058 report on empty overlays (Bug#3322).
11059
11060 2012-08-20 Glenn Morris <rgm@gnu.org>
11061
11062 * mail/rmailout.el (rmail-output-read-file-name):
11063 Trap and report errors in rmail-output-file-alist elements.
11064
11065 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
11066 since most non-font-lock faces are not also variables).
11067
11068 2012-08-20 Edward Reingold <reingold@iit.edu>
11069
11070 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
11071 New function. (Bug12160)
11072
11073 2012-08-19 Glenn Morris <rgm@gnu.org>
11074
11075 * mail/rmailout.el (rmail-output-read-file-name):
11076 Fix previous change (when the alist is nil or does not match).
11077
11078 2012-08-19 Chong Yidong <cyd@gnu.org>
11079
11080 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
11081 (Bug#12228).
11082
11083 2012-08-18 Chong Yidong <cyd@gnu.org>
11084
11085 * simple.el (yank-handled-properties): New defcustom.
11086 (yank-excluded-properties): Add font-lock-face and category.
11087 (yank): Doc fix.
11088
11089 * subr.el (remove-yank-excluded-properties):
11090 Obey yank-handled-properties. The special handling of font-lock-face
11091 and category is now done this way, instead of being hard-coded.
11092 (insert-for-yank-1): Remove font-lock-face handling.
11093 (yank-handle-font-lock-face-property)
11094 (yank-handle-category-property): New function.
11095
11096 2012-08-17 Glenn Morris <rgm@gnu.org>
11097
11098 * mail/rmailout.el (rmail-output-read-file-name):
11099 Check rmail-output-file-alist against the full message body
11100 in the correct rmail buffer. (Bug#12214)
11101
11102 2012-08-17 Michael Albinus <michael.albinus@gmx.de>
11103
11104 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
11105 Eliminate superfluous prompt. (Bug#12203)
11106
11107 2012-08-17 Chong Yidong <cyd@gnu.org>
11108
11109 * mouse.el (mouse-appearance-menu): If x-select-font returns a
11110 font spec, set the font directly (Bug#3228).
11111
11112 2012-08-17 Martin Rudalics <rudalics@gmx.at>
11113
11114 * window.el (delete-window): Fix last fix.
11115
11116 2012-08-16 Martin Rudalics <rudalics@gmx.at>
11117
11118 * window.el (window-valid-p): Move to window.c.
11119 (window-child, window-child-count, window-last-child)
11120 (window-normalize-window, window-combined-p)
11121 (window-combinations, window-atom-root, window-min-size)
11122 (window-sizable, window-sizable-p, window-size-fixed-p)
11123 (window-min-delta, window-max-delta, window--resizable)
11124 (window--resizable-p, window-resizable, window-total-size)
11125 (window-full-height-p, window-full-width-p, window-body-size)
11126 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
11127 (minimize-window, window-deletable-p, delete-window)
11128 (delete-other-windows, set-window-buffer-start-and-point)
11129 (next-buffer, previous-buffer, split-window, balance-windows-2)
11130 (set-window-text-height, window-buffer-height)
11131 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
11132 (truncated-partial-width-window-p): Minor code adjustments.
11133 In doc-strings state whether the argument window has to denote a
11134 live, valid or any window.
11135
11136 2012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
11137
11138 * progmodes/subword.el (subword-forward-function)
11139 (subword-backward-function, subword-forward-regexp)
11140 (subword-backward-regexp): New variables.
11141 (subword-forward, subword-forward-internal, subword-backward-internal):
11142 Use new variables, eg so that different "word" definitions
11143 can be easily used. (Bug#11411)
11144
11145 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
11146
11147 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
11148 for composite selectors.
11149 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
11150 operation just because we can't find a previous revision.
11151
11152 2012-08-15 Chong Yidong <cyd@gnu.org>
11153
11154 * frame.el (set-frame-font): Accept font objects.
11155
11156 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
11157
11158 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
11159
11160 2012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
11161
11162 * man.el (Man-overstrike-face, Man-underline-face)
11163 (Man-reverse-face): Remove variables.
11164 (Man-overstrike, Man-underline, Man-reverse): New faces.
11165 (Man-fontify-manpage): Use them instead of the variables.
11166 (Man-cleanup-manpage): Comment change.
11167 (Man-ansi-color-map): New variable.
11168 (Man-fontify-manpage): Use it.
11169 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
11170
11171 Implement ANSI SGR parameters 22-27 (bug#12146).
11172 * ansi-color.el (ansi-colors): Doc fix.
11173 (ansi-color-context, ansi-color-context-region): Doc fix.
11174 (ansi-color--find-face): New function.
11175 (ansi-color-apply, ansi-color-apply-on-region): Use it.
11176 Rename the local variable `face' to `codes' since it is now a list of
11177 ansi codes. Doc fix.
11178 (ansi-color-get-face): Remove.
11179 (ansi-color-parse-sequence): New function, derived from
11180 ansi-color-get-face.
11181 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
11182 codes 22-27.
11183
11184 2012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
11185
11186 * subr.el (read-passwd): Allow use from a minibuffer.
11187
11188 2012-08-14 Eli Zaretskii <eliz@gnu.org>
11189
11190 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
11191 inside comments and strings as identifiers.
11192
11193 * progmodes/gud.el (gud-tooltip-print-command): Quote the
11194 expression to evaluate. This allows to evaluate expressions with
11195 embedded whitespace.
11196 (gud-tooltip-tips): Add a blank before the newline in the
11197 message-box text, for the benefit of message-box emulation on
11198 MS-Windows.
11199
11200 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
11201 messages from GDB, pop them up in a tooltip to give feedback to
11202 user.
11203 (gdb-tooltip-print-1): Quote the expression to evaluate.
11204 This allows to evaluate expressions with embedded whitespace.
11205 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
11206 if the TTY name is nil or empty (which happens when communicating
11207 with the inferior via pipes, e.g. on MS-Windows).
11208 (gdb-internals): If GDB sends a "&\n" empty debugging message,
11209 don't send that to the GUD buffer.
11210
11211 2012-08-14 Glenn Morris <rgm@gnu.org>
11212
11213 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
11214 Optimize away setq-default with no args, as for setq. (Bug#12195)
11215
11216 2012-08-14 Chong Yidong <cyd@gnu.org>
11217
11218 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
11219
11220 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
11221 (Bug#12085).
11222
11223 2012-08-14 Glenn Morris <rgm@gnu.org>
11224
11225 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
11226
11227 2012-08-14 Michael Albinus <michael.albinus@gmx.de>
11228
11229 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
11230 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
11231 Use cached shell name.
11232
11233 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
11234
11235 * progmodes/python.el (python-shell-send-string):
11236 (python-shell-send-setup-code): Do not use `format' with `message'.
11237
11238 2012-08-14 Dmitry Gutov <dgutov@yandex.ru>
11239
11240 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
11241 (ruby-percent-literal-beg-re): New constant.
11242 (ruby-syntax-general-delimiters-goto-beg): Rename to
11243 `ruby-syntax-enclosing-percent-literal', improve literal type check.
11244 (ruby-syntax-propertize-general-delimiters): Rename to
11245 `ruby-syntax-propertize-percent-literal', it's a shorter and more
11246 popular term. Adjust comments everywhere.
11247 (ruby-syntax-propertize-percent-literal): Only propertize when not
11248 inside a simple string or comment. When the literal is unclosed,
11249 leave the text after it unpropertized.
11250 (ruby-syntax-methods-before-regexp): New constant.
11251 (ruby-syntax-propertize-function): Use it to recognize regexps.
11252 Don't look at the text after regexp, just use the whitelist.
11253
11254 2012-08-14 Andreas Schwab <schwab@linux-m68k.org>
11255
11256 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
11257 non-nil always load the compiled file if it exists. (Bug#12197)
11258
11259 2012-08-14 Chong Yidong <cyd@gnu.org>
11260
11261 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
11262 (hi-lock-set-pattern): When deciding whether to use font lock or
11263 overlays, look at font-lock-mode instead of font-lock-fontified
11264 (Bug#12168).
11265 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
11266 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
11267
11268 2012-08-14 Daiki Ueno <ueno@unixuser.org>
11269
11270 * subr.el (internal--after-with-selected-window): Fix typo
11271 (Bug#12193).
11272
11273 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
11274
11275 Use `completion-table-dynamic' for completion functions.
11276 * progmodes/python.el
11277 (python-shell-completion--do-completion-at-point)
11278 (python-shell-completion--get-completions):
11279 Remove functions.
11280 (python-shell-completion-complete-at-point): New function.
11281 (python-completion-complete-at-point): Use it.
11282
11283 2012-08-13 Jambunathan K <kjambunathan@gmail.com>
11284
11285 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
11286 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
11287
11288 2012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
11289
11290 * subr.el (function-get): Refine `autoload' arg so it can also
11291 autoload functions for gv.el (bug#12191).
11292 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
11293 autoloads macros.
11294
11295 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
11296 Prefer pcase-let over destructuring-bind.
11297 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
11298 Also, remove whitespace as we go, rather than after accumulating the
11299 various places.
11300
11301 * subr.el (internal--before-with-selected-window)
11302 (internal--after-with-selected-window): Fix typo seleted->selected.
11303 (with-selected-window): Adjust callers.
11304 Reported by Dmitry Gutov <dgutov@yandex.ru>.
11305
11306 2012-08-13 Bastien Guerry <bzg@gnu.org>
11307
11308 * window.el (special-display-popup-frame): Minor docstring
11309 enhancement. (Bug#12172)
11310
11311 2012-08-13 Andreas Schwab <schwab@linux-m68k.org>
11312
11313 * tar-mode.el (tar-header-data-end): Only ignore size for files of
11314 type 1-6.
11315 (tar-header-block-summarize, tar-get-descriptor): Handle pax
11316 extended headers.
11317
11318 * files.el (hack-local-variables-filter): Remove useless eval.
11319
11320 2012-08-13 Martin Rudalics <rudalics@gmx.at>
11321
11322 * subr.el (with-selected-window): Fix last change.
11323
11324 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
11325
11326 * subr.el (internal--before-with-seleted-window)
11327 (internal--after-with-seleted-window): New functions.
11328 (with-selected-window): Use them, to replace dependency on
11329 tty-top-frame.
11330
11331 2012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
11332
11333 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
11334 binding for `newline'.
11335 (ruby-move-to-block): When moving backward, stop at block opening,
11336 not indentation.
11337 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
11338 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
11339 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
11340 `ruby-toggle-block'.
11341
11342 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
11343
11344 * ibuffer.el (ibuffer-do-toggle-read-only):
11345 * dired.el (dired-toggle-read-only):
11346 * buff-menu.el (Buffer-menu-toggle-read-only):
11347 * bindings.el (mode-line-toggle-read-only):
11348 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
11349
11350 2012-08-12 Andreas Schwab <schwab@linux-m68k.org>
11351
11352 * descr-text.el (describe-char): Put the overlays over the
11353 "displayed as" character.
11354
11355 2012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
11356
11357 * calc/calc-units.el (math-default-units-table): Give an
11358 initial value.
11359 (math-put-default-units): Add options to put composite units and
11360 unit systems in the default units table.
11361 (calc-convert-units): Send composite units to
11362 `math-put-default-units' when appropriate.
11363
11364 2012-08-11 Glenn Morris <rgm@gnu.org>
11365
11366 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
11367
11368 * tutorial.el (help-with-tutorial):
11369 * emacs-lisp/copyright.el (copyright-update-directory):
11370 * emacs-lisp/autoload.el (autoload-find-generated-file)
11371 (autoload-find-file): Disable local eval: (for insurance).
11372
11373 * files.el (hack-local-variables-filter): If an eval: form is not
11374 known to be safe, and enable-local-variables is :safe, then ignore
11375 the form totally, as is done for non-eval forms. (Bug#12155)
11376 This is CVE-2012-3479.
11377
11378 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
11379
11380 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
11381 (rx-form): Simplify.
11382
11383 2012-08-09 Dmitry Gutov <dgutov@yandex.ru>
11384
11385 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
11386 ?, _, and : are symbol constituents, ! is not (but kinda should be).
11387 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
11388 (ruby-syntax-propertize-function): Adjust for changes in
11389 `ruby-syntax-propertize-heredoc'.
11390
11391 2012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
11392
11393 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
11394 binding (use `M-;' instead).
11395 (ruby-singleton-class-p): New function.
11396 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
11397
11398 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
11399
11400 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
11401
11402 2012-08-10 Chong Yidong <cyd@gnu.org>
11403
11404 * progmodes/python.el (python-shell-get-process-name): Don't mess
11405 with same-window-buffer-names.
11406
11407 * eshell/eshell.el (eshell-add-to-window-buffer-names)
11408 (eshell-remove-from-window-buffer-names): Make obsolete.
11409 (eshell-buffer-name, eshell-unload-hook): Don't use them.
11410 (eshell): Just use pop-to-buffer-same-window instead.
11411
11412 2012-08-10 Chong Yidong <cyd@gnu.org>
11413
11414 * bindings.el: Bind M-= back to count-words-region.
11415
11416 * simple.el (count-words-region): Accept a prefix arg for acting
11417 on the entire buffer.
11418 (count-words--buffer-message): New helper function.
11419
11420 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
11421
11422 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
11423 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
11424 (event-start, event-end): Use posn-at-point to return a more
11425 informative posn.
11426 (posnp): New function.
11427 * mouse.el (popup-menu-normalize-position): Use it.
11428
11429 2012-08-10 Masatake YAMATO <yamato@redhat.com>
11430
11431 * mouse.el (popup-menu-normalize-position): New function.
11432 (popup-menu): Use `popup-menu-normalize-position' to normalize
11433 the form for POSITION argument.
11434
11435 * term/x-win.el (x-menu-bar-open):
11436 Use the value returend from (posn-at-point) as position
11437 passed to `popup-menu'.
11438
11439 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
11440
11441 * calc/calccomp.el (math-compose-expr): Add extra argument
11442 indicating that parentheses should be put around products in
11443 denominators. Give multiplication precedence over division during
11444 composition.
11445
11446 2012-08-09 Chong Yidong <cyd@gnu.org>
11447
11448 * man.el (Man-switches, Man-sed-command, Man-awk-command)
11449 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
11450 (Man-untabify-command, manual-program): Convert to defcustom
11451 (Bug#10429).
11452
11453 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
11454
11455 * descr-text.el (describe-char): Don't insert extra newlines
11456 (Bug#10127).
11457
11458 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
11459 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
11460
11461 * align.el (align-region): Delete temporary markers (Bug#10047).
11462 Plus some code cleanups.
11463
11464 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
11465
11466 * progmodes/python.el (python-pdbtrack-tracked-buffer)
11467 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
11468 (python-shell-internal-last-output): Use make-local-variable
11469 instead of make-variable-buffer-local.
11470
11471 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
11472
11473 * progmodes/python.el: Enhancements to forward-sexp.
11474 (python-nav-forward-sexp): Rename from
11475 python-nav-forward-sexp-function.
11476 (python-nav--forward-sexp, python-nav--backward-sexp):
11477 New functions.
11478
11479 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
11480
11481 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
11482 modes and simplification modes.
11483
11484 2012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
11485
11486 * delsel.el (delete-selection-pre-hook): Don't propagate the
11487 file-supersession signals (bug#12161).
11488
11489 2012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
11490
11491 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
11492 (cl-map-extents): Add compatibility aliases (bug#12135).
11493
11494 2012-08-08 Michael Albinus <michael.albinus@gmx.de>
11495
11496 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
11497 tests by `ignore-error'.
11498 (tramp-find-shell): Open also a new shell, when cache is already
11499 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
11500
11501 2012-08-08 Juri Linkov <juri@jurta.org>
11502
11503 * bookmark.el: Add `defaults' property to the bookmark record.
11504 (bookmark-current-buffer): Doc fix.
11505 (bookmark-make-record): Add `defaults' property with default values
11506 to the bookmark record.
11507 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
11508 with `bookmark-insert-current-bookmark'.
11509 (bookmark-set): Get `defaults' property from the bookmark record
11510 and use it in `read-from-minibuffer'.
11511 (bookmark-insert-current-bookmark): Remove function.
11512
11513 * info.el (Info-bookmark-make-record): Add `defaults' property
11514 with values of canonical Info node name, the current Info file
11515 name and the current Info node name. (Bug#12107)
11516
11517 2012-08-08 Juri Linkov <juri@jurta.org>
11518
11519 * files.el (basic-save-buffer): Use `buffer-name' as the default
11520 of `read-file-name' when buffer is not visiting a file (bug#12128).
11521
11522 2012-08-08 Juri Linkov <juri@jurta.org>
11523
11524 * info.el (Info-isearch-search): Doc fix.
11525 (Info-search): Change search-failed message from "initial node" to
11526 "end of node" (bug#12078).
11527 (Info-isearch-search): Change `isearch-string-state' to
11528 `isearch--state-string'.
11529
11530 2012-08-08 Glenn Morris <rgm@gnu.org>
11531
11532 * language/persian.el: Remove file.
11533 * language/misc-lang.el: Move unique part of persian.el here.
11534 * loadup.el: Remove language/persian.
11535
11536 2012-08-08 Óscar Fuentes <ofv@wanadoo.es>
11537
11538 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
11539
11540 2012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
11541
11542 * progmodes/python.el: Fix defsubst warning.
11543 (python-syntax-context) Rename from python-info-ppss-context.
11544 (python-syntax-context-type): Rename from
11545 python-info-ppss-context-type.
11546 (python-syntax-comment-or-string-p): Rename from
11547 python-info-ppss-comment-or-string-p.
11548
11549 2012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
11550
11551 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
11552
11553 2012-08-07 Andreas Schwab <schwab@linux-m68k.org>
11554
11555 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
11556 a defcustom that is quoted with backquote.
11557
11558 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
11559 Fix handling of interactive spec when the body uses return.
11560 (math-do-arg-check, math-define-function-body): Use backquote forms.
11561 * calc/calc-ext.el (math-defcache): Likewise.
11562 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
11563 * allout.el (allout-new-exposure): Likewise.
11564 * calc/calcalg2.el (math-tracing-integral): Likewise.
11565 * info.el (Info-last-menu-item): Likewise.
11566 * emulation/vip.el (vip-loop): Likewise.
11567 * textmodes/artist.el (artist-funcall): Likewise.
11568 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
11569 Construct menu-item directly.
11570
11571 * progmodes/autoconf.el (font-lock-syntactic-keywords):
11572 Don't declare.
11573
11574 2012-08-07 Chong Yidong <cyd@gnu.org>
11575
11576 * simple.el (deactivate-mark): Preserve text properties when
11577 saving the primary selection (Bug#8384).
11578
11579 2012-08-07 Kevin Ryde <user42@zip.com.au>
11580
11581 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
11582 (woman-parse-numeric-value): On a bad .IP line, issue a warning
11583 and continue processing (Bug#12110).
11584
11585 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
11586
11587 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
11588 syntax-propertize-function (bug#10095).
11589
11590 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
11591
11592 * help-fns.el (help-fns--key-bindings, help-fns--signature)
11593 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
11594 describe-function-1.
11595 (describe-function-1): Use them. Move compiler macro after sig.
11596 (help-fns--compiler-macro): Use function-get. Assume we're already in
11597 standard-output. Adjust layout to new call order.
11598
11599 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
11600 re-binding a symbol that has a symbol-macro (bug#12119).
11601
11602 2012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
11603
11604 * language/persian.el: New file. (Bug#11812)
11605 * loadup.el: Add language/persian.el.
11606
11607 2012-08-06 Chong Yidong <cyd@gnu.org>
11608
11609 * window.el (window--maybe-raise-frame): New function.
11610 (window--display-buffer): Split off from here.
11611 (display-buffer-reuse-window, display-buffer-pop-up-frame)
11612 (display-buffer-pop-up-window, display-buffer-use-some-window):
11613 Obey an inhibit-switch-frame action alist entry.
11614 (display-buffer): Update doc.
11615
11616 * replace.el (occur-after-change-function): Avoid losing focus by
11617 using the inhibit-switch-frame display parameter (Bug#12139).
11618
11619 2012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
11620
11621 Make internal shell process buffer names start with space.
11622 * progmodes/python.el (python-shell-make-comint): Add optional
11623 argument INTERNAL.
11624 (run-python-internal): Use it.
11625 (python-shell-internal-get-or-create-process): Check for new
11626 internal buffer names.
11627
11628 2012-08-06 Glenn Morris <rgm@gnu.org>
11629
11630 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
11631 Do less getting and setting of environment variables.
11632
11633 2012-08-05 Chong Yidong <cyd@gnu.org>
11634
11635 * proced.el (proced): Add substitution string to docstring to
11636 trigger autoloading of the proced library on C-h f (Bug#1768).
11637
11638 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
11639 Don't show defvars which have no second argument (Bug#8638).
11640
11641 * imenu.el (imenu-generic-expression): Move documentation here
11642 from imenu--generic-function.
11643 (imenu--generic-function): Refer to imenu-generic-expression.
11644
11645 2012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
11646
11647 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
11648 indentation declaration.
11649 (viper-loop): Add indentation declaration (Bug#7025).
11650
11651 2012-08-05 Chong Yidong <cyd@gnu.org>
11652
11653 * help-fns.el (describe-variable): Add hyperlink for
11654 directory-local variables files. Improve buffer-local and
11655 permanent-local reporting; suggested by MON KEY (Bug#6644).
11656
11657 * help-mode.el (help-dir-local-var-def): New button type.
11658
11659 * files.el (kill-buffer-hook): Provide a defvar.
11660
11661 2012-08-05 Glenn Morris <rgm@gnu.org>
11662
11663 * eshell/esh-ext.el (eshell/addpath):
11664 Also update eshell-path-env. (Bug#12013)
11665
11666 2012-08-05 Chong Yidong <cyd@gnu.org>
11667
11668 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
11669
11670 * fringe.el (fringe-styles): Add docstring.
11671 (fringe--check-mode): New function.
11672 (set-fringe-mode, set-fringe-style): Use it.
11673 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
11674
11675 * files.el (set-auto-mode): Fix invalid setq call.
11676
11677 2012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
11678
11679 * isearch.el: Misc simplification; use defstruct.
11680 (isearch-mode-map): Dense maps now work like sparse ones.
11681 (isearch--state): New defstruct.
11682 (isearch-string-state, isearch-message-state, isearch-point-state)
11683 (isearch-success-state, isearch-forward-state)
11684 (isearch-other-end-state, isearch-word-state, isearch-error-state)
11685 (isearch-wrapped-state, isearch-barrier-state)
11686 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
11687 replaced by defstruct's accessors.
11688 (isearch--set-state): Rename from isearch-top-state and change
11689 calling convention.
11690 (isearch-push-state): Use new isearch--get-state.
11691 (isearch-toggle-word): Disable regexp when enabling word.
11692 (isearch-message-prefix): Remove unused arg _c-q-hack.
11693 (isearch-message-suffix): Remove unused arg _ellipsis.
11694
11695 2012-08-04 Andreas Schwab <schwab@linux-m68k.org>
11696
11697 * simple.el (list-processes--refresh): For a server use :host or
11698 :local as the address.
11699 (list-processes): Doc fix.
11700
11701 2012-08-04 Michal Nazarewicz <mina86@mina86.com>
11702
11703 * lisp/mpc.el: Support password in host argument.
11704 (mpc--proc-connect): Parse and use new password element.
11705 Set mpc-proc variable instead of returning process.
11706 (mpc-proc): Adjust accordingly.
11707
11708 2012-08-03 Eli Zaretskii <eliz@gnu.org>
11709
11710 * whitespace.el (whitespace-display-mappings): Use Unicode
11711 codepoints, instead of emacs-mule codepoints. See
11712 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
11713 for the details.
11714
11715 * files.el (file-truename): Don't skip symlink-chasing part on
11716 windows-nt. Incorporate the resolution of 8+3 short aliases on
11717 Windows into the loop that recursively chases symlinks.
11718 Compare directory and its parent case-insensitively on MS-Windows and
11719 MS-DOS.
11720
11721 2012-08-03 Chong Yidong <cyd@gnu.org>
11722
11723 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
11724
11725 * sort.el (sort-regexp-fields): Doc fix.
11726
11727 2012-08-03 Tassilo Horn <tsdh@gnu.org>
11728
11729 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
11730 labels regex position point at the expected place.
11731
11732 2012-08-03 MON KEY <monkey@sandpframing.com>
11733
11734 * net/imap.el (imap-interactive-login, imap-authenticate)
11735 (imap-mailbox-lsub, imap-mailbox-list)
11736 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
11737 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
11738 (imap-parse-response): Doc fix.
11739
11740 2012-08-03 João Távora <joaotavora@gmail.com>
11741
11742 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
11743 if sexp scanning does not move point (Bug#5734).
11744
11745 2012-08-02 Tassilo Horn <tsdh@gnu.org>
11746
11747 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
11748 Add listings, minted, and ctable packages.
11749 (reftex-label-alist-builtin): Move listings, minted, and ctable
11750 entries before LaTeX.
11751 (reftex-label-alist): Docfix.
11752
11753 2012-08-02 Bastien Guerry <bzg@gnu.org>
11754
11755 * replace.el (occur): Fix docstring (bug#12122).
11756
11757 2012-08-02 Glenn Morris <rgm@gnu.org>
11758
11759 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
11760
11761 2012-08-02 Paul Eggert <eggert@cs.ucla.edu>
11762
11763 Obsolete alias inactivate-current-input-method-function (Bug#10150).
11764 * international/mule-cmds.el: Create
11765 inactivate-current-input-method-function as an obsolete alias for
11766 deactivate-current-input-method-function. See Katsumi Yamaoka in
11767 <http://bugs.gnu.org/10150#46>.
11768
11769 2012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
11770
11771 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
11772 of nested `if's.
11773
11774 2012-08-01 Glenn Morris <rgm@gnu.org>
11775
11776 * progmodes/autoconf.el (autoconf-definition-regexp):
11777 Add AH_TEMPLATE, adjust submatch numbering.
11778 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
11779 (autoconf-current-defun-function): Update for above change.
11780 (autoconf-current-defun-function): First skip to end of current word.
11781
11782 2012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
11783
11784 * calendar/cal-html.el (cal-html-insert-agenda-days):
11785 Fix typo. (Bug#12018)
11786
11787 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
11788
11789 Shell processes: enhancements to startup and CEDET compatibility.
11790 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
11791 (python-shell-make-comint): accept-process-output at startup.
11792 (run-python-internal): Set inferior-python-mode-hook to nil.
11793 (python-shell-internal-get-or-create-process): Call sit-for.
11794 (python-preoutput-result): Add obsolete alias.
11795 (python-shell-internal-send-string): Use it.
11796 (python-shell-send-setup-code): Remove call to
11797 accept-process-output.
11798
11799 2012-07-31 Andreas Schwab <schwab@linux-m68k.org>
11800
11801 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
11802 (Bug#12108)
11803
11804 2012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
11805
11806 * calc-mode.el (calc-basic-simplification-mode): Rename from
11807 `calc-limited-simplification-mode'.
11808 (calc-alg-simplification-mode): New function.
11809 (calc-set-simplify-mode): Adjust message.
11810
11811 * calc.el (calc-set-mode-line): Adjust mode line display for
11812 basic simplification mode.
11813
11814 * calc-help.el (calc-m-prefix-help): Update help message.
11815
11816 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
11817 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
11818
11819 2012-07-31 Bastien Guerry <bzg@gnu.org>
11820
11821 * man.el (man): Fix comment. (bug#12101)
11822
11823 2012-07-31 Martin Rudalics <rudalics@gmx.at>
11824
11825 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
11826 Don't return a non-nil value when no suitable buffer was found.
11827
11828 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
11829
11830 * progmodes/python.el (run-python-internal): Disable font lock for
11831 internal shells.
11832
11833 2012-07-30 Stefan Merten <smerten@oekonux.de>
11834
11835 * textmodes/rst.el: Silence `checkdoc-ispell'.
11836 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
11837 (rst-official-version, rst-official-cvs-rev)
11838 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
11839 (rst-mode-map): New key binding.
11840
11841 2012-07-30 Paul Eggert <eggert@cs.ucla.edu>
11842
11843 Update .PHONY listings in makefiles.
11844 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
11845 autoloads, update-subdirs, updates, bzr-update, update-authors,
11846 compile-onefile, compile-calc, backup-compiled-files,
11847 compile-after-backup, compile-one-process, mh-autoloads,
11848 bootstrap-clean, distclean, maintainer-clean.
11849
11850 2012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
11851
11852 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
11853 (calc-set-mode-line): Don't display "AlgSimp ".
11854
11855 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
11856 (calc-lim-simplify-mode): New function.
11857 (calc-set-simplify-mode): Default to 'alg.
11858 (calc-default-simplify-mode): Make algebraic simplifications
11859 the default.
11860
11861 * calc/calc-ext.el (calc-init-extensions): Remove binding for
11862 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
11863
11864 * calc/calc-help.el (calc-m-prefix-help): Change messages to
11865 indicate new simplification modes.
11866
11867 * calc/README: Mention new default simplification mode.
11868
11869 * calc/calc.el (math-normalize-error): New variable.
11870 (math-normalize): Set `math-normalize-error' to t
11871 when there's an error.
11872
11873 * calc/calc-alg.el (math-simplify): Don't simplify when
11874 `math-normalize' returns an error.
11875
11876 2012-07-29 Eli Zaretskii <eliz@gnu.org>
11877
11878 * international/mule-cmds.el (set-locale-environment): Revert last
11879 change, since display-graphic-p returns nil when this function is
11880 called during startup. Instead...
11881
11882 * term/w32console.el (terminal-init-w32console): ...setup the
11883 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
11884
11885 2012-07-29 Juri Linkov <juri@jurta.org>
11886
11887 * simple.el (goto-line): Don't display default line number in the
11888 prompt because it should be displayed by `read-number' (bug#9952).
11889 Add the current line number to the defaults of `goto-line' to
11890 allow its easier modification by users with `M-n' (bug#9201).
11891
11892 * subr.el (read-number): Support multiple default values like in
11893 other minibuffer reading functions. Replace `read' with
11894 `string-to-number' for consistency with `number-to-string'.
11895
11896 2012-07-29 Paul Eggert <eggert@cs.ucla.edu>
11897
11898 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
11899 * emulation/viper-init.el (viper-deactivate-input-method-action):
11900 Rename from viper-inactivate-input-method-action.
11901 (viper-deactivate-input-method):
11902 Rename from viper-inactivate-input-method.
11903 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
11904 * international/mule-cmds.el (deactivate-input-method):
11905 Rename from inactivate-input-method.
11906 Also run input-method-deactivate-hook.
11907 (deactivate-current-input-method-function):
11908 Rename from inactivate-current-input-method-function.
11909 (input-method-deactivate-hook): New hook.
11910 (input-method-inactivate-hook): Mark obsolete.
11911 (inactivate-input-method): Mark obsolete.
11912
11913 * international/quail.el (quail-activate):
11914 Also run quail-deactivate-hook.
11915 (quail-deactivate): Rename from quail-inactivate.
11916 * international/robin.el (robin-activate):
11917 Also run robin-deactivate-hook.
11918 (robin-deactivate): Rename from robin-inactivate.
11919
11920 2012-07-29 Chong Yidong <cyd@gnu.org>
11921
11922 * simple.el (indicate-copied-region): New function.
11923 (kill-ring-save): Split off from here.
11924
11925 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
11926 (kill-rectangle): Set deactivate-mark to t on read-only error.
11927
11928 * register.el (copy-to-register, copy-rectangle-to-register):
11929 Deactivate the mark, and use indicate-copied-region (Bug#10056).
11930 (append-to-register, prepend-to-register): Call indicate-copied-region.
11931
11932 2012-07-29 Juri Linkov <juri@jurta.org>
11933
11934 * simple.el (async-shell-command-buffer): New defcustom.
11935 (shell-command): Use it. (Bug#4719)
11936
11937 2012-07-28 Eli Zaretskii <eliz@gnu.org>
11938
11939 * international/mule-cmds.el (set-locale-environment): In a
11940 console session on MS-Windows, set up keyboard and terminal
11941 encoding from the OEM codepage, not the ANSI codepage.
11942 (Bug#12055)
11943
11944 2012-07-28 Chong Yidong <cyd@gnu.org>
11945
11946 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
11947 gdb-get-location.
11948
11949 2012-07-28 Leo Liu <sdl.web@gmail.com>
11950
11951 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
11952 the alist (bug#12029).
11953
11954 2012-07-28 Eli Zaretskii <eliz@gnu.org>
11955
11956 * makefile.w32-in (custom-deps, finder-data, updates, compile)
11957 (compile-always, compile-first)
11958 ($(lisp)/calendar/cal-loaddefs.el)
11959 ($(lisp)/calendar/diary-loaddefs.el)
11960 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
11961 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
11962 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
11963 instead of on update-subdirs.
11964 (bootstrap-clean): Delete $(lisp)/subdirs.el.
11965
11966 2012-07-28 Chong Yidong <cyd@gnu.org>
11967
11968 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
11969 directory if vc-deduce-backend returns nil (Bug#7350).
11970
11971 * simple.el (delete-trailing-lines): New option.
11972 (delete-trailing-whitespace): Obey it (Bug#11879).
11973
11974 2012-07-28 David Engster <deng@randomsample.de>
11975
11976 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
11977 Explanation of new 'symbol-qnames feature in doc-strings.
11978 (xml-maybe-do-ns): Return expanded names as plain symbols if
11979 'symbol-qnames was provided in XML-NS argument (Bug#11916).
11980 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
11981
11982 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
11983
11984 Consistent completion in inferior python with emacs -nw.
11985 * progmodes/python.el (inferior-python-mode): Replace "<tab>"
11986 binding in inferior-python-mode-map with "\t".
11987 (python-shell-completion-complete-at-point)
11988 (python-completion-complete-at-point): Remove interactive spec.
11989
11990 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
11991
11992 * calc/calccomp.el (math-compose-expr): Undo previous change.
11993
11994 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
11995
11996 * progmodes/python.el (python-mode-map): Add keybinding for
11997 run-python.
11998 (python-shell-make-comint): Fix pop-to-buffer call.
11999 (run-python): Autoload. New arg SHOW.
12000 (python-shell-get-or-create-process): Do not pop python process
12001 buffer.
12002
12003 2012-07-27 Michael Albinus <michael.albinus@gmx.de>
12004
12005 * notifications.el (notifications-on-action-signal)
12006 (notifications-on-closed-signal): Use also the bus address for the map.
12007 (notifications-notify, notifications-close-notification)
12008 (notifications-get-capabilities): Add optional argument BUS.
12009
12010 2012-07-27 Tassilo Horn <tsdh@gnu.org>
12011
12012 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
12013 Add support for the lstlisting and minted environments, and for the
12014 ctable macro.
12015 * textmodes/reftex.el (reftex-compile-variables): Also recognize
12016 labels written in keyvals syntax.
12017
12018 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
12019
12020 * calc/calccomp.el (math-compose-expr): Use parentheses when
12021 there is a product in the denominator of a fraction.
12022
12023 2012-07-26 Eli Zaretskii <eliz@gnu.org>
12024
12025 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
12026 ($(lisp)/calendar/diary-loaddefs.el)
12027 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
12028 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
12029 Fixes failures in parallel bootstrap because subdirs.el is being
12030 rewritten while the autoload files are built at the same time,
12031 which needs to load subdirs.el.
12032
12033 2012-07-26 Martin Rudalics <rudalics@gmx.at>
12034
12035 * mouse.el (popup-menu): Fix doc-string and re-indent code.
12036 (mouse-drag-line): Don't exit tracking when a switch-frame or
12037 switch-window event occurs (Bug#12006).
12038
12039 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
12040
12041 * mouse.el (popup-menu): Fix last change.
12042
12043 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
12044
12045 Autoload from Lisp with more care. Follow aliases when looking for
12046 function properties.
12047 * subr.el (autoloadp): New function.
12048 (symbol-file): Use it.
12049 (function-get): New function.
12050 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
12051 autoload-do-load.
12052 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
12053 (lisp-indent-function):
12054 * emacs-lisp/gv.el (gv-get):
12055 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
12056 * emacs-lisp/byte-opt.el (byte-optimize-form):
12057 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
12058 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
12059 Use function-get.
12060 * emacs-lisp/cl.el: Don't propagate function properties any more.
12061
12062 * speedbar.el (speedbar-add-localized-speedbar-support):
12063 * emacs-lisp/disass.el (disassemble-internal):
12064 * desktop.el (desktop-load-file):
12065 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
12066 (describe-function-1):
12067 * emacs-lisp/find-func.el (find-function-noselect):
12068 * emacs-lisp/elp.el (elp-instrument-function):
12069 * emacs-lisp/advice.el (ad-has-proper-definition):
12070 * apropos.el (apropos-safe-documentation, apropos-macrop):
12071 * emacs-lisp/debug.el (debug-on-entry):
12072 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
12073 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
12074 * calc/calc.el (name): Use autoloadp & autoload-do-load.
12075
12076 2012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
12077
12078 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
12079 function, not an obsolete variable (Bug#12046).
12080
12081 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
12082
12083 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
12084
12085 2012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
12086
12087 * emacs-lisp/pp.el (pp-display-expression): Select old selected
12088 window only if it is still live (Bug#12034).
12089
12090 2012-07-25 Martin Rudalics <rudalics@gmx.at>
12091
12092 * subr.el (redirect-frame-focus): Add advertised calling
12093 convention (Bug#12030).
12094
12095 2012-07-25 Paul Eggert <eggert@cs.ucla.edu>
12096
12097 Prefer typical American spelling for "acknowledgment".
12098 * vc/add-log.el (change-log-acknowledgment): Rename from
12099 change-log-acknowledgement, with an alias for the old name.
12100
12101 2012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
12102
12103 * calc-alg.el (math-simplify-divide): Don't cross multiply
12104 in an equation when the lhs is a variable.
12105
12106 2012-07-24 Julien Danjou <julien@danjou.info>
12107
12108 * net/netrc.el (netrc-find-service-number, netrc-store-data):
12109 Remove, unused.
12110
12111 2012-07-23 Eli Zaretskii <eliz@gnu.org>
12112
12113 * startup.el (command-line): Don't display an empty user name in
12114 the error message about non-existent home directory, when
12115 init-file-user was set to an empty string. See
12116 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
12117 for the details and context.
12118
12119 2012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
12120
12121 * ses.el (ses-cell-formula-aset): New macro.
12122 (ses-cell-references-aset): New macro.
12123 (ses-cell-p): New function.
12124 (ses-rename-cell): Do no longer rely on complex operations like
12125 ses-cell-set-formula or ses-set-cell to change the cell and handle
12126 the undo at the same time, but rather use lower level new macros
12127 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
12128 the undo directly. Refresh the mode line.
12129
12130 2012-07-21 Leo Liu <sdl.web@gmail.com>
12131
12132 * progmodes/cc-cmds.el (c-defun-name):
12133 Use match-string-no-properties instead for consistency.
12134
12135 2012-07-20 Leo Liu <sdl.web@gmail.com>
12136
12137 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
12138 (Bug#7879)
12139
12140 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
12141
12142 2012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
12143
12144 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
12145 * progmodes/bug-reference.el, misearch.el: Provide themselves
12146 (bug#11915).
12147
12148 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
12149 of narrowed buffer (bug#11966).
12150
12151 2012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
12152
12153 * ses.el (ses-rename-cell): Set new name also in reference list of
12154 cells of which the renamed cell depends.
12155
12156 2012-07-20 Masatake YAMATO <yamato@redhat.com>
12157
12158 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
12159 to check whether menu-bar is shown or not. If not shown,
12160 show the menu-bar as a popup menu instead of using tmm.
12161 * mouse.el (popup-menu): Accept `point' as `position' argument.
12162
12163 2012-07-20 Dmitry Gutov <dgutov@yandex.ru>
12164
12165 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
12166 up inside string symbol literal (bug#11923).
12167
12168 2012-07-20 Eli Zaretskii <eliz@gnu.org>
12169
12170 * startup.el (fancy-startup-text): Read the whole tutorial, not
12171 just its first 256 bytes. Prevents gibberish in display of the
12172 tutorial title.
12173
12174 2012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
12175
12176 Drop idle buffer compaction due to an absence of the
12177 proved efficiency.
12178 * compact.el: Remove.
12179
12180 2012-07-19 Sam Steingold <sds@gnu.org>
12181
12182 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
12183 vc-bzr-pull & vc-bzr-merge-branch.
12184 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
12185 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
12186 for consistency with compilation-error-regexp-alist.
12187 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
12188 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
12189 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
12190 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
12191
12192 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
12193
12194 * emacs-lisp/chart.el: Use lexical-binding.
12195 (chart-emacs-storage): Don't hardcode the list of entries.
12196
12197 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
12198
12199 Next round of tweaks caused by Fgarbage_collect changes.
12200 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
12201
12202 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
12203
12204 Compact buffers when idle.
12205 * compact.el: New file.
12206
12207 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
12208
12209 * subr.el (eventp): Presume that if it looks vaguely like an event,
12210 it's an event (bug#10190).
12211
12212 2012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
12213
12214 Enhancements to ppss related code (thanks Stefan).
12215 * progmodes/python.el (python-indent-context)
12216 (python-indent-calculate-indentation, python-indent-dedent-line)
12217 (python-indent-electric-colon, python-nav-forward-block)
12218 (python-mode-abbrev-table)
12219 (python-info-assignment-continuation-line-p): Simplify checks
12220 for ppss context.
12221 (python-info-continuation-line-p): Cleanup.
12222 (python-info-ppss-context): Do not catch 'quote.
12223 (python-info-ppss-context-type)
12224 (python-info-ppss-comment-or-string-p): Simplify.
12225
12226 2012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
12227
12228 * progmodes/python.el: Enhancements to eldoc support.
12229 (python-info-current-symbol): New function.
12230 (python-eldoc-at-point): Use python-info-current-symbol.
12231 (python-info-current-defun): Fix cornercase on first defun scan.
12232 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
12233 and signal error when no inferior python process is available.
12234
12235 2012-07-18 Dmitry Gutov <dgutov@yandex.ru>
12236
12237 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
12238 assume it's always t.
12239 (vc-git-registered): Remove caching, the function is only called
12240 once.
12241 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
12242
12243 2012-07-18 Chong Yidong <cyd@gnu.org>
12244
12245 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
12246
12247 * simple.el (count-words): Report on narrowing (Bug#9959).
12248
12249 * bindings.el: Bind M-= to count-words.
12250
12251 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
12252
12253 2012-07-18 Masatake YAMATO <yamato@redhat.com>
12254
12255 * progmodes/sh-script.el (sh-imenu-generic-expression):
12256 Capture a function with `function' keyword and without parentheses
12257 like "function FOO" (bug#11856).
12258
12259 2012-07-18 Tassilo Horn <tassilo@member.fsf.org>
12260
12261 * window.el (split-window-sensibly): Make WINDOW argument
12262 optional.
12263
12264 2012-07-18 Chong Yidong <cyd@gnu.org>
12265
12266 * subr.el (keyboard-translate): Doc fix (Bug#7261).
12267
12268 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
12269 and make C-x 8 RET exit isearch (Bug#11439).
12270
12271 * international/iso-transl.el: Move isearch-mode-map key
12272 definitions to isearch.el.
12273
12274 2012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
12275
12276 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
12277 (eieio-defclass): Use gv-define-setter when possible.
12278
12279 2012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
12280
12281 Reflect recent changes in Fgarbage_collect.
12282 * emacs-lisp/chart.el (chart-emacs-storage): Change to
12283 reflect new format of data returned by Fgarbage_collect.
12284
12285 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
12286
12287 New utility functions + python-info-ppss-context fix (Bug#11910).
12288 * progmodes/python.el (python-info-beginning-of-block-statement-p)
12289 (python-info-ppss-comment-or-string-p): New functions.
12290 (python-info-ppss-context): Small fix for string check.
12291
12292 2012-07-17 Juri Linkov <juri@jurta.org>
12293
12294 * dired-aux.el (dired-do-async-shell-command): Doc fix.
12295 (dired-do-async-shell-command): Don't add `*' at the end of the
12296 command (Bug#11815).
12297 (dired-do-shell-command): Doc fix.
12298 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
12299 Join the individual commands using either "&" or ";" as the
12300 separator depending on the values of these trailing characters.
12301 At the end re-add the trailing "&". (Bug#10598)
12302
12303 * simple.el (async-shell-command): Sync the interactive spec with
12304 `shell-command'. Doc fix.
12305 (shell-command): Doc fix.
12306
12307 2012-07-17 Juri Linkov <juri@jurta.org>
12308
12309 * descr-text.el (describe-char): Fix format args. (Bug#10129)
12310
12311 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
12312
12313 Final renames and doc fixes for movement commands (bug#11899).
12314 * progmodes/python.el (python-nav-beginning-of-statement):
12315 Rename from python-nav-statement-start.
12316 (python-nav-end-of-statement): Rename from
12317 python-nav-statement-end.
12318 (python-nav-beginning-of-block): Rename from
12319 python-nav-block-start.
12320 (python-nav-end-of-block): Rename from python-nav-block-end.
12321
12322 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
12323
12324 * progmodes/python.el (python-shell-send-string-no-output):
12325 Allow accept-process-output to quit, keeping shell process ready for
12326 future interactions (Bug#11868).
12327
12328 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
12329
12330 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
12331
12332 * emacs-lisp/elint.el (elint-find-args-in-code):
12333 Use help-function-arglist, so as to handle lexical byte-code.
12334
12335 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
12336 change (bug#11826).
12337
12338 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
12339
12340 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
12341 Avoid spuriously marking the buffer as modified because of c-is-sws.
12342
12343 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
12344 as not-a-comment (bug#11946).
12345
12346 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
12347 for uninterned vars.
12348
12349 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
12350 Use read-event since we don't really want to read chars but bytes.
12351
12352 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
12353 $$..$$ but also $..$ using regexps (bug#11953).
12354 Use tex-verbatim for \url and \path.
12355 (tex-font-lock-keywords): Define as defconst like the others.
12356 (tex-common-initialization): Don't use font-lock-syntax-table any more.
12357
12358 2012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
12359
12360 * international/mule-cmds.el (ucs-insert): Make it an obsolete
12361 alias for insert-char.
12362
12363 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
12364
12365 * progmodes/python.el: Simplified imenu implementation.
12366 (python-nav-jump-to-defun): Remove command.
12367 (python-mode-map): Use `imenu' instead.
12368 (python-nav-list-defun-positions-cache)
12369 (python-imenu-include-defun-type, python-imenu-make-tree)
12370 (python-imenu-subtree-root-label, python-imenu-index-alist):
12371 Remove vars.
12372 (python-nav-list-defun-positions, python-nav-read-defun)
12373 (python-imenu-tree-assoc, python-imenu-make-element-tree)
12374 (python-imenu-make-tree, python-imenu-create-index):
12375 Remove functions.
12376 (python-mode): Update to interact with imenu by setting
12377 `imenu-extract-index-name-function' only.
12378
12379 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
12380
12381 * progmodes/python.el: Enhancements to navigation commands.
12382 (python-nav-backward-sentence)
12383 (python-nav-forward-sentence): Remove.
12384 (python-nav-backward-statement, python-nav-forward-statement)
12385 (python-nav-statement-start, python-nav-statement-end)
12386 (python-nav-backward-block, python-nav-forward-block)
12387 (python-nav-block-start, python-nav-block-end)
12388 (python-nav-forward-sexp-function)
12389 (python-info-current-line-comment-p)
12390 (python-info-current-line-empty-p): New functions.
12391 (python-indent-context): Use `python-nav-statement-start'.
12392
12393 2012-07-16 Michael Albinus <michael.albinus@gmx.de>
12394
12395 * eshell/em-ls.el (eshell/ls): Use `apply'.
12396
12397 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
12398 multi-hops, instead of Tramp internals.
12399
12400 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
12401
12402 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
12403 when F1 and F2 are located on different hosts.
12404
12405 2012-07-14 Chong Yidong <cyd@gnu.org>
12406
12407 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
12408 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
12409 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
12410 (xterm-mouse--read-event-sequence-1000)
12411 (xterm-mouse--read-event-sequence-1006): New functions. For old
12412 mouse protocol, handle M-mouse-X events correctly.
12413 (xterm-mouse-event): New arg specifying mouse protocol.
12414 (turn-on-xterm-mouse-tracking-on-terminal)
12415 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
12416 sequence to toggle extended coordinates on newer XTerms.
12417 This appears to be harmless on terminals which do not support this.
12418
12419 2012-07-14 Leo Liu <sdl.web@gmail.com>
12420
12421 Add fringe bitmap indicators for flymake. (Bug#11253)
12422 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
12423 (flymake-make-overlay): New arg BITMAP.
12424 (flymake-error-bitmap, flymake-warning-bitmap)
12425 (flymake-fringe-indicator-position): New user variables.
12426
12427 * fringe.el: New bitmap exclamation-mark.
12428
12429 2012-07-14 Jan Djärv <jan.h.d@swipnet.se>
12430
12431 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
12432 also (Bug#7879).
12433
12434 2012-07-14 Chong Yidong <cyd@gnu.org>
12435
12436 * electric.el (electric-pair-post-self-insert-function): Fix pair
12437 insertion in empty-region case (Bug#11520).
12438
12439 2012-07-14 Chong Yidong <cyd@gnu.org>
12440
12441 * bindings.el: Consolidate ctl-x-r-map bindings.
12442 Bind copy-rectangle-as-kill to C-x r w.
12443
12444 * rect.el, register.el: Move bindings to bindings.el.
12445
12446 2012-07-14 Reuben Thomas <rrt@sc3d.org>
12447
12448 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
12449
12450 2012-07-13 Andreas Schwab <schwab@linux-m68k.org>
12451
12452 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
12453
12454 2012-07-13 Juanma Barranquero <lekktu@gmail.com>
12455
12456 * bindings.el (top): Use `mapc' instead of `mapcar'.
12457
12458 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
12459
12460 2012-07-13 Michael Albinus <michael.albinus@gmx.de>
12461
12462 * progmodes/sql.el (sql-comint): Suppress the check for program on
12463 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
12464 (Bug#11908)
12465
12466 2012-07-13 Chong Yidong <cyd@gnu.org>
12467
12468 * bindings.el: Assign a non-nil permanent-local property to
12469 per-buffer variables which lack a default value (Bug#11930).
12470
12471 * help-fns.el (describe-variable): In the "automatically becomes
12472 local" notice, take note of permanent-local variables.
12473
12474 2012-07-13 Chong Yidong <cyd@gnu.org>
12475
12476 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
12477 to allow printing the message when called from Lisp.
12478
12479 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
12480 Remove toggle-read-only.
12481
12482 * bs.el (bs-toggle-readonly):
12483 * buff-menu.el (Buffer-menu-toggle-read-only):
12484 Remove with-no-warnings around toggle-read-only.
12485
12486 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
12487 Remove with-no-warnings around toggle-read-only.
12488 (ffap-read-only, ffap-read-only-other-window)
12489 (ffap-read-only-other-frame): Callers changed.
12490
12491 * help-mode.el: Don't require view package.
12492 (help-mode-finish): Set buffer-read-only instead of calling
12493 toggle-read-only.
12494
12495 * bindings.el (mode-line-toggle-read-only):
12496 * dired.el (dired-toggle-read-only):
12497 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
12498 with non-nil second arg.
12499
12500 * emacs-lisp/eieio-custom.el (eieio-customize-object):
12501 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
12502 directly.
12503
12504 2012-07-12 Eli Zaretskii <eliz@gnu.org>
12505
12506 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
12507 not incf.
12508
12509 2012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
12510
12511 More CL cleanups and reduction of use of cl.el.
12512 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
12513 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
12514 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
12515 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
12516 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
12517 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
12518 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
12519 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
12520 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
12521 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
12522 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
12523 * eshell/em-cmpl.el, eshell/em-banner.el:
12524 * calendar/parse-time.el: Use cl-lib.
12525 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
12526 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
12527 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
12528 * term/ns-win.el, term.el, shell.el, ps-samp.el:
12529 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
12530 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
12531 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
12532 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
12533 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
12534 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
12535 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
12536 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
12537 `lambda' rather than with `quote'.
12538 (eshell-do-opt): Adjust accordingly.
12539 (eshell-process-option): Simplify.
12540 * eshell/esh-var.el:
12541 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
12542 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
12543 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
12544 to `pcase--dontcare'.
12545 * emacs-lisp/cl.el (labels): Mark obsolete.
12546 (cl--letf, letf): Move to cl-lib.
12547 (cl--letf*, letf*): Remove.
12548 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
12549 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
12550 (cl-progv): Rewrite.
12551 (cl--letf, cl-letf): Move from cl.el.
12552 (cl-letf*): New macro.
12553 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
12554
12555 2012-07-11 Michael Albinus <michael.albinus@gmx.de>
12556
12557 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
12558
12559 2012-07-11 Chong Yidong <cyd@gnu.org>
12560
12561 * vc/log-edit.el (log-edit-vc-backend): New variable.
12562 (log-edit): Doc fix.
12563
12564 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
12565 argument of log-edit to set up all local variables.
12566 (vc-start-logentry): New optional arg specifying VC backend.
12567
12568 * vc/vc.el (vc-checkin): Use it.
12569 (vc-deduce-fileset): Handle Log Edit buffers.
12570 (vc-diff): Make first argument optional too.
12571
12572 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
12573
12574 2012-07-10 Michael Albinus <michael.albinus@gmx.de>
12575
12576 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
12577 command, just in case. The function is not needed anymore.
12578 (eshell-external-command): Do not call `eshell-remote-command'.
12579
12580 2012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
12581
12582 Reduce use of (require 'cl).
12583 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
12584 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
12585 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
12586 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
12587 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
12588 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
12589 * battery.el, avoid.el, abbrev.el: Use cl-lib.
12590 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
12591 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
12592 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
12593 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
12594 * calculator.el, autorevert.el, apropos.el: Don't require CL.
12595 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
12596 (byte-compile-unfold-bcf, byte-compile-check-variable):
12597 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
12598 (byte-compile-nilconstp):
12599 * emacs-lisp/autoload.el (make-autoload): Use pcase.
12600 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
12601
12602 * emacs-lisp/gv.el (cond): Make it a valid place.
12603 (if): Simplify slightly.
12604
12605 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
12606 (pcase--self-quoting-p): New function.
12607 (pcase--u1): Use it.
12608
12609 2012-07-10 Glenn Morris <rgm@gnu.org>
12610
12611 * emacs-lisp/authors.el (authors-fixed-entries):
12612 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
12613
12614 2012-07-09 Paul Eggert <eggert@cs.ucla.edu>
12615
12616 Rename configure.in to configure.ac (Bug#11603).
12617 * emacs-lisp/authors.el (authors-canonical-file-name):
12618 * progmodes/autoconf.el (autoconf-mode):
12619 Prefer configure.ac to configure.in.
12620
12621 2012-07-08 Chong Yidong <cyd@gnu.org>
12622
12623 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
12624 Implement the mouse-1-click-follows-link handling properly.
12625
12626 * info.el (Info-link-keymap): Use follow-link mechanism for
12627 header-line links (Bug#374).
12628
12629 * simple.el (deactivate-mark): Do not set the primary selection
12630 if another program has acquired it (Bug#11772).
12631
12632 2012-07-07 Kevin Ryde <user42@zip.com.au>
12633
12634 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
12635 (woman-decode-region): Replace escaped-escapes without destroying
12636 bold or underline (Bug#11552).
12637 (woman2-process-escapes): Handle nofill regions (Bug#11591).
12638
12639 2012-07-07 Chong Yidong <cyd@gnu.org>
12640
12641 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
12642 (interprogram-cut-function, interprogram-paste-function):
12643 Mention that we typically mean the clipboard.
12644
12645 2012-07-06 Glenn Morris <rgm@gnu.org>
12646
12647 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
12648
12649 * files.el (toggle-read-only): Restrict message to interactive use.
12650
12651 2012-07-06 Michael Albinus <michael.albinus@gmx.de>
12652
12653 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
12654
12655 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
12656
12657 2012-07-06 Glenn Morris <rgm@gnu.org>
12658
12659 * Makefile.in (compile-one-process): Rename from "recompile".
12660
12661 * Makefile.in (bzr-update): "compile" is the same as "recompile
12662 autoloads", but parallelizable, so use that instead.
12663
12664 2012-07-06 Dmitry Gutov <dgutov@yandex.ru>
12665
12666 * window.el (quit-window): Always restore window height when
12667 it's saved in quit-restore parameter (Bug#11810).
12668
12669 2012-07-06 Glenn Morris <rgm@gnu.org>
12670
12671 * simple.el (kill-whole-line): Doc tweak.
12672
12673 2012-07-06 Eli Zaretskii <eliz@gnu.org>
12674
12675 * files.el (file-relative-name): Compare file names
12676 case-insensitively if on MS-Windows or MS-DOS, or if
12677 read-file-name-completion-ignore-case is non-nil. Don't use
12678 case-fold-search for this purpose. (Bug#11827)
12679
12680 2012-07-17 Andreas Schwab <schwab@linux-m68k.org>
12681
12682 * calendar/cal-dst.el (calendar-current-time-zone):
12683 Return calendar-current-time-zone-cache if non-nil.
12684
12685 2012-07-17 Masatake YAMATO <yamato@redhat.com>
12686 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
12687
12688 * calendar/cal-dst.el (calendar-current-time-zone):
12689 Return calendar-current-time-zone-cache if non-nil.
12690
12691 2012-07-06 Glenn Morris <rgm@gnu.org>
12692
12693 * Makefile.in (cvs-update): Remove old alias.
12694
12695 2012-07-05 Michael Albinus <michael.albinus@gmx.de>
12696
12697 Sync with Tramp 2.2.6-pre.
12698
12699 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
12700 compatible declaration.
12701
12702 * net/tramp-cmds.el (tramp-append-tramp-buffers):
12703 Protect `list-load-path-shadows' call.
12704
12705 * net/tramp-compat.el (top): Require packages, which aren't
12706 autoloaded anymore for XEmacs. Protect call of
12707 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
12708 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
12709 it hurts at least for SXEmacs.
12710 (tramp-compat-temporary-file-directory): In XEmacs, there is no
12711 standard-value for `temporary-file-directory'.
12712
12713 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
12714 Redirect stderr to /dev/null.
12715 (tramp-sh-handle-write-region): uid and gid can be floats.
12716 Reported by Russell Sim <russell.sim@gmail.com>.
12717 (tramp-sh-handle-vc-registered): Hide errors.
12718 (tramp-vc-file-name-handler): Use dummy results for `process-file'
12719 and `start-file-process'.
12720 (tramp-maybe-open-connection): Check also whether `non-essential'
12721 is bound.
12722
12723 2012-07-04 Chong Yidong <cyd@gnu.org>
12724
12725 * xml.el (xml--parse-buffer): Use xml-syntax-table.
12726 (xml-parse-tag): Likewise, and avoid changing entity tables.
12727 (xml-syntax-table): Define from scratch, making sure not to give
12728 x2000 and other Unicode spaces whitespace syntax, since those are
12729 not spaces in XML.
12730 (xml-parse-fragment): Delete unused function.
12731 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
12732 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
12733 (xml-entity-ref, xml-pe-reference-re)
12734 (xml-reference-re, xml-att-value-re, xml-tokenized-type-re)
12735 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
12736 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
12737 (xml-entity-value-re): Use syntax references in regexps where
12738 possible; no need to define inside a let-binding.
12739 (xml-parse-dtd): Use xml-pe-reference-re.
12740 (xml-entity-or-char-ref-re): New defconst.
12741 (xml-parse-string, xml-substitute-special): Use it.
12742
12743 2012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
12744
12745 * files.el (locate-dominating-file): Allow `name' to be a predicate.
12746 (find-file--read-only): New function.
12747 (find-file-read-only, find-file-read-only-other-window)
12748 (find-file-read-only-other-frame): Use it.
12749 (insert-file-contents-literally): Don't `fset'.
12750 (get-free-disk-space): Use locate-dominating-file.
12751
12752 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
12753 function is already compiled.
12754
12755 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
12756
12757 2012-07-03 Michael Albinus <michael.albinus@gmx.de>
12758
12759 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
12760 files on the same host.
12761
12762 2012-07-03 Andreas Schwab <schwab@linux-m68k.org>
12763
12764 * help-fns.el (describe-function-1): Only call
12765 help-fns--autoloaded-p when we have a file name. (Bug#11848)
12766
12767 2012-07-03 Chong Yidong <cyd@gnu.org>
12768
12769 * xml.el: Protect parser against XML bombs.
12770 (xml-entity-expansion-limit): New variable.
12771 (xml-parse-string, xml-substitute-special): Use it.
12772 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
12773
12774 2012-07-03 Glenn Morris <rgm@gnu.org>
12775
12776 * progmodes/bug-reference.el (bug-reference-bug-regexp):
12777 Allow linking to specific messages in debbugs reports (eg 123#5).
12778
12779 2012-07-02 Chong Yidong <cyd@gnu.org>
12780
12781 * xml.el: Fix entity and character reference expansion, allowing
12782 them to expand into markup as per XML spec.
12783 (xml-default-ns): New variable.
12784 (xml-entity-alist): Use XML spec definitions for lt and amp.
12785 (xml-parse-region): Make first two arguments optional.
12786 Discard text properties.
12787 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
12788 All callers changed.
12789 (xml-parse-tag): Call xml-parse-tag-1. For backward
12790 compatibility, this function should not modify buffer contents.
12791 (xml-parse-tag-1): Fix opening-tag regexp.
12792 (xml-parse-string): Rewrite, handling entity and character
12793 references properly.
12794 (xml--entity-replacement-text): Signal an error if a parameter
12795 entity is undefined.
12796
12797 2012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
12798
12799 * comint.el (comint-output-filter): Filter out repeated prompts.
12800
12801 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
12802 and file-name-absolute-p.
12803 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
12804 internal calls.
12805
12806 2012-07-02 Paul Eggert <eggert@cs.ucla.edu>
12807
12808 Spelling fixes.
12809 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
12810 Rename from byte-compile--refiy-function. All uses changed.
12811
12812 2012-07-01 Chong Yidong <cyd@gnu.org>
12813
12814 * xml.el (xml--parse-buffer): New function. Move most of
12815 xml-parse-region here.
12816 (xml-parse-region): Copy region into a temporary buffer, since
12817 parameter entity substitution requires changing buffer contents.
12818 Use xml--parse-buffer.
12819 (xml-parse-file): Use xml--parse-buffer.
12820 (xml-parse-dtd): Make parameter entity substitution work right.
12821 Use proper regexps for ELEMENT declarations (Bug#7172).
12822
12823 2012-06-30 Glenn Morris <rgm@gnu.org>
12824
12825 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
12826
12827 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
12828 Remove outdated and unnecessary dbus declarations.
12829
12830 2012-06-30 Eli Zaretskii <eliz@gnu.org>
12831
12832 * emacs-lisp/timer.el (timer-until): Subtract results of
12833 float-time, instead of taking float-time of the result of
12834 time-subtract, since float-time signals an error for negative time
12835 arguments.
12836
12837 2012-06-30 Chong Yidong <cyd@gnu.org>
12838
12839 * xml.el (xml-*-re): Convert defvars into defconsts, and
12840 eval-and-compile them so eval-and-compile works on derivatives.
12841 (xml--entity-replacement-text): Use eval-and-comple.
12842
12843 2012-06-30 Michael Albinus <michael.albinus@gmx.de>
12844
12845 * vc/vc-git.el (vc-git-registered): Use cache property
12846 `git-registered'.
12847 (vc-git-mode-line-string): Call `vc-working-revision' instead of
12848 `vc-git-working-revision' in order to benefit from the cache.
12849 (vc-git-root): Use cache property `git-root'. (Bug#11757)
12850
12851 2012-06-30 Dmitry Gutov <dgutov@yandex.ru>
12852
12853 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
12854 removed (likely outside Emacs). (Bug#11757)
12855
12856 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
12857
12858 * emacs-lisp/cl-lib.el: Require macroexp.
12859
12860 2012-06-30 Chong Yidong <cyd@gnu.org>
12861
12862 * xml.el: Implement XML parameter entities.
12863 (xml-parameter-entity-alist): New variable.
12864 (xml-parse-region, xml-parse-fragment): Preserve previous values
12865 of xml-entity-alist and xml-parameter-entity-alist, so that
12866 repeated calls on different documents do not change them.
12867 (xml-parse-tag): Fix doctype regexp.
12868 (xml--entity-replacement-text): New function.
12869 (xml-parse-dtd): Use it. Don't handle system entities; doing that
12870 properly requires url retrieval which is unimplemented.
12871 (xml-escape-string): Doc fix.
12872
12873 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
12874
12875 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
12876
12877 2012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
12878
12879 * fringe.el (fringe-mode): Doc fix.
12880
12881 2012-06-29 Michael Albinus <michael.albinus@gmx.de>
12882
12883 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
12884 is non-nil.
12885 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
12886 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
12887
12888 2012-06-29 Andreas Schwab <schwab@linux-m68k.org>
12889
12890 * calendar/cal-dst.el (calendar-current-time-zone):
12891 Return calendar-current-time-zone-cache if non-nil.
12892
12893 2012-06-29 Masatake YAMATO <yamato@redhat.com>
12894
12895 * progmodes/which-func.el (which-func-format):
12896 Add mouse-face. (Bug#11698)
12897
12898 2012-06-29 Leo Liu <sdl.web@gmail.com>
12899
12900 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
12901
12902 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
12903
12904 * minibuffer.el (minibuffer-confirm-exit-commands):
12905 Add completion-at-point (bug#11725).
12906
12907 2012-06-29 Glenn Morris <rgm@gnu.org>
12908
12909 * progmodes/f90.el (f90-font-lock-keywords-2):
12910 Add some preprocessor elements. (Bug#10499)
12911
12912 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
12913
12914 * progmodes/cperl-mode.el (cperl-update-syntaxification):
12915 Use syntax-propertize (bug#11739).
12916
12917 2012-06-28 Juanma Barranquero <lekktu@gmail.com>
12918
12919 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
12920
12921 2012-06-28 Julien Danjou <julien@danjou.info>
12922
12923 * term.el (term-handle-colors-array): Use a set of new faces to
12924 color the terminal. Also uses :inverse-video property.
12925 (term-default-fg-color): Set to nil by default, deprecate in favor
12926 of `term-face'.
12927 (term-default-bg-color): Set to nil by default, deprecate in favor
12928 of `term-face'.
12929 (term-current-face): Use `term-face' by default.
12930 (term-bold-attribute): Variable deleted.
12931
12932 2012-06-28 Glenn Morris <rgm@gnu.org>
12933
12934 * simple.el (completion-list-mode-finish):
12935 Don't use toggle-read-only. (Since completion-list-mode has
12936 a special mode-class, it wasn't doing anything extra anyway.)
12937
12938 2012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
12939
12940 Make inlining of other-mode interpreted functions work (bug#11799).
12941 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
12942 (byte-compile): Use it to fix compilation of lexical-binding closures.
12943 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
12944 function, if needed.
12945
12946 2012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
12947
12948 * help-mode.el (help-make-xrefs): Don't just withstand
12949 cyclic-variable-indirection but any error in documentation-property.
12950
12951 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
12952 memory use.
12953 * bindings.el (bindings--define-key): New function.
12954 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
12955 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
12956 * bindings.el: Use it to purecopy define-key bindings.
12957
12958 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
12959
12960 * emacs-lisp/cl.el (flet): Mark obsolete.
12961 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
12962 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
12963 * progmodes/js.el (js-c-fill-paragraph):
12964 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
12965 (ebrowse-switch-member-buffer-to-derived-class):
12966 * play/5x5.el (5x5-solver): Use cl-flet.
12967
12968 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
12969 (cl--symbol-function): New macro.
12970 (cl--letf, cl--letf*): Use it.
12971
12972 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
12973 Strip "toggle-" if any.
12974
12975 2012-06-27 Glenn Morris <rgm@gnu.org>
12976
12977 * info.el (Info-default-directory-list): Move here from paths.el.
12978 * paths.el: Remove file, which is now empty.
12979 * loadup.el: No longer load "paths".
12980
12981 * custom.el (custom-initialize-delay): Doc fix.
12982
12983 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
12984 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
12985 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
12986 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
12987 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
12988 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
12989 * eshell/eshell.el (eshell-defgroup): Remove alias.
12990
12991 2012-06-27 Chong Yidong <cyd@gnu.org>
12992
12993 * help.el (help-enable-auto-load): New variable.
12994
12995 * help-fns.el (help-fns--autoloaded-p): New function.
12996 (describe-function-1): Refer to a function as "autoloaded" if it
12997 was autoloaded at any time in the past. Perform autoloading if
12998 help-enable-auto-load is non-nil.
12999
13000 2012-06-26 Eli Zaretskii <eliz@gnu.org>
13001
13002 * makefile.w32-in (compile, compile-always): Depend on
13003 update-subdirs, not on subdirs.el. Otherwise, several different
13004 sub-targets of 'bootstrap' running in parallel could
13005 simultaneously write to subdirs.el, producing a garbled file.
13006
13007 2012-06-26 Sam Steingold <sds@gnu.org>
13008
13009 * files.el (file-name-base): New convenience function.
13010 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
13011 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
13012 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
13013 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
13014 * textmodes/ispell.el, textmodes/reftex-ref.el:
13015 * textmodes/tex-mode.el: Use it.
13016 Did not touch cedet and org because they are maintained elsewhere.
13017
13018 2012-06-26 Martin Rudalics <rudalics@gmx.at>
13019
13020 * calendar/calendar.el (calendar-exit): Don't try to delete or
13021 iconify last frame. See:
13022 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
13023
13024 2012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
13025
13026 * server.el (server-process-filter): Remember dir in the
13027 process's `server-client-directory' properties.
13028
13029 2012-06-24 Chong Yidong <cyd@gnu.org>
13030
13031 * xml.el (xml-parse-tag): Correctly handle comment embedded in
13032 non-tag text.
13033
13034 2012-06-23 Juanma Barranquero <lekktu@gmail.com>
13035
13036 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
13037
13038 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
13039
13040 * help-fns.el (describe-variable): Don't croak when doc is not found.
13041 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
13042 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
13043 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
13044 * emacs-lisp/smie.el (smie-next-sexp): CSE.
13045 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
13046 ((lambda ..) ..).
13047 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
13048
13049 2012-06-23 Chong Yidong <cyd@gnu.org>
13050
13051 * info.el (Info-mouse-follow-link): Accept symbol values of
13052 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
13053 (Info-fontify-node): Use Info-link-keymap for all navigation
13054 buttons, with link-args property to perform the desired action.
13055 (Info-link-keymap): Doc fix.
13056 (Info-next-link-keymap, Info-prev-link-keymap)
13057 (Info-up-link-keymap): Delete now-unused keymaps.
13058
13059 2012-06-23 Chong Yidong <cyd@gnu.org>
13060
13061 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
13062
13063 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
13064 system abbrevs.
13065
13066 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
13067
13068 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
13069
13070 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
13071 (bug#11719).
13072
13073 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
13074 the requote function doesn't work properly (bug#11714).
13075
13076 2012-06-23 Glenn Morris <rgm@gnu.org>
13077
13078 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
13079
13080 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
13081
13082 Further GV/CL cleanups.
13083 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
13084 gv-expander.
13085 (gv--defun-declaration): New function.
13086 (defun-declarations-alist): Use it.
13087 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
13088 (gv-place): Autoload.
13089 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
13090 original definition of dotimes and dolist.
13091 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
13092 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
13093 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
13094 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
13095 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
13096 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
13097 to the function's definition.
13098 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
13099 * window.el:
13100 * files.el:
13101 * faces.el:
13102 * env.el: Don't use CL.
13103
13104 2012-06-22 Paul Eggert <eggert@cs.ucla.edu>
13105
13106 Support higher-resolution time stamps (Bug#9000).
13107
13108 * calendar/time-date.el (with-decoded-time-value): New arg
13109 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
13110 (encode-time-value): New optional arg PICO. New type 3.
13111 (time-to-seconds) [!float-time]: Support the new picoseconds
13112 component if it's used.
13113 (seconds-to-time, time-subtract, time-add):
13114 Support ps-resolution time stamps as well.
13115
13116 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
13117 (timerp): Timer vectors now have length 9, not 8.
13118 (timer--time): Support new-style (4-part) time stamps.
13119 (timer-next-integral-multiple-of-time): Time stamps now have
13120 picosecond resolution, so take a bit more care about rounding.
13121 (timer-relative-time, timer-inc-time): New optional arg psecs.
13122 (timer-set-time-with-usecs): Set psecs to 0.
13123 (timer--activate): Check psecs component, too.
13124
13125 * proced.el (proced-time-lessp): Support ps-resolution stamps.
13126
13127 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
13128
13129 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
13130 Move the non-essential binding to the post/pre-command-hook where it is
13131 more obviously correct.
13132
13133 * subr.el (read-passwd): Don't use a history at all.
13134 * savehist.el (savehist-save): Remove password saved accidentally
13135 because of the above bug.
13136
13137 2012-06-22 Bastien Guerry <bzg@gnu.org>
13138
13139 * files.el (toggle-read-only): Display a message telling whether
13140 the buffer is read-only or not (bug#11726).
13141
13142 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
13143
13144 * emacs-lisp/gv.el: New file.
13145 * subr.el (push, pop): Extend to generalized variables.
13146 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
13147 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
13148 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
13149 gv-define-simple-setter, and gv-define-expander.
13150 Remove setf-methods defined in gv. Rename cl-setf -> setf.
13151 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
13152 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
13153 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
13154 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
13155 gv-letplace.
13156 (cl-defstruct): Don't define setf-method any more.
13157 * emacs-lisp/cl.el (flet): Don't autoload.
13158 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
13159 (define-setf-expander, defsetf, define-modify-macro)
13160 (cl-struct-setf-expander): Move from cl-lib.el.
13161 * emacs-lisp/syntax.el:
13162 * emacs-lisp/ewoc.el:
13163 * emacs-lisp/smie.el:
13164 * emacs-lisp/cconv.el:
13165 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
13166 (timer--time): Use gv-define-simple-setter.
13167 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
13168 to avoid coding-system problems in subr.el. Adjust all users.
13169 (macroexp--maxsize, macroexp-small-p): New functions.
13170 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
13171 * scroll-bar.el (scroll-bar-mode):
13172 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
13173 (normal-erase-is-backspace-mode): Don't use the `eq' place.
13174 * winner.el (winner-configuration, winner-make-point-alist)
13175 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
13176 * files.el (locate-file-completion-table): Avoid list*.
13177
13178 2012-06-22 Chong Yidong <cyd@gnu.org>
13179
13180 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
13181 (dired-create-files): Doc fix (Bug#11329).
13182 (dired-do-copy): Doc fix (Bug#11334).
13183 (dired-mark-read-string): Doc fix (Bug#11553).
13184
13185 * dired.el (dired-recursive-copies, dired-recursive-deletes):
13186 Doc fix (Bug#11326).
13187 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
13188 (dired-dwim-target): Doc fix.
13189
13190 * wdired.el (wdired-mode): Doc fix.
13191
13192 2012-06-22 Glenn Morris <rgm@gnu.org>
13193
13194 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
13195 (pcmpl-rpm-cache-stamp-file): New constant.
13196 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
13197 (pcmpl-rpm-packages): Optionally cache list of packages.
13198
13199 * pcmpl-rpm.el (pcmpl-rpm): New group.
13200 (pcmpl-rpm-query-options): New option.
13201 (pcmpl-rpm-packages): No need to inline it.
13202 Use pcmpl-rpm-query-options.
13203
13204 * calendar/calendar.el (calendar-in-read-only-buffer):
13205 Avoid some needless mode changes.
13206
13207 2012-06-21 Chong Yidong <cyd@gnu.org>
13208
13209 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
13210 (desktop-path): Remove . from the default value (Bug#10977).
13211 (desktop-read): Use user-emacs-directory if desktop-path is nil.
13212
13213 2012-06-20 Chong Yidong <cyd@gnu.org>
13214
13215 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
13216
13217 2012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
13218
13219 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
13220 (bug#11201).
13221
13222 2012-06-20 Chong Yidong <cyd@gnu.org>
13223
13224 * term.el (term-window-width): Handle the case of a missing right
13225 fringe (Bug#8837).
13226 (term-check-size): Use window-text-height (Bug#5445).
13227 (term-mode): Use define-derived-mode. Minor cleanups.
13228 Set font-lock-defaults (Bug#7692).
13229 (term-move-columns, term-insert-char, term-emulate-terminal)
13230 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
13231
13232 2012-06-20 Michael Albinus <michael.albinus@gmx.de>
13233
13234 * net/ange-ftp.el (ange-ftp-get-passwd):
13235 Bind `enable-recursive-minibuffers'.
13236 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
13237
13238 2012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
13239
13240 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
13241
13242 2012-06-19 Glenn Morris <rgm@gnu.org>
13243
13244 * progmodes/python.el (python-mode): Derive from prog-mode.
13245
13246 2012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
13247
13248 * emulation/edt.el (edt-default-menu-bar-update-buffers)
13249 (edt-user-menu-bar-update-buffers): New functions.
13250 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
13251
13252 2012-06-19 Chong Yidong <cyd@gnu.org>
13253
13254 * subr.el (with-selected-window): Preserve the selected window's
13255 terminal's top-frame (Bug#4702).
13256
13257 * window.el (save-selected-window): Likewise.
13258
13259 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
13260
13261 * progmodes/python.el (python-rx-constituents): Move backquote.
13262 (python-skeleton-define, python-define-auxiliary-skeleton):
13263 Use `declare'.
13264
13265 2012-06-18 Michael Albinus <michael.albinus@gmx.de>
13266
13267 * minibuffer.el (read-file-name-default): Revert the patch from
13268 2012-06-17.
13269
13270 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
13271
13272 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
13273 (pcase--u1, pcase--q1): Don't use apply-partially.
13274
13275 2012-06-18 Glenn Morris <rgm@gnu.org>
13276
13277 * progmodes/python.el (python-proc, python-buffer)
13278 (python-send-receive, python-send-string): Fix obsolete versions.
13279
13280 2012-06-18 Martin Rudalics <rudalics@gmx.at>
13281
13282 * window.el (special-display-p): Completely remove stringp
13283 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
13284
13285 2012-06-17 Michael Albinus <michael.albinus@gmx.de>
13286
13287 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
13288
13289 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
13290
13291 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
13292 * net/tramp-sh.el (tramp-maybe-open-connection):
13293 Throw if `non-essential' is non-nil.
13294
13295 2012-06-17 Martin Rudalics <rudalics@gmx.at>
13296
13297 * window.el (special-display-p): Signal an error if BUFFER-NAME
13298 is not a string (Bug#11713).
13299
13300 2012-06-17 Paul Eggert <eggert@cs.ucla.edu>
13301
13302 * progmodes/python.el (python-info-beginning-of-backslash):
13303 Rename from python-info-beginning-of-backlash, as a spelling fix.
13304
13305 2012-06-17 Chong Yidong <cyd@gnu.org>
13306
13307 * term.el (term-emulate-terminal): If term-check-size is called,
13308 move point to the process mark without resetting point (Bug#4635).
13309
13310 2012-06-17 Glenn Morris <rgm@gnu.org>
13311
13312 * international/mule-cmds.el (mule-menu-keymap)
13313 (set-language-environment, set-locale-environment): Doc tweaks.
13314
13315 2012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
13316
13317 * cus-face.el (custom-face-attributes): Add wave-style underline
13318 attribute.
13319 * faces.el (set-face-attribute): Update docstring to describe
13320 wave-style underline attribute.
13321
13322 2012-06-16 Chong Yidong <cyd@gnu.org>
13323
13324 * term/xterm.el (terminal-init-xterm): Discard input before
13325 querying background mode (Bug#10959).
13326
13327 2012-06-16 Stefan Merten <smerten@oekonux.de>
13328
13329 * textmodes/rst.el: Added and corrected some comments.
13330 (rst-re-alist-def): Improve symbol syntax.
13331 (rst-mode-syntax-table): Correct syntax entries.
13332 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
13333 (rst-official-version, rst-official-cvs-rev): Update version
13334 information.
13335
13336 2012-06-15 Juanma Barranquero <lekktu@gmail.com>
13337
13338 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
13339 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
13340
13341 2012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
13342
13343 * progmodes/python.el: New python.el merge.
13344 (python-guess-indent): Obsolete var.
13345 (python-indent-guess-indent-offset): New defcustom.
13346 (python-indent): Obsolete var.
13347 (python-indent-offset): New defcustom.
13348 (python-python-command, python-jython-command): Delete var.
13349 (python-shell-interpreter): New defcustom.
13350 (python-pdbtrack-do-tracking-p): Delete var.
13351 (python-pdbtrack-activate): New defcustom.
13352 (python-use-skeletons): Obsolete var.
13353 (python-skeleton-autoinsert): New defcustom.
13354 (inferior-python-filter-regexp, python-continuation-offset)
13355 (python-honour-comment-indentation, python-indent-string-contents)
13356 (python-jython-packages, python-mode-hook)
13357 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
13358 (python-shell-prompt-alist)
13359 (python-source-modes): Delete defcustoms.
13360 (python-check-buffer-name, python-eldoc-setup-code)
13361 (python-eldoc-string-code, python-ffap-setup-code)
13362 (python-ffap-string-code, python-fill-comment-function)
13363 (python-fill-decorator-function, python-fill-paren-function)
13364 (python-fill-string-function, python-imenu-include-defun-type)
13365 (python-imenu-make-tree, python-imenu-subtree-root-label)
13366 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
13367 (python-shell-compilation-regexp-alist)
13368 (python-shell-completion-module-string-code)
13369 (python-shell-completion-pdb-string-code)
13370 (python-shell-completion-setup-code)
13371 (python-shell-completion-string-code)
13372 (python-shell-enable-font-lock, python-shell-exec-path)
13373 (python-shell-extra-pythonpaths)
13374 (python-shell-internal-buffer-name, python-shell-interpreter-args)
13375 (python-shell-process-environment)
13376 (python-shell-prompt-block-regexp)
13377 (python-shell-prompt-output-regexp)
13378 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
13379 (python-shell-send-setup-max-wait, python-shell-setup-codes)
13380 (python-shell-virtualenv-path): New defcustoms.
13381 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
13382 (inferior-python-mode-syntax-table, python--prompt-regexp)
13383 (python-buffer, python-command python-python-command)
13384 (python-default-template, python-imports, python-indent-index)
13385 (python-indent-list, python-indent-list-length)
13386 (python-mode-running, python-pdbtrack-is-tracking-p)
13387 (python-preoutput-continuation, python-preoutput-leftover)
13388 (python-preoutput-result, python-preoutput-skip-next-prompt)
13389 (python-prev-dir/file, python-recursing)
13390 (python-saved-check-command, python-version-checked)
13391 (python-which-func-length-limit)
13392 (view-return-to-alist): Delete vars.
13393 (python-check-custom-command, python-dotty-syntax-table)
13394 (python-imenu-index-alist, python-indent-current-level)
13395 (python-indent-dedenters, python-indent-levels)
13396 (python-nav-beginning-of-defun-regexp)
13397 (python-nav-list-defun-positions-cache)
13398 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
13399 (python-shell-internal-buffer)
13400 (python-skeleton-available): New vars.
13401 (def-python-skeleton): Delete macro.
13402 (python-skeleton-define): New macro.
13403 (python-define-auxiliary-skeleton, python-rx): New macros.
13404 (python-insert-class): Delete command.
13405 (python-skeleton-class): New command.
13406 (python-insert-def): Delete command.
13407 (python-skeleton-def): New command.
13408 (python-insert-for): Delete command.
13409 (python-skeleton-for): New command.
13410 (python-insert-if): Delete command.
13411 (python-skeleton-if): New command.
13412 (python-insert-try/except, python-insert-try/finally): Delete commands.
13413 (python-skeleton-try): New command.
13414 (python-insert-while): Delete command.
13415 (python-skeleton-while): New command.
13416 (python-backspace): Delete command.
13417 (python-indent-dedent-line-backspace): New command.
13418 (python-electric-colon): Delete command.
13419 (python-indent-electric-colon): New command.
13420 (python-guess-indent): Delete command.
13421 (python-indent-guess-indent-offset): New command.
13422 (python-shift-left): Delete command.
13423 (python-indent-shift-left): New command.
13424 (python-shift-right): Delete command.
13425 (python-indent-shift-right): New command.
13426 (python-find-function): Delete command.
13427 (python-nav-jump-to-defun): New command.
13428 (python-next-statement): Delete command.
13429 (python-nav-forward-sentence): New command.
13430 (python-previous-statement): Delete command.
13431 (python-nav-backward-sentence): New command.
13432 (python-fill-paragraph): Delete command.
13433 (python-fill-paragraph-function): New command.
13434 (python-send-buffer): Delete command.
13435 (python-shell-send-buffer): New command.
13436 (python-send-defun): Delete command.
13437 (python-shell-send-defun): New command.
13438 (python-send-region, python-send-region-and-go): Delete commands.
13439 (python-shell-send-region)
13440 (python-shell-switch-to-shell): New commands.
13441 (python-send-string): Delete command.
13442 (python-shell-send-string): New command.
13443 (python-switch-to-python): Delete command.
13444 (python-shell-switch-to-shell): New command.
13445 (python-describe-symbol): Delete command.
13446 (python-eldoc-at-point): New command.
13447 (python--set-prompt-regexp, python-args-to-list)
13448 (python-after-info-look, python-check-version)
13449 (python-check-comint-prompt, python-find-imports)
13450 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
13451 (python-unload-function, python-expand-template)
13452 (python-maybe-jython, python-preoutput-filter)
13453 (python-pdbtrack-get-source-buffer)
13454 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
13455 (python-pdbtrack-toggle-stack-tracking)
13456 (python-pdbtrack-track-stack-file, python-initial-text)
13457 (python-first-word, python-comment-line-p, python-send-command)
13458 (python-setup-brm, python-sentinel, python-set-proc)
13459 (python-skip-out, python-input-filter, python-outdent-p)
13460 (python-outline-level, python-backslash-continuation-line-p)
13461 (python-end-of-block, python-end-of-statement, python-mark-block)
13462 (python-beginning-of-block, python-beginning-of-statement)
13463 (python-blank-line-p, python-beginning-of-string)
13464 (python-open-block-statement-p): Delete functions.
13465 (python-indent-line, python-indent-line-1): Delete functions.
13466 (python-indent-line): New function.
13467 (python-indentation-levels): Delete function.
13468 (python-indent-calculate-levels): New function.
13469 (python-proc): Delete function.
13470 (python-shell-get-process): New function.
13471 (python-send-receive): Delete function.
13472 (python-shell-send-string-no-output): New function.
13473 (python-module-path): Delete function.
13474 (python-ffap-module-path): New function.
13475 (python-completion-at-point)
13476 (python-symbol-completions): Delete functions.
13477 (python-completion-complete-at-point): New function.
13478 (python-load-file): Delete function.
13479 (python-shell-send-file): New function.
13480 (python-calculate-indentation): Delete function.
13481 (python-indent-calculate-indentation): New function.
13482 (python-skip-comments/blanks): Delete function.
13483 (python-util-forward-comment): New function.
13484 (python-continuation-line-p): Delete function.
13485 (python-info-continuation-line-p): New function.
13486 (python-which-func, python-current-defun): Delete function.
13487 (python-info-current-defun): New function.
13488 (python-beginning-of-defun): Delete function.
13489 (python-nav-beginning-of-defun): New function.
13490 (python-close-block-statement-p)
13491 (python-block-end-p): Delete function.
13492 (python-info-closing-block): New function.
13493 (python-comint-output-filter-function)
13494 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
13495 (python-fill-comment, python-fill-decorator, python-fill-paren)
13496 (python-fill-string, python-imenu-make-element-tree)
13497 (python-imenu-make-tree, python-imenu-tree-assoc)
13498 (python-indent-context, python-indent-dedent-line)
13499 (python-indent-line-function)
13500 (python-indent-post-self-insert-function)
13501 (python-indent-toggle-levels)
13502 (python-info-assignment-continuation-line-p)
13503 (python-info-beginning-of-backlash)
13504 (python-info-block-continuation-line-p)
13505 (python-info-closing-block-message)
13506 (python-info-line-ends-backslash-p)
13507 (python-info-looking-at-beginning-of-defun)
13508 (python-info-ppss-context, python-info-ppss-context-type)
13509 (python-nav-list-defun-positions, python-nav-read-defun)
13510 (python-nav-sentence-end, python-nav-sentence-start)
13511 (python-pdbtrack-comint-output-filter-function)
13512 (python-pdbtrack-set-tracked-buffer)
13513 (python-shell-calculate-exec-path)
13514 (python-shell-calculate-process-environment)
13515 (python-shell-completion--do-completion-at-point)
13516 (python-shell-completion--get-completions)
13517 (python-shell-completion-complete-at-point)
13518 (python-shell-completion-complete-or-indent)
13519 (python-shell-get-or-create-process)
13520 (python-shell-get-process-name)
13521 (python-shell-internal-get-or-create-process)
13522 (python-shell-internal-get-process-name)
13523 (python-shell-internal-send-string, python-shell-make-comint)
13524 (python-shell-parse-command, python-shell-send-setup-code)
13525 (python-skeleton-add-menu-items)
13526 (python-util-clone-local-variables, python-util-position)
13527 (run-python-internal, python-indentation-levels)
13528 (python-nav-beginning-of-defun)
13529 (python-completion-complete-at-point): New functions.
13530 (run-python): Change arguments. New API requirements.
13531
13532 2012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
13533
13534 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
13535 (bug#11649).
13536
13537 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
13538 (macroexp--expand-all): Use it.
13539
13540 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
13541 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
13542 Use `cl-function' instead.
13543
13544 2012-06-14 Juanma Barranquero <lekktu@gmail.com>
13545
13546 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
13547 Suggested by Stefan Monnier while discussing bug#11657.
13548
13549 2012-06-14 Sam Steingold <sds@gnu.org>
13550
13551 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
13552
13553 2012-06-14 Andreas Schwab <schwab@linux-m68k.org>
13554
13555 * play/doctor.el (doctor-doc): Remove parameter and use
13556 doctor-sent instead of sent.
13557 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
13558
13559 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
13560
13561 * files.el: Require cl-lib.
13562 (file-name-non-special): Replace case -> cl-case.
13563
13564 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
13565
13566 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
13567 mapping from #' to function*.
13568
13569 2012-06-13 Chong Yidong <cyd@gnu.org>
13570
13571 * mouse.el (mouse-drag-track): Do not set the mark if the user
13572 releases the mouse without selecting anything (Bug#11588).
13573
13574 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
13575
13576 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
13577 as well (bug#11646).
13578
13579 * loadup.el: Count byte-code functions as well.
13580
13581 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
13582 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
13583
13584 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
13585 (bug#11649). Add cl-defun and cl-defmacro.
13586
13587 2012-06-13 Drew Adams <drew.adams@oracle.com>
13588
13589 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
13590 Fix last change.
13591
13592 2012-06-13 Michael Albinus <michael.albinus@gmx.de>
13593
13594 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
13595 Otherwise, it blocks in batch mode.
13596
13597 2012-06-13 Juanma Barranquero <lekktu@gmail.com>
13598
13599 * help-mode.el (bookmark-make-record-default): Declare.
13600
13601 2012-06-13 Chong Yidong <cyd@gnu.org>
13602
13603 * emacs-lisp/package.el (list-packages): Compute a list of
13604 packages that are newly-available since the last list-packages
13605 invocation.
13606 (package-menu--new-package-list): New var.
13607 (package-menu--generate, package-menu--print-info)
13608 (package-menu--status-predicate, package-menu-mark-install):
13609 Handle new status label "new".
13610
13611 2012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
13612
13613 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
13614 conversion to backquotes.
13615
13616 2012-06-12 Chong Yidong <cyd@gnu.org>
13617
13618 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
13619 Rename from gud-inhibit-global-bindings.
13620
13621 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
13622
13623 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
13624 hook from nxml-glyph-set-hook.
13625
13626 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
13627 declaration.
13628
13629 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
13630
13631 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
13632 Convert to defcustom.
13633
13634 2012-06-12 Drew Adams <drew.adams@oracle.com>
13635
13636 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
13637 New functions.
13638 (help-mode): Use them.
13639
13640 2012-06-11 Glenn Morris <rgm@gnu.org>
13641
13642 * progmodes/fortran.el (fortran-font-lock-keywords-3):
13643 Use preprocessor face for directives.
13644 (fortran-directive-re): Doc fix.
13645
13646 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
13647
13648 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
13649 conversion to backquotes (bug#11652).
13650
13651 Fix compiler-expansion of CL's cXXr functions (bug#11673).
13652 * emacs-lisp/cl-lib.el (cl--defalias): New function.
13653 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
13654 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
13655 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
13656 (cl-ninth, cl-tenth): Mark them as inlinable.
13657 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
13658 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
13659 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
13660 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
13661 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
13662 (cl-list*, cl-adjoin): Don't put an autoload manually.
13663 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
13664 (cl--compiler-macro-list*): Add autoload cookie.
13665 (cl--compiler-macro-cXXr): New function.
13666
13667 * help-fns.el (help-fns--compiler-macro): New function extracted from
13668 describe-function-1; follow aliases and use `compiler-macro' property.
13669 (describe-function-1): Use it.
13670
13671 2012-06-11 Chong Yidong <cyd@gnu.org>
13672
13673 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
13674 is uninstalled, if imagemagick is installed.
13675
13676 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
13677
13678 * emacs-lisp/cl-lib.el: Use lexical-binding.
13679 (cl-map-extents, cl-maclisp-member): Remove.
13680 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
13681 (cl--set-substring, cl--block-wrapper, cl--block-throw)
13682 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
13683 * emacs-lisp/cl-extra.el: Use lexical-binding.
13684 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
13685 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
13686 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
13687 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
13688 * emacs-lisp/cl-seq.el: Use lexical-binding.
13689 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
13690 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
13691 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
13692 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
13693 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
13694 CL's internals.
13695
13696 2012-06-11 Michael Albinus <michael.albinus@gmx.de>
13697
13698 Sync with Tramp 2.2.6-pre.
13699
13700 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
13701 `print-length' and `print-level' to nil, in order to avoid
13702 truncation. Reported by Christopher Schmidt
13703 <christopher@ristopher.com>.
13704
13705 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
13706
13707 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
13708 New defmacro.
13709 (tramp-compat-copy-directory): Add optional argument
13710 COPY-CONTENTS. It is not handled yet.
13711
13712 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
13713 (tramp-ftp-file-name-p): Simplify.
13714
13715 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
13716 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
13717 connection vector.
13718
13719 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
13720 (tramp-methods): Do not use `tramp-password-end-of-line'.
13721 (tramp-completion-function-alist-putty): Handle UNIX case.
13722 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
13723 (tramp-do-file-attributes-with-stat)
13724 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
13725 gid as real numbers. They could run out of integer range on cygwin.
13726 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
13727 (tramp-sh-handle-expand-file-name): Handle hops.
13728 (tramp-open-connection-setup-interactive-shell):
13729 Use `tramp-cleanup'. Move check for busyboxes ...
13730 (tramp-find-shell): ... here. Simplify implementation.
13731 Set "remote-shell" property also for alternative shells.
13732 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
13733 If failing, a regular file would be written otherwise.
13734 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
13735 (tramp-find-inline-encoding): Cache the coding commands in the
13736 process cache. Apply test command on the remote side, if defined.
13737 (tramp-find-inline-compress): Cache the compress commands in the
13738 process cache.
13739 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
13740 when requested. Handle hops.
13741 (tramp-current-connection): New defvar.
13742 (tramp-maybe-open-connection): Use `tramp-cleanup'.
13743 Throw `suppress', if there was a failed connection shortly before.
13744 Handle user interrupt. (Bug#10187)
13745 (tramp-get-inline-compress, tramp-get-inline-coding):
13746 Read connection properties from the process cache.
13747
13748 * net/tramp-smb.el (tramp-smb-server-version)
13749 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
13750 New defconsts.
13751 (tramp-smb-prompt): Extend for powershell prompt.
13752 (tramp-smb-file-name-handler-alist): Add handlers for
13753 `process-file', `shell-command' and `start-file-process'.
13754 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
13755 (tramp-smb-winexe-shell-command-switch): New defcustoms.
13756 (tramp-smb-file-name-p): Simplify.
13757 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
13758 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
13759 (tramp-smb-shell-quote-argument): New defuns.
13760 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
13761 Implement using "tar". By this, time-stamps are preserved.
13762 (tramp-smb-handle-copy-file): Handle also the case of directories.
13763 (tramp-smb-do-file-attributes-with-stat)
13764 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
13765 Use `tramp-get-connection-buffer').
13766 (tramp-smb-handle-rename-file): Use "rename", when source and
13767 target are on the same share.
13768 (tramp-smb-maybe-open-connection): Handle wrong passwords.
13769 Use `tramp-smb-server-version'.
13770 (tramp-smb-wait-for-output): Remove prompt.
13771
13772 * net/tramp.el (top): Require 'cl.
13773 (tramp-methods, tramp-rsh-end-of-line):
13774 Remove `tramp-password-end-of-line' from docstring.
13775 (tramp-save-ad-hoc-proxies): New defcustom.
13776 (tramp-completion-function-alist): Adapt docstring.
13777 (tramp-default-password-end-of-line): Remove defcustom.
13778 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
13779 (tramp-user-regexp, tramp-file-name-regexp-unified)
13780 (tramp-file-name-regexp-url): Extend regexp by hop separator.
13781 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
13782 (tramp-remote-file-name-spec-regexp): New defconst.
13783 (tramp-file-name-structure): Extend structure for hops.
13784 (tramp-get-method-parameter): Move up.
13785 (tramp-file-name-p, tramp-dissect-file-name)
13786 (with-parsed-tramp-file-name): Handle hops.
13787 (tramp-file-name-hop): New defun.
13788 (tramp-make-tramp-file-name): New optional arg HOP.
13789 (tramp-message-show-progress-reporter-message): New defvar.
13790 (tramp-with-progress-reporter): Use it. We cannot use
13791 `tramp-message-show-message' here, because this suppresses also
13792 error buffers.
13793 (tramp-error-with-buffer): Suppress buffer view, if
13794 `tramp-message-show-message' is nil.
13795 Use `tramp-get-connection-buffer'.
13796 (tramp-cleanup): New defun.
13797 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
13798 (tramp-file-name-handler): If `debug-on-error' is set, propagate
13799 an error unchanged.
13800 (tramp-completion-handle-file-name-all-completions): Handle hops.
13801 Fix an error when called from ido.
13802 (tramp-completion-dissect-file-name): Use better local variable
13803 name. Add hop to the vector.
13804 (tramp-handle-insert-file-contents): Use progress-reporter for the
13805 whole scenario.
13806 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
13807 to `t'.
13808 (tramp-check-for-regexp): Simplify search.
13809 (tramp-enter-password): Remove it. Move implementation ...
13810 (tramp-action-password): ... here.
13811 (tramp-mode-string-to-int, tramp-local-host-p)
13812 (tramp-make-tramp-temp-file, tramp-read-passwd)
13813 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
13814 Set tramp-autoload cookie.
13815
13816 * net/trampver.el: Update release number.
13817
13818 2012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13819 Michael Albinus <michael.albinus@gmx.de>
13820
13821 * net/tramp.el (tramp-set-completion-function): Fix docstring.
13822 (tramp-parse-group, tramp-parse-file)
13823 (tramp-parse-shostkeys-sknownhosts): New defuns.
13824 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
13825 (tramp-parse-shosts-group, tramp-parse-sconfig)
13826 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
13827 (tramp-parse-sknownhosts, tramp-parse-hosts)
13828 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
13829 Use them.
13830 (tramp-parse-passwd-group, tramp-parse-netrc-group)
13831 (tramp-parse-putty-group): Don't narrow.
13832 (tramp-parse-putty): Make a loop.
13833 (tramp-file-name-handler): Catch the `suppress' signal.
13834
13835 2012-06-11 Chong Yidong <cyd@gnu.org>
13836
13837 * image.el (imagemagick-register-types): Put the ImageMagick entry
13838 at the end of image-type-file-name-regexps.
13839
13840 2012-06-11 Johan Bockgård <bojohan@gnu.org>
13841
13842 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
13843 (pcase, pcase-let*, pcase-dolist): Use them.
13844
13845 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
13846
13847 * emacs-lisp/pcase.el (pcase--let*): New function.
13848 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
13849 (pcase--expand): Use macroexp-let².
13850
13851 2012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
13852
13853 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
13854 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
13855 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
13856 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
13857 * emacs-lisp/derived.el: Use pcase instead of `cl'.
13858 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
13859
13860 2012-06-10 Glenn Morris <rgm@gnu.org>
13861
13862 * mail/rmail.el (rmail-yank-current-message): Leave point at
13863 correct position. (Bug#11660)
13864
13865 2012-06-10 Chong Yidong <cyd@gnu.org>
13866
13867 * allout-widgets.el: Fix code header.
13868
13869 2012-06-10 Chong Yidong <cyd@gnu.org>
13870
13871 * cus-edit.el (customize-changed-options-previous-release):
13872 Bump to 24.1.
13873
13874 2012-06-09 Andreas Schwab <schwab@linux-m68k.org>
13875
13876 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
13877
13878 2012-06-09 Chong Yidong <cyd@gnu.org>
13879
13880 * ebuff-menu.el (electric-buffer-list): Preserve header line.
13881
13882 2012-06-09 Martin Rudalics <rudalics@gmx.at>
13883
13884 * window.el (special-display-popup-frame): Don't use
13885 window--display-buffer (Bug#11651).
13886
13887 2012-06-09 Eli Zaretskii <eliz@gnu.org>
13888
13889 Fix parallel builds: make sure loaddefs.el is not being written
13890 while Lisp files are compiled.
13891 (compile): Don't depend on 'mh-autoloads'.
13892 (compile-CMD, compile-SH): Depend on 'autoloads'.
13893 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
13894
13895 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
13896
13897 2012-06-09 Chong Yidong <cyd@gnu.org>
13898
13899 * face-remap.el (face-remap-add-relative, face-remap-set-base)
13900 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
13901 Doc fixes (Bug#11225).
13902
13903 2012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
13904
13905 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
13906 a function if there's a clear indication that it has a compiler-macro.
13907 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
13908 (macro-declarations-alist): Add arglist to declaration functions.
13909 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
13910 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
13911 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
13912 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
13913 Also add autoload to find the compiler macro.
13914 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
13915 (cl--compiler-macro-member, cl--compiler-macro-assoc)
13916 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
13917 (cl--compiler-macro-get): New functions, replacing calls to
13918 cl-define-compiler-macro.
13919 (cl-typep) [compiler-macro]: Use macroexp-let².
13920
13921 2012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
13922
13923 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
13924 string properly, fixes Bug#11473.
13925
13926 2012-06-08 Chong Yidong <cyd@gnu.org>
13927
13928 * faces.el (set-face-attribute): Doc fix.
13929 (modify-face): Don't use :bold and :italic.
13930 (error, warning, success): Tweak definitions.
13931
13932 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
13933 (custom-modified, custom-set, custom-changed, custom-themed)
13934 (custom-saved, custom-button, custom-button-mouse)
13935 (custom-button-pressed, custom-state, custom-comment-tag)
13936 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
13937 (custom-group-subtitle): Use new-style face specs.
13938 (custom-invalid-face, custom-rogue-face, custom-modified-face)
13939 (custom-set-face, custom-changed-face, custom-saved-face)
13940 (custom-button-face, custom-button-pressed-face)
13941 (custom-documentation-face, custom-state-face)
13942 (custom-comment-face, custom-comment-tag-face)
13943 (custom-variable-tag-face, custom-variable-button-face)
13944 (custom-face-tag-face, custom-group-tag-face-1)
13945 (custom-group-tag-face): Remove obsolete face alias.
13946
13947 * epa.el (epa-validity-high, epa-validity-medium)
13948 (epa-validity-low, epa-mark, epa-field-name, epa-string)
13949 (epa-field-name, epa-field-body):
13950 * font-lock.el (font-lock-comment-face, font-lock-string-face)
13951 (font-lock-keyword-face, font-lock-builtin-face)
13952 (font-lock-function-name-face, font-lock-variable-name-face)
13953 (font-lock-type-face, font-lock-constant-face):
13954 * ido.el (ido-first-match, ido-only-match, ido-subdir)
13955 (ido-virtual, ido-indicator, ido-incomplete-regexp):
13956 * speedbar.el (speedbar-button-face, speedbar-file-face)
13957 (speedbar-directory-face, speedbar-tag-face)
13958 (speedbar-selected-face, speedbar-highlight-face)
13959 (speedbar-separator-face):
13960 * whitespace.el (whitespace-newline, whitespace-space)
13961 (whitespace-hspace, whitespace-tab, whitespace-trailing)
13962 (whitespace-line, whitespace-space-before-tab)
13963 (whitespace-space-after-tab, whitespace-indentation)
13964 (whitespace-empty):
13965 * emulation/cua-base.el (cua-global-mark):
13966 * eshell/em-prompt.el (eshell-prompt):
13967 * net/newst-plainview.el (newsticker-new-item-face)
13968 (newsticker-old-item-face, newsticker-immortal-item-face)
13969 (newsticker-obsolete-item-face, newsticker-date-face)
13970 (newsticker-statistics-face, newsticker-default-face):
13971 * net/newst-reader.el (newsticker-feed-face)
13972 (newsticker-extra-face, newsticker-enclosure-face):
13973 * net/newst-treeview.el (newsticker-treeview-face)
13974 (newsticker-treeview-new-face, newsticker-treeview-old-face)
13975 (newsticker-treeview-immortal-face)
13976 (newsticker-treeview-obsolete-face)
13977 (newsticker-treeview-selection-face):
13978 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
13979 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
13980 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
13981 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
13982 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
13983 (nxml-outline-active-indicator, nxml-outline-ellipsis):
13984 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
13985 (mpuz-text):
13986 * progmodes/vera-mode.el (vera-font-lock-number)
13987 (vera-font-lock-function, vera-font-lock-interface):
13988 * textmodes/table.el (table-cell): Use new-style face specs, and
13989 don't use the old :bold and :italic attributes.
13990
13991 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
13992 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
13993 (ebrowse-member-class, ebrowse-progress): Likewise.
13994 (ebrowse-tree-mark-face, ebrowse-root-class-face)
13995 (ebrowse-file-name-face, ebrowse-default-face)
13996 (ebrowse-member-attribute-face, ebrowse-member-class-face)
13997 (ebrowse-progress-face): Remove obsolete faces.
13998
13999 * progmodes/flymake.el (flymake-errline, flymake-warnline):
14000 Inherit from error and warning faces respectively.
14001
14002 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
14003 Likewise.
14004 (flyspell-incorrect-face, flyspell-duplicate-face):
14005 Remove obsolete aliases.
14006
14007 2012-06-08 Michael Albinus <michael.albinus@gmx.de>
14008
14009 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
14010 Avoid infloop.
14011
14012 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
14013
14014 * startup.el (argv, argi): Make lexically scoped.
14015 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
14016 * emacs-lisp/cl-macs.el: Use lexical-binding.
14017 Rename cl-bind-* to cl--bind-*.
14018 * files.el: Don't require `cl' since it doesn't use it.
14019 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
14020
14021 2012-06-08 Juanma Barranquero <lekktu@gmail.com>
14022
14023 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
14024 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
14025 instead of calling external sort utility.
14026 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
14027
14028 2012-06-08 Eli Zaretskii <eliz@gnu.org>
14029
14030 * descr-text.el (describe-char): Mention how to insert the
14031 character, if the current input method doesn't support it.
14032 See the discussion in this thread for the details:
14033 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
14034
14035 2012-06-08 Sam Steingold <sds@gnu.org>
14036
14037 * bindings.el (global-map): Bind XF86Forward to next-buffer and
14038 XF86Back to previous-buffer.
14039 (minibuffer-local-map): Bind them to next-history-element and
14040 previous-history-element respectively.
14041 * help-mode.el (help-mode-map): Bind them to help-go-forward and
14042 help-go-back respectively.
14043 * info.el (Info-mode-map): Bind them to Info-history-forward and
14044 Info-history-back respectively.
14045 These are the keys next to Up on the ThinkPad keyboard.
14046
14047 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
14048
14049 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
14050 * emacs-lisp/cl-macs.el: Provide itself.
14051 (cl--labels-convert-cache): New var.
14052 (cl--labels-convert): New function.
14053 (cl-flet, cl-labels): New implementation with new semantics, relying on
14054 lexical-binding.
14055 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
14056 (cl-closure-vars, cl--function-convert-cache)
14057 (cl--function-convert): Move from cl-macs.el.
14058 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
14059 rename by removing the "cl-" prefix.
14060 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
14061
14062 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
14063
14064 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
14065 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
14066 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
14067 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
14068 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
14069 (cl-hash-table-count): Add old compatibility aliases.
14070
14071 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
14072 Use macroexpand-all-environment instead.
14073 (cl--old-macroexpand): New var.
14074 (cl--sm-macroexpand): New function.
14075 (cl-symbol-macrolet): Use it during macro expansion.
14076 (cl--function-convert-cache): New var.
14077 (cl--function-convert): New function, extracted from
14078 cl-macroexpand-all.
14079 (cl-lexical-let): Use it.
14080
14081 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
14082 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
14083 (cl-member): Remove old alias.
14084
14085 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
14086 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
14087 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
14088 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
14089 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
14090 (cl-macroexpand-cmacs): Remove var.
14091 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
14092 Use macroexpand-all instead.
14093
14094 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
14095
14096 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
14097 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
14098 (macroexp-copyable-p): New functions and macros.
14099 * emacs-lisp/edebug.el (edebug-unwrap):
14100 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
14101 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
14102 (pcase--let*): Remove.
14103 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
14104 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
14105 macroexp-const-p instead.
14106 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
14107
14108 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
14109 instead of "cl-" for internal definitions. Use macroexp-const-p.
14110 (cl-old-bc-file-form): Remove var.
14111 (cl-const-exprs-p): Remove fun.
14112 (cl-labels, cl-macrolet): Use backquote.
14113 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
14114 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
14115 (cl-define-setf-expander): Rename from cl-define-setf-method.
14116 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
14117
14118 * international/mule-cmds.el: Don't require CL.
14119 (view-hello-file): Don't use `letf'.
14120
14121 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
14122
14123 * tmm.el (tmm-prompt): Use string-prefix-p.
14124 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
14125 (tmm-add-prompt): Use minibuffer-completion-help.
14126 (tmm-delete-map): Remove.
14127
14128 * subr.el (kbd): Make it its own function.
14129
14130 2012-06-07 Stefan Merten <smerten@oekonux.de>
14131
14132 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
14133 Silence compiler warnings. Fix versions.
14134 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
14135 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
14136 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
14137 (rst-package-emacs-version-alist): Correct Emacs version to
14138 represent major merge with upstream.
14139 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
14140
14141 2012-06-06 Glenn Morris <rgm@gnu.org>
14142
14143 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
14144 Only print environment variables if set.
14145
14146 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
14147
14148 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
14149 (macroexp--cons): Rename from maybe-cons.
14150 (macroexp--accumulate): Rename from macroexp-accumulate.
14151 (macroexp--all-forms): Rename from macroexpand-all-forms.
14152 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
14153 (macroexp--expand-all): Rename from macroexpand-all-1.
14154
14155 2012-06-06 Sam Steingold <sds@gnu.org>
14156
14157 * calendar/calendar.el (calendar-in-read-only-buffer):
14158 Call `special-mode' to enable the standard read-only keybindings.
14159
14160 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
14161
14162 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
14163 with "loading" messages (bug#11635).
14164
14165 2012-06-06 Michael Albinus <michael.albinus@gmx.de>
14166
14167 * files.el (enable-remote-dir-locals): New option.
14168 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
14169
14170 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
14171 Ensure, that the temp directory is local.
14172
14173 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
14174 `temporary-file-directory'.
14175
14176 * progmodes/python.el (python-send-region): Ensure, that the
14177 temporary file is created also in the remote case.
14178
14179 2012-06-06 Glenn Morris <rgm@gnu.org>
14180
14181 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
14182 (vc-rcs-update-changelog): Use it.
14183
14184 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
14185
14186 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
14187 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
14188 (vc-sccs-diff): Replace use of the external vcdiff script.
14189
14190 2012-06-05 Glenn Morris <rgm@gnu.org>
14191
14192 * ledit.el: Move to obsolete/.
14193
14194 2012-06-05 Sam Steingold <sds@gnu.org>
14195
14196 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
14197 patch (Bug#11140).
14198
14199 2012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
14200
14201 * emacs-lisp/cust-print.el: Move to obsolete.
14202
14203 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
14204 compiler-macro expansion.
14205
14206 Add native compiler-macro support.
14207 * emacs-lisp/macroexp.el (macroexpand-all-1):
14208 Support compiler-macros directly. Properly follow aliases and apply
14209 the compiler macros more thoroughly.
14210 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
14211 macroexpand now properly follows aliases.
14212 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
14213 (cl-compiler-macroexpand): Use new prop.
14214 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
14215
14216 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
14217
14218 2012-06-05 Martin Rudalics <rudalics@gmx.at>
14219
14220 * window.el (get-lru-window, get-mru-window, get-largest-window):
14221 New argument NOT-SELECTED to avoid picking the selected window.
14222 (window--display-buffer-1, window--display-buffer-2): Replace by
14223 new function window--display-buffer
14224 (display-buffer-same-window, display-buffer-reuse-window)
14225 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
14226 Use window--display-buffer.
14227 (display-buffer-use-some-window): Remove temporary dedication
14228 hack by calling get-lru-window and get-largest-window with
14229 NOT-SELECTED argument non-nil. Call window--display-buffer.
14230
14231 2012-06-05 Glenn Morris <rgm@gnu.org>
14232
14233 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
14234 Replace external vcdiff script.
14235
14236 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
14237
14238 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
14239
14240 2012-06-04 Chong Yidong <cyd@gnu.org>
14241
14242 * image.el (imagemagick-types-inhibit): Revert last change.
14243 Add INFO and M.
14244 (imagemagick-enabled-types): Remove CIN and EPS*.
14245
14246 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
14247
14248 * emacs-lisp/cl-lib.el: Rename from cl.el.
14249 * emacs-lisp/cl.el: New compatibility file.
14250 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
14251 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
14252 to obey the "cl-" prefix.
14253 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
14254
14255 2012-06-03 Glenn Morris <rgm@gnu.org>
14256
14257 * emacs-lisp/authors.el (authors-aliases): Addition.
14258
14259 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
14260 Fix :version.
14261
14262 2012-06-03 Stefan Merten <smerten@oekonux.de>
14263
14264 * textmodes/rst.el: Add comments.
14265 (rst-transition, rst-adornment): New faces.
14266 (rst-adornment-faces-alist): Make default safe to reevaluate.
14267 Fixes
14268 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
14269 Improve customization tags.
14270 (rst-define-level-faces): Clarify meaning.
14271
14272 2012-06-03 Chong Yidong <cyd@gnu.org>
14273
14274 * progmodes/compile.el (compilation-mode-line-fail)
14275 (compilation-mode-line-run, compilation-mode-line-exit):
14276 New faces.
14277 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
14278
14279 2012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
14280
14281 * progmodes/which-func.el (which-func-update-ediff-windows):
14282 New function. Use it in ediff-select-hook (Bug#11478).
14283
14284 2012-06-03 Chong Yidong <cyd@gnu.org>
14285
14286 * bindings.el: Remove explicit help text from format-mode-line.
14287 It is now supplied by mode-line-default-help-echo.
14288 (mode-line-front-space, mode-line-end-spaces)
14289 (mode-line-misc-info): New variables.
14290 (mode-line-modes, mode-line-position): Move the default value to
14291 the variable definition.
14292 (mode-line-default-help-echo): New defcustom.
14293 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
14294 (mode-line-modified-help-echo): New functions.
14295 (mode-line-mule-info, mode-line-modified): Use them.
14296 (mode-line-eol-desc, propertized-buffer-identification):
14297 Consistency fixes for help text.
14298 (mode-line-coding-system-map): Allow using mouse-3 to invoke
14299 set-buffer-file-coding-system (Bug#289).
14300 (mode-line-mule-info-help-echo): Update help text.
14301
14302 2012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
14303
14304 * simple.el (execute-extended-command): Set real-this-command
14305 (bug#11506).
14306
14307 2012-06-02 Chong Yidong <cyd@gnu.org>
14308
14309 Remove incorrect uses of "modeline" in comments, docstrings, and
14310 function/variable names (Bug#10329).
14311
14312 * cus-edit.el (mode-line):
14313 * dframe.el (dframe-mouse-hscroll):
14314 * emacs-lisp/re-builder.el:
14315 * emacs-lisp/easy-mmode.el (define-minor-mode):
14316 * frame.el (set-frame-name):
14317 * help.el (lookup-minor-mode-from-indicator):
14318 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
14319 * progmodes/cc-cmds.el (c-toggle-auto-newline)
14320 (c-toggle-hungry-state):
14321 * progmodes/antlr-mode.el (antlr-language-alist):
14322 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
14323 * progmodes/vhdl-mode.el (vhdl-mode):
14324 * progmodes/which-func.el (which-func, which-func-cleanup-function):
14325 * term/ns-win.el (ns-face-at-pos):
14326 * term/sup-mouse.el (sup-mouse-report):
14327 * textmodes/flyspell.el (flyspell-mode-line-string):
14328 * textmodes/ispell.el (ispell-highlight-face):
14329 * textmodes/reftex-global.el:
14330 * vc/vc-arch.el (vc-arch-mode-line-string):
14331 * vc/vc-cvs.el (vc-cvs-mode-line-string):
14332 * vc/vc-git.el (vc-git-mode-line-string):
14333 * vc/vc-hooks.el (vc-display-status)
14334 (vc-default-mode-line-string):
14335 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
14336
14337 * ansi-color.el (ansi-color-faces-vector): Change default faces.
14338
14339 * dired.el (dired-sort-set-mode-line): Rename from
14340 dired-sort-set-modeline. All callers changed.
14341
14342 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
14343 eshell-status-in-modeline.
14344
14345 * foldout.el (foldout-mode-line-string): Rename from
14346 foldout-modeline-string. All callers changed.
14347 (foldout-update-mode-line): Rename from foldout-update-modeline.
14348
14349 * subr.el (redraw-modeline): Make into obsolete alias.
14350
14351 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
14352 timeclock-modeline-display. Make old name an alias.
14353 (timeclock-update-mode-line): Likewise. All callers changed.
14354 (timeclock-mode-line-display): No need to check before using
14355 add-hook.
14356 (timeclock-relative, timeclock-day-over-hook)
14357 (timeclock-use-elapsed, timeclock-mode-string)
14358 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
14359
14360 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
14361 crisp-mode-modeline-string.
14362
14363 * play/solitaire.el (solitaire-build-mode-line): Rename from
14364 solitaire-build-modeline. All callers changed.
14365
14366 * play/zone.el (zone-hiding-mode-line): Rename from
14367 zone-hiding-modeline. All callers changed.
14368 (zone): Remove unusued `modeline-hidden-level' property.
14369
14370 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
14371 xscheme-modeline-initialize. All callers changed.
14372
14373 * strokes.el (strokes-lighter): Rename from
14374 strokes-modeline-string.
14375
14376 * textmodes/sgml-mode.el (html-face-tag-alist)
14377 (html-tag-face-alist): Use mode-line face instead of obsolete
14378 alias modeline.
14379
14380 2012-06-02 Stefan Merten <smerten@oekonux.de>
14381
14382 * textmodes/rst.el: Always require `cl'.
14383 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
14384
14385 2012-06-02 Chong Yidong <cyd@gnu.org>
14386
14387 * image.el (imagemagick-enabled-types): Rename from
14388 imagemagick-types-enable. Add many more types.
14389 (imagemagick-types-inhibit): Change default to nil.
14390 (imagemagick-filter-types): Caller changed.
14391
14392 2012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
14393
14394 * emacs-lisp/cl-macs.el: Use backquotes.
14395 (cl-transform-function-property): Use eval-and-compile rather than
14396 abusing `require'.
14397 (defstruct): Use declare-function instead of with-no-warnings.
14398
14399 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
14400 (byte-compile-output-docform): Re-add the print-circle bindings.
14401 (byte-compile-fix-header): Use #$ just because it's shorter.
14402 (byte-compile-output-file-form): Remove defun/defmacro.
14403
14404 2012-06-01 Martin Rudalics <rudalics@gmx.at>
14405
14406 * simple.el (choose-completion): Remove now obsolete binding for
14407 owindow.
14408
14409 2012-06-01 Michael Albinus <michael.albinus@gmx.de>
14410
14411 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
14412 in order to avoid "Stack overflow in regexp matcher".
14413
14414 2012-05-31 Glenn Morris <rgm@gnu.org>
14415
14416 * image.el: For clarity, call imagemagick-register-types at
14417 top-level, rather than relying on a custom :initialize.
14418 (imagemagick-types-enable): New option. (Bug#11557)
14419 (imagemagick-filter-types): New function. (Bug#7406)
14420 (imagemagick-register-types): Use imagemagick-filter-types.
14421 If disabling support, remove elements altogether rather
14422 than using an impossible regexp.
14423 (imagemagick-types-inhibit): Give it the default init function.
14424
14425 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
14426
14427 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
14428 Handle arbitrary file name lengths (Bug#11585).
14429
14430 2012-05-31 Martin Rudalics <rudalics@gmx.at>
14431
14432 * desktop.el (desktop-read): Clear previous and next buffers for
14433 all windows and bury *Messages* buffer (bug#11556).
14434
14435 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
14436
14437 Add `declare' for `defun'. Align `defmacro's with it.
14438 * emacs-lisp/easy-mmode.el (define-minor-mode)
14439 (define-globalized-minor-mode): Don't autoload the var definitions.
14440 * emacs-lisp/byte-run.el: Use lexical-binding.
14441 (defun-declarations-alist, macro-declarations-alist): New vars.
14442 (defmacro, defun): Use them.
14443 (make-obsolete, define-obsolete-function-alias)
14444 (make-obsolete-variable, define-obsolete-variable-alias):
14445 Use `declare'.
14446 (macro-declaration-function): Mark obsolete.
14447 * emacs-lisp/autoload.el: Use lexical-binding.
14448 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
14449
14450 2012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
14451
14452 * textmodes/ispell.el (ispell-with-no-warnings):
14453 Define as a macro.
14454 (ispell-kill-ispell, ispell-change-dictionary):
14455 Use `called-interactively-p' for Emacs instead of obsolete
14456 `interactive-p'.
14457
14458 2012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
14459
14460 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
14461 (macro-declaration-function): Move var from C code.
14462 (macro-declaration-function): Define function with defalias.
14463 * emacs-lisp/macroexp.el (macroexpand-all-1):
14464 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
14465 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
14466 defun/defmacro any more.
14467 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
14468 Provide fallback for unknown arglist.
14469 (byte-compile-arglist-warn): Change calling convention.
14470 (byte-compile-output-file-form): Move print-vars binding.
14471 (byte-compile-output-docform): Simplify accordingly.
14472 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
14473 (byte-compile-defmacro-declaration): Remove.
14474 (byte-compile-file-form-defmumble): Generalize to defalias.
14475 (byte-compile-output-as-comment): Return byte-positions.
14476 Simplify callers accordingly.
14477 (byte-compile-lambda): Use `assert'.
14478 (byte-compile-defun, byte-compile-defmacro): Remove.
14479 (byte-compile-file-form-defalias):
14480 Use byte-compile-file-form-defmumble.
14481 (byte-compile-defalias-warn): Remove.
14482
14483 2012-05-29 Stefan Merten <smerten@oekonux.de>
14484
14485 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
14486 possible. Fix authors. Improve comments. Improve loading of `cl'.
14487
14488 (rst-mode-abbrev-table): Merge definition.
14489 (rst-mode): Make sure `font-lock-defaults' is buffer local.
14490 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
14491
14492 2012-05-29 Ulf Jasper <ulf.jasper@web.de>
14493
14494 * calendar/icalendar.el
14495 (icalendar-export-region): Export UID properly.
14496
14497 2012-05-29 Leo Liu <sdl.web@gmail.com>
14498 * calendar/icalendar.el (icalendar-import-format):
14499 Add `icalendar-import-format-uid' (Bug#11525).
14500 (icalendar-import-format-uid): New.
14501 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
14502 Export UID.
14503
14504 2012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
14505
14506 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
14507 different alternative patterns.
14508 (pcase-codegen): Be more careful to preserve identity.
14509 (pcase--u1): Don't forget to mark vars as used.
14510
14511 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
14512 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
14513 (byte-compile-from-buffer): ...rather than here.
14514
14515 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
14516 functions from byte-compile-function-environment.
14517
14518 2012-05-29 Troels Nielsen <bn.troels@gmail.com>
14519
14520 * window.el (window-deletable-p): Avoid deleting the root window
14521 of a frame with an active minibuffer.
14522
14523 2012-05-29 Martin Rudalics <rudalics@gmx.at>
14524
14525 * simple.el (choose-completion): Use quit-window (Bug#11567).
14526
14527 2012-05-29 Chong Yidong <cyd@gnu.org>
14528
14529 * whitespace.el (whitespace-cleanup): Fix usage of
14530 whitespace-empty-at-bob-regexp (Bug#11492).
14531
14532 2012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
14533
14534 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
14535 revert (Bug#11488).
14536
14537 2012-05-29 Juri Linkov <juri@jurta.org>
14538
14539 * isearch.el (isearch-mode-map): Bind `M-s _' to
14540 `isearch-toggle-symbol'. Bind `M-s c' to
14541 `isearch-toggle-case-fold'.
14542 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
14543 (isearch-forward): Add `M-s _' to the docstring.
14544 (isearch-forward-symbol, isearch-toggle-case-fold)
14545 (isearch-symbol-regexp): New functions. (Bug#11381)
14546
14547 2012-05-29 Juri Linkov <juri@jurta.org>
14548
14549 * isearch.el (isearch-word): Add docstring. (Bug#11381)
14550 (isearch-occur, isearch-search-and-update): If `isearch-word' is
14551 a function, call it to get the regexp.
14552 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
14553 property `isearch-message-prefix' instead of the string "word ".
14554 (isearch-search-fun-default): For the case of `isearch-word',
14555 return a lambda that calls re-search-forward/re-search-backward
14556 with a regexp returned by `word-search-regexp' or by the function
14557 in `isearch-word'.
14558
14559 2012-05-29 Juri Linkov <juri@jurta.org>
14560
14561 * isearch.el (isearch-search-fun-default): New function.
14562 (isearch-search-fun): Move default part to the new function
14563 `isearch-search-fun-default'.
14564 (isearch-search-fun-function): Set the default value to
14565 `isearch-search-fun-default'. (Bug#11381)
14566
14567 * comint.el (comint-history-isearch-end):
14568 Use `isearch-search-fun-default'.
14569 (comint-history-isearch-search): Use `isearch-search-fun-default'
14570 and remove spacial case for `isearch-word'.
14571 (comint-history-isearch-wrap): Remove spacial case for
14572 `isearch-word'.
14573
14574 * hexl.el (hexl-isearch-search-function):
14575 Use `isearch-search-fun-default'.
14576
14577 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
14578 Use `word-search-regexp' for `isearch-word'.
14579
14580 * misearch.el (multi-isearch-search-fun):
14581 Use `isearch-search-fun-default'.
14582
14583 * simple.el (minibuffer-history-isearch-search):
14584 Use `isearch-search-fun-default' and remove spacial case for
14585 `isearch-word'.
14586 (minibuffer-history-isearch-wrap): Remove spacial case for
14587 `isearch-word'.
14588
14589 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
14590 Remove spacial case for `isearch-word'.
14591 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
14592
14593 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
14594
14595 Decrease XEmacs incompatibilities.
14596 * textmodes/flyspell.el (flyspell-check-pre-word-p):
14597 Use `string-match'.
14598 (flyspell-delete-region-overlays): Use alternative definition for
14599 XEmacs.
14600 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
14601 (flyspell-word): Use `process-kill-without-query' if XEmacs.
14602 (flyspell-mode-on): Use `interactive-p' if XEmacs.
14603 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
14604 `define-obsolete-face-alias' under XEmacs, but old method.
14605
14606 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
14607 `with-no-warnings' definition or Emacs alias.
14608 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
14609 (ispell-word): Do not use `region-p' if XEmacs.
14610
14611 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
14612
14613 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
14614 Check for `ispell-dictionary-base-alist' instead of full
14615 `ispell-dictionary-alist'.
14616 (ispell-init-process): Show spellchecker when starting new Ispell
14617 process.
14618
14619 2012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
14620
14621 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
14622 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
14623
14624 2012-05-27 Juanma Barranquero <lekktu@gmail.com>
14625
14626 * version.el (motif-version-string, gtk-version-string)
14627 (ns-version-string): Declare.
14628
14629 2012-05-27 Juri Linkov <juri@jurta.org>
14630
14631 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
14632 after the `eval-defun-1' specialcaseing
14633 like in `edebug-eval-defun' (bug#10181).
14634
14635 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
14636 like in `eval-defun-1'.
14637
14638 2012-05-27 Eli Zaretskii <eliz@gnu.org>
14639
14640 * mail/sendmail.el (mail-yank-region):
14641 Recognize rmail-yank-current-message in addition to insert-buffer.
14642 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
14643 a *mail* buffer created through rmail-start-mail with sendmail as
14644 mail-user-agent.
14645
14646 2012-05-27 Chong Yidong <cyd@gnu.org>
14647
14648 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
14649 Default to 256 (Bug#11267).
14650
14651 * help.el (describe-mode): Doc fix.
14652
14653 2012-05-26 Glenn Morris <rgm@gnu.org>
14654
14655 * w32-fns.el (w32-init-info): Remove.
14656 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
14657
14658 * info.el (info-initialize): For self-contained NS builds, put the
14659 included info/ directory at the front. (Bug#2791)
14660
14661 * paths.el (Info-default-directory-list): Make it a defcustom,
14662 mainly so that we can use custom-initialize-delay.
14663
14664 2012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
14665
14666 * subr.el (buffer-has-markers-at): Mark obsolete.
14667
14668 * subr.el (lambda): Use declare.
14669
14670 * emacs-lisp/lisp-mode.el (lambda):
14671 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
14672
14673 2012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
14674
14675 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
14676
14677 2012-05-26 Glenn Morris <rgm@gnu.org>
14678
14679 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
14680
14681 2012-05-25 Glenn Morris <rgm@gnu.org>
14682
14683 * paths.el: Remove no-byte-compile.
14684 * loadup.el: No need to load paths.el uncompiled.
14685
14686 * image.el (imagemagick-types-inhibit): Doc fix.
14687
14688 * version.el: Remove no-byte-compile and associated formatting.
14689 * loadup.el: No need to load version.el uncompiled. AFAICS, this
14690 is ancient code from when there was an "inc-vers.el".
14691
14692 2012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
14693
14694 * progmodes/gdb-mi.el: Minor style changes.
14695 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
14696 Turn into minor modes.
14697 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
14698 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
14699 (gdb-shell): Remove unneeded let-binding.
14700 (gdb-get-many-fields): Eliminate O(n²) behavior.
14701
14702 2012-05-25 Eli Zaretskii <eliz@gnu.org>
14703
14704 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
14705 platforms that don't link in fontset.c.
14706
14707 2012-05-25 Juri Linkov <juri@jurta.org>
14708
14709 Use the same diff color scheme as in modern VCSes (bug#10181).
14710
14711 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
14712 to avoid confusion with `diff-added' that now uses green colors.
14713 (diff-removed): Use shades of red.
14714 (diff-added): Use shades of green.
14715 (diff-changed): Leave just the yellow color.
14716 (diff-use-changed-face): New variable.
14717 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
14718 how to highlight context diff changes.
14719 (diff-refine-change): Use shades of yellow.
14720 (diff-refine-removed): New face that uses shades of red.
14721 (diff-refine-added): New face that uses shades of green.
14722 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
14723 `diff-refine-removed' in the call to `smerge-refine-subst'
14724 depending on the value of `diff-use-changed-face'.
14725
14726 * vc/smerge-mode.el (smerge-mine): Use shades of red.
14727 (smerge-other): Use shades of green.
14728 (smerge-base): Use shades of yellow.
14729 (smerge-refined-change): Empty face.
14730 (smerge-refined-removed): New face that uses shades of red.
14731 (smerge-refined-added): New face that uses shades of green.
14732 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
14733 args `props-r' and `props-a', and use them. Doc fix.
14734 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
14735 on its value use different faces `smerge-refined-change',
14736 `smerge-refined-removed', `smerge-refined-added' in the call to
14737 `smerge-refine-subst'.
14738
14739 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
14740 Add face condition `min-colors 88' with shades of red.
14741 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
14742 `min-colors 88' with shades of green.
14743 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
14744 `min-colors 88' with shades of yellow.
14745
14746 2012-05-24 Glenn Morris <rgm@gnu.org>
14747
14748 * paths.el (prune-directory-list, remote-shell-program): Move to...
14749 * files.el (prune-directory-list, remote-shell-program): ...here.
14750 For the latter, delay initialization, prefer ssh, just search PATH.
14751
14752 * paths.el (term-file-prefix): Move to faces.el (the only user).
14753 * faces.el (term-file-prefix): Move here, make it a defcustom.
14754
14755 * paths.el (news-directory, news-path, news-inews-program):
14756 Move to gnus/nnspool.el.
14757
14758 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
14759
14760 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
14761 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
14762 Make the latter a defcustom, with a delayed initialization.
14763
14764 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
14765 These were deleted from Gnus itself late 2010.
14766
14767 2012-05-22 Juanma Barranquero <lekktu@gmail.com>
14768
14769 * progmodes/which-func.el (which-func-ff-hook):
14770 Check against user-error, not error.
14771
14772 * emacs-lisp/edebug.el (top): Do not load or set up loading of
14773 cl-specs.el, which no longer exists.
14774
14775 2012-05-22 Glenn Morris <rgm@gnu.org>
14776
14777 * info.el (info-emacs-bug): New command.
14778 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
14779 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
14780
14781 2012-05-21 Glenn Morris <rgm@gnu.org>
14782
14783 * makefile.w32-in (update-subdirs-SH):
14784 * Makefile.in (update-subdirs): Update for moved update-subdirs.
14785
14786 2012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
14787
14788 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
14789
14790 * progmodes/compile.el (compilation-error-regexp-alist-alist):
14791 Simplify Maven regexp, and make sure the file can't start with a space
14792 (bug#11517).
14793
14794 2012-05-21 Glenn Morris <rgm@gnu.org>
14795
14796 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
14797 Scrap superfluous subshells.
14798
14799 2012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
14800
14801 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
14802 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
14803
14804 2012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
14805
14806 * calc/calc.el (calc-ensure-consistent-units): New variable.
14807
14808 * calc/calc-units.el (math-consistent-units-p)
14809 (math-check-unit-consistency): New functions.
14810 (calc-quick-units, calc-convert-units):
14811 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
14812 is non-nil.
14813 (calc-extract-units): Fix typo.
14814
14815 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
14816
14817 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
14818
14819 * textmodes/flyspell.el: Commenting style, plus code simplifications.
14820 (flyspell-default-deplacement-commands): Don't spell check after
14821 repeated window/frame switches (e.g. triggered by mouse-movement).
14822 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
14823 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
14824 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
14825 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
14826 Remove unused vars.
14827 (flyspell-get-casechars, flyspell-get-not-casechars):
14828 Simplify; Don't bother removing a ] just to add it back.
14829 * textmodes/ispell.el (ispell-program-name): Use executable-find.
14830
14831 2012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
14832
14833 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
14834 New functions.
14835 (math-function-table): Add support for more C functions.
14836
14837 2012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
14838
14839 * textmodes/flyspell.el (flyspell-check-pre-word-p)
14840 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
14841 Protect delay handling for otherchars against empty otherchars.
14842
14843 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
14844
14845 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
14846 their respective macro declarations.
14847 * skeleton.el (define-skeleton):
14848 * progmodes/compile.el (define-compilation-mode):
14849 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
14850 (define-ibuffer-filter):
14851 * emacs-lisp/generic.el (define-generic-mode):
14852 * emacs-lisp/easy-mmode.el (define-minor-mode)
14853 (define-globalized-minor-mode):
14854 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
14855 * emacs-lisp/byte-run.el (defsubst):
14856 * custom.el (deftheme): Add doc-string metadata.
14857
14858 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
14859
14860 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
14861
14862 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
14863
14864 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
14865
14866 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
14867 * emacs-lisp/cl-macs.el: Idem.
14868 * emacs-lisp/cl-specs.el: Remove.
14869
14870 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
14871
14872 Minor renaming of internal CL functions and variables.
14873 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
14874 (cl--position): Rename from cl-position.
14875 (cl--delete-duplicates): Rename from cl-delete-duplicates.
14876 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
14877 (cl--random-state): Rename from *random-state*.
14878
14879 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
14880
14881 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
14882 parens around the arg list (bug#11499).
14883
14884 2012-05-17 Juri Linkov <juri@jurta.org>
14885
14886 * isearch.el (word-search-regexp, word-search-backward)
14887 (word-search-forward, word-search-backward-lax)
14888 (word-search-forward-lax): Move functions from search.c
14889 (bug#10145, bug#11381).
14890
14891 2012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
14892
14893 * textmodes/flyspell.el (flyspell-check-pre-word-p)
14894 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
14895 Delay for otherchars as for normal word components.
14896
14897 2012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
14898
14899 * minibuffer.el (completion--sifn-requote): Fix last change.
14900 (minibuffer-local-must-match-filename-map):
14901 Move define-obsolete-variable-alias before its var.
14902
14903 2012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
14904
14905 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
14906
14907 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
14908 behavior.
14909 (completion--string-equal-p): New function.
14910 (completion--twq-all): Use it to get better assertion failure data.
14911
14912 Only handle ".." and '..' quoting in shell-mode (bug#11466).
14913 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
14914 (shell--requote-argument): New functions.
14915 (shell-completion-vars): Use them.
14916 (shell--parse-pcomplete-arguments): Rename from
14917 shell-parse-pcomplete-arguments.
14918 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
14919 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
14920 Obey comint-file-name-quote-list.
14921
14922 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
14923 (smie-indent-keyword): Use it.
14924
14925 2012-05-14 Stefan Merten <smerten@oekonux.de>
14926
14927 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
14928
14929 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
14930
14931 * net/rlogin.el (rlogin-mode-map): Fix last change.
14932
14933 2012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
14934
14935 * mail/smtpmail.el (smtpmail-send-command): Send the command and
14936 the following \r\n using a single `process-send-string', since the
14937 Lotus SMTP server refuses to accept any commands if they are sent
14938 with two `process-send-string's (Bug#11444).
14939
14940 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
14941
14942 * shell.el (shell-parse-pcomplete-arguments):
14943 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
14944
14945 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
14946
14947 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
14948 (image-transform-scale, image-transform-right-angle-fudge): New vars.
14949 (image-transform-width, image-transform-fit-width): New functions.
14950 (image-transform-properties): Use them.
14951 (image-transform-check-size): New function.
14952 (image-toggle-display-image): Use it (for testing).
14953 (image-transform-set-rotation): Reduce angle mod 360.
14954 Delete obsolete comment.
14955
14956 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
14957
14958 * image-mode.el: Fix scaling (bug#11399).
14959 (image-transform-resize): Doc fix.
14960 (image-transform-properties): Default scale is 1 and height should
14961 be an integer.
14962
14963 2012-05-13 Johan Bockgård <bojohan@gnu.org>
14964
14965 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
14966 than hard-coding `car', to fix misbehavior when moving forward.
14967
14968 2012-05-13 Chong Yidong <cyd@gnu.org>
14969
14970 * emacs-lisp/tabulated-list.el (tabulated-list-format)
14971 (tabulated-list-entries, tabulated-list-padding)
14972 (tabulated-list-sort-key): Make permanent-local.
14973
14974 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
14975 (electric-buffer-list): Put electric buffer menu
14976 command descriptions in this docstring, instead of the docstring
14977 of electric-buffer-menu-mode. Code cleanups.
14978 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
14979 Electric-buffer-menu-mode.
14980 (electric-buffer-update-highlight): Minor code cleanup.
14981
14982 2012-05-13 Michael Albinus <michael.albinus@gmx.de>
14983
14984 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
14985 (Bug#11447)
14986
14987 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
14988
14989 Move define-obsolete-variable-alias before the var's definition.
14990 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
14991 * tooltip.el (tooltip-hook):
14992 * textmodes/reftex-toc.el (reftex-toc-map):
14993 * textmodes/reftex-sel.el (reftex-select-label-map)
14994 (reftex-select-bib-map):
14995 * textmodes/reftex-index.el (reftex-index-map)
14996 (reftex-index-phrases-map):
14997 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
14998 * progmodes/meta-mode.el (meta-mode-map):
14999 * novice.el (disabled-command-hook):
15000 * loadhist.el (unload-hook-features-list):
15001 * frame.el (blink-cursor):
15002 * files.el (find-file-not-found-hooks, write-file-hooks)
15003 (write-contents-hooks):
15004 * emulation/tpu-edt.el (GOLD-map):
15005 * emacs-lock.el (emacs-lock-from-exiting):
15006 * emacs-lisp/generic.el (generic-font-lock-defaults):
15007 * emacs-lisp/chart.el (chart-map):
15008 * dos-fns.el (register-name-alist):
15009 * dired-x.el (dired-omit-files-p):
15010 * desktop.el (desktop-enable):
15011 * cus-edit.el (custom-mode-hook):
15012 * buff-menu.el (buffer-menu-mode-hook):
15013 * bookmark.el (bookmark-read-annotation-text-func)
15014 (bookmark-exit-hooks):
15015 * allout.el (allout-mode-deactivate-hook)
15016 (allout-exposure-change-hook, allout-structure-added-hook)
15017 (allout-structure-deleted-hook, allout-structure-shifted-hook):
15018 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
15019 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
15020 comes before the corresponding variable's definition.
15021
15022 2012-05-12 Chong Yidong <cyd@gnu.org>
15023
15024 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
15025 (Buffer-menu-mouse-select): Restore function (Bug#11459).
15026 (Buffer-menu-mode-map): Bind it.
15027 (Buffer-menu--pretty-name): Add a mouse-face property.
15028
15029 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
15030
15031 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
15032 (prolog-upper-case-string, prolog-lower-case-string)
15033 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
15034 (prolog-use-smie, prolog-smie-grammar): New vars.
15035 (prolog-smie-forward-token, prolog-smie-backward-token)
15036 (prolog-smie-rules): New funs.
15037 (prolog-comment-indent): Remove.
15038 (prolog-mode-variables): Use default comment indentation instead.
15039 Setup SMIE.
15040 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
15041 (prolog-mode): Don't call them any more.
15042 (prolog-electric-colon, prolog-electric-dash)
15043 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
15044
15045 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
15046
15047 * minibuffer.el (completion--twq-all): Again, allow case differences.
15048
15049 * term.el: Move keymap initialization code to be more idiomatic.
15050 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
15051 (term-terminal-menu): Move initialization into declaration.
15052 (term-escape-char): Let the user set it in her .emacs.
15053
15054 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
15055 Provide SMIE-based indentation (not enabled by default yet).
15056 (sh-mode-map): Don't bind electric keys.
15057 Use electric-pair-mode instead of skeleton-pair.
15058 (sh-assignment-regexp): Fit within 80 columns.
15059 (sh-indent-supported): Specify actual shell name instead of boolean.
15060 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
15061 (sh-maybe-here-document): Use it. Make obsolete.
15062 (sh-electric-here-document-mode) New minor mode.
15063 (sh-mode): Use it. Don't set sh-indent-supported-here here.
15064 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
15065 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
15066 (sh-smie-rc-grammar, sh-use-smie): New vars.
15067 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
15068 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
15069 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
15070 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
15071 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
15072 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
15073 (sh-set-shell): Use smie-setup if requested.
15074
15075 * term.el (term-set-escape-char): Properly set term-escape-char.
15076 See http://stackoverflow.com/questions/10524656.
15077
15078 2012-05-10 Chong Yidong <cyd@gnu.org>
15079
15080 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
15081 Use url-generic-parse-url, and handle host names and Windows
15082 filenames properly.
15083 (ffap-url-unwrap-remote): Use url-generic-parse-url.
15084 (ffap-url-unwrap-remote): Accept list values, specifying a list of
15085 URL schemes to work on.
15086 (ffap--toggle-read-only): New function.
15087 (ffap-read-only, ffap-read-only-other-window)
15088 (ffap-read-only-other-frame): Use it.
15089 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
15090 necessary for ffap-url-unwrap-remote.
15091
15092 2012-05-10 Dave Abrahams <dave@boostpro.com>
15093
15094 * cus-start.el (create-lockfiles): Add it.
15095
15096 2012-05-09 Chong Yidong <cyd@gnu.org>
15097
15098 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
15099 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
15100
15101 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
15102
15103 * shell.el (shell-completion-vars): Fix last change (bug#11348).
15104
15105 2012-05-09 Chong Yidong <cyd@gnu.org>
15106
15107 * ansi-color.el (ansi-color-process-output): Check for validity of
15108 comint-last-output-start before using it. This avoids a bad
15109 interaction with gdb-mi's input/output buffer.
15110
15111 2012-05-09 Glenn Morris <rgm@gnu.org>
15112
15113 * files.el (dir-locals-read-from-file):
15114 Mention dir-locals in any error message.
15115
15116 2012-05-09 Chong Yidong <cyd@gnu.org>
15117
15118 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
15119 package (Bug#11410).
15120
15121 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
15122 variables into description.
15123
15124 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
15125
15126 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
15127 shell-delimiter-argument-list (bug#11348).
15128 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
15129
15130 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
15131
15132 * textmodes/rst.el: Silence byte-compiler warnings.
15133 (rst-re-alist, rst-reset-section-caches): Move around.
15134 (rst-re): Use `characterp', not `char-valid-p'.
15135 (font-lock-beg, font-lock-end): Declare.
15136
15137 * progmodes/idlw-shell.el (specs): Remove reference to deleted
15138 variable `idlwave-shell-activate-alt-keybindings' and simplify.
15139
15140 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
15141
15142 2012-05-08 Glenn Morris <rgm@gnu.org>
15143
15144 * files.el (auto-mode-alist): Treat ".make" like ".mk".
15145
15146 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
15147
15148 * vc/log-edit.el: Add GNU coding standards highlighting.
15149 (log-edit-font-lock-gnu-style)
15150 (log-edit-font-lock-gnu-keywords): New vars.
15151 (log-edit-font-lock-keywords): New fun.
15152 (log-edit-mode): Don't fold case in font-lock.
15153 (log-edit-font-lock-keywords): Do not assume case-folding.
15154
15155 * imenu.el: Misc cleanup. Make docstrings out of comments.
15156 Use lexical-binding.
15157 (imenu--index-alist, imenu--last-menubar-index-alist)
15158 (imenu-menubar-modified-tick): Use defvar-local.
15159 (imenu--split-menu): Remove unused var.
15160 (imenu--cleanup-seen): Declare as global.
15161 (imenu--cleanup): Use dolist.
15162
15163 * subr.el (defvar-local): Add debug spec and doc-string position.
15164
15165 2012-05-08 Glenn Morris <rgm@gnu.org>
15166
15167 * language/burmese.el, language/cham.el, language/czech.el:
15168 * language/english.el, language/georgian.el, language/greek.el:
15169 * language/japanese.el, language/khmer.el, language/korean.el:
15170 * language/lao.el, language/misc-lang.el, language/romanian.el:
15171 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
15172 * language/thai.el, language/utf-8-lang.el:
15173 Remove no-byte-compile setting.
15174
15175 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
15176
15177 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
15178
15179 * progmodes/make-mode.el (makefile-browse):
15180 Remove unnecessary interactive. (Bug#11324)
15181
15182 2012-05-07 Glenn Morris <rgm@gnu.org>
15183
15184 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
15185
15186 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
15187
15188 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
15189
15190 * loadup.el: Preload newcomment.el.
15191 * newcomment.el: Move autoload-only code to toplevel.
15192
15193 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
15194 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
15195 Handle new :right-align column property.
15196 (tabulated-list-print-col): Idem, plus use `display' text-property to
15197 try and preserve alignment for variable pitch fonts.
15198
15199 2012-05-07 Chong Yidong <cyd@gnu.org>
15200
15201 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
15202 (tabulated-list-use-header-line): New var.
15203 (tabulated-list-init-header): Use it.
15204 (tabulated-list-print-fake-header): New function.
15205 (tabulated-list-print): Use it.
15206 (tabulated-list-sort-button-map): Add non-header-line commands.
15207 (tabulated-list-init-header): Add column name property to basic
15208 labels as well.
15209 (tabulated-list-col-sort): Handle non-header-line button case.
15210 (tabulated-list--sort-by-column-name): Fix a corner case.
15211
15212 * buff-menu.el (list-buffers--refresh):
15213 Handle Buffer-menu-use-header-line.
15214
15215 2012-05-06 Chong Yidong <cyd@gnu.org>
15216
15217 * buff-menu.el: Convert to Tabulated List mode.
15218 (Buffer-menu-buffer+size-width): Make obsolete.
15219 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
15220 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
15221 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
15222 documentation into docstring of buffer-menu.
15223 (Buffer-menu-toggle-files-only): Add an informative message.
15224 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
15225 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
15226 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
15227 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
15228 (Buffer-menu-execute, Buffer-menu-select)
15229 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
15230 (Buffer-menu-bury): Use Tabulated List machinery.
15231 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
15232 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
15233 Delete.
15234 (list-buffers--refresh): New function.
15235 (list-buffers-noselect): Use it.
15236 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
15237 (Buffer-menu--pretty-file-name): New helper functions.
15238
15239 * loadup.el: Preload tabulated-list.
15240
15241 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
15242 tabulated-list-sort-column.
15243 (tabulated-list-init-header): Add the initial aligning space even
15244 if tabulated-list-padding is zero.
15245
15246 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
15247
15248 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
15249 whose cdr is not a cons cell correctly (bug#11038).
15250
15251 2012-05-06 Chong Yidong <cyd@gnu.org>
15252
15253 * emacs-lisp/tabulated-list.el (tabulated-list-format):
15254 Accept additional plist in column descriptors.
15255 (tabulated-list-init-header): Obey it.
15256 (tabulated-list-get-entry): New function.
15257 (tabulated-list-put-tag): Use it. Use string-width instead of
15258 length.
15259 (tabulated-list--column-number): New function.
15260 (tabulated-list-print): Use it.
15261 (tabulated-list-print-col): New function.
15262 Set `tabulated-list-column-name' property on each column's text.
15263 (tabulated-list-print-entry): Use it.
15264 (tabulated-list-delete-entry, tabulated-list-set-col):
15265 New functions.
15266 (tabulated-list-sort-column): New command (Bug#11337).
15267
15268 * buff-menu.el (list-buffers): Move C-x C-b binding from
15269 buff-menu.el to bindings.el.
15270
15271 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
15272 :advertised-binding feature.
15273
15274 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
15275
15276 * progmodes/compile.el (compilation-internal-error-properties):
15277 Calculate start position correctly when end-col is set but
15278 end-line is not (Bug#11382).
15279
15280 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
15281
15282 * man.el (Man-unindent): Use text-property-default-nonsticky to
15283 prevent untabify from inheriting face properties (Bug#11408).
15284
15285 2012-05-05 Stefan Merten <smerten@oekonux.de>
15286
15287 * textmodes/rst.el: Major merge with upstream development up to
15288 Docutils SVN r7399 / rst.el V1.2.1.
15289
15290 Clarify maintainership and authors.
15291
15292 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
15293 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
15294 (rst-official-version, rst-official-cvs-rev, rst-version)
15295 (rst-package-emacs-version-alist): New functions and variables
15296 for version information.
15297
15298 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
15299 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
15300 (rst-mode-syntax-table, rst-mode): New and corrected functions
15301 and variables representing reStructuredText features.
15302
15303 (rst-re): New function for reStructuredText regexes. Use in
15304 many places.
15305
15306 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
15307 (rst-mode-map): Rebind keys.
15308
15309 (rst-mode-lazy, rst-font-lock-keywords)
15310 (rst-font-lock-extend-region)
15311 (rst-font-lock-extend-region-internal)
15312 (rst-font-lock-extend-region-extend)
15313 (rst-font-lock-find-unindented-line-limit)
15314 (rst-font-lock-find-unindented-line-match)
15315 (rst-adornment-level, rst-font-lock-adornment-level)
15316 (rst-font-lock-adornment-match)
15317 (rst-font-lock-handle-adornment-pre-match-form)
15318 (rst-font-lock-handle-adornment-matcher): Major revision of
15319 font-locking. Integrate with other code. Use `jit-lock-mode'.
15320
15321 (rst-preferred-adornments, rst-adjust-hook)
15322 (rst-new-adornment-down, rst-preferred-bullets)
15323 (rst-preferred-bullets, rst-indent, rst-indent-width)
15324 (rst-indent-field, rst-indent-literal-normal)
15325 (rst-indent-literal-minimized, rst-indent-comment): Change,
15326 extend and improve customization.
15327
15328 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
15329 (rst-normalize-cursor-position, rst-get-decoration)
15330 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
15331 (rst-rstrip, rst-toc-insert-find-delete-contents)
15332 (rst-shift-fill-region, rst-compute-bullet-tabs)
15333 (rst-debug-print-tabs, rst-debug-mark-found)
15334 (rst-shift-region-guts, rst-shift-region-right)
15335 (rst-shift-region-left, rst-use-char-classes)
15336 (rst-font-lock-keywords-function)
15337 (rst-font-lock-indentation-point)
15338 (rst-font-lock-find-unindented-line-begin)
15339 (rst-font-lock-find-unindented-line-end)
15340 (rst-font-lock-find-unindented-line)
15341 (rst-font-lock-adornment-point, rst-font-lock-level)
15342 (rst-adornment-level-alist): Remove functions and variables.
15343
15344 (rst-compare-adornments, rst-get-adornment-match)
15345 (rst-suggest-new-adornment, rst-get-adornments-around)
15346 (rst-adornment-complete-p, rst-get-next-adornment)
15347 (rst-adjust-adornment, rst-display-adornments-hierarchy)
15348 (rst-straighten-adornments): Standardize function names to
15349 use "adornment" instead of "decoration". Correct callers.
15350 Similar standardizing in many places.
15351
15352 (rst-update-section, rst-adjust, rst-promote-region)
15353 (rst-enumerate-region, rst-bullet-list-region)
15354 (rst-repeat-last-character): Correct use of `interactive'.
15355
15356 (rst-classify-adornment, rst-find-all-adornments)
15357 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
15358 (rst-find-leftmost-column, rst-repeat-last-character):
15359 Refactor functions.
15360
15361 (rst-find-title-line, rst-reset-section-caches)
15362 (rst-get-adornments-around, rst-adjust-adornment-work)
15363 (rst-arabic-to-roman, rst-roman-to-arabic)
15364 (rst-insert-list-pos, rst-insert-list-new-item)
15365 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
15366 New functions.
15367
15368 (rst-all-sections, rst-section-hierarchy)
15369 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
15370 New variables.
15371
15372 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
15373 configuration instead of only buffer. Change where necessary.
15374
15375 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
15376 (rst-shift-region, rst-adaptive-fill): New functions for
15377 indentation and filling.
15378
15379 (rst-comment-line-break, rst-comment-indent)
15380 (rst-comment-insert-comment, rst-comment-region)
15381 (rst-uncomment-region): New functions for handling comments.
15382
15383 (rst-compile): Quote shell arguments.
15384
15385 (rst-compile-pdf-preview, rst-compile-slides-preview):
15386 Delete temporary files after use.
15387
15388 2012-05-05 Glenn Morris <rgm@gnu.org>
15389
15390 * calendar/cal-html.el: Optionally include holidays in the output.
15391 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
15392 (cal-html-holidays): New option.
15393 (cal-html-css-default): Add holiday entry.
15394 (holiday-in-range): Autoload it.
15395 (cal-html-htmlify-entry): Add optional class argument.
15396 (cal-html-htmlify-list): Add optional holidays argument.
15397 (cal-html-insert-agenda-days): Include holidays in the output.
15398 (cal-html-one-month): Maybe include holidays.
15399
15400 * calendar/holidays.el (holiday-in-range):
15401 Move here from cal-tex-list-holidays.
15402 * calendar/cal-tex.el (cal-tex-list-holidays):
15403 Make it an obsolete alias for holiday-in-range. Update all callers.
15404
15405 2012-05-05 Chong Yidong <cyd@gnu.org>
15406
15407 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
15408 Nextstep.
15409
15410 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
15411
15412 * files.el (file-auto-mode-skip): New var.
15413 (set-auto-mode-1): Use it.
15414
15415 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
15416
15417 * repeat.el: Use lexical-binding.
15418 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
15419 (repeat-undo-count): Remove.
15420 (repeat):
15421 * progmodes/octave-mod.el (octave-abbrev-start):
15422 * progmodes/f90.el (f90-abbrev-start):
15423 * face-remap.el (text-scale-adjust):
15424 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
15425
15426 * emacs-lisp/pcase.el (pcase--let*): New function.
15427 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
15428 a bit more.
15429 (pcase--split-pred): Be more clever about ruling out overlap between
15430 a predicate and some constant pattern.
15431 (pcase--q1): Use `null' instead of (eq foo nil).
15432
15433 * subr.el (setq-local, defvar-local): New macros.
15434 (kbd): Redefine as an alias.
15435 (with-selected-window): Leave unrelated frames alone.
15436 (set-temporary-overlay-map): New function.
15437
15438 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
15439
15440 * subr.el (user-error): New function.
15441 * window.el (switch-to-buffer):
15442 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
15443 (smerge-match-conflict):
15444 * simple.el (previous-matching-history-element)
15445 (next-matching-history-element, goto-history-element, undo-more)
15446 (undo-start):
15447 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
15448 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
15449 (next-file, tags-loop-scan, list-tags, complete-tag):
15450 * progmodes/compile.el (compilation-loop):
15451 * mouse.el (mouse-minibuffer-check):
15452 * man.el (Man-bgproc-sentinel, Man-goto-page):
15453 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
15454 (Info-history-forward, Info-follow-reference, Info-menu)
15455 (Info-extract-menu-item, Info-extract-menu-counting)
15456 (Info-forward-node, Info-backward-node, Info-next-menu-item)
15457 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
15458 (Info-next-reference, Info-prev-reference, Info-index)
15459 (Info-index-next, Info-follow-nearest-node)
15460 (Info-copy-current-node-name):
15461 * imenu.el (imenu--make-index-alist)
15462 (imenu-default-create-index-function, imenu-add-to-menubar):
15463 * files.el (basic-save-buffer, recover-file):
15464 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
15465 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
15466 (checkdoc-message-text, checkdoc-defun):
15467 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
15468 * cus-edit.el (customize-changed-options, customize-rogue)
15469 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
15470 (custom-variable-mark-to-reset-standard)
15471 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
15472 (custom-file):
15473 * completion.el (check-completion-length):
15474 * comint.el (comint-search-arg)
15475 (comint-previous-matching-input-string-position)
15476 (comint-previous-matching-input)
15477 (comint-replace-by-expanded-history-before-point, comint-send-input)
15478 (comint-copy-old-input, comint-backward-matching-input)
15479 (comint-goto-process-mark, comint-set-process-mark):
15480 * calendar/calendar.el (calendar-cursor-to-date): Use it.
15481 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
15482
15483 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
15484
15485 * dabbrev.el (dabbrev--ignore-case-p): New function.
15486 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
15487 Use it.
15488
15489 * files.el (automount-dir-prefix): Mark as obsolete.
15490
15491 2012-05-04 Glenn Morris <rgm@gnu.org>
15492
15493 * patcomp.el, play/bruce.el: Move to obsolete/.
15494
15495 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
15496
15497 Fix minor Y10k bugs.
15498 * arc-mode.el (archive-unixdate):
15499 * autoinsert.el (auto-insert-alist):
15500 * calc/calc-forms.el (math-this-year):
15501 * emacs-lisp/copyright.el (copyright-current-year)
15502 (copyright-update-year, copyright):
15503 * tar-mode.el (tar-clip-time-string):
15504 * time.el (display-time-update):
15505 Don't assume years have 4 digits.
15506
15507 2012-05-04 Chong Yidong <cyd@gnu.org>
15508
15509 * dos-w32.el (file-name-buffer-file-type-alist)
15510 (direct-print-region-use-command-dot-com):
15511 * ffap.el (ffap-menu-regexp):
15512 * find-file.el (ff-special-constructs):
15513 * follow.el (follow-debug):
15514 * forms.el (forms--debug):
15515 * iswitchb.el (iswitchb-all-frames):
15516 * ido.el (ido-all-frames):
15517 * emacs-lisp/timer.el (timer-max-repeats):
15518 * mail/feedmail.el (feedmail-mail-send-hook)
15519 (feedmail-mail-send-hook-queued):
15520 * mail/footnote.el (footnote-signature-separator):
15521 * mail/mailabbrev.el (mail-alias-separator-string)
15522 (mail-abbrev-mode-regexp):
15523 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
15524 * progmodes/idlwave.el (idlwave-libinfo-file)
15525 (idlwave-default-completion-case-is-down)
15526 (idlwave-library-routines): Convert defvars to defcustoms.
15527
15528 * mail/rmail.el (rmail-decode-mime-charset):
15529 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
15530 (idlwave-shell-fix-inserted-breaks)
15531 (idlwave-shell-activate-alt-keybindings)
15532 (idlwave-shell-use-breakpoint-glyph):
15533 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
15534
15535 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
15536
15537 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
15538
15539 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
15540
15541 * progmodes/verilog-mode.el (font-lock-keywords):
15542 Fix mis-highligting auto. Reported by Craig Barner.
15543 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
15544 defines from global name space. Reported by Dan Dever.
15545 (verilog-auto-reset, verilog-auto-reset-widths)
15546 (verilog-auto-tieoff): Support using unbased numbers for
15547 AUTORESET and AUTOTIEOFF.
15548 (verilog-submit-bug-report): Update variable list.
15549 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
15550 parenthesis from not matching. Reported by Michael Rytting.
15551 (verilog-auto-template-lint): Fix hash error when linting modules
15552 with no used templates.
15553 (verilog-warn, verilog-warn-error)
15554 (verilog-warn-fatal): When non-interactive report multiple
15555 warnings before exiting. Suggested by Brad Dobbie.
15556 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
15557 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
15558 to report unused template errors. Reported by Brad Dobbie.
15559 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
15560 nets, bug438. Reported by Vns Blore.
15561 (verilog-auto-inout-module, verilog-auto-reg)
15562 (verilog-read-decls, verilog-read-sub-decls-sig)
15563 (verilog-signals-edit-wire-reg, verilog-signals-with):
15564 Fix passing of Verilog data types in ANSI input/output ports
15565 such as "output logic" into the AUTOs. Special case "wire" and
15566 "reg" for backwards compatibility presuming Verilog 2001.
15567 (verilog-auto-ascii-enum): Add "auto enum" as alias.
15568 (verilog-preprocess): Fix replication of preprocess output.
15569 Reported by Brad Dobbie.
15570 (verilog-auto-inst-interfaced-ports):
15571 Create verilog-auto-inst-interfaced-ports, bug429.
15572 Reported by Julian Gorfajn.
15573 (verilog-after-save-font-hook)
15574 (verilog-before-save-font-hook): New variable.
15575 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
15576 (verilog-save-font-mods): Wrap disabling fontification, reported
15577 by David Rogoff.
15578 (verilog-do-indent, verilog-pretty-declarations-auto)
15579 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
15580 Reported by Pierre-David Pfister.
15581 (verilog-set-auto-endcomments): Fix endtask auto comments outside
15582 of class declarations, bug292. Reported by Kevin Heilman.
15583 (verilog-read-decls): Fix 'parameter type' not appearing in
15584 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
15585 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
15586 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
15587 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
15588 Reported by David Kravitz.
15589
15590 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
15591
15592 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
15593 assignment with tests in ifs and for loops.
15594 (verilog-extended-complete-re, verilog-complete-reg): Change so
15595 that DPI inport functions don't look like fuction declarations.
15596 (verilog-pretty-expr): Don't line up assignment
15597 operations to the test and increment in if and for loops
15598 (verilog-extended-complete-re, verilog-complete-reg): Change so
15599 that DPI inport functions don't look like fuction declarations.
15600
15601 2012-05-03 Kenichi Handa <handa@m17n.org>
15602
15603 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
15604 decoding, and show a warning message without signaling an error
15605 (Bug#11282).
15606
15607 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
15608
15609 * emacs-lisp/bytecomp.el
15610 (byte-compile-file-form-custom-declare-variable): Compile all elements,
15611 since cconv.el might have introduced :fun-body, internal-make-closure,
15612 and friends for bytecomp to handle (bug#11391).
15613 * custom.el (defcustom): Avoid ((λ ..) ..).
15614
15615 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
15616
15617 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
15618
15619 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
15620
15621 * notifications.el (dbus-debug):
15622 * term/linux.el (gpm-mouse-enable):
15623 * term/screen.el (xterm-register-default-colors): Declare.
15624
15625 2012-05-02 Chong Yidong <cyd@gnu.org>
15626
15627 * cus-start.el (gc-cons-percentage, exec-suffixes)
15628 (dos-display-scancodes, dos-hyper-key, dos-super-key)
15629 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
15630 (make-cursor-line-fully-visible, void-text-area-pointer)
15631 (font-list-limit): Add customization data.
15632
15633 * allout.el (allout-exposure-change-functions)
15634 (allout-structure-added-functions)
15635 (allout-structure-deleted-functions)
15636 (allout-structure-shifted-functions): Rename abnormal hooks from
15637 *-hook, and convert to defcustoms.
15638 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
15639 Convert to defcustoms.
15640 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
15641
15642 * allout-widgets.el: Hook callers changed.
15643
15644 2012-05-02 Eli Zaretskii <eliz@gnu.org>
15645
15646 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
15647 the yanked message in preference to the default value of
15648 buffer-file-coding-system.
15649
15650 2012-05-02 Martin Rudalics <rudalics@gmx.at>
15651
15652 * window.el (display-buffer--action-function-custom-type):
15653 Fix entry.
15654
15655 2012-05-02 Alan Mackenzie <acm@muc.de>
15656
15657 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
15658
15659 2012-05-01 Glenn Morris <rgm@gnu.org>
15660
15661 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
15662
15663 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
15664
15665 * cus-edit.el (custom-variable-documentation): Simplify with format.
15666
15667 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
15668 Stefan Monnier <monnier@iro.umontreal.ca>
15669
15670 * simple.el (suggest-key-bindings, execute-extended-command):
15671 Move from keyboard.c.
15672
15673 2012-05-01 Chong Yidong <cyd@gnu.org>
15674
15675 * follow.el: Eliminate advice.
15676 (set-process-filter, process-filter, sit-for): Advice deleted.
15677 (follow-mode-off-hook): Obsolete hook removed.
15678 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
15679 Vars deleted.
15680 (follow-auto): Use a :set function.
15681 (follow-mode): Rewritten. Don't advise process filters.
15682 (follow-switch-to-current-buffer-all, follow-scroll-up)
15683 (follow-scroll-down): Assume follow-mode is bound.
15684 (follow-comint-scroll-to-bottom)
15685 (follow-align-compilation-windows): New functions.
15686 (follow--window-sorter): New function.
15687 (follow-all-followers): Use it to explicitly sort windows by their
15688 positions; don't make assumptions about next-window order.
15689 (follow-windows-start-end, follow-delete-other-windows-and-split)
15690 (follow-calc-win-start): Doc fix.
15691 (follow-windows-aligned-p, follow-select-if-visible): Don't call
15692 vertical-motion unnecessarily.
15693 (follow-adjust-window): New function.
15694 (follow-post-command-hook): Use it.
15695 (follow-call-set-process-filter, follow-call-process-filter)
15696 (follow-intercept-process-output, follow-tidy-process-filter-alist)
15697 (follow-stop-intercept-process-output, follow-generic-filter):
15698 Functions deleted.
15699 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
15700 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
15701 New functions, replacing advice on scroll-bar-* commands.
15702 (follow-mwheel-scroll): New function (Bug#4112).
15703
15704 * comint.el (comint-adjust-point): New function.
15705 (comint-postoutput-scroll-to-bottom): Use it.
15706 Call follow-comint-scroll-to-bottom for Follow mode buffers.
15707
15708 2012-05-01 Glenn Morris <rgm@gnu.org>
15709
15710 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
15711 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
15712 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
15713 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
15714 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
15715 Remove no-byte-compile setting.
15716
15717 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
15718
15719 * minibuffer.el (completion-table-with-quoting): Fix compatibility
15720 all-completions code to not return a number in the last cdr.
15721
15722 2012-04-30 Leo Liu <sdl.web@gmail.com>
15723
15724 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
15725 read-only error.
15726
15727 2012-04-29 Chong Yidong <cyd@gnu.org>
15728
15729 * follow.el (follow-calc-win-end): Rewrite to handle partial
15730 screen lines correctly (Bug#8390).
15731 (follow-avoid-tail-recenter): Minor cleanup.
15732
15733 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
15734
15735 Avoid the obsolete `assoc' package.
15736 * speedbar.el (speedbar-refresh): Avoid adelete.
15737 (speedbar-file-lists): Simplify and avoid aput.
15738 * man.el (Man--sections, Man--refpages): New vars, replacing
15739 Man-sections-alist and Man-refpages-alist.
15740 (Man-build-section-alist, Man-build-references-alist):
15741 Use them; avoid aput.
15742 (Man--last-section, Man--last-refpage): New vars.
15743 (Man-follow-manual-reference): Use them.
15744 Use the `default' arg of completing-read.
15745 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
15746
15747 2012-04-27 Chong Yidong <cyd@gnu.org>
15748
15749 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
15750
15751 * startup.el (x-apply-session-resources): New function.
15752
15753 * term/ns-win.el (ns-initialize-window-system):
15754 * term/w32-win.el (w32-initialize-window-system):
15755 * term/x-win.el (x-initialize-window-system): Use it to properly
15756 set menu-bar-mode and other vars from X resources, even if the
15757 initial frame is not a window-system frame (Bug#2299).
15758
15759 * subr.el (read-key): Avoid running filter function when setting
15760 up temporary tool bar entries (Bug#9922).
15761
15762 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
15763
15764 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
15765 (Bug#11344)
15766
15767 2012-04-27 Chong Yidong <cyd@gnu.org>
15768
15769 * select.el (xselect--encode-string): New function, split from
15770 xselect-convert-to-string.
15771 (xselect-convert-to-string): Use it.
15772 (xselect-convert-to-filename, xselect-convert-to-os)
15773 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
15774 returned strings are properly encoded (Bug#11315).
15775
15776 2012-04-27 Chong Yidong <cyd@gnu.org>
15777
15778 * simple.el (delete-active-region): Move to killing custom group.
15779
15780 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
15781
15782 * progmodes/which-func.el (which-func-current): Quote %
15783 characters for mode-line processing.
15784
15785 2012-04-27 Chong Yidong <cyd@gnu.org>
15786
15787 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
15788 reaching eob (Bug#11286).
15789
15790 2012-04-27 Eli Zaretskii <eliz@gnu.org>
15791
15792 * progmodes/gdb-mi.el (gdb-control-level): New variable.
15793 (gdb): Make it buffer-local and init to zero.
15794 (gdb-control-commands-regexp): New variable.
15795 (gdb-send): Don't wrap in "-interpreter-exec console" if
15796 gdb-control-level is positive. Increment gdb-control-level
15797 whenever the command matches gdb-control-commands-regexp, and
15798 decrement it each time the command is "end". (Bug#11279)
15799
15800 2012-04-27 Martin Rudalics <rudalics@gmx.at>
15801
15802 * window.el (adjust-window-trailing-edge, enlarge-window)
15803 (shrink-window, window-resize):
15804 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
15805 windows (Bug#11276).
15806
15807 2012-04-27 Chong Yidong <cyd@gnu.org>
15808
15809 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
15810 fix "missing prefix" warning. All callers changed.
15811
15812 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
15813
15814 * emacs-lisp/assoc.el: Move to obsolete/.
15815
15816 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
15817
15818 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
15819
15820 * term/ns-win.el (ns-define-service):
15821 * progmodes/pascal.el (pascal-goto-defun):
15822 * progmodes/js.el (js--read-tab):
15823 * progmodes/etags.el (tags-lazy-completion-table):
15824 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
15825 * emacs-lisp/ewoc.el (ewoc--wrap):
15826 * emacs-lisp/assoc.el (aput, adelete, amake):
15827 * doc-view.el (doc-view-convert-current-doc):
15828 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
15829
15830 2012-04-26 Chong Yidong <cyd@gnu.org>
15831
15832 * image.el (image-type-from-buffer): Only return supported image
15833 type (Bug#9045).
15834
15835 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
15836 value, for symmetry with diff-end-of-hunk.
15837 (diff-split-hunk, diff-find-source-location)
15838 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
15839 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
15840 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
15841 compute the relevant hunk or file properly (Bug#6005).
15842 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
15843
15844 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
15845
15846 * vc/vc-mtn.el:
15847 * vc/vc-hg.el:
15848 * vc/vc-git.el:
15849 * vc/vc-dir.el:
15850 * vc/vc-cvs.el:
15851 * vc/vc-bzr.el:
15852 * vc/vc-arch.el:
15853 * vc/vc.el: Replace lexical-let by lexical-binding.
15854 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
15855 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
15856 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
15857
15858 2012-04-26 Chong Yidong <cyd@gnu.org>
15859
15860 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
15861 (diff-mode-shared-map): Bind it to / and [remap undo].
15862
15863 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
15864 (ediff-window-setup-function): Use it as the default, to set up
15865 windows based on whether the current frame is graphical (Bug#2138).
15866 (ediff-choose-window-setup-function-automatically): Make obsolete.
15867
15868 * vc/ediff-init.el: Always define ediff-pixel-width/height.
15869
15870 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
15871
15872 * ffap.el: Remove old code for obsolete package.
15873 (ffap-complete-as-file-p): Remove.
15874
15875 Use completion-table-with-quoting for comint and pcomplete.
15876 * comint.el (comint--unquote&requote-argument)
15877 (comint--unquote-argument, comint--requote-argument): New functions.
15878 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
15879 (comint-quote-filename): Use regexp-opt-charset.
15880 (comint--common-suffix, comint--common-quoted-suffix)
15881 (comint--table-subvert): Remove.
15882 (comint-unquote-function, comint-requote-function): New vars.
15883 (comint--complete-file-name-data): Use them with
15884 completion-table-with-quoting.
15885 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
15886 * pcomplete.el (pcomplete-arg-quote-list)
15887 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
15888 (pcomplete-unquote-argument-function): Default to non-nil.
15889 (pcomplete-unquote-argument): Simplify.
15890 (pcomplete--common-quoted-suffix): Remove.
15891 (pcomplete-requote-argument-function): New var.
15892 (pcomplete--common-suffix): New function.
15893 (pcomplete-completions-at-point): Use completion-table-with-quoting
15894 and completion-table-subvert.
15895
15896 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
15897 (minibuffer--double-dollars): Preserve properties.
15898 (completion--sifn-requote): New function.
15899 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
15900
15901 * minibuffer.el: Add support for completion of quoted/escaped data.
15902 (completion-table-with-quoting, completion-table-subvert): New funs.
15903 (completion--twq-try, completion--twq-all): New functions.
15904 (completion--nth-completion): New function.
15905 (completion-try-completion, completion-all-completions): Use it.
15906
15907 2012-04-25 Leo Liu <sdl.web@gmail.com>
15908
15909 * progmodes/python.el (python-pdbtrack-get-source-buffer):
15910 Use compilation-message if available to find real filename.
15911
15912 2012-04-25 Chong Yidong <cyd@gnu.org>
15913
15914 * vc/diff-mode.el (diff-setup-whitespace): New function.
15915 (diff-mode): Use it.
15916
15917 * vc/diff.el (diff-sentinel):
15918 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
15919 Whitespace mode variables based on diff style (Bug#8612).
15920
15921 2012-04-25 Leo Liu <sdl.web@gmail.com>
15922
15923 * progmodes/python.el (python-send-region): Add suffix .py to the
15924 temp file.
15925
15926 * files.el (auto-mode-alist): Use javascript-mode instead.
15927
15928 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
15929
15930 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
15931
15932 * net/soap-client.el (soap-resolve-references-for-sequence-type)
15933 (soap-resolve-references-for-array-type): Hack to prevent self
15934 references, see Bug#9.
15935 (soap-parse-envelope): Report the contents of the 'detail' node
15936 when receiving a fault reply.
15937 (soap-parse-envelope): Report the contents of the entire 'detail' node.
15938
15939 * net/soap-inspect.el (soap-sample-value-for-simple-type)
15940 (soap-inspect-simple-type): New function.
15941
15942 * net/soap-client.el (soap-simple-type): New struct.
15943 (soap-default-xsd-types, soap-default-soapenc-types)
15944 (soap-decode-basic-type, soap-encode-basic-type):
15945 support unsignedInt and double basic types.
15946 (soap-resolve-references-for-simple-type)
15947 (soap-parse-simple-type, soap-encode-simple-type): New function.
15948 (soap-parse-schema): Parse xsd:simpleType declarations.
15949
15950 * net/soap-client.el (soap-default-xsd-types)
15951 (soap-default-soapenc-types): Add integer, byte and anyURI types.
15952 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
15953 the local name of "soapenc:Array".
15954 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
15955 decoding integer, byte and anyURI xsd types.
15956
15957 2012-04-25 Chong Yidong <cyd@gnu.org>
15958
15959 * cus-edit.el (custom-buffer-create-internal): Update header text.
15960
15961 2012-04-25 Eli Zaretskii <eliz@gnu.org>
15962
15963 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
15964 settings on 'system-type', not on 'window-system'. On MS-Windows,
15965 set interactive-mode on in GDB.
15966
15967 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
15968
15969 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
15970 (ruby-syntax-propertize-regexp): Remove.
15971 (ruby-syntax-propertize-function): Split regexp into chunks.
15972 Match following code directly.
15973
15974 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
15975
15976 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
15977 (ruby-syntax-propertize-regexp): New function.
15978 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
15979 by a special keyword.
15980
15981 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
15982 (ruby-syntax-general-delimiters-goto-beg)
15983 (ruby-syntax-propertize-general-delimiters): New functions.
15984 (ruby-syntax-propertize-function): Use them to handle GDL.
15985 (ruby-font-lock-keywords): Move old handling of GDL...
15986 (ruby-font-lock-syntactic-keywords): .. to here.
15987 (ruby-calculate-indent): Adjust indentation for GDL.
15988
15989 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
15990
15991 * notifications.el (top): Remove unneeded declarations.
15992 (notifications-specification-version): Change to "1.2".
15993 (notifications-interface, notifications-notify-method)
15994 (notifications-close-notification-method): Fix docstring.
15995 (notifications-get-capabilities-method): New defconst.
15996 (notifications-notify): Add :action-items, :resident and
15997 :transient hints. Change "image_data" to "image-data" and
15998 "image_path" to "image-path".
15999 (notifications-get-capabilities): New defun.
16000
16001 2012-04-24 Leo Liu <sdl.web@gmail.com>
16002
16003 * progmodes/python.el: Move hideshow setup to the end.
16004
16005 2012-04-24 Martin Rudalics <rudalics@gmx.at>
16006
16007 * window.el (handle-select-window): Clear echo area since this is
16008 no more done by read_char (Bug#11304).
16009
16010 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
16011
16012 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
16013 and `/ M' to filter-derived-mode.
16014 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
16015 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
16016 (ibuffer-mark-by-mode): Use default rather than initial-input.
16017 (ibuffer-filter-by-derived-mode): Autoload and require-match.
16018
16019 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
16020
16021 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
16022 (ibuffer-filter-by-derived-mode): New filter.
16023 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
16024
16025 2012-04-23 Andreas Politz <politza@fh-trier.de>
16026
16027 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
16028
16029 2012-04-23 Chong Yidong <cyd@gnu.org>
16030
16031 * cus-edit.el (customize-apropos, customize-apropos-options):
16032 Disable matching of non-option variables (Bug#11176).
16033 (customize-option, customize-option-other-window)
16034 (customize-changed-options): Doc fix.
16035 (customize-apropos-options, customize-apropos-faces)
16036 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
16037
16038 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
16039 Fix word list splitting (Bug#11132).
16040 (apropos-symbol, apropos-keybinding, apropos-label)
16041 (apropos-property, apropos-function-button)
16042 (apropos-variable-button, apropos-misc-button): New faces.
16043 (apropos-symbol-face, apropos-keybinding-face)
16044 (apropos-label-face, apropos-property-face, apropos-match-face):
16045 Variables removed (Bug#8396).
16046 (apropos-library-button, apropos-format-plist, apropos-print)
16047 (apropos-print-doc, apropos-describe-plist): Callers changed.
16048
16049 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
16050
16051 * net/xesam.el (xesam-mode-map): Use let-bound map in
16052 initialization. (Bug#11292)
16053
16054 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
16055
16056 Preserve ispell session localwords when switching back to
16057 original buffer.
16058
16059 * textmodes/ispell.el (ispell-buffer-session-localwords):
16060 New buffer-local variable to hold buffer session localwords.
16061 (ispell-kill-ispell): Add option 'clear to delete session
16062 localwords.
16063 (ispell-command-loop, ispell-change-dictionary)
16064 (ispell-buffer-local-words): Preserve session localwords when
16065 needed.
16066
16067 * textmodes/flyspell.el (flyspell-process-localwords)
16068 (flyspell-do-correct): Preserve session localwords when needed.
16069
16070 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
16071
16072 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
16073 using obsolete `translation-table-for-input'.
16074 (ispell-word, ispell-process-line, ispell-complete-word):
16075 Use plain `insert' instead of removed `ispell-insert-word'.
16076
16077 2012-04-22 Chong Yidong <cyd@gnu.org>
16078
16079 * cus-edit.el (custom-variable-menu)
16080 (custom-variable-reset-saved, custom-face-menu)
16081 (custom-face-reset-saved): If there is no saved value, make the
16082 "reset-saved" operation bring back the default (Bug#9509).
16083 (custom-face-state): Properly detect themed faces.
16084
16085 * faces.el (face-spec-set): Stop supporting deprecated form of
16086 third arg.
16087
16088 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
16089
16090 Move functions from C to Lisp. Make non-blocking method calls
16091 the default. Implement further D-Bus standard interfaces.
16092
16093 * net/dbus.el (dbus-message-internal): Declare function.
16094 Remove unneeded function declarations.
16095 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
16096 (dbus-message-type-method-return, dbus-message-type-error)
16097 (dbus-message-type-signal): Declare variables. Remove local
16098 definitions.
16099 (dbus-interface-dbus, dbus-interface-peer)
16100 (dbus-interface-introspectable, dbus-interface-properties)
16101 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
16102 Adapt docstring.
16103 (dbus-interface-objectmanager): New defconst.
16104 (dbus-call-method, dbus-call-method-asynchronously)
16105 (dbus-send-signal, dbus-method-return-internal)
16106 (dbus-method-error-internal, dbus-register-service)
16107 (dbus-register-signal, dbus-register-method): New defuns, moved
16108 from dbusbind.c
16109 (dbus-call-method-handler, dbus-setenv)
16110 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
16111 New defuns.
16112 (dbus-call-method-non-blocking): Make it an obsolete function.
16113 (dbus-unregister-object, dbus-unregister-service)
16114 (dbus-handle-event, dbus-register-property)
16115 (dbus-property-handler): Obey the new structure of
16116 `bus-registered-objects'.
16117 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
16118 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
16119 Use `dbus-call-method'.
16120
16121 2012-04-22 Chong Yidong <cyd@gnu.org>
16122
16123 * cus-edit.el (custom-commands, custom-reset-menu)
16124 (Custom-reset-standard): Tweak labels.
16125 (custom-reset-button-menu): Change default to t.
16126 (custom-buffer-create-internal): For the custom-reset-button-menu
16127 case, put the revert button first.
16128 (custom-group-subtitle): New face.
16129 (custom-group-value-create): Align docstring to a specific column.
16130
16131 * wid-edit.el (widget-documentation-link-add): Don't handle
16132 indentation in this function.
16133 (widget-documentation-string-indent-to): New function.
16134 (widget-documentation-string-value-create): Use it.
16135
16136 * autorevert.el (auto-revert):
16137 * epg-config.el (epg):
16138 * ibuffer.el (ibuffer):
16139 * mpc.el (mpc):
16140 * ses.el (ses):
16141 * eshell/eshell.el (eshell):
16142 * net/ange-ftp.el (ange-ftp):
16143 * progmodes/ebnf2ps.el (postscript):
16144 * progmodes/flymake.el (flymake):
16145 * progmodes/prolog.el (prolog):
16146 * progmodes/verilog-mode.el (verilog-mode):
16147 * progmodes/which-func.el (which-func):
16148 * term/xterm.el (xterm):
16149 * textmodes/picture.el (picture):
16150 * textmodes/tildify.el (tildify):
16151 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
16152 customization buffers.
16153
16154 2012-04-22 Alan Mackenzie <acm@muc.de>
16155
16156 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
16157 Adding a ) can hide the resulting (..) from searches. Fix it.
16158 Bound the backward search to the position of the existing (.
16159
16160 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
16161
16162 * progmodes/verilog-mode.el (verilog-mode): Check whether
16163 which-func-modes is t before adding verilog-mode.
16164 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
16165
16166 2012-04-21 Leo Liu <sdl.web@gmail.com>
16167
16168 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
16169
16170 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
16171
16172 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
16173 filling of the last column of a table (Bug#5635).
16174 (woman-find-next-control-line): New arg, specifying an additional
16175 regexp component for the control line.
16176 (woman2-roff-buffer): Use it.
16177 (woman-break-table): New function.
16178 (woman2-TS): Use it.
16179
16180 2012-04-21 Chong Yidong <cyd@gnu.org>
16181
16182 * woman.el (woman-set-buffer-display-table, woman-decode-region)
16183 (woman-horizontal-escapes, woman-negative-vertical-space)
16184 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
16185 (WoMan-warn-ignored): Use ?\s instead of ?\ .
16186
16187 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
16188
16189 * minibuffer.el (completion-file-name-table): Complete user names.
16190
16191 2012-04-20 Leo Liu <sdl.web@gmail.com>
16192
16193 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
16194 and pcase-let*.
16195
16196 2012-04-20 Chong Yidong <cyd@gnu.org>
16197
16198 * server.el (server-execute): Respect initial-buffer-choice if it
16199 is a string and there are no files to open (Bug#2825).
16200 (server-create-window-system-frame, server-create-tty-frame):
16201 Don't switch buffers here.
16202 (server-process-filter): Only try to open a window system frame if
16203 compiled with graphical support (Bug#8314).
16204
16205 2012-04-20 Dan Nicolaescu <dann@gnu.org>
16206
16207 * battery.el (battery-echo-area-format): Display remaining time
16208 for sysfs backend too (Bug#11269).
16209 (battery-linux-sysfs): Fix conditional for the charge.
16210
16211 2012-04-20 Chong Yidong <cyd@gnu.org>
16212
16213 * progmodes/gdb-mi.el (gdb): Revert previous change.
16214 (gdb-inferior-io--init-proc): New function.
16215 (gdb-init-1): Use it.
16216 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
16217 responsible for allocating a new pty and hooking it to gdb when
16218 the old pty gets an EIO due to process exit.
16219 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
16220 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
16221 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
16222
16223 2012-04-20 Eli Zaretskii <eliz@gnu.org>
16224
16225 * window.el (window-min-size, window-sizable, window-min-delta)
16226 (window-max-delta, window--resizable, window-resizable)
16227 (window-total-size, window-full-height-p, window-full-width-p)
16228 (window-in-direction, window--resize-mini-window, window-resize)
16229 (window--resize-child-windows-normal)
16230 (window--resize-child-windows, window--resize-siblings)
16231 (window--resize-this-window, adjust-window-trailing-edge)
16232 (enlarge-window, shrink-window): Doc fixes.
16233
16234 2012-04-20 Chong Yidong <cyd@gnu.org>
16235
16236 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
16237 New function to call delete-process on the gdb-inferior buffer's pty.
16238 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
16239 pty process (Bug#11273).
16240 (gdb-update): New arg to suppress talking to the gdb process.
16241 (gdb-done-or-error): Use it.
16242 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
16243 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
16244 sentinel not being called.
16245
16246 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
16247
16248 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
16249
16250 2012-04-20 Glenn Morris <rgm@gnu.org>
16251
16252 * net/network-stream.el (open-network-stream): Doc fix.
16253
16254 2012-04-20 Chong Yidong <cyd@gnu.org>
16255
16256 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
16257
16258 2012-04-20 Alan Mackenzie <acm@muc.de>
16259
16260 Ensure searching for keywords is case sensitive.
16261
16262 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
16263 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
16264 (c-defun-name, c-mark-function, c-cpp-define-name)
16265 (c-comment-indent, c-scan-conditionals, c-indent-defun)
16266 (c-context-line-break): Bind case-fold-search to nil.
16267
16268 * progmodes/cc-mode.el (c-font-lock-fontify-region):
16269 Bind case-fold-search to nil.
16270
16271 2012-04-20 Chong Yidong <cyd@gnu.org>
16272
16273 * mail/sendmail.el (mail-bury): Call return action with the right
16274 Rmail buffer (Bug#11242).
16275
16276 * server.el (server-process-filter): Handle corner case where both
16277 tty and nowait options are present (Bug#11102).
16278
16279 2012-04-20 Eli Zaretskii <eliz@gnu.org>
16280
16281 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
16282 (top level): Put into the executable the ident-style '$Id:' tag on
16283 windows-nt as well.
16284
16285 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
16286
16287 * electric.el (electric-indent-post-self-insert-function): Check that
16288 electric-indent-mode is enabled in current buffer.
16289
16290 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
16291
16292 * imenu.el (imenu-progress-message): Restore; it is "used" in
16293 erc/erc-imenu.el and net/snmp-mode.el.
16294
16295 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
16296
16297 * avoid.el (mouse-avoidance-mode): Mark unused arg.
16298 (mouse-avoidance-nudge-mouse): Remove unused binding.
16299
16300 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
16301
16302 * descr-text.el (describe-char):
16303 * progmodes/python.el (python-describe-symbol):
16304 Don't call `toggle-read-only', set `buffer-read-only'.
16305
16306 * imenu.el (imenu-default-goto-function): Mark unused args.
16307 (imenu-progress-message): Remove obsolete macro; all callers changed.
16308
16309 * subr.el (keymap-canonicalize): Remove unused binding.
16310 (read-passwd): Mark unused arg.
16311
16312 * tutorial.el (tutorial--display-changes): Remove unused binding.
16313 (tutorial--save-tutorial-to): Remove unused variable.
16314
16315 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
16316 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
16317 (package-generate-autoloads, package-menu--generate)
16318 (package-menu--find-upgrades): Remove unused bindings.
16319
16320 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
16321 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
16322 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
16323 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
16324 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
16325 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
16326 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
16327 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
16328 (cua-delete-char-rectangle): Mark unused args.
16329 (cua-align-rectangle): Remove unused binding.
16330
16331 * mail/rmail.el (compilation--message->loc)
16332 (epa--find-coding-system-for-mime-charset): Declare.
16333
16334 * net/dbus.el (dbus-register-service): Declare.
16335 (dbus-name-owner-changed-handler): Remove unused binding.
16336
16337 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
16338 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
16339 (nxml-scan-backward-within): Mark unused arg.
16340 (nxml-dynamic-markup-word): Remove unused binding.
16341
16342 * mouse.el (mouse-menu-major-mode-map):
16343 * emacs-lisp/authors.el (authors-scan-change-log)
16344 (authors-add-to-author-list):
16345 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
16346 * emacs-lisp/smie.el (smie-auto-fill):
16347 * mail/sendmail.el (mail-bury):
16348 * mail/unrmail.el (unrmail):
16349 * net/tls.el (open-tls-stream):
16350 * textmodes/picture.el (picture-mouse-set-point):
16351 Remove unused bindings.
16352
16353 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
16354
16355 * net/tramp.el (tramp-action-password): Let-bind
16356 `enable-recursive-minibuffers' to t.
16357
16358 2012-04-18 Sam Steingold <sds@gnu.org>
16359
16360 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
16361 instead of 'string to accommodate values like [f11].
16362 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
16363 * progmodes/gdb-mi.el: Likewise.
16364
16365 2012-04-18 Leo Liu <sdl.web@gmail.com>
16366
16367 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
16368 current buffer.
16369 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
16370 LOCAL is nil.
16371
16372 2012-04-18 Chong Yidong <cyd@gnu.org>
16373
16374 * simple.el (line-move): Use forward-line if in batch mode
16375 (Bug#11053).
16376
16377 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
16378
16379 * files.el (after-find-file): Do not try to add a final newline if
16380 the buffer is read-only (Bug#11156).
16381
16382 2012-04-17 Richard Stallman <rms@gnu.org>
16383
16384 * mail/rmail.el (rmail-start-mail):
16385 Pass (rmail-mail-return...) for the return-action.
16386 Pass (rmail-yank-current-message...) for the yank-action.
16387 (rmail-yank-current-message): New function.
16388 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
16389 (rmail-reply): Likewise.
16390 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
16391
16392 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
16393 buffer, not the last. Reject temp buffers. Use the rmail-mode
16394 buffer, not newbuf.
16395
16396 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
16397
16398 * server.el (server-ensure-safe-dir): Simplify.
16399
16400 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
16401
16402 * emacs-lisp/smie.el: Provide smarter auto-filling.
16403 (smie-auto-fill): New function.
16404 (smie-setup): Use it.
16405
16406 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
16407
16408 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
16409
16410 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
16411 (comment-indent): Use it.
16412
16413 2012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
16414
16415 * ses.el: The overall change is to add cell renaming, that is
16416 setting fancy names for cell symbols other than name matching
16417 "\\`[A-Z]+[0-9]+\\'" regexp .
16418 (ses-localvars): Add ses--renamed-cell-symb-list.
16419 (ses-create-cell-variable): New defun.
16420 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
16421 (ses-relocate-formula): Relocate formulas only for cells the
16422 symbols of which are not renamed, i.e. symbols whose names do not
16423 match regexp "\\`[A-Z]+[0-9]+\\'".
16424 (ses-relocate-all): Relocate values only for cells the symbols of
16425 which are not renamed.
16426 (ses-load): Create cells variables as the (ses-cell ...) are read,
16427 in order to check row col consistency with cell symbol name only
16428 for cells that are not renamed.
16429 (ses-replace-name-in-formula): New defun.
16430 (ses-rename-cell): New defun.
16431
16432 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
16433
16434 * progmodes/perl-mode.el (perl-indent-parens-as-block):
16435 New option (bug#11118).
16436 (perl-calculate-indent): Respect it.
16437
16438 2012-04-17 Glenn Morris <rgm@gnu.org>
16439
16440 * dired-aux.el (dired-mark-read-string): Doc fix.
16441
16442 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
16443
16444 * dired-aux.el (dired-mark-read-string): Offer optional completion.
16445 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
16446
16447 2012-04-17 Glenn Morris <rgm@gnu.org>
16448
16449 * mouse.el (mouse-drag-track):
16450 * speedbar.el (speedbar-frame-mode):
16451 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
16452
16453 2012-04-16 Leo Liu <sdl.web@gmail.com>
16454
16455 * progmodes/python.el: Trivial cleanup.
16456
16457 2012-04-16 Glenn Morris <rgm@gnu.org>
16458
16459 * vc/vc.el (vc-string-prefix-p):
16460 * vc/pcvs-util.el (cvs-string-prefix-p):
16461 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
16462 * mpc.el (mpc-string-prefix-p):
16463 Make all of these into obsolete aliases for string-prefix-p.
16464 Update callers.
16465 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
16466
16467 * textmodes/two-column.el: Move custom options to the start.
16468 (frame-width): Remove compat definition.
16469 (2C-associate-buffer, 2C-dissociate):
16470 Use with-current-buffer rather than save-excursion.
16471 (2C-dissociate): Force a mode-line update.
16472 (2C-autoscroll): Use ignore-errors.
16473
16474 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
16475 Autoload trivia.
16476
16477 * emacs-lisp/cl-extra.el (*random-state*):
16478 Remove unnecessary declaration.
16479
16480 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
16481
16482 * play/cookie1.el (cookie-snarf):
16483 Give an explicit error if input file cannot be read.
16484
16485 * play/yow.el (yow-file): Use expand-file-name rather than concat.
16486
16487 * progmodes/perl-mode.el (c-macro-expand):
16488 Remove unnecessary autoload (it is in loaddefs.el).
16489
16490 * textmodes/picture.el (picture-desired-column)
16491 (picture-update-desired-column): Convert comments to doc-strings.
16492 (picture-substitute): Remove function.
16493 (picture-mode-map): Initialize in the defvar.
16494
16495 * woman.el: Remove eval-after-load for tar-mode.
16496 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
16497 (woman-tar-extract-file): Autoload it.
16498
16499 * frame.el (automatic-hscrolling): Make this alias obsolete.
16500
16501 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
16502
16503 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
16504 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
16505 (ispell-dictionary-base-alist): Revert to original XEmacs
16506 friendly version for default. [:alpha:] will be added in
16507 `ispell-set-spellchecker-params' if needed.
16508
16509 2012-04-16 Chong Yidong <cyd@gnu.org>
16510
16511 * image.el (imagemagick--file-regexp): New variable.
16512 (imagemagick-register-types): Use it.
16513 (imagemagick-types-inhibit): Add :set function. Allow new value
16514 of t to inhibit all types.
16515
16516 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
16517 so we can preload it.
16518
16519 * loadup.el (fboundp): Preload regexp-opt, needed by
16520 imagemagick-register-types.
16521
16522 2012-04-15 Chong Yidong <cyd@gnu.org>
16523
16524 * frame.el (scrolling): Remove nearly unused customization group.
16525
16526 * scroll-all.el (scroll-all-mode): Move to windows group.
16527
16528 2012-04-15 Chong Yidong <cyd@gnu.org>
16529
16530 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
16531
16532 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
16533
16534 Avoid the use of ((lambda ...) ...) in lexical-binding code.
16535 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
16536
16537 2012-04-15 Glenn Morris <rgm@gnu.org>
16538
16539 * simple.el (process-file-side-effects): Doc fix.
16540
16541 2012-04-15 Glenn Morris <rgm@gnu.org>
16542
16543 * international/mule-cmds.el (set-language-environment): Doc fix.
16544
16545 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
16546
16547 * server.el (server-auth-key, server-generate-key): Doc fixes.
16548 (server-get-auth-key): Doc fix. Use `string-match-p'.
16549 (server-start): Reflow docstring.
16550
16551 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
16552
16553 * server.el (server-generate-key): `called-interactively-p'
16554 requires a parameter.
16555
16556 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
16557
16558 * server.el (server-auth-key): New variable.
16559 (server-generate-key, server-get-auth-key): New function.
16560 (server-start): Use the new variable and functions to allow
16561 setting a permanent server key (bug#9423).
16562
16563 2012-04-14 Leo Liu <sdl.web@gmail.com>
16564
16565 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
16566
16567 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
16568
16569 Spelling fixes.
16570 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
16571 Emacs uses American spelling.
16572
16573 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
16574
16575 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
16576 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
16577 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
16578 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
16579
16580 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
16581
16582 * progmodes/which-func.el (which-func-modes): Change default.
16583
16584 2012-04-14 Kim F. Storm <storm@cua.dk>
16585
16586 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
16587 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
16588
16589 2012-04-14 Chong Yidong <cyd@gnu.org>
16590
16591 * custom.el (custom-theme-set-variables): Doc fix.
16592
16593 2012-04-14 Glenn Morris <rgm@gnu.org>
16594
16595 * international/mule.el (set-auto-coding-for-load): Doc fix.
16596
16597 2012-04-14 Alan Mackenzie <acm@muc.de>
16598
16599 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
16600 imenu work again for Objective C Mode. Correct the *-index values,
16601 these having been disturbed by a previous change in 2011-08.
16602
16603 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
16604 Correct two search limits.
16605
16606 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
16607
16608 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
16609
16610 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
16611
16612 * international/characters.el: Fix sorting.
16613
16614 2012-04-14 Eli Zaretskii <eliz@gnu.org>
16615
16616 * international/characters.el: Add more missing Latin case pairs.
16617
16618 2012-04-14 Glenn Morris <rgm@gnu.org>
16619
16620 * files.el (dir-locals-set-class-variables): Doc fix.
16621
16622 2012-04-14 Eli Zaretskii <eliz@gnu.org>
16623
16624 * international/characters.el: Add set-case-syntax-pair call for
16625 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
16626 counterpart. (Bug#11209)
16627
16628 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
16629
16630 2012-04-14 Glenn Morris <rgm@gnu.org>
16631
16632 * calendar/holidays.el (calendar-check-holidays): Doc fix.
16633
16634 2012-04-14 Eli Zaretskii <eliz@gnu.org>
16635
16636 * textmodes/ispell.el (ispell-dictionary-base-alist):
16637 Add data for Hebrew.
16638
16639 2012-04-14 Chong Yidong <cyd@gnu.org>
16640
16641 * net/rcirc.el (rcirc-cmd-quit):
16642 Revert 2012-03-18 change (Bug#11192).
16643
16644 2012-04-14 Glenn Morris <rgm@gnu.org>
16645
16646 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
16647
16648 2012-04-14 Eli Zaretskii <eliz@gnu.org>
16649
16650 * minibuffer.el (completion-in-region-mode-map):
16651 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
16652
16653 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
16654
16655 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
16656
16657 2012-04-13 Masatake YAMATO <yamato@redhat.com>
16658
16659 * minibuffer.el (minibuffer-local-filename-syntax): New variable
16660 to allow `C-M-f' and `C-M-b' to move to the nearest path
16661 separator (bug#9511).
16662
16663 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
16664
16665 * avoid.el: Require cl when compiling. And also move the
16666 `provide' to the end.
16667
16668 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16669
16670 * avoid.el (mouse-avoidance-banish-position): New variable.
16671 (mouse-avoidance-banish-destination): Use it (bug#10165).
16672
16673 2012-04-13 Leo Liu <sdl.web@gmail.com>
16674
16675 * progmodes/which-func.el (which-func-modes): Add objc-mode.
16676
16677 2012-04-13 Ken Brown <kbrown@cornell.edu>
16678
16679 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
16680 this is no longer needed now that cygstart understands file:// URLs.
16681 (browse-url-filename-alist): For the same reason, don't modify
16682 file:// URLs on Cygwin.
16683
16684 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
16685
16686 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
16687 the region on shift if the binding is already shifted (bug#11221).
16688
16689 2012-04-12 Glenn Morris <rgm@gnu.org>
16690
16691 * mail/mailpost.el: Move to obsolete/.
16692
16693 2012-04-12 Drew Adams <drew.adams@oracle.com>
16694
16695 * imenu.el (imenu--generic-function): Ignore invisible definitions
16696 (bug#10123).
16697
16698 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
16699
16700 * hexl.el (hexl-bits): New variable.
16701 (hexl-options): Mention the variable in the doc string.
16702 (hexl-rulerise, hexl-line-displen): New functions.
16703 (hexl-mode): Mention the new variable.
16704 (hexl-mode, hexl-current-address, hexl-current-address):
16705 Use the displen.
16706 (hexl-ascii-start-column): New function.
16707 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
16708 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
16709
16710 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
16711
16712 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
16713 '("-i" ENCODING), in 2 separate command-line arguments, to specify
16714 the encoding, as expected by hunspell.
16715
16716 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
16717
16718 * battery.el (battery--linux-sysfs-regexp): New const.
16719 (battery-status-function): Use it. Remove yeeloong special case.
16720 (battery-yeeloong-sysfs): Remove.
16721 (battery-echo-area-format): Remove yeeloong special case.
16722
16723 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
16724
16725 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
16726 Reported by Noah Friedman.
16727
16728 * subr.el (read-passwd): Use read-string.
16729
16730 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
16731
16732 * vcursor.el (vcursor-move): Increase the priority of the overlay
16733 (bug#9663).
16734
16735 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
16736
16737 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
16738 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
16739
16740 2012-04-11 William Stevenson <yhvh2000@gmail.com>
16741
16742 * textmodes/artist.el (artist-mode): Convert artist-mode to use
16743 define-minor-mode (bug#10760).
16744
16745 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
16746
16747 * progmodes/grep.el (rgrep): Tweak the find command line so
16748 that directories matching `grep-find-ignored-files' won't be
16749 pruned (bug#10351).
16750
16751 2012-04-11 Chong Yidong <cyd@gnu.org>
16752
16753 * startup.el (command-line): Remove support for long-obsolete
16754 variable font-lock-face-attributes.
16755
16756 2012-04-11 Glenn Morris <rgm@gnu.org>
16757
16758 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
16759
16760 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
16761
16762 * window.el (window--state-get-1): Obey window-point-insertion-type.
16763
16764 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
16765
16766 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
16767 to previous function when point is on the first character of a
16768 function. Take care of that in `narrow-to-defun' (bug#6157).
16769
16770 2012-04-11 Glenn Morris <rgm@gnu.org>
16771
16772 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
16773 not just file-errors.
16774
16775 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
16776 (vc-bzr-sha1): Use internal sha1.
16777
16778 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
16779
16780 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
16781
16782 2012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
16783
16784 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
16785 that start in the middle of the line (bug#10496).
16786
16787 2012-04-10 Dan Nicolaescu <dann@gnu.org>
16788
16789 * battery.el (battery-linux-proc-acpi): Only one battery is
16790 discharged at a time, but that seems to confuse battery.el when
16791 computing `rate-type' for the battery not being discharged
16792 (bug#10332).
16793
16794 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
16795
16796 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
16797
16798 * international/quail.el: Use dolist and simplify.
16799 (quail-define-package, quail-update-keyboard-layout)
16800 (quail-define-rules): Use dolist.
16801 (quail-insert-kbd-layout, quail-get-translation): CSE.
16802
16803 * tmm.el: Use dolist, remove left over hook.
16804 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
16805 Use dolist.
16806 (calendar-load-hook): Don't mess with it.
16807
16808 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
16809 Use derived-mode-p. Run the diff asynchronously.
16810
16811 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
16812
16813 * obsolete/mouse-sel.el: Add an Obsolete-since header.
16814
16815 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
16816
16817 * misc.el: Display absolute path of loaded DLLs (bug#10424).
16818 (list-dynamic-libraries--loaded): New function.
16819 (list-dynamic-libraries--refresh): Use it.
16820
16821 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
16822
16823 * progmodes/python.el (python-fill-paragraph):
16824 Make python-fill-region in a multiline string work when font-lock is
16825 disabled (bug#7018).
16826
16827 2012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
16828
16829 * language/european.el (cp775): Add oem/legacy (en)coding on
16830 DOS/MS Windows for the Baltic languages. There are still plenty
16831 of texts written in this encoding/codepage (bug#6519).
16832
16833 2012-04-10 Glenn Morris <rgm@gnu.org>
16834
16835 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
16836 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
16837
16838 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
16839
16840 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
16841 next-line "n" and previous-line "p" in order to make recentf more
16842 consistent with ibuffer, dired or org-mode (bug#9387).
16843
16844 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
16845
16846 * image.el (put-image): Return the overlay created instead of the
16847 optional input string (bug#7834). Note that this may break code
16848 that is (for some reason or other) depending on `put-image'
16849 returning the string.
16850
16851 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
16852
16853 * simple.el (zap-to-char): Allow zapping using input methods
16854 (bug#1580).
16855
16856 * textmodes/fill.el (fill-region): Leave point and mark where they
16857 were before filling (bug#5399).
16858
16859 2012-04-09 Glenn Morris <rgm@gnu.org>
16860
16861 * version.el (emacs-bzr-get-version):
16862 Handle lightweight checkouts of local branches.
16863
16864 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
16865
16866 * international/characters.el: Recover lost case pairs. (Bug#11209)
16867
16868 2012-04-09 Chong Yidong <cyd@gnu.org>
16869
16870 * custom.el (custom-variable-p): Return nil for non-symbol
16871 arguments instead of signaling an error.
16872 (user-variable-p): Obsolete alias for custom-variable-p.
16873
16874 * apropos.el (apropos-variable):
16875 * files-x.el (read-file-local-variable):
16876 * simple.el (set-variable):
16877 * woman.el (woman-mini-help):
16878 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
16879
16880 2012-04-09 Glenn Morris <rgm@gnu.org>
16881
16882 * startup.el (normal-top-level): Don't look for leim-list.el
16883 in places where it will not be found. (Bug#910)
16884
16885 * international/mule-cmds.el (set-default-coding-systems):
16886 * files.el (normal-mode):
16887 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
16888 This function was removed with ucs-tables.el in 2008.
16889
16890 2012-04-08 Eli Zaretskii <eliz@gnu.org>
16891
16892 * textmodes/ispell.el (ispell-check-version): For hunspell, set
16893 ispell-encoding8-command to "-i", without a trailing space.
16894 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
16895 separate command-line arguments, to specify the encoding, since
16896 that's how hunspell expects it.
16897
16898 2012-04-08 Glenn Morris <rgm@gnu.org>
16899
16900 * loadup.el: Load bindings before cus-start.
16901 This reduces somewhat the number of "rogue" settings in emacs -Q.
16902
16903 2012-04-07 Glenn Morris <rgm@gnu.org>
16904
16905 * version.el (emacs-bzr-get-version): New function.
16906 (emacs-bzr-version): New variable.
16907 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
16908 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
16909
16910 2012-04-07 Eli Zaretskii <eliz@gnu.org>
16911
16912 * international/uni-bidi.el, international/uni-category.el:
16913 * international/uni-combining.el, international/uni-decimal.el:
16914 * international/uni-decomposition.el, international/uni-digit.el:
16915 * international/uni-lowercase.el, international/uni-mirrored.el:
16916 * international/uni-name.el, international/uni-numeric.el:
16917 * international/uni-titlecase.el, international/uni-uppercase.el:
16918 Update for Unicode 6.1.
16919
16920 2012-04-07 Eli Zaretskii <eliz@gnu.org>
16921
16922 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
16923
16924 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
16925
16926 * window.el (shrink-window): Mention the `window-min-height'
16927 variable in the doc string.
16928
16929 2012-04-05 Bastien Guerry <bzg@altern.org>
16930
16931 * color.el (color-lighten-name): Fix typo.
16932
16933 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
16934
16935 * server.el (server--on-display-p): New function.
16936 (server--on-display-p): Use it.
16937
16938 2012-04-04 Gábor Vida <vidagabor@gmail.com> (tiny change)
16939
16940 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
16941 (bug#11145).
16942
16943 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
16944
16945 * comint.el (comint--common-quoted-suffix): Check string boundary
16946 before comparing (bug#11158).
16947 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
16948
16949 2012-04-04 Chong Yidong <cyd@gnu.org>
16950
16951 * minibuffer.el (completion-extra-properties): Doc fix.
16952
16953 * subr.el (delayed-warnings-hook): Doc fix.
16954
16955 2012-04-04 Daiki Ueno <ueno@unixuser.org>
16956
16957 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
16958 selection (Bug#11159).
16959 (epa-insert-keys): Inform that the default public key will be
16960 exported if no key is selected.
16961
16962 2012-04-04 Richard Stallman <rms@gnu.org>
16963
16964 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
16965
16966 2012-04-03 Chong Yidong <cyd@gnu.org>
16967
16968 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
16969 mail-insert-file, not its obsolete alias mail-attach-file.
16970
16971 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
16972
16973 * notifications.el (notifications-notify): Fix docstring.
16974
16975 2012-04-02 Glenn Morris <rgm@gnu.org>
16976
16977 * emacs-lisp/authors.el (authors-aliases): Another addition.
16978
16979 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
16980
16981 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
16982 `tramp-compat-call-process' instead of `tramp-local-call-process'.
16983 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
16984
16985 2012-04-01 Chong Yidong <cyd@gnu.org>
16986
16987 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
16988 Handle root directory properly.
16989 (copy-directory): Caller changed.
16990
16991 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
16992 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
16993
16994 2012-03-31 Glenn Morris <rgm@gnu.org>
16995
16996 * term/xterm.el (xterm-extra-capabilities): Doc fix.
16997
16998 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
16999
17000 * calendar/calendar.el (calendar-window-list)
17001 (calendar-hide-window): Restore. (Bug#11140)
17002 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
17003
17004 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
17005
17006 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
17007
17008 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
17009 Check if file is a symlink (Bug#10489).
17010
17011 * files.el (copy-directory): Likewise.
17012
17013 2012-03-30 Chong Yidong <cyd@gnu.org>
17014
17015 * image.el (imagemagick-types-inhibit)
17016 (imagemagick-register-types): Doc fix.
17017
17018 2012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
17019
17020 * textmodes/ispell.el (ispell-get-extended-character-mode):
17021 Disable extended-char-mode for hunspell. hunspell does not support it
17022 and treats ~word as ordinary words in pipe mode.
17023
17024 2012-03-30 Glenn Morris <rgm@gnu.org>
17025
17026 * tutorial.el (help-with-tutorial): Ensure local variables don't
17027 happen to make the buffer read-only. (Bug#11127)
17028
17029 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
17030
17031 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
17032 (perl-calculate-indent): Return `noindent' in strings.
17033
17034 2012-03-28 Sam Steingold <sds@gnu.org>
17035
17036 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
17037 instead of the broken adhockery which does not prevent calendar
17038 buffers from being displayed at random after exit.
17039 (calendar-window-list, calendar-hide-window): Remove the broken
17040 adhockery.
17041
17042 2012-03-28 Glenn Morris <rgm@gnu.org>
17043
17044 * replace.el (query-replace-map): Doc fix.
17045
17046 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
17047
17048 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
17049 contents. (Bug#11109)
17050
17051 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
17052
17053 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
17054 (bug#11077).
17055 (avl-tree--check, avl-tree--check-node): New funs.
17056
17057 2012-03-27 Martin Rudalics <rudalics@gmx.at>
17058
17059 * window.el (switch-to-visible-buffer): New option.
17060 (switch-to-prev-buffer, switch-to-next-buffer):
17061 Observe switch-to-visible-buffer. Make sure that checking for a window
17062 showing a buffer already is done on the same frame.
17063
17064 2012-03-27 Glenn Morris <rgm@gnu.org>
17065
17066 * startup.el (mail-host-address): Doc fix.
17067
17068 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
17069
17070 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
17071 than 197 variables.
17072
17073 2012-03-26 Ami Fischman <ami@fischman.org>
17074
17075 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
17076
17077 2012-03-26 Glenn Morris <rgm@gnu.org>
17078
17079 * files.el (save-buffers-kill-emacs): Doc fix.
17080
17081 * startup.el (normal-top-level, command-line, command-line-1):
17082 Give them doc strings.
17083
17084 2012-03-25 Eli Zaretskii <eliz@gnu.org>
17085
17086 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
17087 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
17088
17089 2012-03-25 Chong Yidong <cyd@gnu.org>
17090
17091 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
17092 theme if it was previously enabled before (Bug#11031).
17093
17094 * cus-theme.el (custom-theme-write-faces): Retrieve current face
17095 spec with custom-face-get-current-spec if its :shown-value is not
17096 determined yet (Bug#9337).
17097 (customize-create-theme, custom-theme-revert): Doc fixes.
17098
17099 * button.el (button-at): Minor addition to docstring.
17100
17101 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
17102
17103 * vc/vc.el (vc-merge): Fix a prompt.
17104
17105 2012-03-24 Chong Yidong <cyd@gnu.org>
17106
17107 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
17108 point (Bug#9623).
17109
17110 * button.el (button-at): Minor addition to docstring.
17111
17112 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
17113
17114 * newcomment.el (comment-choose-indent): No space after BOL.
17115
17116 2012-03-22 Sam Steingold <sds@gnu.org>
17117
17118 * window.el (switch-to-prev-buffer): Revert last patch because the
17119 bug turned out to be an advertised feature (Elisp manual 28.14).
17120
17121 2012-03-22 Glenn Morris <rgm@gnu.org>
17122
17123 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
17124 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
17125
17126 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
17127
17128 * net/network-stream.el (network-stream-open-starttls): Make error
17129 message under Windows be less misleading.
17130
17131 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
17132
17133 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
17134 understands (bug#9942).
17135
17136 2012-03-22 Chong Yidong <cyd@gnu.org>
17137
17138 * simple.el (end-of-visible-line): Handle return value of
17139 next-single-property-change properly (Bug#9371).
17140
17141 2012-03-22 Kenichi Handa <handa@m17n.org>
17142
17143 * international/quail.el (quail-insert-kbd-layout): Fix previous
17144 change. To avoid unwanted bidi reordering, use
17145 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
17146
17147 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
17148
17149 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
17150 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
17151 (ruby-beginning-of-indent): Be more careful with the difference
17152 between word-boundary and symbol boundary.
17153 (ruby-mode-syntax-table): Make : a symbol constituent.
17154
17155 2012-03-21 Andreas Politz <politza@fh-trier.de>
17156
17157 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
17158
17159 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
17160
17161 * progmodes/etags.el (tags-completion-at-point-function):
17162 Improve last fix.
17163
17164 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
17165
17166 2012-03-21 Sam Steingold <sds@gnu.org>
17167
17168 * progmodes/etags.el (tags-completion-at-point-function):
17169 Avoid the error when point is inside the pattern.
17170
17171 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
17172
17173 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
17174 line (Bug#10855).
17175
17176 2012-03-21 Drew Adams <drew.adams@oracle.com>
17177
17178 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
17179
17180 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
17181
17182 * ido.el (ido-set-current-directory, ido-read-internal)
17183 (ido-choose-completion-string, ido-completion-help): Handle nil
17184 value of ido-completion-buffer (Bug#11008).
17185
17186 2012-03-21 Sam Steingold <sds@gnu.org>
17187
17188 * window.el (switch-to-prev-buffer): Do not switch to a visible
17189 window previous buffer, just like with the frame previous buffers.
17190
17191 2012-03-21 Chong Yidong <cyd@gnu.org>
17192
17193 * faces.el (make-face, make-empty-face, copy-face):
17194 * face-remap.el (face-remap-add-relative, face-remap-set-base):
17195 Doc fixes.
17196
17197 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
17198
17199 * wid-edit.el (widget-complete-field): Remove (bug#11051).
17200 (widget-complete): Remove broken use of it.
17201
17202 2012-03-20 Chong Yidong <cyd@gnu.org>
17203
17204 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
17205 Use string-width and truncate-string-width to handle arbitrary
17206 characters.
17207
17208 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
17209
17210 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
17211 to draw rectangles, not squares. (Regression introduced by revno
17212 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
17213
17214 2012-03-18 Chong Yidong <cyd@gnu.org>
17215
17216 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
17217 it is not yet defined (for temacs).
17218
17219 2012-03-18 Leo Liu <sdl.web@gmail.com>
17220
17221 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
17222 prefix.
17223
17224 2012-03-17 Eli Zaretskii <eliz@gnu.org>
17225
17226 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
17227 (ispell-choices-win-default-height, ispell-silently-savep)
17228 (ispell-dictionary-alist, ispell-encoding8-command)
17229 (ispell-check-version, ispell-aspell-find-dictionary)
17230 (ispell-valid-dictionary-list, ispell-words-keyword)
17231 (ispell-get-word, ispell-internal-change-dictionary)
17232 (ispell-region, ispell-skip-region-list)
17233 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
17234 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
17235 (ispell-message-text-end, ispell-message)
17236 (ispell-buffer-local-parsing): Doc fix.
17237
17238 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
17239
17240 * htmlfontify.el: Add support for code block fontification for ODT
17241 export (Bug #9914).
17242 (hfy-optimisations): Define new option
17243 `body-text-only'
17244 (hfy-fontify-buffer): Honor above setting.
17245 (hfy-begin-span, hfy-end-span): New routines factored out form
17246 `hfy-fontify-buffer'.
17247 (hfy-begin-span-handler, hfy-end-span-handler): New variables
17248 that permit insertion of custom tags.
17249 (hfy-fontify-buffer): Use above handlers.
17250 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
17251 (hfy-face-to-css): Re-defined to be a variable.
17252 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
17253 over multiple runs. This is made possible by having the caller let
17254 bind a special variable `hfy-user-sheet-assoc'.
17255 (htmlfontify-string): New defun.
17256 (hfy-compile-face-map): Make sure that the last char in the
17257 buffer is correctly fontified.
17258 (hfy-face-resolve-face): Whitespace only change.
17259
17260 2012-03-17 Eli Zaretskii <eliz@gnu.org>
17261
17262 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
17263 message more clear.
17264
17265 2012-03-16 Leo Liu <sdl.web@gmail.com>
17266
17267 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
17268
17269 2012-03-16 Alan Mackenzie <acm@muc.de>
17270
17271 Further optimize the handling of large macros.
17272
17273 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
17274 limit to a call of `c-literal-limits'.
17275 (c-determine-+ve-limit): New function.
17276 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
17277 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
17278 In CASE 5B, restrict a search limit to 500.
17279 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
17280
17281 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
17282 Restrict macro bounds to +-500 from after-change's BEG END.
17283
17284 2012-03-16 Leo Liu <sdl.web@gmail.com>
17285
17286 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
17287
17288 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
17289
17290 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
17291 `special-mode' setting of `buffer-read-only'. (Bug#11010)
17292
17293 2012-03-16 Glenn Morris <rgm@gnu.org>
17294
17295 * view.el (view-buffer, view-buffer-other-window)
17296 (view-buffer-other-frame): Doc fixes re special mode-class.
17297
17298 * subr.el (eval-after-load): If named feature is provided not from
17299 a file, run after-load forms. (Bug#10946)
17300
17301 * calendar/calendar.el (calendar-insert-at-column):
17302 Handle non-unit-width characters a bit better. (Bug#10978)
17303
17304 2012-03-15 Chong Yidong <cyd@gnu.org>
17305
17306 * emacs-lisp/ring.el (ring-extend): New function.
17307 (ring-insert+extend): Extend the ring correctly (Bug#11019).
17308
17309 * comint.el (comint-read-input-ring)
17310 (comint-add-to-input-history): Grow comint-input-ring lazily.
17311
17312 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
17313
17314 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
17315 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
17316
17317 * imenu.el: Fix multiple inheritance breakage (bug#9199).
17318 (imenu-add-to-menubar): Don't add a redundant index.
17319 (imenu-update-menubar): Handle a dynamically composed keymap.
17320
17321 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
17322
17323 * mail/sendmail.el (mail-encode-header):
17324 Bind rfc2047-encode-encoded-words to nil.
17325
17326 2012-03-13 Glenn Morris <rgm@gnu.org>
17327
17328 * calendar/calendar.el (calendar-string-spread):
17329 Handle non-unit-width characters a bit better. (Bug#10978)
17330
17331 2012-03-13 Leo Liu <sdl.web@gmail.com>
17332
17333 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
17334 directory and file as argument (Bug#10822).
17335
17336 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
17337
17338 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
17339 For dynamically generated code, follow $PC.
17340 (gdb-disassembly-handler-custom): Handle no function name case.
17341
17342 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
17343
17344 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
17345 * emulation/ws-mode.el (ws-query-replace):
17346 * sort.el (sort-regexp-fields):
17347 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
17348
17349 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
17350
17351 * dabbrev.el: Fix cycle completion order (bug#10963).
17352 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
17353 (dabbrev-completion): Don't use an obarray; provide
17354 a cycle-sort-function.
17355
17356 2012-03-12 Leo Liu <sdl.web@gmail.com>
17357
17358 * simple.el (kill-new): Use equal-including-properties for comparison.
17359 (kill-do-not-save-duplicates): Doc fix.
17360
17361 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
17362
17363 * dabbrev.el: Fix cycle completion (bug#10963).
17364 Use lexical binding and wrap to 80 columns.
17365 (dabbrev-completion): Delay computing the list of completions.
17366
17367 2012-03-12 Kenichi Handa <handa@m17n.org>
17368
17369 * international/quail.el (quail-insert-kbd-layout): Surround each
17370 row by LRO and PDF instead of inserting many LRMs. Pad the left
17371 and right of each non-spacing marks. Insert invisible space
17372 between lower and upper characters to prevent composition.
17373
17374 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
17375
17376 * minibuffer.el (minibuffer-complete): Don't get confused when the
17377 function is run twice via different commands (bug#10958).
17378 (complete-with-action): Fix docstring.
17379
17380 2012-03-12 Chong Yidong <cyd@gnu.org>
17381
17382 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
17383 (nxml-completion-at-point-function): New function.
17384 (nxml-mode): Use it.
17385 (nxml-bind-meta-tab-to-complete-flag): Default to t.
17386
17387 * emacs-lisp/package.el (package-unpack, package-unpack-single):
17388 Load generated autoloads file before byte compiling (Bug#10970).
17389 (package--make-autoloads-and-compile): New helper fun.
17390
17391 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
17392
17393 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
17394
17395 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
17396
17397 * autorevert.el (auto-revert-handler): Ensure, that
17398 file-readable-p is applied only for local files or in
17399 auto-revert-tail-mode.
17400
17401 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
17402
17403 * server.el (server-eval-at): Handle non-tcp connections.
17404 Decode result string.
17405
17406 * server.el (server-msg-size): New constant.
17407 (server-reply-print): New function.
17408 (server-eval-and-print): Use it.
17409 (server-eval-at): Use server-quote-arg and server-unquote-arg.
17410 Handle -print-nonl.
17411
17412 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
17413
17414 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
17415 (Bug#10987).
17416
17417 2012-03-11 Chong Yidong <cyd@gnu.org>
17418
17419 * simple.el (goto-line): Doc fix (Bug#9938).
17420
17421 * subr.el (save-window-excursion): Doc fix (Bug#9979).
17422
17423 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
17424 when finished (Bug#10963).
17425
17426 2012-03-11 Martin Rudalics <rudalics@gmx.at>
17427
17428 * window.el (split-window-below): Fix bug in case where
17429 split-window-keep-point is nil (Bug#10971).
17430
17431 2012-03-11 Juri Linkov <juri@jurta.org>
17432
17433 * replace.el (replace-highlight): Set isearch-word to nil
17434 unconditionally. (Bug#10887)
17435
17436 2012-03-10 Eli Zaretskii <eliz@gnu.org>
17437
17438 * net/mairix.el (mairix-replace-invalid-chars): Rename from
17439 mairix-replace-illegal-chars; all callers changed. Don't remove
17440 ^, ~, and = characters: they are meaningful in mairix search specs.
17441 (mairix-widget-create-query): Add usage information about mairix
17442 search forms: negating words, searching for substrings, etc.
17443
17444 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
17445
17446 * international/fontset.el (font-encoding-alist): Add an entry for
17447 ksx1001 (Bug#5667).
17448
17449 2012-03-10 Richard Stallman <rms@gnu.org>
17450
17451 * mail/sendmail.el (mail-encode-header):
17452 Set rfc2047-encode-encoded-words.
17453
17454 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
17455
17456 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
17457 view buffer means not swapped.
17458 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
17459 (rmail-write-region-annotate): Error if real text has disappeared.
17460
17461 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
17462
17463 2012-03-10 Chong Yidong <cyd@gnu.org>
17464
17465 * emulation/cua-rect.el (cua--init-rectangles):
17466 * emulation/cua-base.el (cua--init-keymaps):
17467 Add delete-forward-char to remappings (Bug#9666).
17468
17469 2012-03-10 Martin Rudalics <rudalics@gmx.at>
17470
17471 * speedbar.el (speedbar-unhighlight-one-tag-line):
17472 Avoid unhighlighting due to frame switching (Bug#10275).
17473
17474 2012-03-10 Chong Yidong <cyd@gnu.org>
17475
17476 * minibuffer.el (completion-in-region, completion-help-at-point):
17477 Give the completion field overlay a high priority (Bug#6830).
17478
17479 * dired.el (dired-goto-file): Recognize absolute file name
17480 listings (Bug#7126).
17481 (dired-goto-file-1): New helper function.
17482 (dired-toggle-read-only): Inhibit warnings.
17483
17484 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
17485
17486 * net/dbus.el (dbus-property-handler): Return empty array if
17487 there are no properties.
17488
17489 2012-03-09 Leo Liu <sdl.web@gmail.com>
17490
17491 * savehist.el (savehist-printable): Stricter check for string
17492 value (Bug#10937).
17493
17494 2012-03-09 Eli Zaretskii <eliz@gnu.org>
17495
17496 * mail/smtpmail.el (smtpmail-send-it):
17497 Bind coding-system-for-write to *-unix, so that FCC files are kept in
17498 valid mbox format.
17499
17500 2012-03-09 Glenn Morris <rgm@gnu.org>
17501
17502 * files.el (dir-locals-find-file):
17503 Don't check result is regular, readable.
17504 (dir-locals-read-from-file): Demote errors.
17505
17506 2012-03-08 Eli Zaretskii <eliz@gnu.org>
17507
17508 * international/quail.el (quail-insert-kbd-layout):
17509 Insert invisible LRM characters before each character in a keyboard
17510 layout cell, to prevent their reordering by bidi display engine.
17511 For details, see the discussion in
17512 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
17513
17514 2012-03-08 Alan Mackenzie <acm@muc.de>
17515
17516 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
17517 the starting position; make it extend the marked region when
17518 invoked repeatedly - all under appropriate circumstances.
17519 Fixes bugs #5525, #10906.
17520
17521 2012-03-08 Glenn Morris <rgm@gnu.org>
17522
17523 * files.el (locate-dominating-file, dir-locals-find-file):
17524 Undo 2012-03-06 change.
17525
17526 2012-03-07 Eli Zaretskii <eliz@gnu.org>
17527
17528 * international/quail.el (quail-help):
17529 Force bidi-paragraph-direction be left-to-right. See discussion in
17530 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
17531 for the reason.
17532
17533 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
17534
17535 Avoid superfluous registering of signals. (Bug#10807)
17536
17537 * notifications.el (notifications-on-action-object)
17538 (notifications-on-close-object): New defvars.
17539 (notifications-on-action-signal, notifications-on-closed-signal):
17540 Unregister the signal if not needed any longer.
17541 (notifications-notify): Register `notifications-action-signal' or
17542 `notifications-closed-signal', if :on-action or :on-close has been
17543 passed as argument.
17544
17545 2012-03-07 Chong Yidong <cyd@gnu.org>
17546
17547 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
17548 non-X platforms.
17549
17550 2012-03-06 Glenn Morris <rgm@gnu.org>
17551
17552 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
17553 (x-disown-selection-internal, x-get-selection-internal):
17554 Doc fix (add arglist signatures). (Bug#10783)
17555
17556 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
17557
17558 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
17559 Handle breakpoints with no "type".
17560
17561 2012-03-06 Glenn Morris <rgm@gnu.org>
17562
17563 * files.el (locate-dominating-file): Add optional predicate argument.
17564 (dir-locals-find-file): Make use of above change.
17565
17566 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
17567
17568 * info.el (Info-insert-dir): Also try "dir.gz".
17569
17570 2012-03-06 Glenn Morris <rgm@gnu.org>
17571
17572 * files.el (dir-locals-find-file):
17573 Ignore non-readable or non-regular files. (Bug#10928)
17574
17575 * files.el (locate-dominating-file): Doc fix.
17576
17577 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
17578
17579 * calendar/calendar.el (calendar-set-mode-line):
17580 `getenv' returns a string. (Bug#10951)
17581
17582 2012-03-05 Leo Liu <sdl.web@gmail.com>
17583
17584 * simple.el (backward-delete-char-untabify): Constrain point to
17585 field (Bug#10939).
17586
17587 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
17588
17589 2012-03-05 Chong Yidong <cyd@gnu.org>
17590
17591 * simple.el (count-words): If called from Lisp, return the word
17592 count, for symmetry with `count-lines'. Arglist changed.
17593 (count-words--message): Args changed. Consolidate counting code
17594 from count-words and count-words-region.
17595 (count-words-region): Caller changed.
17596 (count-lines-region): Make it an obsolete alias.
17597
17598 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
17599
17600 * saveplace.el (save-place-to-alist)
17601 (save-place-ignore-files-regexp): Allow value nil to disable this
17602 feature.
17603
17604 2012-03-04 Chong Yidong <cyd@gnu.org>
17605
17606 * faces.el (face-spec-reset-face): For the default face, reset the
17607 attributes to default values (Bug#10748).
17608
17609 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
17610
17611 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
17612 previous patch: Check `message-send-mail-function', and not the
17613 default function (bug#10897).
17614
17615 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
17616
17617 * notifications.el (notifications-on-action-signal)
17618 (notifications-on-closed-signal): Check for unique service name of
17619 incoming event. Fix error in removing entry.
17620 (top): Register for signals with wildcard service name.
17621 (notifications-notify): Use daemon unique service name for map entries.
17622
17623 2012-03-04 Chong Yidong <cyd@gnu.org>
17624
17625 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
17626
17627 2012-03-04 Glenn Morris <rgm@gnu.org>
17628
17629 * abbrev.el (copy-abbrev-table, abbrev-table-p)
17630 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
17631 (expand-abbrev, define-abbrev-table): Doc fixes.
17632
17633 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
17634
17635 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
17636 `message-default-send-mail-function' and not `send-mail-function'
17637 when doing the prompting for `sendmail-query-once' before sending
17638 in Message buffers (bug#10897).
17639
17640 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
17641 This is inconsistent with all the other stream functions, which leave
17642 the setting up to the higher levels (if so wanted) (bug#10931).
17643
17644 2012-03-02 Alan Mackenzie <acm@muc.de>
17645
17646 Depessimize the handling of very large macros.
17647
17648 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
17649 (c-macro-cache-syntactic): New variables to implement a one
17650 element macro cache.
17651 (c-invalidate-macro-cache): New function.
17652 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
17653 Adapt to use the new cache.
17654 (c-state-safe-place): Use better the cache of safe positions.
17655 (c-state-semi-nonlit-pos-cache)
17656 (c-state-semi-nonlit-pos-cache-limit):
17657 New variables for...
17658 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
17659 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
17660 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
17661 Use c-state-semi-safe-place.
17662
17663 * progmodes/cc-langs.el (c-get-state-before-change-functions):
17664 Add c-invalidate-macro-cache to the C, C++, Obj entries.
17665
17666 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
17667
17668 * jka-compr.el (jka-compr-call-process):
17669 Apply `file-accessible-directory-p' only when the default directory is
17670 not remote.
17671
17672 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
17673
17674 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
17675 access of FILE2, if FILE1 does not exist.
17676
17677 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
17678 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
17679
17680 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
17681 Add "PAGER=" to `process-environment'.
17682
17683 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
17684
17685 * progmodes/sql.el: Bug fix
17686 (sql-get-login-ext): Save login values in globals.
17687 (sql-get-login): Use new version of `sql-get-login-ext'.
17688 (sql-interactive-mode): Set global `sql-connection' to nil.
17689 (sql-connect): Set global values for connection.
17690 (sql-product-interactive): Save global values as buffer local.
17691
17692 2012-02-29 Leo Liu <sdl.web@gmail.com>
17693
17694 * abbrev.el (define-abbrevs): Reset sys to nil.
17695
17696 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
17697
17698 * files.el (file-equal-p): Rename from `files-equal-p'.
17699 Return nil when one or both files don't exist.
17700 (file-subdir-of-p): Now only top directory must exists,
17701 return nil if it doesn't.
17702 (copy-directory): No need to test with `file-subdir-of-p' after
17703 creating dir.
17704 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
17705 to `file-equal-p'.
17706
17707 2012-02-28 Glenn Morris <rgm@gnu.org>
17708
17709 * shell.el (shell-mode):
17710 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
17711 * play/landmark.el (landmark-font-lock-face-O):
17712 * play/handwrite.el (handwrite):
17713 * play/gomoku.el (gomoku-O):
17714 * net/browse-url.el (browse-url-browser-display):
17715 * international/mule.el (define-charset):
17716 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
17717 * filesets.el (filesets-find-file-delay):
17718 * eshell/em-xtra.el (eshell-xtra):
17719 * eshell/em-unix.el (eshell-grep):
17720 * emulation/viper.el (viper-mode):
17721 * emacs-lisp/regexp-opt.el (regexp-opt-group):
17722 * emacs-lisp/easymenu.el (easy-menu-define):
17723 * calendar/timeclock.el (timeclock-use-display-time):
17724 * bs.el (bs-mode):
17725 * bookmark.el (bookmark-save-flag):
17726 Doc fix (standardize possessive apostrophe usage).
17727
17728 2012-02-27 Chong Yidong <cyd@gnu.org>
17729
17730 * emulation/viper-cmd.el (viper-intercept-ESC-key):
17731 Fix key-binding lookup for ESC key (Bug#9146).
17732
17733 * font-lock.el (font-lock-specified-p): Rename from
17734 font-lock-spec-present. Callers changed.
17735
17736 2012-02-27 Daniel Hackney <dan@haxney.org>
17737
17738 * emacs-lisp/package.el (package-compute-transaction):
17739 Handle holding a package version to t in package-load-list.
17740
17741 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
17742
17743 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
17744 (tramp-get-inode, tramp-get-device): Use cached values.
17745
17746 2012-02-26 Alan Mackenzie <acm@muc.de>
17747
17748 Check there is a font-lock specification before doing initial
17749 fontification.
17750
17751 * font-core.el (font-lock-mode): Move the conditional from
17752 :after-hook to font-lock-initial-fontify.
17753 (font-lock-default-function): Move the check for a specification
17754 to font-lock-spec-present.
17755
17756 * font-lock.el (font-lock-initial-fontify): Call ...
17757 (font-lock-spec-present): New function.
17758
17759 2012-02-26 Jim Blandy <jimb@red-bean.com>
17760
17761 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
17762 (gdb-send): Apply it to the operand of the '-interpreter-exec
17763 console' command, so that we can pass arguments with (say) quotes
17764 in them. Store exact string sent in gdb-debug-log (Bug#10765).
17765
17766 2012-02-26 Chong Yidong <cyd@gnu.org>
17767
17768 * help-fns.el (describe-function-1): Clarify description of
17769 remapping (Bug#10844).
17770
17771 * files.el (files-equal-p): Doc fix.
17772 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
17773 and quit the loop once a mismatch is found.
17774
17775 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
17776
17777 * bs.el (bs--show-with-configuration): Don't throw an error
17778 if the window cannot be split; otherwise, subsequent calls to
17779 bs-show fail, restoring a stale window config. (Bug#10882)
17780
17781 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
17782
17783 * term/ns-win.el (global-map): Bind ns-drag-file to
17784 ns-find-file (Bug#5855, Bug#10050).
17785
17786 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
17787
17788 * calendar/parse-time.el (parse-time-string): Allow extractor to
17789 return nil.
17790
17791 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
17792
17793 * net/tramp.el (tramp-file-name-for-operation):
17794 Add `files-equal-p' and `file-subdir-of-p'.
17795
17796 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
17797 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
17798 Add COPY-CONTENTS argument.
17799
17800 2012-02-25 Chong Yidong <cyd@gnu.org>
17801
17802 Add custom groups for VC backends, for consistency with vc-bzr.
17803
17804 * vc/vc-arch.el (vc-arch):
17805 * vc/vc-cvs.el (vc-cvs):
17806 * vc/vc-git.el (vc-git):
17807 * vc/vc-hg.el (vc-hg):
17808 * vc/vc-mtn.el (vc-mtn):
17809 * vc/vc-rcs.el (vc-rcs):
17810 * vc/vc-sccs.el (vc-sccs):
17811 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
17812 All relevant defcustoms reassigned.
17813
17814 2012-02-25 Chong Yidong <cyd@gnu.org>
17815
17816 * newcomment.el (comment-styles): Add autoload (Bug#10868).
17817
17818 * term/x-win.el (x-initialize-window-system): Reduce default for
17819 x-selection-timeout to 5 seconds (Bug#8869).
17820
17821 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
17822
17823 * files.el (files-equal-p, file-subdir-of-p): New functions.
17824 (copy-directory): Error when trying to copy a directory on itself.
17825 Add missing copy-contents arg to tramp handler.
17826 * dired-aux.el (dired-copy-file-recursive): Same.
17827 (dired-create-files): Modify destination when source is equal to
17828 dest when copying files.
17829 Return also when dest is a subdir of source. (Bug#10489)
17830
17831 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
17832
17833 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
17834 (Bug#10874)
17835
17836 2012-02-23 Alan Mackenzie <acm@muc.de>
17837
17838 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
17839 parameter "after-hook:" to allow the expansion to run code after
17840 the execution of the mode hooks.
17841
17842 * font-lock.el (font-lock-initial-fontify): New function extracted
17843 from font-lock-mode-internal.
17844
17845 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
17846 :after-hook.
17847
17848 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
17849
17850 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
17851 (completion--cache-all-sorted-completions): New function.
17852 (completion-all-sorted-completions): Use it.
17853 (completion--do-completion, minibuffer-force-complete):
17854 Use it to re-instate the flush hook.
17855
17856 * icomplete.el (icomplete-completions): Replace last fix with a better
17857 one (bug#10850).
17858
17859 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
17860
17861 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
17862 when it might call us back infinitely (bug#10797).
17863
17864 2012-02-23 Glenn Morris <rgm@gnu.org>
17865
17866 * minibuffer.el (completion-category-overrides): Doc fix.
17867
17868 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
17869
17870 * minibuffer.el (completion-table-with-context): Fix inf-loop.
17871 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
17872
17873 2012-02-23 Glenn Morris <rgm@gnu.org>
17874
17875 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
17876 (authors-obsolete-files-regexps, authors-ignored-files)
17877 (authors-ambiguous-files, authors-renamed-files-alist):
17878 Add more entries.
17879
17880 2012-02-23 Juri Linkov <juri@jurta.org>
17881
17882 * isearch.el (isearch-occur): Sync interactive spec with occur's
17883 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
17884
17885 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
17886
17887 2012-02-22 Juri Linkov <juri@jurta.org>
17888
17889 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
17890 (ucs-insert): Doc fix. Check for hex digits in the string.
17891 Don't display `nil' in the error message. (Bug#10857)
17892
17893 2012-02-22 Alan Mackenzie <acm@muc.de>
17894
17895 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
17896
17897 2012-02-22 Glenn Morris <rgm@gnu.org>
17898
17899 * ffap.el (ffap-c-path):
17900 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
17901
17902 2012-02-22 Chong Yidong <cyd@gnu.org>
17903
17904 * custom.el (load-theme): Doc fix.
17905
17906 2012-02-22 Glenn Morris <rgm@gnu.org>
17907
17908 * dired-x.el (dired-guess-shell-alist-default):
17909 Remove escape sequences from nroff output. (Bug#172)
17910
17911 2012-02-21 Glenn Morris <rgm@gnu.org>
17912
17913 * vc/emerge.el (emerge-defvar-local):
17914 Set `permanent-local' property rather than unused `preserved'.
17915
17916 * textmodes/picture.el (picture-delete-char): New alias.
17917 (picture-mode-map): Use it. (Bug#10860)
17918 (picture-mode): Doc fix.
17919
17920 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
17921
17922 * newcomment.el (uncomment-region-default): Remove unused binding.
17923
17924 2012-02-21 Glenn Morris <rgm@gnu.org>
17925
17926 * textmodes/picture.el (picture-motion, picture-motion-reverse)
17927 (picture-self-insert, picture-tab-chars): Doc fix.
17928 (picture-mode-map): Fix C-a, C-e.
17929
17930 2012-02-20 Glenn Morris <rgm@gnu.org>
17931
17932 * emacs-lisp/authors.el (authors-aliases): Add another entry.
17933
17934 2012-02-20 Leo Liu <sdl.web@gmail.com>
17935
17936 * icomplete.el (icomplete-completions): Check FROM arg before
17937 passing to substring (Bug#10850).
17938
17939 2012-02-19 Chong Yidong <cyd@gnu.org>
17940
17941 * comint.el: Require ansi-color.
17942 (comint-output-filter-functions): Add ansi-color-process-output.
17943
17944 * ansi-color.el: Don't set comint-output-filter-functions; it is
17945 now in the initial value defined in comint.el.
17946 (ansi-color-apply-face-function): New variable.
17947 (ansi-color-apply-on-region): Use it.
17948 (ansi-color-apply-overlay-face): New function.
17949
17950 * shell.el (shell): No need to require ansi-color.
17951 (shell-mode): Use ansi-color-apply-face-function to highlight
17952 color escapes using font-lock-face property (Bug#10835).
17953
17954 2012-02-19 Chong Yidong <cyd@gnu.org>
17955
17956 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
17957 mode-line formats (Bug#10839).
17958
17959 2012-02-18 Glenn Morris <rgm@gnu.org>
17960
17961 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
17962
17963 * mail/undigest.el (unforward-rmail-message): Doc fix.
17964
17965 * saveplace.el (save-place-ignore-files-regexp): Add :version.
17966
17967 2012-02-18 Eli Zaretskii <eliz@gnu.org>
17968
17969 * international/characters.el (script-list): Sync with the latest
17970 Unicode Character Database.
17971
17972 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
17973
17974 * international/titdic-cnv.el: Remove duplicate coding tag.
17975 * language/cham.el: Likewise.
17976 * language/tai-viet.el: Likewise.
17977
17978 2012-02-18 Glenn Morris <rgm@gnu.org>
17979
17980 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
17981 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
17982 (calendar-bahai-all-holidays-flag, calendar-other-dates):
17983 * calendar/diary-lib.el (diary-abbreviated-year-flag):
17984 * calendar/holidays.el (holiday-bahai-holidays)
17985 (calendar-holidays, list-holidays):
17986 Use utf-8 Bahá'í in doc-strings, menus, etc.
17987
17988 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
17989
17990 * saveplace.el (save-place-ignore-files-regexp): New variable
17991 allowing for excluding files from saving their location of point.
17992 The default value matches the temporary commit message editing
17993 files from Git, SVN, Bazaar, and Mercurial.
17994 (save-place-to-alist): Use it.
17995
17996 2012-02-17 Lawrence Mitchell <wence@gmx.li>
17997 Stefan Monnier <monnier@iro.umontreal.ca>
17998
17999 * newcomment.el (uncomment-region-default): Don't leave extra space
18000 when an arg is provided (bug#8150).
18001
18002 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
18003
18004 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
18005
18006 2012-02-17 Glenn Morris <rgm@gnu.org>
18007
18008 * net/socks.el: Require network-stream. (Bug#10599)
18009
18010 2012-02-17 Kenichi Handa <handa@m17n.org>
18011
18012 * international/charprop.el:
18013 * international/uni-name.el:
18014 * international/uni-old-name.el:
18015 * international/uni-comment.el: Regenerate.
18016
18017 2012-02-16 Glenn Morris <rgm@gnu.org>
18018
18019 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
18020 Interactively in calendar buffer, give an error if not on a date.
18021
18022 2012-02-15 Glenn Morris <rgm@gnu.org>
18023
18024 * shell.el (shell-delimiter-argument-list):
18025 Revert 2011-02-17 change. (Bug#8027)
18026
18027 2012-02-15 Chong Yidong <cyd@gnu.org>
18028
18029 * minibuffer.el (completion-at-point-functions): Doc fix.
18030
18031 * custom.el (defcustom): Doc fix; note use of defvar.
18032
18033 2012-02-15 Glenn Morris <rgm@gnu.org>
18034
18035 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
18036 Doc fixes.
18037
18038 2012-02-14 Glenn Morris <rgm@gnu.org>
18039
18040 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
18041
18042 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
18043
18044 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
18045 way the ports list is computed.
18046 (smtpmail-query-smtp-server): Prompt the user for a port number if
18047 we can't connect to any of the standard ports (bug#10810).
18048
18049 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
18050
18051 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
18052
18053 2012-02-13 Glenn Morris <rgm@gnu.org>
18054
18055 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
18056
18057 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
18058
18059 * net/gnutls.el (gnutls-trustfiles): New variable.
18060 (gnutls-negotiate): Use it.
18061
18062 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
18063
18064 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
18065 does its stuff if Gnus is running.
18066
18067 2012-02-13 Alan Mackenzie <acm@muc.de>
18068
18069 Fix a loop in c-set-fl-decl-start.
18070
18071 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
18072 c-backward-syntactic-ws actually moves backwards.
18073
18074 2012-02-13 Leo Liu <sdl.web@gmail.com>
18075
18076 * net/rcirc.el (rcirc-markup-attributes): Move point to the
18077 beginning so that all \C-o chars are removed.
18078
18079 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
18080
18081 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
18082
18083 2012-02-12 Alan Mackenzie <acm@muc.de>
18084
18085 Fix infinite loop with long macros.
18086 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
18087
18088 2012-02-12 Chong Yidong <cyd@gnu.org>
18089
18090 * window.el (display-buffer): Doc fix (Bug#10785).
18091
18092 2012-02-12 Glenn Morris <rgm@gnu.org>
18093
18094 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
18095 (x-disown-selection-internal, x-get-selection-internal):
18096 Sync docs with the xselect.c versions.
18097
18098 * allout-widgets.el: Add missing license notice.
18099
18100 2012-02-11 Glenn Morris <rgm@gnu.org>
18101
18102 * select.el (x-get-selection-internal, x-own-selection-internal)
18103 (x-disown-selection-internal):
18104 * x-dnd.el (x-get-selection-internal): Update declarations.
18105
18106 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
18107
18108 * window.el (window-sides-slots):
18109 * tool-bar.el (tool-bar-position):
18110 * term/xterm.el (xterm-extra-capabilities):
18111 * ses.el (ses-self-reference-early-detection):
18112 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
18113 (verilog-auto-wire-type)
18114 (verilog-auto-delete-trailing-whitespace)
18115 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
18116 (verilog-auto-tieoff-declaration):
18117 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
18118 (sql-oracle-statement-starters, sql-oracle-scan-on):
18119 * progmodes/prolog.el (prolog-align-comments-flag)
18120 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
18121 (prolog-left-indent-regexp, prolog-paren-indent-p)
18122 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
18123 (prolog-types, prolog-mode-specificators)
18124 (prolog-determinism-specificators, prolog-directives)
18125 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
18126 (prolog-electric-dot-flag)
18127 (prolog-electric-dot-full-predicate-template)
18128 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
18129 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
18130 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
18131 (prolog-program-switches, prolog-prompt-regexp)
18132 (prolog-debug-on-string, prolog-debug-off-string)
18133 (prolog-trace-on-string, prolog-trace-off-string)
18134 (prolog-zip-on-string, prolog-zip-off-string)
18135 (prolog-use-standard-consult-compile-method-flag)
18136 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
18137 (prolog-imenu-max-lines, prolog-info-predicate-index)
18138 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
18139 (prolog-char-quote-workaround):
18140 * progmodes/cc-vars.el (c-defun-tactic):
18141 * net/tramp.el (tramp-encoding-command-interactive)
18142 (tramp-local-end-of-line):
18143 * net/soap-client.el (soap-client):
18144 * net/netrc.el (netrc-file):
18145 * net/gnutls.el (gnutls):
18146 * minibuffer.el (completion-category-overrides)
18147 (completion-cycle-threshold)
18148 (completion-pcm-complete-word-inserts-delimiters):
18149 * man.el (Man-name-local-regexp):
18150 * mail/feedmail.el (feedmail-display-full-frame):
18151 * international/characters.el (glyphless-char-display-control):
18152 * eshell/em-ls.el (eshell-ls-date-format):
18153 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
18154 (lisp-lambda-list-keyword-parameter-indentation)
18155 (lisp-lambda-list-keyword-parameter-alignment):
18156 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
18157 * dired-x.el (dired-omit-verbose):
18158 * cus-theme.el (custom-theme-allow-multiple-selections):
18159 * calc/calc.el (calc-highlight-selections-with-faces)
18160 (calc-lu-field-reference, calc-lu-power-reference)
18161 (calc-note-threshold):
18162 * battery.el (battery-mode-line-limit):
18163 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
18164 (archive-7z-update):
18165 * allout.el (allout-prefixed-keybindings)
18166 (allout-unprefixed-keybindings)
18167 (allout-inhibit-auto-fill-on-headline)
18168 (allout-flattened-numbering-abbreviation):
18169 * allout-widgets.el (allout-widgets-auto-activation)
18170 (allout-widgets-icons-dark-subdir)
18171 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
18172 (allout-widgets-theme-dark-background)
18173 (allout-widgets-theme-light-background)
18174 (allout-widgets-item-image-properties-emacs)
18175 (allout-widgets-item-image-properties-xemacs)
18176 (allout-widgets-run-unit-tests-on-load)
18177 (allout-widgets-time-decoration-activity)
18178 (allout-widgets-hook-error-post-time)
18179 (allout-widgets-track-decoration):
18180 Add missing :version tags to new defcustoms and defgroups.
18181
18182 * progmodes/sql.el (sql-ansi-statement-starters)
18183 (sql-oracle-statement-starters): Add custom type.
18184
18185 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
18186 (prolog-system-version): Give it a type.
18187
18188 2012-02-11 Eli Zaretskii <eliz@gnu.org>
18189
18190 * term/pc-win.el (x-select-text, x-selection-owner-p)
18191 (x-own-selection-internal, x-disown-selection-internal)
18192 (x-get-selection-internal): Sync doc strings and argument lists
18193 with xselect.c, common-win.el and x-win.el. (Bug#10783)
18194
18195 2012-02-11 Leo Liu <sdl.web@gmail.com>
18196
18197 * progmodes/python.el (python-end-of-statement): Fix infinite
18198 loop. (Bug#10788)
18199
18200 2012-02-10 Glenn Morris <rgm@gnu.org>
18201
18202 * international/mule-cmds.el (unify-8859-on-encoding-mode)
18203 (unify-8859-on-decoding-mode): Properly mark as obsolete.
18204
18205 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
18206
18207 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
18208 about SMTP before checking the From header.
18209
18210 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
18211 into own function for reuse by emacsbug.el.
18212
18213 2012-02-10 Leo Liu <sdl.web@gmail.com>
18214
18215 * subr.el (condition-case-unless-debug): Rename from
18216 condition-case-no-debug. All callers changed.
18217 (with-demoted-errors): Fix caller.
18218
18219 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
18220 * nxml/rng-valid.el (rng-do-some-validation):
18221 * emacs-lisp/package.el (package-refresh-contents)
18222 (package-menu-execute):
18223 * desktop.el (desktop-create-buffer):
18224 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
18225
18226 2012-02-10 Glenn Morris <rgm@gnu.org>
18227
18228 * textmodes/bibtex.el:
18229 Add missing :version tags for new/changed defcustoms.
18230
18231 * files.el (remote-file-name-inhibit-cache): Doc fixes.
18232
18233 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
18234
18235 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
18236 (smtpmail-via-smtp): Use it, or fall back on the From address.
18237 (smtpmail-send-it): Ditto.
18238
18239 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
18240
18241 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
18242 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
18243 (byte-compile-tmp-var): New const.
18244 (byte-compile-defvar): Use it to minimize .elc size.
18245 Just use `defvar' rather than simulate it (bug#10761).
18246
18247 2012-02-09 Glenn Morris <rgm@gnu.org>
18248
18249 * files.el (rename-uniquely): Doc fix. (Bug#3806)
18250
18251 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
18252 Add :version tags.
18253
18254 * progmodes/compile.el (compilation-error-screen-columns)
18255 (compilation-first-column, compilation-filter-start): Doc fixes.
18256
18257 * vc/log-view.el (log-view-toggle-entry-display):
18258 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
18259
18260 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
18261 (report-emacs-bug-can-use-xdg-email):
18262 (report-emacs-bug-insert-to-mailer): Doc fixes.
18263 (report-emacs-bug): Message fix.
18264
18265 * net/browse-url.el (browse-url-can-use-xdg-open)
18266 (browse-url-xdg-open): Doc fixes.
18267
18268 * electric.el (electric-indent-mode, electric-pair-mode)
18269 (electric-layout-rules, electric-layout-mode): Doc fixes.
18270 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
18271
18272 2012-02-08 Martin Rudalics <rudalics@gmx.at>
18273
18274 * server.el (server-unselect-display): Don't inadvertently kill
18275 the current buffer. (Bug#10729)
18276
18277 2012-02-08 Glenn Morris <rgm@gnu.org>
18278
18279 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
18280 (sql-list-table): Doc fixes.
18281
18282 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
18283 Comment out (does nothing).
18284
18285 * completion.el (dynamic-completion-mode):
18286 * dirtrack.el (dirtrack-debug-mode):
18287 * electric.el (electric-layout-mode):
18288 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
18289 * face-remap.el (text-scale-mode, buffer-face-mode):
18290 * iimage.el (iimage-mode):
18291 * image-mode.el (image-transform-mode):
18292 * minibuffer.el (completion-in-region-mode):
18293 * scroll-lock.el (scroll-lock-mode):
18294 * simple.el (next-error-follow-minor-mode):
18295 * tar-mode.el (tar-subfile-mode):
18296 * tooltip.el (tooltip-mode):
18297 * vcursor.el (vcursor-use-vcursor-map):
18298 * wid-browse.el (widget-minor-mode):
18299 * emulation/tpu-edt.el (tpu-edt-mode):
18300 * emulation/tpu-extras.el (tpu-cursor-free-mode):
18301 * international/iso-ascii.el (iso-ascii-mode):
18302 * language/thai-util.el (thai-word-mode):
18303 * mail/supercite.el (sc-minor-mode):
18304 * net/goto-addr.el (goto-address-mode):
18305 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
18306 * progmodes/cwarn.el (cwarn-mode):
18307 * progmodes/flymake.el (flymake-mode):
18308 * progmodes/glasses.el (glasses-mode):
18309 * progmodes/hideshow.el (hs-minor-mode):
18310 * progmodes/pascal.el (pascal-outline-mode):
18311 * textmodes/enriched.el (enriched-mode):
18312 * vc/smerge-mode.el (smerge-mode):
18313 Doc fixes (minor mode argument).
18314
18315 2012-02-07 Eli Zaretskii <eliz@gnu.org>
18316
18317 * ls-lisp.el (ls-lisp-sanitize): New function.
18318 (ls-lisp-insert-directory): Use it to fix or remove any elements
18319 in file-alist with missing attributes. (Bug#4673)
18320
18321 2012-02-07 Alan Mackenzie <acm@muc.de>
18322
18323 Fix spurious recognition of c-in-knr-argdecl.
18324
18325 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
18326 putative K&R region.
18327
18328 2012-02-07 Alan Mackenzie <acm@muc.de>
18329
18330 * progmodes/cc-engine.el (c-forward-objc-directive):
18331 Prevent looping in "#pragma mark @implementation".
18332
18333 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
18334
18335 * notifications.el (notifications-on-closed-signal): Make `reason'
18336 optional. (Bug#10744)
18337
18338 2012-02-07 Glenn Morris <rgm@gnu.org>
18339
18340 * emacs-lisp/easy-mmode.el (define-minor-mode):
18341 Doc fixes for the macro and the mode it defines.
18342
18343 * image.el (imagemagick-types-inhibit): Doc fix.
18344
18345 * cus-start.el (imagemagick-render-type): Add it.
18346
18347 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
18348
18349 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
18350 Set the default at load time, too, so that `font-lock-fontify-buffer'
18351 can be called without setting up the entire mode first. This fixes
18352 a bug in `mm-inline-text' with C MIME parts.
18353
18354 2012-02-06 Chong Yidong <cyd@gnu.org>
18355
18356 * simple.el (list-processes--refresh): Delete exited processes
18357 (Bug#8094).
18358
18359 * comint.el (comint-next-prompt): next-single-char-property-change
18360 and prev-single-char-property-change never return nil (Bug#8657).
18361
18362 * custom.el (defcustom): Doc fix (Bug#9711).
18363
18364 2012-02-05 Chong Yidong <cyd@gnu.org>
18365
18366 * cus-edit.el (custom-variable-reset-backup): Quote the value
18367 before storing it in the customized-value property (Bug#6712).
18368 (custom-display): Add a customization type tag.
18369 (custom-buffer-create-internal): Improve tooltip message.
18370
18371 * wid-edit.el (widget-field-value-get): New optional arg to
18372 suppress trailing whitespace truncation.
18373 (character): Use it (Bug#2689).
18374
18375 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
18376
18377 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
18378 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
18379
18380 2012-02-05 Chong Yidong <cyd@gnu.org>
18381
18382 * cus-edit.el (custom-variable-value-create): For mismatched
18383 types, show the current value (Bug#7600).
18384
18385 * custom.el (defcustom): Doc fix.
18386
18387 2012-02-05 Glenn Morris <rgm@gnu.org>
18388
18389 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
18390
18391 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
18392
18393 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
18394 (pp-buffer): Use `ignore-errors', `looking-at-p'.
18395 (pp-last-sexp): Use `looking-at-p'.
18396
18397 2012-02-04 Glenn Morris <rgm@gnu.org>
18398
18399 * files.el (revert-buffer):
18400 Doc fix (mention revert-buffer-in-progress-p).
18401
18402 * emacs-lisp/ert-x.el (ert-simulate-command):
18403 Check deferred-action-list (which is obsolete) is bound.
18404
18405 * subr.el (with-wrapper-hook): Doc fixes.
18406
18407 * simple.el (filter-buffer-substring-functions)
18408 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
18409
18410 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
18411
18412 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
18413 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
18414
18415 2012-02-04 Leo Liu <sdl.web@gmail.com>
18416
18417 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
18418
18419 2012-02-04 Glenn Morris <rgm@gnu.org>
18420
18421 * image.el (image-extension-data): Add obsolete alias.
18422
18423 * isearch.el (isearch-update): Doc fix.
18424
18425 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
18426
18427 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
18428
18429 2012-02-03 Glenn Morris <rgm@gnu.org>
18430
18431 * image.el (image-animated-p): Doc fix. Use image-animated-types.
18432 (image-animate-timeout): Doc fix.
18433
18434 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
18435
18436 2012-02-02 Glenn Morris <rgm@gnu.org>
18437
18438 * server.el (server-auth-dir): Doc fix.
18439 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
18440
18441 * subr.el (run-mode-hooks): Doc fix.
18442
18443 2012-02-02 Juri Linkov <juri@jurta.org>
18444
18445 * image-mode.el (image-toggle-display-image): Remove tautological
18446 `major-mode' from the `derived-mode-p' test.
18447
18448 2012-02-02 Kenichi Handa <handa@m17n.org>
18449
18450 * composite.el (compose-region): Cancel previous change.
18451
18452 2012-02-02 Kenichi Handa <handa@m17n.org>
18453
18454 * composite.el (compose-region, compose-string): Signal error for
18455 a null string component (Bug#6988).
18456
18457 2012-02-01 Chong Yidong <cyd@gnu.org>
18458
18459 * view.el (view-buffer-other-window, view-buffer-other-frame):
18460 Handle special modes like view-buffer (Bug#10650).
18461 (view-buffer): Simplify.
18462
18463 * frame.el (set-frame-font): Tweak meaning of third argument.
18464
18465 * dynamic-setting.el (font-setting-change-default-font):
18466 Use set-frame-font (Bug#9982).
18467
18468 2012-02-01 Glenn Morris <rgm@gnu.org>
18469
18470 * progmodes/compile.el (compilation-internal-error-properties):
18471 Respect compilation-first-column in the "*compilation*" buffer.
18472
18473 * emacs-lisp/easy-mmode.el (define-minor-mode):
18474 Relax :variable's test for a named function.
18475
18476 2012-01-31 Alan Mackenzie <acm@muc.de>
18477
18478 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
18479 off by one error.
18480
18481 2012-01-31 Chong Yidong <cyd@gnu.org>
18482
18483 * frame.el (set-frame-font): New arg ALL-FRAMES.
18484
18485 * menu-bar.el (menu-set-font): Use set-frame-font.
18486
18487 * faces.el (face-spec-reset-face): Don't apply unspecified
18488 attribute values to the default face.
18489
18490 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
18491
18492 * progmodes/cwarn.el (cwarn): Remove dead link.
18493 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
18494 Remove * from defcustom docstrings.
18495 (turn-on-cwarn-mode): Make obsolete.
18496 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
18497 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
18498
18499 2012-01-31 Glenn Morris <rgm@gnu.org>
18500
18501 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
18502 Fix :variable handling of mode a symbol not equal to modefun.
18503 Allow named functions to be used as the cdr of :variable.
18504
18505 2012-01-30 Glenn Morris <rgm@gnu.org>
18506
18507 * emacs-lisp/authors.el (authors-fixed-entries):
18508 Remove reference to deleted file rnewspost.el.
18509
18510 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
18511
18512 * window.el (window-with-parameter): Remove unused variable `windows'.
18513 (window--side-check): Remove unused variable `code'.
18514 (window--resize-siblings): Remove unused variable `first'.
18515 (adjust-window-trailing-edge): Remove unused variable `failed'.
18516 (window-deletable-p, window--delete): Remove unused variable `buffer'.
18517 Use `let', not `let*'.
18518 (balance-windows-2): Remove unused variable `found'.
18519 (window--state-put-2): Remove unused variable `splits'.
18520 (window-state-put): Remove unused variable `selected'.
18521 (same-window-p): Use `string-match-p'.
18522 (display-buffer-assq-regexp): Remove unused variable `value'.
18523 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
18524 Mark argument ALIST as ignored.
18525 (pop-to-buffer): Remove unused variable `old-window'.
18526
18527 2012-01-29 Eli Zaretskii <eliz@gnu.org>
18528
18529 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
18530 and .lzma compressed files.
18531
18532 2012-01-29 Chong Yidong <cyd@gnu.org>
18533
18534 * frame.el (window-system-default-frame-alist): Doc fix.
18535
18536 * dynamic-setting.el (font-setting-change-default-font): Don't
18537 change the default face if SET-FONT argument is non-nil (Bug#9982).
18538
18539 2012-01-29 Samuel Bronson <naesten@gmail.com>
18540
18541 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
18542
18543 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
18544
18545 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
18546 breakpoints in files outside current directory (Bug#6098).
18547
18548 2012-01-29 Chong Yidong <cyd@gnu.org>
18549
18550 * progmodes/python.el: Require ansi-color at top-level.
18551
18552 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
18553 Define and use in Emacs Lisp mode (Bug#9360).
18554 (lisp-mode-abbrev-table): Add doc.
18555 (lisp-mode-variables): Don't set local-abbrev-table.
18556 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
18557
18558 2012-01-28 Roland Winkler <winkler@gnu.org>
18559
18560 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
18561
18562 2012-01-28 Roland Winkler <winkler@gnu.org>
18563
18564 * textmodes/bibtex.el (bibtex-entry-alist): New function.
18565 (bibtex-set-dialect): Use it. Either set global values of
18566 dialect-dependent variables or bind these variables buffer-locally
18567 (Bug#10254).
18568 (bibtex-mode): Call bibtex-set-dialect via
18569 hack-local-variables-hook.
18570 (bibtex-dialect): Update docstring.
18571 Add safe-local-variable predicate.
18572 (bibtex-entry-alist, bibtex-field-alist): Initialize via
18573 bibtex-set-dialect.
18574 (bibtex-mode-map): Define menu for each dialect.
18575 (bibtex-entry): Fix docstring.
18576
18577 2012-01-28 Chong Yidong <cyd@gnu.org>
18578
18579 * eshell/esh-arg.el (eshell-quote-argument): New function.
18580
18581 * eshell/esh-ext.el (eshell-invoke-batch-file):
18582 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
18583 first arg to eshell-parse-command (Bug#10523).
18584
18585 2012-01-28 Drew Adams <drew.adams@oracle.com>
18586
18587 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
18588 `default-directory' is non-nil.
18589
18590 2012-01-28 Eli Zaretskii <eliz@gnu.org>
18591
18592 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
18593 line that displays system-configuration-options. (Bug#9924)
18594
18595 2012-01-28 Drew Adams <drew.adams@oracle.com>
18596
18597 * descr-text.el (describe-char): Show information about POS, in
18598 addition to information about the character at POS. Improve and
18599 update the doc string. Change "code point" to "code point in
18600 charset", to avoid confusion with the character's Unicode code
18601 point shown above that. (Bug#10129)
18602
18603 2012-01-28 Eli Zaretskii <eliz@gnu.org>
18604
18605 * descr-text.el (describe-char): Show the raw character, not only
18606 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
18607 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
18608 for the reasons.
18609
18610 2012-01-28 Phil Hagelberg <phil@hagelb.org>
18611
18612 * emacs-lisp/package.el (package-install):
18613 Run package-refresh-contents if there is no archive yet (Bug#9798).
18614
18615 2012-01-28 Chong Yidong <cyd@gnu.org>
18616
18617 * emacs-lisp/package.el (package-maybe-load-descriptor):
18618 New function, split from package-maybe-load-descriptor.
18619 (package-maybe-load-descriptor): Use it.
18620 (package-download-transaction): Fully load required packages
18621 inside the loop, so that `require' calls work (Bug#10593).
18622 (package-install): No need to call package-initialize now.
18623
18624 2012-01-28 Chong Yidong <cyd@gnu.org>
18625
18626 * simple.el (deactivate-mark): Doc fix (Bug#8614).
18627
18628 * tooltip.el (tooltip-mode): Doc fix.
18629 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
18630
18631 * frame.el (set-cursor-color): Doc fix (Bug#352).
18632
18633 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
18634 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
18635
18636 * cus-edit.el (custom-buffer-create-internal): Fix search button
18637 action (Bug#10542).
18638 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
18639
18640 2012-01-27 Eduard Wiebe <usenet@pusto.de>
18641
18642 * dired.el (dired-mark-files-regexp):
18643 Include any subdirectory components. (Bug#10445)
18644
18645 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
18646
18647 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
18648 Handle [host]:port syntax. (Bug#10533)
18649
18650 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
18651
18652 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
18653
18654 2012-01-26 Glenn Morris <rgm@gnu.org>
18655
18656 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
18657 * term.el (term-raw-escape-map): Use Control-X-prefix.
18658 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
18659
18660 2012-01-25 Martin Rudalics <rudalics@gmx.at>
18661
18662 * window.el (window-state-get, window--state-get-1): Don't deal
18663 with fixed-sizeness of windows. Simplify code.
18664
18665 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
18666
18667 * window.el (window--state-get-1, window--state-put-2):
18668 Don't save and restore the mark.
18669
18670 2012-01-25 Chong Yidong <cyd@gnu.org>
18671
18672 * custom.el (custom-variable-p): Doc fix.
18673
18674 2012-01-25 Glenn Morris <rgm@gnu.org>
18675
18676 * dired.el (dired-goto-file): Handle some of the more common
18677 characters that `ls -b' escapes. (Bug#10596)
18678
18679 * progmodes/compile.el (compilation-next-error-function):
18680 Respect compilation-first-column in the "*compilation*" buffer.
18681 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
18682
18683 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
18684
18685 2012-01-24 Glenn Morris <rgm@gnu.org>
18686
18687 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
18688
18689 2012-01-24 Julien Danjou <julien@danjou.info>
18690
18691 * color.el (color-rgb-to-hsl): Fix value computing.
18692 (color-hue-to-rgb): New function.
18693 (color-hsl-to-rgb): New function.
18694 (color-clamp, color-saturate-hsl, color-saturate-name)
18695 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
18696 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
18697
18698 2012-01-24 Glenn Morris <rgm@gnu.org>
18699
18700 * vc/vc-rcs.el (vc-rcs-create-tag):
18701 * vc/vc-sccs.el (vc-sccs-create-tag):
18702 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
18703
18704 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
18705
18706 * eshell/esh-util.el (eshell-read-hosts-file):
18707 Skip comment lines. (Bug#10549)
18708
18709 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
18710
18711 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
18712
18713 * subr.el (display-delayed-warnings): Doc fix.
18714 (collapse-delayed-warnings): New function to collapse identical
18715 adjacent warnings.
18716 (delayed-warnings-hook): Add it.
18717
18718 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
18719
18720 * net/tramp.el (tramp-action-login): Set connection property "login-as".
18721
18722 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
18723 (tramp-default-user-alist): Don't add "pscp".
18724 (tramp-do-copy-or-rename-file-out-of-band): Use connection
18725 property "login-as", if set. (Bug#10530)
18726
18727 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
18728
18729 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
18730 "plink1" and "psftp". (Bug#10530)
18731
18732 2012-01-21 Kenichi Handa <handa@m17n.org>
18733
18734 * international/mule-cmds.el (prefer-coding-system): Show a
18735 warning message if the default value of file-name-coding-system
18736 was not changed.
18737
18738 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
18739
18740 * windmove.el (windmove-reference-loc):
18741 Fix windmove-reference-loc miscalculation.
18742
18743 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
18744
18745 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
18746 default unit.
18747
18748 2012-01-21 Glenn Morris <rgm@gnu.org>
18749
18750 * international/mule.el (auto-coding-alist): Add .tbz.
18751
18752 * files.el (local-enable-local-variables): Doc fix.
18753 (inhibit-local-variables-regexps): Rename from
18754 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
18755 Doc fix. Add some extensions from auto-coding-alist.
18756 (inhibit-local-variables-suffixes):
18757 Rename from inhibit-first-line-modes-suffixes. Doc fix.
18758 (inhibit-local-variables-p):
18759 New function, extracted from set-auto-mode-1.
18760 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
18761 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
18762 (hack-local-variables): Doc fix. Make the mode-only case
18763 respect enable-local-variables and friends.
18764 Respect inhibit-local-variables-regexps for file-locals, but
18765 not for directory-locals.
18766 (set-visited-file-name):
18767 Take account of inhibit-local-variables-regexps.
18768 Whether it applies may change as the file name is changed.
18769 * jka-cmpr-hook.el (jka-compr-install):
18770 * jka-compr.el (jka-compr-uninstall):
18771 Update for inhibit-first-line-modes-suffixes name change.
18772
18773 2012-01-20 Martin Rudalics <rudalics@gmx.at>
18774
18775 * help-macro.el (make-help-screen): Temporarily restore original
18776 binding for minor-mode-map-alist (Bug#10454).
18777
18778 2012-01-19 Julien Danjou <julien@danjou.info>
18779
18780 * color.el (color-name-to-rgb): Use the white color to find the max
18781 color component value and return correctly computed values.
18782 (color-name-to-rgb): Add missing float conversion for max value.
18783
18784 2012-01-19 Martin Rudalics <rudalics@gmx.at>
18785
18786 * window.el (window--state-get-1, window-state-get): Do not use
18787 special state value for window-persistent-parameters.
18788 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
18789 (window--state-put-2): Reset all window parameters to nil before
18790 assigning values of persistent parameters.
18791
18792 2012-01-18 Alan Mackenzie <acm@muc.de>
18793
18794 Eliminate sluggishness and hangs in fontification of "semicolon
18795 deserts".
18796
18797 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
18798 Change value 10000 -> 3000.
18799 (c-state-safe-place): Reformulate so it doesn't stack up an
18800 infinite number of wrong entries in c-state-nonlit-pos-cache.
18801 (c-determine-limit-get-base, c-determine-limit): New functions to
18802 determine backward search limits disregarding literals.
18803 (c-find-decl-spots): Amend commenting.
18804 (c-cheap-inside-bracelist-p): New function which detects "={".
18805
18806 * progmodes/cc-fonts.el
18807 (c-make-font-lock-BO-decl-search-function): Give a limit to a
18808 backward search.
18809 (c-font-lock-declarations): Fix an occurrence of point being
18810 undefined. Check additionally for point being in a bracelist or
18811 near a macro invocation without a semicolon so as to avoid a
18812 fruitless time consuming search for a declarator. Give a more
18813 precise search limit for declarators using the new
18814 c-determine-limit.
18815
18816 2012-01-18 Glenn Morris <rgm@gnu.org>
18817
18818 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
18819 (set-auto-mode): Doc fixes.
18820
18821 2012-01-17 Glenn Morris <rgm@gnu.org>
18822
18823 * isearch.el (search-nonincremental-instead): Fix doc typo.
18824
18825 * dired.el (dired-insert-directory): Handle newlines in directory name.
18826 (dired-build-subdir-alist): Unescape newlines in directory name.
18827
18828 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
18829
18830 * net/tramp.el (tramp-local-end-of-line): New defcustom.
18831 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
18832 (tramp-action-terminal): Use it. (Bug#10530)
18833
18834 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
18835
18836 * minibuffer.el (completion--replace): Strip properties (bug#10062).
18837
18838 2012-01-16 Martin Rudalics <rudalics@gmx.at>
18839
18840 * window.el (window-state-ignored-parameters): Remove variable.
18841 (window--state-get-1): Rename argument MARKERS to IGNORE.
18842 Handle persistent window parameters. Make copy of clone-of
18843 parameter only if requested. (Bug#10348)
18844 (window--state-put-2): Install a window parameter only if it has
18845 a non-nil value or an existing parameter shall be overwritten.
18846
18847 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
18848
18849 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
18850
18851 2012-01-14 Eli Zaretskii <eliz@gnu.org>
18852
18853 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
18854 don't pass the (nil) value of `upnode' to string-match.
18855
18856 2012-01-14 Chong Yidong <cyd@gnu.org>
18857
18858 * startup.el (command-line): Fix X resource class for cursorColor.
18859 Fix values recognized by the cursorBlink resource.
18860
18861 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
18862
18863 * epg.el (epg--make-temp-file): Avoid permission race condition
18864 when running on old Emacs versions (bug#10403).
18865
18866 2012-01-14 Glenn Morris <rgm@gnu.org>
18867
18868 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
18869
18870 2012-01-13 Alan Mackenzie <acm@muc.de>
18871
18872 Fix filling for when filladapt mode is enabled.
18873
18874 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
18875 c-mask-paragraph, pass in `fill-paragraph' rather than
18876 `fill-region-as-paragraph'. (This is a reversion of a previous
18877 change.)
18878 * progmodes/cc-mode.el (c-basic-common-init):
18879 Make fill-paragraph-handle-comment buffer local and set it to nil.
18880
18881 2012-01-13 Glenn Morris <rgm@gnu.org>
18882
18883 * dired.el (dired-switches-escape-p): New function.
18884 (dired-insert-directory): Use dired-switches-escape-p.
18885 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
18886
18887 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
18888
18889 2012-01-12 Glenn Morris <rgm@gnu.org>
18890
18891 * mail/sendmail.el (mail-mode): Update paragraph-separate for
18892 changes in adaptive-fill-regexp. (Bug#10276)
18893
18894 2012-01-11 Alan Mackenzie <acm@muc.de>
18895
18896 Fix Emacs bug #10463 - put `widen's around the critical spots.
18897
18898 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
18899 widen around each invocation of c-state-pp-to-literal. Remove an
18900 unused let variable.
18901
18902 2012-01-11 Glenn Morris <rgm@gnu.org>
18903
18904 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
18905 Doc fix.
18906
18907 2012-01-10 Chong Yidong <cyd@gnu.org>
18908
18909 * net/network-stream.el (network-stream-open-starttls):
18910 Avoid emitting a confusing error message when the server gives a bad
18911 response to the capability command.
18912
18913 2012-01-10 Glenn Morris <rgm@gnu.org>
18914
18915 * mail/unrmail.el (unrmail): Tweak previous change.
18916
18917 2012-01-09 Chong Yidong <cyd@gnu.org>
18918
18919 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
18920
18921 2012-01-08 Alan Mackenzie <acm@muc.de>
18922
18923 Optimize font locking in long enum definitions.
18924
18925 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
18926 arm to a cond form to handle enums.
18927 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
18928 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
18929
18930 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
18931
18932 * files.el (move-file-to-trash): Preserve default file modes on error.
18933 (Bug#10401)
18934
18935 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
18936
18937 * faces.el (set-face-attribute): Clarify the meaning of the nil
18938 frame (bug#10294).
18939
18940 * subr.el (with-selected-frame): Mention that the selected frame
18941 is restored (bug#9980).
18942
18943 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
18944 (bug#9759).
18945
18946 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
18947 (password-read): Don't autoload unused function.
18948
18949 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
18950
18951 * progmodes/which-func.el (which-func-mode): Turn into a
18952 non-interactive function and mark as obsolete (bug#10428).
18953
18954 2012-01-06 Chong Yidong <cyd@gnu.org>
18955
18956 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
18957 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
18958 functions, along with 1 and -1.
18959
18960 2012-01-06 Eli Zaretskii <eliz@gnu.org>
18961
18962 * time.el (display-time-load-average)
18963 (display-time-default-load-average): Doc fixes. See the thread
18964 starting at
18965 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
18966 for the details.
18967
18968 2012-01-06 Glenn Morris <rgm@gnu.org>
18969
18970 * mail/unrmail.el (unrmail): Give an explicit error if the input file
18971 has no messages. (Bug#10377)
18972
18973 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
18974 than Info-edit. (Bug#10385)
18975
18976 * time.el (display-time-load-average, display-time-next-load-average):
18977 Doc fixes.
18978
18979 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
18980 local setting of buffer-read-only to the input buffer. (Bug#10419)
18981
18982 * calendar/calendar.el (calendar-mode):
18983 Locally set scroll-margin to 0. (Bug#10379)
18984
18985 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
18986
18987 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
18988
18989 2012-01-05 Glenn Morris <rgm@gnu.org>
18990
18991 * eshell/em-unix.el (diff-no-select): Autoload it.
18992 (eshell/diff): Use diff-no-select. (Bug#10420)
18993
18994 2012-01-05 Chong Yidong <cyd@gnu.org>
18995
18996 * shell.el (shell-dynamic-complete-functions): Revert last change.
18997 (shell-command-completion-function): New function.
18998 (shell-completion-vars): Use it to implement
18999 shell-completion-execonly (Bug#10417).
19000
19001 * custom.el (enable-theme): Don't set custom-safe-themes.
19002
19003 * cus-theme.el (custom-theme-merge-theme):
19004 Ignore custom-enabled-themes and custom-safe-themes.
19005
19006 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
19007
19008 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
19009 first prompt in `sql-interacive-mode'.
19010 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
19011 keywords.
19012 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
19013 (sql-product-interactive): Bug fix: Set `sql-buffer' in
19014 context of original buffer. Invoke `sql-login-hook'.
19015
19016 2012-01-04 Eli Zaretskii <eliz@gnu.org>
19017
19018 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
19019 letters in cite-prefix.
19020
19021 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
19022
19023 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
19024
19025 2012-01-03 Chong Yidong <cyd@gnu.org>
19026
19027 * shell.el (shell-dynamic-complete-functions):
19028 Put pcomplete-completions-at-point, so as to try
19029 comint-filename-completion first (Bug#10417).
19030
19031 2012-01-02 Richard Stallman <rms@gnu.org>
19032
19033 * battery.el (battery-status-function):
19034 Detect when to use battery-yeeloong-sysfs.
19035 (battery-echo-area-format): Add string for Yeeloong.
19036 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
19037 (battery-yeeloong-sysfs): New function.
19038
19039 2012-01-02 Chong Yidong <cyd@gnu.org>
19040
19041 * dirtrack.el (dirtrack-list): Eliminate unused third element.
19042 (dirtrack): Merge code for handling relative filenames in prompt
19043 from shell-dir-cookie-watcher.
19044 (dirtrack-debug-message): New arg to avoid excess format calls.
19045
19046 * shell.el (shell-dir-cookie-re): Variable deleted.
19047 (shell-dir-cookie-watcher): Function deleted.
19048 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
19049 with dirtrack-mode.
19050
19051 2012-01-01 Eli Zaretskii <eliz@gnu.org>
19052
19053 * term/w32-win.el (dynamic-library-alist) <gnutls>:
19054 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
19055 libgnutls-26.dll.
19056
19057 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
19058
19059 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
19060
19061 2011-12-31 Eli Zaretskii <eliz@gnu.org>
19062
19063 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
19064 headers of non-MIME messages, when rmail-enable-mime is non-nil.
19065
19066 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
19067
19068 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
19069 also for alternative shells.
19070 (tramp-open-connection-setup-interactive-shell): Check, whether
19071 the shell is a busybox.
19072 (tramp-send-command): Don't suppress multiple prompts for
19073 busyboxes, it hurts.
19074
19075 2011-12-28 Chong Yidong <cyd@gnu.org>
19076
19077 * progmodes/gdb-mi.el (gdb-get-source-file-list)
19078 (gdb-get-source-file): Move mode line update to
19079 gdb-get-source-file (Bug#10087).
19080
19081 2011-12-25 Chong Yidong <cyd@gnu.org>
19082
19083 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
19084 gud-gdb-marker-filter without taking it as an argument.
19085 (gud-gdb-run-command-fetch-lines): Caller changed.
19086 (gud-gdb-completion-function): New variable.
19087 (gud-gdb-completion-at-point): Use it.
19088 (gud-gdb-completions-1): Split from gud-gdb-completions.
19089
19090 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
19091 function as separate arguments.
19092 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
19093 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
19094 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
19095 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
19096 (gdb-stopped, def-gdb-auto-update-trigger)
19097 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
19098 (gdb-get-changed-registers, gdb-get-main-selected-frame):
19099 Callers changed.
19100 (gud-gdbmi-completions): New function.
19101 (gdb): Use it for generating the completion table.
19102
19103 2011-12-24 Alan Mackenzie <acm@muc.de>
19104
19105 Introduce a mechanism to widen the region used in context font
19106 locking. Use this to protect declarations from losing their contexts.
19107
19108 * progmodes/cc-langs.el (c-before-font-lock-functions):
19109 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
19110 (c-before-context-fontification-functions): New defvar, a list of
19111 functions to be run just before context (etc.) font locking.
19112
19113 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
19114 New, functionality extracted from
19115 c-neutralize-syntax-in-and-mark-CPP.
19116 (c-in-after-change-fontification): New variable.
19117 (c-after-change): Set c-in-after-change-fontification.
19118 (c-set-fl-decl-start): Rejig its interface, so it can be called
19119 from both after-change and context fontifying.
19120 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
19121 New functions.
19122 (c-standard-font-lock-fontify-region-function): New variable.
19123 (c-font-lock-fontify-region): New function.
19124
19125 2011-12-24 Juri Linkov <juri@jurta.org>
19126
19127 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
19128 (Bug#10348)
19129
19130 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
19131
19132 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
19133 existence of source file. (Bug#10325)
19134
19135 2011-12-23 Alan Mackenzie <acm@muc.de>
19136
19137 Fix unstable fontification inside templates.
19138
19139 * progmodes/cc-langs.el (c-before-font-lock-functions):
19140 Newly created from the singular version. The (c c++ objc) entry now
19141 additionally has c-set-fl-decl-start. The other languages (apart
19142 from AWK) have that as a single entry.
19143
19144 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
19145 The functionality for "local" declarations has been extracted to
19146 c-set-fl-decl-start.
19147
19148 * progmodes/cc-mode.el (c-common-init, c-after-change):
19149 Changes due to pluralisation of c-before-font-lock-functions.
19150 (c-set-fl-decl-start): New function, extracted from
19151 c-font-lock-enclosing-decls and enhanced.
19152
19153 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
19154
19155 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
19156
19157 2011-12-22 Juri Linkov <juri@jurta.org>
19158
19159 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
19160
19161 2011-12-22 Chong Yidong <cyd@gnu.org>
19162
19163 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
19164
19165 2011-12-21 Drew Adams <drew.adams@oracle.com>
19166
19167 * files.el (file-remote-p): Fix docstring. (Bug#10319)
19168
19169 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
19170
19171 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
19172
19173 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
19174
19175 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
19176 highlighting and support. Fix up comments for capitalization.
19177 (cfengine-mode-debug): New var.
19178 (cfengine3-mode): Change the modeline indicator to "CFE3".
19179 (cfengine3-font-lock-keywords): Improve defun highlighting.
19180 (cfengine2-actions): Rename from `cfengine-actions'.
19181 (cfengine2-font-lock-keywords): Rename from
19182 `cfengine-font-lock-keywords'.
19183 (cfengine2-imenu-expression): Rename from
19184 `cfengine-imenu-expression'.
19185 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
19186 (cfengine2-beginning-of-defun): Rename from
19187 `cfengine-beginning-of-defun'.
19188 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
19189 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
19190 (cfengine2-mode): Rename from `cfengine-mode'. Change the
19191 modeline indicator to "CFE2".
19192 (cfengine-mode): Defalias to `cfengine-auto-mode'.
19193 (cfengine-mode-abbrevs): Mark obsolete.
19194
19195 2011-12-21 Chong Yidong <cyd@gnu.org>
19196
19197 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
19198 filename argument.
19199
19200 2011-12-20 Martin Rudalics <rudalics@gmx.at>
19201
19202 * window.el (window-normalize-buffer-to-display): Remove.
19203 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
19204
19205 2011-12-19 Chong Yidong <cyd@gnu.org>
19206
19207 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
19208 Don't signal an error in a predicate function; return non-nil.
19209 (vc-dir-mark-file): Move the error here.
19210 (vc-dir-mark-unmark): If acting on the region, keep going if one
19211 of the entries cannot be marked/unmarked.
19212 (vc-dir-mark-all-files): If current entry is a directory, mark
19213 only child files, as documented.
19214
19215 2011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
19216
19217 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
19218 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
19219 addition.
19220
19221 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
19222
19223 * term/ns-win.el (ns-get-selection-internal)
19224 (ns-store-selection-internal): Declare.
19225 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
19226 Declare as obsolete.
19227 (ns-get-pasteboard, ns-paste-secondary):
19228 Use ns-get-selection-internal.
19229 (ns-set-pasteboard, ns-copy-including-secondary):
19230 Use ns-store-selection-internal.
19231
19232 2011-12-17 Chong Yidong <cyd@gnu.org>
19233
19234 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
19235 (vc-deduce-fileset): Doc fix.
19236
19237 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
19238
19239 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
19240
19241 2011-12-13 Sam Steingold <sds@gnu.org>
19242
19243 * man.el (Man-getpage-in-background): When running under a
19244 window-system, ignore $MANWIDTH and $COLUMNS.
19245
19246 2011-12-15 Kenichi Handa <handa@m17n.org>
19247
19248 * language/ethio-util.el: Change coding tag to utf-8-emacs.
19249 (setup-ethiopic-environment-internal): Comment out key-binding for
19250 ethio-toggle-punctuation.
19251
19252 2011-12-13 Alan Mackenzie <acm@muc.de>
19253
19254 Add the switch statement to AWK Mode.
19255
19256 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
19257 "default" to the keywords regexp.
19258
19259 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
19260 expression as the rest.
19261 (c-nonlabel-token-key): Allow string literals for AWK.
19262 Refactor for the other modes.
19263
19264 Large brace-block initialisation makes CC Mode slow: Fix.
19265 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
19266 routines. Limit backward searching in c-font-lock-enclosing.decl.
19267
19268 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
19269 pp-state and literal type in addition to the limits.
19270 (c-state-safe-place): New defun, extracted from c-state-literal-at.
19271 (c-state-literal-at): Use the above new defun.
19272 (c-slow-in-literal, c-fast-in-literal): Remove.
19273 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
19274
19275 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
19276 being in a literal. Add a limit for backward searching.
19277
19278 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
19279 c-slow-in-literal.
19280
19281 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
19282
19283 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
19284
19285 2011-12-13 Martin Rudalics <rudalics@gmx.at>
19286
19287 * window.el (delete-other-windows): Use correct frame in call to
19288 window-with-parameter.
19289
19290 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
19291
19292 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
19293 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
19294 (makefile-gmake-statements, makefile-makepp-statements):
19295 Use it and add new makepp keywords.
19296 (makefile-makepp-font-lock-keywords): Add new patterns.
19297 (makefile-match-function-end): Match new [...] and [[...]].
19298
19299 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
19300
19301 * ses.el (ses-call-printer-return, ses-cell-property-get)
19302 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
19303 (ses-create-cell-variable, ses-reset-header-string)
19304 (ses-cell-set-formula, ses-repair-cell-reference-all)
19305 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
19306 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
19307 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
19308 (ses-aset-with-undo, ses-load, ses-truncate-cell)
19309 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
19310 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
19311 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
19312 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
19313 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
19314 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
19315 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
19316 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
19317
19318 2011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
19319
19320 * ses.el: The overall change is to add cell renaming, that is
19321 setting fancy names for cell symbols other than name matching
19322 "\\`[A-Z]+[0-9]+\\'" regexp .
19323 (ses-create-cell-variable): New defun.
19324 (ses-relocate-formula): Relocate formulas only for cells the
19325 symbols of which are not renamed, i.e. symbols whose names do not
19326 match regexp "\\`[A-Z]+[0-9]+\\'".
19327 (ses-relocate-all): Relocate values only for cells the symbols of
19328 which are not renamed.
19329 (ses-load): Create cells variables as the (ses-cell ...) are read,
19330 in order to check row col consistency with cell symbol name only
19331 for cells that are not renamed.
19332 (ses-replace-name-in-formula): New defun.
19333 (ses-rename-cell): New defun.
19334
19335 2011-12-11 Chong Yidong <cyd@gnu.org>
19336
19337 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
19338 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
19339
19340 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
19341
19342 * window.el (other-window): Fix docstring.
19343
19344 2011-12-10 Eli Zaretskii <eliz@gnu.org>
19345
19346 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
19347 `from' or `to' address before taking its substring.
19348 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
19349 encoded name is chopped in the middle of the encoded string, and
19350 thus displayed encoded.
19351
19352 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
19353
19354 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
19355
19356 2011-12-10 Eli Zaretskii <eliz@gnu.org>
19357
19358 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
19359 to use texinfo-update-node and commands that call it if the
19360 Texinfo file uses @node lines without next/prev/up pointers.
19361 Correct outdated description about texinfo-master-menu.
19362 (texinfo-all-menus-update, texinfo-master-menu)
19363 (texinfo-update-node, texinfo-every-node-update)
19364 (texinfo-multiple-files-update): Doc fix. Warn against updating
19365 all the @node lines.
19366 (texinfo-master-menu): Only call texinfo-update-node if the prefix
19367 argument is numeric. Explain better in the doc string what the
19368 function really does.
19369 (texinfo-insert-master-menu-list): Improve the error message
19370 displayed if there's no menu in the Top node.
19371 (Bug#2975) See also this thread:
19372 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
19373
19374 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
19375
19376 * speedbar.el (speedbar-supported-extension-expressions):
19377 Add .adb and .ads, commonly used for Ada source code (bug#10256).
19378
19379 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
19380
19381 * printing.el (pr-mode-alist):
19382 * simple.el (filter-buffer-substring-functions)
19383 (completion-list-insert-choice-function):
19384 * window.el (window-with-parameter, window-atom-root)
19385 (window-sides-slots, window-size-fixed, window-min-delta)
19386 (window-max-delta, window--resize-mini-window)
19387 (window--resize-child-windows-normal, window-tree)
19388 (delete-other-windows, quit-window, split-window)
19389 (display-buffer-record-window, special-display-buffer-names)
19390 (special-display-regexps, special-display-popup-frame)
19391 (same-window-p, split-window-sensibly)
19392 (display-buffer-overriding-action, display-buffer-alist)
19393 (display-buffer-base-action, display-buffer, switch-to-buffer)
19394 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
19395 (fit-window-to-buffer, recenter-positions)
19396 (mouse-autoselect-window-state, mouse-autoselect-window-select):
19397 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
19398 and remove unneeded backslashes in docstrings.
19399
19400 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
19401
19402 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
19403
19404 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
19405 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
19406 end in ".mk".
19407 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
19408 when reading the makefile (bug#10116).
19409
19410 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
19411
19412 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
19413 (bug#10116).
19414
19415 2011-12-06 Glenn Morris <rgm@gnu.org>
19416
19417 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
19418
19419 2011-12-06 Chong Yidong <cyd@gnu.org>
19420
19421 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
19422
19423 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
19424
19425 * textmodes/table.el (table-shorten-cell): Fix typo.
19426
19427 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
19428
19429 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
19430
19431 2011-12-05 Eli Zaretskii <eliz@gnu.org>
19432
19433 * descr-text.el (describe-char): Fix display of strong
19434 right-to-left characters and directional embeddings and overrides.
19435
19436 * simple.el (what-cursor-position): Fix display of codepoints of
19437 strong right-to-left characters.
19438
19439 2011-12-05 Chong Yidong <cyd@gnu.org>
19440
19441 * faces.el (read-color): Doc fix.
19442
19443 2011-12-05 Glenn Morris <rgm@gnu.org>
19444
19445 * align.el (align--set-marker): Add doc-string.
19446 Don't try to move something that is not a marker. (Bug#10216)
19447
19448 2011-12-04 Glenn Morris <rgm@gnu.org>
19449
19450 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
19451 overly zealous deletion of trailing whitespace.
19452
19453 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
19454
19455 * server.el (server-delete-client): On Windows, do not try to delete
19456 the only terminal.
19457 (server-process-filter): On Windows, treat requests for a tty frame as
19458 if they were for a GUI frame if the running server is in GUI mode.
19459
19460 2011-12-03 Glenn Morris <rgm@gnu.org>
19461
19462 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
19463
19464 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
19465
19466 * electric.el: Streamline electric-indent's hook.
19467 (electric-indent-chars): Revert to simple list.
19468 (electric-indent-functions): New var.
19469 (electric-indent-post-self-insert-function): Use it.
19470
19471 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
19472 there's no inferior buffer (bug#10196).
19473 (prolog-consult-compile): Don't use toggle-read-only.
19474
19475 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
19476
19477 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
19478 interrupt. (Bug#10187)
19479
19480 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
19481
19482 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
19483 (bug#9160).
19484
19485 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
19486 (bug#10191).
19487
19488 2011-12-02 Juri Linkov <juri@jurta.org>
19489
19490 * info.el (Info-search): Display "end of manual" when Isearch
19491 reaches the end of single-file Info manual. (Bug#9918)
19492
19493 2011-12-02 Eli Zaretskii <eliz@gnu.org>
19494
19495 * isearch.el (isearch-message-prefix): Run the input method part
19496 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
19497
19498 2011-12-02 Juri Linkov <juri@jurta.org>
19499
19500 * isearch.el (isearch-occur): Use `word-search-regexp' for
19501 `isearch-word'.
19502 (isearch-search-and-update): Add condition for `isearch-word' and
19503 call `word-search-regexp'. (Bug#10145)
19504
19505 2011-12-01 Glenn Morris <rgm@gnu.org>
19506
19507 * eshell/em-hist.el (eshell-hist-initialize):
19508 Handle eshell-history-size nil and HISTSIZE set or unset.
19509 (eshell-history-file-name, eshell-history-size): Fix custom type.
19510
19511 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
19512
19513 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
19514
19515 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
19516
19517 * progmodes/verilog-mode.el (verilog-pretty-expr):
19518 Rework verilog-pretty-expr to handle new assignment operators in system
19519 verilog, such as += *= and the like.
19520 (verilog-assignment-operator-re): Regular expression to find the
19521 assigment operator in a verilog assignment.
19522 (verilog-assignment-operation-re): Regular expression to find an
19523 assignment statement for pretty-expr.
19524 (verilog-in-attribute-p): Query returns true if point is in an
19525 attribute context; used to skip these for expression line up from
19526 pretty-expr.
19527 (verilog-in-parameter-p): Query returns true if point is in an
19528 parameter definition context; used to skip these for expression
19529 line up from pretty-expr.
19530 (verilog-in-parenthesis-p): Query returns true if point is in a
19531 parenthetical expression, specifically ( ) but not [ ] or { };
19532 used by pretty-expr.
19533 (verilog-just-one-space): If there is no space, don't add one.
19534 (verilog-get-lineup-indent-2): Specifically skip just attribute
19535 contexts for expression lineup, rather than skipping all
19536 parenthetical expressions.
19537 (verilog-calculate-indent): Fix comment, and fix indent.
19538 (verilog-do-indent): Indent declarations in lists (suggested by
19539 Joachim Lechner).
19540 (verilog-mode-abbrev-table): Populate abbrev mode with the various
19541 skeleton items.
19542 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
19543 by Alain Mellan).
19544
19545 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
19546
19547 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
19548 parameters with embedded comments. Reported by Ray Stevens.
19549 (verilog-calc-1, verilog-fork-wait-re, verilog-forward-sexp)
19550 (verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
19551 Reported by Tim Holt.
19552 (verilog-auto): Fix AUTOing a upper module then AUTOing module
19553 instantiated by upper module causing wrong expansion until AUTOed a
19554 second time. Reported by K C Buckenmaier.
19555 (verilog-diff-auto): Fix showing .* as a difference when
19556 `verilog-auto-star-save' off. Reported by Dan Dever.
19557 (verilog-auto-reset, verilog-read-always-signals)
19558 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
19559 temporary signals in reset list if
19560 verilog-auto-reset-blocking-in-non is nil, and match assignment
19561 style to each signal's assignment type, bug381.
19562 Reported by Thomas Esposito.
19563 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
19564 (verilog-uvm-statement-re): Support UVM indentation and
19565 highlighting, with old OVM keywords only.
19566 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
19567 Support AUTOTIEOFF creating non-wire data types.
19568 Suggested by Jonathan Greenlaw.
19569 (verilog-auto-insert-lisp, verilog-delete-to-paren)
19570 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
19571 (verilog-inject-sense, verilog-read-inst-pins)
19572 (verilog-read-sub-decls, verilog-read-sub-decls-line):
19573 Fix mismatching parenthesis inside commented out code when deleting
19574 AUTOINST, bug383. Reported by Jonathan Greenlaw.
19575 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
19576 non-numeric vector width. Reported by Alex Reed.
19577 (verilog-auto-ascii-enum): Add "onehot" option to work around not
19578 detecting signals with parameter widths. Reported by Alex Reed.
19579 (verilog-auto-delete-trailing-whitespace):
19580 With `verilog-auto-delete-trailing-whitespace' remove trailing
19581 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
19582 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
19583 Fix verilog-scan-cache corruption when running user AUTO expansion
19584 hooks that call indentation routines.
19585 (verilog-simplify-range-expression): Fix typo ignoring lower case
19586 identifiers.
19587 (verilog-delete-auto): Fix delete-autos to also remove user created
19588 automatics, as long as they start with AUTO.
19589 (verilog-batch-diff-auto, verilog-diff-auto)
19590 (verilog-diff-function): Add `verilog-diff-auto' and bind to
19591 "C-c?" to report differences in AUTO expansion, ignoring spaces.
19592 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
19593 (verilog-in-paren-quick, verilog-re-search-backward-quick)
19594 (verilog-re-search-forward-quick, verilog-syntax-ppss):
19595 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
19596 is disabled and its cache will get corrupt, causing AUTOS not to
19597 expand. Instead use only -quick functions.
19598 (verilog-scan-region): Fix scanning over escaped quotes.
19599 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
19600 (verilog-re-search-backward-quick)
19601 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
19602 related functions now ignore strings, to fix misparsing of strings
19603 with magic comments embedded in them.
19604 (verilog-read-auto-template):
19605 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
19606 Reported by Brad Dobbie.
19607 (verilog-read-auto-template):
19608 Fix 'verilog-auto-inst-template-numbers' with comments.
19609 Reported by Brad Dobbie.
19610 (verilog-auto-inst, verilog-auto-inst-param)
19611 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
19612 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
19613 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
19614 debugging templates without merge conflicts, bug357.
19615 Reported by Brad Dobbie.
19616 (verilog-read-auto-template):
19617 Fix verilog-auto-inst-template-numbers with multiple templates.
19618 Reported by Brad Dobbie.
19619 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
19620 abbrevs so user won't be asked to save.
19621 (verilog-read-auto-lisp-present): Fix to start at beginning of
19622 buffer in case called outside of verilog-auto.
19623 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
19624 to "X-2". Reported by Matthew Myers.
19625 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
19626 all inputs from module templates. Reported by Leith Johnson.
19627 (verilog-module-inside-filename-p): Fix locating programs as with
19628 modules.
19629 (verilog-auto-inst-port): Fix vl-width expressions when using
19630 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
19631 (verilog-decls-get-regs, verilog-decls-get-signals,
19632 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
19633 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
19634 verilog-read-decls): Combine reg and wire structures into one var
19635 structure to represent SystemVerilog concepts.
19636 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
19637 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
19638 (verilog-auto-wire-type, verilog-insert-definition):
19639 Add verilog-auto-wire-type and AUTOLOGIC to support using
19640 SystemVerilog "logic" keyword instead of "wire"/"reg".
19641 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
19642 to declares outputs that also have assignments (presumably in an
19643 ifdef or generate if so there's not a driver conflict).
19644 Reported by Matthew Myers.
19645 (verilog-auto-declare-nettype, verilog-insert-definition):
19646 Add verilog-auto-declare-nettype to fix declarations using
19647 `default_nettype none. Reported by Julian Gorfajn.
19648 (verilog-read-always-signals-recurse, verilog-read-decls)
19649 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
19650 malformed end statement, bug325. Reported by Joshua Wise and
19651 Andrew Drake.
19652 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
19653 (verilog-inst-comment-re): Fix not deleting Interfaced comment
19654 when expanding .* in interfaces, bug320.
19655 Reported by Pierre-David Pfister.
19656 (verilog-read-module-name): Fix import statements between module
19657 name and open parenthesis, bug317.
19658 Reported by Pierre-David Pfister.
19659 (verilog-simplify-range-expression): Fix simplification of
19660 multiplications inside AUTOWIRE connections, bug303.
19661 (verilog-auto-inst-port): Support parameter expansion in
19662 multidimensional arrays.
19663 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
19664 after "assert property". Reported by Julian Gorfajn.
19665 (verilog-simplify-range-expression): Fix "couldn't merge" errors
19666 with multiplication, bug303.
19667 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
19668 Reported by Jan Frode Lonnum.
19669
19670 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
19671
19672 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
19673 (hfy-shell-file-name, hfy-shell):
19674 * international/fontset.el (x-decompose-font-name): Fix typos.
19675
19676 2011-11-29 Ken Brown <kbrown@cornell.edu>
19677
19678 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
19679 (gdb-version): Remove defvar.
19680 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
19681 (gdb-gud-context-command, gdb-non-stop-handler)
19682 (gdb-current-context-command, gdb-stopped): Use it.
19683 (gdb-init-1): Enable pretty printing here.
19684 (gdb-non-stop-handler): Don't enable pretty-printing here.
19685 Check to see if the target supports non-stop mode; if not, turn off
19686 non-stop mode. Use the following.
19687 (gdb-check-target-async): New defun.
19688 (gud-watch, gdb-stopped): Fix whitespace.
19689 (gdb-get-source-file): Don't try to display the source file if
19690 `gdb-main-file' is nil.
19691
19692 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
19693
19694 * align.el: Try to generate fewer markers (bug#10047).
19695 (align--set-marker): New macro.
19696 (align-region): Use it.
19697
19698 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
19699
19700 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
19701
19702 2011-11-29 Chong Yidong <cyd@gnu.org>
19703
19704 * indent.el (indent-for-tab-command, indent-according-to-mode):
19705 Doc fix.
19706 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
19707
19708 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
19709
19710 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
19711 aware of remote file names. (Bug#10124)
19712
19713 2011-11-29 Chong Yidong <cyd@gnu.org>
19714
19715 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
19716
19717 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
19718
19719 * files.el (find-file): Don't use force-same-window (bug#10144).
19720 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
19721 use pop-to-buffer if the selected window can't be used.
19722 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
19723
19724 2011-11-28 Eli Zaretskii <eliz@gnu.org>
19725
19726 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
19727 special-mode-map.
19728
19729 2011-11-28 Chong Yidong <cyd@gnu.org>
19730
19731 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
19732
19733 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
19734
19735 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
19736 gdb-get-source-file-list on gdb-create-source-file-list.
19737
19738 2011-11-26 Eli Zaretskii <eliz@gnu.org>
19739
19740 * whitespace.el (whitespace-newline): Use a different foreground
19741 color for 16-color light-background displays.
19742
19743 2011-11-24 Chong Yidong <cyd@gnu.org>
19744
19745 * window.el (display-buffer--special-action): Doc fix.
19746
19747 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
19748
19749 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
19750 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
19751 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
19752 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
19753 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
19754 (avl-tree-stack-first):
19755 * emacs-lisp/cconv.el (cconv--analyse-use):
19756 * net/gnutls.el (gnutls-negotiate): Fix typos.
19757
19758 2011-11-24 Glenn Morris <rgm@gnu.org>
19759
19760 * lpr.el (lpr-windows-system, lpr-lp-system):
19761 * mail/binhex.el (binhex-begin-line):
19762 * progmodes/grep.el (grep-history, grep-find-history):
19763 * textmodes/flyspell.el:
19764 * vc/pcvs-defs.el (cvs-global-menu):
19765 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
19766 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
19767 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
19768
19769 * net/tls.el: Fix case of "GnuTLS".
19770
19771 * paths.el (rmail-file-name): Format doc-string for make-docfile.
19772
19773 * version.el (emacs-build-system): Give it a doc-string.
19774
19775 2011-11-24 Juri Linkov <juri@jurta.org>
19776
19777 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
19778
19779 2011-11-24 Glenn Morris <rgm@gnu.org>
19780
19781 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
19782 if called on a non-mime message just toggle the headers. (Bug#8006)
19783
19784 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
19785
19786 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
19787 (allout-lead-with-comment-string, allout-structure-deleted-hook)
19788 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
19789 (allout-rebullet-heading, allout-open-sibtopic)
19790 (allout-toggle-current-subtree-encryption)
19791 (allout-toggle-subtree-encryption, allout-encrypt-string)
19792 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
19793 (allout-distinctive-bullets-string, allout-auto-activation):
19794 * window.el (window-normalize-buffer-to-display):
19795 * progmodes/verilog-mode.el (verilog-batch-indent):
19796 * textmodes/bibtex.el (bibtex-field-braces-opt)
19797 (bibtex-field-strings-opt):
19798 * vc/cvs-status.el (cvs-tree-merge):
19799 Fix typos.
19800
19801 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
19802
19803 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
19804 `non-essential' to t, in order to avoid remote connections.
19805
19806 2011-11-23 Eli Zaretskii <eliz@gnu.org>
19807
19808 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
19809 On MS-DOS and MS-Windows, compare with loaddefs.el
19810 case-insensitively.
19811
19812 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
19813
19814 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
19815
19816 2011-11-23 Glenn Morris <rgm@gnu.org>
19817
19818 * paths.el (rmail-file-name): Reformat the doc-string so that it
19819 is picked up.
19820
19821 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
19822 (rmail-auto-file): Ignore case in the "special" field names,
19823 as mail-fetch-field does for all others.
19824
19825 * mail/rmail.el (rmail-forward):
19826 * mail/rmailkwd.el (rmail-set-label):
19827 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
19828 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
19829
19830 * mail/rmail.el (rmail-current-message): Doc fix.
19831
19832 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
19833
19834 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
19835
19836 * server.el (server-eval-and-print): Allow C-g (bug#6585).
19837
19838 2011-11-22 Glenn Morris <rgm@gnu.org>
19839
19840 * mail/rmailmm.el (test-rmail-mime-handler)
19841 (test-rmail-mime-bulk-handler)
19842 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
19843
19844 2011-11-21 Juri Linkov <juri@jurta.org>
19845
19846 * calc/calc.el (calc-read-key-sequence):
19847 Let-bind `input-method-function' to nil. (Bug#10018)
19848
19849 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
19850
19851 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
19852 Tell the caller that the next line needs recomputation, even
19853 though it doesn't start a sexp (bug#10094).
19854
19855 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
19856
19857 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
19858
19859 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
19860
19861 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
19862 Use force-same-window.
19863
19864 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
19865
19866 * descr-text.el (describe-char-unicode-data):
19867 * json.el (json-string-escape):
19868 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
19869 (Footnote-unicode, Footnote-style-p):
19870 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
19871
19872 2011-11-20 Chong Yidong <cyd@gnu.org>
19873
19874 * window.el (replace-buffer-in-windows): Restore interactive spec.
19875
19876 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
19877
19878 * electric.el (electric-indent-mode): Fix last change (too optimistic).
19879
19880 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
19881 (byte-compile-global-not-obsolete-vars): New var.
19882 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
19883 Use it.
19884 (byte-compile-warn-obsolete): Align text with the one in *Help*.
19885
19886 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
19887
19888 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
19889 * progmodes/pascal.el (electric-pascal-equal):
19890 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
19891 * xml.el (xml-substitute-special): Fix typos.
19892
19893 2011-11-20 Glenn Morris <rgm@gnu.org>
19894
19895 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
19896 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
19897 Doc fixes.
19898 (rmail-decode-mime-charset): Mark as obsolete.
19899
19900 * mail/rmailsum.el (rmail-message-regexp-p-1):
19901 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
19902 Before using mime functions, check they are set. (Bug#10077)
19903
19904 2011-11-19 Juri Linkov <juri@jurta.org>
19905
19906 * info.el (Info-finder-find-node): Use `package--builtins' instead
19907 of `package-alist'. Use node names formed by the pattern "Keyword "
19908 and the keyword name.
19909
19910 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
19911
19912 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
19913
19914 2011-11-19 Juri Linkov <juri@jurta.org>
19915
19916 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
19917 that calls `revert-buffer' on all Info buffers. (Bug#9915)
19918 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
19919 `old-history', `old-history-forward'. Add let-binding
19920 `window-selected'. Remove calls to `kill-buffer',
19921 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
19922 before calling `Info-find-node', so `Info-find-node-2' will reread
19923 the Info file. Restore window positions only when `window-selected'
19924 is non-nil.
19925
19926 2011-11-19 Juri Linkov <juri@jurta.org>
19927
19928 * isearch.el (isearch-lazy-highlight-new-loop):
19929 Remove condition `(not isearch-error)'. (Bug#9918)
19930
19931 * misearch.el (multi-isearch-search-fun): Add condition
19932 `(not bound)' to ignore lazy-highlighting search.
19933 Add the search-failed message "end of multi" when the end of
19934 multi-sequence is reached. Uncapitalize the search-failed
19935 message "Repeat for next buffer".
19936
19937 * info.el (Info-search): Add the search-failed message
19938 "end of the manual" when the end of the manual is reached
19939 in Isearch mode.
19940
19941 2011-11-19 Juri Linkov <juri@jurta.org>
19942
19943 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
19944 Use non-destructive `remove' instead of `delete' because
19945 `Info-history-list' stored to `Info-isearch-initial-history-list' in
19946 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
19947
19948 2011-11-19 Juri Linkov <juri@jurta.org>
19949
19950 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
19951 to nil instead of binding `search-ring' and `regexp-search-ring'.
19952 (Bug#9185)
19953
19954 2011-11-19 Eli Zaretskii <eliz@gnu.org>
19955
19956 * simple.el (line-move): Force movement by logical lines for any
19957 hscrolled window, not only when auto-hscroll-mode is on.
19958 (line-move-visual): Update doc string to that effect. (Bug#10076)
19959
19960 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
19961
19962 * language/european.el (macintosh): Define as alias for mac-roman.
19963
19964 2011-11-19 Eli Zaretskii <eliz@gnu.org>
19965
19966 * mail/rmailmm.el (rmail-mime-display-header)
19967 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
19968 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
19969 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
19970 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
19971 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
19972 of a raw aref.
19973 (rmail-mime-entity-segment): To get past the tagline, move forward
19974 2 more lines, to account for the 2 empty lines that precede and
19975 follow the line with the buttons.
19976 (rmail-mime-update-tagline): Move one more line, to get past the
19977 empty line that follows the buttons in the tagline. (Bug#9520)
19978
19979 2011-11-19 Martin Rudalics <rudalics@gmx.at>
19980
19981 * window.el (window-max-delta-1, window-min-delta-1)
19982 (window-min-size-1, window-state-get-1, window-state-put-1)
19983 (window-state-put-2): Use "window--" prefix.
19984
19985 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
19986
19987 * emacs-lisp/smie.el: Improve warnings and conflict detection.
19988 (smie-warning-count): New var.
19989 (smie-set-prec2tab): Use it.
19990 (smie-bnf->prec2): Improve warnings. Add docstring.
19991 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
19992 (smie-bnf--set-class): New function.
19993 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
19994 corner case.
19995
19996 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
19997 (compilation-error-properties, compilation-move-to-column):
19998 Handle compilation-first-column while in the target buffer.
19999
20000 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
20001 Don't hardcode point-min==1.
20002
20003 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
20004 (eshell-rewrite-for-command): Remove workaround.
20005 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
20006 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
20007 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
20008
20009 * files-x.el (modify-file-local-variable): Obey commenting conventions.
20010
20011 2011-11-17 Glenn Morris <rgm@gnu.org>
20012
20013 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
20014 Ignore buffer-local generated-autoload-file if it is the same
20015 as the global value. (Bug#10049)
20016
20017 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
20018
20019 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
20020 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
20021 (reftex-toc-previous-heading, reftex-toc-max-level)
20022 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
20023 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
20024 (reftex-toc-do-promote, reftex-toc-promote-prepare)
20025 (reftex-toc-promote-action, reftex-toc-extract-section-number)
20026 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
20027 (reftex-toc-rename-label, reftex-toc-visit-location)
20028 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
20029 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
20030 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
20031 leaving "*toc*" only for references to the buffer.
20032
20033 2011-11-17 Martin Rudalics <rudalics@gmx.at>
20034
20035 * window.el (window-resize, delete-window, split-window):
20036 Replace window-splits by window-combination-resize.
20037 * cus-start.el (window-splits): Replace by window-combination-resize.
20038
20039 2011-11-17 Glenn Morris <rgm@gnu.org>
20040
20041 * progmodes/sh-script.el (sh-font-lock-keywords-var):
20042 Make bash entry derive from sh entry, not shell entry.
20043
20044 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
20045
20046 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
20047 local file name.
20048
20049 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
20050
20051 * menu-bar.el (menu-bar-file-menu):
20052 * printing.el (pr-ps-utility):
20053 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
20054 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
20055 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
20056 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
20057 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
20058 (icalendar--convert-cyclic-to-ical)
20059 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
20060 (icalendar--convert-ical-to-diary)
20061 (icalendar--convert-recurring-to-diary)
20062 (icalendar--convert-non-recurring-all-day-to-diary)
20063 (icalendar-import-format-sample):
20064 * progmodes/idlw-shell.el (idlwave-shell-mode):
20065 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
20066 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
20067 (vhdl-ps-print-init): Fix typos.
20068
20069 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
20070
20071 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
20072 FSF and collapse date sequence, obscure author/maintainer email address
20073 better, remove extra version line, track relocation of author's webpage.
20074
20075 * progmodes/python.el (python-pdbtrack-input-prompt)
20076 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
20077 regular python pdb prompts. Adjustments shamelessly taken exactly as
20078 suggested in EmacsWiki page (tiny change):
20079 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
20080
20081 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
20082
20083 * expand.el (expand-pos, expand-index, expand-point):
20084 Remove redundant info from docstring.
20085 (expand-add-abbrevs): Doc fix.
20086 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
20087 (expand-sample-perl-mode-expand-list): Fix typos.
20088
20089 * net/dbus.el (dbus-event-member-name):
20090 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
20091 * term/pc-win.el (msdos-create-frame-with-faces):
20092 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
20093
20094 2011-11-16 Martin Rudalics <rudalics@gmx.at>
20095
20096 * window.el (split-window, window-state-get-1)
20097 (window-state-put-1, window-state-put-2): Rename occurrences of
20098 window-nest to window-combination-limit.
20099 * cus-start.el (window-nest): Rename to window-combination-limit.
20100
20101 2011-11-16 Chong Yidong <cyd@gnu.org>
20102
20103 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
20104 regexp (Bug#10033).
20105
20106 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
20107
20108 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
20109 `completing-read' will remove *Completions* and will preserve
20110 current-buffer for us.
20111 (tmm-add-prompt): Users of *Completions* will always (re)set its
20112 major mode.
20113 (tmm-old-comp-map): Remove.
20114
20115 2011-11-16 Glenn Morris <rgm@gnu.org>
20116
20117 * mail/rmailedit.el: Require rmailmm when compiling.
20118 (rmail-old-mime-state): New declaration.
20119 (rmail-edit-current-message): If editing a mime message,
20120 edit the "raw" message from the mbox buffer.
20121 (rmail-cease-edit): Handle mime messages. (Bug#9840)
20122
20123 2011-11-15 Glenn Morris <rgm@gnu.org>
20124
20125 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
20126 which wasn't being used. Add optional arg to force given state.
20127 (rmail-mime): Add optional arg to force given state.
20128
20129 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
20130
20131 * allout.el (allout-encryption-plaintext-sanitization-regexps):
20132 * frame.el (display-mm-dimensions-alist):
20133 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
20134 (outline-move-subtree-down):
20135 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
20136 (newsticker--treeview-do-get-node):
20137 * net/quickurl.el (quickurl-list-buffer-name):
20138 * progmodes/dcl-mode.el (dcl-mode):
20139 * progmodes/gdb-mi.el (gdb-mapcar*):
20140 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
20141
20142 2011-11-15 Glenn Morris <rgm@gnu.org>
20143
20144 * mail/rmail.el (rmail-file-coding-system): It's only ever used
20145 in a boolean sense, so just make it a boolean, and fix the doc.
20146 (rmail-show-mime-function, rmail-mime-feature)
20147 (rmail-require-mime-maybe): Doc fixes.
20148 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
20149
20150 * mail/rmailmm.el (rmail-show-mime): Doc fix.
20151
20152 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
20153
20154 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
20155 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
20156 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
20157 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
20158
20159 2011-11-15 Glenn Morris <rgm@gnu.org>
20160
20161 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
20162 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
20163 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
20164 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
20165 (rmail-mime, rmail-show-mime): Doc fixes.
20166
20167 * term/ns-win.el (mode-line-frame-identification):
20168 Leave it alone. (Bug#10051)
20169
20170 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
20171
20172 * mail/rmailout.el (rmail-output-to-rmail-buffer):
20173 Handle empty buffers. (Bug#9978)
20174
20175 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
20176
20177 * international/mule.el (define-charset):
20178 * mail/rmailmm.el (rmail-mime-find-header-encoding):
20179 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
20180 * progmodes/verilog-mode.el (verilog-backward-token):
20181 * textmodes/ispell.el (lookup-words):
20182 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
20183
20184 2011-11-14 Glenn Morris <rgm@gnu.org>
20185
20186 * progmodes/executable.el
20187 (executable-make-buffer-file-executable-if-script-p):
20188 Handle file-modes returning nil.
20189
20190 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
20191 message - not necessary, and causes problems. (Bug#9831)
20192
20193 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
20194
20195 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
20196
20197 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
20198 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
20199 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
20200
20201 2011-11-12 Martin Rudalics <rudalics@gmx.at>
20202
20203 * window.el (window-resize, delete-window): Use window-splits
20204 variable instead of function.
20205 (window-state-get-1, window-state-put-2, window-state-put):
20206 Don't deal with windows' splits status.
20207
20208 2011-11-12 Glenn Morris <rgm@gnu.org>
20209
20210 * apropos.el (apropos-do-all, apropos-library, apropos-value)
20211 (apropos-documentation): Doc fixes.
20212
20213 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
20214
20215 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
20216 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
20217
20218 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
20219
20220 * electric.el (electric-indent-post-self-insert-function): Make it
20221 possible for a char to only indent in some circumstances.
20222 (electric-indent-mode): Simplify.
20223
20224 2011-11-11 Martin Rudalics <rudalics@gmx.at>
20225
20226 * window.el (windows-with-parameter): Remove unused function.
20227 (windows-at-side): Rename to window-at-side-list.
20228 (window-check, window-atom-check, window-atom-check-1)
20229 (window-side-check, window-size-ignore, window-size-fixed-1)
20230 (window-in-direction-2): Prefix with "window--".
20231 (window-tree-1): Rename to window--subtree, fix doc-string.
20232
20233 2011-11-11 Glenn Morris <rgm@gnu.org>
20234
20235 * subr.el (eval-after-load): If FILE is already loaded,
20236 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
20237
20238 2011-11-10 Glenn Morris <rgm@gnu.org>
20239
20240 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
20241 Call svn via vc-svn-command rather than vc-do-command.
20242 (vc-svn-command): Add --non-interactive. (Bug#9993)
20243 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
20244
20245 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
20246 Add toggle-read-only. (Bug#7292)
20247 * files.el (toggle-read-only): Mention that it should only
20248 be used interactively. (Bug#10006)
20249
20250 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
20251
20252 * progmodes/compile.el (compilation-error-regexp-alist-alist):
20253 Adjust regexp for OCaml warnings.
20254
20255 * electric.el (electric-pair-post-self-insert-function): Let user
20256 turn it off buffer-locally (bug#9932).
20257
20258 * progmodes/python.el (python-beginning-of-statement):
20259 Rewrite (bug#2703).
20260
20261 * progmodes/compile.el: Better handle TABs (bug#9749).
20262 (compilation-internal-error-properties)
20263 (compilation-next-error-function): Obey the target buffer's
20264 compilation-error-screen-columns.
20265
20266 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
20267
20268 * progmodes/meta-mode.el: Remove obsolete comments.
20269 (meta-right-comment-regexp, meta-ignore-comment-regexp):
20270 Fix typos in docstrings.
20271
20272 2011-11-09 Martin Rudalics <rudalics@gmx.at>
20273
20274 * window.el (window-size-fixed-p): Rewrite doc-string.
20275 (window-resizable-p): Rename to window--resizable-p. Update callers.
20276 (window--resizable): New function. Make all callers of
20277 window-resizable call window--resizable instead.
20278 (window-resizable): Rewrite in terms of window--resizable.
20279
20280 2011-11-08 Glenn Morris <rgm@gnu.org>
20281
20282 * progmodes/delphi.el (delphi-mode-syntax-table):
20283 Let define-derived-mode define a proper syntax table. (Bug#9994)
20284
20285 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
20286
20287 * window.el: Stay away from defsubst.
20288 (window-list-no-nils): Remove.
20289 (window-state-get-1, window-state-get): Use backquote instead.
20290
20291 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
20292
20293 * emacs-lisp/find-func.el (find-function-read):
20294 Fix incorrect use of default argument in `completing-read'.
20295
20296 2011-11-08 Martin Rudalics <rudalics@gmx.at>
20297
20298 * window.el (display-buffer-function, special-display-function):
20299 Mention display-buffer-record-window but do not mention
20300 help-setup parameter in doc-strings.
20301 (window-min-delta): Fix doc-string typo.
20302
20303 2011-11-08 Chong Yidong <cyd@gnu.org>
20304
20305 * window.el (window-total-height, window-total-width): Doc fix.
20306 (window-body-size): Move from C.
20307 (window-body-height, window-body-width): Move to C.
20308
20309 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
20310
20311 * window.el: Make special-display like display-buffer-alist (bug#9532).
20312 (display-buffer--special-action): New function, morphed
20313 from display-buffer--special.
20314 (display-buffer): Use it to handle special-display-buffers at higher
20315 priority (just after display-buffer-alist).
20316 (display-buffer-fallback-action, display-buffer--other-frame-action)
20317 (pop-to-buffer-same-window): Remove display-buffer--special.
20318
20319 2011-11-07 Glenn Morris <rgm@gnu.org>
20320
20321 * calendar/cal-menu.el (cal-menu-set-date-title):
20322 Do nothing if not in a calendar. (Bug#9976)
20323
20324 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
20325
20326 * files.el (find-file): Always use selected-window.
20327
20328 2011-11-07 Martin Rudalics <rudalics@gmx.at>
20329
20330 * window.el (window-combinations): Make WINDOW argument
20331 mandatory. Rewrite doc-string.
20332 (walk-window-subtree, window-atom-check, window-min-delta)
20333 (window-max-delta, window--resize-this-window)
20334 (window--resize-root-window-vertically, window-tree)
20335 (balance-windows, window-state-put): Rewrite doc-strings as to
20336 not mention the term "subwindow".
20337 (window--resize-subwindows-skip-p): Rename to
20338 window--resize-child-windows-skip-p.
20339 (window--resize-subwindows-normal): Rename to
20340 window--resize-child-windows-normal.
20341 (window--resize-subwindows): Rename to
20342 window--resize-child-windows.
20343 (window-or-subwindow-p): Rename to window--in-subtree-p.
20344
20345 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
20346
20347 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
20348 Ensure that mbox format messages end in two newlines (Bug#9974).
20349
20350 2011-11-06 Chong Yidong <cyd@gnu.org>
20351
20352 * window.el (window-combination-p): Function deleted; its
20353 side-effect is not used in any existing code.
20354 (window-combinations, window-combined-p): Call window-*-child
20355 directly.
20356
20357 2011-11-05 Chong Yidong <cyd@gnu.org>
20358
20359 * window.el (window-valid-p): Rename from window-any-p.
20360 (window-size-ignore, window-state-get): Callers changed.
20361 (window-normalize-window): Rename from window-normalize-any-window.
20362 New arg LIVE-ONLY, replacing window-normalize-live-window.
20363 (window-normalize-live-window): Delete.
20364 (window-combination-p, window-combined-p, window-combinations)
20365 (walk-window-subtree, window-atom-root, window-min-size)
20366 (window-sizable, window-sizable-p, window-size-fixed-p)
20367 (window-min-delta, window-max-delta, window-resizable)
20368 (window-resizable-p, window-full-height-p, window-full-width-p)
20369 (window-current-scroll-bars, window-point-1, set-window-point-1)
20370 (window-at-side-p, window-in-direction, window-resize)
20371 (adjust-window-trailing-edge, maximize-window, minimize-window)
20372 (window-deletable-p, delete-window, delete-other-windows)
20373 (record-window-buffer, unrecord-window-buffer)
20374 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
20375 (quit-window, split-window, window-state-put)
20376 (set-window-text-height, fit-window-to-buffer)
20377 (shrink-window-if-larger-than-buffer): Callers changed.
20378
20379 2011-11-04 Eli Zaretskii <eliz@gnu.org>
20380
20381 * mail/rmail.el (rmail-simplified-subject): Decode subject with
20382 rfc2047-decode-string.
20383 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
20384 warnings.
20385
20386 * window.el (window-body-height, window-body-width): Mention in
20387 the doc string that the return values are in frame's canonical
20388 units. (Bug#9949)
20389
20390 2011-11-03 Alan Mackenzie <acm@muc.de>
20391
20392 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
20393 change in cc-engine.el.
20394
20395 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
20396
20397 * window.el (switch-to-buffer): Use `force-same-window' interactively.
20398
20399 2011-11-02 Martin Rudalics <rudalics@gmx.at>
20400
20401 * window.el (quit-window): Call unrecord-window-buffer after
20402 showing another buffer in the window. (Bug#9937)
20403 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
20404
20405 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
20406
20407 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
20408 Accept status with more than 9 shelves. (Bug#9935)
20409 Reported by Colin D Bennett <colin@gibibit.com>.
20410
20411 2011-11-01 Martin Rudalics <rudalics@gmx.at>
20412
20413 * help.el (with-help-window): Don't reference
20414 temp-buffer-show-specifiers in doc-string.
20415
20416 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
20417
20418 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
20419 menu-item.
20420
20421 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
20422
20423 * whitespace.el: New version 13.2.2.
20424 (whitespace-newline-mode): Disable properly. Reported by Sarah
20425 <EmacsWiki>.
20426
20427 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
20428
20429 * net/newst-treeview.el: Remove "Time-stamp".
20430 (newsticker--group-manage-orphan-feeds): Do not call
20431 newsticker--treeview-tree-update.
20432 (newsticker-treeview-update, newsticker-treeview):
20433 Call newsticker--treeview-tree-update if necessary.
20434
20435 2011-10-30 Martin Rudalics <rudalics@gmx.at>
20436
20437 * window.el (window-iso-combination-p, window-iso-combined-p)
20438 (window-iso-combinations): Remove "iso-" infix.
20439 Suggested by Chong Yidong.
20440 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
20441 (window-max-delta-1, window-resize, window--resize-siblings)
20442 (window--resize-this-window, adjust-window-trailing-edge)
20443 (split-window, balance-windows-1)
20444 (shrink-window-if-larger-than-buffer):
20445 * calendar/calendar.el (calendar-generate-window):
20446 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
20447
20448 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
20449
20450 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
20451 in place (bug#9907).
20452 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
20453 (eshell-rewrite-if-command, eshell-rewrite-for-command)
20454 (eshell-structure-basic-command, eshell-rewrite-while-command)
20455 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
20456 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
20457 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
20458 (eshell-do-pipelines-synchronously, eshell-eval-command):
20459 Use backquotes and prefer setq to set.
20460 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
20461 (eshell-macrop): Use functionp.
20462 (eshell-do-eval): Handle multiple expressions in `while' body.
20463
20464 2011-10-30 Chong Yidong <cyd@gnu.org>
20465
20466 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
20467 instead of set-mark (Bug#9810).
20468
20469 2011-10-30 Chong Yidong <cyd@gnu.org>
20470
20471 * window.el (split-window-below, split-window-right): Rename from
20472 split-window-above-each-other and split-window-side-by-side
20473 respectively. All callers changed.
20474 (split-window-sensibly, split-window-sensibly): Use them.
20475 (split-window-keep-point): Doc fix.
20476
20477 * isearch.el: Add isearch-scroll property to split-window-below
20478 and split-window-right.
20479
20480 * follow.el (follow-mode):
20481 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
20482 * progmodes/ada-xref.el (ada-gdb-application):
20483 * emulation/vip.el (vip-buffer-in-two-windows):
20484 * image-dired.el (image-dired-dired-with-window-configuration):
20485 * dired-x.el (dired-do-find-marked-files):
20486 * dired.el (dired-pop-to-buffer):
20487 * bs.el (bs--show-with-configuration):
20488 * vc/emerge.el (emerge-setup-windows):
20489 * textmodes/two-column.el (2C-two-columns):
20490 * textmodes/reftex-toc.el (reftex-toc):
20491 * progmodes/gdb-mi.el (gdb-setup-windows):
20492 * progmodes/fortran.el (fortran-window-create):
20493 * net/newst-treeview.el (newsticker--treeview-window-init):
20494 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
20495 * emulation/tpu-edt.el (tpu-gold-map):
20496 * emulation/crisp.el (crisp-mode-map):
20497 * calendar/calendar.el (calendar-basic-setup): Callers changed.
20498
20499 2011-10-29 Chong Yidong <cyd@gnu.org>
20500
20501 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
20502
20503 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
20504
20505 * textmodes/flyspell.el (flyspell-word): Fix char offset for
20506 forged Ispell output (Bug#7904).
20507
20508 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
20509
20510 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
20511
20512 * doc-view.el: Avoid ugly errors about not finding nil.
20513 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
20514 (doc-view-dvipdf-program, doc-view-unoconv-program)
20515 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
20516 Avoid nil or absolute file name as default value.
20517 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
20518
20519 2011-10-28 Alan Mackenzie <acm@muc.de>
20520
20521 * progmodes/cc-defs.el (c-version): -> 5.32.2.
20522
20523 2011-10-28 Alan Mackenzie <acm@muc.de>
20524
20525 Amend the handling of c-beginning/end-of-defun in nested declaration
20526 scopes.
20527
20528 * progmodes/cc-vars.el (c-defun-tactic): Move here from
20529 cc-langs.el. Change it to a defcustom.
20530
20531 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
20532 cc-vars.el.
20533
20534 * progmodes/cc-engine.el (c-beginning-of-statement-1):
20535 Prevent "class foo : bar" being spuriously recognized as a label.
20536
20537 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
20538 Add parameter `inclusive' (to include enclosing braces in the region).
20539 (c-widen-to-enclosing-decl-scope): New function.
20540 (c-while-widening-to-decl-block): New macro.
20541 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
20542 outward for defun boundaries, and correspondingly change symbol
20543 `respect-enclosure' to `go-outward'.
20544 (c-declaration-limits): Change algorithm to report only the "innermost"
20545 defun's boundaries.
20546
20547 2011-10-28 Deniz Dogan <deniz@dogan.se>
20548
20549 * net/rcirc.el (rcirc-mode): Use hard newlines.
20550
20551 2011-10-28 Alan Mackenzie <acm@muc.de>
20552
20553 Amend to indent and fontify macros "which include their own semicolon"
20554 correctly, using the "virtual semicolon" mechanism.
20555
20556 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
20557
20558 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
20559 Recode to scan one line at a time rather than having \n and \r
20560 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
20561 (c-forward-label): Amend for virtual semicolons.
20562 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
20563
20564 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
20565 of the new C macros.
20566
20567 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
20568 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
20569 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
20570 (c-opt-cpp-macro-define): Make into a full language variable.
20571 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
20572 AWK Mode (including \n, \r) removed, no longer needed.
20573
20574 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
20575 Invoke c-make-macro-with-semi-re.
20576
20577 * progmodes/cc-vars.el (c-macro-with-semi-re):
20578 (c-macro-names-with-semicolon): New variables.
20579 (c-make-macro-with-semi-re): New function.
20580
20581 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
20582
20583 * vc/log-edit.el: Fill empty field rather than adding new one.
20584 (log-edit-add-field): New function.
20585 (log-edit-insert-changelog): Use it.
20586
20587 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
20588
20589 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
20590
20591 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
20592
20593 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
20594 (gdb--check-interpreter): New function.
20595 (gdb): Use it.
20596
20597 2011-10-27 Glenn Morris <rgm@gnu.org>
20598
20599 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
20600 (least-positive-float, least-negative-float)
20601 (least-positive-normalized-float, least-negative-normalized-float)
20602 (float-epsilon, float-negative-epsilon):
20603 Remove unnecessary declarations.
20604
20605 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
20606 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
20607 (least-positive-float, least-negative-float)
20608 (least-positive-normalized-float, least-negative-normalized-float)
20609 (float-epsilon, float-negative-epsilon): Add doc-strings,
20610 based on those in cl.texi.
20611
20612 * files.el (set-visited-file-name): If the major-mode changed,
20613 reload the local variables. (Bug#9796)
20614
20615 2011-10-27 Chong Yidong <cyd@gnu.org>
20616
20617 * subr.el (change-major-mode-after-body-hook): New hook.
20618 (run-mode-hooks): Run it.
20619
20620 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
20621 Use change-major-mode-before-body-hook.
20622
20623 * simple.el (fundamental-mode):
20624 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
20625 change introducing fundamental-mode-hook.
20626
20627 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
20628
20629 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
20630
20631 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
20632
20633 * ido.el (ido-file-name-all-completions-1): Do not require
20634 tramp.el explicitly. (Bug#7583)
20635
20636 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
20637
20638 * progmodes/octave-mod.el:
20639 * progmodes/octave-inf.el: Update maintainer.
20640
20641 2011-10-26 Chong Yidong <cyd@gnu.org>
20642
20643 * subr.el (with-wrapper-hook): Rewrite doc.
20644
20645 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
20646
20647 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
20648 filenames "/method:foo:". (Bug#9793)
20649
20650 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
20651
20652 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
20653 (bug#9865).
20654
20655 2011-10-24 Glenn Morris <rgm@gnu.org>
20656
20657 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
20658
20659 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
20660
20661 * notifications.el: Add the requirement of a running D-Bus session
20662 bus to the Commentary.
20663
20664 2011-10-24 Juri Linkov <juri@jurta.org>
20665
20666 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
20667 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
20668 (Bug#9364)
20669
20670 2011-10-24 Juri Linkov <juri@jurta.org>
20671
20672 * info.el (Info-following-node-name-re): Add newline to the list
20673 of allowed characters for leading space. (Bug#9824)
20674
20675 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
20676
20677 * progmodes/octave-inf.el (inferior-octave-mode-map):
20678 Fix C-c C-h binding.
20679 * progmodes/octave-mod.el (octave-help): Remove.
20680
20681 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
20682
20683 Sync with Tramp 2.2.3.
20684
20685 * net/tramp-cache.el (top): Pacify byte-compiler using
20686 `init-file-user' and `site-run-file'.
20687
20688 * net/trampver.el: Update release number.
20689
20690 2011-10-23 Chong Yidong <cyd@gnu.org>
20691
20692 * files.el (toggle-read-only): Remove obsolete comment about
20693 version control.
20694
20695 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
20696 for toggle-read-only. Note that this hasn't called vc-next-action
20697 since 2008-05-02, though it wasn't documented at the time.
20698
20699 * vc/ediff-init.el (ediff-toggle-read-only-function):
20700 Use toggle-read-only.
20701
20702 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
20703
20704 Fix bug #9560, sporadic wrong indentation; improve instrumentation
20705 of c-parse-state.
20706
20707 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
20708 correct faulty logical expression.
20709 (c-parse-state-state, c-record-parse-state-state):
20710 (c-replay-parse-state-state): New defvar/defuns.
20711 (c-debug-parse-state): Use new functions.
20712
20713 2011-10-22 Martin Rudalics <rudalics@gmx.at>
20714
20715 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
20716 last fix. Use window-in-direction correctly.
20717
20718 2011-10-21 Chong Yidong <cyd@gnu.org>
20719
20720 * progmodes/idlwave.el (idlwave-mode):
20721 * progmodes/vera-mode.el (vera-mode): No need to set
20722 require-final-newline; that's done in prog-mode.
20723 Suggested by Stefan Monnier.
20724
20725 2011-10-21 Martin Rudalics <rudalics@gmx.at>
20726
20727 * mouse.el (mouse-drag-window-above)
20728 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
20729 (mouse-drag-mode-line-1, mouse-drag-header-line)
20730 (mouse-drag-vertical-line-rightward-window): Remove.
20731 (mouse-drag-line): New function.
20732 (mouse-drag-mode-line, mouse-drag-header-line)
20733 (mouse-drag-vertical-line): Call mouse-drag-line.
20734 * window.el (window-at-side-p, windows-at-side): New functions.
20735
20736 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
20737
20738 * tar-mode.el (tar-grind-file-mode):
20739 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
20740
20741 2011-10-21 Chong Yidong <cyd@gnu.org>
20742
20743 * progmodes/idlwave.el (idlwave-mode):
20744 * progmodes/vera-mode.el (vera-mode):
20745 Use mode-require-final-newline.
20746
20747 2011-10-20 Glenn Morris <rgm@gnu.org>
20748
20749 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
20750
20751 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
20752
20753 * emulation/cua-base.el (cua-set-mark): Fix case of string.
20754
20755 2011-10-20 Chong Yidong <cyd@gnu.org>
20756
20757 * emulation/cua-base.el (cua-mode):
20758 * mail/footnote.el (footnote-mode):
20759 * mail/mailabbrev.el (mail-abbrevs-mode):
20760 * net/xesam.el (xesam-minor-mode):
20761 * progmodes/bug-reference.el (bug-reference-mode):
20762 * progmodes/cap-words.el (capitalized-words-mode):
20763 * progmodes/compile.el (compilation-minor-mode)
20764 (compilation-shell-minor-mode):
20765 * progmodes/gud.el (gud-tooltip-mode):
20766 * progmodes/hideif.el (hide-ifdef-mode):
20767 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
20768 * progmodes/subword.el (subword-mode):
20769 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
20770 * progmodes/which-func.el (which-function-mode):
20771 * term/tvi970.el (tvi970-set-keypad-mode):
20772 * term/vt100.el (vt100-wide-mode):
20773 * textmodes/flyspell.el (flyspell-mode):
20774 * textmodes/ispell.el (ispell-minor-mode):
20775 * textmodes/nroff-mode.el (nroff-electric-mode):
20776 * textmodes/paragraphs.el (use-hard-newlines):
20777 * textmodes/refill.el (refill-mode):
20778 * textmodes/reftex.el (reftex-mode):
20779 * textmodes/rst.el (rst-minor-mode):
20780 * textmodes/sgml-mode.el (html-autoview-mode)
20781 (sgml-electric-tag-pair-mode):
20782 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
20783 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
20784 * emulation/crisp.el (crisp-mode):
20785 * emacs-lisp/eldoc.el (eldoc-mode):
20786 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
20787 minor mode behavior.
20788
20789 2011-10-19 Juri Linkov <juri@jurta.org>
20790
20791 * descr-text.el (describe-char): Add #x2010 and #x2011 to
20792 the list of hard-coded chars with escape-glyph face.
20793
20794 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
20795
20796 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
20797
20798 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
20799
20800 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
20801 running process.
20802
20803 2011-10-19 Glenn Morris <rgm@gnu.org>
20804
20805 * vc/vc-bzr.el (vc-bzr-after-dir-status):
20806 Ignore ignored files. (Bug#9726)
20807
20808 2011-10-19 Chong Yidong <cyd@gnu.org>
20809
20810 Doc fix for minor modes, stating that an omitted argument enables
20811 the mode unconditionally when called from Lisp.
20812
20813 * abbrev.el (abbrev-mode):
20814 * allout.el (allout-mode):
20815 * autoinsert.el (auto-insert-mode):
20816 * autoarg.el (autoarg-mode, autoarg-kp-mode):
20817 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
20818 (global-auto-revert-mode):
20819 * battery.el (display-battery-mode):
20820 * composite.el (global-auto-composition-mode)
20821 (auto-composition-mode):
20822 * delsel.el (delete-selection-mode):
20823 * desktop.el (desktop-save-mode):
20824 * dired-x.el (dired-omit-mode):
20825 * dirtrack.el (dirtrack-mode):
20826 * doc-view.el (doc-view-minor-mode):
20827 * double.el (double-mode):
20828 * electric.el (electric-indent-mode, electric-pair-mode):
20829 * emacs-lock.el (emacs-lock-mode):
20830 * epa-hook.el (auto-encryption-mode):
20831 * follow.el (follow-mode):
20832 * font-core.el (font-lock-mode):
20833 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
20834 * help.el (temp-buffer-resize-mode):
20835 * hilit-chg.el (highlight-changes-mode)
20836 (highlight-changes-visible-mode):
20837 * hi-lock.el (hi-lock-mode):
20838 * hl-line.el (hl-line-mode, global-hl-line-mode):
20839 * icomplete.el (icomplete-mode):
20840 * ido.el (ido-everywhere):
20841 * image-file.el (auto-image-file-mode):
20842 * image-mode.el (image-minor-mode):
20843 * iswitchb.el (iswitchb-mode):
20844 * jka-cmpr-hook.el (auto-compression-mode):
20845 * linum.el (linum-mode):
20846 * longlines.el (longlines-mode):
20847 * master.el (master-mode):
20848 * mb-depth.el (minibuffer-depth-indicate-mode):
20849 * menu-bar.el (menu-bar-mode):
20850 * minibuf-eldef.el (minibuffer-electric-default-mode):
20851 * mouse-sel.el (mouse-sel-mode):
20852 * msb.el (msb-mode):
20853 * mwheel.el (mouse-wheel-mode):
20854 * outline.el (outline-minor-mode):
20855 * paren.el (show-paren-mode):
20856 * recentf.el (recentf-mode):
20857 * reveal.el (reveal-mode, global-reveal-mode):
20858 * rfn-eshadow.el (file-name-shadow-mode):
20859 * ruler-mode.el (ruler-mode):
20860 * savehist.el (savehist-mode):
20861 * scroll-all.el (scroll-all-mode):
20862 * scroll-bar.el (scroll-bar-mode):
20863 * server.el (server-mode):
20864 * shell.el (shell-dirtrack-mode):
20865 * simple.el (auto-fill-mode, transient-mark-mode)
20866 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
20867 (line-number-mode, column-number-mode, size-indication-mode)
20868 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
20869 * strokes.el (strokes-mode):
20870 * time.el (display-time-mode):
20871 * t-mouse.el (gpm-mouse-mode):
20872 * tool-bar.el (tool-bar-mode):
20873 * tooltip.el (tooltip-mode):
20874 * type-break.el (type-break-mode-line-message-mode)
20875 (type-break-query-mode):
20876 * view.el (view-mode):
20877 * whitespace.el (whitespace-mode, whitespace-newline-mode)
20878 (global-whitespace-mode, global-whitespace-newline-mode):
20879 * xt-mouse.el (xterm-mouse-mode): Doc fix.
20880
20881 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
20882 Fix autogenerated docstring.
20883
20884 2011-10-19 Juri Linkov <juri@jurta.org>
20885
20886 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
20887 by checking environment variables "DESKTOP_SESSION" and
20888 "XDG_CURRENT_DESKTOP". (Bug#9779)
20889
20890 2011-10-19 Juri Linkov <juri@jurta.org>
20891
20892 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
20893 (browse-url-chromium-program, browse-url-chromium-arguments):
20894 New defcustoms.
20895 (browse-url-default-browser): Check for `browse-url-chromium' and
20896 call `browse-url-chromium-program'.
20897 (browse-url-chromium): New command. (Bug#9779)
20898
20899 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
20900
20901 * facemenu.el (list-colors-duplicates): On Windows, detect more
20902 duplicates by assuming that only colors matching "^System" are
20903 special "system colors". (Bug#9722)
20904
20905 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
20906
20907 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
20908 to distinguish the author from the committer.
20909
20910 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
20911
20912 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
20913
20914 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
20915
20916 * international/mule.el (sgml-html-meta-auto-coding-function):
20917 Add support for detecting encoding in HTML5 specified only as
20918 <meta charset="UTF-8">. Implementation just makes http-equiv and
20919 content-type parts from HTML4 encoding string optional. (Bug#9716)
20920
20921 2011-10-18 Glenn Morris <rgm@gnu.org>
20922
20923 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
20924
20925 2011-10-18 Chong Yidong <cyd@gnu.org>
20926
20927 * faces.el (cursor): Doc fix.
20928
20929 2011-10-17 Chong Yidong <cyd@gnu.org>
20930
20931 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
20932
20933 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
20934
20935 * dirtrack.el (dirtrack): Support shell buffers with path
20936 prefixes, e.g. tramp-based remote shells. (Bug#9647)
20937
20938 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
20939
20940 * json.el: Bump version to 1.3 and note change in History.
20941 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
20942
20943 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
20944
20945 * comint.el (comint-insert-input, comint-send-input)
20946 (comint-get-old-input-default, comint-backward-matching-input)
20947 (comint-next-prompt): Use nil instead of `input' for field property of
20948 past user input (bug#114).
20949
20950 * minibuffer.el (completion--replace): Inherit surrounding properties
20951 (bug#114).
20952 (minibuffer-complete-and-exit): Use it.
20953
20954 * comint.el (comint--table-subvert): Quote the all-completions output
20955 (bug#9160).
20956
20957 2011-10-17 Martin Rudalics <rudalics@gmx.at>
20958
20959 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
20960
20961 * menu-bar.el (menu-bar-file-menu): Add entry for making new
20962 window on right of selected. (Bug#9350) Reword other window
20963 entries and separate them from frame entries.
20964
20965 2011-10-15 Glenn Morris <rgm@gnu.org>
20966
20967 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
20968 Doc fixes.
20969
20970 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
20971
20972 * net/network-stream.el (network-stream-open-starttls):
20973 Improve detection of failure due to lack of TLS support.
20974
20975 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
20976 putting the input text in front and in bold.
20977
20978 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
20979
20980 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
20981
20982 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
20983 empty buffer.
20984
20985 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
20986 unread-command-events rather than pushing yet-another event.
20987
20988 2011-10-14 Eli Zaretskii <eliz@gnu.org>
20989
20990 * mail/sendmail.el (sendmail-query-once): Improve the wording of
20991 the explanation of the possible choices. Make the options passed
20992 to completing-read shorter.
20993
20994 2011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
20995
20996 * textmodes/flyspell.el (flyspell-large-region): Make sure
20997 extended character mode is used if defined (Bug#1339).
20998
20999 2011-10-13 Eli Zaretskii <eliz@gnu.org>
21000
21001 * simple.el (what-cursor-position): Fix the display of the
21002 character info for LRE, LRO, RLE, and RLO characters by appending
21003 an invisible PDF.
21004
21005 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
21006
21007 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
21008 even in case of error; add debug spec; simplify data flow.
21009 (with-timeout-handler): Remove.
21010
21011 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
21012
21013 Fix Bug#6019, Bug#9315.
21014
21015 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
21016 complete `buffer-file-name', the local file name part could look
21017 remotely (for example on VMS).
21018
21019 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
21020 `tramp-run-real-handler'.
21021 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
21022 already quoted by '"'.
21023
21024 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
21025 Let `file-name-handler-alist' be nil, the local file name part
21026 could look remotely (for example on VMS).
21027
21028 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
21029
21030 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
21031 from here...
21032 (flyspell-post-command-hook): ...to here.
21033
21034 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
21035
21036 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
21037 if not needed.
21038 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
21039 using completion. Protect against "slow" callers.
21040 Remove the "message hack".
21041
21042 2011-10-11 Juri Linkov <juri@jurta.org>
21043
21044 * isearch.el (isearch-lazy-highlight-word): New variable.
21045 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
21046 Use it. (Bug#9727)
21047
21048 2011-10-11 Glenn Morris <rgm@gnu.org>
21049
21050 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
21051 like f90-previous-statement does.
21052
21053 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
21054
21055 * eshell/eshell.el (eshell-command): History should be saved
21056 only in interactive use, to avoid error.
21057
21058 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
21059
21060 * minibuffer.el (completion-file-name-table): Fix last change,
21061 i.e. ignore normal errors but not the other ones.
21062
21063 2011-10-10 Martin Rudalics <rudalics@gmx.at>
21064
21065 * window.el (special-display-buffer-names)
21066 (special-display-regexps): Remove some remnants of earlier
21067 changes from doc-strings.
21068 (quit-windows-on): New function.
21069
21070 * vc/vc.el (vc-revert, vc-rollback):
21071 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
21072 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
21073 (Bug#6183) (Bug#7074) (Bug#7447)
21074
21075 2011-10-09 Martin Rudalics <rudalics@gmx.at>
21076
21077 * window.el (frame-auto-hide-function): Add version tag.
21078 (Bug#9699)
21079
21080 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
21081
21082 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
21083 condition.
21084
21085 2011-10-09 Leo Liu <sdl.web@gmail.com>
21086
21087 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
21088 (Bug#9701)
21089
21090 2011-10-08 Glenn Morris <rgm@gnu.org>
21091
21092 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
21093 before the first code statement zero indent. (Bug#9690)
21094
21095 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
21096
21097 * simple.el (count-words-region): Always count in the region.
21098 Report the number of lines and characters too.
21099 (count-words): New command, which counts in the buffer if the
21100 region is inactive, as count-words-region used to.
21101 (count-words--message): New function. Handle plurals.
21102 (count-lines-region): Make it an alias for count-words-region.
21103
21104 * bindings.el (esc-map): Replace count-lines-region with
21105 count-words-region.
21106
21107 2011-10-08 Martin Rudalics <rudalics@gmx.at>
21108
21109 * window.el (window--delete): Delete dedicated frame
21110 unconditionally when argument KILL is non-nil. (Bug#9699)
21111 (switch-to-buffer): Fix doc-string typo.
21112
21113 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
21114
21115 * eshell/eshell.el (eshell-command): Avoid using hooks.
21116
21117 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
21118
21119 * bindings.el ([M-left], [M-right]): Bind to left-word and
21120 right-word respectively.
21121
21122 2011-10-07 Glenn Morris <rgm@gnu.org>
21123
21124 * cus-start.el (debug-on-quit): Fix custom type.
21125
21126 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
21127
21128 * subr.el (define-key-after): Clarify that the function is not
21129 useful for non-menu keymaps.
21130
21131 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
21132
21133 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
21134
21135 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
21136 in current minibuffer (Fix bug with recursive minibuffers).
21137
21138 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
21139
21140 * progmodes/gdb-mi.el (gdb): Doc fix.
21141
21142 2011-10-05 Martin Rudalics <rudalics@gmx.at>
21143
21144 * window.el (frame-auto-hide-function): New option replacing
21145 frame-auto-delete. Suggested by Stefan Monnier.
21146 (window--delete): Call frame-auto-hide-function instead of
21147 investigating frame-auto-delete.
21148 (window-point-1, set-window-point-1): New functions.
21149 (window-in-direction, record-window-buffer, window-state-get-1)
21150 (display-buffer-record-window): Use window-point-1 instead of
21151 window-point.
21152 (set-window-buffer-start-and-point): Use set-window-point-1.
21153
21154 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
21155
21156 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
21157
21158 2011-10-05 Glenn Morris <rgm@gnu.org>
21159
21160 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
21161 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
21162
21163 2011-10-05 Leo Liu <sdl.web@gmail.com>
21164
21165 * subr.el (read-char-choice): Fix argument to buffer-live-p which
21166 works with buffer object.
21167
21168 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
21169
21170 * mpc.el (mpc-tool-bar-map): Add labels.
21171
21172 2011-10-04 Glenn Morris <rgm@gnu.org>
21173
21174 * calendar/holidays.el (calendar-check-holidays): Doc fix.
21175
21176 2011-10-04 Martin Rudalics <rudalics@gmx.at>
21177
21178 * window.el (window--delete): New function.
21179 (frame-auto-delete): Resuscitate option.
21180 (bury-buffer, replace-buffer-in-windows)
21181 (quit-window): Rewrite using window--delete.
21182 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
21183 Pass display-buffer-mark-dedicated to window--display-buffer-2
21184 (Bug#9639).
21185
21186 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
21187
21188 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
21189 returns a list (bug#9554). Add remote file name completion.
21190 * comint.el (comint--table-subvert): Curry and get quote&unquote
21191 functions as arguments.
21192 (comint--complete-file-name-data): Adjust call accordingly.
21193 * pcomplete.el (pcomplete--table-subvert): Remove.
21194 (pcomplete-completions-at-point): Use comint--table-subvert instead.
21195
21196 * minibuffer.el (completion-table-case-fold): Use currying.
21197 (completion--styles-type, completion--cycling-threshold-type):
21198 New constants.
21199 (completion-styles, completion-category-overrides)
21200 (completion-cycle-threshold): Use them.
21201 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
21202 completion-table-case-fold.
21203
21204 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
21205
21206 * minibuffer.el (completion-category-overrides): Fix type of styles
21207 and add more user friendly tags (bug#9660).
21208
21209 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
21210
21211 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
21212 (mule-input-method-string): New widget.
21213 (default-input-method, language-info-custom-alist): Use it.
21214
21215 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
21216
21217 * pcomplete.el: Require comint.
21218 (pcomplete--common-suffix): Remove.
21219 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
21220 (pcomplete--table-subvert): Sync with comint--table-subvert.
21221 (pcomplete--entries): Use comint-completion-file-name-table.
21222 * comint.el (comint-unquote-filename): Simplify.
21223 (comint-completion-file-name-table): New function (bug#9616).
21224 (comint--complete-file-name-data): Use it.
21225
21226 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
21227 (pcmpl-gnu-tar-buffer): Remove.
21228 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
21229 around. Make sure pcomplete-suffix-list is only changed temporarily.
21230 Don't look inside the tar's file if it's too large.
21231
21232 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
21233
21234 * cus-edit.el (custom-mode-map):
21235 * epa.el (epa-key-list-mode-map):
21236 * man.el (Man-mode-map):
21237 * startup.el (splash-screen-keymap):
21238 * simple.el (special-mode-map): Use scroll-up-command and
21239 scroll-down-command.
21240
21241 * progmodes/idlw-help.el (idlwave-help-mode-map):
21242 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
21243 * net/newst-plainview.el (newsticker-mode-map):
21244 * emulation/ws-mode.el (wordstar-mode-map):
21245 * emulation/vi.el (vi-com-map):
21246 * calc/calc-graph.el (calc-graph-show-dumb):
21247 * term/sun.el (terminal-init-sun):
21248 * term/ns-win.el (global-map):
21249 * progmodes/grep.el (grep-mode-map):
21250 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
21251 * mail/rmail.el (rmail-mode-map):
21252 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
21253
21254 * custom.el (custom-safe-themes, load-theme): Treat value of t for
21255 custom-safe-themes as special.
21256
21257 2011-10-01 Julien Danjou <julien@danjou.info>
21258
21259 * notifications.el (notifications-notify): Fix docstring.
21260
21261 2011-10-01 Per Starbäck <per@starback.se>
21262
21263 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
21264
21265 2011-09-30 Martin Rudalics <rudalics@gmx.at>
21266
21267 * startup.el (command-line-1): Fix last fix by inserting
21268 initial-scratch-message into *scratch* before displaying it.
21269 (Bug#9605) and (Bug#9636)
21270
21271 2011-09-29 Eli Zaretskii <eliz@gnu.org>
21272
21273 * simple.el (line-move): If auto-hscroll-mode is disabled and the
21274 window is hscrolled, move by logical lines. (Bug#9607)
21275 (line-move-visual): Update the doc string to the above effect.
21276
21277 2011-09-29 Martin Rudalics <rudalics@gmx.at>
21278
21279 * window.el (display-buffer-record-window): When WINDOW is the
21280 selected window use `point' instead of `window-point'. (Bug#9626)
21281
21282 * startup.el (command-line-1): Use insert-before-markers when
21283 inserting initial-scratch-message. (Bug#9605)
21284
21285 * help.el (help-window): Remove variable.
21286
21287 2011-09-29 Glenn Morris <rgm@gnu.org>
21288
21289 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
21290
21291 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
21292
21293 * descr-text.el (describe-char-categories): Accept category
21294 descriptions more than one line long.
21295
21296 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
21297
21298 * simple.el (delete-trailing-whitespace): Fix last change.
21299
21300 * progmodes/perl-mode.el (perl-syntax-propertize-function):
21301 Don't confuse "y => 3" as the beginning of a `y' operation.
21302
21303 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
21304 object has more than 4 slots (bug#9613).
21305
21306 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
21307
21308 * subr.el (with-output-to-temp-buffer):
21309 * net/quickurl.el (quickurl, quickurl-browse-url):
21310 Fix typos in docstrings.
21311
21312 2011-09-27 Eli Zaretskii <eliz@gnu.org>
21313
21314 * minibuffer.el (completion-styles)
21315 (completion-category-overrides): Cross reference each other in doc
21316 strings.
21317
21318 2011-09-27 Glenn Morris <rgm@gnu.org>
21319
21320 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
21321 to split-string. (Bug#9606)
21322
21323 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
21324
21325 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
21326 (bug#9615).
21327
21328 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
21329
21330 * emacs-lisp/package.el (list-packages): Fix echo area message.
21331
21332 2011-09-27 Leo Liu <sdl.web@gmail.com>
21333
21334 * ido.el (ido-read-internal): Accept cons cell HIST arg.
21335
21336 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
21337
21338 * net/dbus.el (dbus-unregister-object): Don't release services for
21339 registered signals. (Bug#9581)
21340
21341 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
21342
21343 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
21344 function that picks between cfengine 2 and 3 support
21345 automatically. Update docs accordingly.
21346
21347 2011-09-22 Kenichi Handa <handa@m17n.org>
21348
21349 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
21350 ZERO.
21351 (indian-itrans-v5-table-for-tamil): New variable.
21352 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
21353
21354 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
21355
21356 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
21357 that's true if the current command involved collapsing of text.
21358 It's reset to false at the beginning of the next command.
21359 (allout-post-command-business): Move the cursor to the beginning
21360 of entry if the cursor is hidden and collapsing activity just
21361 happened.
21362
21363 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
21364
21365 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
21366 tracking (Bug#9541).
21367
21368 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
21369
21370 * net/newst-reader.el (newsticker-html-renderer)
21371 (newsticker-show-news): Automatically load html rendering package
21372 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
21373 because w3m-fill-column is let-bound" and the error "Symbol's value
21374 as variable is void: w3m-fill-column".
21375
21376 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
21377
21378 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
21379 Release services only if they are defined. (Bug#9581)
21380
21381 2011-09-23 Richard Stallman <rms@gnu.org>
21382
21383 * textmodes/paragraphs.el (forward-sentence): For backwards case,
21384 distinguish start of paragraph from start of its text.
21385
21386 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
21387
21388 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
21389 (rmail-generate-viewer-buffer): Put that hook on view buffer.
21390 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
21391
21392 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
21393
21394 * international/mule-diag.el (mule-diag): Insert a newline after
21395 each fontset description.
21396
21397 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
21398
21399 * simple.el (delete-trailing-whitespace):
21400 Document last change; simplify.
21401
21402 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
21403
21404 * simple.el (delete-trailing-whitespace): Also delete
21405 extra newlines at the end of the buffer.
21406
21407 * textmodes/picture.el: Make motion commands obey shift-select-mode.
21408 (picture-newline): Use forward-line so as to ignore fields.
21409
21410 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
21411
21412 * subr.el (with-wrapper-hook): Fix edebug spec.
21413
21414 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
21415
21416 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
21417 (bug#4538).
21418
21419 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
21420
21421 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
21422 Fix nasty bug using wrong cached values.
21423
21424 2011-09-23 Alan Mackenzie <acm@muc.de>
21425
21426 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
21427
21428 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
21429
21430 * window.el (pop-to-buffer): Ensure right window is selected if we
21431 chose another frame.
21432
21433 2011-09-22 Eli Zaretskii <eliz@gnu.org>
21434
21435 * simple.el (what-cursor-position): Use get-char-property-change
21436 and next-single-char-property-change, to be able to show display
21437 properties that come from overlays as well as text properties.
21438
21439 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
21440
21441 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
21442
21443 * cmuscheme.el (run-scheme, switch-to-scheme):
21444 * cus-edit.el (customize-group, custom-buffer-create)
21445 (customize-browse):
21446 * info.el (info):
21447 * shell.el (shell):
21448 * mail/sendmail.el (mail):
21449 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
21450
21451 2011-09-22 Richard Stallman <rms@gnu.org>
21452
21453 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
21454 move back only to line beg, don't move back over blank lines.
21455
21456 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
21457
21458 * files.el (copy-directory): Set directory attributes only in case
21459 they could be retrieved from the source directory. (Bug#9565)
21460
21461 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
21462
21463 * progmodes/hideshow.el (hs-looking-at-block-start-p)
21464 (hs-find-block-beginning, hs-hide-level-recursive):
21465 Ignore strings as well as comments. (Bug#9502)
21466
21467 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
21468
21469 * progmodes/sql.el (sql-comint-postgres):
21470 Convert port number to a string. (Bug#9566)
21471
21472 2011-09-22 Martin Rudalics <rudalics@gmx.at>
21473
21474 * window.el (quit-window): Undedicate window when switching to
21475 previous buffer. Reported by Thierry Volpiatto
21476 <thierry.volpiatto@gmail.com>.
21477 (special-display-popup-frame): When popping up a new frame reset
21478 its previous buffers to nil. Simplify code.
21479
21480 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
21481
21482 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
21483 and process filter, as done also in `shell-command'.
21484
21485 2011-09-21 Martin Rudalics <rudalics@gmx.at>
21486
21487 * window.el (set-window-buffer-start-and-point):
21488 Call set-window-start with NOFORCE argument t.
21489 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
21490 (quit-window): Reword doc-string. Handle new format of
21491 quit-restore parameter. Don't delete window if it has a
21492 previous buffer we can show instead of the present one.
21493 (display-buffer-record-window): Rewrite using a new format for
21494 the quit-restore window parameter
21495 (special-display-popup-frame, display-buffer-same-window)
21496 (display-buffer-reuse-window, display-buffer-pop-up-frame)
21497 (display-buffer-pop-up-window, display-buffer-use-some-window):
21498 Adapt symbol passed to display-buffer-record-window.
21499 * help.el (help-window-setup): Handle new format of quit-restore
21500 parameter.
21501
21502 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
21503
21504 * faces.el (face-list): Fix docstring (bug#9564).
21505
21506 * window.el (display-buffer--action-function-custom-type):
21507 Don't include internal functions in the Custom interface.
21508
21509 2011-09-20 Juri Linkov <juri@jurta.org>
21510
21511 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
21512 (Info-forward-node, Info-backward-node, Info-next-preorder)
21513 (Info-last-preorder): Use it. (Bug#9528)
21514
21515 2011-09-20 Juri Linkov <juri@jurta.org>
21516
21517 * info.el (Info-last-preorder): Visit last menu item only when
21518 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
21519
21520 2011-09-20 Julien Danjou <julien@danjou.info>
21521
21522 * password-cache.el (password-cache-remove): Remove entries even if the
21523 value is nil, so that password with a nil value (negative caching) is
21524 possible to invalidate.
21525
21526 2011-09-20 Lawrence Mitchell <wence@gmx.li>
21527
21528 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
21529 all whitespace around breakpoint. (Bug#9553)
21530 (f90-find-breakpoint): Only break at whitespace inside a comment.
21531
21532 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
21533
21534 * minibuffer.el (completion-file-name-table): Keep track of errors.
21535 (completion-table-with-predicate): Handle the case where pred1 is nil.
21536 * pcomplete.el (pcomplete-completions-at-point): Simplify.
21537
21538 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
21539
21540 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
21541 (debugger-return-value): Signal an error if the debugging context does
21542 not await any return value.
21543
21544 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
21545 * image-mode.el (image-toggle-display-text)
21546 (image-toggle-display-image): Stay away from evil `intangible'.
21547
21548 2011-09-19 Leo Liu <sdl.web@gmail.com>
21549
21550 * replace.el (occur-revert-arguments): Make it permanent-local.
21551 (occur-mode): Don't call font-lock-defontify.
21552
21553 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
21554
21555 * net/ldap.el (ldap-search-internal): Don't push empty search
21556 result (Bug#9508).
21557
21558 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
21559
21560 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
21561
21562 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
21563
21564 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
21565 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
21566
21567 2011-09-18 Juri Linkov <juri@jurta.org>
21568
21569 * buff-menu.el (Buffer-menu-mode-map):
21570 * dired.el (dired-mode-map):
21571 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
21572 (lisp-interaction-mode-map):
21573 * emacs-lisp/package.el (package-menu-mode-map):
21574 * epa.el (epa-key-list-mode-map):
21575 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
21576 (menu-bar-options-menu):
21577 * outline.el (outline-mode-menu-bar-map):
21578 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
21579 * vc/vc-dir.el (vc-dir-menu-map):
21580 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
21581 Capitalize non-function content words in menu item strings.
21582
21583 * dired.el (dired-mode-map): Add menu item for
21584 `image-dired-dired-toggle-marked-thumbs'.
21585
21586 2011-09-18 Juri Linkov <juri@jurta.org>
21587
21588 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
21589 to `isearch-case-fold-search' and restore its original value
21590 after the `isearch-mode' call.
21591
21592 2011-09-18 Juri Linkov <juri@jurta.org>
21593
21594 * progmodes/grep.el (grep-process-setup): Don't check code for 1
21595 because `zgrep' returns 1 for successful matches (bug#9226).
21596
21597 2011-09-18 Juri Linkov <juri@jurta.org>
21598
21599 * info.el (Info-extract-menu-node-name): Check the second match
21600 for empty string (second test-case of bug#9528).
21601 (Info-last-preorder): Let-bind `Info-history' to nil to not add
21602 intermediate nodes to the history (first test-case of bug#9528).
21603
21604 2011-09-18 Juri Linkov <juri@jurta.org>
21605
21606 * info.el (Info-mode-syntax-table): New variable.
21607 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
21608
21609 2011-09-18 Juri Linkov <juri@jurta.org>
21610
21611 * info.el (Info-file-supports-index-cookies):
21612 Increment line-beginning-position's arg from 3 to 4 because makeinfo
21613 outputs one more line for long file names (bug#4142).
21614
21615 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
21616
21617 * newcomment.el (comment-normalize-vars): If prompting for
21618 comment-start, set comment-start-skip too (Bug#8424).
21619
21620 2011-09-18 Johan Bockgård <bojohan@gnu.org>
21621
21622 * icomplete.el: Fix previous fix of Bug#5849.
21623 (icomplete-mode): Don't set completion-show-inline-help.
21624 (icomplete-minibuffer-setup): Set completion-show-inline-help
21625 locally during icompletion.
21626
21627 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
21628
21629 * woman.el (woman2-process-escapes): Don't delete unrecognized
21630 escapes (Bug#7843).
21631
21632 * files.el (inhibit-first-line-modes-regexps): Add image files.
21633 (hack-local-variables-prop-line): Return nil for malformed
21634 prop-lines (Bug#9044).
21635
21636 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
21637
21638 * net/tramp.el (top): Don't require 'shell.
21639 (tramp-methods): Fix docstring.
21640 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
21641 Return complete remote file name. Handle "smb" case.
21642 Use `tramp-tmpdir', if defined for the respective method.
21643 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
21644
21645 * net/tramp-compat.el (top): Require 'shell.
21646
21647 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
21648 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
21649 `tramp-current-host'.
21650 (tramp-get-remote-tmpdir): Remove.
21651
21652 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
21653 `tramp-tmpdir' entries.
21654 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
21655 (tramp-smb-handle-file-attributes): Ignore errors.
21656 (tramp-smb-wait-for-output): Check also for process end.
21657
21658 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
21659
21660 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
21661 when sending QUIT (bug#9312).
21662
21663 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
21664
21665 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
21666 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
21667 occur-mode-display-occurrence.
21668 (occur-edit-mode): Add usage message.
21669 (occur-cease-edit): New command.
21670 (occur-after-change-function): Use text properties to find the
21671 position of the prefix text.
21672 (occur-engine): Set stickiness of prefix text properties.
21673
21674 2011-09-17 Glenn Morris <rgm@gnu.org>
21675
21676 * progmodes/etags.el (complete-tag):
21677 Fix call to completion-in-region. (Bug#9526)
21678
21679 2011-09-17 Juri Linkov <juri@jurta.org>
21680
21681 * textmodes/ispell.el (ispell-word): Add to the error message
21682 the word, ispell program name and current dictionary (bug#9121).
21683 (ispell-tex-arg-end): Capitalize "error" in the error message.
21684
21685 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
21686
21687 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
21688 check. (Bug#4251)
21689
21690 2011-09-17 Juri Linkov <juri@jurta.org>
21691
21692 * window.el (window-safe-min-height, window-safe-min-width):
21693 Fix typos (followup to bug#9522).
21694
21695 2011-09-17 Sven Joachim <svenjoac@gmx.de>
21696
21697 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
21698
21699 2011-09-16 Eli Zaretskii <eliz@gnu.org>
21700
21701 * simple.el (line-move): If goal-column is set, move by logical
21702 lines, not by display lines. (Bug#971)
21703 (next-line, previous-line, goal-column, line-move-visual): Doc fix
21704 to reflect the above change.
21705
21706 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
21707
21708 * image.el (imagemagick-register-types): Use regexp-opt.
21709
21710 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
21711
21712 * window.el (display-buffer-base-action): Rename from
21713 display-buffer-default-action. Make default value empty.
21714 (display-buffer-overriding-action): Convert to defvar.
21715 (display-buffer-fallback-action): New var.
21716
21717 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
21718
21719 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
21720 declaration.
21721 (package--add-to-archive-contents): If there is a duplicate entry
21722 with an older version, remove it.
21723 (package-menu-mark-delete, package-menu-mark-install)
21724 (package-menu-mark-unmark): Make unused args optional.
21725 (package-menu-mark-obsolete-for-deletion):
21726 Use package-menu-get-status instead of a regexp search.
21727 (package-menu-get-status): Use tabulated-list-entry.
21728 (package-menu-mark-upgrades): New command.
21729 (package-menu-mode-map): Bind it to U. Add it to menu bar.
21730 (package-menu-execute): Do installation before deletion.
21731 (package-menu-refresh, package-menu-execute): Use derived-mode-p
21732 instead of checking major-mode.
21733 (package-menu--find-upgrades): New function.
21734
21735 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
21736
21737 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
21738 passwords in the log buffer.
21739 (smtpmail-process-filter): Update the process marker so that the
21740 "broken by peer" status message is inserted in the right place.
21741
21742 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
21743
21744 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
21745 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
21746 bibtex-completion-at-point-function.
21747 (bibtex-completion-at-point-function): Use them.
21748
21749 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
21750
21751 * mpc.el (mpc-constraints-tag-lookup): New function.
21752 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
21753 also to browser "album|playlist".
21754
21755 2011-09-14 Juri Linkov <juri@jurta.org>
21756
21757 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
21758 (isearch-edit-string): Use length of `isearch-string' when
21759 `isearch-fail-pos' returns nil.
21760 (isearch-message): Remove duplicate code and call
21761 `isearch-fail-pos' with arg `t'.
21762
21763 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
21764
21765 * replace.el (occur-mode-goto-occurrence): Don't force using other
21766 window (Bug#9499).
21767
21768 * dired-aux.el (dired-do-chmod): Don't provide initial input.
21769
21770 2011-09-14 Martin Rudalics <rudalics@gmx.at>
21771
21772 * window.el (display-buffer-window): Remove.
21773 (display-buffer-record-window): Use help-setup window parameter
21774 instead of variable display-buffer-window.
21775 (display-buffer-function, special-display-buffer-names)
21776 (special-display-function): Mention help-setup parameter instead
21777 of display-buffer-window in doc-string.
21778 * help.el (help-window-setup): New argument help-window.
21779 Use help-window-setup parameter instead of display-buffer-window.
21780 Reword some messages.
21781 (with-help-window): Pass window used for displaying the buffer
21782 to help-window-setup. Don't set display-buffer-window.
21783
21784 2011-09-13 Glenn Morris <rgm@gnu.org>
21785
21786 * emacs-lisp/debug.el (debugger-make-xrefs):
21787 Preserve point. (Bug#9462)
21788
21789 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
21790
21791 * window.el (window-deletable-p): Use next-frame.
21792
21793 2011-09-13 Martin Rudalics <rudalics@gmx.at>
21794
21795 * window.el (window-auto-delete): Remove.
21796 (window-deletable-p): Remove argument FORCE. Don't deal with
21797 dedication and previous buffers.
21798 (switch-to-prev-buffer): Don't delete window.
21799 (delete-windows-on): Delete a window's frame if and only if the
21800 window is dedicated.
21801 (replace-buffer-in-windows): Delete buffer's window or frame if
21802 and only if window is dedicated.
21803 (quit-window): Handle quit-restore as before last change.
21804 (bury-buffer): Delete window only if window-deletable-p returns t.
21805
21806 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
21807
21808 * window.el (window-deletable-p): Never delete the last frame on a
21809 given terminal.
21810
21811 2011-09-13 Glenn Morris <rgm@gnu.org>
21812
21813 * help.el (describe-key-briefly): Copy previous standard-output change.
21814
21815 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
21816
21817 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
21818
21819 2011-09-13 Glenn Morris <rgm@gnu.org>
21820
21821 * emacs-lisp/lisp-mode.el (lisp-indent-function):
21822 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
21823
21824 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
21825
21826 * dired-aux.el (dired-mark-read-string): Don't return default
21827 value on empty input (Bug#9361).
21828 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
21829 Omit initial minibuffer contents.
21830 (dired-do-chmod): Signal an error on empty input.
21831 (dired-mark-read-string): Don't return default on empty input.
21832
21833 * files.el (file-modes-symbolic-to-number): Doc fix.
21834
21835 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
21836
21837 * international/mule-cmds.el (ucs-completions): Remove.
21838 (read-char-by-name): Use complete-with-action instead; add metadata.
21839
21840 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
21841
21842 * window.el (display-buffer--action-function-custom-type)
21843 (display-buffer--action-custom-type): New vars.
21844 (display-buffer-alist, display-buffer-default-action)
21845 (display-buffer-overriding-action): Add defcustom types.
21846
21847 * frame.el (delete-other-frames): Doc fix (Bug#276).
21848
21849 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
21850
21851 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
21852
21853 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
21854
21855 Change modes that used same-window-* vars to use switch-to-buffer.
21856
21857 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
21858 Use switch-to-buffer.
21859
21860 * cus-edit.el (customize-group, custom-buffer-create)
21861 (customize-browse, custom-buffer-create-other-window):
21862 Use switch-to-buffer or switch-to-buffer-other-window.
21863
21864 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
21865 (Info-prev, Info-up, Info-speedbar-goto-node)
21866 (info-display-manual): Use switch-to-buffer.
21867 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
21868
21869 * mail/sendmail.el (mail): Use switch-to-buffer.
21870 (mail-recover): Use switch-to-buffer-other-window.
21871
21872 * cmuscheme.el (run-scheme, switch-to-scheme):
21873 * ielm.el (ielm):
21874 * shell.el (shell):
21875 * net/rlogin.el (rlogin):
21876 * net/telnet.el (telnet, rsh):
21877 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
21878
21879 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
21880
21881 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
21882
21883 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
21884
21885 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
21886 so don't mention it (bug#9301).
21887 (dired-sort-toggle-or-edit): Clarify string further.
21888
21889 * faces.el (face-spec-set-match-display): Make `(type graphic)'
21890 match `x', `w32' and `ns', like the manual says (bug#9029).
21891
21892 * subr.el (eval-after-load): Doc string clarification (bug#9125).
21893 (process-kill-buffer-query-function): Mention the buffer name in
21894 the query.
21895
21896 * image-mode.el (image-next-line): The line parameter is mandatory
21897 (bug#9258).
21898
21899 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
21900 which can be useful (bug#9301).
21901
21902 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
21903
21904 * subr.el (match-string): Mention that the current buffer should
21905 be the same as the search was done in (bug#9282).
21906
21907 * facemenu.el: Disable the remove-* commands if the mark isn't
21908 active (bug#9162).
21909
21910 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
21911
21912 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
21913 of display-buffer.
21914 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
21915
21916 * replace.el (occur-mode-goto-occurrence)
21917 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
21918 and display-buffer.
21919
21920 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
21921 display-buffer.
21922
21923 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
21924 special-display and same-window variables.
21925 (mail-other-window): Use switch-to-buffer-other-window.
21926 (mail-other-frame): USe switch-to-buffer-other-frame.
21927
21928 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
21929 Use display-buffer-other-frame.
21930 (gdb-display-gdb-buffer): Use pop-to-buffer.
21931
21932 * progmodes/gud.el (gud-goto-info): Use info-other-window.
21933
21934 * progmodes/python.el: Don't set same-window-buffer-names.
21935
21936 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
21937
21938 * window.el (display-buffer-alist): Add *Python*.
21939
21940 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
21941
21942 * window.el (display-buffer-alist): Add entry for buffers
21943 previously handled same-window-*.
21944 (display-buffer-alist, display-buffer-default-action)
21945 (display-buffer-overriding-action): Mark as risky.
21946 (display-buffer-alist): Document action function changes.
21947 (display-buffer--same-window-action)
21948 (display-buffer--other-frame-action): New variables.
21949 (switch-to-buffer, display-buffer-other-frame): Use them.
21950 (display-buffer): Rename reuse-frame entry to reusable-frames.
21951 (display-buffer-reuse-selected-window): Function deleted.
21952 (display-buffer-reuse-window): Handle reusable-frames alist entry.
21953 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
21954 (display-buffer-special): New function.
21955 (display-buffer--maybe-pop-up-frame-or-window): Rename from
21956 display-buffer-reuse-or-pop-window. Split off special-display
21957 part into display-buffer-special.
21958 (display-buffer-use-some-window): Don't perform any special
21959 pop-up-frames handling.
21960 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
21961 (display-buffer--maybe-same-window): Rename from
21962 display-buffer-maybe-same-window.
21963
21964 * info.el: Don't set same-window-regexps.
21965 (info-setup): New function.
21966 (info-other-window, info): Call it.
21967
21968 * cus-edit.el: Don't set same-window-regexps.
21969 (customize-group): New argument.
21970 (customize-group-other-window): Use it.
21971 (customize-face, customize-face-other-window): Likewise.
21972 (custom-buffer-create-other-window): Use pop-to-buffer directly.
21973
21974 * net/rlogin.el:
21975 * net/telnet.el:
21976 * progmodes/gud.el: Don't set same-window-regexps.
21977
21978 * cmuscheme.el:
21979 * ielm.el:
21980 * shell.el:
21981 * mail/sendmail.el:
21982 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
21983
21984 2011-09-10 Juri Linkov <juri@jurta.org>
21985
21986 * isearch.el (isearch-edit-string): Remove obsolete mention of
21987 `C-w' (`isearch-yank-word-or-char') from docstring.
21988 (isearch-query-replace): Fix typo in docstring (bug#9466).
21989
21990 2011-09-10 Juri Linkov <juri@jurta.org>
21991
21992 * paren.el (show-paren-function): Don't show escaped parens.
21993 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
21994
21995 2011-09-10 Eli Zaretskii <eliz@gnu.org>
21996
21997 * mail/sendmail.el (mml-to-mime, mml-attach-file)
21998 (mm-default-file-encoding): Remove autoload forms, they are
21999 replaced with autoload cookies in mml.el and mm-encode.el.
22000 (mail-add-attachment): New command.
22001 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
22002 (mail-mode): Mention mail-insert-file and mail-add-attachment in
22003 the doc string.
22004 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
22005
22006 2011-09-10 Reuben Thomas <rrt@sc3d.org>
22007
22008 * simple.el (count-words-region): Use buffer if there's no region
22009 (bug#9429).
22010
22011 2011-09-09 Juri Linkov <juri@jurta.org>
22012
22013 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
22014 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
22015 (wdired-isearch-filter-read-only): New function. (Bug#6362)
22016
22017 2011-09-09 Alan Mackenzie <acm@muc.de>
22018
22019 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
22020 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
22021
22022 2011-09-09 Eli Zaretskii <eliz@gnu.org>
22023
22024 Fix for Savannah bug#9392.
22025 * simple.el (mail-encode-mml): New defvar.
22026
22027 * mail/rmail.el (mail-encode-mml): Add a defvar.
22028 (rmail-enable-mime-composing): Default to t.
22029 (rmail-forward): Use MIME method of forwarding only if both
22030 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
22031 Set mail-encode-mml non-nil if the MIME method was used.
22032
22033 * mail/sendmail.el (mml-to-mime): Add autoload form.
22034 (mail-encode-mml): Add a defvar.
22035 (mail-mode): Make mail-encode-mml buffer-local and initialize it
22036 to nil.
22037 (mail-send): If mail-encode-mml is non-nil, run the outgoing
22038 message through mml-to-mime, and reset mail-encode-mml to nil.
22039
22040 2011-09-09 Glenn Morris <rgm@gnu.org>
22041
22042 * woman.el (woman-if-body): When processing an .el block,
22043 do not delete the next .el block as well. (Bug#9447)
22044 (woman-special-characters): Add oq, cq, and hy characters.
22045
22046 2011-09-08 Martin Rudalics <rudalics@gmx.at>
22047
22048 * window.el (window-deletable-p): Make sure window is live before
22049 invoking window-prev-buffers.
22050
22051 2011-09-08 Leo Liu <sdl.web@gmail.com>
22052
22053 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
22054
22055 2011-09-08 Juri Linkov <juri@jurta.org>
22056
22057 * progmodes/compile.el (compilation-environment): Make it
22058 a defcustom (bug#8340).
22059
22060 2011-09-08 Martin Rudalics <rudalics@gmx.at>
22061
22062 * window.el (frame-auto-delete): Rename to window-auto-delete.
22063 Make it control auto-deletion of windows and/or frames.
22064 (window-deletable-p): New argument FORCE. Rewrite conditions
22065 for deleting window/frame. (Bug#9419)
22066 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
22067 Rewrite handling of case when window/frame can be deleted.
22068 (delete-windows-on): Call window-deletable-p with new FORCE
22069 argument t. (Bug#9456)
22070
22071 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
22072
22073 * help-mode.el (help-mode): Restore autoload.
22074
22075 2011-09-07 Juri Linkov <juri@jurta.org>
22076
22077 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
22078 `compilation-environment'. Set buffer-local
22079 `compilation-environment' to `thisenv' later after (funcall mode).
22080 (Bug#8340)
22081
22082 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
22083 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
22084 instead of replacing its value. (Bug#8340)
22085
22086 2011-09-07 Juri Linkov <juri@jurta.org>
22087
22088 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
22089 based on text properties put by `grep-filter' instead of matching
22090 escape sequences.
22091 (grep-mode): Set buffer-local `compilation-error-screen-columns'
22092 to the value of `grep-error-screen-columns' (bug#9438).
22093
22094 2011-09-07 Juri Linkov <juri@jurta.org>
22095
22096 * simple.el (next-error-highlight, next-error-highlight-no-select):
22097 Doc fix (bug#9432).
22098
22099 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
22100
22101 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
22102 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
22103
22104 2011-09-07 Leo Liu <sdl.web@gmail.com>
22105
22106 * net/rcirc.el (rcirc-mode): Conditionally initialize
22107 rcirc-input-ring.
22108
22109 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
22110
22111 * emacs-lisp/find-func.el (find-function-C-source): Only set
22112 find-function-C-source-directory after checking that we found a source
22113 file there (bug#9440).
22114
22115 2011-09-06 Alan Mackenzie <acm@muc.de>
22116
22117 * isearch.el (isearch-other-meta-char): Wherever a key list is
22118 unread, "unread" the prefix arg, too. This fixes bug #8901.
22119
22120 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
22121
22122 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
22123
22124 2011-09-05 Juri Linkov <juri@jurta.org>
22125
22126 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
22127
22128 2011-09-05 Juri Linkov <juri@jurta.org>
22129
22130 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
22131 keeping point where processing of grep matches begins, and
22132 continue to delete remaining escape sequences from the same point.
22133 (grep-filter): Make leading zero optional in "0?1;31m" because
22134 git-grep emits "\033[1;31m" escape sequences unlike expected
22135 "\033[01;31m" as GNU Grep does (bug#9408).
22136 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
22137
22138 2011-09-05 Juri Linkov <juri@jurta.org>
22139
22140 * subr.el (y-or-n-p): Capitalize "yes".
22141
22142 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
22143
22144 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
22145 `tramp-cache-unload-hook' where appropriate.
22146 (tramp-methods): Rename `tramp-remote-sh' to
22147 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
22148 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
22149
22150 * net/tramp-sh.el (top): Don't require 'shell.
22151 (tramp-methods): Add `tramp-remote-shell' and
22152 `tramp-remote-shell-args' entries.
22153 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
22154 (tramp-sh-handle-shell-command): Remove.
22155 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
22156 Use `tramp-remote-shell'.
22157
22158 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
22159
22160 * mail/sendmail.el (sendmail-query-once-function): Delete.
22161 (sendmail-query-once): Save directly to send-mail-function.
22162 Update message-send-mail-function too.
22163
22164 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
22165
22166 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
22167
22168 * progmodes/python.el (python-mode-map): Use correct function to
22169 start python interpreter from menu-bar (as reported by Geert
22170 Kloosterman).
22171 (inferior-python-mode-map): Fix typo.
22172 (python-shell-map): Remove.
22173
22174 2011-09-03 Deniz Dogan <deniz@dogan.se>
22175
22176 * net/rcirc.el (rcirc-print): Simplify code for
22177 rcirc-scroll-show-maximum-output. There is no need to walk
22178 through all windows to find the right one.
22179
22180 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
22181
22182 * help.el (help-return-method): Doc fix.
22183
22184 2011-09-03 Martin Rudalics <rudalics@gmx.at>
22185
22186 * window.el (window-deletable-p): Don't return a non-nil value
22187 when there's a buffer that was shown in the window before.
22188 (Bug#9419)
22189 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
22190 Set window's previous buffers to nil.
22191
22192 2011-09-03 Eli Zaretskii <eliz@gnu.org>
22193
22194 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
22195 newline before and after the tag line, so it doesn't interfere
22196 with determining the paragraph direction of bidirectional text.
22197
22198 2011-09-03 Leo Liu <sdl.web@gmail.com>
22199
22200 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
22201
22202 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
22203
22204 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
22205 (pop-to-buffer): Change interactive spec. Pass second argument
22206 directly to display-buffer.
22207 (display-buffer): Fix interactive spec. Use functionp to
22208 distinguish between a function and a list of functions.
22209
22210 * abbrev.el (edit-abbrevs):
22211 * arc-mode.el (archive-extract):
22212 * autoinsert.el (auto-insert):
22213 * bookmark.el (bookmark-bmenu-list):
22214 * files.el (find-file):
22215 * view.el (view-buffer):
22216 * progmodes/compile.el (compilation-goto-locus):
22217 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
22218
22219 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
22220
22221 * window.el (display-buffer-alist): Doc fix.
22222 (display-buffer): Add docstring. Don't treat
22223 display-buffer-default specially.
22224 (display-buffer-reuse-selected-window)
22225 (display-buffer-same-window, display-buffer-maybe-same-window)
22226 (display-buffer-reuse-window, display-buffer-pop-up-frame)
22227 (display-buffer-pop-up-window)
22228 (display-buffer-reuse-or-pop-window)
22229 (display-buffer-use-some-window): New functions.
22230 (display-buffer-default-action): Use them.
22231 (display-buffer-default): Delete.
22232 (pop-to-buffer-1): Fix choice of actions.
22233
22234 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
22235
22236 * minibuffer.el (completion--insert-strings): Don't get confused by
22237 completion entries that end with an LF char.
22238
22239 2011-09-01 Eli Zaretskii <eliz@gnu.org>
22240
22241 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
22242
22243 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
22244
22245 * window.el (display-buffer): Restore interactive spec.
22246 (display-buffer-same-window, display-buffer-other-window):
22247 New functions.
22248 (pop-to-buffer-1): New function. Use the above.
22249 (pop-to-buffer, pop-to-buffer-same-window): Use it.
22250 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
22251
22252 * view.el (view-buffer-other-window, view-buffer-other-frame):
22253 Just use pop-to-buffer.
22254
22255 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
22256
22257 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
22258
22259 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
22260
22261 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
22262
22263 2011-08-31 Richard Stallman <rms@gnu.org>
22264
22265 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
22266 of the separation of rmail-view-buffer from rmail-buffer.
22267 If you say no to "replace original", the decrypt is in the
22268 view buffer. If you say yes, the decrypt goes into the
22269 rmail buffer also.
22270
22271 2011-08-31 Martin Rudalics <rudalics@gmx.at>
22272
22273 * window.el (display-buffer-window): Rewrite doc-string.
22274 (display-buffer-record-window): New function.
22275 (display-buffer-macro-specifiers)
22276 (display-buffer-even-window-sizes, display-buffer-set-height)
22277 (display-buffer-set-width, display-buffer-in-window)
22278 (display-buffer-reuse-window, display-buffer-split-specifiers)
22279 (display-buffer-side-specifiers, display-buffer-split-window-1)
22280 (display-buffer-split-window, display-buffer-split-atom-window)
22281 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
22282 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
22283 (display-buffer-other-window-means-other-frame)
22284 (display-buffer-normalize-special)
22285 (display-buffer-normalize-default)
22286 (display-buffer-normalize-argument)
22287 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
22288 (display-buffer-normalize-specifiers, display-buffer-frame)
22289 (display-buffer-same-window, display-buffer-same-frame)
22290 (display-buffer-other-window)
22291 (display-buffer-same-frame-other-window)
22292 (display-buffer-other-frame, pop-to-buffer-same-window)
22293 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
22294 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
22295 (switch-to-buffer-same-frame)
22296 (switch-to-buffer-other-window-same-frame)
22297 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
22298 (display-buffer-alist-set-1, display-buffer-alist-set-2)
22299 (display-buffer-alist-set): Remove.
22300 (display-buffer-function, special-display-buffer-names)
22301 (special-display-regexps, special-display-function):
22302 In doc-string refer to display-buffer-window and quit-restore
22303 parameter.
22304 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
22305 (special-display-frame-alist, special-display-popup-frame)
22306 (same-window-buffer-names, same-window-regexps, same-window-p)
22307 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
22308 (split-window-preferred-function, split-height-threshold)
22309 (split-width-threshold, window-splittable-p)
22310 (split-window-sensibly, window--try-to-split-window)
22311 (window--frame-usable-p, even-window-heights)
22312 (window--even-window-heights, window--display-buffer-1)
22313 (window--display-buffer-2, display-buffer-other-frame):
22314 Restore old Emacs 23 code, order and doc-strings where applicable.
22315 (display-buffer-default, display-buffer-assq-regexp): New functions.
22316 (display-buffer-alist): Rewrite doc-string.
22317 (display-buffer-default-action)
22318 (display-buffer-overriding-action): New variables.
22319 (display-buffer, switch-to-buffer): Rewrite.
22320 (pop-to-buffer): Restore Emacs 23 behavior but use
22321 window-normalize-buffer-to-display.
22322 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
22323 Restore Emacs 23 behavior but use
22324 window-normalize-buffer-to-switch-to.
22325 (pop-to-buffer-same-window): Rewrite.
22326 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
22327 Rewrite using Emacs 23 options.
22328
22329 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
22330
22331 * net/tramp.el (tramp-root-regexp): Remove.
22332 (tramp-completion-file-name-regexp-unified)
22333 (tramp-completion-file-name-regexp-separate)
22334 (tramp-completion-file-name-regexp-url): Don't use leading volume
22335 letter on w32 systems. (Bug#5303, Bug#9311)
22336 (tramp-drop-volume-letter): Simplify definition.
22337 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
22338
22339 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
22340
22341 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
22342 (bug#9356).
22343
22344 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
22345
22346 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
22347
22348 2011-08-29 Juri Linkov <juri@jurta.org>
22349
22350 * isearch.el (isearch-done): Don't display message "Mark saved"
22351 when arg `edit' is non-nil to prevent its flicker in the echo area.
22352
22353 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
22354
22355 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
22356 obsolete packages for deletion.
22357
22358 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
22359
22360 * help-mode.el (help-mode-map): Add special-mode-map to parent.
22361 (help-mode): Derive help-mode from special-mode. Don't invoke
22362 view-mode from help-mode.
22363 (help-xref-override-view-map): Remove.
22364 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
22365 view-mode is not used anymore.
22366
22367 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
22368
22369 * server.el (server-port): Doc fix.
22370
22371 * cus-theme.el (custom-theme-choose-mode): Inherit from
22372 special-mode (Bug#9124).
22373 (custom-theme-choose-mode-map): Add special-mode to parent.
22374
22375 2011-08-28 Alan Mackenzie <acm@muc.de>
22376
22377 * progmodes/cc-fonts.el
22378 (c-make-font-lock-BO-decl-search-function): New function.
22379 (c-basic-matchers-after - "Fontify the clauses after various
22380 keywords"): Extract the three keyword lists for the 3 erroneous
22381 constructs from the list of four, and use the new function above
22382 in place of an old one.
22383
22384 2011-08-28 Deniz Dogan <deniz@dogan.se>
22385
22386 * net/rcirc.el (rcirc-insert-prev-input)
22387 (rcirc-insert-next-input): Remove unused argument.
22388
22389 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
22390
22391 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
22392
22393 2011-08-27 Alan Mackenzie <acm@muc.de>
22394
22395 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
22396 handle function pointer parameters properly.
22397
22398 2011-08-27 Martin Rudalics <rudalics@gmx.at>
22399
22400 * window.el (display-buffer-reuse-window): Fix case where
22401 selected window was reused with non-nil OTHER-WINDOW argument.
22402 (Bug#9381)
22403
22404 2011-08-27 Deniz Dogan <deniz@dogan.se>
22405
22406 * net/rcirc.el (rcirc-check-auth-status): Adding support for
22407 oftc's NickServ messages.
22408
22409 2011-08-27 Glenn Morris <rgm@gnu.org>
22410
22411 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
22412
22413 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
22414
22415 * emacs-lisp/package.el (package-install): Call package-initialize
22416 if called interactively.
22417
22418 2011-08-26 Leo Liu <sdl.web@gmail.com>
22419
22420 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
22421
22422 2011-08-25 Juri Linkov <juri@jurta.org>
22423
22424 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
22425 `search-whitespace-regexp' (bug#9364).
22426
22427 2011-08-25 Juri Linkov <juri@jurta.org>
22428
22429 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
22430 `regexp-search-ring' to their global values to protect from
22431 updating by `read-from-minibuffer' (bug#9185).
22432
22433 2011-08-25 Juri Linkov <juri@jurta.org>
22434
22435 * textmodes/ispell.el (ispell-command-loop): Add newline
22436 at the end of the "Use option `i'..." line.
22437
22438 2011-08-25 Juri Linkov <juri@jurta.org>
22439
22440 * battery.el (display-battery-mode): If `battery-status-function'
22441 or `battery-mode-line-format' is nil, display the message and set
22442 `display-battery-mode' to nil (bug#9363).
22443
22444 2011-08-25 Eli Zaretskii <eliz@gnu.org>
22445
22446 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
22447 bidi-string-mark-left-to-right; they are unnecessary now.
22448
22449 2011-08-25 Deniz Dogan <deniz@dogan.se>
22450
22451 * net/quickurl.el: Documentation typo fixes.
22452
22453 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
22454
22455 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
22456
22457 2011-08-25 Glenn Morris <rgm@gnu.org>
22458
22459 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
22460
22461 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
22462 (smtpmail-via-smtp): Handle nil response from smtp.
22463
22464 2011-08-24 Juri Linkov <juri@jurta.org>
22465
22466 * proced.el (proced-marked): Inherit from `error' instead of
22467 `font-lock-warning-face'.
22468
22469 * ibuffer.el (ibuffer-marked-face): Change default face from
22470 `font-lock-warning-face' to `warning'.
22471 (ibuffer-deletion-face): Change default face from
22472 `font-lock-type-face' to `error'.
22473
22474 * battery.el (battery-update): Use the face `error' instead of
22475 `font-lock-warning-face' (bug#6117).
22476
22477 2011-08-24 Juri Linkov <juri@jurta.org>
22478
22479 * faces.el (success): Change face color from "Green3" to
22480 "ForestGreen" on light background (bug#9353).
22481
22482 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
22483
22484 * window.el (quit-window): Rename from quit-restore-window.
22485 Use same arglist as old quit-window.
22486 (frame-auto-delete): Doc fix.
22487
22488 * view.el (view-mode-exit): Use quit-window.
22489
22490 2011-08-24 Juri Linkov <juri@jurta.org>
22491
22492 * isearch.el (isearch-ring-adjust1): Start visiting previous
22493 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
22494 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
22495 for empty search string (when the last search string is reused
22496 automatically) to adjust the isearch ring to the last element and
22497 prepare the correct index for further M-p commands (bug#9185).
22498
22499 2011-08-24 Kenichi Handa <handa@m17n.org>
22500
22501 * international/ucs-normalize.el: If decomposition property of
22502 CHAR is the default one (i.e. a list of CHAR itself), treat it as
22503 nil.
22504 (nfd, nfkd): Likewise.
22505
22506 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
22507
22508 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
22509 from process filters aren't reliably transmitted to the surrounding
22510 accept-process-output.
22511 (mpc-proc-check): New function.
22512 (mpc-proc-sync): Use it (bug#8293)
22513
22514 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
22515
22516 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
22517 Add compatibility functions (bug#9313).
22518
22519 2011-08-23 Eli Zaretskii <eliz@gnu.org>
22520
22521 * cus-start.el (all): Add entry for bidi-paragraph-direction.
22522
22523 * international/uni-bidi.el: Regenerate.
22524
22525 2011-08-23 Kenichi Handa <handa@m17n.org>
22526
22527 * international/charprop.el:
22528 * international/uni-bidi.el:
22529 * international/uni-category.el:
22530 * international/uni-combining.el:
22531 * international/uni-comment.el:
22532 * international/uni-decimal.el:
22533 * international/uni-decomposition.el:
22534 * international/uni-digit.el:
22535 * international/uni-lowercase.el:
22536 * international/uni-mirrored.el:
22537 * international/uni-name.el:
22538 * international/uni-numeric.el:
22539 * international/uni-old-name.el:
22540 * international/uni-titlecase.el:
22541 * international/uni-uppercase.el: Regenerate.
22542
22543 2011-08-23 Martin Rudalics <rudalics@gmx.at>
22544
22545 * help.el (help-window-setup): Fix message displayed when other
22546 window is reused. (Bug#9341)
22547
22548 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
22549
22550 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
22551 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
22552
22553 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
22554 Mark obsolete.
22555 * shell.el (shell-parse-pcomplete-arguments): New function.
22556 (shell-completion-vars): Use it instead (bug#9160).
22557
22558 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
22559
22560 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
22561 strings and comments (bug#9333).
22562
22563 * emacs-lisp/debug.el (debug-arglist): New function.
22564 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
22565 (debug-on-entry-1): Handle interpreted closures (bug#9120).
22566
22567 2011-08-22 Juri Linkov <juri@jurta.org>
22568
22569 * progmodes/compile.el (compilation-mode-font-lock-keywords):
22570 Revert regexp that highlights output switches to its old
22571 pre-2010-10-28 value and remove one `?' from it (bug#9319).
22572
22573 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
22574 to check for empty output (bug#9226).
22575
22576 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
22577
22578 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
22579 symbol-constituent as the default, as that stops font-lock from
22580 working properly (Bug#8843).
22581
22582 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
22583
22584 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
22585 `coding-system-for-*' around the process open call to avoid
22586 auth-source side effects.
22587 (smtpmail-try-auth-methods): Expand the secret password.
22588 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
22589 probe hangs.
22590
22591 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
22592
22593 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
22594
22595 * emacs-lisp/find-func.el (find-function-noselect): New arg
22596 lisp-only.
22597
22598 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
22599 signal an error for built-in functions (Bug#6664).
22600
22601 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
22602
22603 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
22604 (smtpmail-try-auth-methods): Use it.
22605
22606 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
22607
22608 * font-lock.el (font-lock-fontify-region)
22609 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
22610 (font-lock-default-unfontify-buffer)
22611 (font-lock-default-fontify-region)
22612 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
22613
22614 * progmodes/compile.el (compilation-error-properties):
22615 Fix confusion between file struct and message struct (Bug#9319).
22616 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
22617 `ant' regexp.
22618
22619 * net/browse-url.el (browse-url-firefox): Don't call
22620 browse-url-firefox-sentinel unless using -remote (Bug#9328).
22621
22622 2011-08-20 Glenn Morris <rgm@gnu.org>
22623
22624 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
22625
22626 * tutorial.el (tutorial--default-keys): Update some default bindings.
22627
22628 * files.el (hack-local-variables): Fully ignore case for "mode:".
22629
22630 2011-08-20 Alan Mackenzie <acm@muc.de>
22631
22632 Resolve invalid use of a regexp in regexp-opt.
22633
22634 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
22635 detection for a java annotation.
22636
22637 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
22638 detection for a java annotation.
22639
22640 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
22641 handling for java.
22642 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
22643
22644 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
22645
22646 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
22647 (Bug#9274).
22648
22649 2011-08-20 Alan Mackenzie <acm@muc.de>
22650
22651 Fontify CPP expressions correctly when starting in the middle of
22652 such a construct. Mainly for when jit-lock etc. starts a chunk
22653 here.
22654
22655 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
22656 variable.
22657 (c-make-font-lock-search-form): New function, extracted from
22658 c-make-font-lock-search-function.
22659 (c-make-font-lock-search-function): Use the above function.
22660 (c-make-font-lock-context-search-function): New function.
22661 (c-cpp-matchers): Enhance the preprocessor expression case with
22662 the above function
22663 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
22664 which takes an expression.
22665
22666 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
22667
22668 2011-08-20 Martin Rudalics <rudalics@gmx.at>
22669
22670 * window.el (display-buffer-reuse-window)
22671 (display-buffer-pop-up-window): Don't reuse or split a side
22672 window.
22673
22674 2011-08-19 Glenn Morris <rgm@gnu.org>
22675
22676 * files.el (hack-local-variables-prop-line, hack-local-variables):
22677 Downcase "Mode:". (Bug#9331)
22678
22679 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
22680
22681 * international/characters.el: Add L and R categories.
22682
22683 * subr.el (bidi-string-mark-left-to-right): Rename from
22684 string-mark-left-to-right. Use category search.
22685
22686 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
22687
22688 2011-08-18 Juri Linkov <juri@jurta.org>
22689
22690 * faces.el (error, warning, success): New faces with definitions
22691 copied from old default values of `font-lock-warning-face',
22692 `compilation-warning', `compilation-info' (bug#6117).
22693
22694 * font-lock.el (font-lock-warning-face): Inherit from `error'.
22695
22696 * progmodes/compile.el (compilation-error): Inherit from `error'.
22697 (compilation-warning): Inherit from `warning'.
22698 (compilation-info): Inherit from `success'.
22699
22700 * dired.el (dired-marked): Inherit from `warning'.
22701 (dired-flagged): Inherit from `error'.
22702
22703 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
22704
22705 * mail/smtpmail.el (auth-source): Require to avoid problems with
22706 binding variables (bug#9298). Also clean up some unused
22707 autoloads.
22708
22709 * net/network-stream.el (network-stream-open-starttls):
22710 Support using starttls.el without using gnutls-cli.
22711
22712 2011-08-17 Juri Linkov <juri@jurta.org>
22713
22714 * progmodes/grep.el (rgrep): Handle the case when
22715 `grep-find-command' is a cons cell (bug#9278).
22716
22717 2011-08-17 Martin Rudalics <rudalics@gmx.at>
22718
22719 * window.el (display-buffer-pop-up-frame): Run frame creation
22720 function with BUFFER current (as special-display-popup-frame
22721 does). Reported by Drew Adams.
22722
22723 2011-08-17 Daiki Ueno <ueno@unixuser.org>
22724
22725 * epa-mail.el: Simplify GnuPG group expansion using
22726 epg-expand-group.
22727 (epa-mail-group-alist, epa-mail-group-modtime)
22728 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
22729 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
22730 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
22731 Remove.
22732
22733 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
22734
22735 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
22736
22737 2011-08-16 Alan Mackenzie <acm@muc.de>
22738
22739 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
22740 Correct, to avoid the inside of macros.
22741
22742 2011-08-16 Richard Stallman <rms@gnu.org>
22743
22744 * epa-mail.el: Handle GnuPG group definitions.
22745 (epa-mail-group-alist, epa-mail-group-modtime)
22746 (epa-mail-gnupg-conf-file): New variables.
22747 (epa-mail-parse-groups, epa-mail-sync-groups)
22748 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
22749 (epa-mail-expand-recipients): New functions.
22750 (epa-mail-encrypt): Call epa-mail-expand-recipients.
22751
22752 * mail/rmail.el (rmail-epa-decrypt): New command.
22753
22754 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
22755 Don't bind buffer-read-only, just inhibit-read-only.
22756 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
22757 (epa-decrypt-armor-in-region): Make error message clearer.
22758
22759 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
22760
22761 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
22762 and "a2b" to "ab" for `prefix'.
22763
22764 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
22765
22766 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
22767 filter groups.
22768 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
22769 Fourquet (Bug#8804).
22770
22771 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
22772
22773 * startup.el (argi): Declare as global variable (bug#9275).
22774
22775 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
22776
22777 * subr.el (string-mark-left-to-right): Search the entire string
22778 for RTL script, not just the terminating character. Doc fix.
22779
22780 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
22781
22782 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
22783 New function.
22784 (js--regexp-literal, js-syntax-propertize-function): Remove.
22785 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
22786 (js-mode-map): Don't rebind electric keys.
22787 (js-insert-and-indent): Remove.
22788 (js-mode): Setup electric-layout and electric-indent instead.
22789
22790 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
22791
22792 2011-08-12 Daiki Ueno <ueno@unixuser.org>
22793
22794 * epa.el (epa-progress-callback-function): Fix the logic of
22795 displaying progress.
22796 * epa-file.el (epa-file-insert-file-contents): Make progress
22797 display more user-friendly.
22798 (epa-file-write-region): Ditto.
22799
22800 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
22801
22802 * subr.el (string-mark-left-to-right): New function.
22803
22804 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
22805 Use string-mark-left-to-right.
22806 (list-buffers-noselect): Caller changed.
22807
22808 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
22809 Use string-mark-left-to-right.
22810 (tabulated-list-print): Recenter after moving point.
22811
22812 2011-08-10 Juri Linkov <juri@jurta.org>
22813
22814 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
22815 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
22816 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
22817
22818 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
22819
22820 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
22821 (Bug#7554).
22822
22823 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
22824
22825 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
22826 character. (Bug#6594)
22827
22828 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
22829
22830 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
22831 (image-dired--with-db-file): New macro.
22832 (image-dired-write-tags, image-dired-remove-tag)
22833 (image-dired-create-gallery-lists, image-dired-write-comments)
22834 (image-dired-get-comment, image-dired-mark-tagged-files)
22835 (image-dired-list-tags, image-dired-gallery-generate): Use it.
22836 (image-dired-gallery-generate): Use insert-file-contents.
22837
22838 * time.el (display-time-world-list, display-time-world-display):
22839 * time-stamp.el (time-stamp-string):
22840 * vc/add-log.el (add-change-log-entry): Use setenv instead of
22841 set-time-zone-rule (Bug#7337).
22842
22843 2011-08-08 Daiki Ueno <ueno@unixuser.org>
22844
22845 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
22846 (epg-error-to-string, epg-errors-to-string): New function.
22847 (epg-wait-for-completion): Reverse errors list.
22848 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
22849 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
22850 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
22851 (epg-sign-keys, epg-generate-key-from-file)
22852 (epg-generate-key-from-string): Format errors by using
22853 epg-errors-to-string (bug#9255).
22854 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
22855
22856 2011-08-07 Juri Linkov <juri@jurta.org>
22857
22858 * faces.el (list-faces-display): Remove extra angle bracket
22859 from `help-mode-map'.
22860
22861 * info.el (Info-history-toc-nodes): Doc fix.
22862
22863 * longlines.el (longlines-mode): Doc fix.
22864
22865 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
22866
22867 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
22868 of statements and in a few more cases (bug#9183).
22869
22870 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
22871 New functions.
22872 (cl-transform-lambda): Use them (bug#9239).
22873
22874 2011-08-05 Martin Rudalics <rudalics@gmx.at>
22875
22876 * window.el (display-buffer-same-window)
22877 (display-buffer-same-frame, display-buffer-other-window)
22878 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
22879 (pop-to-buffer-other-window)
22880 (pop-to-buffer-same-frame-other-window)
22881 (pop-to-buffer-other-frame): Make them defuns.
22882 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
22883
22884 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
22885
22886 * subr.el (make-composed-keymap): Move from C. Change calling
22887 convention, and improve docstring to bring attention to a subtle point.
22888 * minibuffer.el (completing-read-default): Adjust accordingly.
22889
22890 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
22891
22892 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
22893 (tramp-open-shell): Use `tramp-shell-quote-argument'.
22894
22895 * net/trampver.el: Update release number.
22896
22897 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
22898
22899 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
22900 "in" (bug#9190).
22901
22902 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
22903
22904 * mail/sendmail.el (sendmail-query-once): Restore the current
22905 buffer after querying (bug#9074).
22906
22907 * dired.el (dired-flagged): Use different faces for marked and
22908 flagged files (bug#6117).
22909
22910 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
22911 (bug#4433).
22912
22913 * ido.el (ido-mode): Switch off the message if called
22914 non-interactively.
22915
22916 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
22917 before 587, since it appears that that's more likely to work for
22918 more people.
22919
22920 * cus-edit.el (custom-file): When running under emacs -q, always
22921 refuse to save the customizations, even if the .emacs file doesn't
22922 exist.
22923
22924 * info.el: Remove the `Info-beginning-of-buffer' function
22925 (bug#8325).
22926
22927 * net/network-stream.el (network-stream-open-starttls):
22928 Use `starttls-available-p' to see whether starttls.el can be used.
22929
22930 2011-08-01 Martin Rudalics <rudalics@gmx.at>
22931
22932 * window.el (display-buffer-in-window): Don't set dedicated status
22933 of window here (Bug#9215).
22934 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
22935 (display-buffer-pop-up-side-window)
22936 (display-buffer-in-side-window): Set dedicated status of window here.
22937
22938 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
22939
22940 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
22941 before binding generated-autoload-file.
22942
22943 2011-08-01 Deniz Dogan <deniz@dogan.se>
22944
22945 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
22946
22947 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
22948
22949 Sync with Tramp 2.2.2.
22950
22951 * net/trampver.el: Update release number.
22952
22953 2011-07-30 Juri Linkov <juri@jurta.org>
22954
22955 * dired-aux.el (dired-touch-initial): Remove function.
22956 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
22957 current time, and `default' to the last modification time of the
22958 current marked file (bug#6887).
22959
22960 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
22961
22962 * simple.el (goto-line): Use string-to-number to provide a
22963 numeric argument to read-number (bug#9163).
22964
22965 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
22966
22967 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
22968 connection process, it could be nil.
22969
22970 2011-07-27 Leo Liu <sdl.web@gmail.com>
22971
22972 Simplify url handling in rcirc-mode.
22973
22974 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
22975 (rcirc-browse-url-at-mouse): Remove.
22976 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
22977
22978 2011-07-26 Alan Mackenzie <acm@muc.de>
22979
22980 Fontify bitfield declarations properly.
22981
22982 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
22983 (c-symbol-chars): Now exported as a lang variable.
22984 (c-not-primitive-type-keywords): New lang variable.
22985
22986 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
22987 QT keyword "more" to prevent "more slots: ...." being spuriously
22988 parsed as a bitfield declaration.
22989
22990 * progmodes/cc-engine.el (c-beginning-of-statement-1):
22991 Refactor and enhance to handle bitfield declarations.
22992 (c-punctuation-in): New function.
22993 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
22994 declarations properly.
22995
22996 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
22997
22998 * calendar/icalendar.el (icalendar--all-events): Take care of
22999 multiple vcalendars in a single file.
23000 (icalendar--convert-float-to-ical): Checkdoc fixes.
23001
23002 2011-07-25 Deniz Dogan <deniz@dogan.se>
23003
23004 * image.el (insert-image): Clarifying docstring.
23005
23006 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
23007
23008 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
23009 `tramp-send-command-and-check' if there is no error.
23010 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
23011
23012 2011-07-22 Alan Mackenzie <acm@muc.de>
23013
23014 Prevent cc-langs.elc being loaded at run time.
23015
23016 * progmodes/cc-mode.el: Remove two autoload forms which loaded
23017 cc-langs.
23018
23019 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
23020 "(require 'cc-langs)". Quote a form so it will evaluate at
23021 (cc-mode's) compilation time.
23022
23023 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
23024
23025 * net/tramp.el (tramp-file-name-handler): Avoid recursive
23026 loading. (Bug#9114)
23027
23028 2011-07-21 Martin Rudalics <rudalics@gmx.at>
23029
23030 * window.el (display-buffer-pop-up-window)
23031 (display-buffer-pop-up-side-window)
23032 (display-buffer-in-side-window): Call display-buffer-set-height
23033 and display-buffer-set-width after setting the new window's
23034 buffer so `fit-window-to-buffer' and friends work on the right buffer.
23035
23036 2011-07-20 Sam Steingold <sds@gnu.org>
23037
23038 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
23039 (etags-tags-included-tables): Call `convert-standard-filename' on
23040 the file names contained in TAGS so that windows Emacs can handle
23041 TAGS files created by cygwin ctags.
23042
23043 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
23044
23045 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
23046 which apparently didn't work.
23047
23048 2011-07-19 Roland Winkler <winkler@gnu.org>
23049
23050 * proced.el (proced-send-signal): For *Marked Processes* buffer
23051 put point at beginning of buffer.
23052
23053 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
23054
23055 * proced.el (proced-format): Make header lines align with the text
23056 (bug#1779).
23057
23058 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
23059
23060 * view.el (view-buffer): Allow running in `special' modes if we're
23061 visiting a file (bug#8615).
23062
23063 2011-07-19 Martin Rudalics <rudalics@gmx.at>
23064
23065 * window.el (display-buffer-alist-of-strings-p)
23066 (display-buffer-alist-set-1, display-buffer-alist-set-2):
23067 New functions.
23068 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
23069 more accurately.
23070
23071 2011-07-18 Alan Mackenzie <acm@muc.de>
23072
23073 Fontify declarators properly when, e.g., a jit-lock chunk begins
23074 inside a declaration.
23075
23076 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
23077
23078 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
23079 New function.
23080 (c-complex-decl-matchers): Insert reference to
23081 c-font-lock-enclosing-decls.
23082
23083 * progmodes/cc-engine.el (c-backward-single-comment):
23084 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
23085 to nil around calls to (forward-comment -1).
23086
23087 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
23088
23089 * image.el (put-image): Doc typo fix.
23090
23091 * progmodes/etags.el (tags-search): Doc typo fix.
23092
23093 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
23094 password if we get errors 550 to 554.
23095
23096 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
23097
23098 * net/gnutls.el (gnutls-log-level): Remove.
23099
23100 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
23101 indentation character (bug#6380).
23102
23103 * files.el (buffer-offer-save): Made permanently local (bug#6241).
23104
23105 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
23106 to clarify what the problem is (bug#4291).
23107
23108 * simple.el (current-kill): Clarify what
23109 `interprogram-paste-function' does (bug#7500).
23110 (auto-fill-mode): Document `auto-fill-function' in relation to
23111 `auto-fill-mode' (bug#2470).
23112
23113 2011-07-16 Lawrence Mitchell <wence@gmx.li>
23114
23115 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
23116 method if slot is read-only (bug#9035).
23117
23118 2011-07-16 Martin Rudalics <rudalics@gmx.at>
23119
23120 * frame.el (select-frame-set-input-focus): New argument NORECORD.
23121 * window.el (pop-to-buffer): Select window used even if it was
23122 selected before, see discussion of (Bug#8615), (Bug#6954).
23123 Pass argument NORECORD on to select-frame-set-input-focus.
23124
23125 2011-07-15 Glenn Morris <rgm@gnu.org>
23126
23127 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
23128 Respect help-form.
23129
23130 2011-07-09 Lawrence Mitchell <wence@gmx.li>
23131
23132 * net/gnutls.el (gnutls-min-prime-bits): New variable.
23133 (gnutls-negotiate): Use it.
23134
23135 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
23136
23137 * net/gnutls.el (gnutls-negotiate):
23138 Upcase `gnutls-algorithm-priority'.
23139
23140 2011-07-15 Glenn Morris <rgm@gnu.org>
23141
23142 * jka-compr.el (jka-compr-verbose): Move from here...
23143 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
23144 Add missing :version tag.
23145 * info.el: No need to require jka-compr when compiling.
23146
23147 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
23148
23149 * net/gnutls.el (gnutls-algorithm-priority): New variable.
23150 (gnutls-negotiate): Use it.
23151
23152 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
23153
23154 * info.el (Info-beginning-of-buffer): New command.
23155 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
23156 announcing `b' as the key (bug#8325).
23157 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
23158
23159 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
23160
23161 * international/mule-cmds.el
23162 (describe-specified-language-support): Make the error message
23163 clearer (bug#8905).
23164
23165 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
23166
23167 * isearch.el (isearch-barrier): Add a doc string, since it's
23168 mentioned in a function doc string (bug#8678).
23169
23170 2011-07-15 Martin Rudalics <rudalics@gmx.at>
23171
23172 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
23173 buffer argument (Bug#9083) and self-identifying label argument.
23174
23175 2011-07-15 Glenn Morris <rgm@gnu.org>
23176
23177 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
23178
23179 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
23180
23181 * man.el (Man-fontify-manpage): Fix message when formatting the
23182 man page (bug#7929).
23183
23184 2011-07-14 Eli Zaretskii <eliz@gnu.org>
23185
23186 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
23187 argument LRM; if non-nil, append an invisible LRM character to the
23188 buffer name.
23189 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
23190 last argument non-nil, when formatting buffer names.
23191 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
23192 paragraph direction.
23193
23194 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
23195
23196 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
23197 the man page name (bug#7929).
23198
23199 * image.el (put-image): Mention the `put-image' overlay property
23200 (bug#7834).
23201
23202 * scroll-bar.el (set-scroll-bar-mode): Mention that
23203 `scroll-bar-mode' lists the values (bug#7772).
23204
23205 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
23206 command (bug#7729).
23207
23208 * rect.el (apply-on-rectangle): Return the point after the last
23209 operation.
23210 (string-rectangle): Go to the point after the last operation
23211 (bug#7522).
23212
23213 * printing.el (pr-toggle-region): Clarify the documentation
23214 slightly (bug#7493).
23215
23216 * time.el (display-time-update):
23217 Allow `display-time-mail-function' to return nil (bug#7158).
23218 Fix suggested by Detlev Zundel.
23219
23220 * vc/diff.el (diff): Clarify the order the file names are read
23221 (bug#7111).
23222
23223 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
23224 the doc string (bug#7015).
23225
23226 * font-lock.el (font-lock-maximum-decoration): Mention what
23227 numeric levels mean (bug#6935).
23228
23229 * startup.el (initial-buffer-choice): Don't mention the `none'
23230 selection, which is against policy.
23231
23232 2011-07-14 Martin Rudalics <rudalics@gmx.at>
23233
23234 * window.el (display-buffer-normalize-special):
23235 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
23236
23237 2011-07-14 Eli Zaretskii <eliz@gnu.org>
23238
23239 * subr.el (version<, version<=, version=): Mention "-CVS" and
23240 "-12345" alpha version numbers.
23241
23242 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
23243
23244 * bindings.el: Add advertised binding for set-mark-command
23245 (Bug#5772).
23246
23247 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
23248
23249 * bindings.el (mode-line-other-buffer):
23250 * bookmark.el (bookmark-bmenu-2-window):
23251 * bs.el (bs-cycle-next, bs-cycle-previous):
23252 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
23253 switch-to-buffer.
23254
23255 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
23256 Delete.
23257
23258 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
23259
23260 * follow.el (follow-debug-message, follow-redisplay):
23261 * jka-cmpr-hook.el (with-auto-compression-mode):
23262 Fix typos in docstrings.
23263
23264 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
23265
23266 * subr.el (with-silent-modifications): Clarify somewhat what the
23267 macro inhibits (bug#6525).
23268
23269 * simple.el (eval-expression): Note what it does if called
23270 interactively (bug#6495).
23271
23272 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
23273
23274 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
23275 Use pop-to-buffer buffer-or-name if it is nil.
23276
23277 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
23278 Remove switch-to-buffer.
23279
23280 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
23281
23282 * files.el (make-directory): Clarify that an error will be raised
23283 if there's an error (bug#6397).
23284
23285 * startup.el (initial-buffer-choice): Add `none' as a choice
23286 (bug#6234).
23287
23288 * subr.el (add-hook): Clarify section about buffer-local hooks
23289 (bug#6218).
23290
23291 * dired.el (dired-flagged): Clarify doc string (bug#6117).
23292
23293 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
23294
23295 * tabify.el (untabify): Preserve the current column so that point
23296 doesn't move (bug#6032).
23297
23298 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
23299
23300 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
23301 Rewrite to avoid awkward possessive "s" (bug#5986).
23302
23303 2011-07-13 Glenn Morris <rgm@gnu.org>
23304
23305 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
23306 (dired-insert-directory): Give a message the first time
23307 if ls is found not to support --dired.
23308
23309 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
23310
23311 * simple.el (toggle-truncate-lines): Clarify what is toggled
23312 (bug#5580). Text by Drew Adams.
23313
23314 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
23315
23316 * simple.el (blink-matching-open): Make the error message from the
23317 last change less verbose.
23318
23319 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
23320
23321 * font-lock.el (font-lock-comment-face): Use the high contrast
23322 "yellow" color for font-lock-comment-face on low color terminals
23323 using a dark background color (bug#4221).
23324
23325 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
23326
23327 * dired.el (dired-insert-set-properties): Make the doc string
23328 reflect what it does now (bug#5325).
23329
23330 * simple.el (blink-matching-open): Say that we were unable to find
23331 the match within the limit, if we're limited (bug#5122).
23332
23333 * international/mule-cmds.el (prefer-coding-system): Add an
23334 example (bug#4869).
23335
23336 * progmodes/etags.el (tags-search): Document `file-list-form'
23337 (bug#4731).
23338
23339 2011-07-13 Lawrence Mitchell <wence@gmx.li>
23340
23341 * net/browse-url.el (browse-url-default-browser)
23342 (browse-url-browser-function): Make the default browser choice a
23343 bit more logical (bug#4300). Also clean up the doc string.
23344
23345 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
23346
23347 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
23348 binary endings (bug#4440).
23349
23350 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
23351
23352 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
23353 which can be pretty annoying (bug#8971).
23354
23355 * jka-compr.el (jka-compr-verbose): New variable, and use
23356 throughout (bug#8971).
23357
23358 * info.el (Info-find-file): Fall back on the installation
23359 directory if we can't find the info node anywhere else.
23360
23361 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
23362
23363 * vc/vc.el (vc-revert-file):
23364 Don't set file time-stamp in the past. (Bug#5181)
23365
23366 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
23367
23368 * files.el (after-find-file): Give a better error message when
23369 trying to find a symlink that points to a file that doesn't exist
23370 (bug#4398).
23371
23372 * progmodes/cc-vars.el: Remove (probably) misleading comment
23373 (bug#4396).
23374
23375 2011-07-12 Johan Bockgård <bojohan@gnu.org>
23376
23377 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
23378
23379 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
23380
23381 * mouse-sel.el: Hack restoring functionality, while keeping
23382 compatibility with 2010-07-03 changes to mouse selection.
23383 (mouse-sel-primary-overlay): New var.
23384 (mouse-sel-selection-alist): Use it.
23385 (mouse-sel-mode): Doc fix; remove points that are default features
23386 of mouse.el.
23387
23388 2011-07-12 Johan Bockgård <bojohan@gnu.org>
23389
23390 * progmodes/compile.el (compilation-error-regexp-alist-alist):
23391 Fix previous fix (bug#2490).
23392
23393 2011-07-12 Roland Winkler <winkler@gnu.org>
23394
23395 * textmodes/bibtex.el (bibtex-initialize):
23396 Use pop-to-buffer-same-window.
23397 (bibtex-search-entries): Fix interactive call.
23398
23399 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
23400
23401 * progmodes/compile.el (compilation-error-regexp-alist-alist):
23402 Fontise bytecomp Error lines more correctly (bug#2490).
23403 Fix suggested by Johan Bockgård.
23404
23405 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
23406
23407 * dired-x.el (dired-guess-default): Use `delete-dups'.
23408
23409 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
23410
23411 * dired.el (dired-mark-prompt):
23412 * dired-aux.el (dired-read-shell-command): Doc fix.
23413
23414 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
23415
23416 * mail/sendmail.el (sendmail-query-once):
23417 Use `customize-save-variable' unconditionally, now that it works under
23418 emacs -Q.
23419
23420 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
23421
23422 * cus-edit.el (custom-file): Take an optional no-error variable.
23423 (customize-save-variable): Set the variable, and give a warning if
23424 running under "emacs -q".
23425
23426 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
23427
23428 * loadhist.el (unload-feature-special-hooks):
23429 Add `auto-coding-functions', `fill-nobreak-predicate' and
23430 `find-directory-functions' (bug#5327).
23431
23432 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
23433
23434 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
23435
23436 * cus-edit.el (custom-guess-name-alist): -alist variables should
23437 use the `alist' type (bug#3120). Suggested by Drew Adams.
23438
23439 * printing.el: Add documentation to all the `pr-toggle-' commands.
23440
23441 2011-07-11 Leo Liu <sdl.web@gmail.com>
23442
23443 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
23444 backends where it makes sense (bug#2623).
23445
23446 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
23447
23448 * dired-x.el (dired-guess-default): Remove duplicate shell command
23449 entries (bug#2028).
23450 (dired-guess-default): Fix grammar in doc string (bug#2028).
23451 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
23452
23453 * subr.el (remove-duplicates): New conveniency function.
23454
23455 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
23456
23457 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
23458 (bug#1526).
23459
23460 2011-07-10 Martin Rudalics <rudalics@gmx.at>
23461
23462 * window.el (display-buffer-normalize-default): Don't invert
23463 meaning of even-window-heights. Reported by Eli Zaretskii
23464 <eliz@gnu.org>.
23465
23466 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
23467
23468 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
23469
23470 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
23471
23472 * window.el (display-buffer): Fix arguments to
23473 display-buffer-reuse-window in last change.
23474
23475 * faces.el (link): Use a less saturated blue on light backgrounds.
23476
23477 * startup.el (fancy-startup-text, fancy-about-text)
23478 (fancy-startup-tail): Use font-lock faces, for background safety.
23479
23480 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
23481
23482 * emulation/viper-cmd.el (viper-change-state-to-vi):
23483 Limit triggering of abbrev expansion (Bug#9038).
23484
23485 2011-07-09 Martin Rudalics <rudalics@gmx.at>
23486
23487 * window.el (display-buffer-default-specifiers): Remove.
23488 (display-buffer-macro-specifiers): Remove default specifiers.
23489 (display-buffer-alist): Default to nil.
23490 (display-buffer-reuse-window): New optional argument other-window.
23491 (display-buffer-pop-up-window): Allow splitting internal
23492 windows. Check whether a live window was created.
23493 (display-buffer-other-window-means-other-frame)
23494 (display-buffer-normalize-arguments): Rename to
23495 display-buffer-normalize-argument and rewrite. Set the
23496 other-window specifier.
23497 (display-buffer-normalize-special): New function.
23498 (display-buffer-normalize-options): Rename to
23499 display-buffer-normalize-default and rewrite.
23500 (display-buffer-normalize-options-inhibit): Remove.
23501 (display-buffer-normalize-specifiers): Rewrite.
23502 (display-buffer): Process other-window specifier and call
23503 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
23504 more faithfully.
23505 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
23506 (display-buffer-alist-set): Don't handle 'unset default values.
23507 (display-buffer-in-window, display-buffer-alist-set):
23508 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
23509 <tassilo@member.fsf.org>.
23510
23511 2011-07-09 Leo Liu <sdl.web@gmail.com>
23512
23513 * register.el (insert-register): Restore accidental change on
23514 2011-06-26. (Bug#9028)
23515
23516 2011-07-09 Glenn Morris <rgm@gnu.org>
23517
23518 * subr.el (remq): Handle the empty list. (Bug#9024)
23519
23520 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
23521
23522 * mail/sendmail.el (send-mail-function): No longer delay custom
23523 initialization.
23524 * custom.el (custom-initialize-delay): Doc fix.
23525
23526 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
23527
23528 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
23529
23530 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
23531
23532 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
23533 human-friendly prompt.
23534
23535 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
23536
23537 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
23538 provided by a particular plugin.
23539
23540 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
23541
23542 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
23543 save customizations (with "emacs -Q"), just set the variable
23544 instead of erroring out.
23545
23546 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
23547
23548 2011-07-08 Juri Linkov <juri@jurta.org>
23549
23550 * arc-mode.el (archive-zip-expunge, archive-zip-update)
23551 (archive-zip-update-case): Use 7z if found by `executable-find'.
23552 The order of searching the available programs is the same as in
23553 `archive-zip-extract' (bug#8968).
23554
23555 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
23556
23557 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
23558 (menu-bar-options-menu): Tweak descriptions.
23559
23560 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
23561
23562 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
23563 menu items into verb phrases (bug#1421). Also refill to fit under
23564 80 columns.
23565
23566 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
23567
23568 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
23569 (Info-read-node-name): Doc fix (Bug#1084).
23570
23571 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
23572 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
23573 (end-of-sexp, beginning-of-sexp)
23574 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
23575 (forward-symbol, forward-same-syntax, word-at-point)
23576 (sentence-at-point): Doc fix (Bug#1144).
23577
23578 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
23579
23580 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
23581 should cover it (bug#1281).
23582
23583 * cus-edit.el (custom-show): Mark as obsolete.
23584
23585 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
23586 negotiation fails, then possibly try again with a non-encrypted
23587 connection (bug#9017).
23588
23589 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
23590 be used.
23591
23592 2011-07-07 Richard Stallman <rms@gnu.org>
23593
23594 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
23595 property, and handle its changed format.
23596 Look for the correct line number.
23597 Use file's line contents (but not past first =) to find
23598 correct line in message.
23599
23600 2011-07-07 Kenichi Handa <handa@m17n.org>
23601
23602 * international/characters.el (build-unicode-category-table):
23603 Delete it.
23604 (unicode-category-table): Set it by unicode-property-table-internal.
23605
23606 * international/mule-cmds.el (char-code-property-alist): Move to
23607 to src/chartab.c.
23608 (get-char-code-property): Call unicode-property-table-internal to
23609 load a file. Call get-unicode-property-internal where necessary.
23610 (put-char-code-property): Call unicode-property-table-internal to
23611 load a file. Call put-unicode-property-internal where necessary.
23612 put-unicode-property-internal where necessary.
23613 (char-code-property-description):
23614 Call unicode-property-table-internal to load a file.
23615
23616 * international/charprop.el:
23617 * international/uni-bidi.el:
23618 * international/uni-category.el:
23619 * international/uni-combining.el:
23620 * international/uni-comment.el:
23621 * international/uni-decimal.el:
23622 * international/uni-decomposition.el:
23623 * international/uni-digit.el:
23624 * international/uni-lowercase.el:
23625 * international/uni-mirrored.el:
23626 * international/uni-name.el:
23627 * international/uni-numeric.el:
23628 * international/uni-old-name.el:
23629 * international/uni-titlecase.el:
23630 * international/uni-uppercase.el: Regenerate.
23631
23632 * loadup.el: Load international/charprop.el before
23633 international/characters.
23634
23635 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
23636
23637 * window.el (next-buffer, previous-buffer): Signal an error if
23638 called from a minibuffer window.
23639
23640 * bindings.el: Revert 2011-07-04 change.
23641
23642 2011-07-06 Richard Stallman <rms@gnu.org>
23643
23644 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
23645 (rmail-mime-insert-bulk, rmail-mime-insert-text):
23646 Treat markers like ints.
23647 (rmail-mime-entity): Doc fix.
23648
23649 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
23650
23651 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
23652 defcustom again for backwards compatibility.
23653
23654 * simple.el (shell-command-on-region): Fill.
23655
23656 * dired-aux.el (dired-kill-line): Add a doc string.
23657
23658 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
23659 to "\\sw\\|\\s_" (bug#358).
23660
23661 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
23662 (dired-unmark-backward): Ditto.
23663 (dired-flag-backup-files): Ditto.
23664
23665 * dired-x.el (dired-mark-sexp): Ditto.
23666
23667 2011-07-06 Richard Stallman <rms@gnu.org>
23668
23669 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
23670 (rmail-mime-entity): New arg TRUNCATED.
23671 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
23672 New functions.
23673 (rmail-mime-save): Warn if entity is truncated.
23674 (rmail-mime-toggle-hidden): Likewise, for showing.
23675 (rmail-mime-process-multipart): Record when an entity is truncated.
23676
23677 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
23678 if ENTITY is a string.
23679
23680 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
23681
23682 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
23683 of faces when `M-C-x'-ing their definitions (bug#8378).
23684 Also clean up the code slightly.
23685
23686 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
23687 because that makes the colors go away.
23688
23689 * mail/sendmail.el (send-mail-function): Change the default to
23690 `sendmail-query-once'.
23691 (sendmail-query-once): Add an autoload cookie.
23692
23693 * net/network-stream.el (network-stream-open-starttls): Try using
23694 a plain connection even if the server offered STARTTLS, and we
23695 kinda wanted to use it, if Emacs doesn't have any STARTTLS
23696 capability. This should make smtpmail.el work in slightly more
23697 configurations.
23698
23699 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
23700
23701 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
23702 New defun.
23703 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
23704
23705 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
23706
23707 * progmodes/sql.el: Version 3.0
23708 (sql-product-alist): Add product :completion-object,
23709 :completion-column, and :statement attributes.
23710 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
23711 (sql-mode-syntax-table): Mark all punctuation.
23712 (sql-font-lock-keywords-builder): Temporarily remove fallback on
23713 ansi keywords.
23714 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
23715 (sql-mode-oracle-font-lock-keywords): Improve.
23716 (sql-oracle-show-reserved-words): New function for development.
23717 (sql-product-font-lock): Simplify for source code buffers.
23718 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
23719 New functions.
23720 (sql-highlight-product): Set product specific syntax table.
23721 (sql-mode-map): Add statement movement functions.
23722 (sql-ansi-statement-starters, sql-oracle-statement-starters):
23723 New variable.
23724 (sql-statement-regexp, sql-beginning-of-statement)
23725 (sql-end-of-statement, sql-signum): New functions.
23726 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
23727 (sql-show-sqli-buffer): Bug fix.
23728 (sql-interactive-mode): Store connection data as buffer local.
23729 (sql-connect): Add NEW-NAME parameter. Redesign interaction
23730 with sql-interactive-mode.
23731 (sql-save-connection): Save buffer local settings.
23732 (sql-connection-menu-filter): Change menu entry name.
23733 (sql-product-interactive): Bug fix.
23734 (sql-preoutput-hold): New variable.
23735 (sql-interactive-remove-continuation-prompt): Bug fixes.
23736 (sql-debug-redirect): New variable.
23737 (sql-str-literal): New function.
23738 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
23739 Redesign.
23740 (sql-oracle-save-settings, sql-oracle-restore-settings)
23741 (sql-oracle-list-all, sql-oracle-list-table): New functions.
23742 (sql-completion-object, sql-completion-column)
23743 (sql-completion-sqlbuf): New variables.
23744 (sql-build-completions-1, sql-build-completions)
23745 (sql-try-completion): New functions.
23746 (sql-read-table-name): Use them.
23747 (sql-contains-names): New buffer local variable.
23748 (sql-list-all, sql-list-table): Use it.
23749 (sql-oracle-completion-types): New variable.
23750 (sql-oracle-completion-object, sql-sqlite-completion-object)
23751 (sql-postgres-completion-object): New functions.
23752
23753 2011-07-06 Glenn Morris <rgm@gnu.org>
23754
23755 * window.el (pop-to-buffer): Doc fix.
23756
23757 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
23758
23759 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
23760
23761 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
23762
23763 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
23764
23765 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
23766
23767 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
23768
23769 * button.el (button): Inherit from link face. Suggested by Dan
23770 Nicolaescu.
23771
23772 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
23773
23774 * progmodes/gdb-mi.el: Fit in 80 columns.
23775 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
23776 switch-to-buffer.
23777
23778 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
23779 if imenu is simply not configured (bug#8941).
23780
23781 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
23782
23783 * allout.el (allout-post-undo-hook): New allout outline-change
23784 event hook to signal undo activity.
23785 (allout-post-command-business): Run allout-post-undo-hook if an
23786 undo just occurred.
23787 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
23788 * allout-widgets.el (allout-widgets-after-undo-function):
23789 Ensure the integrity of the current item's decoration after it has been
23790 in the vicinity of an undo.
23791 (allout-widgets-mode): Include allout-widgets-after-undo-function
23792 on the new allout-post-undo-hook.
23793
23794 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
23795
23796 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
23797 Let define-derived-mode define it.
23798 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
23799 cycles of abbrev-table inheritance (bug#8998).
23800
23801 2011-07-05 Roland Winkler <winkler@gnu.org>
23802
23803 * textmodes/bibtex.el: Add support for biblatex.
23804 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
23805 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
23806 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
23807 (bibtex-entry-alist, bibtex-field-alist): New variables.
23808 (bibtex-entry-field-alist): Obsolete alias for
23809 bibtex-BibTeX-entry-alist.
23810 (bibtex-entry-alist, bibtex-field-alist): New widgets.
23811 (bibtex-set-dialect): New command.
23812 (bibtex-entry-type, bibtex-entry-head)
23813 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
23814 Bind via bibtex-set-dialect.
23815 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
23816 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
23817 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
23818 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
23819 Define via bibtex-set-dialect.
23820 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
23821 Obey bibtex-no-opt-remove-re.
23822 (bibtex-vec-push, bibtex-vec-incr): New functions.
23823 (bibtex-format-entry, bibtex-field-list)
23824 (bibtex-print-help-message, bibtex-validate)
23825 (bibtex-search-entries): Use new format of bibtex-entry-alist.
23826
23827 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
23828
23829 * progmodes/compile.el (compilation-goto-locus):
23830 * net/tramp-cmds.el (tramp-append-tramp-buffers):
23831 * bs.el (bs-cycle-next, bs-cycle-previous):
23832 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
23833 * bindings.el (mode-line-other-buffer):
23834 * autoinsert.el (auto-insert):
23835 * arc-mode.el (archive-extract):
23836 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
23837
23838 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
23839
23840 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
23841 Fix check of `emacs-lock-unlockable-modes'.
23842 Coerce true values of `emacs-lock--try-unlocking' to t.
23843
23844 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
23845
23846 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
23847 * emacs-lock.el: New file.
23848
23849 2011-07-05 Julien Danjou <julien@danjou.info>
23850
23851 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
23852 than `boundp' to check if face is set.
23853
23854 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
23855
23856 * register.el (registerv-make):
23857 * window.el (window-min-height): Fix typos in docstrings.
23858
23859 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
23860
23861 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
23862 Update doc string.
23863
23864 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
23865
23866 * server.el (server-execute): Catch quit and call
23867 `server-return-error' to pass the error back to emacsclient and
23868 close the connection (bug#8942).
23869
23870 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
23871
23872 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
23873 insecure exception for current topic. Also note that auto-saves
23874 are handled differently.
23875
23876 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
23877 State variables for tracking auto-save inhibition situation.
23878
23879 (allout-write-contents-hook-handler): Rename from
23880 'allout-write-file-hook-handler', and describe how it depends on
23881 write-contents-functions sensitivity to non-nil value to prevent
23882 file write.
23883
23884 (allout-auto-save-hook-handler): Remove. auto-save does not check
23885 this in individual buffers, only in the starting buffer, so this
23886 is not the right way for us to inhibit auto-save in a buffer
23887 according to its condition.
23888
23889 (allout-mode): Use new allout-write-contents-hook-handler, and
23890 only with write-contents-functions. Remove auto-save provisions -
23891 they're implemented elsewhere.
23892
23893 (allout-before-change-handler): If undo is in progress, note that
23894 for attention of allout-post-command-business.
23895
23896 (allout-post-command-business): If the command we're following was
23897 an undo, check for change in the status of encrypted items and
23898 adjust auto-save inhibitions accordingly.
23899
23900 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
23901 according to whether there are or aren't any plain-text topics
23902 pending encryption.
23903
23904 (allout-inhibit-auto-save-info-for-decryption):
23905 Adjust buffer-saved-size and some allout state to inhibit auto-saves
23906 if there are plain-text topics pending encryption.
23907
23908 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
23909 buffer-saved-size and some allout state to not inhibit auto-saves
23910 if there are no longer any plain-text topics pending encryption.
23911
23912 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
23913 No longer provide for exemption of the current topic.
23914
23915 2011-07-04 Juri Linkov <juri@jurta.org>
23916
23917 Add 7z operations to delete and save changed members (bug#8968).
23918 * arc-mode.el (archive-7z-expunge, archive-7z-update):
23919 New defcustoms.
23920 (archive-7z-write-file-member): New function.
23921 (archive-7z-summarize): Fix the number of dashes in the
23922 listing output.
23923
23924 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
23925
23926 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
23927 (bug#8958).
23928
23929 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
23930
23931 * bindings.el: Ignore next-buffer and previous-buffer in
23932 minibuffer-local-map.
23933
23934 * font-lock.el (font-lock-builtin-face): Change light background
23935 color to dark slate blue (Bug#6693).
23936
23937 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
23938
23939 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
23940
23941 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
23942
23943 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
23944 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
23945 Add switch-to-buffer.
23946
23947 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
23948
23949 * isearch.el (isearch-search-fun-function): Clarify further the
23950 meaning of the function returned.
23951
23952 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
23953
23954 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
23955
23956 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
23957 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
23958 Use it.
23959 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
23960 `tramp-default-remote-path' does not exist.
23961 (tramp-send-command-and-read): New optional argument NOERROR.
23962 (tramp-open-connection-setup-interactive-shell)
23963 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
23964 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
23965 (tramp-process-sentinel): Flush also process' connection property.
23966 (tramp-sh-handle-start-file-process): Do not set process
23967 sentinel. It is done now ...
23968 (tramp-maybe-open-connection): ... here. (Bug#8929)
23969
23970 2011-07-04 MON KEY <monkey@sandpframing.com>
23971
23972 * play/animate.el (animate-string): Doc fixes and allow changing
23973 the buffer name (bug#5417).
23974
23975 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
23976
23977 * play/animate.el (animation-buffer-name): Rename from *animate*.
23978
23979 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
23980
23981 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
23982 This is simpler and helps future-proof the code.
23983 (timer-until): Use time-subtract and float-time.
23984 (timer--time-less-p): Use time-less-p.
23985
23986 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
23987
23988 * type-break.el (timep): Use the value of `float-time' to avoid a
23989 byte-compiler warning.
23990
23991 * server.el (server-eval-and-print): Return any result, even nil.
23992
23993 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
23994
23995 * type-break.el: Accept time formats that the builtins accept.
23996 (timep, type-break-time-difference): Accept any format that
23997 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
23998 This is simpler and helps future-proof the code.
23999 (type-break-time-difference): Round rather than ignoring
24000 subseconds components.
24001
24002 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
24003
24004 * info.el (Info-apropos-matches): Make non-interactive, since it
24005 doesn't seem to do anything useful as a command (bug#8829).
24006
24007 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
24008
24009 * frame.el (frame-background-mode, frame-set-background-mode):
24010 Move from faces.el.
24011 (frame-default-terminal-background): New function.
24012
24013 * custom.el (custom-push-theme): Don't record faces in `changed'
24014 theme; this doesn't work correctly for per-frame face settings.
24015 (disable-theme): Use face-set-after-frame-default to reset faces.
24016 (custom--frame-color-default): New function.
24017
24018 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
24019
24020 * dired.el (dired-flagging-regexp): Remove unused variable
24021 (bug#8769).
24022
24023 2011-03-29 Kevin Ryde <user42@zip.com.au>
24024
24025 * progmodes/compile.el (compilation-error-regexp-alist-alist):
24026 `perl-Test2' extend to match possible "fail #N" rep count
24027 (bug#8377).
24028
24029 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
24030
24031 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
24032 `smtpmail-via-smtp' now returns the error instead of nil.
24033
24034 * isearch.el (isearch-search-fun-function): Clarify the doc string
24035 (bug#8101).
24036
24037 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
24038
24039 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
24040 unnecessary spaces (bug#8987).
24041
24042 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
24043
24044 * net/network-stream.el (open-network-stream): Use the
24045 :end-of-capability command thoughout.
24046
24047 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
24048
24049 * net/network-stream.el (open-network-stream): Add the
24050 :end-of-capability command parameter, used by pop3.el.
24051
24052 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
24053
24054 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
24055
24056 * fringe.el (fringe-query-style): Remove redundant text " (type ?
24057 for list)" (bug#6475).
24058
24059 * files.el (file-expand-wildcards): Ignore non-readable
24060 sub-directories while trying to find matches instead of signaling
24061 an error (bug#6297).
24062
24063 * man.el (Man-reference-regexp): Allow matching possible
24064 word-wrapped references (bug#6289).
24065
24066 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
24067 for consistency with the other vc buffers (bug#6197).
24068 (vc-checkin): Ditto.
24069
24070 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
24071
24072 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
24073
24074 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
24075
24076 * custom.el (defcustom): Clarify that :set is only used in the
24077 Customize user interface (bug#6089).
24078
24079 * progmodes/flymake.el (flymake-mode): If the buffer isn't
24080 associated with a file, refuse to run instead of erroring out
24081 (bug#6084).
24082
24083 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
24084 the doc string, since it appears that using `fill-column' always
24085 controls the width (bug#7845).
24086
24087 * simple.el (shell-command-on-region): Say where the error output
24088 went if `shell-command-default-error-buffer' is set (bug#6857).
24089
24090 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
24091
24092 * allout.el (allout-yank-processing): Adjust cursor position for
24093 backwards-deleted space.
24094
24095 (allout-rebullet-heading): Register changes with
24096 allout-exposure-changed-hook, so the modified topic is properly
24097 decorated.
24098
24099 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
24100
24101 * minibuffer.el (completion-in-region): Document PREDICATE
24102 (bug#7136).
24103
24104 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
24105 of keyword/argument pairs (bug#6904).
24106
24107 * replace.el (multi-occur):
24108 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
24109
24110 2011-07-02 Drew Adams <drew.adams@oracle.com>
24111
24112 * dired.el (dired-mark-if): Make the message about whether it's
24113 marking or unmarking clearer (bug#8523).
24114
24115 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
24116
24117 * disp-table.el (display-table-print-array): New function.
24118 (describe-display-table): Use it to print the vectors more pretty
24119 (Bug#8859).
24120
24121 2011-07-02 Martin Rudalics <rudalics@gmx.at>
24122
24123 * window.el (window-state-get-1): Don't assign clone numbers.
24124 Add clone-of item to list of window parameters.
24125 (window-state-put-2): Don't process clone numbers.
24126 (display-buffer-alist): Fix doc-string.
24127
24128 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
24129
24130 * subr.el (remq): Don't allocate if it's not needed.
24131 (keymap--menu-item-binding, keymap--menu-item-with-binding)
24132 (keymap--merge-bindings): New functions.
24133 (keymap-canonicalize): Use them to refine the canonicalization.
24134 * minibuffer.el (minibuffer-local-completion-map)
24135 (minibuffer-local-must-match-map): Move initialization from C.
24136 (minibuffer-local-filename-completion-map): Move initialization from C;
24137 don't inherit from anything here.
24138 (minibuffer-local-filename-must-match-map): Make obsolete.
24139 (completing-read-default): Use make-composed-keymap to combine
24140 minibuffer-local-filename-completion-map with either
24141 minibuffer-local-must-match-map or
24142 minibuffer-local-filename-completion-map.
24143
24144 2011-07-01 Glenn Morris <rgm@gnu.org>
24145
24146 * type-break.el (type-break-time-sum): Use dolist.
24147
24148 * textmodes/flyspell.el (flyspell-word-search-backward):
24149 Replace CL function.
24150
24151 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
24152
24153 * mouse.el (mouse--strip-first-event): New function.
24154 (function-key-map): Use it to map fringe clicks to normal clicks
24155 by default.
24156
24157 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
24158 (vc-bzr-revision-completion-table): Add support for annotate and date.
24159
24160 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
24161 inherit from parent.
24162
24163 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
24164
24165 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
24166 (dired-show-file-type): Doc fixup (bug#8818).
24167
24168 * dired.el (dired-mode): Fix up the doc string as suggested by
24169 Drew Adams (bug#8817).
24170
24171 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
24172 cookie, since the manual says that it should be possible to add
24173 this function to `find-file-hook' (bug#8709).
24174
24175 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
24176
24177 * progmodes/cfengine.el: Moved all cfengine3.el functionality
24178 here. Noted Ted Zlatanov as the maintainer.
24179 (cfengine-common-settings, cfengine-common-syntax): New functions
24180 to set up common things between `cfengine-mode' and
24181 `cfengine3-mode'.
24182 (cfengine3-mode): New mode.
24183 (cfengine3-defuns cfengine3-defuns-regex
24184 (cfengine3-class-selector-regex cfengine3-category-regex)
24185 (cfengine3-vartypes cfengine3-font-lock-keywords)
24186 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
24187 (cfengine3-indent-line): Add from cfengine3.el.
24188
24189 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
24190
24191 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
24192
24193 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
24194
24195 2011-07-01 Martin Rudalics <rudalics@gmx.at>
24196
24197 * window.el (same-window-buffer-names, same-window-regexps)
24198 (same-window-p, special-display-frame-alist)
24199 (special-display-popup-frame, special-display-function)
24200 (special-display-buffer-names, special-display-regexps)
24201 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
24202 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
24203 (split-window-preferred-function, split-height-threshold)
24204 (split-width-threshold, even-window-heights)
24205 (display-buffer-mark-dedicated, window-splittable-p)
24206 (split-window-sensibly, window-safely-shrinkable-p):
24207 Un-obsolete.
24208 (display-buffer): Don't spread args with function specifier
24209 because special-display-popup-frame won't like it.
24210
24211 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
24212
24213 Time-stamp simplifications and fixes.
24214 These improve accuracy slightly, and future-proof the code
24215 against some potential changes to current-time format.
24216
24217 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
24218 by using time-since and float-time.
24219
24220 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
24221 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
24222 + NNN microseconds".
24223
24224 * type-break.el (type-break-time-sum): Rewrite using time-add.
24225
24226 * play/hanoi.el (hanoi-current-time-float): Remove.
24227 All uses replaced by float-time.
24228
24229 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
24230 This yields a more-accurate answer.
24231 (rng-time-to-float): Remove; no longer needed.
24232
24233 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
24234
24235 * calendar/timeclock.el (timeclock-seconds-to-time):
24236 Defalias to seconds-to-time, since they're the same thing.
24237
24238 * emacs-lisp/elp.el (elp-elapsed-time):
24239 * emacs-lisp/benchmark.el (benchmark-elapse):
24240 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
24241
24242 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
24243
24244 * window.el (bury-buffer): Don't iconify the only frame.
24245 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
24246 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
24247
24248 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
24249
24250 * eshell/em-smart.el (eshell-smart-display-navigate-list):
24251 Add mouse-yank-primary.
24252
24253 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
24254
24255 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
24256
24257 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
24258
24259 * emacs-lisp/find-func.el (find-library--load-name): New fun.
24260 (find-library-name): Use it to find relative load names when provided
24261 absolute file name (bug#8803).
24262
24263 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
24264
24265 * textmodes/flyspell.el (flyspell-word): Consider words that
24266 differ only in case as potential doublons (bug#5687).
24267
24268 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
24269 Remove two rather uninteresting debugging-like messages to make
24270 debbugs.el more silent.
24271
24272 * comint.el (comint-password-prompt-regexp): Accept "Response" as
24273 a password-like phrase.
24274
24275 2011-06-30 Masatake YAMATO <yamato@redhat.com>
24276
24277 * progmodes/cc-guess.el: New file.
24278
24279 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
24280
24281 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
24282 derived from `c-basic-common-init'.
24283
24284 * progmodes/cc-mode.el (top-level): Require cc-guess.
24285 (c-basic-common-init): Use `cc-choose-style-for-mode'.
24286
24287 2011-06-30 Lawrence Mitchell <wence@gmx.li>
24288
24289 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
24290
24291 2011-06-30 Alan Mackenzie <acm@muc.de>
24292
24293 * progmodes/cc-engine.el (c-guess-continued-construct):
24294 Correct the handling of template-args-cont, particularly for when font
24295 lock is disabled. Name this case as "CASE G".
24296
24297 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
24298
24299 * allout.el (allout-yank-processing): Fix injection of extra space
24300 between bullet and non-whitespace character in first topic when
24301 pasting, ensuring that the actual spacing in the pasted topic
24302 following the bullet char is preserved. This extra space was
24303 causing pasted encrypted topics to get a decrypted status even
24304 when the content was actually still encrypted. Now the decryption
24305 status from before the paste is preserved.
24306
24307 (allout-flag-region): Set all allout overlays so they evaporate
24308 when reduced to zero length (evanescent), to prevent overlay
24309 leakage.
24310
24311 2011-06-30 Glenn Morris <rgm@gnu.org>
24312
24313 * w32-fns.el (w32-charset-info-alist): Declare.
24314
24315 * find-dired.el (find-grep-options): Simplify.
24316
24317 * term/ns-win.el (ns-set-resource): Declare.
24318
24319 * ses.el (row, col): Declare dynamic variables honestly.
24320
24321 * textmodes/reftex-parse.el (index-tags): Declare.
24322
24323 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
24324
24325 * cus-edit.el (customize-push-and-save): New function.
24326
24327 * files.el (hack-local-variables-confirm): Use it.
24328
24329 * custom.el (load-theme): New arg NO-CONFIRM.
24330 Use customize-push-and-save (Bug#8720).
24331 (custom-enabled-themes): Doc fix.
24332
24333 * cus-theme.el (customize-create-theme)
24334 (custom-theme-merge-theme): Callers to load-theme changed.
24335
24336 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
24337
24338 * thingatpt.el (thing-at-point-short-url-regexp): Require that
24339 short URLs have at least one dot in them (bug #7614).
24340
24341 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
24342 nil, because using a pty is apparently too slow (bug #895).
24343
24344 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
24345
24346 * mail/sendmail.el (sendmail-query-once): New function.
24347 (sendmail-query-once-function): New variable.
24348
24349 2011-06-29 Glenn Morris <rgm@gnu.org>
24350
24351 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
24352
24353 * ses.el (top-level): Require cl when compiling.
24354 (ses-set-localvars): Fix error statement.
24355 Call it at compile time to silence a storm of warnings.
24356
24357 2011-06-29 Martin Rudalics <rudalics@gmx.at>
24358
24359 * window.el (normalize-live-buffer): Rename to
24360 window-normalize-buffer.
24361 (normalize-live-frame): Rename to window-normalize-frame.
24362 (normalize-any-window): Rename to window-normalize-any-window.
24363 (normalize-live-window): Rename to window-normalize-live-window.
24364 (make-window-atom): Rename to window-make-atom.
24365 (window-resize-reset): Rename to window--resize-reset.
24366 (window-resize-reset-1): Rename to window--resize-reset-1.
24367 (resize-mini-window): Rename to window--resize-mini-window.
24368 (resize-subwindows-skip-p): Rename to
24369 window--resize-subwindows-skip-p.
24370 (resize-subwindows-normal): Rename to
24371 window--resize-subwindows-normal.
24372 (resize-subwindows): Rename to window--resize-subwindows.
24373 (resize-other-windows): Rename to window--resize-siblings.
24374 (resize-this-window): Rename to window--resize-this-window.
24375 (resize-root-window): Rename to window--resize-root-window.
24376 (resize-root-window-vertically): Rename to
24377 window--resize-root-window-vertically.
24378 (normalize-buffer-to-display): Rename to
24379 window-normalize-buffer-to-display.
24380 (normalize-buffer-to-switch-to): Rename to
24381 window-normalize-buffer-to-switch-to.
24382 Correspondingly update all callers of the functions listed
24383 above.
24384 (display-buffer-alist, display-buffer-normalize-arguments)
24385 (display-buffer-normalize-options, display-buffer)
24386 (display-buffer-alist-set): Use "function" instead of
24387 "fun-with-args".
24388
24389 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
24390
24391 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
24392 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
24393 debbugs.gnu.org. Mention acknowledgment email.
24394
24395 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
24396
24397 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
24398 buffer multibyteness, since it shouldn't matter.
24399
24400 2011-06-28 Martin Rudalics <rudalics@gmx.at>
24401
24402 * window.el (display-buffer-in-side-window): Handle dedicated
24403 windows as in display-buffer-reuse-window.
24404 (display-buffer-normalize-alist): Use value of override
24405 specifier.
24406 (display-buffer-normalize-specifiers): Use value of
24407 other-window-means-other-frame specifier.
24408 (display-buffer-alist): Rewrite some texts in widgets.
24409 (display-buffer): Spread arguments when calling function
24410 specified by fun-with-args.
24411
24412 2011-06-28 Deniz Dogan <deniz@dogan.se>
24413
24414 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
24415 Unnest `let'.
24416
24417 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
24418 selectors (Bug#5732).
24419 (css-proprietary-nmstart-re): Use `regexp-opt'.
24420
24421 2011-06-27 Jari Aalto <jari.aalto@cante.net>
24422
24423 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
24424 (eshell-ls-date-format): New defcustom.
24425 (eshell-ls-file): Use it.
24426
24427 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
24428
24429 * help-fns.el (describe-variable): Fix message for terminal-local vars.
24430
24431 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
24432
24433 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
24434 (ange-ftp-make-tmp-name): New arg.
24435 (ange-ftp-file-local-copy): Use it.
24436
24437 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
24438
24439 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
24440 no-conversion (Bug#8870).
24441
24442 2011-06-27 Martin Rudalics <rudalics@gmx.at>
24443
24444 * window.el (window-right, window-left, window-child)
24445 (window-child-count, window-last-child)
24446 (window-iso-combination-p, walk-window-tree-1)
24447 (window-atom-check-1, window-tree-1, delete-window)
24448 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
24449 new naming conventions - window-vchild, window-hchild,
24450 window-next and window-prev are now called window-top-child,
24451 window-left-child, window-next-sibling and window-prev-sibling
24452 respectively.
24453 (resize-window-reset): Rename to window-resize-reset.
24454 (resize-window-reset-1): Rename to window-resize-reset-1.
24455 (resize-window): Rename to window-resize.
24456 (window-min-height, window-min-width)
24457 (resize-mini-window, resize-this-window, resize-root-window)
24458 (resize-root-window-vertically, adjust-window-trailing-edge)
24459 (enlarge-window, shrink-window, maximize-window)
24460 (minimize-window, delete-window, quit-restore-window)
24461 (split-window, balance-windows, balance-windows-area-adjust)
24462 (balance-windows-area, window-state-put-2)
24463 (display-buffer-even-window-sizes, display-buffer-set-height)
24464 (display-buffer-set-width, set-window-text-height)
24465 (fit-window-to-buffer): Rename all "resize-window" prefixed
24466 calls to use the "window-resize" prefix convention.
24467 (display-buffer-alist): Fix symbol for label specifier.
24468 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
24469 corresponding specifier.
24470 Reported by Juanma Barranquero <lekktu@gmail.com>.
24471
24472 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
24473
24474 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
24475 convention.
24476 (ses-call-printer): Does not pass an empty string to formatter when the
24477 cell is empty to keep from barking printer Calc math-format-value.
24478
24479 2011-06-27 Richard Stallman <rms@gnu.org>
24480
24481 * battery.el (battery-mode-line-limit): New variable.
24482 (battery-update): Handle it.
24483
24484 * mail/rmailmm.el (rmail-mime-process-multipart):
24485 Handle truncated messages.
24486
24487 2011-06-27 Glenn Morris <rgm@gnu.org>
24488
24489 * progmodes/flymake.el (flymake-err-line-patterns):
24490 Allow for column numbers in the ant/javac pattern. (Bug#8866)
24491
24492 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
24493
24494 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
24495 (ses--clean-!, ses--clean-_): New functions.
24496 (ses-range): Add configurability of readout order, and conversion
24497 to Calc vector.
24498
24499 * ses.el (ses-repair-cell-reference-all): New function.
24500 (ses-cell-symbol): Set macro as safe, so that it can be used in
24501 formulas.
24502
24503 * ses.el: Update cycle detection algorithm.
24504 (ses-localvars): Add ses--Dijkstra-attempt-nb and
24505 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
24506 (ses-set-localvars): New function.
24507 (ses-make-cell): Add property-list as a cell element.
24508 (ses-cell-property-get-fun, ses-cell-property-get)
24509 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
24510 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
24511 New functions.
24512 (ses-cell-property-set, ses-cell-property-pop)
24513 (ses-cell-property-get-handle): New macro.
24514 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
24515 New aliases, used for code readability.
24516 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
24517 cycle detection.
24518 (ses-self-reference-early-detection): New defcustom.
24519 (ses-formula-references): Robustify against self-referring cells.
24520 (ses-mode): Use ses-set-localvars.
24521 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
24522 before lauching the update processing.
24523 (ses-initialize-Dijkstra-attempt): New function.
24524 (ses-recalculate-cell): Update for cycle detection based on
24525 Dijkstra algorithm.
24526
24527 * ses.el: Fix commenting and indenting convention.
24528
24529 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
24530
24531 * bs.el (bs-cycle-next): Complete last change.
24532
24533 2011-06-27 Drew Adams <drew.adams@oracle.com>
24534
24535 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
24536
24537 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
24538
24539 * net/network-stream.el (network-stream-open-starttls):
24540 Don't re-get capabilities unless we've reestablished connection.
24541 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
24542
24543 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
24544 to binary to possibly avoid line encoding issues on Windows (among
24545 other things).
24546
24547 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
24548
24549 * net/network-stream.el (open-network-stream): Return an :error
24550 saying what the problem was, if possible.
24551
24552 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
24553 server.
24554
24555 * net/network-stream.el (network-stream-open-starttls): If we
24556 wanted to use STARTTLS, and the server offered it, but we weren't
24557 able to because we had no STARTTLS support, then close the connection.
24558 (open-network-stream): Return an :error element, if present.
24559
24560 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
24561
24562 * hl-line.el (hl-line-sticky-flag): Doc fix.
24563 (global-hl-line-sticky-flag): New option (Bug#8323).
24564 (global-hl-line-highlight): Obey it.
24565
24566 * vc/vc.el (vc-revert-show-diff): Default to t.
24567
24568 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
24569
24570 * allout-widgets.el (allout-widgets-post-command-business):
24571 Stop decorating intermediate isearch matches. They're not being
24572 undecorated when an isearch is continued past, and isearch
24573 automatically collapses them. This leads to "widget leaks", where
24574 decorated items accumulate in collapsed areas. Lines with lots of
24575 hidden widgets can slow down cursor travel, substantially.
24576 Too much complicated machinery would be needed to ensure undecoration,
24577 so we're doing without this nicety.
24578
24579 (allout-widgets-tally-string): Don't try to do a hash-table-count
24580 of allout-widgets-tally when it's nil. This eliminates spurious "Error
24581 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
24582 *Messages* when allout-widgets-maintain-tally is t.
24583
24584 2011-06-26 Martin Rudalics <rudalics@gmx.at>
24585
24586 * window.el (display-buffer-normalize-argument): Rename to
24587 display-buffer-normalize-arguments. Handle special meaning of
24588 LABEL argument. Respect special-display-function when popping up
24589 a new frame. Fix code searching for a window showing the buffer
24590 on another frame.
24591 (display-buffer-normalize-specifiers):
24592 Call display-buffer-normalize-arguments.
24593 (display-buffer-in-window): Don't undedicate the window if its
24594 buffer remains the same.
24595 Reported by Drew Adams <drew.adams@oracle.com>.
24596 (display-buffer-alist): Add choice for same-window macro
24597 specfier.
24598 (display-buffer): Mention special meaning of LABEL argument in
24599 doc-string. Fix quoting. Don't pop up a new frame even as
24600 fallback.
24601
24602 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
24603
24604 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
24605 avoid deleting the current window in some cases (bug#8911).
24606
24607 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
24608
24609 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
24610 (Bug#8934)
24611
24612 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
24613
24614 * net/network-stream.el (network-stream-open-starttls):
24615 Use built-in TLS support if `gnutls-available-p' is true.
24616 (network-stream-open-tls): Ditto.
24617
24618 2011-06-26 Leo Liu <sdl.web@gmail.com>
24619
24620 * register.el (registerv): New struct.
24621 (registerv-make): New function.
24622 (jump-to-register, describe-register-1, insert-register):
24623 Support the jump-func, print-func and insert-func slot of a registerv
24624 struct. (Bug#8415)
24625
24626 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
24627
24628 * vc/vc.el (vc-revert-show-diff): New defcustom.
24629 (vc-diff-internal): New arg specifying diff buffer.
24630 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
24631 reuse an existing *vc-diff* buffer (Bug#8927).
24632
24633 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
24634
24635 2011-06-26 Glenn Morris <rgm@gnu.org>
24636
24637 * progmodes/f90.el (f90-critical-indent): New option.
24638 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
24639 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
24640 (f90-mode): Doc fix.
24641 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
24642 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
24643 (f90-beginning-of-block, f90-next-block, f90-indent-region)
24644 (f90-match-end): Handle block, critical.
24645
24646 2011-06-25 Glenn Morris <rgm@gnu.org>
24647
24648 * calendar/diary-lib.el (diary-included-files): Doc fix.
24649 (diary-include-files): New function, extracted from
24650 diary-include-other-diary-files and diary-mark-included-diary-files.
24651 (diary-include-other-diary-files, diary-mark-included-diary-files):
24652 Just call diary-include-files.
24653 (diary-mark-entries): Reset diary-included-files on first call.
24654
24655 * calendar/diary-lib.el (diary-mark-entries)
24656 (diary-mark-included-diary-files):
24657 Visit included diary-files in temp buffers.
24658
24659 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
24660 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
24661 (f90-start-block-re, f90-imenu-generic-expression)
24662 (f90-looking-at-program-block-start, f90-no-block-limit):
24663 Add support for submodules.
24664
24665 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
24666 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
24667
24668 2011-06-25 Eli Zaretskii <eliz@gnu.org>
24669
24670 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
24671 buffer-file-type before setting its value, to avoid disastrous
24672 global effects on decoding files for DOS/Windows systems. (Bug#8780)
24673
24674 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
24675
24676 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
24677
24678 * ses.el (ses-unload-function):
24679 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
24680
24681 * proced.el (proced-unload-function):
24682 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
24683
24684 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
24685
24686 * server.el (server-create-window-system-frame): Add parameters arg.
24687 (server-process-filter): Doc fix. Handle frame-parameters.
24688
24689 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
24690
24691 Fix bug#8730, bug#8781.
24692
24693 * loadhist.el (unload--set-major-mode): New function.
24694 (unload-feature): Use it.
24695
24696 * progmodes/python.el (python-after-info-look): Add autoload cookie.
24697 (python-unload-function): New function.
24698
24699 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
24700
24701 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
24702
24703 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
24704
24705 * net/browse-url.el (browse-url-firefox-program): Add icecat to
24706 the candidates list.
24707
24708 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
24709
24710 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
24711
24712 2011-06-23 Richard Stallman <rms@gnu.org>
24713
24714 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
24715 (rmail-variables): Set next-error-move-function.
24716 (rmail-what-message): Take argument POS.
24717 (rmail-next-error-move): New function.
24718
24719 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
24720
24721 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
24722 messages for adjacent non-terminals.
24723
24724 2011-06-23 Richard Stallman <rms@gnu.org>
24725
24726 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
24727 (rmail-show-message-1): Preserve buffer modified flag.
24728 (rmail-start-mail): Don't specify use of rmail-mail-return;
24729 that's done by mail-bury now.
24730 (rmail-mail-return): Handle arg NEWBUF.
24731
24732 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
24733
24734 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
24735 SIZE is a number.
24736
24737 2011-06-23 Martin Rudalics <rudalics@gmx.at>
24738
24739 * window.el (get-lru-window, get-mru-window)
24740 (get-largest-window): Never return a minibuffer window.
24741 (display-buffer-pop-up-window): Fix a bug that could lead to
24742 reusing the minibuffer window.
24743 (display-buffer): Pass original specifier argument to
24744 display-buffer-function instead of the normalized one.
24745 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
24746
24747 2011-06-22 Leo Liu <sdl.web@gmail.com>
24748
24749 * minibuffer.el (completing-read-function)
24750 (completing-read-default): Move from minibuf.c.
24751
24752 2011-06-22 Richard Stallman <rms@gnu.org>
24753
24754 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
24755 to Rmail even if not started by a special Rmail command.
24756
24757 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
24758 Copy the buffer currently showing just one message.
24759
24760 2011-06-22 Roland Winkler <winkler@gnu.org>
24761
24762 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
24763 (bibtex-clean-entry): First delete the old key so that a
24764 customized algorithm for generating the new key does not get
24765 confused by the old key.
24766 (bibtex-url): Obey regexp of first step.
24767 (bibtex-search-entries): Do not use add-to-list with local
24768 list-var.
24769
24770 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
24771
24772 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
24773 stored a user name, then query for the password first, instead of
24774 waiting for SMTP to give an error message and the trying again.
24775
24776 2011-06-22 Lawrence Mitchell <wence@gmx.li>
24777
24778 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
24779 BUFFER in call-process.
24780
24781 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
24782
24783 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
24784 QUIT twice.
24785 (smtpmail-try-auth-methods): Require user name and password from
24786 auth-source.
24787
24788 2011-06-22 Martin Rudalics <rudalics@gmx.at>
24789
24790 * window.el (display-buffer-default-specifiers)
24791 (display-buffer-alist): Remove entries for pop-up-frame-alist.
24792 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
24793 (split-window): Normalize SIDE argument (Bug#8916).
24794
24795 * frame.el (pop-up-frame-alist, pop-up-frame-function)
24796 (special-display-frame-alist, special-display-popup-frame):
24797 Remove duplicate declarations. These are now in window.el.
24798
24799 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
24800
24801 * mail/smtpmail.el (smtpmail-via-smtp):
24802 Set :use-starttls-if-possible so that we always use STARTTLS if the
24803 server supports it. SMTP servers that support STARTTLS commonly
24804 require it.
24805
24806 * net/network-stream.el (network-stream-open-starttls): Support
24807 upgrading to STARTTLS always, even if we don't have built-in support.
24808 (open-network-stream): Add the :always-query-capabilities keyword.
24809
24810 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
24811 upgrades with `open-network-stream', and rely solely on
24812 auth-source for all credentials. Big changes throughout the file,
24813 but in particular:
24814 (smtpmail-auth-credentials): Remove.
24815 (smtpmail-starttls-credentials): Remove.
24816 (smtpmail-via-smtp): Check for servers saying they want AUTH after
24817 MAIL FROM, too.
24818
24819 * net/network-stream.el (network-stream-open-starttls):
24820 Provide support for client certificates both for external and built-in
24821 STARTTLS.
24822 (auth-source): Require.
24823 (open-network-stream): Document the :client-certificate keyword.
24824 (network-stream-certificate): Change cert-cert to cert and
24825 cert-key to key.
24826
24827 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
24828
24829 * net/tramp-cache.el (top): Don't load the persistency file when
24830 "emacs -Q" has been called.
24831
24832 2011-06-21 Tim Harper <timcharper@gmail.com>
24833
24834 * term/ns-win.el (ns-initialize-window-system):
24835 Set application-specific `ApplePressAndHoldEnabled' system
24836 resource to NO as it is not yet supported by the NS port.
24837
24838 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
24839
24840 * misc.el (list-dynamic-libraries--refresh): Compute header here...
24841 (list-dynamic-libraries): ...not here.
24842
24843 2011-06-21 Leo Liu <sdl.web@gmail.com>
24844
24845 * subr.el (sha1): Implement sha1 using secure-hash.
24846
24847 2011-06-21 Martin Rudalics <rudalics@gmx.at>
24848
24849 * window.el (display-buffer-alist): In default value do not
24850 enforce searching a window on any but the selected frame.
24851 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
24852 (display-buffer-select-window): Remove function.
24853 (display-buffer-in-window): When a window on another frame gets
24854 reused, do not select it any more but just raise its frame if
24855 necessary (Bug#8851) and (Bug#8856).
24856 (display-buffer-normalize-options): Handle pop-up-frames related
24857 options more faithfully.
24858 (pop-to-buffer): Don't rely on `display-buffer' selecting the
24859 window if it is on another frame.
24860 (display-buffer-alist, display-buffer-default-specifiers):
24861 Don't make new frame unsplittable by default.
24862 (display-buffer-normalize-argument): Fix doc-string typo and use
24863 'same-frame-other-window instead of 'other-window when associating
24864 with display-buffer-macro-specifiers.
24865
24866 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
24867
24868 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
24869 New functions.
24870 (5x5-mode-map, 5x5-mode-menu): Bind them.
24871 (5x5-draw-grid): Tweak the solver's rendering.
24872
24873 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
24874
24875 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
24876 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
24877
24878 2011-06-21 Drew Adams <drew.adams@oracle.com>
24879
24880 * menu-bar.el: Use function variable instead of switch-to-buffer.
24881 (menu-bar-select-buffer-function): New variable.
24882 (menu-bar-update-buffers): Use it (bug#8876).
24883
24884 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
24885
24886 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
24887 variable's status.
24888
24889 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
24890
24891 * x-dnd.el (x-dnd-version-from-flags)
24892 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
24893 and long as number (Bug#8899).
24894 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
24895
24896 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
24897
24898 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
24899 (completion-try-completion, completion-all-completions): Compute the
24900 metadata argument if it's missing; make it optional (bug#8795).
24901
24902 * wid-edit.el: Use lex-bind and move towards completion-at-point.
24903 (widget-complete): Use new :completion-function property.
24904 (widget-completions-at-point): New function.
24905 (default): Use :completion-function instead of :complete.
24906 (widget-default-completions): Rename from widget-default-complete;
24907 Rewrite.
24908 (widget-string-complete, widget-file-complete, widget-color-complete):
24909 Remove functions.
24910 (file, symbol, function, variable, coding-system, color):
24911 * international/mule-cmds.el (default-input-method, charset)
24912 (language-info-custom-alist):
24913 * cus-edit.el (face): Use new property :completions.
24914
24915 * progmodes/pascal.el (pascal-completions-at-point): New function.
24916 (pascal-mode): Use it.
24917 (pascal-mode-map): Use completion-at-point.
24918 (pascal-toggle-completions): Make obsolete.
24919 (pascal-complete-word, pascal-show-completions):
24920 * progmodes/octave-mod.el (octave-complete-symbol):
24921 Redefine as obsolete alias.
24922 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
24923 Signal absence of completion info for old Octave,
24924 (inferior-octave-complete): Redefine as obsolete alias.
24925 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
24926 (meta-completions-at-point): Rename from meta-complete-symbol and
24927 adapt it for use on completion-at-point-functions.
24928 (meta-common-mode): Use it.
24929 (meta-looking-at-backward, meta-match-buffer): Remove.
24930 (meta-complete-symbol): Redefine as obsolete alias.
24931 (meta-common-mode-map): Use completion-at-point.
24932 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
24933 (makefile-mode-map): Use completion-at-point.
24934 (makefile-completions-at-point): Rename from makefile-complete and
24935 adapt it for use on completion-at-point-functions.
24936 (makefile-mode): Use it.
24937 (makefile-complete): Redefine as obsolete alias.
24938
24939 2011-06-20 Deniz Dogan <deniz@dogan.se>
24940
24941 * net/rcirc.el: Delete trailing whitespaces once and for all.
24942
24943 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
24944
24945 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
24946
24947 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
24948
24949 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
24950
24951 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
24952
24953 2011-06-19 Martin Rudalics <rudalics@gmx.at>
24954
24955 * window.el (display-buffer-other-window-means-other-frame):
24956 Call display-buffer-normalize-alist.
24957 (display-buffer-normalize-specifiers-1): Rename to
24958 display-buffer-normalize-argument. New argument other-frame.
24959 Rewrite.
24960 (display-buffer-normalize-specifiers-2): Rename to
24961 display-buffer-normalize-options.
24962 (display-buffer-normalize-alist-1): New function.
24963 (display-buffer-normalize-specifiers-3): Rename to
24964 display-buffer-normalize-alist.
24965 Call display-buffer-normalize-alist-1.
24966 (display-buffer-normalize-options-inhibit): New variable.
24967 (display-buffer-normalize-specifiers): Rewrite calling
24968 display-buffer-normalize-alist,
24969 display-buffer-normalize-argument, and
24970 display-buffer-normalize-options. Don't call the latter if
24971 display-buffer-normalize-options-inhibit is non-nil.
24972 (frame-auto-delete): New option.
24973 (window-deletable-p): Use frame-auto-delete.
24974 (window-list-no-nils, window-state-ignored-parameters)
24975 (window-state-get-1, window-state-get, window-state-put-list)
24976 (window-state-put-1, window-state-put-2, window-state-put):
24977 New functions.
24978 (display-buffer-normalize-options): Move special-display-p group
24979 after pop-up-frame group (Bug#8851) and (Bug#8856).
24980
24981 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
24982
24983 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
24984 groups (Bug#8776).
24985 (rx-submatch-n): New function.
24986 (rx): Document it.
24987
24988 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
24989 (Bug#8768).
24990
24991 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
24992
24993 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
24994
24995 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
24996 anytime existing face settings are present (Bug#8889).
24997
24998 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
24999 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
25000 Remove unused argument.
25001
25002 2011-06-18 Martin Rudalics <rudalics@gmx.at>
25003
25004 * window.el (display-buffer-default-specifiers):
25005 Remove pop-up-frame. Add pop-up-window-min-height,
25006 pop-up-window-min-width, and another reuse-window specifier
25007 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
25008 (display-buffer-normalize-specifiers-2):
25009 Handle split-height-threshold and split-width-threshold also when
25010 pop-up-windows is unset. Add a reuse-window specifier for the
25011 case popping up a new window fails.
25012 (special-display-popup-frame): Remove double quoting.
25013 (display-buffer-normalize-specifiers-1): Fix thinko.
25014
25015 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
25016
25017 * shell.el (shell-completion-vars): Set pcomplete-termination-string
25018 according to comint-completion-addsuffix.
25019
25020 * pcomplete.el: Convert to lexical binding and fix bug#8819.
25021 (pcomplete-suffix-list): Mark as obsolete.
25022 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
25023 pcomplete-seen in the closure.
25024 (pcomplete-comint-setup): Setup completion-at-point as well.
25025 (pcomplete--entries): New function.
25026 (pcomplete--env-regexp): New var.
25027 (pcomplete-entries): Rewrite to work with partial-completion and
25028 without relying on pcomplete-suffix-list.
25029 (pcomplete-pare-list): Remove, unused.
25030
25031 2011-06-17 Martin Rudalics <rudalics@gmx.at>
25032
25033 * window.el (display-buffer-alist): Set pop-up-window-min-height
25034 and pop-up-window-min-width in default value. Reported by
25035 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
25036 other-window-means-other-frame.
25037 (display-buffer-macro-specifiers): Comment out entry for
25038 other-window specifier.
25039 (display-buffer-other-window-means-other-frame): New function.
25040 (display-buffer-normalize-specifiers-1): New arguments
25041 buffer-name and label. Treat other-window case specially.
25042 (display-buffer-normalize-specifiers-2): Treat other-window case
25043 specially.
25044 (display-buffer-normalize-specifiers-3): New function.
25045 (display-buffer-normalize-specifiers):
25046 Call display-buffer-normalize-specifiers-3.
25047
25048 2011-06-17 Martin Rudalics <rudalics@gmx.at>
25049
25050 * window.el (same-window-p): Fix two typos introduced when
25051 adding with-no-warnings.
25052 (display-buffer-normalize-specifiers-1): Don't check
25053 pop-up-frames for 'unset initialization.
25054 (display-buffer-normalize-specifiers-2): Major rewrite using
25055 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
25056 (pop-up-frames, display-buffer-reuse-frames)
25057 (display-buffer-mark-dedicated): Don't initialize to 'unset.
25058 Suggested by David Engster <deng@randomsample.de>.
25059 (even-window-heights): Initialize to 'unset.
25060 (display-buffer-alist-set): Handle new 'unset initializations.
25061 (display-buffer-macro-specifiers): Don't pop up a new frame in the
25062 other window case.
25063
25064 2011-06-16 Martin Rudalics <rudalics@gmx.at>
25065
25066 * window.el (display-buffer-normalize-specifiers-1):
25067 Respect current value of pop-up-frames for most reasonable values of
25068 second argument of display-buffer (Bug#8865).
25069 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
25070 (switch-to-buffer-other-window-same-frame)
25071 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
25072 Adams (Bug#8875).
25073 (display-buffer): Don't check noninteractive when calling
25074 display-buffer-pop-up-frame.
25075 (display-buffer-pop-up-frame): Never pop up a frame in
25076 noninteractive mode (Bug#8857).
25077 (enlarge-window, shrink-window): Don't report an error when the
25078 window can't be resized as requested (Bug#8862).
25079
25080 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
25081
25082 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
25083
25084 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
25085
25086 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
25087
25088 2011-06-15 Alan Mackenzie <acm@muc.de>
25089
25090 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
25091 for declarators, disable knr checking to speed up for normal files.
25092 2: Refactor, replacing a sequence of nested if forms by a cond form.
25093
25094 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
25095
25096 * net/network-stream.el (open-network-stream): Add the keyword
25097 :always-query-capabilities for the case where you want to force a
25098 `plain' network connection, but the protocol still requires the
25099 capabilitiy command (i.e., SMTP and EHLO).
25100
25101 * subr.el (process-live-p): Rename from `process-alive-p' for
25102 consistency with other `-live-p' functions.
25103
25104 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
25105
25106 * window.el (same-window-buffer-names, same-window-regexps)
25107 (special-display-frame-alist, special-display-popup-frame)
25108 (special-display-function, special-display-buffer-names)
25109 (special-display-regexps, pop-up-frame-alist)
25110 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
25111 (pop-up-windows, split-window-preferred-function)
25112 (split-height-threshold, split-width-threshold, even-window-heights)
25113 (display-buffer-mark-dedicated): Don't encourage the use of
25114 display-buffer-alist from Elisp code.
25115
25116 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
25117
25118 * progmodes/python.el (python-mode): Derive from prog-mode.
25119 * progmodes/ps-mode.el (ps-mode):
25120 * progmodes/mixal-mode.el (mixal-mode):
25121 * progmodes/cfengine.el (cfengine-mode):
25122 * progmodes/ld-script.el (ld-script-mode): Likewise.
25123
25124 2011-06-15 Martin Rudalics <rudalics@gmx.at>
25125
25126 * window.el (display-buffer-alist): Trim default value to avoid
25127 popping up a new frame (Bug#8857) or reusing an arbitrary window
25128 on another frame.
25129 (display-buffer): Do not fall back on popping up a new frame in
25130 batch mode (Bug#8857).
25131
25132 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
25133
25134 * cus-theme.el (describe-theme-1): Use custom-theme-p.
25135 (custom-theme-summary): New function.
25136 (customize-themes): Use it.
25137
25138 2011-06-13 Glenn Morris <rgm@gnu.org>
25139
25140 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
25141
25142 2011-06-13 Martin Rudalics <rudalics@gmx.at>
25143
25144 * help.el (help-window): Remove variable.
25145 (help-window-point-marker, temp-buffer-max-height)
25146 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
25147 (help-print-return-message): Don't set help-window.
25148 (resize-temp-buffer-window): Rewrite cod eand doc-string.
25149 (help-window-setup-finish): Remove.
25150 (help-window-display-message, help-window-setup)
25151 (with-help-window): Major rewrite based on new
25152 display-buffer-window variable.
25153
25154 * help-mode.el (help-mode-finish): Remove help-window related
25155 code.
25156
25157 * view.el (view-exits-all-viewing-windows): Remove reference to
25158 view-return-to-alist in doc-string.
25159 (view-return-to-alist): Make obsolete.
25160 (view-buffer): Call pop-to-buffer-same-window and remove
25161 undo-window code.
25162 (view-buffer-other-window): Call pop-to-buffer-other-window and
25163 simplify code. Ignore second argument.
25164 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
25165 simplify code. Ignore second argument.
25166 (view-return-to-alist-update): Make obsolete.
25167 (view-mode-enter): Rename second argument to QUIT-RESTORE.
25168 Rewrite using quit-restore window parameters.
25169 (view-mode-exit): Rename second argument to EXIT-ONLY.
25170 Rewrite using quit-restore-window.
25171 (View-exit, View-exit-and-edit, View-leave, View-quit)
25172 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
25173 appropriate arguments.
25174 (view-end-message): Use quit-restore window parameter.
25175
25176 * window.el (display-buffer-function): Rewrite doc-string.
25177 (display-buffer-window, display-buffer-alist): New variables.
25178 (display-buffer-split-specifiers)
25179 (display-buffer-side-specifiers)
25180 (display-buffer-macro-specifiers): New constants.
25181 (display-buffer-even-window-sizes, display-buffer-set-height)
25182 (display-buffer-set-width, display-buffer-select-window)
25183 (display-buffer-in-window, display-buffer-reuse-window)
25184 (display-buffer-split-window-1, display-buffer-split-window)
25185 (display-buffer-split-atom-window, display-buffer-pop-up-window)
25186 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
25187 (display-buffer-in-side-window, normalize-buffer-to-display)
25188 (display-buffer-normalize-specifiers-1)
25189 (display-buffer-normalize-specifiers-2)
25190 (display-buffer-normalize-specifiers, display-buffer-frame):
25191 New functions.
25192 (display-buffer): Major rewrite.
25193 (display-buffer-other-window, display-buffer-other-frame)
25194 (pop-to-buffer, switch-to-buffer-other-window)
25195 (switch-to-buffer-other-frame): Rewrite.
25196 (display-buffer-same-window, display-buffer-same-frame)
25197 (display-buffer-same-frame-other-window)
25198 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
25199 (pop-to-buffer-other-window)
25200 (pop-to-buffer-same-frame-other-window)
25201 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
25202 (switch-to-buffer-other-window-same-frame): New functions.
25203 (same-window-p, special-display-p): Rewrite disabling warnings.
25204 Make obsolete.
25205 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
25206 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
25207 Make obsolete
25208 (same-window-buffer-names, same-window-regexps)
25209 (special-display-frame-alist, special-display-popup-frame)
25210 (special-display-function, special-display-buffer-names)
25211 (special-display-regexps, pop-up-frame-alist)
25212 (pop-up-frame-function, split-window-preferred-function)
25213 (split-height-threshold, split-width-threshold)
25214 (even-window-heights): Make obsolete.
25215
25216 2011-06-12 Glenn Morris <rgm@gnu.org>
25217
25218 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
25219 Misc simplifications.
25220
25221 2011-06-12 Martin Rudalics <rudalics@gmx.at>
25222
25223 * window.el (window-safely-shrinkable-p): Restore function which
25224 was inadvertently removed in change from 2011-06-11. Declare as
25225 obsolete.
25226
25227 * calendar/calendar.el (calendar-generate-window):
25228 Use window-iso-combined-p instead of combination of one-window-p and
25229 window-safely-shrinkable-p.
25230
25231 2011-06-12 Glenn Morris <rgm@gnu.org>
25232
25233 * progmodes/fortran.el (fortran-mode-syntax-table):
25234 * progmodes/f90.el (f90-mode-syntax-table):
25235 Set % to punctuation. (Bug#8820)
25236 (f90-find-tag-default): Remove, no longer needed.
25237
25238 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
25239
25240 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
25241
25242 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
25243
25244 * image.el (image-animated-p): Return animation delay in seconds.
25245 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
25246 (image-animate-timeout): Remove DELAY argument. Don't assume
25247 every subimage has the same delay; get it from image-animated-p.
25248 (image-animate): Caller changed.
25249
25250 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
25251
25252 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
25253 to ignored backtrace functions.
25254
25255 2011-06-11 Glenn Morris <rgm@gnu.org>
25256
25257 * calendar/appt.el (appt-disp-window-function): Doc fix.
25258 (appt-check): Handle overlapping appointments. (Bug#8337)
25259
25260 2011-06-11 Martin Rudalics <rudalics@gmx.at>
25261
25262 * window.el (window-tree-1, window-tree): New functions, moving
25263 the latter to window.el.
25264 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
25265 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
25266 (bw-refresh-edges): Remove.
25267 (balance-windows-1, balance-windows-2): New functions.
25268 (balance-windows): Rewrite in terms of window tree functions,
25269 balance-windows-1 and balance-windows-2.
25270 (bw-adjust-window): Remove.
25271 (balance-windows-area-adjust): New function with functionality of
25272 bw-adjust-window but using resize-window.
25273 (set-window-text-height): Rewrite doc-string.
25274 Use normalize-live-window and resize-window.
25275 (enlarge-window-horizontally, shrink-window-horizontally):
25276 Rename argument to DELTA.
25277 (window-buffer-height): New function.
25278 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
25279 Rewrite using new window resize routines.
25280 (kill-buffer-and-window, mouse-autoselect-window-select):
25281 Use ignore-errors instead of condition-case.
25282 (quit-window): Call delete-frame instead of delete-windows-on
25283 for the only buffer on frame.
25284
25285 2011-06-10 Martin Rudalics <rudalics@gmx.at>
25286
25287 * loadup.el (top-level): Load window before files for the sake
25288 of replace-buffer-in-windows.
25289
25290 * files.el (read-buffer-to-switch)
25291 (switch-to-buffer-other-window)
25292 (switch-to-buffer-other-frame, display-buffer-other-frame):
25293 Move to window.el.
25294
25295 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
25296 (previous-buffer): Move to window.el.
25297
25298 * bindings.el (unbury-buffer): Move to window.el.
25299
25300 * window.el (delete-other-windows-vertically): Move after
25301 definition of delete-other-windows.
25302 (other-window, delete-windows-on, replace-buffer-in-windows):
25303 Move here from window.c.
25304 (record-window-buffer, unrecord-window-buffer)
25305 (set-window-buffer-start-and-point, switch-to-prev-buffer)
25306 (switch-to-next-buffer): New functions.
25307 (get-next-valid-buffer, last-buffer, next-buffer): Move here
25308 from simple.el. Call switch-to-next-buffer.
25309 (previous-buffer): Move here from simple.el.
25310 Call switch-to-prev-buffer.
25311 (bury-buffer): Move here from buffer.c. Switch to previous
25312 buffer when window cannot be deleted.
25313 (unbury-buffer): Move here from bindings.el.
25314 (ctl-x-map): Move binding for other-window from window.c to
25315 here.
25316 (read-buffer-to-switch, switch-to-buffer-other-window)
25317 (switch-to-buffer-other-frame): Move here from files.el.
25318 (normalize-buffer-to-switch-to): New functions.
25319 (switch-to-buffer): Move here from buffer.c.
25320 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
25321
25322 2011-06-10 Martin Rudalics <rudalics@gmx.at>
25323
25324 * window.el (window-min-height, window-min-width): Move here
25325 from window.c. Add defcustoms and rewrite doc-strings.
25326 (resize-mini-window, resize-window): New functions.
25327 (adjust-window-trailing-edge, enlarge-window, shrink-window):
25328 Move here from window.c.
25329 (maximize-window, minimize-window): New functions.
25330 (delete-window, delete-other-windows, split-window): Move here
25331 from window.c.
25332 (window-split-min-size): New function.
25333 (split-window-keep-point): Mention split-window-above-each-other
25334 instead of split-window-vertically.
25335 (split-window-above-each-other, split-window-vertically):
25336 Rename split-window-vertically to split-window-above-each-other
25337 and provide defalias for old definition.
25338 (split-window-side-by-side, split-window-horizontally):
25339 Rename split-window-horizontally to split-window-side-by-side
25340 and provide defalias for the old definition.
25341 (ctl-x-map): Move bindings for delete-window,
25342 delete-other-windows and enlarge-window here from window.c.
25343 Replace bindings for split-window-vertically and
25344 split-window-horizontally by bindings for
25345 split-window-above-each-other and split-window-side-by-side.
25346
25347 * cus-start.el (all): Remove entries for window-min-height and
25348 window-min-width. Add entries for window-splits and
25349 window-nest.
25350
25351 2011-06-09 Glenn Morris <rgm@gnu.org>
25352
25353 * calendar/appt.el (appt-mode-line): New function.
25354 (appt-check, appt-disp-window): Use it.
25355
25356 * files.el (hack-one-local-variable-eval-safep):
25357 Allow minor-modes with explicit +/-1 arguments.
25358
25359 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
25360
25361 * term/xterm.el (xterm): Add defgroup.
25362 (xterm-extra-capabilities): Add defcustom to supply known xterm
25363 capabilities, skip querying them, or query them (default).
25364 (terminal-init-xterm): Use it.
25365 (terminal-init-xterm-modify-other-keys): New function to set up
25366 modifyOtherKeys support to simplify `terminal-init-xterm'.
25367
25368 2011-06-09 Martin Rudalics <rudalics@gmx.at>
25369
25370 * window.el (resize-window-reset, resize-window-reset-1)
25371 (resize-subwindows-skip-p, resize-subwindows-normal)
25372 (resize-subwindows, resize-other-windows, resize-this-window)
25373 (resize-root-window, resize-root-window-vertically)
25374 (window-deletable-p, window-or-subwindow-p)
25375 (frame-root-window-p): New functions.
25376
25377 2011-06-09 Glenn Morris <rgm@gnu.org>
25378
25379 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
25380 (ange-ftp-get-files): Use it.
25381
25382 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
25383
25384 * mail/sendmail.el (mail-recover-1, mail-recover):
25385 * files.el (recover-file, recover-session):
25386 Handle dired-listing-switches not being just a single short option.
25387
25388 2011-06-09 Glenn Morris <rgm@gnu.org>
25389
25390 * calendar/appt.el (appt-display-message, appt-disp-window):
25391 Handle lists of appointments.
25392
25393 2011-06-08 Martin Rudalics <rudalics@gmx.at>
25394
25395 * window.el (one-window-p): Move down in code.
25396 Rewrite doc-string.
25397 (window-current-scroll-bars): Rewrite doc-string.
25398 Normalize live window argument.
25399 (walk-windows, get-window-with-predicate, count-windows):
25400 Rewrite doc-string. Use window-list-1.
25401 (window-in-direction-2, window-in-direction, get-mru-window):
25402 New functions.
25403
25404 2011-06-08 Reuben Thomas <rrt@sc3d.org>
25405
25406 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
25407 Doc fix (Bug#8713).
25408
25409 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
25410
25411 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
25412
25413 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
25414
25415 * loadhist.el (unload-feature-special-hooks):
25416 Add `comint-output-filter-functions'.
25417
25418 2011-06-08 Ivan Kanis <gnu@kanis.fr>
25419
25420 * calendar/appt.el (appt-check): Move some initializations into the let.
25421
25422 2011-06-08 Martin Rudalics <rudalics@gmx.at>
25423
25424 * window.el (window-height): Defalias to window-total-height.
25425 (window-width): Defalias to window-body-width.
25426
25427 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
25428
25429 * image-mode.el (image-toggle-animation): New command.
25430 (image-mode-map): Bind it to RET.
25431 (image-mode): Update message.
25432 (image-toggle-display-image): Avoid a spurious cache flush.
25433 (image-transform-rotation): Doc fix.
25434 (image-transform-properties): Return quickly in the normal case.
25435 (image-animate-loop): Rename from image-animate-max-time.
25436
25437 * image.el (image-animate-max-time): Move to image-mode.el.
25438 (create-animated-image): Remove unnecessary function.
25439 (image-animate): Rename from image-animate-start. New arg.
25440 (image-animate-stop): Remove; just use image-animate-timer.
25441 (image-animate-timer): Use car-safe.
25442 (image-animate-timeout): Rename argument.
25443
25444 2011-06-07 Martin Rudalics <rudalics@gmx.at>
25445
25446 * window.el (get-lru-window, get-largest-window): Move here from
25447 window.c. Rename first argument to ALL-FRAMES.
25448 Rephrase doc-strings.
25449 (get-buffer-window-list): Rewrite using window-list-1.
25450 Rephrase doc-string.
25451 (window-safe-min-height, window-safe-min-width): New constants.
25452 (window-size-ignore, window-min-size, window-min-size-1)
25453 (window-sizable, window-sizable-p, window-size-fixed-1)
25454 (window-size-fixed-p, window-min-delta-1, window-min-delta)
25455 (window-max-delta-1, window-max-delta, window-resizable)
25456 (window-resizable-p, window-total-height, window-total-width)
25457 (window-body-width): New functions.
25458 (window-full-height-p, window-full-width-p): Rewrite using
25459 window-total-size.
25460 (window-body-height): Rewrite using window-body-size.
25461
25462 2011-06-06 Martin Rudalics <rudalics@gmx.at>
25463
25464 * window.el (window-right, window-left, window-child)
25465 (window-child-count, window-last-child, window-any-p)
25466 (normalize-live-buffer, normalize-live-frame)
25467 (normalize-any-window, normalize-live-window)
25468 (window-iso-combination-p, window-iso-combined-p)
25469 (window-iso-combinations)
25470 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
25471 (windows-with-parameter, window-with-parameter)
25472 (window-atom-root, make-window-atom, window-atom-check-1)
25473 (window-atom-check, window-side-check, window-check):
25474 New functions.
25475 (ignore-window-parameters, window-sides, window-sides-vertical)
25476 (window-sides-slots): New variables.
25477 (window-size-fixed): Move down in code. Minor doc-string fix.
25478
25479 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
25480
25481 * comint.el (comint-dynamic-complete-as-filename)
25482 (comint-dynamic-complete-filename): Correctly call
25483 completion-in-region.
25484
25485 2011-06-05 Deniz Dogan <deniz@dogan.se>
25486
25487 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
25488 in last change.
25489
25490 2011-06-05 Deniz Dogan <deniz@dogan.se>
25491
25492 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
25493 (rcirc): Use it to prompt for encryption.
25494
25495 2011-06-05 Roland Winkler <winkler@gnu.org>
25496
25497 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
25498 (bibtex-search-entries): New command bound to C-c C-a.
25499 (bibtex-display-entries): New function.
25500
25501 2011-06-05 Roland Winkler <winkler@gnu.org>
25502
25503 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
25504 (bibtex-insert-kill): After yanking insert newline if necessary.
25505 (bibtex-initialize): Call bibtex-string-files-init only once.
25506 (bibtex-mode): Do not call easy-menu-add.
25507 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
25508 (bibtex-yank): Set arg properly if nil.
25509
25510 2011-06-05 Roland Winkler <winkler@gnu.org>
25511
25512 * textmodes/bibtex.el (bibtex-search-entry-globally):
25513 New variable.
25514 (bibtex-search-entry): Use it.
25515
25516 2011-06-05 Roland Winkler <winkler@gnu.org>
25517
25518 * textmodes/bibtex.el (bibtex-entry-format): New option
25519 sort-fields.
25520 (bibtex-format-entry, bibtex-reformat): Honor this option.
25521 (bibtex-parse-entry): Return fields in proper order.
25522
25523 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
25524
25525 * doc-view.el (doc-view-remove-if): Move computation of result out
25526 of `dolist' to silence misleading lexical-binding warning.
25527
25528 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
25529
25530 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
25531 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
25532
25533 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
25534
25535 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
25536 "SunOS 5.10".
25537
25538 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
25539
25540 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
25541 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
25542 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
25543 (tramp-parse-putty):
25544 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
25545 (tramp-completion-function-alist-ssh)
25546 (tramp-completion-function-alist-telnet)
25547 (tramp-completion-function-alist-su)
25548 (tramp-completion-function-alist-putty): Set `tramp-autoload'
25549 cookie.
25550
25551 * net/tramp-ftp.el:
25552 * net/tramp-sh.el:
25553 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
25554 load "tramp.el" `tramp-set-completion-function'.
25555
25556 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
25557
25558 * shell.el: Require and use pcomplete.
25559 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
25560 (shell-completion-vars): Set pcomplete-default-completion-function.
25561
25562 2011-06-04 Deniz Dogan <deniz@dogan.se>
25563
25564 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
25565 `memq' (Bug#8799).
25566
25567 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
25568
25569 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
25570
25571 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
25572
25573 * bs.el (bs--mark-unmark, bs--nth-wrapper):
25574 * mpc.el (mpc-select-extend, mpc-songpointer-context):
25575 * vc/log-view.el (log-view-beginning-of-defun):
25576 * vc/smerge-mode.el (smerge-apply-resolution-patch)
25577 (smerge-refine-forward, smerge-refine-chopup-region):
25578 Silence warning for unused `dotimes' counter variables.
25579
25580 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
25581
25582 * net/tramp.el (tramp-with-progress-reporter): Rename from
25583 with-progress-reporter. Use `declare'.
25584 * net/tramp-smb.el:
25585 * net/tramp-sh.el:
25586 * net/tramp-gvfs.el: Update all uses.
25587
25588 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
25589
25590 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
25591 buffer isn't killed before making it current.
25592
25593 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
25594
25595 Silence various byte-compiler warnings.
25596 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
25597 `access-type' and new obsolescence format.
25598 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
25599 new format.
25600 (byte-compile-check-variable): New `access-type' argument.
25601 Only warn if the access-type is obsolete.
25602 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
25603 (byte-compile-variable-set): Adjust callers.
25604 * help-fns.el (describe-variable): Adjust to new obsolescence format.
25605 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
25606 setting it as obsolete.
25607 * simple.el (minibuffer-completing-symbol):
25608 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
25609 access as obsolete.
25610 * minibuffer.el (minibuffer-completing-file-name): Don't make it
25611 obsolete yet.
25612 * international/quail.el (quail-mouse-choose-completion): Remove unused
25613 code referring to obsolete var.
25614 (quail-choose-completion-string): Remove.
25615 * server.el (server-clients-with, server-kill-buffer-query-function)
25616 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
25617 * proced.el (proced-send-signal):
25618 * emacs-lisp/lisp.el (lisp-complete-symbol):
25619 Replace completion-annotate-function with completion-extra-properties.
25620
25621 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
25622
25623 * simple.el (goto-line): Use read-number.
25624 (overriding-map-is-bound): Remove.
25625 (saved-overriding-map): Change default.
25626 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
25627 Take the map as argument.
25628 (universal-argument, negative-argument, digit-argument): Use it.
25629 (restore-overriding-map): Adjust.
25630 (do-auto-fill): Use fill-forward-paragraph.
25631 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
25632
25633 * minibuffer.el (minibuffer-inactive-mode-map): New var.
25634 (minibuffer-inactive-mode): New major mode.
25635 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
25636 the *Messages* buffer" hack.
25637 (mouse-popup-menubar): Don't burp if the event is a normal key.
25638
25639 Miscellaneous tweaks.
25640 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
25641 lexical scoping as in subr.el's dolist and dotimes.
25642 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
25643 Silence compiler warning.
25644 * thingatpt.el (forward-whitespace): Trivial coding style fix.
25645 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
25646 * international/ccl.el (ccl-compile): Trivial simplification.
25647 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
25648 * emacs-lisp/testcover.el (testcover-end): Remove spurious
25649 `printflag' argument.
25650 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
25651 Purecopy the whole obsolescence data.
25652
25653 2011-06-01 Leo Liu <sdl.web@gmail.com>
25654
25655 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
25656 improve doc-string as suggested by Marco Pessotto
25657 <melmothx@gmail.com>.
25658 (rcirc-print): Fix last change.
25659
25660 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
25661
25662 * minibuffer.el (complete-with-action): Return nil for the metadata and
25663 boundaries of non-functional tables.
25664 (completion-table-dynamic): Return nil for the metadata.
25665 (completion-table-with-terminator): Add default case, using
25666 complete-with-action.
25667 (completion--metadata): New function.
25668 (completion-all-sorted-completions, minibuffer-completion-help): Use it
25669 to try and avoid pathological performance problems.
25670 (completion--embedded-envvar-table): Return `category' metadata.
25671
25672 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
25673
25674 * subr.el (process-alive-p): New tiny convenience function.
25675
25676 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
25677
25678 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
25679 content but also its previous major mode.
25680
25681 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
25682
25683 * emacs-lisp/debug.el (debug): Restore the previous content of the
25684 *Backtrace* buffer when we exit with C-M-c.
25685
25686 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
25687
25688 * minibuffer.el: Add metadata method to completion tables.
25689 (completion-category-overrides): New defcustom.
25690 (completion-metadata, completion--field-metadata)
25691 (completion-metadata-get, completion--styles)
25692 (completion--cycle-threshold): New functions.
25693 (completion-try-completion, completion-all-completions):
25694 Add `metadata' argument to choose completion-styles.
25695 (completion--do-completion): Use metadata to choose cycling.
25696 (completion-all-sorted-completions): Use metadata for sorting.
25697 Remove :completion-cycle-penalty which is not needed any more.
25698 (completion--try-word-completion): Add `metadata' argument.
25699 (minibuffer-completion-help): Check metadata for annotation function
25700 and sorting.
25701 (completion-file-name-table): Return `category' metadata.
25702 (minibuffer-completing-file-name): Make obsolete.
25703 * simple.el (minibuffer-completing-symbol): Make obsolete.
25704 * icomplete.el (icomplete-completions): Pass new `metadata' param to
25705 completion-try-completion.
25706
25707 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
25708
25709 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
25710
25711 2011-05-30 Leo Liu <sdl.web@gmail.com>
25712
25713 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
25714 (rcirc-print): Decode all incoming messages (bug#8744).
25715 (rcirc-decode-coding-system): Allow value nil for automatic coding
25716 system detection.
25717
25718 2011-06-01 Glenn Morris <rgm@gnu.org>
25719
25720 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
25721
25722 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
25723
25724 * image.el (image-animate-max-time): Allow nil and t values.
25725 Default to nil.
25726 (create-animated-image): Doc fix.
25727 (image-animate-start): Remove second arg; just use
25728 image-animate-max-time.
25729 (image-animate-timeout): Doc fix. Args changed.
25730
25731 * image-mode.el (image-toggle-display-image): Ensure that the
25732 image spec passed to the animate timer is the same object as in
25733 the buffer's display property (Bug#6981).
25734 (image-transform-properties): Doc fix.
25735
25736 * image.el (image-animate-max-time): Default to nil.
25737
25738 2011-05-29 Martin Rudalics <rudalics@gmx.at>
25739
25740 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
25741 entire buffer list (Bug#8184).
25742
25743 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
25744
25745 * image.el (imagemagick-types-inhibit)
25746 (imagemagick-register-types): Doc fix.
25747
25748 2011-05-29 Deniz Dogan <deniz@dogan.se>
25749
25750 * net/rcirc.el (rcirc): Use the user's stored encryption method by
25751 default.
25752
25753 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
25754
25755 * select.el: Don't perform clipboard-manager saving in hooks;
25756 leave the hooks empty.
25757
25758 2011-05-28 Leo Liu <sdl.web@gmail.com>
25759
25760 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
25761 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
25762 (occur-edit-mode): New major mode (Bug#8463).
25763 (occur-after-change-function): New function.
25764 (occur-engine): Give Occur tags a read-only property.
25765
25766 2011-05-28 Kevin Ryde <user42@zip.com.au>
25767
25768 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
25769
25770 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
25771
25772 * bindings.el (help-echo): Make the initial non-indicator dash
25773 empty on graphical terminals (Bug#7295).
25774
25775 * files.el (auto-mode-alist): Move config rule after the
25776 in-stripping one (Bug#8547).
25777
25778 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
25779
25780 * startup.el (normal-splash-screen): Remove gratuitous mode-line
25781 setting (Bug#8740).
25782
25783 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
25784
25785 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
25786 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
25787 (Bug#8539).
25788
25789 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
25790
25791 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
25792
25793 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
25794
25795 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
25796 (hs-hide-block-at-point, hs-find-block-beginning)
25797 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
25798 (Bug#8279).
25799
25800 2011-05-28 Glenn Morris <rgm@gnu.org>
25801
25802 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
25803
25804 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
25805
25806 * help-fns.el (describe-function-1): If the function is a derived
25807 major mode, print the parent mode.
25808
25809 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
25810 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
25811
25812 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
25813
25814 * minibuffer.el (completion--capf-wrapper): Check applicability before
25815 returning non-nil for non-exclusive completion data.
25816 * progmodes/etags.el (tags-completion-at-point-function):
25817 * info-look.el (info-lookup-completions-at-point): Mark as
25818 non-exclusive.
25819 (info-complete): Adjust accordingly.
25820
25821 * info-look.el: Convert to lexical-binding and completion-at-point.
25822 (info-lookup-completions-at-point): New function.
25823 (info-complete): Use it and completion-in-region.
25824
25825 2011-05-28 Drew Adams <drew.adams@oracle.com>
25826
25827 * isearch.el: Let M-e start with point at the first mismatched char.
25828 (isearch-fail-pos): New function.
25829 (isearch-edit-string): Use it.
25830
25831 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
25832
25833 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
25834
25835 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
25836
25837 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
25838 traversal functions for avl-trees.
25839 (avl-tree--stack): New struct.
25840 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
25841 (avl-tree-enter): Add optional `updatefun' arg.
25842 (avl-tree--do-enter): Add optional `updatefun' arg.
25843 Change return value.
25844 (avl-tree-delete): Add optional `test' and `nilflag' args.
25845 (avl-tree--do-delete): Add `test' and `nilflag' args.
25846 Change return value.
25847 (avl-tree-member): Add optional `nilflag'
25848 (avl-tree-member-p): New function.
25849 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
25850 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
25851 (avl-tree-stack-empty-p): New functions.
25852
25853 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
25854 avl-tree--del-balance1 and make it work both ways.
25855 (avl-tree--del-balance2): Remove.
25856 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
25857 make it work both ways.
25858 (avl-tree--enter-balance2): Remove.
25859 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
25860 New macros.
25861 (avl-tree--mapc, avl-tree-map): Add direction argument.
25862
25863 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
25864
25865 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
25866
25867 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
25868
25869 * select.el: Support clipboard managers with built-in function
25870 x-clipboard-manager-save, via delete-frame-functions and
25871 kill-emacs-hook.
25872 (xselect-convert-to-targets): Add MULTIPLE target to list.
25873 (xselect-convert-to-save-targets): New function.
25874
25875 2011-05-27 Kenichi Handa <handa@m17n.org>
25876
25877 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
25878 let-binding rfc2047-encode-encoded-words to nil.
25879
25880 2011-05-27 Glenn Morris <rgm@gnu.org>
25881
25882 * mail/emacsbug.el: Don't require url-util.
25883
25884 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
25885
25886 * files.el (set-auto-mode):
25887 Also respect mode: entries at the end of the file. (Bug#8586)
25888
25889 2011-05-26 Glenn Morris <rgm@gnu.org>
25890
25891 * files.el (hack-local-variables-prop-line, hack-local-variables):
25892 Downcase mode names, as seems to be traditional.
25893 (hack-local-variables, hack-local-variables-apply): Doc fixes.
25894
25895 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
25896 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
25897
25898 2011-05-25 Julien Danjou <julien@danjou.info>
25899
25900 * textmodes/rst.el (rst-define-level-faces): Do not define face
25901 symbol if it is already defined.
25902
25903 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
25904
25905 * play/5x5.el (5x5-new-game, 5x5-randomize):
25906 Reset 5x5-solver-output to nil when a new grid is cast.
25907 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
25908 these debugging traces, as defmacro breaks the compiled code.
25909
25910 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
25911
25912 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
25913
25914 2011-05-24 Leo Liu <sdl.web@gmail.com>
25915
25916 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
25917 (vc-bzr-sha1): Adapt.
25918
25919 * sha1.el: Remove. Function `sha1' is now builtin.
25920
25921 * bindings.el: Provide sha1 feature.
25922
25923 2011-05-24 Kenichi Handa <handa@m17n.org>
25924
25925 * mail/sendmail.el: Require `rfc2047'.
25926 (mail-insert-from-field): Do not perform RFC2047 encoding.
25927 (mail-encode-header): New function.
25928 (sendmail-send-it): Set buffer-file-coding-system of the work
25929 buffer to the return value of select-message-coding-system.
25930 Call mail-encode-header.
25931
25932 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
25933
25934 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
25935
25936 * mail/supercite.el (sc-default-cite-frame):
25937 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
25938
25939 2011-05-24 Glenn Morris <rgm@gnu.org>
25940
25941 * progmodes/python.el (brm-menu): Declare.
25942
25943 * emulation/viper.el (viper-set-hooks): Declare.
25944
25945 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
25946 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
25947 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
25948 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
25949 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
25950 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
25951
25952 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
25953
25954 Add an :exit-function for completion-at-point.
25955
25956 * minibuffer.el (completion--done): New fun.
25957 (completion--do-completion): Use it. New arg `expect-exact'.
25958 (minibuffer-complete, minibuffer-complete-word): Don't output message,
25959 since completion--do-completion does it for us now.
25960 (minibuffer-force-complete): Use completion--done and
25961 completion--replace. Handle sole-completion case with more care.
25962 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
25963 (completion-extra-properties): New var.
25964 (completion-annotate-function): Make obsolete.
25965 (minibuffer-completion-help): Adjust accordingly.
25966 Use completion-list-insert-choice-function.
25967 (completion-at-point, completion-help-at-point):
25968 Bind completion-extra-properties.
25969 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
25970 * simple.el (completion-list-insert-choice-function): New var.
25971 (completion-setup-function): Preserve it.
25972 (choose-completion): Pay attention to it, shuffle the code a bit.
25973 (choose-completion-string): New arg `insert-function'.
25974
25975 * textmodes/bibtex.el: Convert to lexical binding.
25976 (bibtex-mode-map): Use completion-at-point.
25977 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
25978 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
25979 (bibtex-complete): Define as obsolete alias.
25980 (bibtex-complete-internal): Remove.
25981 (bibtex-format-entry): Remove unused sub-group in regexp.
25982 * shell.el (shell--command-completion-data)
25983 (shell-environment-variable-completion):
25984 * pcomplete.el (pcomplete-completions-at-point):
25985 * comint.el (comint--complete-file-name-data): Use :exit-function
25986 instead of completion-table-with-terminator so it also works for
25987 choose-completion.
25988
25989 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
25990
25991 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
25992
25993 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
25994 (bug#8710).
25995
25996 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
25997
25998 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
25999
26000 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
26001 customization variable and implement: If non-nil, auto-fill will
26002 be inhibited while on topic's header line.
26003
26004 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
26005
26006 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
26007 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
26008 always have a solution in grid size = 5 cases.
26009 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
26010 (5x5-solver-output, 5x5-log-buffer): New vars.
26011 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
26012 Make these variables buffer local to achieve 5x5 multi-session-ness.
26013 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
26014 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
26015 (5x5-solve-suggest): New funs.
26016 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
26017 randomize a grid so that we ensure that there is always a solution.
26018 (5x5-make-random-grid): Allow other movement than flipping.
26019
26020 2011-05-23 Kevin Ryde <user42@zip.com.au>
26021
26022 * emacs-lisp/advice.el (ad-read-advised-function):
26023 Use `function-called-at-point' as the default, if it has
26024 advice and passes PREDICATE.
26025
26026 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
26027
26028 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
26029 byte-compile-lambda if it's actually a lambda.
26030
26031 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
26032 Fix function quoting. Use backquote better.
26033
26034 2011-05-22 Yuanle Song <sylecn@gmail.com>
26035
26036 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
26037 matching (Bug#8516).
26038
26039 2011-05-22 Jari Aalto <jari.aalto@cante.net>
26040
26041 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
26042 different face (Bug#8178).
26043
26044 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
26045
26046 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
26047 defface (Bug#8144).
26048
26049 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
26050
26051 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
26052 funcall as well (bug#8712). Warn when performing those conversions.
26053 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
26054
26055 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
26056
26057 2011-05-22 Glenn Morris <rgm@gnu.org>
26058
26059 * files.el (hack-local-variables-prop-line): Small simplifications.
26060 (hack-local-variables, hack-local-variables-prop-line):
26061 If MODE-ONLY, return the mode, rather than just `t'.
26062
26063 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
26064
26065 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
26066
26067 2011-05-21 Glenn Morris <rgm@gnu.org>
26068
26069 * files.el (hack-local-variables-prop-line, hack-local-variables):
26070 If only interested in the mode, don't bother doing the other stuff.
26071
26072 * image-mode.el (image-after-revert-hook):
26073 Redraw all frames on which the image is visible. (Bug#8567)
26074
26075 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
26076
26077 * wid-edit.el (widget-checklist-match-inline):
26078 Fix 2011-04-19 change. (Bug#8649)
26079
26080 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
26081
26082 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
26083 Also allow singlespace after single-letter capitals followed by a dot.
26084
26085 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
26086 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
26087
26088 2011-05-20 Nix <nix@esperi.org.uk>
26089
26090 * files.el (basic-save-buffer-2):
26091 Fix handling of break-hardlink-on-save with non-existent files.
26092
26093 2011-05-19 Deniz Dogan <deniz@dogan.se>
26094
26095 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
26096 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
26097
26098 2011-05-19 Glenn Morris <rgm@gnu.org>
26099
26100 * progmodes/f90.el (f90-type-def-re):
26101 Handle "type, bind(c)". (Bug#8691)
26102
26103 * emacs-lisp/autoload.el (batch-update-autoloads):
26104 Set autoload-excludes by parsing loadup.el rather than Makefiles.
26105
26106 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
26107
26108 * net/tramp.el (tramp-process-actions): Set "first-password-request"
26109 property for the correct connection in case of multihops.
26110
26111 2011-05-18 Glenn Morris <rgm@gnu.org>
26112
26113 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
26114 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
26115
26116 Rationalize calendar handling of day and month abbrev-arrays.
26117 * calendar/calendar.el (calendar-customized-p): New function.
26118 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
26119 (calendar-day-name-array, calendar-month-name-array): Doc fix.
26120 Add :set function.
26121 (calendar-abbrev-length, calendar-day-abbrev-array)
26122 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
26123 (calendar-day-abbrev-array, calendar-month-abbrev-array):
26124 Elements may no longer be nil.
26125 (calendar-day-name, calendar-month-name):
26126 Update for changed nature of abbrev arrays.
26127 * calendar/diary-lib.el (diary-name-pattern):
26128 Update for changed nature of abbrev arrays.
26129 (diary-mark-entries-1): Update calendar-make-alist calls.
26130 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
26131 * calendar/cal-html.el (cal-html-day-abbrev-array):
26132 Simply inherit from calendar-day-abbrev-array.
26133
26134 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
26135
26136 * progmodes/grep.el (grep-mode): Disable default
26137 compilation-directory-matcher setting (bug#8684).
26138
26139 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
26140
26141 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
26142 instead of "head" and "tail". There were problems with SunOS 5.9,
26143 and it performs better.
26144
26145 2011-05-17 Glenn Morris <rgm@gnu.org>
26146
26147 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
26148
26149 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
26150 Replace obsolete function.
26151
26152 * shell.el (pcomplete-parse-arguments-function): Declare.
26153
26154 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
26155 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
26156 (appt-check): Doc fixes.
26157 (appt-disp-window-function, appt-delete-window-function):
26158 Remove needless special case in custom :type.
26159 (appt-display-count): Default to 0, not nil.
26160 (appt-check): Reset appt-display-count to 0, not nil.
26161
26162 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
26163
26164 * progmodes/python.el (python-font-lock-keywords):
26165 Add the Python 3.X keyword "nonlocal" (bug#8639).
26166
26167 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
26168
26169 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
26170
26171 2011-05-16 Kevin Ryde <user42@zip.com.au>
26172
26173 * info-look.el (makefile-automake-mode): New setups, looking in
26174 automake manual, then makefile-mode.
26175 (makefile-mode): Remove automake manual, have it just in
26176 makefile-automake-mode since there's various things different or
26177 not relevant to plain make.
26178 (makefile-mode): Remove "other-modes" non-existent automake-mode,
26179 believe a hypothetical automake-mode would go to makefile-mode,
26180 not the other way around.
26181
26182 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
26183
26184 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
26185 hunk-end tags (Bug#8672).
26186
26187 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
26188 vc-annotate-show-diff-revision-at-line (Bug#8671).
26189
26190 2011-05-14 Glenn Morris <rgm@gnu.org>
26191
26192 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
26193 in the middle of an existing one with multiple authors. (Bug#8645)
26194 (change-log-font-lock-keywords): Also handle multiple author lines
26195 with leading tabs. (Bug#8644)
26196
26197 * calendar/appt.el (appt-check): Rename some local variables.
26198 Some simplification/reordering.
26199
26200 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
26201 (feedmail-sendmail-f-doesnt-sell-me-out)
26202 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
26203 (feedmail-debug-sit-for, feedmail-queue-express-hook)
26204 (feedmail-queue-runner-message-sender): Set :version.
26205 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
26206 (bbdb-dwim-net-address, vm-mail): Declare.
26207 (feedmail-binmail-gnulinuxish-template):
26208 Rename from feedmail-binmail-linuxish-template.
26209 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
26210 Use insert-buffer-substring.
26211
26212 2011-05-14 Bill Carpenter <bill@carpenter.org>
26213
26214 * mail/feedmail.el (feedmail-patch-level): Increase.
26215 (feedmail-debug): New custom group.
26216 (feedmail-confirm-outgoing-timeout)
26217 (feedmail-sendmail-f-doesnt-sell-me-out)
26218 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
26219 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
26220 (feedmail-sender-line, feedmail-from-line)
26221 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
26222 (feedmail-spray-this-address)
26223 (feedmail-spray-address-fiddle-plex-list)
26224 (feedmail-queue-use-send-time-for-date)
26225 (feedmail-queue-use-send-time-for-message-id)
26226 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
26227 (feedmail-buffer-eating-function):
26228 Doc fixes.
26229 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
26230 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
26231 (feedmail-message-action-scroll-down): New functions.
26232 (feedmail-queue-directory, feedmail-queue-draft-directory):
26233 Use expand-file-name.
26234 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
26235 Remove C-v help entry.
26236 (feedmail-queue-buffer-file-name): New variable.
26237 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
26238 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
26239 (feedmail-message-action-send-strong, feedmail-message-action-edit)
26240 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
26241 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
26242 (feedmail-message-action-toggle-spray)
26243 (feedmail-run-the-queue-no-prompts)
26244 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
26245 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
26246 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
26247 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
26248 (feedmail-envelope-deducer, feedmail-fiddle-from)
26249 (feedmail-fiddle-sender, feedmail-default-date-generator)
26250 (feedmail-fiddle-date, feedmail-fiddle-message-id)
26251 (feedmail-fiddle-spray-address)
26252 (feedmail-fiddle-list-of-spray-fiddle-plexes)
26253 (feedmail-fiddle-list-of-fiddle-plexes)
26254 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
26255 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
26256 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
26257 Change default. Doc fix.
26258 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
26259 (feedmail-binmail-linuxish-template): New constant.
26260 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
26261 Respect feedmail-sendmail-f-doesnt-sell-me-out.
26262 (feedmail-send-it): Add debug call.
26263 Use feedmail-queue-buffer-file-name, and
26264 feedmail-send-it-immediately-wrapper.
26265 (feedmail-message-action-send): Add debug call.
26266 Use feedmail-send-it-immediately-wrapper.
26267 (feedmail-queue-express-to-queue): Add debug call.
26268 Run feedmail-queue-express-hook.
26269 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
26270 (feedmail-message-action-help-blat):
26271 Rename from feedmail-queue-send-edit-prompt-help-first.
26272 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
26273 Check line-endings. Handle errors better.
26274 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
26275 Doc fix. Add debug call.
26276 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
26277 Use feedmail-queue-send-edit-prompt-inner.
26278 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
26279 (feedmail-queue-send-edit-prompt-inner): New function, extracted
26280 from feedmail-queue-send-edit-prompt.
26281 (feedmail-queue-send-edit-prompt-help)
26282 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
26283 (feedmail-tidy-up-slug): Add debug call.
26284 Respect feedmail-queue-slug-suspect-regexp.
26285 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
26286 (feedmail-dump-message-to-queue): Add debug call.
26287 Expand queue-directory.
26288 (feedmail-dump-message-to-queue): Change message slightly.
26289 Use feedmail-say-chatter.
26290 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
26291 (feedmail-send-it-immediately-wrapper): New function.
26292 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
26293 Insert empty string rather than newline. Handle full-frame case.
26294 Use catch/throw. Use feedmail-say-chatter.
26295 (feedmail-fiddle-from): Try mail-host-address.
26296 (feedmail-default-message-id-generator): Doc fix.
26297 Bind system-time-locale. Handle missing end.
26298 (feedmail-fiddle-x-mailer): Add debug call.
26299 Handle feedmail-x-mailer-line being nil.
26300 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
26301 Add debug call. Use buffer-substring-no-properties.
26302 (feedmail-say-debug, feedmail-say-chatter): New functions.
26303 (feedmail-find-eoh): Give an explicit error.
26304
26305 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
26306
26307 * net/newst-treeview.el (newsticker-treeview-face): Change default
26308 family from helvetica to sans.
26309 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
26310 etc/images/newsticker.
26311
26312 * net/newst-reader.el (newsticker-feed-face): Change default
26313 family from helvetica to sans.
26314
26315 * net/newst-plainview.el (newsticker-new-item-face)
26316 (newsticker-old-item-face, newsticker-immortal-item-face)
26317 (newsticker-obsolete-item-face, newsticker-date-face)
26318 (newsticker-statistics-face): Change default family from
26319 helvetica to sans.
26320 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
26321 etc/images/newsticker.
26322
26323 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
26324 (newsticker--process-auto-mark-filter-match): Tell user about
26325 auto-marking.
26326
26327 2011-05-13 Didier Verna <didier@xemacs.org>
26328
26329 Common Lisp indentation improvements on defmethod and lambda-lists.
26330 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
26331 TODO entries.
26332 (lisp-lambda-list-keyword-parameter-indentation)
26333 (lisp-lambda-list-keyword-parameter-alignment)
26334 (lisp-lambda-list-keyword-alignment): New customizable user options.
26335 (lisp-indent-defun-method): Improve docstring.
26336 (extended-loop-p): Fix comment.
26337 (lisp-indent-lambda-list-keywords-regexp): New variable.
26338 (lisp-indent-lambda-list): New function.
26339 (lisp-indent-259): Use it.
26340 (lisp-indent-defmethod): Support for more than one
26341 method qualifier and properly indent methods lambda-lists.
26342 (defgeneric): Provide a missing common-lisp-indent-function property.
26343
26344 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
26345
26346 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
26347 bounds for the empty string (bug#8667).
26348
26349 2011-05-13 Glenn Morris <rgm@gnu.org>
26350
26351 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
26352
26353 * mail/sendmail.el (sendmail-program): Try executable-find first.
26354 (sendmail-send-it): `sendmail-program' cannot be unbound.
26355
26356 * calendar/appt.el (appt-make-list): Simplify.
26357 (appt-time-msg-list): Doc fix.
26358 (appt-check): Change mode-line message at the time of the appointment.
26359
26360 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
26361
26362 * progmodes/ld-script.el (ld-script-keywords)
26363 (ld-script-builtins): Update keywords list.
26364
26365 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
26366
26367 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
26368
26369 * shell.el (shell-completion-vars): New function.
26370 (shell-mode):
26371 * simple.el (read-shell-command): Use it.
26372 (blink-matching-open): No need for " [...]" in minibuffer-message.
26373
26374 2011-05-12 Glenn Morris <rgm@gnu.org>
26375
26376 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
26377 (appt-check): Simplify.
26378
26379 2011-05-12 Eli Zaretskii <eliz@gnu.org>
26380
26381 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
26382 literal "/dev/null".
26383
26384 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
26385
26386 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
26387 Fix typo.
26388
26389 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
26390
26391 * progmodes/which-func.el (which-function):
26392 Use add-log-current-defun instead of add-log-current-defun-function,
26393 which might not be defined (Bug#8260).
26394
26395 2011-05-12 Glenn Morris <rgm@gnu.org>
26396
26397 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
26398 Let byte-compile-initial-macro-environment always take precedence.
26399
26400 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
26401
26402 * net/rcirc.el: Add support for SSL/TLS connections.
26403 (rcirc-server-alist): New field `encryption'.
26404 (rcirc): Check `encryption' settings.
26405 (rcirc-connect): New arg `encryption'. Use open-network-stream.
26406 Merge make-local-variable into `set'.
26407 (rcirc--connection-open-p): New function.
26408 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
26409 the process is not a network process (e.g. running gnutls-cli).
26410 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
26411 Make rcirc-(en|de)code-coding-system local here.
26412 (rcirc-mode): Merge make-local-variable into `set'.
26413 (rcirc-parent-buffer): Make permanent buffer-local.
26414 (rcirc-multiline-minor-mode): Don't do it here.
26415 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
26416 there's no server buffer.
26417
26418 2011-05-11 Glenn Morris <rgm@gnu.org>
26419
26420 * newcomment.el (comment-kill): Prefix "unused" local.
26421
26422 * term/w32console.el (get-screen-color): Declare.
26423
26424 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
26425 Handle symbol elements of byte-compile-initial-macro-environment.
26426
26427 2011-05-10 Leo Liu <sdl.web@gmail.com>
26428
26429 * bookmark.el (bookmark-bmenu-mode-map):
26430 Bind bookmark-bmenu-search to `/'.
26431
26432 * mail/footnote.el: Convert to utf-8 encoding.
26433 (footnote-unicode-string, footnote-unicode-regexp): New variable.
26434 (Footnote-unicode): New function.
26435 (footnote-style-alist): Add unicode style to the list.
26436 (footnote-style): Doc fix.
26437
26438 2011-05-10 Jim Meyering <meyering@redhat.com>
26439
26440 Fix doubled-word typos.
26441 * international/quail.el (quail-insert-kbd-layout): and and -> and.
26442 * kermit.el: and and -> and.
26443 * net/ldap.el (ldap-search-internal): to to -> to.
26444 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
26445 * progmodes/js.el (js-mode): and and -> and.
26446 * textmodes/artist.el (artist-move-to-xy): at at -> at.
26447 (artist-draw-region-trim-line-endings): if if -> if.
26448 And Safetyc -> Safety.
26449 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a.
26450
26451 2011-05-10 Glenn Morris <rgm@gnu.org>
26452 Stefan Monnier <monnier@iro.umontreal.ca>
26453
26454 * files.el (hack-one-local-variable-eval-safep):
26455 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
26456
26457 2011-05-10 Glenn Morris <rgm@gnu.org>
26458
26459 * calendar/diary-lib.el (diary-list-entries-hook)
26460 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
26461 (diary-nongregorian-marking-hook, diary-list-entries)
26462 (diary-include-other-diary-files, diary-mark-entries)
26463 (diary-mark-included-diary-files): Doc fixes.
26464
26465 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
26466
26467 * misc.el: Require tabulated-list.el during compilation.
26468
26469 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
26470
26471 * progmodes/compile.el (compilation-start):
26472 Run compilation-filter-hook for the async case too.
26473 (compilation-filter-hook): Doc fix.
26474
26475 2011-05-09 Deniz Dogan <deniz@dogan.se>
26476
26477 * wdired.el: Remove outdated installation comment. Fix usage
26478 comment.
26479
26480 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
26481
26482 * misc.el: Implement new command `list-dynamic-libraries'.
26483 (list-dynamic-libraries--loaded-only-p): New variable.
26484 (list-dynamic-libraries--refresh): New function.
26485 (list-dynamic-libraries): New command.
26486
26487 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
26488
26489 * progmodes/compile.el (compilation-error-regexp-alist-alist):
26490 Fix the ant regexp to handle end-line and end-column info from jikes.
26491 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
26492 higher priority to avoid clobbering by gnu.
26493
26494 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
26495
26496 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
26497 if the face has existing theme settings (Bug#8454).
26498
26499 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
26500
26501 * progmodes/perl-mode.el (perl-imenu-generic-expression):
26502 Only match variables declared via `my' or `our' (Bug#8261).
26503
26504 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
26505 special file names `.' and `..' (Bug#8259).
26506
26507 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
26508
26509 * progmodes/grep.el (grep-mode-font-lock-keywords):
26510 Remove buffer-changing entries.
26511 (grep-filter): New function.
26512 (grep-mode): Add it to compilation-filter-hook.
26513
26514 * progmodes/compile.el (compilation-filter-hook)
26515 (compilation-filter-start): New defvars.
26516 (compilation-filter): Call compilation-filter-hook prior to
26517 updating the process mark.
26518
26519 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
26520
26521 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
26522
26523 2011-05-07 Eli Zaretskii <eliz@gnu.org>
26524
26525 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
26526 mailclient-send-it even if window-system is nil. (Bug#8595)
26527
26528 * term/w32console.el (terminal-init-w32console):
26529 Call get-screen-color and use its output to set the frame
26530 background-mode. (Bug#8597)
26531
26532 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
26533
26534 Make bytecomp.el understand that defmethod defines funs (bug#8631).
26535 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
26536 New functions.
26537 (defgeneric, eieio--defmethod): Use them.
26538 (eieio-defgeneric): Remove.
26539 (defmethod): Call defgeneric in a way visible to the byte-compiler.
26540
26541 2011-05-07 Glenn Morris <rgm@gnu.org>
26542
26543 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
26544 Use let rather than let*.
26545 (timeclock-find-discrep): Remove unused local.
26546
26547 * calendar/diary-lib.el (diary-comment-start): Doc fix.
26548
26549 * calendar/appt.el (appt-time-msg-list): Doc fix.
26550
26551 2011-05-06 Noah Friedman <friedman@splode.com>
26552
26553 * apropos.el (apropos-print-doc): Only use
26554 emacs-lisp-docstring-fill-column when it is bound to an integer,
26555 per that variable's documentation.
26556
26557 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
26558
26559 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
26560 and warnings are not silently discarded (e.g. use -d instead of -P).
26561
26562 2011-05-06 Glenn Morris <rgm@gnu.org>
26563
26564 * calendar/appt.el (appt-message-warning-time): Doc fix.
26565 (appt-warning-time-regexp): New option.
26566 (appt-make-list): Respect appt-message-warning-time.
26567
26568 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
26569 New options.
26570 (diary-add-to-list): Strip comments from the displayed string.
26571 (diary-mode): Set comment-start and comment-end.
26572
26573 * vc/diff-mode.el (smerge-refine-subst): Declare.
26574 (diff-refine-hunk): Don't require smerge-mode when compiling.
26575
26576 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
26577
26578 * simple.el (list-processes): Return nil as the docstring says.
26579
26580 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
26581
26582 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
26583 to "".
26584 (ange-ftp-write-region, ange-ftp-insert-file-contents)
26585 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
26586 determining of binary transfer. (Bug#7383)
26587
26588 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
26589
26590 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
26591 Fix port computation bug. (Bug#8618)
26592
26593 2011-05-05 Glenn Morris <rgm@gnu.org>
26594
26595 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
26596
26597 * simple.el (shell-dynamic-complete-functions)
26598 (comint-dynamic-complete-functions): Declare.
26599
26600 * net/network-stream.el (gnutls-negotiate):
26601 * simple.el (tabulated-list-print): Fix declarations.
26602
26603 * progmodes/gud.el (syntax-symbol, syntax-point):
26604 Remove unnecessary and incorrect declarations.
26605
26606 * emacs-lisp/check-declare.el (check-declare-scan):
26607 Handle byte-compile-initial-macro-environment in bytecomp.el.
26608
26609 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
26610
26611 Fix earlier half-done eieio-defmethod change (bug#8338).
26612 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
26613 Streamline and change calling convention.
26614 (defmethod): Adjust accordingly and simplify.
26615 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
26616 new eieio--defmethod.
26617 (slot-boundp): Minor CSE simplification.
26618
26619 2011-05-05 Milan Zamazal <pdm@zamazal.org>
26620
26621 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
26622 (glasses-make-readable): Use glasses-separate-capital-groups.
26623
26624 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
26625
26626 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
26627 (warning-series): Doc fix.
26628 (display-warning): Don't try to create the buffer if we just found it.
26629
26630 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
26631
26632 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
26633 (autoload-find-generated-file): New function.
26634 (generate-file-autoloads): Bind generated-autoload-file to
26635 buffer-file-name.
26636 (update-file-autoloads, update-directory-autoloads):
26637 Use autoload-find-generated-file. If called interactively, prompt for
26638 output file (Bug#7989).
26639 (batch-update-autoloads): Doc fix.
26640
26641 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
26642
26643 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
26644
26645 2011-05-04 Glenn Morris <rgm@gnu.org>
26646
26647 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
26648 function, so it follows changes in calendar-date-style.
26649 (diary-fancy-date-matcher): New function.
26650 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
26651 (diary-fancy-font-lock-fontify-region-function):
26652 Use diary-fancy-date-pattern as a function.
26653
26654 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
26655 non-numbers for `year' etc pseudo-variables. (Bug#8583)
26656
26657 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
26658
26659 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
26660 instead of positional arguments. Allow :keylist and :crlfiles
26661 arguments.
26662 (open-gnutls-stream): Call it.
26663
26664 * net/network-stream.el (network-stream-open-starttls): Adjust to
26665 call `gnutls-negotiate' with :process and :hostname arguments.
26666
26667 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
26668
26669 * minibuffer.el (completion--message): New function.
26670 (completion--do-completion, minibuffer-complete)
26671 (minibuffer-force-complete, minibuffer-complete-word): Use it.
26672 (completion--do-completion): Don't ignore completion-auto-help when in
26673 icomplete-mode.
26674
26675 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
26676 internal encoding (e.g. tibetan zero is not whitespace).
26677 (global-whitespace-mode): Prefer save-current-buffer.
26678 (whitespace-trailing-regexp): Remove useless save-match-data.
26679 (whitespace-empty-at-bob-regexp): Minor simplification.
26680
26681 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
26682
26683 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
26684
26685 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
26686
26687 * textmodes/ispell.el (ispell-add-per-file-word-list):
26688 Use `concat' to create string for insertion.
26689
26690 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
26691
26692 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
26693 Avoid open-line which runs post-self-insert-hook.
26694 (bibtex-fill-entry): Remove unused `end' var.
26695
26696 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
26697
26698 * textmodes/ispell.el (ispell-add-per-file-word-list):
26699 Protect against `nil' value of `comment-start' (Bug#8579).
26700
26701 2011-05-03 Leo Liu <sdl.web@gmail.com>
26702
26703 * isearch.el (isearch-yank-pop): New command.
26704 (isearch-mode-map): Bind it to `M-y'.
26705 (isearch-forward): Mention it.
26706
26707 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
26708
26709 * simple.el (minibuffer-complete-shell-command): Remove.
26710 (minibuffer-local-shell-command-map): Use completion-at-point.
26711 (read-shell-command): Setup completion vars here instead.
26712 (read-expression-map): Bind TAB to symbol completion.
26713
26714 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
26715 error directly rather via storing it into `results'.
26716
26717 2011-05-02 Leo Liu <sdl.web@gmail.com>
26718
26719 * vc/diff.el: Fix description.
26720
26721 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
26722
26723 * server.el (server-eval-at): New function.
26724
26725 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
26726
26727 * net/network-stream.el (open-network-stream): Take a :nowait
26728 parameter and pass it on to `make-network-process'.
26729 (network-stream-open-plain): Ditto.
26730
26731 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
26732
26733 * faces.el (face-spec-set-match-display): Don't match toolkit
26734 options on terminal frames.
26735
26736 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
26737
26738 * progmodes/pascal.el: Use lexical binding.
26739 (pascal-mode-map): Remove author preferences.
26740
26741 * pcomplete.el (pcomplete-std-complete): Don't abuse
26742 completion-at-point.
26743
26744 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
26745
26746 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
26747 removing code that has been dead since 1991 or so.
26748
26749 * startup.el (command-line): When warning about "_emacs", use a
26750 delayed warning to allow the user to filter it out.
26751
26752 2011-04-28 Deniz Dogan <deniz@dogan.se>
26753
26754 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
26755 user has not joined.
26756
26757 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
26758
26759 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
26760 aren't any completions at point.
26761
26762 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
26763
26764 * subr.el (display-delayed-warnings): New function.
26765 (delayed-warnings-hook): New variable.
26766
26767 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
26768
26769 * minibuffer.el (completion-at-point, completion-help-at-point):
26770 Don't presume that a given completion-at-point-function will always
26771 use the same calling convention.
26772
26773 * pcomplete.el (pcomplete-completions-at-point):
26774 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
26775 pcomplete-seen is non-nil.
26776 (pcomplete-comint-setup): Also recognize the new comint/shell
26777 completion functions.
26778 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
26779 pcomplete-seen is non-nil.
26780
26781 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
26782
26783 * calendar/icalendar.el (diary-lib): Add require statement.
26784 (icalendar--create-uid): Read out a uid from a text-property on
26785 the first character in the entry. This allows for code to add its
26786 own uid to the entry.
26787 (icalendar--convert-float-to-ical): Add export of
26788 `diary-float'-entries save for those with the optional DAY
26789 argument.
26790
26791 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
26792
26793 * subr.el (shell-quote-argument): Use alternate escaping strategy
26794 when we spot a variable reference in a string.
26795
26796 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
26797
26798 * cus-start.el (all): Define customization for debug-on-event.
26799
26800 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
26801
26802 * subr.el (shell-quote-argument): Escape correctly under Windows.
26803
26804 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
26805
26806 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
26807
26808 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
26809
26810 * net/tramp.el (tramp-process-actions): Add POS argument.
26811 Delete region between POS and (pos).
26812
26813 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
26814 Use `nil' position in `tramp-process-actions' call.
26815 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
26816
26817 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
26818 position in `tramp-process-actions' call.
26819
26820 * net/trampver.el: Update release number.
26821
26822 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
26823
26824 * custom.el (defcustom): Obey lexical-binding.
26825
26826 Fix octave-inf completion problems reported by Alexander Klimov.
26827 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
26828 Inherit from octave-mode-syntax-table.
26829 (inferior-octave-mode): Set info-lookup-mode.
26830 (inferior-octave-completion-at-point): New function.
26831 (inferior-octave-complete): Use it and completion-in-region.
26832 (inferior-octave-dynamic-complete-functions): Use it as well, and use
26833 comint-filename-completion.
26834 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
26835 symbol elements which shouldn't be word elements.
26836 (octave-font-lock-keywords, octave-beginning-of-defun)
26837 (octave-function-header-regexp): Adjust regexps accordingly.
26838 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
26839
26840 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
26841
26842 * net/gnutls.el (gnutls-errorp): Declare before first use.
26843
26844 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
26845
26846 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
26847 verify-error, and verify-hostname-error parameters. Check whether
26848 default trustfile exists before going to use it. Add missing
26849 argument to gnutls-message-maybe call. Return value.
26850 Reported by Claudio Bley <claudio.bley@gmail.com>.
26851 (open-gnutls-stream): Add usage example.
26852
26853 * net/network-stream.el (network-stream-open-starttls): Give host
26854 parameter to `gnutls-negotiate'.
26855 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
26856 * subr.el (shell-quote-argument): Escape correctly under Windows.
26857
26858 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
26859
26860 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
26861 Use correct match group (bug#8438).
26862
26863 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
26864
26865 * emacs-lisp/package.el (package-built-in-p): Fix typo.
26866 (package-menu--generate): New arg specifying packages to show.
26867 (package-menu-refresh, package-menu-execute, list-packages):
26868 Callers changed.
26869 (package-show-package-list): New function, replacing deleted
26870 package--list-packages (renamed because it is non-internal).
26871
26872 * finder.el (finder-list-matches): Use package-show-package-list
26873 instead of deleted package--list-packages.
26874
26875 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
26876 Based on a previous implementation by Juanma Barranquero (Bug#8366).
26877 (vc-annotate-mode-map): Bind it to RET.
26878
26879 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
26880
26881 * progmodes/etags.el (next-file): Don't use set-buffer to change
26882 buffers (Bug#8478).
26883
26884 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
26885
26886 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
26887
26888 * apropos.el (apropos-label-face): Avoid variable-pitch face.
26889 (apropos-accumulator): Doc fix.
26890 (apropos-function, apropos-macro, apropos-command)
26891 (apropos-variable, apropos-face, apropos-group, apropos-widget)
26892 (apropos-plist): Add face property.
26893 (apropos-symbols-internal): Fix indentation.
26894 (apropos-print): Simplify help, and recognize apropos-multi-type.
26895 (apropos-print-doc): Use button-type-get to extract the button's
26896 face property. Fill docstring (Bug#8352).
26897
26898 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
26899
26900 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
26901
26902 * play/mpuz.el (mpuz-silent): Doc fix.
26903 (mpuz-mode-map): Use mapc.
26904 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
26905 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
26906 Fix typos in docstrings.
26907
26908 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
26909 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
26910
26911 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
26912
26913 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
26914
26915 * minibuffer.el (completion--do-completion): Avoid the "Next char
26916 not unique" prompt if icomplete-mode is enabled (Bug#5849).
26917
26918 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
26919 mouse-2 into unread-command-events, it is interpreted correctly.
26920
26921 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
26922 (image-toggle-display): Doc fix.
26923
26924 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
26925
26926 * textmodes/page.el (what-page): Use line-number-at-pos to
26927 calculate line number (Bug#6825).
26928
26929 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
26930
26931 * eshell/esh-mode.el (find-tag-interactive): Declare function.
26932 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
26933 Pass argument NO-DEFAULT to `find-tag-interactive'.
26934
26935 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
26936
26937 Lexical-binding cleanup.
26938
26939 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
26940 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
26941 * progmodes/ada-prj.el (ada-prj-initialize-values)
26942 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
26943 (ada-prj-show-value):
26944 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
26945 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
26946 (antlr-invalidate-context-cache, antlr-options-menu-filter)
26947 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
26948 * progmodes/bug-reference.el (bug-reference-push-button):
26949 * progmodes/fortran.el (fortran-line-length):
26950 * progmodes/glasses.el (glasses-change):
26951 * progmodes/octave-mod.el (octave-fill-paragraph):
26952 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
26953 (python-pdbtrack-grub-for-buffer, python-sentinel):
26954 * progmodes/sql.el (sql-save-connection):
26955 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
26956 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
26957 Mark unused parameters.
26958
26959 * progmodes/compile.el (compilation--flush-directory-cache)
26960 (compilation--flush-parse, compile-internal): Mark unused parameters.
26961 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
26962 (compilation-next-error-function): Remove unused variable `timestamp'.
26963
26964 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
26965 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
26966
26967 * progmodes/dcl-mode.el (dcl-end-of-command):
26968 Remove unused variable `start'.
26969 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
26970 (dcl-option-value-basic, dcl-option-value-offset)
26971 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
26972 Mark unused parameters.
26973 (dcl-save-local-variable): Remove unused variable `val'.
26974 (mode): Declare.
26975
26976 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
26977 Mark unused parameters.
26978 (delphi-ignore-changes): Move before first use.
26979 (delphi-charset-token-at): Remove unused variable `start'.
26980 (delphi-else-start): Remove unused variable `if-count'.
26981 (delphi-comment-block-start, delphi-comment-block-end):
26982 Remove unused variable `kind'.
26983 (delphi-indent-line): Remove unused variable `new-point'.
26984
26985 * progmodes/ebrowse.el (ebrowse-files-list)
26986 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
26987 Mark unused parameters. Don't quote `lambda'.
26988 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
26989 Don't quote `lambda'.
26990 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
26991 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
26992 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
26993 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
26994 Use `ignore-errors'.
26995 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
26996 (ebrowse-view/find-file-and-search-pattern)
26997 (ebrowse-view/find-member-declaration/definition):
26998 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
26999 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
27000 Rename parameter PREFIX-ARG to PREFIX.
27001 (ebrowse-tags-read-name): Remove unused variables `start' and
27002 `member-info'.
27003 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
27004 to `tags-file'.
27005
27006 * progmodes/etags.el (local-find-tag-hook): Declare.
27007 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
27008 Mark unused parameters.
27009
27010 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
27011 (executable-interpret): Mark unused parameter.
27012
27013 * progmodes/flymake.el (flymake-process-sentinel)
27014 (flymake-after-change-function)
27015 (flymake-create-temp-with-folder-structure)
27016 (flymake-get-include-dirs-dot): Mark unused parameters.
27017 (flymake-safe-delete-directory): Remove unused variable `err'.
27018
27019 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
27020 (speedbar-timer-fn, speedbar-line-text)
27021 (speedbar-change-expand-button-char, speedbar-delete-subblock)
27022 (speedbar-center-buffer-smartly): Declare functions.
27023 (gdb-find-watch-expression): Remove unused variable `array'.
27024 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
27025 (gdb-starting): Mark unused parameters.
27026 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
27027 (gdb-table-string): Remove unused variable `res'.
27028 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
27029 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
27030 (gdb-display-buffer): Remove unused variable `cur-size'.
27031
27032 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
27033 allow lexical-binding compilation.
27034 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
27035 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
27036 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
27037 Mark unused parameters.
27038 (gud-gdb-marker-filter): Remove unused variable `match'.
27039 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
27040 lambda expressions and funcall them, instead of using `fset'.
27041
27042 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
27043 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
27044
27045 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
27046 variable `header-beg'; use `let'.
27047
27048 * progmodes/icon.el (indent-icon-exp): Remove unused variables
27049 `restart', `last-sexp' and `at-do'.
27050
27051 * progmodes/js.el (js--debug): Mark unused parameter.
27052 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
27053 (js--splice-into-items): Remove unused variable `item'.
27054 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
27055
27056 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
27057 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
27058 (makefile-complete): Remove unused variable `try'.
27059 (makefile-fill-paragraph, makefile-match-function-end):
27060 Mark unused parameters.
27061
27062 * progmodes/octave-inf.el (inferior-octave-complete):
27063 Remove unused variable `proc'.
27064 (inferior-octave-output-digest): Mark unused parameter.
27065
27066 * progmodes/perl-mode.el (perl-calculate-indent):
27067 Remove unused variable `err'.
27068
27069 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
27070 (prolog-indent-line): Mark unused parameters.
27071 (prolog-indent-line): Remove unused variable `beg'.
27072
27073 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
27074 (reporter-dont-compact-list): Declare.
27075
27076 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
27077 Remove unused variable `char'.
27078 (sh-debug): Mark unused parameter.
27079 (sh-get-indent-info): Remove unused variable `start'.
27080 (sh-calculate-indent): Remove unused variable `var'.
27081
27082 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
27083 (simula-electric-keyword): Remove unused variable `null'.
27084 (simula-search-backward, simula-search-forward): Remove unused
27085 variables `begin' and `end'.
27086
27087 * progmodes/vera-mode.el (vera-guess-basic-syntax):
27088 Remove unused variable `pos'.
27089 (vera-electric-tab, vera-comment-uncomment-region):
27090 Mark unused parameters.
27091 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
27092
27093 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
27094
27095 * emacs-lisp/package.el (package--builtins, package-alist)
27096 (package-load-descriptor, package-built-in-p, package-activate)
27097 (define-package, package-installed-p)
27098 (package-compute-transaction, package-buffer-info)
27099 (package--push): Doc fix. Distinguish more clearly between
27100 version strings and version lists.
27101
27102 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
27103
27104 Lexical-binding cleanup.
27105
27106 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
27107 (5x5-make-mutate-best):
27108 * play/fortune.el (fortune-in-buffer):
27109 * play/gomoku.el (gomoku-init-display):
27110 * play/solitaire.el (solitaire, solitaire-do-check):
27111 * play/tetris.el (tetris-default-update-speed-function):
27112 Mark unused parameters.
27113
27114 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
27115 (bubbles--shift): Remove unused variable `char-org'.
27116 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
27117 (bubbles--show-images): Remove unused variable `char'.
27118
27119 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
27120 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
27121 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
27122 (decipher-analyze-buffer): Use ?\s.
27123 (decipher-make-checkpoint): Remove unused variable `mapping'.
27124
27125 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
27126
27127 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
27128 Remove unused variable `result'; use `let'.
27129
27130 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
27131 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
27132 (gametree-children-shown-p, gametree-compute-reduced-score):
27133 Use `ignore-errors'.
27134
27135 * play/handwrite.el (ps-lpr-switches): Declare.
27136 (handwrite): Remove unused variables `pmin' and `lastp'.
27137
27138 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
27139
27140 * play/landmark.el (landmark-init-display)
27141 (landmark-update-naught-weights): Mark unused parameters.
27142 (landmark-y): Remove unused variable `noise'. Simplify.
27143 (landmark-human-plays): Remove unused variable `score'.
27144
27145 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
27146 (mpuz-try-proposal): Remove unused variable `game'.
27147
27148 * play/zone.el (life-patterns): Declare.
27149
27150 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
27151
27152 * vc/vc.el (ediff-vc-internal): Declare function.
27153
27154 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
27155
27156 * shell.el: Use lexical-binding and std completion UI.
27157 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
27158 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
27159 comint-preoutput-filter-functions rather than on
27160 comint-output-filter-functions.
27161 (shell-command-completion, shell--command-completion-data)
27162 (shell-filename-completion, shell-environment-variable-completion)
27163 (shell-c-a-p-replace-by-expanded-directory): New functions.
27164 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
27165 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
27166 (shell-dynamic-complete-environment-variable): Use them.
27167 (shell-dynamic-complete-as-environment-variable)
27168 (shell-dynamic-complete-as-command): Remove.
27169 (shell-match-partial-variable): Match past point.
27170 * comint.el: Clean up use of completion-at-point-functions.
27171 (comint-completion-at-point): New function.
27172 (comint-mode): Use it completion-at-point-functions.
27173 (comint-dynamic-complete): Make it obsolete.
27174 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
27175 (comint-c-a-p-replace-by-expanded-history): New function.
27176 (comint-dynamic-complete-functions)
27177 (comint-replace-by-expanded-history): Use it.
27178 * minibuffer.el (completion-table-with-terminator): Allow dynamic
27179 termination strings. Try harder to avoid second try-completion.
27180 (completion-in-region-mode-map): Disable bindings that don't work yet.
27181
27182 * comint.el: Use lexical-binding. Require CL.
27183 (comint-dynamic-complete-functions): Use comint-filename-completion.
27184 (comint-completion-addsuffix): Tweak custom type.
27185 (comint-filename-completion, comint--common-suffix)
27186 (comint--common-quoted-suffix, comint--table-subvert)
27187 (comint--complete-file-name-data): New functions.
27188 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
27189 (comint-dynamic-list-filename-completions): Use them.
27190 (comint-dynamic-simple-complete): Make obsolete.
27191
27192 * minibuffer.el (completion-in-region-mode):
27193 Keep completion-in-region-mode--predicate global.
27194 (completion-in-region--postch):
27195 Assume completion-in-region-mode--predicate is not null.
27196
27197 * progmodes/flymake.el (flymake-start-syntax-check-process):
27198 Obey `dir'. Simplify.
27199
27200 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
27201 we're in VC after all.
27202
27203 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
27204
27205 * vc/vc.el (vc-diff-build-argument-list-internal)
27206 (vc-version-ediff, vc-ediff): New commands.
27207 (vc-version-diff): Use vc-diff-build-argument-list-internal.
27208
27209 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
27210
27211 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
27212 add sanity check.
27213
27214 * obsolete/erc-hecomplete.el: Make obsolete.
27215 * obsolete/: Standardize obsolescence info in the header.
27216
27217 2011-04-20 Glenn Morris <rgm@gnu.org>
27218
27219 * calendar/solar.el (solar-horizontal-coordinates):
27220 Use the longitude argument rather than `calendar-longitude'.
27221 (solar-date-next-longitude): Remove unused locals.
27222
27223 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
27224
27225 * whitespace.el: New version 13.2.1.
27226
27227 2011-04-20 felix <EmacsWiki> (tiny change)
27228
27229 * whitespace.el (global-whitespace-mode): Keep highlight when
27230 switching between major modes on a file.
27231
27232 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
27233
27234 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
27235 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
27236 multi-line comments as well.
27237
27238 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
27239
27240 Lexical-binding cleanup.
27241
27242 * arc-mode.el (archive-mode-revert):
27243 * cmuscheme.el (scheme-interactively-start-process):
27244 * custom.el (custom-initialize-delay):
27245 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
27246 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
27247 * emacs-lock.el (emacs-lock-clear-sentinel):
27248 * ezimage.el (defezimage):
27249 * follow.el (follow-avoid-tail-recenter):
27250 * fringe.el (set-fringe-mode-1):
27251 * generic-x.el (bat-generic-mode-compile):
27252 * help-mode.el (help-info-variable, help-do-xref)
27253 (help-mode-revert-buffer):
27254 * help.el (view-emacs-todo):
27255 * iswitchb.el (iswitchb-completion-help):
27256 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
27257 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
27258 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
27259 * locate.el (locate-update):
27260 * longlines.el (longlines-encode-region)
27261 (longlines-after-change-function):
27262 * outline.el (outline-isearch-open-invisible):
27263 * ps-def.el (declare-function, charset-dimension, char-width)
27264 (encode-char):
27265 * ps-mule.el (ps-mule-plot-string):
27266 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
27267 (recentf-edit-list-select, recentf-edit-list-validate)
27268 (recentf-open-files-action):
27269 * rect.el (delete-whitespace-rectangle-line)
27270 (rectangle-number-line-callback):
27271 * register.el (window-configuration-to-register)
27272 (frame-configuration-to-register):
27273 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
27274 * select.el (xselect-convert-to-string, xselect-convert-to-length)
27275 (xselect-convert-to-targets, xselect-convert-to-delete)
27276 (xselect-convert-to-filename, xselect-convert-to-charpos)
27277 (xselect-convert-to-lineno, xselect-convert-to-colno)
27278 (xselect-convert-to-os, xselect-convert-to-host)
27279 (xselect-convert-to-user, xselect-convert-to-class)
27280 (xselect-convert-to-name, xselect-convert-to-integer)
27281 (xselect-convert-to-atom, xselect-convert-to-identity):
27282 * subr.el (declare, ignore, process-kill-without-query)
27283 (text-clone-maintain):
27284 * terminal.el (te-get-char, te-tic-sentinel):
27285 * tool-bar.el (tool-bar-make-keymap):
27286 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
27287 * type-break.el (type-break-mode, type-break-noninteractive-query):
27288 * view.el (View-back-to-mark):
27289 * wid-browse.el (widget-browse-action, widget-browse-widget)
27290 (widget-browse-widgets, widget-browse-sexp):
27291 * widget.el (define-widget-keywords):
27292 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
27293 Mark unused parameters.
27294
27295 * align.el (align-adjust-col-for-rule): Mark unused parameter.
27296 (align-areas): Remove unused variable `look'.
27297 (align-region): Remove unused variables `real-end' and `pos-list'.
27298
27299 * apropos.el (apropos-score-doc): Remove unused variable `i'.
27300
27301 * bindings.el (mode-line-modified, mode-line-remote):
27302 Mark unused parameters.
27303 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
27304
27305 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
27306 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
27307
27308 * comint.el (comint-history-isearch-pop-state)
27309 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
27310 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
27311 (comint-substitute-in-file-name): Doc fix.
27312
27313 * completion.el (cmpl-statistics-block): Mark unused parameter.
27314 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
27315 (save-completions-to-file, load-completions-from-file):
27316 Remove unused local variable `e'.
27317
27318 * composite.el (compose-chars): Remove unused variable `len'.
27319 (lgstring-insert-glyph): Remove unused variable `g'.
27320 (compose-glyph-string): Remove unused variables `ascent',
27321 `descent', `lbearing' and `rbearing'.
27322 (compose-glyph-string-relative): Remove unused variables
27323 `lbearing', `rbearing' and `wadjust'.
27324 (compose-gstring-for-graphic): Remove unused variables `header',
27325 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
27326 (compose-gstring-for-terminal): Remove unused variables `header'
27327 and `nchars'. Use `let', not `let*'.
27328
27329 * cus-edit.el (Custom-set, Custom-save, custom-reset)
27330 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
27331 (Custom-buffer-done, custom-buffer-create-internal)
27332 (custom-browse-visibility-action, custom-browse-group-tag-action)
27333 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
27334 (widget-magic-mouse-down-action, custom-toggle-parent)
27335 (custom-add-parent-links, custom-toggle-hide-variable)
27336 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
27337 (custom-toggle-hide-face, face, hook, custom-group-link-action)
27338 (custom-face-menu-create, custom-variable-menu-create, get)
27339 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
27340 (custom-reset-standard-save-and-update): Remove unused variable `value'.
27341 (customize-apropos): Remove unused variable `tests'.
27342 (custom-group-value-create): Remove unused variable `hidden-p'.
27343 (sort-fold-case): Declare.
27344
27345 * cus-theme.el (custom-reset-standard-faces-list)
27346 (custom-reset-standard-variables-list): Declare.
27347 (customize-create-theme, custom-theme-revert, custom-theme-write)
27348 (custom-theme-choose-mode, customize-themes, custom-theme-save):
27349 Mark unused parameters.
27350
27351 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
27352
27353 * delim-col.el (delimit-columns-max): Move defvar before first use.
27354
27355 * descr-text.el (describe-char-categories): Don't quote `lambda'.
27356 (describe-char): Don't quote `lambda'. Mark unused parameter.
27357
27358 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
27359 (auto-insert): Declare.
27360 (desktop-restore-file-buffer): Rename desktop-* parameters;
27361 mark unused ones.
27362 (desktop-create-buffer): Rename desktop-* parameters and bind them.
27363 (desktop-buffer): Rename desktop-* parameters.
27364
27365 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
27366 (dframe-reposition-frame-xemacs, dframe-help-echo)
27367 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
27368 Mark unused parameters.
27369
27370 * dired-aux.el (backup-extract-version-start, overwrite-query)
27371 (overwrite-backup-query, rename-regexp-query)
27372 (rename-non-directory-query): Declare.
27373 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
27374 (dired-add-entry): Remove unused variable `orig-file-name'.
27375 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
27376 Use parameter PRESERVE-TIME instead of accessing dynamic variable
27377 `dired-copy-preserve-time' directly.
27378 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
27379 (dired-insert-subdir-newpos): Rename unused variable `pos'.
27380
27381 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
27382 (dired-virtual-revert, dired-make-relative-symlink):
27383 Mark unused parameters.
27384 (manual-program): Declare.
27385 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
27386 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
27387 wrapped in `with-no-warnings' to avoid replacing one warning by another.
27388
27389 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
27390
27391 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
27392
27393 * echistory.el (electric-history-in-progress, Helper-return-blurb):
27394 Declare.
27395
27396 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
27397
27398 * electric.el (Electric-command-loop): Rename parameter
27399 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
27400
27401 * expand.el (expand-in-literal): Remove unused variable `here'.
27402
27403 * facemenu.el (facemenu-add-new-color):
27404 Remove unused variable `docstring'.
27405
27406 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
27407 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
27408 (face-attr-construct): Mark unused parameter. Doc fix.
27409 (read-color): Remove unused variable `hex-string'.
27410
27411 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
27412 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
27413 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
27414 (display-buffer-other-frame): Remove unused variable `old-window'.
27415 (kill-buffer-hook): Declare.
27416 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
27417 Mark unused parameters.
27418 (after-find-file): Pass 1 to `auto-save-mode', not t.
27419
27420 * files-x.el (auto-insert): Declare.
27421 (modify-file-local-variable-prop-line): Remove unused variable `val'.
27422
27423 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
27424 variable `buf'. Mark unused parameter.
27425 (find-lisp-insert-directory): Mark unused parameter.
27426
27427 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
27428 (format-encode-region): Remove unused variables `cur-buf' and `result'.
27429 (format-common-tail): Remove, unused.
27430 (format-deannotate-region): Remove unused variable `loc'.
27431 (format-annotate-region): Remove unused variable `p'.
27432 (format-annotate-single-property-change): Remove unused variables
27433 `default' and `tail'.
27434
27435 * forms.el (read-file-filter): Declare.
27436 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
27437
27438 * frame.el (frame-creation-function-alist): Mark unused parameter.
27439 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
27440
27441 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
27442 Remove unused parameters.
27443 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
27444 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
27445
27446 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
27447 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
27448 (hfy-prepare-tag-map): Mark unused parameters.
27449 (htmlfontify-buffer): Use `called-interactively-p'.
27450
27451 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
27452 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
27453 (ibuffer-do-occur): Mark unused parameters.
27454 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
27455 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
27456
27457 * ibuffer.el: Don't quote `lambda'.
27458 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
27459 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
27460 Mark unused parameters.
27461
27462 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
27463 (ido-completing-read): Mark unused parameters.
27464 (ido-copy-current-word): Mark unused parameters;
27465 remove unused variable `name'.
27466 (ido-sort-merged-list): Remove unused parameter `dirs'.
27467
27468 * ielm.el (ielm-input-sender): Mark unused parameter.
27469 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
27470 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
27471 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
27472 `ielm-string' as a dynamic variable accessible from the IELM prompt.
27473 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
27474
27475 * image-dired.el (image-dired-display-thumbs): Remove unused
27476 variables `curr-file' and `count'.
27477 (image-dired-remove-tag): Remove unused variable `start'.
27478 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
27479 variable `curr-file'
27480 (image-dired-rotate-original): Remove unused variable `temp-file'.
27481 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
27482 Remove unused variable `file'.
27483 (image-dired-gallery-generate): Remove unused variable `curr'.
27484 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
27485
27486 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
27487
27488 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
27489
27490 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
27491
27492 * isearch.el (minibuffer-history-symbol): Declare.
27493 (isearch-edit-string): Remove unused variable `err'.
27494 (isearch-message-prefix, isearch-message-suffix):
27495 Mark unused parameters.
27496
27497 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
27498
27499 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
27500
27501 * makesum.el (double-column): Remove unused variable `cnt'.
27502
27503 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
27504 (ido-ignore-item-temp-list): Declare.
27505
27506 * mouse-drag.el (mouse-drag-throw): Remove unused variables
27507 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
27508 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
27509 (mouse-drag-drag): Remove unused variables `mouse-delta' and
27510 `mouse-col-delta'.
27511
27512 * mouse-sel.el (mouse-extend-internal):
27513 Remove unused variable `orig-window-frame'.
27514
27515 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
27516 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
27517 Move declarations before first use.
27518 (pcomplete-opt): Mark unused parameters; doc fix.
27519
27520 * proced.el (proced-revert): Mark unused parameter.
27521 (proced-send-signal): Remove unused variable `err'.
27522
27523 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
27524 Rename parameter PREFIX-ARG to ARG.
27525 (ps-basic-plot-string, ps-basic-plot-whitespace):
27526 Mark unused parameters.
27527
27528 * replace.el (replace-count): Define.
27529 (occur-revert-function): Mark unused parameters.
27530 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
27531 (isearch-case-fold-search, isearch-string): Declare.
27532 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
27533 bind `case-fold-search'. Remove unused variables `beg' and `end',
27534 and simplify.
27535 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
27536 COUNT and bind `replace-count'.
27537 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
27538 to COUNT.
27539
27540 * savehist.el (print-readably, print-string-length): Declare.
27541
27542 * shadowfile.el (shadow-expand-cluster-in-file-name):
27543 Remove unused variable `cluster'.
27544 (shadow-copy-file): Remove unused variable `i'.
27545 (shadow-noquery, shadow-clusters, shadow-site-cluster)
27546 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
27547 (shadow-define-literal-group, shadow-define-regexp-group)
27548 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
27549
27550 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
27551 (shell): Use `called-interactively-p'.
27552 (shell-directory-tracker): Remove unused variable `chdir-failure'.
27553
27554 * simple.el (compilation-context-lines, comint-file-name-quote-list)
27555 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
27556 (delete-backward-char): Remove unused variable `ocol'.
27557 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
27558 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
27559 (event-apply-hyper-modifier, event-apply-shift-modifier)
27560 (event-apply-control-modifier, event-apply-meta-modifier):
27561 Mark unused parameters.
27562 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
27563 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
27564
27565 * speedbar.el (speedbar-ignored-directory-expressions)
27566 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
27567 (speedbar-find-file, speedbar-dir-follow)
27568 (speedbar-directory-buttons-follow, speedbar-tag-find)
27569 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
27570 (speedbar-buffers-line-directory, speedbar-buffer-click):
27571 Mark unused parameters.
27572 (speedbar-tag-file): Remove unused variable `mode'.
27573 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
27574
27575 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
27576
27577 * talk.el (talk): Remove unused variable `display'.
27578
27579 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
27580 (tar-write-region-annotate): Mark unused parameter.
27581
27582 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
27583 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
27584 Declare them, wrapped in `with-no-warnings' to avoid replacing one
27585 warning by another.
27586
27587 * time-stamp.el (time-stamp-string-preprocess):
27588 Remove unused variable `require-padding'.
27589
27590 * tree-widget.el (widget-glyph-enable): Declare.
27591 (tree-widget-action): Mark unused parameter.
27592
27593 * w32-fns.el (x-get-selection): Mark unused parameter.
27594 (autoload-make-program, generated-autoload-file): Declare.
27595
27596 * wdired.el (wdired-revert): Mark unused parameters.
27597 (wdired-xcase-word): Remove unused variable `err'.
27598
27599 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
27600 (whitespace-help-scroll): Remove unused variable `data-help'.
27601
27602 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
27603 (widget-image-insert, widget-after-change, default)
27604 (widget-default-format-handler, widget-default-notify)
27605 (widget-default-prompt-value, widget-info-link-action)
27606 (widget-url-link-action, widget-function-link-action)
27607 (widget-variable-link-action, widget-file-link-action)
27608 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
27609 (widget-field-prompt-internal, widget-field-action, widget-field-match)
27610 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
27611 (widget-insert-button-action, widget-delete-button-action, visibility)
27612 (widget-documentation-link-action, widget-documentation-string-action)
27613 (widget-const-prompt-value, widget-regexp-match, symbol)
27614 (widget-coding-system-prompt-value)
27615 (widget-key-sequence-value-to-external, sexp)
27616 (widget-sexp-value-to-internal, character, vector, cons)
27617 (widget-choice-prompt-value, widget-boolean-prompt-value)
27618 (widget-color--choose-action): Mark unused parameters.
27619 (widget-item-match-inline, widget-choice-match-inline)
27620 (widget-checklist-match, widget-checklist-match-inline)
27621 (widget-group-match): Rename parameter VALUES to VALS.
27622 (widget-field-value-set): Remove unused variable `size'.
27623 (widget-color-action): Remove unused variables `value' and `start'.
27624
27625 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
27626 variable `dir'. Doc fix.
27627 (windmove-find-other-window): Don't pass it.
27628
27629 * window.el (count-windows): Mark unused parameter.
27630 (bw-adjust-window): Remove unused variable `err'.
27631
27632 * woman.el (woman-file-name): Remove unused variable `default'.
27633 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
27634 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
27635 (global-font-lock-mode): Declare.
27636 (woman-decode-region): Mark unused parameter.
27637 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
27638
27639 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
27640 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
27641 (x-dnd-handle-moz-url): Remove unused variable `title'.
27642 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
27643
27644 * xml.el (xml-parse-tag, xml-parse-attlist):
27645 Remove unused variable `pos'.
27646
27647 2011-04-19 Glenn Morris <rgm@gnu.org>
27648
27649 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
27650 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
27651 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
27652 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
27653 * calendar/cal-html.el (cal-html-insert-minical):
27654 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
27655 (calendar-mark-date-pattern):
27656 Prefix "unused" locals.
27657
27658 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
27659 optional argument `style'.
27660
27661 * calendar/appt.el (appt-make-list):
27662 * calendar/cal-china.el (calendar-chinese-date-string):
27663 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
27664 (diary-hebrew-yahrzeit):
27665 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
27666 * calendar/calendar.el (calendar-generate-window):
27667 * calendar/time-date.el (time-to-days):
27668 Remove unused local variables.
27669
27670 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
27671
27672 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
27673 glyphless-char-display table.
27674 (tabulated-list-glyphless-char-display): New var.
27675
27676 2011-04-18 Sam Steingold <sds@gnu.org>
27677
27678 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
27679 to acknowledgments.
27680
27681 2011-04-17 Glenn Morris <rgm@gnu.org>
27682
27683 * calendar/diary-lib.el (diary-sexp-entry):
27684 * calendar/holidays.el (holiday-sexp):
27685 Set debug-on-error rather than the removed stack-trace-on-error.
27686
27687 2011-04-16 Glenn Morris <rgm@gnu.org>
27688
27689 * progmodes/f90.el: Use lexical-binding.
27690 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
27691
27692 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
27693
27694 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
27695 (mail-mode): Setup mailalias completion here instead.
27696 * mail/mailalias.el: Use lexical-binding.
27697 (pattern, mailalias-done): Declare dynamic.
27698 (mail-completion-at-point-function): New function, from mail-complete.
27699 (mail-complete): Use it.
27700 (mail-completion-expand): New function.
27701 (mail-get-names): Use it.
27702 (mail-directory, mail-directory-process, mail-directory-stream):
27703 Don't use `pattern' for lexically bound arg.
27704
27705 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
27706
27707 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
27708 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
27709 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
27710
27711 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
27712 (byte-save-window-excursion, byte-temp-output-buffer-setup)
27713 (byte-interactive-p): Define them again, for use when inlining
27714 old code.
27715
27716 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
27717
27718 * loadup.el: Use `string-to-number', not `string-to-int'.
27719
27720 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
27721
27722 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
27723 gud-gdb-complete-command.
27724 (gud-gdb-completions): New function, from gud-gdb-complete-command.
27725 (gud-gdb-completion-at-point): New function.
27726 (gud-gdb-completions): Remove.
27727
27728 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
27729
27730 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
27731 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
27732 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
27733 whether `executable-find' is bound.
27734
27735 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
27736
27737 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
27738
27739 * minibuffer.el (completion-in-region-mode-predicate)
27740 (completion-in-region-mode--predicate): New vars.
27741 (completion-in-region, completion-in-region--postch)
27742 (completion-in-region-mode): Use them.
27743 (completion--capf-wrapper): Also return the hook function.
27744 (completion-at-point, completion-help-at-point):
27745 Adjust and provide a predicate.
27746
27747 Preserve arg names for advice of subr and lexical functions (bug#8457).
27748 * help-fns.el (help-function-arglist): Consolidate the subr and
27749 new-byte-code cases. Add argument `preserve-names' to extract names
27750 from the docstring when needed.
27751 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
27752 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
27753 (ad-arglist): Use help-function-arglist's new arg.
27754 (ad-definition-type): Use cond.
27755
27756 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
27757
27758 * autorevert.el (auto-revert-handler):
27759 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
27760 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
27761 Don't quote lambda.
27762
27763 * image-mode.el (image-transform-set-scale):
27764 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
27765
27766 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
27767
27768 * net/network-stream.el (network-stream-open-starttls): Only do
27769 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
27770 Upgrades via gnutls-cli are too slow to be done opportunistically.
27771
27772 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
27773
27774 * dframe.el (dframe-current-frame): Remove spurious quote.
27775
27776 2011-04-12 Glenn Morris <rgm@gnu.org>
27777
27778 * calendar/cal-tex.el (cal-tex-end-document):
27779 Try to automatically use latin1 input if needed.
27780
27781 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
27782 Don't try to cons a mark onto an empty element.
27783
27784 2011-04-11 Leo Liu <sdl.web@gmail.com>
27785
27786 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
27787 buffers.
27788 (ido-kill-buffer-at-head): Support killing virtual buffers.
27789
27790 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
27791
27792 * minibuffer.el (completion-show-inline-help): New var.
27793 (completion--do-completion, minibuffer-complete)
27794 (minibuffer-force-complete, minibuffer-complete-word):
27795 Inhibit minibuffer messages if completion-show-inline-help is nil.
27796
27797 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
27798 to avoid interference from inline help (Bug#5849).
27799
27800 2011-04-10 Leo Liu <sdl.web@gmail.com>
27801
27802 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
27803 Fix typo.
27804
27805 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
27806
27807 * image-mode.el (image-toggle-display-image): Signal an error if
27808 not in Image mode.
27809 (image-transform-mode, image-transform-resize)
27810 (image-transform-set-rotation): Doc fix.
27811 (image-transform-set-resize): Delete.
27812 (image-transform-set-scale, image-transform-fit-to-height)
27813 (image-transform-fit-to-width): Handle image-toggle-display-image
27814 and image-transform-resize directly.
27815
27816 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
27817
27818 * doc-view.el (doc-view-fit-width-to-window)
27819 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
27820 New functions for fitting the shown image to the Emacs window size.
27821 (doc-view-mode-map): Add bindings for the new functions.
27822
27823 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
27824
27825 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
27826 Fix typo in docstring.
27827
27828 2011-04-08 Eli Zaretskii <eliz@gnu.org>
27829
27830 * files.el (file-size-human-readable): Produce one digit after
27831 decimal, like "ls -lh" does.
27832
27833 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
27834 the file size representation.
27835
27836 * simple.el (list-processes): If async subprocesses are not
27837 available, error out with a clear error message.
27838
27839 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
27840
27841 * help.el (help-form-show): New function, to be called from C.
27842 Put help-form output in a buffer named differently than *Help*.
27843
27844 2011-04-08 Eli Zaretskii <eliz@gnu.org>
27845
27846 * files.el (file-size-human-readable): New function.
27847
27848 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
27849 computing the representation inline. Don't require `cl'.
27850
27851 2011-04-08 Glenn Morris <rgm@gnu.org>
27852
27853 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
27854
27855 * net/browse-url.el (browse-url-firefox):
27856 Test system-type, not system-configuration.
27857
27858 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
27859 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
27860 Use log-edit-empty-buffer-p. (Bug#7598)
27861
27862 * net/rlogin.el (rlogin-process-connection-type): Simplify.
27863 (rlogin-mode-map): Initialize in the defvar.
27864 (rlogin): Use ignore-errors.
27865
27866 * replace.el (occur-mode-map): Some fixes for menu items.
27867
27868 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
27869
27870 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
27871
27872 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
27873
27874 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
27875 issuing unused warnings.
27876
27877 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
27878 macro directly.
27879
27880 * simple.el: Lisp reimplement of list-processes. Based on an
27881 earlier reimplementation by Leo Liu, but using tabulated-list.el.
27882 (process-menu-mode): New major mode.
27883 (list-processes--refresh, list-processes):
27884 (process-menu-visit-buffer): New functions.
27885
27886 * files.el (save-buffers-kill-emacs): Don't assume any return
27887 value of list-processes, which is undocumented anyway.
27888
27889 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
27890
27891 * emacs-lisp/tabulated-list.el: New file.
27892
27893 * emacs-lisp/package.el: Use Tabulated List mode.
27894 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
27895 (package-menu-mode): Derive from tabulated-list-mode. Set up the
27896 table format using Tabulated List mode variables.
27897 (package--push): New macro, replacing package-list-maybe-add.
27898 (package-menu--generate): Use package--push. Renamed from
27899 package--generate-package-list.
27900 (package-menu-refresh, list-packages): Use it.
27901 (package-menu--print-info): Rename from package-print-package.
27902 Return insertion data instead of inserting it directly.
27903 (package-menu-describe-package, package-menu-execute):
27904 Use tabulated-list-get-id.
27905 (package-menu-mark-delete, package-menu-mark-install)
27906 (package-menu-mark-unmark, package-menu-backup-unmark)
27907 (package-menu-mark-obsolete-for-deletion):
27908 Use tabulated-list-put-tag.
27909 (package--list-packages, package-menu-revert)
27910 (package-menu-get-package, package-menu-get-version)
27911 (package-menu-sort-by-column): Functions deleted.
27912 (package-menu-package-list, package-menu-sort-key): Vars deleted.
27913 (package-menu--status-predicate, package-menu--version-predicate)
27914 (package-menu--name-predicate)
27915 (package-menu--description-predicate): Handle arguments in the
27916 Tabulated List format.
27917 (package-list-packages-no-fetch): Call list-packages.
27918
27919 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
27920
27921 * files.el (after-find-file-from-revert-buffer): Remove variable.
27922 (after-find-file): Don't bind it.
27923 (revert-buffer-in-progress-p): New variable.
27924 (revert-buffer): Bind it.
27925 Pass nil for `after-find-file-from-revert-buffer'.
27926
27927 * saveplace.el (save-place-find-file-hook): Use new variable
27928 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
27929
27930 2011-04-06 Glenn Morris <rgm@gnu.org>
27931
27932 * Makefile.in (AUTOGEN_VCS): New variable.
27933 (autoloads): Use $AUTOGEN_VCS.
27934
27935 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
27936 * calendar/calendar.el (calendar-mode-map):
27937 Check for toolkit scroll bars. (Bug#8305)
27938
27939 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
27940
27941 * minibuffer.el (completion-in-region--postch)
27942 (completion-in-region-mode): Remove unnecessary messages.
27943
27944 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
27945
27946 * font-lock.el (font-lock-refresh-defaults):
27947 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
27948 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
27949
27950 * info.el (Info-directory-list, Info-read-node-name-2)
27951 (Info-split-parameter-string): Doc fixes.
27952 (Info-virtual-nodes): Reflow docstring.
27953 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
27954 (Info-apropos-toc-nodes, info-finder, Info-get-token)
27955 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
27956 Fix typos in docstrings.
27957 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
27958 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
27959 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
27960 (Info-restore-desktop-buffer): Mark unused parameters.
27961 (Info-directory-find-file, Info-directory-find-node)
27962 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
27963 (Info-virtual-index-find-node, Info-apropos-find-file)
27964 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
27965 Mark unused parameters; fix typos in docstrings.
27966 (Info-virtual-index): Remove unused local variable `nodename'.
27967
27968 2011-04-05 Deniz Dogan <deniz@dogan.se>
27969
27970 * net/rcirc.el: Update my e-mail address.
27971 (rcirc-mode-map): Remove M-o binding.
27972
27973 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
27974
27975 * startup.el (command-line): Save the cursor's theme-face
27976 directly, instead of using face-override-spec.
27977
27978 * custom.el (load-theme): Minor optimization in assigning faces.
27979
27980 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
27981
27982 * help-fns.el (describe-variable): Complete all variables having
27983 documentation, including keywords.
27984 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
27985
27986 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
27987
27988 Convert to lexical-binding.
27989
27990 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
27991 (bs--get-marked-string, bs--get-modified-string)
27992 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
27993 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
27994 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
27995
27996 * ehelp.el (electric-help-execute-extended)
27997 (electric-help-ctrl-x-prefix):
27998 * hexl.el (hexl-revert-buffer-function):
27999 * linum.el (linum-after-change, linum-after-scroll):
28000 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
28001
28002 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
28003
28004 2011-04-04 Daiki Ueno <ueno@unixuser.org>
28005
28006 * epa-dired.el:
28007 * epa-mail.el:
28008 * epa-hook.el:
28009 * epa-file.el:
28010 * epa.el:
28011 * epg.el: Use lexical binding.
28012
28013 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
28014
28015 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
28016
28017 * textmodes/flyspell.el (flyspell-word): Recognize default
28018 dictionary case for flyspell-mark-duplications-exceptions.
28019 Use regexp matching for languages.
28020 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
28021 default dictionary (Bug#7926).
28022
28023 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
28024
28025 * emacs-lisp/package.el (package--with-work-buffer):
28026 Recognize https URLs.
28027
28028 * net/network-stream.el: Move from gnus/proto-stream.el.
28029 Change prefix to network-stream throughout.
28030 (open-protocol-stream): Merge into open-network-stream, leaving
28031 open-protocol-stream as an alias. Handle nil BUFFER args.
28032
28033 * subr.el (open-network-stream): Move to net/network-stream.el.
28034
28035 2011-04-02 Glenn Morris <rgm@gnu.org>
28036
28037 * find-dired.el (find-exec-terminator): New option.
28038 (find-ls-option): Test for -ls support.
28039 (find-ls-subdir-switches): Test for -b in find-ls-option.
28040 (find-dired, find-grep-dired): Doc fixes.
28041 (find-dired): Use find-exec-terminator.
28042
28043 * find-dired.el (find-ls-option, find-ls-subdir-switches)
28044 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
28045 (find-name-arg): Remove purecopy.
28046
28047 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
28048 (grep-compute-defaults): Check for `-exec COMMAND +' support.
28049 Set grep-find-use-xargs, grep-find-command, and grep-find-template
28050 accordingly. Don't add the null-device if not needed.
28051
28052 * files.el (save-some-buffers): Doc fix.
28053
28054 2011-04-02 Eli Zaretskii <eliz@gnu.org>
28055
28056 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
28057
28058 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
28059
28060 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
28061 Use `dolist' rather than `mapcar'.
28062
28063 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
28064
28065 Add lexical binding.
28066
28067 * subr.el (apply-partially): Use new closures rather than CL.
28068 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
28069 (dolist, dotimes): Use slightly different expansion for lexical code.
28070 (functionp): Move to C.
28071 (letrec): New macro.
28072 (with-wrapper-hook): Use it and apply-partially instead of CL.
28073 (eval-after-load): Preserve lexical-binding.
28074 (save-window-excursion, with-output-to-temp-buffer): Turn them
28075 into macros.
28076
28077 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
28078
28079 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
28080 than the arglist.
28081 (help-add-fundoc-usage): Don't add `Not documented'.
28082 (help-function-arglist): Handle closures, subroutines, and new
28083 byte-code-functions.
28084 (help-make-usage): Remove leading underscores.
28085 (describe-function-1): Handle closures.
28086 (describe-variable): Use special-variable-p for completion.
28087
28088 * files.el (lexical-binding): Declare safe.
28089
28090 * emacs-lisp/pcase.el: Don't use destructuring-bind.
28091 (pcase--memoize): Rename from pcase-memoize. Change weakness.
28092 (pcase): Add `let' pattern.
28093 Change memoization so it actually works.
28094 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
28095 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
28096 <let>: New case.
28097
28098 * emacs-lisp/macroexp.el: Use lexical binding.
28099 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
28100 Don't convert ' to #' without checking that it's indeed quoting
28101 a lambda.
28102
28103 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
28104 Use eval-sexp-add-defvars.
28105 (eval-sexp-add-defvars): New fun.
28106
28107 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
28108
28109 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
28110 Don't autoload.
28111 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
28112 than the internal `byte-compile-lambda'.
28113 (defmethod): Don't hide code under quotes.
28114 (eieio-defmethod): New `code' argument.
28115
28116 * emacs-lisp/eieio-comp.el: Remove.
28117
28118 * emacs-lisp/edebug.el (edebug-eval-defun)
28119 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
28120 (edebug-toggle): Avoid `eval'.
28121
28122 * emacs-lisp/disass.el (disassemble-internal): Handle new
28123 `closure' objects.
28124 (disassemble-1): Handle new byte codes.
28125
28126 * emacs-lisp/cl.el (pushnew): Silence warning.
28127
28128 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
28129 (cl-byte-compile-throw): Remove.
28130 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
28131
28132 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
28133 closures.
28134
28135 * emacs-lisp/cconv.el: New file.
28136
28137 * emacs-lisp/bytecomp.el: Use lexical binding instead of
28138 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
28139 (byte-compile-initial-macro-environment):
28140 Handle declare-function here.
28141 (byte-compile--lexical-environment): New var.
28142 (byte-stack-ref, byte-stack-set, byte-discardN)
28143 (byte-discardN-preserve-tos): New lap codes.
28144 (byte-interactive-p): Don't use any more.
28145 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
28146 New macros.
28147 (byte-compile-lapcode): Use them and handle new lap codes.
28148 (byte-compile-obsolete): Remove.
28149 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
28150 (byte-compile-arglist-warn): Check late def of inlinable funs.
28151 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
28152 since they should have been expanded by now.
28153 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
28154 (byte-compile-from-buffer): Remove unused second arg.
28155 (byte-compile-preprocess): New function.
28156 (byte-compile-toplevel-file-form): New function to distinguish
28157 file-form calls from outside from file-form calls from hunk-handlers.
28158 (byte-compile-file-form): Simplify.
28159 (byte-compile-file-form-defsubst): Remove.
28160 (byte-compile-file-form-defmumble): Simplify now that
28161 byte-compile-lambda always returns a byte-code-function.
28162 (byte-compile): Preprocess.
28163 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
28164 Remove, not used any more.
28165 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
28166 (byte-compile-make-args-desc): New funs.
28167 (byte-compile-lambda): Handle lexical functions. Always return
28168 a byte-code-function.
28169 (byte-compile-reserved-constants): New var, to make up room for
28170 closed-over variables.
28171 (byte-compile-constants-vector): Obey it.
28172 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
28173 (byte-compile-macroexpand-declare-function): New function.
28174 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
28175 byte-code-functions.
28176 (byte-compile-form): Check obsolescence here.
28177 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
28178 (byte-compile-variable-ref): Remove.
28179 (byte-compile-dynamic-variable-op): New fun.
28180 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
28181 (byte-compile-variable-set): New funs.
28182 (byte-compile-discard): Add 2 args.
28183 (byte-compile-stack-ref, byte-compile-stack-set)
28184 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
28185 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
28186 macroexpand-all instead.
28187 (byte-compile-quote-form): Remove.
28188 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
28189 (byte-compile-bind, byte-compile-unbind): New funs.
28190 (byte-compile-let): Handle let* and lexical binding.
28191 (byte-compile-let*): Remove.
28192 (byte-compile-catch, byte-compile-unwind-protect)
28193 (byte-compile-track-mouse, byte-compile-condition-case):
28194 Handle a new :fun-body form, used for lexical scoping.
28195 (byte-compile-save-window-excursion)
28196 (byte-compile-with-output-to-temp-buffer): Remove.
28197 (byte-compile-defun): Simplify.
28198 (byte-compile-stack-adjustment): New fun.
28199 (byte-compile-out): Use it.
28200 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
28201
28202 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
28203 handler any more.
28204
28205 * emacs-lisp/byte-opt.el: Use lexical binding.
28206 (byte-inline-lapcode): Remove (to bytecomp).
28207 (byte-compile-inline-expand): Pay attention to inlining to/from
28208 lexically bound code.
28209 (byte-compile-unfold-lambda): Don't handle byte-code-functions
28210 any more.
28211 (byte-optimize-form-code-walker): Don't handle save-window-excursion
28212 any more and don't call compiler-macros.
28213 (byte-compile-splice-in-already-compiled-code): Remove.
28214 (byte-code): Don't inline any more.
28215 (disassemble-offset): Receive `bytes' as argument rather than via
28216 dynamic scoping.
28217 (byte-compile-tag-number): Declare before first use.
28218 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
28219 `return' even if make-spliceable.
28220 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
28221 obsolete interactive-p.
28222 (byte-optimize-lapcode): Optimize new lap-codes.
28223 Don't trip up on new form of `byte-constant' lap code.
28224
28225 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
28226
28227 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
28228
28229 * custom.el (custom-initialize-default, custom-declare-variable):
28230 Use `defvar'.
28231
28232 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
28233 New variables.
28234 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
28235 (COMPILE_FIRST): Add macroexp and cconv.
28236 * makefile.w32-in: Mirror changes in Makefile.in.
28237
28238 * vc/cvs-status.el:
28239 * vc/diff-mode.el:
28240 * vc/log-edit.el:
28241 * vc/log-view.el:
28242 * vc/smerge-mode.el:
28243 * textmodes/bibtex-style.el:
28244 * textmodes/css-mode.el:
28245 * startup.el:
28246 * uniquify.el:
28247 * minibuffer.el:
28248 * newcomment.el:
28249 * reveal.el:
28250 * server.el:
28251 * mpc.el:
28252 * emacs-lisp/smie.el:
28253 * doc-view.el:
28254 * dired.el:
28255 * abbrev.el: Use lexical binding.
28256
28257 2011-04-01 Eli Zaretskii <eliz@gnu.org>
28258
28259 * info.el (info-display-manual): New function.
28260
28261 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
28262
28263 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
28264
28265 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
28266
28267 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
28268 an entry for that server in rcirc-authinfo. (Bug#8385)
28269
28270 2011-03-31 Glenn Morris <rgm@gnu.org>
28271
28272 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
28273
28274 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
28275
28276 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
28277
28278 * progmodes/python.el (python-default-interpreter)
28279 (python-python-command-args, python-jython-command-args)
28280 (python-which-shell, python-which-args, python-which-bufname)
28281 (python-file-queue, python-comint-output-filter-function)
28282 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
28283 variables and functions.
28284
28285 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
28286
28287 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
28288 (completion-in-region-mode): New minor mode.
28289 (completion-in-region): Use it.
28290 (completion-in-region--data, completion-in-region-mode-map): New vars.
28291 (completion-in-region--postch): New function.
28292 (completion--capf-misbehave-funs, completion--capf-safe-funs):
28293 New vars.
28294 (completion--capf-wrapper): New function.
28295 (completion-at-point): Use it to track well-behavedness of
28296 hook functions.
28297 (completion-help-at-point): New command.
28298
28299 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
28300
28301 * vc/add-log.el (add-change-log-entry): Don't use whitespace
28302 syntax class to search for whitespace on a single line
28303 (Message-ID: <4D938140.4030905@redhat.com>).
28304
28305 2011-03-30 Leo Liu <sdl.web@gmail.com>
28306
28307 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
28308 New commands.
28309 (edit-abbrevs-map): Bind them here.
28310 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
28311
28312 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
28313
28314 * allout.el (allout-hide-by-annotation, allout-flag-region):
28315 Reduce possibility of overlay leakage by making them volatile.
28316
28317 * allout-widgets.el (allout-widgets-tally): Define as nil so the
28318 hash is not shared between buffers. Mode initialization is
28319 responsible for giving it a useful starting value.
28320 (allout-item-span): Reduce possibility of overlay leakage by
28321 making them volatile.
28322 (allout-widgets-count-buttons-in-region): Add diagnostic function
28323 for tracking down button overlay leaks.
28324
28325 2011-03-29 Leo Liu <sdl.web@gmail.com>
28326
28327 * ido.el (ido-read-internal): Use the default history var
28328 minibuffer-history if no HISTORY is specified.
28329
28330 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
28331
28332 * net/imap.el (imap-shell-open, imap-process-connection-type):
28333 Use imap-process-connection-type for 'shell' streams as well as
28334 Kerberos, SSL, other subprocesses.
28335
28336 2011-03-28 Leo Liu <sdl.web@gmail.com>
28337
28338 * abbrev.el (abbrev-table-empty-p): New function.
28339 (prepare-abbrev-list-buffer): Place empty abbrev tables after
28340 nonempty ones. (Bug#5937)
28341
28342 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
28343
28344 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
28345
28346 2011-03-27 Leo Liu <sdl.web@gmail.com>
28347
28348 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
28349 for foreground and background colors.
28350 (ansi-color-make-color-map): Adapt.
28351
28352 2011-03-25 Leo Liu <sdl.web@gmail.com>
28353
28354 * midnight.el (midnight-time-float): Remove. Note it calculates
28355 the microsecond component incorrectly and seconds-to-time does the
28356 same job.
28357 Remove redundant (require 'timer).
28358
28359 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
28360 (ido-completions): Remove unused arguments. (Bug#8329)
28361
28362 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
28363
28364 * minibuffer.el (completion--flush-all-sorted-completions):
28365 Remove itself from hook.
28366 (completion-at-point): Let the functions perform the completion
28367 immediately and return nil or t.
28368 * comint.el (comint-dynamic-complete-functions): Now identical to
28369 completion-at-point-functions.
28370 (comint-dynamic-list-input-ring): Remove unused var `index'.
28371 (comint--match-partial-filename, comint--unquote&expand-filename):
28372 New funs, split from comint-match-partial-filename.
28373 (comint-dynamic-complete): Use completion-at-point.
28374 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
28375
28376 2011-03-24 Drew Adams <drew.adams@oracle.com>
28377
28378 * thingatpt.el: Support `defun'.
28379
28380 2011-03-23 Leo Liu <sdl.web@gmail.com>
28381
28382 * abbrevlist.el: Move to obsolete/abbrevlist.el.
28383
28384 * help-mode.el (help-mode-finish): Tweak regexp.
28385
28386 2011-03-23 Glenn Morris <rgm@gnu.org>
28387
28388 * eshell/esh-opt.el (eshell-eval-using-options):
28389 Do not bind unused local variable `eshell-option-stub'.
28390
28391 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
28392
28393 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
28394
28395 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
28396 keymap variable in `with-no-warnings' to avoid a warning when the
28397 keymap has been already `defconst'ed.
28398
28399 2011-03-22 Leo Liu <sdl.web@gmail.com>
28400
28401 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
28402 encode all chars in abbrevs; otherwise use emacs-mule or
28403 utf-8-emacs. (Bug#8308)
28404
28405 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
28406
28407 * simple.el (backward-delete-char-untabify):
28408 Avoid warning about using `delete-backward-char'.
28409
28410 * image.el (image-type-file-name-regexps): Make it variable.
28411 `imagemagick-register-types' modifies it, and the user may want
28412 to add new extensions for known image types.
28413 (imagemagick-register-types): Throw error if not using ImageMagick.
28414
28415 2011-03-22 Leo Liu <sdl.web@gmail.com>
28416
28417 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
28418 located before rcirc-prompt-end-marker.
28419 (rcirc-complete): Error if point is not after rcirc prompt.
28420 Handle the case when table is nil.
28421 (rcirc-user-authenticated): Define to fix compiler warning.
28422
28423 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
28424
28425 * custom.el (custom--inhibit-theme-enable): Make it affect only
28426 custom-theme-set-variables and custom-theme-set-faces.
28427 (provide-theme): Ignore custom--inhibit-theme-enable.
28428 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
28429 (custom-enabling-themes): Delete variable.
28430 (enable-theme): Accept only loaded themes as arguments.
28431 Ignore the special custom-enabled-themes variable.
28432 (custom-enabled-themes): Forbid themes from setting this.
28433 Eliminate use of custom-enabling-themes.
28434 (custom-push-theme): Quote "changed" custom var entry.
28435
28436 2011-03-21 Leo Liu <sdl.web@gmail.com>
28437
28438 * ido.el (ido-read-internal): Add ido-selected to history instead
28439 of user input.
28440
28441 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
28442
28443 * subr.el (deferred-action-list, deferred-action-function):
28444 Mark obsolete.
28445
28446 2011-03-21 Leo Liu <sdl.web@gmail.com>
28447
28448 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
28449 change on 2011-02-13 (bug#8309).
28450
28451 * minibuffer.el (read-file-name-function): Change default value.
28452 (read-file-name--defaults): Rename from read-file-name-defaults.
28453 (read-file-name-default): Rename from read-file-name.
28454 (read-file-name): Call read-file-name-function.
28455
28456 2011-03-21 Glenn Morris <rgm@gnu.org>
28457
28458 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
28459 Doc fixes.
28460
28461 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
28462
28463 * cus-theme.el: Add missing provide statement.
28464 (customize-create-theme): Extract theme value correctly.
28465 (custom-theme-visit-theme): Autoload.
28466 (customize-create-theme): Prompt before inserting default faces.
28467
28468 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
28469
28470 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
28471 units and musical notes.
28472
28473 2011-03-20 Leo Liu <sdl.web@gmail.com>
28474
28475 * ido.el (ido-read-internal): Use completing-read-default.
28476 (ido-completing-read): Fix compatibility with completing-read.
28477
28478 2011-03-20 Christian Ohler <ohler@gnu.org>
28479
28480 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
28481 (ert-delete-all-tests): Use `called-interactively-p' rather than
28482 `interactive-p'.
28483 (ert--make-xrefs-region): Respect END.
28484
28485 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
28486
28487 * dired-aux.el (dired-create-directory): Signal an error if the
28488 directory already exists (Bug#8246).
28489
28490 * facemenu.el (list-colors-display): Call list-faces-display
28491 inside with-help-window.
28492 (list-colors-print): Use display property to align the final
28493 column, instead of checking window-width.
28494
28495 2011-03-19 Eli Zaretskii <eliz@gnu.org>
28496
28497 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
28498 windows-nt systems.
28499 (emerge-protect-metachars): Quote correctly for ms-dos and
28500 windows-nt systems.
28501
28502 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
28503
28504 * info.el (info-initialize): Replace all uses of `:' with
28505 path-separator for compatibility with non-Unix systems.
28506 Cache quoting of path-separator. (Bug#8258)
28507
28508 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
28509
28510 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
28511 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
28512 (mouse-avoidance-mode): Fix typos in docstrings.
28513
28514 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
28515
28516 * startup.el (package-subdirectory-regexp): Move from package.el.
28517 Omit \\` and \\', and let callers add them.
28518
28519 * emacs-lisp/package.el (package-strip-version)
28520 (package-load-all-descriptors): Add \\` and \\' to
28521 package-subdirectory-regexp before using it.
28522 (package-untar-buffer): New arg DIR; ensure that file untars only
28523 into this expected directory. Remove superfluous delete-region.
28524 (package-unpack): Caller changed.
28525 (package-tar-file-info): Use package-subdirectory-regexp.
28526
28527 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
28528
28529 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
28530 diff-mode-shared-map (bug#8284).
28531 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
28532
28533 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
28534
28535 * calendar/time-date.el (format-seconds): Use assoc instead of
28536 assoc-string, since assoc-string doesn't exist in XEmacs.
28537
28538 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
28539
28540 * custom.el (custom-known-themes): Reflow docstring.
28541 (custom-theme-load-path): Fix typo in docstring.
28542 (load-theme): Fix typo in error message.
28543 (custom-available-themes, custom-variable-theme-value):
28544 Use `let', not `let*'.
28545
28546 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
28547
28548 * calc/README: Mention inclusion of musical notes.
28549
28550 * calc/calc-units.el (calc-lu-quant): Rename from
28551 `calc-logunits-quantity'.
28552 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
28553 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
28554 (calc-db): Rename from `calc-dblevel'.
28555 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
28556 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
28557 (calc-np): Rename from `calc-nplevel'.
28558 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
28559 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
28560 (calc-lu-plus): Rename from `calc-logunits-add'.
28561 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
28562 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
28563 (calc-lu-minus): Rename from `calc-logunits-sub'.
28564 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
28565 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
28566 (calc-lu-times): Rename from `calc-logunits-mul'.
28567 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
28568 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
28569 (calc-lu-divide): Rename from `calc-logunits-div'.
28570 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
28571 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
28572
28573 * calc/calc-ext.el (calc-init-extensions): Update the names of the
28574 functions being autoloaded.
28575
28576 * calc/calc.el (calc-lu-power-reference): Rename from
28577 `calc-logunits-power-reference'.
28578 (calc-lu-field-reference): Rename from
28579 `calc-logunits-field-reference'.
28580
28581 * calc/calc-help.el (calc-l-prefix-help):
28582 Mention musical note functions.
28583
28584 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
28585
28586 * minibuffer.el (completion-all-sorted-completions):
28587 Use :completion-cycle-penalty text property if present.
28588
28589 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
28590
28591 * allout.el (allout-yank-processing): Adjust for new rebulleting
28592 regime so bullet being yanked is used without prompting the user
28593 for a choice.
28594
28595 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
28596
28597 * startup.el (command-line): Warn the user that _emacs is deprecated.
28598
28599 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
28600
28601 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
28602 (delphi-verbose, delphi-comment-face, delphi-string-face)
28603 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
28604 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
28605 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
28606 (delphi-new-comment-line, delphi-font-lock-defaults)
28607 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
28608 Fix typos in docstrings.
28609
28610 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
28611
28612 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
28613 Invert the roles of character and string values for INSTEAD, so a
28614 string is used for the more common case of a defaulting prompt.
28615
28616 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
28617
28618 * progmodes/ruby-mode.el (ruby-backward-sexp):
28619 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
28620 * play/gamegrid.el (gamegrid-make-face):
28621 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
28622 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
28623 * notifications.el (notifications-notify):
28624 * net/xesam.el (xesam-search-engines):
28625 * net/quickurl.el (quickurl-list-insert):
28626 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
28627
28628 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
28629
28630 * startup.el (command-line): Update package subdirectory regexp.
28631
28632 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
28633
28634 * allout.el (allout-abbreviate-flattened-numbering)
28635 (allout-mode-deactivate-hook): Fix up obsolescence "date".
28636
28637 * subr.el (read-char-choice): Only show the cursor after the prompt,
28638 not after the answer.
28639
28640 2011-03-15 Kevin Ryde <user42@zip.com.au>
28641
28642 * help-fns.el (variable-at-point): Skip leading quotes, if any
28643 (bug#8253).
28644
28645 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
28646
28647 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
28648 warning message.
28649
28650 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
28651
28652 * shell.el (shell): When called interactively, offer to change the
28653 shell file name on remote hosts.
28654
28655 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
28656
28657 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
28658 integration for LDAP parameters. The host, base, user or binddn,
28659 and secret tokens can be specified in a netrc file, for instance.
28660 This is optional because an `auth-source' parameter must be
28661 specified in the search attributes.
28662
28663 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
28664
28665 * help.el (describe-mode): Link to the mode's definition (bug#8185).
28666
28667 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
28668
28669 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
28670 into declaration. Remove redundant and harmful binding.
28671
28672 2011-03-12 Eli Zaretskii <eliz@gnu.org>
28673
28674 * files.el (file-ownership-preserved-p): Pass `integer' as an
28675 explicit 2nd argument to `file-attributes'. If the file's owner
28676 is the Administrators group on Windows, and the current user is
28677 Administrator, consider that a match.
28678
28679 * server.el (server-ensure-safe-dir): Consider server directory
28680 safe on MS-Windows if its owner is the Administrators group while
28681 the current Emacs user is Administrator. Use `=' to compare
28682 numerical UIDs, since they could be integers or floats.
28683
28684 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
28685
28686 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
28687
28688 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
28689
28690 Sync with Tramp 2.2.1.
28691
28692 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
28693
28694 * net/trampver.el: Update release number.
28695
28696 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
28697
28698 * progmodes/compile.el (compilation--previous-directory): Fix up
28699 various nil/dead-marker mismatches (bug#8014).
28700 (compilation-directory-properties, compilation-error-properties):
28701 Don't call it at a position past the one we're about to change.
28702
28703 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
28704 Disable obsolescence warnings in the file that declares it.
28705
28706 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
28707
28708 * allout-widgets.el (allout-widgets-tally):
28709 Initialize allout-widgets-tally as a hash table rather than nil to
28710 prevent mode-line redisplay warnings. Also, clarify the module
28711 description and fix a comment typo.
28712
28713 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
28714
28715 * help-fns.el (describe-variable): Don't complete keywords.
28716 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
28717
28718 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
28719
28720 * emacs-lisp/package.el (package-version-join): Impose a standard
28721 string representation for pre/alpha/beta version lists.
28722 (package-unpack-single): Standardize the directory name by passing
28723 it through package-version-join.
28724 (package-strip-rcs-id): Accept any version string that does not
28725 signal an error in version-to-list.
28726
28727 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
28728
28729 * simple.el (delete-trailing-whitespace): Return nil for the
28730 benefit of `write-file-functions'.
28731
28732 2011-03-10 Glenn Morris <rgm@gnu.org>
28733
28734 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
28735
28736 * vc/vc-git.el (vc-git-program): New option.
28737 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
28738 (vc-git--call): Use it.
28739
28740 * eshell/esh-util.el (eshell-condition-case): Doc fix.
28741
28742 * cus-edit.el (Custom-newline): If no button at point, look
28743 for a subgroup button at start-of-line. (Bug#2298)
28744
28745 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
28746
28747 2011-03-10 Julien Danjou <julien@danjou.info>
28748
28749 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
28750 `cursor-type' is nil.
28751
28752 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
28753
28754 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
28755
28756 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
28757
28758 * allout.el: Change so yank of distinctive-bullet items
28759 preserves the existing header prefix, rebulleting it if necessary,
28760 rather than replacing it. This is necessary for proper operation
28761 of cooperative addons like allout-widgets.
28762 (allout-make-topic-prefix, allout-rebullet-heading):
28763 Change SOLICIT arg to INSTEAD, and interpret additionally a string
28764 value as alternate bullet to be used, instead of prompting the user
28765 for a bullet character.
28766
28767 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
28768
28769 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
28770 Do not use `tramp-file-name-port', because this returns also
28771 `tramp-default-port'.
28772
28773 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
28774
28775 * net/rcirc.el (rcirc-handler-001): Remove useless
28776 with-rcirc-process-buffer.
28777 (rcirc-check-auth-status): Swap arguments to string-match.
28778
28779 2011-03-09 Glenn Morris <rgm@gnu.org>
28780
28781 * shell.el (shell-mode):
28782 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
28783
28784 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
28785 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
28786
28787 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
28788
28789 * emacs-lisp/package.el (package-refresh-contents)
28790 (package-menu-execute): Use condition-case-no-debug.
28791
28792 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
28793
28794 * simple.el (shell-command-to-string): Use `process-file'.
28795
28796 * emacs-lisp/package.el (package-tar-file-info): Handle also
28797 remote files.
28798
28799 * emacs-lisp/package-x.el (package-upload-buffer-internal):
28800 Use `equal' for upload base check.
28801
28802 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
28803
28804 * textmodes/texinfo.el (texinfo-environments):
28805 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
28806
28807 2011-03-08 Glenn Morris <rgm@gnu.org>
28808
28809 * cus-start.el (cursor-in-non-selected-windows):
28810 Fix :set quoting oddness. (Bug#8192)
28811
28812 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
28813 in some setf expressions. (Bug#2159)
28814
28815 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
28816
28817 * custom.el (custom-available-themes): Return themes in
28818 alphabetical order.
28819
28820 See ChangeLog.15 for earlier changes.
28821
28822 ;; Local Variables:
28823 ;; coding: utf-8
28824 ;; End:
28825
28826 Copyright (C) 2011-2013 Free Software Foundation, Inc.
28827
28828 This file is part of GNU Emacs.
28829
28830 GNU Emacs is free software: you can redistribute it and/or modify
28831 it under the terms of the GNU General Public License as published by
28832 the Free Software Foundation, either version 3 of the License, or
28833 (at your option) any later version.
28834
28835 GNU Emacs is distributed in the hope that it will be useful,
28836 but WITHOUT ANY WARRANTY; without even the implied warranty of
28837 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
28838 GNU General Public License for more details.
28839
28840 You should have received a copy of the GNU General Public License
28841 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.