7bb7c4c3c1ce4994b088d492cee4bdf8d8da2055
[bpt/emacs.git] / lisp / ChangeLog
1 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
4
5 2012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
6
7 * man.el (Man-overstrike-face, Man-underline-face)
8 (Man-reverse-face): Remove variables.
9 (Man-overstrike, Man-underline, Man-reverse): New faces.
10 (Man-fontify-manpage): Use them instead of the variables.
11 (Man-cleanup-manpage): Comment change.
12 (Man-ansi-color-map): New variable.
13 (Man-fontify-manpage): Use it.
14 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
15
16 Implement ANSI SGR parameters 22-27 (bug#12146).
17 * ansi-color.el (ansi-colors): Doc fix.
18 (ansi-color-context, ansi-color-context-region): Doc fix.
19 (ansi-color--find-face): New function.
20 (ansi-color-apply, ansi-color-apply-on-region): Use it.
21 Rename the local variable `face' to `codes' since it is now a list of
22 ansi codes. Doc fix.
23 (ansi-color-get-face): Remove.
24 (ansi-color-parse-sequence): New function, derived from
25 ansi-color-get-face.
26 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
27 codes 22-27.
28
29 2012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
30
31 * subr.el (read-passwd): Allow use from a minibuffer.
32
33 2012-08-14 Eli Zaretskii <eliz@gnu.org>
34
35 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
36 inside comments and strings as identifiers.
37
38 * progmodes/gud.el (gud-tooltip-print-command): Quote the
39 expression to evaluate. This allows to evaluate expressions with
40 embedded whitespace.
41 (gud-tooltip-tips): Add a blank before the newline in the
42 message-box text, for the benefit of message-box emulation on
43 MS-Windows.
44
45 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
46 messages from GDB, pop them up in a tooltip to give feedback to
47 user.
48 (gdb-tooltip-print-1): Quote the expression to evaluate.
49 This allows to evaluate expressions with embedded whitespace.
50 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
51 if the TTY name is nil or empty (which happens when communicating
52 with the inferior via pipes, e.g. on MS-Windows).
53 (gdb-internals): If GDB sends a "&\n" empty debugging message,
54 don't send that to the GUD buffer.
55
56 2012-08-14 Glenn Morris <rgm@gnu.org>
57
58 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
59 Optimize away setq-default with no args, as for setq. (Bug#12195)
60
61 2012-08-14 Chong Yidong <cyd@gnu.org>
62
63 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
64
65 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
66 (Bug#12085).
67
68 2012-08-14 Glenn Morris <rgm@gnu.org>
69
70 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
71
72 2012-08-14 Michael Albinus <michael.albinus@gmx.de>
73
74 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
75 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
76 Use cached shell name.
77
78 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
79
80 * progmodes/python.el (python-shell-send-string):
81 (python-shell-send-setup-code): Do not use `format' with `message'.
82
83 2012-08-14 Dmitry Gutov <dgutov@yandex.ru>
84
85 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
86 (ruby-percent-literal-beg-re): New constant.
87 (ruby-syntax-general-delimiters-goto-beg): Rename to
88 `ruby-syntax-enclosing-percent-literal', improve literal type check.
89 (ruby-syntax-propertize-general-delimiters): Rename to
90 `ruby-syntax-propertize-percent-literal', it's a shorter and more
91 popular term. Adjust comments everywhere.
92 (ruby-syntax-propertize-percent-literal): Only propertize when not
93 inside a simple string or comment. When the literal is unclosed,
94 leave the text after it unpropertized.
95 (ruby-syntax-methods-before-regexp): New constant.
96 (ruby-syntax-propertize-function): Use it to recognize regexps.
97 Don't look at the text after regexp, just use the whitelist.
98
99 2012-08-14 Andreas Schwab <schwab@linux-m68k.org>
100
101 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
102 non-nil always load the compiled file if it exists. (Bug#12197)
103
104 2012-08-14 Chong Yidong <cyd@gnu.org>
105
106 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
107 (hi-lock-set-pattern): When deciding whether to use font lock or
108 overlays, look at font-lock-mode instead of font-lock-fontified
109 (Bug#12168).
110 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
111 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
112
113 2012-08-14 Daiki Ueno <ueno@unixuser.org>
114
115 * subr.el (internal--after-with-selected-window): Fix typo
116 (Bug#12193).
117
118 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
119
120 Use `completion-table-dynamic' for completion functions.
121 * progmodes/python.el
122 (python-shell-completion--do-completion-at-point)
123 (python-shell-completion--get-completions):
124 Remove functions.
125 (python-shell-completion-complete-at-point): New function.
126 (python-completion-complete-at-point): Use it.
127
128 2012-08-13 Jambunathan K <kjambunathan@gmail.com>
129
130 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
131 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
132
133 2012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
134
135 * subr.el (function-get): Refine `autoload' arg so it can also
136 autoload functions for gv.el (bug#12191).
137 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
138 autoloads macros.
139
140 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
141 Prefer pcase-let over destructuring-bind.
142 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
143 Also, remove whitespace as we go, rather than after accumulating the
144 various places.
145
146 * subr.el (internal--before-with-selected-window)
147 (internal--after-with-selected-window): Fix typo seleted->selected.
148 (with-selected-window): Adjust callers.
149 Reported by Dmitry Gutov <dgutov@yandex.ru>.
150
151 2012-08-13 Bastien Guerry <bzg@gnu.org>
152
153 * window.el (special-display-popup-frame): Small docstring
154 enhancement. (Bug#12172)
155
156 2012-08-13 Andreas Schwab <schwab@linux-m68k.org>
157
158 * tar-mode.el (tar-header-data-end): Only ignore size for files of
159 type 1-6.
160 (tar-header-block-summarize, tar-get-descriptor): Handle pax
161 extended headers.
162
163 * files.el (hack-local-variables-filter): Remove useless eval.
164
165 2012-08-13 Martin Rudalics <rudalics@gmx.at>
166
167 * subr.el (with-selected-window): Fix last change.
168
169 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
170
171 * subr.el (internal--before-with-seleted-window)
172 (internal--after-with-seleted-window): New functions.
173 (with-selected-window): Use them, to replace dependency on
174 tty-top-frame.
175
176 2012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
177
178 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
179 binding for `newline'.
180 (ruby-move-to-block): When moving backward, stop at block opening,
181 not indentation.
182 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
183 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
184 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
185 `ruby-toggle-block'.
186
187 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
188
189 * ibuffer.el (ibuffer-do-toggle-read-only):
190 * dired.el (dired-toggle-read-only):
191 * buff-menu.el (Buffer-menu-toggle-read-only):
192 * bindings.el (mode-line-toggle-read-only):
193 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
194
195 2012-08-12 Andreas Schwab <schwab@linux-m68k.org>
196
197 * descr-text.el (describe-char): Put the overlays over the
198 "displayed as" character.
199
200 2012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
201
202 * calc/calc-units.el (math-default-units-table): Give an
203 initial value.
204 (math-put-default-units): Add options to put composite units and
205 unit systems in the default units table.
206 (calc-convert-units): Send composite units to
207 `math-put-default-units' when appropriate.
208
209 2012-08-11 Glenn Morris <rgm@gnu.org>
210
211 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
212
213 * tutorial.el (help-with-tutorial):
214 * emacs-lisp/copyright.el (copyright-update-directory):
215 * emacs-lisp/autoload.el (autoload-find-generated-file)
216 (autoload-find-file): Disable local eval: (for insurance).
217
218 * files.el (hack-local-variables-filter): If an eval: form is not
219 known to be safe, and enable-local-variables is :safe, then ignore
220 the form totally, as is done for non-eval forms. (Bug#12155)
221
222 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
223
224 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
225 (rx-form): Simplify.
226
227 2012-08-09 Dmitry Gutov <dgutov@yandex.ru>
228
229 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
230 ?, _, and : are symbol constituents, ! is not (but kinda should be).
231 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
232 (ruby-syntax-propertize-function): Adjust for changes in
233 `ruby-syntax-propertize-heredoc'.
234
235 2012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
236
237 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
238 binding (use `M-;' instead).
239 (ruby-singleton-class-p): New function.
240 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
241
242 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
243
244 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
245
246 2012-08-10 Chong Yidong <cyd@gnu.org>
247
248 * progmodes/python.el (python-shell-get-process-name): Don't mess
249 with same-window-buffer-names.
250
251 * eshell/eshell.el (eshell-add-to-window-buffer-names)
252 (eshell-remove-from-window-buffer-names): Make obsolete.
253 (eshell-buffer-name, eshell-unload-hook): Don't use them.
254 (eshell): Just use pop-to-buffer-same-window instead.
255
256 2012-08-10 Chong Yidong <cyd@gnu.org>
257
258 * bindings.el: Bind M-= back to count-words-region.
259
260 * simple.el (count-words-region): Accept a prefix arg for acting
261 on the entire buffer.
262 (count-words--buffer-message): New helper function.
263
264 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
265
266 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
267 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
268 (event-start, event-end): Use posn-at-point to return a more
269 informative posn.
270 (posnp): New function.
271 * mouse.el (popup-menu-normalize-position): Use it.
272
273 2012-08-10 Masatake YAMATO <yamato@redhat.com>
274
275 * mouse.el (popup-menu-normalize-position): New function.
276 (popup-menu): Use `popup-menu-normalize-position' to normalize
277 the form for POSITION argument.
278
279 * term/x-win.el (x-menu-bar-open):
280 Use the value returend from (posn-at-point) as position
281 passed to `popup-menu'.
282
283 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
284
285 * calc/calccomp.el (math-compose-expr): Add extra argument
286 indicating that parentheses should be put around products in
287 denominators. Give multiplication precedence over division during
288 composition.
289
290 2012-08-09 Chong Yidong <cyd@gnu.org>
291
292 * man.el (Man-switches, Man-sed-command, Man-awk-command)
293 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
294 (Man-untabify-command, manual-program): Convert to defcustom
295 (Bug#10429).
296
297 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
298
299 * descr-text.el (describe-char): Don't insert extra newlines
300 (Bug#10127).
301
302 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
303 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
304
305 * align.el (align-region): Delete temporary markers (Bug#10047).
306 Plus some code cleanups.
307
308 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
309
310 * progmodes/python.el (python-pdbtrack-tracked-buffer)
311 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
312 (python-shell-internal-last-output): Use make-local-variable
313 instead of make-variable-buffer-local.
314
315 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
316
317 * progmodes/python.el: Enhancements to forward-sexp.
318 (python-nav-forward-sexp): Rename from
319 python-nav-forward-sexp-function.
320 (python-nav--forward-sexp, python-nav--backward-sexp):
321 New functions.
322
323 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
324
325 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
326 modes and simplification modes.
327
328 2012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
329
330 * delsel.el (delete-selection-pre-hook): Don't propagate the
331 file-supersession signals (bug#12161).
332
333 2012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
334
335 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
336 (cl-map-extents): Add compatibility aliases (bug#12135).
337
338 2012-08-08 Michael Albinus <michael.albinus@gmx.de>
339
340 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
341 tests by `ignore-error'.
342 (tramp-find-shell): Open also a new shell, when cache is already
343 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
344
345 2012-08-08 Juri Linkov <juri@jurta.org>
346
347 * bookmark.el: Add `defaults' property to the bookmark record.
348 (bookmark-current-buffer): Doc fix.
349 (bookmark-make-record): Add `defaults' property with default values
350 to the bookmark record.
351 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
352 with `bookmark-insert-current-bookmark'.
353 (bookmark-set): Get `defaults' property from the bookmark record
354 and use it in `read-from-minibuffer'.
355 (bookmark-insert-current-bookmark): Remove function.
356
357 * info.el (Info-bookmark-make-record): Add `defaults' property
358 with values of canonical Info node name, the current Info file
359 name and the current Info node name. (Bug#12107)
360
361 2012-08-08 Juri Linkov <juri@jurta.org>
362
363 * files.el (basic-save-buffer): Use `buffer-name' as the default
364 of `read-file-name' when buffer is not visiting a file (bug#12128).
365
366 2012-08-08 Juri Linkov <juri@jurta.org>
367
368 * info.el (Info-isearch-search): Doc fix.
369 (Info-search): Change search-failed message from "initial node" to
370 "end of node" (bug#12078).
371 (Info-isearch-search): Change `isearch-string-state' to
372 `isearch--state-string'.
373
374 2012-08-08 Glenn Morris <rgm@gnu.org>
375
376 * language/persian.el: Remove file.
377 * language/misc-lang.el: Move unique part of persian.el here.
378 * loadup.el: Remove language/persian.
379
380 2012-08-08 Óscar Fuentes <ofv@wanadoo.es>
381
382 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
383
384 2012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
385
386 * progmodes/python.el Fixed defsubst warning.
387 (python-syntax-context) Rename from python-info-ppss-context.
388 (python-syntax-context-type): Rename from
389 python-info-ppss-context-type.
390 (python-syntax-comment-or-string-p): Rename from
391 python-info-ppss-comment-or-string-p.
392
393 2012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
394
395 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
396
397 2012-08-07 Andreas Schwab <schwab@linux-m68k.org>
398
399 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
400 a defcustom that is quoted with backquote.
401
402 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
403 Fix handling of interactive spec when the body uses return.
404 (math-do-arg-check, math-define-function-body): Use backquote forms.
405 * calc/calc-ext.el (math-defcache): Likewise.
406 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
407 * allout.el (allout-new-exposure): Likewise.
408 * calc/calcalg2.el (math-tracing-integral): Likewise.
409 * info.el (Info-last-menu-item): Likewise.
410 * emulation/vip.el (vip-loop): Likewise.
411 * textmodes/artist.el (artist-funcall): Likewise.
412 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
413 Construct menu-item directly.
414
415 * progmodes/autoconf.el (font-lock-syntactic-keywords):
416 Don't declare.
417
418 2012-08-07 Chong Yidong <cyd@gnu.org>
419
420 * simple.el (deactivate-mark): Preserve text properties when
421 saving the primary selection (Bug#8384).
422
423 2012-08-07 Kevin Ryde <user42@zip.com.au>
424
425 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
426 (woman-parse-numeric-value): On a bad .IP line, issue a warning
427 and continue processing (Bug#12110).
428
429 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
430
431 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
432 syntax-propertize-function (bug#10095).
433
434 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
435
436 * help-fns.el (help-fns--key-bindings, help-fns--signature)
437 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
438 describe-function-1.
439 (describe-function-1): Use them. Move compiler macro after sig.
440 (help-fns--compiler-macro): Use function-get. Assume we're already in
441 standard-output. Adjust layout to new call order.
442
443 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
444 re-binding a symbol that has a symbol-macro (bug#12119).
445
446 2012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
447
448 * language/persian.el: New file. (Bug#11812)
449 * loadup.el: Add language/persian.el.
450
451 2012-08-06 Chong Yidong <cyd@gnu.org>
452
453 * window.el (window--maybe-raise-frame): New function.
454 (window--display-buffer): Split off from here.
455 (display-buffer-reuse-window, display-buffer-pop-up-frame)
456 (display-buffer-pop-up-window, display-buffer-use-some-window):
457 Obey an inhibit-switch-frame action alist entry.
458 (display-buffer): Update doc.
459
460 * replace.el (occur-after-change-function): Avoid losing focus by
461 using the inhibit-switch-frame display parameter (Bug#12139).
462
463 2012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
464
465 Make internal shell process buffer names start with space.
466 * progmodes/python.el (python-shell-make-comint): Add optional
467 argument INTERNAL.
468 (run-python-internal): Use it.
469 (python-shell-internal-get-or-create-process): Check for new
470 internal buffer names.
471
472 2012-08-06 Glenn Morris <rgm@gnu.org>
473
474 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
475 Do less getting and setting of environment variables.
476
477 2012-08-05 Chong Yidong <cyd@gnu.org>
478
479 * proced.el (proced): Add substitution string to docstring to
480 trigger autoloading of the proced library on C-h f (Bug#1768).
481
482 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
483 Don't show defvars which have no second argument (Bug#8638).
484
485 * imenu.el (imenu-generic-expression): Move documentation here
486 from imenu--generic-function.
487 (imenu--generic-function): Refer to imenu-generic-expression.
488
489 2012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
490
491 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
492 indentation declaration.
493 (viper-loop): Add indentation declaration (Bug#7025).
494
495 2012-08-05 Chong Yidong <cyd@gnu.org>
496
497 * help-fns.el (describe-variable): Add hyperlink for
498 directory-local variables files. Improve buffer-local and
499 permanent-local reporting; suggested by MON KEY (Bug#6644).
500
501 * help-mode.el (help-dir-local-var-def): New button type.
502
503 * files.el (kill-buffer-hook): Provide a defvar.
504
505 2012-08-05 Glenn Morris <rgm@gnu.org>
506
507 * eshell/esh-ext.el (eshell/addpath):
508 Also update eshell-path-env. (Bug#12013)
509
510 2012-08-05 Chong Yidong <cyd@gnu.org>
511
512 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
513
514 * fringe.el (fringe-styles): Add docstring.
515 (fringe--check-mode): New function.
516 (set-fringe-mode, set-fringe-style): Use it.
517 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
518
519 * files.el (set-auto-mode): Fix invalid setq call.
520
521 2012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
522
523 * isearch.el: Misc simplification; use defstruct.
524 (isearch-mode-map): Dense maps now work like sparse ones.
525 (isearch--state): New defstruct.
526 (isearch-string-state, isearch-message-state, isearch-point-state)
527 (isearch-success-state, isearch-forward-state)
528 (isearch-other-end-state, isearch-word-state, isearch-error-state)
529 (isearch-wrapped-state, isearch-barrier-state)
530 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
531 replaced by defstruct's accessors.
532 (isearch--set-state): Rename from isearch-top-state and change
533 calling convention.
534 (isearch-push-state): Use new isearch--get-state.
535 (isearch-toggle-word): Disable regexp when enabling word.
536 (isearch-message-prefix): Remove unused arg _c-q-hack.
537 (isearch-message-suffix): Remove unused arg _ellipsis.
538
539 2012-08-04 Andreas Schwab <schwab@linux-m68k.org>
540
541 * simple.el (list-processes--refresh): For a server use :host or
542 :local as the address.
543 (list-processes): Doc fix.
544
545 2012-08-04 Michal Nazarewicz <mina86@mina86.com> (tiny change)
546
547 * lisp/mpc.el: Support password in host argument.
548 (mpc--proc-connect): Parse and use new password element.
549 Set mpc-proc variable instead of returning process.
550 (mpc-proc): Adjust accordingly.
551
552 2012-08-03 Eli Zaretskii <eliz@gnu.org>
553
554 * whitespace.el (whitespace-display-mappings): Use Unicode
555 codepoints, instead of emacs-mule codepoints. See
556 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
557 for the details.
558
559 * files.el (file-truename): Don't skip symlink-chasing part on
560 windows-nt. Incorporate the resolution of 8+3 short aliases on
561 Windows into the loop that recursively chases symlinks.
562 Compare directory and its parent case-insensitively on MS-Windows and
563 MS-DOS.
564
565 2012-08-03 Chong Yidong <cyd@gnu.org>
566
567 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
568
569 * sort.el (sort-regexp-fields): Doc fix.
570
571 2012-08-03 Tassilo Horn <tsdh@gnu.org>
572
573 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
574 labels regex position point at the expected place.
575
576 2012-08-03 MON KEY <monkey@sandpframing.com>
577
578 * net/imap.el (imap-interactive-login, imap-authenticate)
579 (imap-mailbox-lsub, imap-mailbox-list)
580 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
581 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
582 (imap-parse-response): Doc fix.
583
584 2012-08-03 João Távora <joaotavora@gmail.com>
585
586 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
587 if sexp scanning does not move point (Bug#5734).
588
589 2012-08-02 Tassilo Horn <tsdh@gnu.org>
590
591 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
592 Add listings, minted, and ctable packages.
593 (reftex-label-alist-builtin): Move listings, minted, and ctable
594 entries before LaTeX.
595 (reftex-label-alist): Docfix.
596
597 2012-08-02 Bastien Guerry <bzg@gnu.org>
598
599 * replace.el (occur): Fix docstring (bug#12122).
600
601 2012-08-02 Glenn Morris <rgm@gnu.org>
602
603 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
604
605 2012-08-02 Paul Eggert <eggert@cs.ucla.edu>
606
607 Obsolete alias inactivate-current-input-method-function (Bug#10150).
608 * international/mule-cmds.el: Create
609 inactivate-current-input-method-function as an obsolete alias for
610 deactivate-current-input-method-function. See Katsumi Yamaoka in
611 <http://bugs.gnu.org/10150#46>.
612
613 2012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
614
615 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
616 of nested `if's.
617
618 2012-08-01 Glenn Morris <rgm@gnu.org>
619
620 * progmodes/autoconf.el (autoconf-definition-regexp):
621 Add AH_TEMPLATE, adjust submatch numbering.
622 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
623 (autoconf-current-defun-function): Update for above change.
624 (autoconf-current-defun-function): First skip to end of current word.
625
626 2012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
627
628 * calendar/cal-html.el (cal-html-insert-agenda-days):
629 Fix typo. (Bug#12018)
630
631 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
632
633 Shell processes: enhancements to startup and CEDET compatibility.
634 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
635 (python-shell-make-comint): accept-process-output at startup.
636 (run-python-internal): Set inferior-python-mode-hook to nil.
637 (python-shell-internal-get-or-create-process): call sit-for.
638 (python-preoutput-result): Add obsolete alias.
639 (python-shell-internal-send-string): Use it.
640 (python-shell-send-setup-code): Remove call to
641 accept-process-output.
642
643 2012-07-31 Andreas Schwab <schwab@linux-m68k.org>
644
645 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
646 (Bug#12108)
647
648 2012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
649
650 * calc-mode.el (calc-basic-simplification-mode): Rename from
651 `calc-limited-simplification-mode'.
652 (calc-alg-simplification-mode): New function.
653 (calc-set-simplify-mode): Adjust message.
654
655 * calc.el (calc-set-mode-line): Adjust mode line display for
656 basic simplification mode.
657
658 * calc-help.el (calc-m-prefix-help): Update help message.
659
660 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
661 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
662
663 2012-07-31 Bastien Guerry <bzg@gnu.org>
664
665 * man.el (man): Fix comment. (bug#12101)
666
667 2012-07-31 Martin Rudalics <rudalics@gmx.at>
668
669 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
670 Don't return a non-nil value when no suitable buffer was found.
671
672 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
673
674 * progmodes/python.el (run-python-internal): Disable font lock for
675 internal shells.
676
677 2012-07-30 Stefan Merten <smerten@oekonux.de>
678
679 * rst.el: Silence `checkdoc-ispell'.
680 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
681 (rst-official-version, rst-official-cvs-rev)
682 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
683 (rst-mode-map): New key binding.
684
685 2012-07-30 Paul Eggert <eggert@cs.ucla.edu>
686
687 Update .PHONY listings in makefiles.
688 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
689 autoloads, update-subdirs, updates, bzr-update, update-authors,
690 compile-onefile, compile-calc, backup-compiled-files,
691 compile-after-backup, compile-one-process, mh-autoloads,
692 bootstrap-clean, distclean, maintainer-clean.
693
694 2012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
695
696 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
697 (calc-set-mode-line): Don't display "AlgSimp ".
698
699 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
700 (calc-lim-simplify-mode): New function.
701 (calc-set-simplify-mode): Default to 'alg.
702 (calc-default-simplify-mode): Make algebraic simplifications
703 the default.
704
705 * calc/calc-ext.el (calc-init-extensions): Remove binding for
706 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
707
708 * calc/calc-help.el (calc-m-prefix-help): Change messages to
709 indicate new simplification modes.
710
711 * calc/README: Mention new default simplification mode.
712
713 * calc/calc.el (math-normalize-error): New variable.
714 (math-normalize): Set `math-normalize-error' to t
715 when there's an error.
716
717 * calc/calc-alg.el (math-simplify): Don't simplify when
718 `math-normalize' returns an error.
719
720 2012-07-29 Eli Zaretskii <eliz@gnu.org>
721
722 * international/mule-cmds.el (set-locale-environment): Revert last
723 change, since display-graphic-p returns nil when this function is
724 called during startup. Instead...
725
726 * term/w32console.el (terminal-init-w32console): ...setup the
727 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
728
729 2012-07-29 Juri Linkov <juri@jurta.org>
730
731 * simple.el (goto-line): Don't display default line number in the
732 prompt because it should be displayed by `read-number' (bug#9952).
733 Add the current line number to the defaults of `goto-line' to
734 allow its easier modification by users with `M-n' (bug#9201).
735
736 * subr.el (read-number): Support multiple default values like in
737 other minibuffer reading functions. Replace `read' with
738 `string-to-number' for consistency with `number-to-string'.
739
740 2012-07-29 Paul Eggert <eggert@cs.ucla.edu>
741
742 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
743 * emulation/viper-init.el (viper-deactivate-input-method-action):
744 Rename from viper-inactivate-input-method-action.
745 (viper-deactivate-input-method):
746 Rename from viper-inactivate-input-method.
747 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
748 * international/mule-cmds.el (deactivate-input-method):
749 Rename from inactivate-input-method.
750 Also run input-method-deactivate-hook.
751 (deactivate-current-input-method-function):
752 Rename from inactivate-current-input-method-function.
753 (input-method-deactivate-hook): New hook.
754 (input-method-inactivate-hook): Mark obsolete.
755 (inactivate-input-method): Mark obsolete.
756
757 * international/quail.el (quail-activate):
758 Also run quail-deactivate-hook.
759 (quail-deactivate): Rename from quail-inactivate.
760 * international/robin.el (robin-activate):
761 Also run robin-deactivate-hook.
762 (robin-deactivate): Rename from robin-inactivate.
763
764 2012-07-29 Chong Yidong <cyd@gnu.org>
765
766 * simple.el (indicate-copied-region): New function.
767 (kill-ring-save): Split off from here.
768
769 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
770 (kill-rectangle): Set deactivate-mark to t on read-only error.
771
772 * register.el (copy-to-register, copy-rectangle-to-register):
773 Deactivate the mark, and use indicate-copied-region (Bug#10056).
774 (append-to-register, prepend-to-register):
775 Call 2012-07-29 Juri Linkov <juri@jurta.org>
776
777 * simple.el (async-shell-command-buffer): New defcustom.
778 (shell-command): Use it. (Bug#4719)
779
780 2012-07-28 Eli Zaretskii <eliz@gnu.org>
781
782 * international/mule-cmds.el (set-locale-environment): In a
783 console session on MS-Windows, set up keyboard and terminal
784 encoding from the OEM codepage, not the ANSI codepage.
785 (Bug#12055)
786
787 2012-07-28 Chong Yidong <cyd@gnu.org>
788
789 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
790 gdb-get-location.
791
792 2012-07-28 Leo Liu <sdl.web@gmail.com>
793
794 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
795 the alist (bug#12029).
796
797 2012-07-28 Eli Zaretskii <eliz@gnu.org>
798
799 * makefile.w32-in (custom-deps, finder-data, updates, compile)
800 (compile-always, compile-first)
801 ($(lisp)/calendar/cal-loaddefs.el)
802 ($(lisp)/calendar/diary-loaddefs.el)
803 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
804 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
805 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
806 instead of on update-subdirs.
807 (bootstrap-clean): Delete $(lisp)/subdirs.el.
808
809 2012-07-28 Chong Yidong <cyd@gnu.org>
810
811 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
812 directory if vc-deduce-backend returns nil (Bug#7350).
813
814 * simple.el (delete-trailing-lines): New option.
815 (delete-trailing-whitespace): Obey it (Bug#11879).
816
817 2012-07-28 David Engster <deng@randomsample.de>
818
819 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
820 Explanation of new 'symbol-qnames feature in doc-strings.
821 (xml-maybe-do-ns): Return expanded names as plain symbols if
822 'symbol-qnames was provided in XML-NS argument (Bug#11916).
823 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
824
825 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
826
827 Consistent completion in inferior python with emacs -nw.
828 * progmodes/python.el (inferior-python-mode): replace "<tab>"
829 binding in inferior-python-mode-map with "\t".
830 (python-shell-completion-complete-at-point)
831 (python-completion-complete-at-point): Remove interactive spec.
832
833 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
834
835 * calc/calccomp.el (math-compose-expr): Undo previous change.
836
837 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
838
839 * progmodes/python.el (python-mode-map): Add keybinding for
840 run-python.
841 (python-shell-make-comint): Fix pop-to-buffer call.
842 (run-python): Autoload. New arg SHOW.
843 (python-shell-get-or-create-process): Do not pop python process
844 buffer.
845
846 2012-07-27 Michael Albinus <michael.albinus@gmx.de>
847
848 * notifications.el (notifications-on-action-signal)
849 (notifications-on-closed-signal): Use also the bus address for the map.
850 (notifications-notify, notifications-close-notification)
851 (notifications-get-capabilities): Add optional argument BUS.
852
853 2012-07-27 Tassilo Horn <tsdh@gnu.org>
854
855 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
856 Add support for the lstlisting and minted environments, and for the
857 ctable macro.
858 * textmodes/reftex.el (reftex-compile-variables): Also recognize
859 labels written in keyvals syntax.
860
861 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
862
863 * calc/calccomp.el (math-compose-expr): Use parentheses when
864 there is a product in the denominator of a fraction.
865
866 2012-07-26 Eli Zaretskii <eliz@gnu.org>
867
868 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
869 ($(lisp)/calendar/diary-loaddefs.el)
870 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
871 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
872 Fixes failures in parallel bootstrap because subdirs.el is being
873 rewritten while the autoload files are built at the same time,
874 which needs to load subdirs.el.
875
876 2012-07-26 Martin Rudalics <rudalics@gmx.at>
877
878 * mouse.el (popup-menu): Fix doc-string and re-indent code.
879 (mouse-drag-line): Don't exit tracking when a switch-frame or
880 switch-window event occurs (Bug#12006).
881
882 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
883
884 * mouse.el (popup-menu): Fix last change.
885
886 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
887
888 Autoload from Lisp with more care. Follow aliases when looking for
889 function properties.
890 * subr.el (autoloadp): New function.
891 (symbol-file): Use it.
892 (function-get): New function.
893 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
894 autoload-do-load.
895 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
896 (lisp-indent-function):
897 * emacs-lisp/gv.el (gv-get):
898 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
899 * emacs-lisp/byte-opt.el (byte-optimize-form):
900 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
901 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
902 Use function-get.
903 * emacs-lisp/cl.el: Don't propagate function properties any more.
904
905 * speedbar.el (speedbar-add-localized-speedbar-support):
906 * emacs-lisp/disass.el (disassemble-internal):
907 * desktop.el (desktop-load-file):
908 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
909 (describe-function-1):
910 * emacs-lisp/find-func.el (find-function-noselect):
911 * emacs-lisp/elp.el (elp-instrument-function):
912 * emacs-lisp/advice.el (ad-has-proper-definition):
913 * apropos.el (apropos-safe-documentation, apropos-macrop):
914 * emacs-lisp/debug.el (debug-on-entry):
915 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
916 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
917 * calc/calc.el (name): Use autoloadp & autoload-do-load.
918
919 2012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
920
921 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
922 function, not an obsolete variable (Bug#12046).
923
924 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
925
926 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
927
928 2012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
929
930 * emacs-lisp/pp.el (pp-display-expression): Select old selected
931 window only if it is still live (Bug#12034).
932
933 2012-07-25 Martin Rudalics <rudalics@gmx.at>
934
935 * subr.el (redirect-frame-focus): Add advertised calling
936 convention (Bug#12030).
937
938 2012-07-25 Paul Eggert <eggert@cs.ucla.edu>
939
940 Prefer typical American spelling for "acknowledgment".
941 * vc/add-log.el (change-log-acknowledgment): Rename from
942 change-log-acknowledgement, with an alias for the old name.
943
944 2012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
945
946 * calc-alg.el (math-simplify-divide): Don't cross multiply
947 in an equation when the lhs is a variable.
948
949 2012-07-24 Julien Danjou <julien@danjou.info>
950
951 * net/netrc.el (netrc-find-service-number, netrc-store-data):
952 Remove, unused.
953
954 2012-07-23 Eli Zaretskii <eliz@gnu.org>
955
956 * startup.el (command-line): Don't display an empty user name in
957 the error message about non-existent home directory, when
958 init-file-user was set to an empty string. See
959 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
960 for the details and context.
961
962 2012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
963
964 * ses.el (ses-cell-formula-aset): New macro.
965 (ses-cell-references-aset): New macro.
966 (ses-cell-p): New function.
967 (ses-rename-cell): Do no longer rely on complex operations like
968 ses-cell-set-formula or ses-set-cell to change the cell and handle
969 the undo at the same time, but rather use lower level new macros
970 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
971 the undo directly. Refresh the mode line.
972
973 2012-07-21 Leo Liu <sdl.web@gmail.com>
974
975 * progmodes/cc-cmds.el (c-defun-name):
976 Use match-string-no-properties instead for consistency.
977
978 2012-07-20 Leo Liu <sdl.web@gmail.com>
979
980 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
981 (Bug#7879)
982
983 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
984
985 2012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
986
987 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
988 * progmodes/bug-reference.el, misearch.el: Provide themselves
989 (bug#11915).
990
991 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
992 of narrowed buffer (bug#11966).
993
994 2012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
995
996 * ses.el (ses-rename-cell): Set new name also in reference list of
997 cells of which the renamed cell depends.
998
999 2012-07-20 Masatake YAMATO <yamato@redhat.com>
1000
1001 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
1002 to check whether menu-bar is shown or not. If not shown,
1003 show the menu-bar as a popup menu instead of using tmm.
1004 * mouse.el (popup-menu): Accept `point' as `position' argument.
1005
1006 2012-07-20 Dmitry Gutov <dgutov@yandex.ru>
1007
1008 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
1009 up inside string symbol literal (bug#11923).
1010
1011 2012-07-20 Eli Zaretskii <eliz@gnu.org>
1012
1013 * startup.el (fancy-startup-text): Read the whole tutorial, not
1014 just its first 256 bytes. Prevents gibberish in display of the
1015 tutorial title.
1016
1017 2012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
1018
1019 Drop idle buffer compaction due to an absence of the
1020 proved efficiency.
1021 * compact.el: Remove.
1022
1023 2012-07-19 Sam Steingold <sds@gnu.org>
1024
1025 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
1026 vc-bzr-pull & vc-bzr-merge-branch.
1027 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
1028 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
1029 for consistency with compilation-error-regexp-alist.
1030 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
1031 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
1032 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
1033 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
1034
1035 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
1036
1037 * emacs-lisp/chart.el: Use lexical-binding.
1038 (chart-emacs-storage): Don't hardcode the list of entries.
1039
1040 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
1041
1042 Next round of tweaks caused by Fgarbage_collect changes.
1043 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
1044
1045 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
1046
1047 Compact buffers when idle.
1048 * compact.el: New file.
1049
1050 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
1051
1052 * subr.el (eventp): Presume that if it looks vaguely like an event,
1053 it's an event (bug#10190).
1054
1055 2012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
1056
1057 Enhancements to ppss related code (thanks Stefan).
1058 * progmodes/python.el (python-indent-context)
1059 (python-indent-calculate-indentation, python-indent-dedent-line)
1060 (python-indent-electric-colon, python-nav-forward-block)
1061 (python-mode-abbrev-table)
1062 (python-info-assignment-continuation-line-p): Simplify checks
1063 for ppss context.
1064 (python-info-continuation-line-p): Cleanup.
1065 (python-info-ppss-context): Do not catch 'quote.
1066 (python-info-ppss-context-type)
1067 (python-info-ppss-comment-or-string-p): Simplify.
1068
1069 2012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
1070
1071 * progmodes/python.el: Enhancements to eldoc support.
1072 (python-info-current-symbol): New function.
1073 (python-eldoc-at-point): Use python-info-current-symbol.
1074 (python-info-current-defun): Fix cornercase on first defun scan.
1075 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
1076 and signal error when no inferior python process is available.
1077
1078 2012-07-18 Dmitry Gutov <dgutov@yandex.ru>
1079
1080 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
1081 assume it's always t.
1082 (vc-git-registered): Remove caching, the function is only called
1083 once.
1084 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
1085
1086 2012-07-18 Chong Yidong <cyd@gnu.org>
1087
1088 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
1089
1090 * simple.el (count-words): Report on narrowing (Bug#9959).
1091
1092 * bindings.el: Bind M-= to count-words.
1093
1094 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
1095
1096 2012-07-18 Masatake YAMATO <yamato@redhat.com>
1097
1098 * progmodes/sh-script.el (sh-imenu-generic-expression):
1099 Capture a function with `function' keyword and without parentheses
1100 like "function FOO" (bug#11856).
1101
1102 2012-07-18 Tassilo Horn <tassilo@member.fsf.org>
1103
1104 * window.el (split-window-sensibly): Make WINDOW argument
1105 optional.
1106
1107 2012-07-18 Chong Yidong <cyd@gnu.org>
1108
1109 * subr.el (keyboard-translate): Doc fix (Bug#7261).
1110
1111 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
1112 and make C-x 8 RET exit isearch (Bug#11439).
1113
1114 * international/iso-transl.el: Move isearch-mode-map key
1115 definitions to isearch.el.
1116
1117 2012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
1118
1119 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
1120 (eieio-defclass): Use gv-define-setter when possible.
1121
1122 2012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
1123
1124 Reflect recent changes in Fgarbage_collect.
1125 * emacs-lisp/chart.el (chart-emacs-storage): Change to
1126 reflect new format of data returned by Fgarbage_collect.
1127
1128 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
1129
1130 New utility functions + python-info-ppss-context fix (Bug#11910).
1131 * progmodes/python.el (python-info-beginning-of-block-statement-p)
1132 (python-info-ppss-comment-or-string-p): New functions.
1133 (python-info-ppss-context): Small fix for string check.
1134
1135 2012-07-17 Juri Linkov <juri@jurta.org>
1136
1137 * dired-aux.el (dired-do-async-shell-command): Doc fix.
1138 (dired-do-async-shell-command): Don't add `*' at the end of the
1139 command (Bug#11815).
1140 (dired-do-shell-command): Doc fix.
1141 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
1142 Join the individual commands using either "&" or ";" as the
1143 separator depending on the values of these trailing characters.
1144 At the end re-add the trailing "&". (Bug#10598)
1145
1146 * simple.el (async-shell-command): Sync the interactive spec with
1147 `shell-command'. Doc fix.
1148 (shell-command): Doc fix.
1149
1150 2012-07-17 Juri Linkov <juri@jurta.org>
1151
1152 * descr-text.el (describe-char): Fix format args. (Bug#10129)
1153
1154 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
1155
1156 Final renames and doc fixes for movement commands (bug#11899).
1157 * progmodes/python.el (python-nav-beginning-of-statement):
1158 Rename from python-nav-statement-start.
1159 (python-nav-end-of-statement): Rename from
1160 python-nav-statement-end.
1161 (python-nav-beginning-of-block): Rename from
1162 python-nav-block-start.
1163 (python-nav-end-of-block): Rename from python-nav-block-end.
1164
1165 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
1166
1167 * progmodes/python.el (python-shell-send-string-no-output):
1168 Allow accept-process-output to quit, keeping shell process ready for
1169 future interactions (Bug#11868).
1170
1171 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
1172
1173 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
1174
1175 * emacs-lisp/elint.el (elint-find-args-in-code):
1176 Use help-function-arglist, so as to handle lexical byte-code.
1177
1178 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
1179 change (bug#11826).
1180
1181 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
1182
1183 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
1184 Avoid spuriously marking the buffer as modified because of c-is-sws.
1185
1186 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
1187 as not-a-comment (bug#11946).
1188
1189 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
1190 for uninterned vars.
1191
1192 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
1193 Use read-event since we don't really want to read chars but bytes.
1194
1195 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
1196 $$..$$ but also $..$ using regexps (bug#11953).
1197 Use tex-verbatim for \url and \path.
1198 (tex-font-lock-keywords): Define as defconst like the others.
1199 (tex-common-initialization): Don't use font-lock-syntax-table any more.
1200
1201 2012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
1202
1203 * international/mule-cmds.el (ucs-insert): Make it an obsolete
1204 alias for insert-char.
1205
1206 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
1207
1208 * progmodes/python.el: Simplified imenu implementation.
1209 (python-nav-jump-to-defun): Remove command.
1210 (python-mode-map): Use `imenu' instead.
1211 (python-nav-list-defun-positions-cache)
1212 (python-imenu-include-defun-type, python-imenu-make-tree)
1213 (python-imenu-subtree-root-label, python-imenu-index-alist):
1214 Remove vars.
1215 (python-nav-list-defun-positions, python-nav-read-defun)
1216 (python-imenu-tree-assoc, python-imenu-make-element-tree)
1217 (python-imenu-make-tree, python-imenu-create-index):
1218 Remove functions.
1219 (python-mode): Update to interact with imenu by setting
1220 `imenu-extract-index-name-function' only.
1221
1222 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
1223
1224 * progmodes/python.el: Enhancements to navigation commands.
1225 (python-nav-backward-sentence)
1226 (python-nav-forward-sentence): Remove.
1227 (python-nav-backward-statement, python-nav-forward-statement)
1228 (python-nav-statement-start, python-nav-statement-end)
1229 (python-nav-backward-block, python-nav-forward-block)
1230 (python-nav-block-start, python-nav-block-end)
1231 (python-nav-forward-sexp-function)
1232 (python-info-current-line-comment-p)
1233 (python-info-current-line-empty-p): New functions.
1234 (python-indent-context): Use `python-nav-statement-start'.
1235
1236 2012-07-16 Michael Albinus <michael.albinus@gmx.de>
1237
1238 * eshell/em-ls.el (eshell/ls): Use `apply'.
1239
1240 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
1241 multi-hops, instead of Tramp internals.
1242
1243 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
1244
1245 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
1246 when F1 and F2 are located on different hosts.
1247
1248 2012-07-14 Chong Yidong <cyd@gnu.org>
1249
1250 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
1251 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
1252 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
1253 (xterm-mouse--read-event-sequence-1000)
1254 (xterm-mouse--read-event-sequence-1006): New functions. For old
1255 mouse protocol, handle M-mouse-X events correctly.
1256 (xterm-mouse-event): New arg specifying mouse protocol.
1257 (turn-on-xterm-mouse-tracking-on-terminal)
1258 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
1259 sequence to toggle extended coordinates on newer XTerms.
1260 This appears to be harmless on terminals which do not support this.
1261
1262 2012-07-14 Leo Liu <sdl.web@gmail.com>
1263
1264 Add fringe bitmap indicators for flymake. (Bug#11253)
1265 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
1266 (flymake-make-overlay): New arg BITMAP.
1267 (flymake-error-bitmap, flymake-warning-bitmap)
1268 (flymake-fringe-indicator-position): New user variables.
1269
1270 * fringe.el: New bitmap exclamation-mark.
1271
1272 2012-07-14 Jan Djärv <jan.h.d@swipnet.se>
1273
1274 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
1275 also (Bug#7879).
1276
1277 2012-07-14 Chong Yidong <cyd@gnu.org>
1278
1279 * electric.el (electric-pair-post-self-insert-function): Fix pair
1280 insertion in empty-region case (Bug#11520).
1281
1282 2012-07-14 Chong Yidong <cyd@gnu.org>
1283
1284 * bindings.el: Consolidate ctl-x-r-map bindings.
1285 Bind copy-rectangle-as-kill to C-x r w.
1286
1287 * rect.el, register.el: Move bindings to bindings.el.
1288
1289 2012-07-14 Reuben Thomas <rrt@sc3d.org>
1290
1291 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
1292
1293 2012-07-13 Andreas Schwab <schwab@linux-m68k.org>
1294
1295 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
1296
1297 2012-07-13 Juanma Barranquero <lekktu@gmail.com>
1298
1299 * bindings.el (top): Use `mapc' instead of `mapcar'.
1300
1301 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
1302
1303 2012-07-13 Michael Albinus <michael.albinus@gmx.de>
1304
1305 * progmodes/sql.el (sql-comint): Suppress the check for program on
1306 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
1307 (Bug#11908)
1308
1309 2012-07-13 Chong Yidong <cyd@gnu.org>
1310
1311 * bindings.el: Assign a non-nil permanent-local property to
1312 per-buffer variables which lack a default value (Bug#11930).
1313
1314 * help-fns.el (describe-variable): In the "automatically becomes
1315 local" notice, take note of permanent-local variables.
1316
1317 2012-07-13 Chong Yidong <cyd@gnu.org>
1318
1319 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
1320 to allow printing the message when called from Lisp.
1321
1322 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
1323 Remove toggle-read-only.
1324
1325 * bs.el (bs-toggle-readonly):
1326 * buff-menu.el (Buffer-menu-toggle-read-only):
1327 Remove with-no-warnings around toggle-read-only.
1328
1329 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
1330 Remove with-no-warnings around toggle-read-only.
1331 (ffap-read-only, ffap-read-only-other-window)
1332 (ffap-read-only-other-frame): Callers changed.
1333
1334 * help-mode.el: Don't require view package.
1335 (help-mode-finish): Set buffer-read-only instead of calling
1336 toggle-read-only.
1337
1338 * bindings.el (mode-line-toggle-read-only):
1339 * dired.el (dired-toggle-read-only):
1340 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
1341 with non-nil second arg.
1342
1343 * emacs-lisp/eieio-custom.el (eieio-customize-object):
1344 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
1345 directly.
1346
1347 2012-07-12 Eli Zaretskii <eliz@gnu.org>
1348
1349 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
1350 not incf.
1351
1352 2012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
1353
1354 More CL cleanups and reduction of use of cl.el.
1355 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
1356 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
1357 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
1358 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
1359 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
1360 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
1361 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
1362 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
1363 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
1364 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
1365 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
1366 * eshell/em-cmpl.el, eshell/em-banner.el:
1367 * calendar/parse-time.el: Use cl-lib.
1368 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
1369 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
1370 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
1371 * term/ns-win.el, term.el, shell.el, ps-samp.el:
1372 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
1373 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
1374 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
1375 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
1376 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
1377 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
1378 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
1379 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
1380 `lambda' rather than with `quote'.
1381 (eshell-do-opt): Adjust accordingly.
1382 (eshell-process-option): Simplify.
1383 * eshell/esh-var.el:
1384 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
1385 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
1386 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
1387 to `pcase--dontcare'.
1388 * emacs-lisp/cl.el (labels): Mark obsolete.
1389 (cl--letf, letf): Move to cl-lib.
1390 (cl--letf*, letf*): Remove.
1391 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
1392 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
1393 (cl-progv): Rewrite.
1394 (cl--letf, cl-letf): Move from cl.el.
1395 (cl-letf*): New macro.
1396 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
1397
1398 2012-07-11 Michael Albinus <michael.albinus@gmx.de>
1399
1400 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
1401
1402 2012-07-11 Chong Yidong <cyd@gnu.org>
1403
1404 * vc/log-edit.el (log-edit-vc-backend): New variable.
1405 (log-edit): Doc fix.
1406
1407 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
1408 argument of log-edit to set up all local variables.
1409 (vc-start-logentry): New optional arg specifying VC backend.
1410
1411 * vc/vc.el (vc-checkin): Use it.
1412 (vc-deduce-fileset): Handle Log Edit buffers.
1413 (vc-diff): Make first argument optional too.
1414
1415 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
1416
1417 2012-07-10 Michael Albinus <michael.albinus@gmx.de>
1418
1419 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
1420 command, just in case. The function is not needed anymore.
1421 (eshell-external-command): Do not call `eshell-remote-command'.
1422
1423 2012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
1424
1425 Reduce use of (require 'cl).
1426 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
1427 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
1428 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
1429 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
1430 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
1431 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
1432 * battery.el, avoid.el, abbrev.el: Use cl-lib.
1433 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
1434 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
1435 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
1436 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
1437 * calculator.el, autorevert.el, apropos.el: Don't require CL.
1438 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
1439 (byte-compile-unfold-bcf, byte-compile-check-variable):
1440 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
1441 (byte-compile-nilconstp):
1442 * emacs-lisp/autoload.el (make-autoload): Use pcase.
1443 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
1444
1445 * emacs-lisp/gv.el (cond): Make it a valid place.
1446 (if): Simplify slightly.
1447
1448 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
1449 (pcase--self-quoting-p): New function.
1450 (pcase--u1): Use it.
1451
1452 2012-07-10 Glenn Morris <rgm@gnu.org>
1453
1454 * emacs-lisp/authors.el (authors-fixed-entries):
1455 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
1456
1457 2012-07-09 Paul Eggert <eggert@cs.ucla.edu>
1458
1459 Rename configure.in to configure.ac (Bug#11603).
1460 * emacs-lisp/authors.el (authors-canonical-file-name):
1461 * progmodes/autoconf.el (autoconf-mode):
1462 Prefer configure.ac to configure.in.
1463
1464 2012-07-08 Chong Yidong <cyd@gnu.org>
1465
1466 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
1467 Implement the mouse-1-click-follows-link handling properly.
1468
1469 * info.el (Info-link-keymap): Use follow-link mechanism for
1470 header-line links (Bug#374).
1471
1472 * simple.el (deactivate-mark): Do not set the primary selection
1473 if another program has acquired it (Bug#11772).
1474
1475 2012-07-07 Kevin Ryde <user42@zip.com.au>
1476
1477 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
1478 (woman-decode-region): Replace escaped-escapes without destroying
1479 bold or underline (Bug#11552).
1480 (woman2-process-escapes): Handle nofill regions (Bug#11591).
1481
1482 2012-07-07 Chong Yidong <cyd@gnu.org>
1483
1484 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
1485 (interprogram-cut-function, interprogram-paste-function):
1486 Mention that we typically mean the clipboard.
1487
1488 2012-07-06 Glenn Morris <rgm@gnu.org>
1489
1490 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
1491
1492 * files.el (toggle-read-only): Restrict message to interactive use.
1493
1494 2012-07-06 Michael Albinus <michael.albinus@gmx.de>
1495
1496 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
1497
1498 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
1499
1500 2012-07-06 Glenn Morris <rgm@gnu.org>
1501
1502 * Makefile.in (compile-one-process): Rename from "recompile".
1503
1504 * Makefile.in (bzr-update): "compile" is the same as "recompile
1505 autoloads", but parallelizable, so use that instead.
1506
1507 2012-07-06 Dmitry Gutov <dgutov@yandex.ru>
1508
1509 * window.el (quit-window): Always restore window height when
1510 it's saved in quit-restore parameter (Bug#11810).
1511
1512 2012-07-06 Glenn Morris <rgm@gnu.org>
1513
1514 * simple.el (kill-whole-line): Doc tweak.
1515
1516 2012-07-06 Eli Zaretskii <eliz@gnu.org>
1517
1518 * files.el (file-relative-name): Compare file names
1519 case-insensitively if on MS-Windows or MS-DOS, or if
1520 read-file-name-completion-ignore-case is non-nil. Don't use
1521 case-fold-search for this purpose. (Bug#11827)
1522
1523 2012-07-17 Andreas Schwab <schwab@linux-m68k.org>
1524
1525 * calendar/cal-dst.el (calendar-current-time-zone):
1526 Return calendar-current-time-zone-cache if non-nil.
1527
1528 2012-07-17 Masatake YAMATO <yamato@redhat.com>
1529 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
1530
1531 * calendar/cal-dst.el (calendar-current-time-zone):
1532 Return calendar-current-time-zone-cache if non-nil.
1533
1534 2012-07-06 Glenn Morris <rgm@gnu.org>
1535
1536 * Makefile.in (cvs-update): Remove old alias.
1537
1538 2012-07-05 Michael Albinus <michael.albinus@gmx.de>
1539
1540 Sync with Tramp 2.2.6-pre.
1541
1542 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
1543 compatible declaration.
1544
1545 * net/tramp-cmds.el (tramp-append-tramp-buffers):
1546 Protect `list-load-path-shadows' call.
1547
1548 * net/tramp-compat.el (top): Require packages, which aren't
1549 autoloaded anymore for XEmacs. Protect call of
1550 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
1551 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
1552 it hurts at least for SXEmacs.
1553 (tramp-compat-temporary-file-directory): In XEmacs, there is no
1554 standard-value for `temporary-file-directory'.
1555
1556 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
1557 Redirect stderr to /dev/null.
1558 (tramp-sh-handle-write-region): uid and gid can be floats.
1559 Reported by Russell Sim <russell.sim@gmail.com>.
1560 (tramp-sh-handle-vc-registered): Hide errors.
1561 (tramp-vc-file-name-handler): Use dummy results for `process-file'
1562 and `start-file-process'.
1563 (tramp-maybe-open-connection): Check also whether `non-essential'
1564 is bound.
1565
1566 2012-07-04 Chong Yidong <cyd@gnu.org>
1567
1568 * xml.el (xml--parse-buffer): Use xml-syntax-table.
1569 (xml-parse-tag): Likewise, and avoid changing entity tables.
1570 (xml-syntax-table): Define from scratch, making sure not to give
1571 x2000 and other Unicode spaces whitespace syntax, since those are
1572 not spaces in XML.
1573 (xml-parse-fragment): Delete unused function.
1574 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
1575 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
1576 (xml-entity-ref, xml-pe-reference-re)
1577 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
1578 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
1579 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
1580 (xml-entity-value-re): Use syntax references in regexps where
1581 possible; no need to define inside a let-binding.
1582 (xml-parse-dtd): Use xml-pe-reference-re.
1583 (xml-entity-or-char-ref-re): New defconst.
1584 (xml-parse-string, xml-substitute-special): Use it.
1585
1586 2012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
1587
1588 * files.el (locate-dominating-file): Allow `name' to be a predicate.
1589 (find-file--read-only): New function.
1590 (find-file-read-only, find-file-read-only-other-window)
1591 (find-file-read-only-other-frame): Use it.
1592 (insert-file-contents-literally): Don't `fset'.
1593 (get-free-disk-space): Use locate-dominating-file.
1594
1595 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
1596 function is already compiled.
1597
1598 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
1599
1600 2012-07-03 Michael Albinus <michael.albinus@gmx.de>
1601
1602 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
1603 files on the same host.
1604
1605 2012-07-03 Andreas Schwab <schwab@linux-m68k.org>
1606
1607 * help-fns.el (describe-function-1): Only call
1608 help-fns--autoloaded-p when we have a file name. (Bug#11848)
1609
1610 2012-07-03 Chong Yidong <cyd@gnu.org>
1611
1612 * xml.el: Protect parser against XML bombs.
1613 (xml-entity-expansion-limit): New variable.
1614 (xml-parse-string, xml-substitute-special): Use it.
1615 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
1616
1617 2012-07-03 Glenn Morris <rgm@gnu.org>
1618
1619 * progmodes/bug-reference.el (bug-reference-bug-regexp):
1620 Allow linking to specific messages in debbugs reports (eg 123#5).
1621
1622 2012-07-02 Chong Yidong <cyd@gnu.org>
1623
1624 * xml.el: Fix entity and character reference expansion, allowing
1625 them to expand into markup as per XML spec.
1626 (xml-default-ns): New variable.
1627 (xml-entity-alist): Use XML spec definitions for lt and amp.
1628 (xml-parse-region): Make first two arguments optional.
1629 Discard text properties.
1630 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
1631 All callers changed.
1632 (xml-parse-tag): Call xml-parse-tag-1. For backward
1633 compatibility, this function should not modify buffer contents.
1634 (xml-parse-tag-1): Fix opening-tag regexp.
1635 (xml-parse-string): Rewrite, handling entity and character
1636 references properly.
1637 (xml--entity-replacement-text): Signal an error if a parameter
1638 entity is undefined.
1639
1640 2012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
1641
1642 * comint.el (comint-output-filter): Filter out repeated prompts.
1643
1644 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
1645 and file-name-absolute-p.
1646 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
1647 internal calls.
1648
1649 2012-07-02 Paul Eggert <eggert@cs.ucla.edu>
1650
1651 Spelling fixes.
1652 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
1653 Rename from byte-compile--refiy-function. All uses changed.
1654
1655 2012-07-01 Chong Yidong <cyd@gnu.org>
1656
1657 * xml.el (xml--parse-buffer): New function. Move most of
1658 xml-parse-region here.
1659 (xml-parse-region): Copy region into a temporary buffer, since
1660 parameter entity substitution requires changing buffer contents.
1661 Use xml--parse-buffer.
1662 (xml-parse-file): Use xml--parse-buffer.
1663 (xml-parse-dtd): Make parameter entity substitution work right.
1664 Use proper regexps for ELEMENT declarations (Bug#7172).
1665
1666 2012-06-30 Glenn Morris <rgm@gnu.org>
1667
1668 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
1669
1670 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
1671 Remove outdated and unnecessary dbus declarations.
1672
1673 2012-06-30 Eli Zaretskii <eliz@gnu.org>
1674
1675 * emacs-lisp/timer.el (timer-until): Subtract results of
1676 float-time, instead of taking float-time of the result of
1677 time-subtract, since float-time signals an error for negative time
1678 arguments.
1679
1680 2012-06-30 Chong Yidong <cyd@gnu.org>
1681
1682 * xml.el (xml-*-re): Convert defvars into defconsts, and
1683 eval-and-compile them so eval-and-compile works on derivatives.
1684 (xml--entity-replacement-text): Use eval-and-comple.
1685
1686 2012-06-30 Michael Albinus <michael.albinus@gmx.de>
1687
1688 * vc/vc-git.el (vc-git-registered): Use cache property
1689 `git-registered'.
1690 (vc-git-mode-line-string): Call `vc-working-revision' instead of
1691 `vc-git-working-revision' in order to benefit from the cache.
1692 (vc-git-root): Use cache property `git-root'. (Bug#11757)
1693
1694 2012-06-30 Dmitry Gutov <dgutov@yandex.ru>
1695
1696 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
1697 removed (likely outside Emacs). (Bug#11757)
1698
1699 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
1700
1701 * emacs-lisp/cl-lib.el: Require macroexp.
1702
1703 2012-06-30 Chong Yidong <cyd@gnu.org>
1704
1705 * xml.el: Implement XML parameter entities.
1706 (xml-parameter-entity-alist): New variable.
1707 (xml-parse-region, xml-parse-fragment): Preserve previous values
1708 of xml-entity-alist and xml-parameter-entity-alist, so that
1709 repeated calls on different documents do not change them.
1710 (xml-parse-tag): Fix doctype regexp.
1711 (xml--entity-replacement-text): New function.
1712 (xml-parse-dtd): Use it. Don't handle system entities; doing that
1713 properly requires url retrieval which is unimplemented.
1714 (xml-escape-string): Doc fix.
1715
1716 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
1717
1718 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
1719
1720 2012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
1721
1722 * fringe.el (fringe-mode): Doc fix.
1723
1724 2012-06-29 Michael Albinus <michael.albinus@gmx.de>
1725
1726 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
1727 is non-nil.
1728 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
1729 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
1730
1731 2012-06-29 Andreas Schwab <schwab@linux-m68k.org>
1732
1733 * calendar/cal-dst.el (calendar-current-time-zone):
1734 Return calendar-current-time-zone-cache if non-nil.
1735
1736 2012-06-29 Masatake YAMATO <yamato@redhat.com>
1737
1738 * progmodes/which-func.el (which-func-format):
1739 Add mouse-face. (Bug#11698)
1740
1741 2012-06-29 Leo Liu <sdl.web@gmail.com>
1742
1743 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
1744
1745 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
1746
1747 * minibuffer.el (minibuffer-confirm-exit-commands):
1748 Add completion-at-point (bug#11725).
1749
1750 2012-06-29 Glenn Morris <rgm@gnu.org>
1751
1752 * progmodes/f90.el (f90-font-lock-keywords-2):
1753 Add some preprocessor elements. (Bug#10499)
1754
1755 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
1756
1757 * progmodes/cperl-mode.el (cperl-update-syntaxification):
1758 Use syntax-propertize (bug#11739).
1759
1760 2012-06-28 Juanma Barranquero <lekktu@gmail.com>
1761
1762 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
1763
1764 2012-06-28 Julien Danjou <julien@danjou.info>
1765
1766 * term.el (term-handle-colors-array): Use a set of new faces to
1767 color the terminal. Also uses :inverse-video property.
1768 (term-default-fg-color): Set to nil by default, deprecate in favor
1769 of `term-face'.
1770 (term-default-bg-color): Set to nil by default, deprecate in favor
1771 of `term-face'.
1772 (term-current-face): Use `term-face' by default.
1773 (term-bold-attribute): Variable deleted.
1774
1775 2012-06-28 Glenn Morris <rgm@gnu.org>
1776
1777 * simple.el (completion-list-mode-finish):
1778 Don't use toggle-read-only. (Since completion-list-mode has
1779 a special mode-class, it wasn't doing anything extra anyway.)
1780
1781 2012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
1782
1783 Make inlining of other-mode interpreted functions work (bug#11799).
1784 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
1785 (byte-compile): Use it to fix compilation of lexical-binding closures.
1786 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
1787 function, if needed.
1788
1789 2012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
1790
1791 * help-mode.el (help-make-xrefs): Don't just withstand
1792 cyclic-variable-indirection but any error in documentation-property.
1793
1794 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
1795 memory use.
1796 * bindings.el (bindings--define-key): New function.
1797 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
1798 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
1799 * bindings.el: Use it to purecopy define-key bindings.
1800
1801 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
1802
1803 * emacs-lisp/cl.el (flet): Mark obsolete.
1804 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
1805 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
1806 * progmodes/js.el (js-c-fill-paragraph):
1807 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
1808 (ebrowse-switch-member-buffer-to-derived-class):
1809 * play/5x5.el (5x5-solver): Use cl-flet.
1810
1811 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
1812 (cl--symbol-function): New macro.
1813 (cl--letf, cl--letf*): Use it.
1814
1815 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
1816 Strip "toggle-" if any.
1817
1818 2012-06-27 Glenn Morris <rgm@gnu.org>
1819
1820 * info.el (Info-default-directory-list): Move here from paths.el.
1821 * paths.el: Remove file, which is now empty.
1822 * loadup.el: No longer load "paths".
1823
1824 * custom.el (custom-initialize-delay): Doc fix.
1825
1826 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
1827 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
1828 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
1829 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
1830 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
1831 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
1832 * eshell/eshell.el (eshell-defgroup): Remove alias.
1833
1834 2012-06-27 Chong Yidong <cyd@gnu.org>
1835
1836 * help.el (help-enable-auto-load): New variable.
1837
1838 * help-fns.el (help-fns--autoloaded-p): New function.
1839 (describe-function-1): Refer to a function as "autoloaded" if it
1840 was autoloaded at any time in the past. Perform autoloading if
1841 help-enable-auto-load is non-nil.
1842
1843 2012-06-26 Eli Zaretskii <eliz@gnu.org>
1844
1845 * makefile.w32-in (compile, compile-always): Depend on
1846 update-subdirs, not on subdirs.el. Otherwise, several different
1847 sub-targets of 'bootstrap' running in parallel could
1848 simultaneously write to subdirs.el, producing a garbled file.
1849
1850 2012-06-26 Sam Steingold <sds@gnu.org>
1851
1852 * files.el (file-name-base): New convenience function.
1853 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
1854 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
1855 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
1856 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
1857 * textmodes/ispell.el, textmodes/reftex-ref.el:
1858 * textmodes/tex-mode.el: Use it.
1859 Did not touch cedet and org because they are maintained elsewhere.
1860
1861 2012-06-26 Martin Rudalics <rudalics@gmx.at>
1862
1863 * calendar/calendar.el (calendar-exit): Don't try to delete or
1864 iconify last frame. See:
1865 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
1866
1867 2012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
1868
1869 * server.el (server-process-filter): Remember dir in the
1870 process's `server-client-directory' properties.
1871
1872 2012-06-24 Chong Yidong <cyd@gnu.org>
1873
1874 * xml.el (xml-parse-tag): Correctly handle comment embedded in
1875 non-tag text.
1876
1877 2012-06-23 Juanma Barranquero <lekktu@gmail.com>
1878
1879 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
1880
1881 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
1882
1883 * help-fns.el (describe-variable): Don't croak when doc is not found.
1884 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
1885 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
1886 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
1887 * emacs-lisp/smie.el (smie-next-sexp): CSE.
1888 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
1889 ((lambda ..) ..).
1890 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
1891
1892 2012-06-23 Chong Yidong <cyd@gnu.org>
1893
1894 * info.el (Info-mouse-follow-link): Accept symbol values of
1895 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
1896 (Info-fontify-node): Use Info-link-keymap for all navigation
1897 buttons, with link-args property to perform the desired action.
1898 (Info-link-keymap): Doc fix.
1899 (Info-next-link-keymap, Info-prev-link-keymap)
1900 (Info-up-link-keymap): Delete now-unused keymaps.
1901
1902 2012-06-23 Chong Yidong <cyd@gnu.org>
1903
1904 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
1905
1906 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
1907 system abbrevs.
1908
1909 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
1910
1911 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
1912
1913 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
1914 (bug#11719).
1915
1916 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
1917 the requote function doesn't work properly (bug#11714).
1918
1919 2012-06-23 Glenn Morris <rgm@gnu.org>
1920
1921 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
1922
1923 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
1924
1925 Further GV/CL cleanups.
1926 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
1927 gv-expander.
1928 (gv--defun-declaration): New function.
1929 (defun-declarations-alist): Use it.
1930 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
1931 (gv-place): Autoload.
1932 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
1933 original definition of dotimes and dolist.
1934 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
1935 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
1936 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
1937 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
1938 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
1939 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
1940 to the function's definition.
1941 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
1942 * window.el:
1943 * files.el:
1944 * faces.el:
1945 * env.el: Don't use CL.
1946
1947 2012-06-22 Paul Eggert <eggert@cs.ucla.edu>
1948
1949 Support higher-resolution time stamps (Bug#9000).
1950
1951 * calendar/time-date.el (with-decoded-time-value): New arg
1952 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
1953 (encode-time-value): New optional arg PICO. New type 3.
1954 (time-to-seconds) [!float-time]: Support the new picoseconds
1955 component if it's used.
1956 (seconds-to-time, time-subtract, time-add):
1957 Support ps-resolution time stamps as well.
1958
1959 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
1960 (timerp): Timer vectors now have length 9, not 8.
1961 (timer--time): Support new-style (4-part) time stamps.
1962 (timer-next-integral-multiple-of-time): Time stamps now have
1963 picosecond resolution, so take a bit more care about rounding.
1964 (timer-relative-time, timer-inc-time): New optional arg psecs.
1965 (timer-set-time-with-usecs): Set psecs to 0.
1966 (timer--activate): Check psecs component, too.
1967
1968 * proced.el (proced-time-lessp): Support ps-resolution stamps.
1969
1970 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
1971
1972 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
1973 Move the non-essential binding to the post/pre-command-hook where it is
1974 more obviously correct.
1975
1976 * subr.el (read-passwd): Don't use a history at all.
1977 * savehist.el (savehist-save): Remove password saved accidentally
1978 because of the above bug.
1979
1980 2012-06-22 Bastien Guerry <bzg@gnu.org>
1981
1982 * files.el (toggle-read-only): Display a message telling whether
1983 the buffer is read-only or not (bug#11726).
1984
1985 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
1986
1987 * emacs-lisp/gv.el: New file.
1988 * subr.el (push, pop): Extend to generalized variables.
1989 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
1990 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
1991 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
1992 gv-define-simple-setter, and gv-define-expander.
1993 Remove setf-methods defined in gv. Rename cl-setf -> setf.
1994 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
1995 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
1996 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
1997 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
1998 gv-letplace.
1999 (cl-defstruct): Don't define setf-method any more.
2000 * emacs-lisp/cl.el (flet): Don't autoload.
2001 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
2002 (define-setf-expander, defsetf, define-modify-macro)
2003 (cl-struct-setf-expander): Move from cl-lib.el.
2004 * emacs-lisp/syntax.el:
2005 * emacs-lisp/ewoc.el:
2006 * emacs-lisp/smie.el:
2007 * emacs-lisp/cconv.el:
2008 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
2009 (timer--time): Use gv-define-simple-setter.
2010 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
2011 to avoid coding-system problems in subr.el. Adjust all users.
2012 (macroexp--maxsize, macroexp-small-p): New functions.
2013 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
2014 * scroll-bar.el (scroll-bar-mode):
2015 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
2016 (normal-erase-is-backspace-mode): Don't use the `eq' place.
2017 * winner.el (winner-configuration, winner-make-point-alist)
2018 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
2019 * files.el (locate-file-completion-table): Avoid list*.
2020
2021 2012-06-22 Chong Yidong <cyd@gnu.org>
2022
2023 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
2024 (dired-create-files): Doc fix (Bug#11329).
2025 (dired-do-copy): Doc fix (Bug#11334).
2026 (dired-mark-read-string): Doc fix (Bug#11553).
2027
2028 * dired.el (dired-recursive-copies, dired-recursive-deletes):
2029 Doc fix (Bug#11326).
2030 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
2031 (dired-dwim-target): Doc fix.
2032
2033 * wdired.el (wdired-mode): Doc fix.
2034
2035 2012-06-22 Glenn Morris <rgm@gnu.org>
2036
2037 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
2038 (pcmpl-rpm-cache-stamp-file): New constant.
2039 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
2040 (pcmpl-rpm-packages): Optionally cache list of packages.
2041
2042 * pcmpl-rpm.el (pcmpl-rpm): New group.
2043 (pcmpl-rpm-query-options): New option.
2044 (pcmpl-rpm-packages): No need to inline it.
2045 Use pcmpl-rpm-query-options.
2046
2047 * calendar/calendar.el (calendar-in-read-only-buffer):
2048 Avoid some needless mode changes.
2049
2050 2012-06-21 Chong Yidong <cyd@gnu.org>
2051
2052 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
2053 (desktop-path): Remove . from the default value (Bug#10977).
2054 (desktop-read): Use user-emacs-directory if desktop-path is nil.
2055
2056 2012-06-20 Chong Yidong <cyd@gnu.org>
2057
2058 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
2059
2060 2012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
2061
2062 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
2063 (bug#11201).
2064
2065 2012-06-20 Chong Yidong <cyd@gnu.org>
2066
2067 * term.el (term-window-width): Handle the case of a missing right
2068 fringe (Bug#8837).
2069 (term-check-size): Use window-text-height (Bug#5445).
2070 (term-mode): Use define-derived-mode. Minor cleanups.
2071 Set font-lock-defaults (Bug#7692).
2072 (term-move-columns, term-insert-char, term-emulate-terminal)
2073 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
2074
2075 2012-06-20 Michael Albinus <michael.albinus@gmx.de>
2076
2077 * net/ange-ftp.el (ange-ftp-get-passwd):
2078 Bind `enable-recursive-minibuffers'.
2079 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
2080
2081 2012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
2082
2083 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
2084
2085 2012-06-19 Glenn Morris <rgm@gnu.org>
2086
2087 * progmodes/python.el (python-mode): Derive from prog-mode.
2088
2089 2012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
2090
2091 * emulation/edt.el (edt-default-menu-bar-update-buffers)
2092 (edt-user-menu-bar-update-buffers): New functions.
2093 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
2094
2095 2012-06-19 Chong Yidong <cyd@gnu.org>
2096
2097 * subr.el (with-selected-window): Preserve the selected window's
2098 terminal's top-frame (Bug#4702).
2099
2100 * window.el (save-selected-window): Likewise.
2101
2102 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
2103
2104 * progmodes/python.el (python-rx-constituents): Move backquote.
2105 (python-skeleton-define, python-define-auxiliary-skeleton):
2106 Use `declare'.
2107
2108 2012-06-18 Michael Albinus <michael.albinus@gmx.de>
2109
2110 * minibuffer.el (read-file-name-default): Revert the patch from
2111 2012-06-17.
2112
2113 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
2114
2115 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
2116 (pcase--u1, pcase--q1): Don't use apply-partially.
2117
2118 2012-06-18 Glenn Morris <rgm@gnu.org>
2119
2120 * progmodes/python.el (python-proc, python-buffer)
2121 (python-send-receive, python-send-string): Fix obsolete versions.
2122
2123 2012-06-18 Martin Rudalics <rudalics@gmx.at>
2124
2125 * window.el (special-display-p): Completely remove stringp
2126 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
2127
2128 2012-06-17 Michael Albinus <michael.albinus@gmx.de>
2129
2130 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
2131
2132 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
2133
2134 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
2135 * net/tramp-sh.el (tramp-maybe-open-connection):
2136 Throw if `non-essential' is non-nil.
2137
2138 2012-06-17 Martin Rudalics <rudalics@gmx.at>
2139
2140 * window.el (special-display-p): Signal an error if BUFFER-NAME
2141 is not a string (Bug#11713).
2142
2143 2012-06-17 Paul Eggert <eggert@cs.ucla.edu>
2144
2145 * progmodes/python.el (python-info-beginning-of-backslash):
2146 Rename from python-info-beginning-of-backlash, as a spelling fix.
2147
2148 2012-06-17 Chong Yidong <cyd@gnu.org>
2149
2150 * term.el (term-emulate-terminal): If term-check-size is called,
2151 move point to the process mark without resetting point (Bug#4635).
2152
2153 2012-06-17 Glenn Morris <rgm@gnu.org>
2154
2155 * international/mule-cmds.el (mule-menu-keymap)
2156 (set-language-environment, set-locale-environment): Doc tweaks.
2157
2158 2012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
2159
2160 * cus-face.el (custom-face-attributes): Add wave-style underline
2161 attribute.
2162 * faces.el (set-face-attribute): Update docstring to describe
2163 wave-style underline attribute.
2164
2165 2012-06-16 Chong Yidong <cyd@gnu.org>
2166
2167 * term/xterm.el (terminal-init-xterm): Discard input before
2168 querying background mode (Bug#10959).
2169
2170 2012-06-16 Stefan Merten <smerten@oekonux.de>
2171
2172 * textmodes/rst.el: Added and corrected some comments.
2173 (rst-re-alist-def): Improve symbol syntax.
2174 (rst-mode-syntax-table): Correct syntax entries.
2175 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
2176 (rst-official-version, rst-official-cvs-rev): Update version
2177 information.
2178
2179 2012-06-15 Juanma Barranquero <lekktu@gmail.com>
2180
2181 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
2182 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
2183
2184 2012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
2185
2186 * progmodes/python.el: New python.el merge.
2187 (python-guess-indent): Obsolete var.
2188 (python-indent-guess-indent-offset): New defcustom.
2189 (python-indent): Obsolete var.
2190 (python-indent-offset): New defcustom.
2191 (python-python-command, python-jython-command): Delete var.
2192 (python-shell-interpreter): New defcustom.
2193 (python-pdbtrack-do-tracking-p): Delete var.
2194 (python-pdbtrack-activate): New defcustom.
2195 (python-use-skeletons): Obsolete var.
2196 (python-skeleton-autoinsert): New defcustom.
2197 (inferior-python-filter-regexp, python-continuation-offset)
2198 (python-honour-comment-indentation, python-indent-string-contents)
2199 (python-jython-packages, python-mode-hook)
2200 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
2201 (python-shell-prompt-alist)
2202 (python-source-modes): Delete defcustoms.
2203 (python-check-buffer-name, python-eldoc-setup-code)
2204 (python-eldoc-string-code, python-ffap-setup-code)
2205 (python-ffap-string-code, python-fill-comment-function)
2206 (python-fill-decorator-function, python-fill-paren-function)
2207 (python-fill-string-function, python-imenu-include-defun-type)
2208 (python-imenu-make-tree, python-imenu-subtree-root-label)
2209 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
2210 (python-shell-compilation-regexp-alist)
2211 (python-shell-completion-module-string-code)
2212 (python-shell-completion-pdb-string-code)
2213 (python-shell-completion-setup-code)
2214 (python-shell-completion-string-code)
2215 (python-shell-enable-font-lock, python-shell-exec-path)
2216 (python-shell-extra-pythonpaths)
2217 (python-shell-internal-buffer-name, python-shell-interpreter-args)
2218 (python-shell-process-environment)
2219 (python-shell-prompt-block-regexp)
2220 (python-shell-prompt-output-regexp)
2221 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
2222 (python-shell-send-setup-max-wait, python-shell-setup-codes)
2223 (python-shell-virtualenv-path): New defcustoms.
2224 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
2225 (inferior-python-mode-syntax-table, python--prompt-regexp)
2226 (python-buffer, python-command python-python-command)
2227 (python-default-template, python-imports, python-indent-index)
2228 (python-indent-list, python-indent-list-length)
2229 (python-mode-running, python-pdbtrack-is-tracking-p)
2230 (python-preoutput-continuation, python-preoutput-leftover)
2231 (python-preoutput-result, python-preoutput-skip-next-prompt)
2232 (python-prev-dir/file, python-recursing)
2233 (python-saved-check-command, python-version-checked)
2234 (python-which-func-length-limit)
2235 (view-return-to-alist): Delete vars.
2236 (python-check-custom-command, python-dotty-syntax-table)
2237 (python-imenu-index-alist, python-indent-current-level)
2238 (python-indent-dedenters, python-indent-levels)
2239 (python-nav-beginning-of-defun-regexp)
2240 (python-nav-list-defun-positions-cache)
2241 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
2242 (python-shell-internal-buffer)
2243 (python-skeleton-available): New vars.
2244 (def-python-skeleton): Delete macro.
2245 (python-skeleton-define): New macro.
2246 (python-define-auxiliary-skeleton, python-rx): New macros.
2247 (python-insert-class): Delete command.
2248 (python-skeleton-class): New command.
2249 (python-insert-def): Delete command.
2250 (python-skeleton-def): New command.
2251 (python-insert-for): Delete command.
2252 (python-skeleton-for): New command.
2253 (python-insert-if): Delete command.
2254 (python-skeleton-if): New command.
2255 (python-insert-try/except, python-insert-try/finally): Delete commands.
2256 (python-skeleton-try): New command.
2257 (python-insert-while): Delete command.
2258 (python-skeleton-while): New command.
2259 (python-backspace): Delete command.
2260 (python-indent-dedent-line-backspace): New command.
2261 (python-electric-colon): Delete command.
2262 (python-indent-electric-colon): New command.
2263 (python-guess-indent): Delete command.
2264 (python-indent-guess-indent-offset): New command.
2265 (python-shift-left): Delete command.
2266 (python-indent-shift-left): New command.
2267 (python-shift-right): Delete command.
2268 (python-indent-shift-right): New command.
2269 (python-find-function): Delete command.
2270 (python-nav-jump-to-defun): New command.
2271 (python-next-statement): Delete command.
2272 (python-nav-forward-sentence): New command.
2273 (python-previous-statement): Delete command.
2274 (python-nav-backward-sentence): New command.
2275 (python-fill-paragraph): Delete command.
2276 (python-fill-paragraph-function): New command.
2277 (python-send-buffer): Delete command.
2278 (python-shell-send-buffer): New command.
2279 (python-send-defun): Delete command.
2280 (python-shell-send-defun): New command.
2281 (python-send-region, python-send-region-and-go): Delete commands.
2282 (python-shell-send-region)
2283 (python-shell-switch-to-shell): New commands.
2284 (python-send-string): Delete command.
2285 (python-shell-send-string): New command.
2286 (python-switch-to-python): Delete command.
2287 (python-shell-switch-to-shell): New command.
2288 (python-describe-symbol): Delete command.
2289 (python-eldoc-at-point): New command.
2290 (python--set-prompt-regexp, python-args-to-list)
2291 (python-after-info-look, python-check-version)
2292 (python-check-comint-prompt, python-find-imports)
2293 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
2294 (python-unload-function, python-expand-template)
2295 (python-maybe-jython, python-preoutput-filter)
2296 (python-pdbtrack-get-source-buffer)
2297 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
2298 (python-pdbtrack-toggle-stack-tracking)
2299 (python-pdbtrack-track-stack-file, python-initial-text)
2300 (python-first-word, python-comment-line-p, python-send-command)
2301 (python-setup-brm, python-sentinel, python-set-proc)
2302 (python-skip-out, python-input-filter, python-outdent-p)
2303 (python-outline-level, python-backslash-continuation-line-p)
2304 (python-end-of-block, python-end-of-statement, python-mark-block)
2305 (python-beginning-of-block, python-beginning-of-statement)
2306 (python-blank-line-p, python-beginning-of-string)
2307 (python-open-block-statement-p): Delete functions.
2308 (python-indent-line, python-indent-line-1): Delete functions.
2309 (python-indent-line): New function.
2310 (python-indentation-levels): Delete function.
2311 (python-indent-calculate-levels): New function.
2312 (python-proc): Delete function.
2313 (python-shell-get-process): New function.
2314 (python-send-receive): Delete function.
2315 (python-shell-send-string-no-output): New function.
2316 (python-module-path): Delete function.
2317 (python-ffap-module-path): New function.
2318 (python-completion-at-point)
2319 (python-symbol-completions): Delete functions.
2320 (python-completion-complete-at-point): New function.
2321 (python-load-file): Delete function.
2322 (python-shell-send-file): New function.
2323 (python-calculate-indentation): Delete function.
2324 (python-indent-calculate-indentation): New function.
2325 (python-skip-comments/blanks): Delete function.
2326 (python-util-forward-comment): New function.
2327 (python-continuation-line-p): Delete function.
2328 (python-info-continuation-line-p): New function.
2329 (python-which-func, python-current-defun): Delete function.
2330 (python-info-current-defun): New function.
2331 (python-beginning-of-defun): Delete function.
2332 (python-nav-beginning-of-defun): New function.
2333 (python-close-block-statement-p)
2334 (python-block-end-p): Delete function.
2335 (python-info-closing-block): New function.
2336 (python-comint-output-filter-function)
2337 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
2338 (python-fill-comment, python-fill-decorator, python-fill-paren)
2339 (python-fill-string, python-imenu-make-element-tree)
2340 (python-imenu-make-tree, python-imenu-tree-assoc)
2341 (python-indent-context, python-indent-dedent-line)
2342 (python-indent-line-function)
2343 (python-indent-post-self-insert-function)
2344 (python-indent-toggle-levels)
2345 (python-info-assignment-continuation-line-p)
2346 (python-info-beginning-of-backlash)
2347 (python-info-block-continuation-line-p)
2348 (python-info-closing-block-message)
2349 (python-info-line-ends-backslash-p)
2350 (python-info-looking-at-beginning-of-defun)
2351 (python-info-ppss-context, python-info-ppss-context-type)
2352 (python-nav-list-defun-positions, python-nav-read-defun)
2353 (python-nav-sentence-end, python-nav-sentence-start)
2354 (python-pdbtrack-comint-output-filter-function)
2355 (python-pdbtrack-set-tracked-buffer)
2356 (python-shell-calculate-exec-path)
2357 (python-shell-calculate-process-environment)
2358 (python-shell-completion--do-completion-at-point)
2359 (python-shell-completion--get-completions)
2360 (python-shell-completion-complete-at-point)
2361 (python-shell-completion-complete-or-indent)
2362 (python-shell-get-or-create-process)
2363 (python-shell-get-process-name)
2364 (python-shell-internal-get-or-create-process)
2365 (python-shell-internal-get-process-name)
2366 (python-shell-internal-send-string, python-shell-make-comint)
2367 (python-shell-parse-command, python-shell-send-setup-code)
2368 (python-skeleton-add-menu-items)
2369 (python-util-clone-local-variables, python-util-position)
2370 (run-python-internal, python-indentation-levels)
2371 (python-nav-beginning-of-defun)
2372 (python-completion-complete-at-point): New functions.
2373 (run-python): Change arguments. New API requirements.
2374
2375 2012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
2376
2377 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
2378 (bug#11649).
2379
2380 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
2381 (macroexp--expand-all): Use it.
2382
2383 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
2384 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
2385 Use `cl-function' instead.
2386
2387 2012-06-14 Juanma Barranquero <lekktu@gmail.com>
2388
2389 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
2390 Suggested by Stefan Monnier while discussing bug#11657.
2391
2392 2012-06-14 Sam Steingold <sds@gnu.org>
2393
2394 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
2395
2396 2012-06-14 Andreas Schwab <schwab@linux-m68k.org>
2397
2398 * play/doctor.el (doctor-doc): Remove parameter and use
2399 doctor-sent instead of sent.
2400 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
2401
2402 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
2403
2404 * files.el: Require cl-lib.
2405 (file-name-non-special): Replace case -> cl-case.
2406
2407 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
2408
2409 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
2410 mapping from #' to function*.
2411
2412 2012-06-13 Chong Yidong <cyd@gnu.org>
2413
2414 * mouse.el (mouse-drag-track): Do not set the mark if the user
2415 releases the mouse without selecting anything (Bug#11588).
2416
2417 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
2418
2419 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
2420 as well (bug#11646).
2421
2422 * loadup.el: Count byte-code functions as well.
2423
2424 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
2425 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
2426
2427 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
2428 (bug#11649). Add cl-defun and cl-defmacro.
2429
2430 2012-06-13 Drew Adams <drew.adams@oracle.com>
2431
2432 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
2433 Fix last change.
2434
2435 2012-06-13 Michael Albinus <michael.albinus@gmx.de>
2436
2437 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
2438 Otherwise, it blocks in batch mode.
2439
2440 2012-06-13 Juanma Barranquero <lekktu@gmail.com>
2441
2442 * help-mode.el (bookmark-make-record-default): Declare.
2443
2444 2012-06-13 Chong Yidong <cyd@gnu.org>
2445
2446 * emacs-lisp/package.el (list-packages): Compute a list of
2447 packages that are newly-available since the last list-packages
2448 invocation.
2449 (package-menu--new-package-list): New var.
2450 (package-menu--generate, package-menu--print-info)
2451 (package-menu--status-predicate, package-menu-mark-install):
2452 Handle new status label "new".
2453
2454 2012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
2455
2456 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
2457 conversion to backquotes.
2458
2459 2012-06-12 Chong Yidong <cyd@gnu.org>
2460
2461 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
2462 Rename from gud-inhibit-global-bindings.
2463
2464 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
2465
2466 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
2467 hook from nxml-glyph-set-hook.
2468
2469 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
2470 declaration.
2471
2472 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
2473
2474 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
2475 Convert to defcustom.
2476
2477 2012-06-12 Drew Adams <drew.adams@oracle.com>
2478
2479 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
2480 New functions.
2481 (help-mode): Use them.
2482
2483 2012-06-11 Glenn Morris <rgm@gnu.org>
2484
2485 * progmodes/fortran.el (fortran-font-lock-keywords-3):
2486 Use preprocessor face for directives.
2487 (fortran-directive-re): Doc fix.
2488
2489 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
2490
2491 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
2492 conversion to backquotes (bug#11652).
2493
2494 Fix compiler-expansion of CL's cXXr functions (bug#11673).
2495 * emacs-lisp/cl-lib.el (cl--defalias): New function.
2496 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
2497 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
2498 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
2499 (cl-ninth, cl-tenth): Mark them as inlinable.
2500 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
2501 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
2502 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
2503 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
2504 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
2505 (cl-list*, cl-adjoin): Don't put an autoload manually.
2506 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
2507 (cl--compiler-macro-list*): Add autoload cookie.
2508 (cl--compiler-macro-cXXr): New function.
2509
2510 * help-fns.el (help-fns--compiler-macro): New function extracted from
2511 describe-function-1; follow aliases and use `compiler-macro' property.
2512 (describe-function-1): Use it.
2513
2514 2012-06-11 Chong Yidong <cyd@gnu.org>
2515
2516 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
2517 is uninstalled, if imagemagick is installed.
2518
2519 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
2520
2521 * emacs-lisp/cl-lib.el: Use lexical-binding.
2522 (cl-map-extents, cl-maclisp-member): Remove.
2523 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
2524 (cl--set-substring, cl--block-wrapper, cl--block-throw)
2525 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
2526 * emacs-lisp/cl-extra.el: Use lexical-binding.
2527 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
2528 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
2529 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
2530 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
2531 * emacs-lisp/cl-seq.el: Use lexical-binding.
2532 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
2533 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
2534 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
2535 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
2536 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
2537 CL's internals.
2538
2539 2012-06-11 Michael Albinus <michael.albinus@gmx.de>
2540
2541 Sync with Tramp 2.2.6-pre.
2542
2543 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
2544 `print-length' and `print-level' to nil, in order to avoid
2545 truncation. Reported by Christopher Schmidt
2546 <christopher@ristopher.com>.
2547
2548 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
2549
2550 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
2551 New defmacro.
2552 (tramp-compat-copy-directory): Add optional argument
2553 COPY-CONTENTS. It is not handled yet.
2554
2555 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
2556 (tramp-ftp-file-name-p): Simplify.
2557
2558 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
2559 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
2560 connection vector.
2561
2562 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
2563 (tramp-methods): Do not use `tramp-password-end-of-line'.
2564 (tramp-completion-function-alist-putty): Handle UNIX case.
2565 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
2566 (tramp-do-file-attributes-with-stat)
2567 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
2568 gid as real numbers. They could run out of integer range on cygwin.
2569 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
2570 (tramp-sh-handle-expand-file-name): Handle hops.
2571 (tramp-open-connection-setup-interactive-shell):
2572 Use `tramp-cleanup'. Move check for busyboxes ...
2573 (tramp-find-shell): ... here. Simplify implementation.
2574 Set "remote-shell" property also for alternative shells.
2575 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
2576 If failing, a regular file would be written otherwise.
2577 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
2578 (tramp-find-inline-encoding): Cache the coding commands in the
2579 process cache. Apply test command on the remote side, if defined.
2580 (tramp-find-inline-compress): Cache the compress commands in the
2581 process cache.
2582 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
2583 when requested. Handle hops.
2584 (tramp-current-connection): New defvar.
2585 (tramp-maybe-open-connection): Use `tramp-cleanup'.
2586 Throw `suppress', if there was a failed connection shortly before.
2587 Handle user interrupt. (Bug#10187)
2588 (tramp-get-inline-compress, tramp-get-inline-coding):
2589 Read connection properties from the process cache.
2590
2591 * net/tramp-smb.el (tramp-smb-server-version)
2592 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
2593 New defconsts.
2594 (tramp-smb-prompt): Extend for powershell prompt.
2595 (tramp-smb-file-name-handler-alist): Add handlers for
2596 `process-file', `shell-command' and `start-file-process'.
2597 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
2598 (tramp-smb-winexe-shell-command-switch): New defcustoms.
2599 (tramp-smb-file-name-p): Simplify.
2600 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
2601 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
2602 (tramp-smb-shell-quote-argument): New defuns.
2603 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
2604 Implement using "tar". By this, time-stamps are preserved.
2605 (tramp-smb-handle-copy-file): Handle also the case of directories.
2606 (tramp-smb-do-file-attributes-with-stat)
2607 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
2608 Use `tramp-get-connection-buffer').
2609 (tramp-smb-handle-rename-file): Use "rename", when source and
2610 target are on the same share.
2611 (tramp-smb-maybe-open-connection): Handle wrong passwords.
2612 Use `tramp-smb-server-version'.
2613 (tramp-smb-wait-for-output): Remove prompt.
2614
2615 * net/tramp.el (top): Require 'cl.
2616 (tramp-methods, tramp-rsh-end-of-line):
2617 Remove `tramp-password-end-of-line' from docstring.
2618 (tramp-save-ad-hoc-proxies): New defcustom.
2619 (tramp-completion-function-alist): Adapt docstring.
2620 (tramp-default-password-end-of-line): Remove defcustom.
2621 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
2622 (tramp-user-regexp, tramp-file-name-regexp-unified)
2623 (tramp-file-name-regexp-url): Extend regexp by hop separator.
2624 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
2625 (tramp-remote-file-name-spec-regexp): New defconst.
2626 (tramp-file-name-structure): Extend structure for hops.
2627 (tramp-get-method-parameter): Move up.
2628 (tramp-file-name-p, tramp-dissect-file-name)
2629 (with-parsed-tramp-file-name): Handle hops.
2630 (tramp-file-name-hop): New defun.
2631 (tramp-make-tramp-file-name): New optional arg HOP.
2632 (tramp-message-show-progress-reporter-message): New defvar.
2633 (tramp-with-progress-reporter): Use it. We cannot use
2634 `tramp-message-show-message' here, because this suppresses also
2635 error buffers.
2636 (tramp-error-with-buffer): Suppress buffer view, if
2637 `tramp-message-show-message' is nil.
2638 Use `tramp-get-connection-buffer'.
2639 (tramp-cleanup): New defun.
2640 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
2641 (tramp-file-name-handler): If `debug-on-error' is set, propagate
2642 an error unchanged.
2643 (tramp-completion-handle-file-name-all-completions): Handle hops.
2644 Fix an error when called from ido.
2645 (tramp-completion-dissect-file-name): Use better local variable
2646 name. Add hop to the vector.
2647 (tramp-handle-insert-file-contents): Use progress-reporter for the
2648 whole scenario.
2649 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
2650 to `t'.
2651 (tramp-check-for-regexp): Simplify search.
2652 (tramp-enter-password): Remove it. Move implementation ...
2653 (tramp-action-password): ... here.
2654 (tramp-mode-string-to-int, tramp-local-host-p)
2655 (tramp-make-tramp-temp-file, tramp-read-passwd)
2656 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
2657 Set tramp-autoload cookie.
2658
2659 * net/trampver.el: Update release number.
2660
2661 2012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2662 Michael Albinus <michael.albinus@gmx.de>
2663
2664 * net/tramp.el (tramp-set-completion-function): Fix docstring.
2665 (tramp-parse-group, tramp-parse-file)
2666 (tramp-parse-shostkeys-sknownhosts): New defuns.
2667 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
2668 (tramp-parse-shosts-group, tramp-parse-sconfig)
2669 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
2670 (tramp-parse-sknownhosts, tramp-parse-hosts)
2671 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
2672 Use them.
2673 (tramp-parse-passwd-group, tramp-parse-netrc-group)
2674 (tramp-parse-putty-group): Don't narrow.
2675 (tramp-parse-putty): Make a loop.
2676 (tramp-file-name-handler): Catch the `suppress' signal.
2677
2678 2012-06-11 Chong Yidong <cyd@gnu.org>
2679
2680 * image.el (imagemagick-register-types): Put the ImageMagick entry
2681 at the end of image-type-file-name-regexps.
2682
2683 2012-06-11 Johan Bockgård <bojohan@gnu.org>
2684
2685 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
2686 (pcase, pcase-let*, pcase-dolist): Use them.
2687
2688 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
2689
2690 * emacs-lisp/pcase.el (pcase--let*): New function.
2691 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
2692 (pcase--expand): Use macroexp-let².
2693
2694 2012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
2695
2696 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
2697 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
2698 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
2699 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
2700 * emacs-lisp/derived.el: Use pcase instead of `cl'.
2701 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
2702
2703 2012-06-10 Glenn Morris <rgm@gnu.org>
2704
2705 * mail/rmail.el (rmail-yank-current-message): Leave point at
2706 correct position. (Bug#11660)
2707
2708 2012-06-10 Chong Yidong <cyd@gnu.org>
2709
2710 * allout-widgets.el: Fix code header.
2711
2712 2012-06-10 Chong Yidong <cyd@gnu.org>
2713
2714 * cus-edit.el (customize-changed-options-previous-release):
2715 Bump to 24.1.
2716
2717 2012-06-09 Andreas Schwab <schwab@linux-m68k.org>
2718
2719 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
2720
2721 2012-06-09 Chong Yidong <cyd@gnu.org>
2722
2723 * ebuff-menu.el (electric-buffer-list): Preserve header line.
2724
2725 2012-06-09 Martin Rudalics <rudalics@gmx.at>
2726
2727 * window.el (special-display-popup-frame): Don't use
2728 window--display-buffer (Bug#11651).
2729
2730 2012-06-09 Eli Zaretskii <eliz@gnu.org>
2731
2732 Fix parallel builds: make sure loaddefs.el is not being written
2733 while Lisp files are compiled.
2734 (compile): Don't depend on 'mh-autoloads'.
2735 (compile-CMD, compile-SH): Depend on 'autoloads'.
2736 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
2737
2738 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
2739
2740 2012-06-09 Chong Yidong <cyd@gnu.org>
2741
2742 * face-remap.el (face-remap-add-relative, face-remap-set-base)
2743 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
2744 Doc fixes (Bug#11225).
2745
2746 2012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
2747
2748 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
2749 a function if there's a clear indication that it has a compiler-macro.
2750 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
2751 (macro-declarations-alist): Add arglist to declaration functions.
2752 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
2753 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
2754 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
2755 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
2756 Also add autoload to find the compiler macro.
2757 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
2758 (cl--compiler-macro-member, cl--compiler-macro-assoc)
2759 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
2760 (cl--compiler-macro-get): New functions, replacing calls to
2761 cl-define-compiler-macro.
2762 (cl-typep) [compiler-macro]: Use macroexp-let².
2763
2764 2012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
2765
2766 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
2767 string properly, fixes Bug#11473.
2768
2769 2012-06-08 Chong Yidong <cyd@gnu.org>
2770
2771 * faces.el (set-face-attribute): Doc fix.
2772 (modify-face): Don't use :bold and :italic.
2773 (error, warning, success): Tweak definitions.
2774
2775 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
2776 (custom-modified, custom-set, custom-changed, custom-themed)
2777 (custom-saved, custom-button, custom-button-mouse)
2778 (custom-button-pressed, custom-state, custom-comment-tag)
2779 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
2780 (custom-group-subtitle): Use new-style face specs.
2781 (custom-invalid-face, custom-rogue-face, custom-modified-face)
2782 (custom-set-face, custom-changed-face, custom-saved-face)
2783 (custom-button-face, custom-button-pressed-face)
2784 (custom-documentation-face, custom-state-face)
2785 (custom-comment-face, custom-comment-tag-face)
2786 (custom-variable-tag-face, custom-variable-button-face)
2787 (custom-face-tag-face, custom-group-tag-face-1)
2788 (custom-group-tag-face): Remove obsolete face alias.
2789
2790 * epa.el (epa-validity-high, epa-validity-medium)
2791 (epa-validity-low, epa-mark, epa-field-name, epa-string)
2792 (epa-field-name, epa-field-body):
2793 * font-lock.el (font-lock-comment-face, font-lock-string-face)
2794 (font-lock-keyword-face, font-lock-builtin-face)
2795 (font-lock-function-name-face, font-lock-variable-name-face)
2796 (font-lock-type-face, font-lock-constant-face):
2797 * ido.el (ido-first-match, ido-only-match, ido-subdir)
2798 (ido-virtual, ido-indicator, ido-incomplete-regexp):
2799 * speedbar.el (speedbar-button-face, speedbar-file-face)
2800 (speedbar-directory-face, speedbar-tag-face)
2801 (speedbar-selected-face, speedbar-highlight-face)
2802 (speedbar-separator-face):
2803 * whitespace.el (whitespace-newline, whitespace-space)
2804 (whitespace-hspace, whitespace-tab, whitespace-trailing)
2805 (whitespace-line, whitespace-space-before-tab)
2806 (whitespace-space-after-tab, whitespace-indentation)
2807 (whitespace-empty):
2808 * emulation/cua-base.el (cua-global-mark):
2809 * eshell/em-prompt.el (eshell-prompt):
2810 * net/newst-plainview.el (newsticker-new-item-face)
2811 (newsticker-old-item-face, newsticker-immortal-item-face)
2812 (newsticker-obsolete-item-face, newsticker-date-face)
2813 (newsticker-statistics-face, newsticker-default-face):
2814 * net/newst-reader.el (newsticker-feed-face)
2815 (newsticker-extra-face, newsticker-enclosure-face):
2816 * net/newst-treeview.el (newsticker-treeview-face)
2817 (newsticker-treeview-new-face, newsticker-treeview-old-face)
2818 (newsticker-treeview-immortal-face)
2819 (newsticker-treeview-obsolete-face)
2820 (newsticker-treeview-selection-face):
2821 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
2822 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
2823 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
2824 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
2825 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
2826 (nxml-outline-active-indicator, nxml-outline-ellipsis):
2827 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
2828 (mpuz-text):
2829 * progmodes/vera-mode.el (vera-font-lock-number)
2830 (vera-font-lock-function, vera-font-lock-interface):
2831 * textmodes/table.el (table-cell): Use new-style face specs, and
2832 don't use the old :bold and :italic attributes.
2833
2834 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
2835 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
2836 (ebrowse-member-class, ebrowse-progress): Likewise.
2837 (ebrowse-tree-mark-face, ebrowse-root-class-face)
2838 (ebrowse-file-name-face, ebrowse-default-face)
2839 (ebrowse-member-attribute-face, ebrowse-member-class-face)
2840 (ebrowse-progress-face): Remove obsolete faces.
2841
2842 * progmodes/flymake.el (flymake-errline, flymake-warnline):
2843 Inherit from error and warning faces respectively.
2844
2845 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
2846 Likewise.
2847 (flyspell-incorrect-face, flyspell-duplicate-face):
2848 Remove obsolete aliases.
2849
2850 2012-06-08 Michael Albinus <michael.albinus@gmx.de>
2851
2852 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
2853 Avoid infloop.
2854
2855 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
2856
2857 * startup.el (argv, argi): Make lexically scoped.
2858 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
2859 * emacs-lisp/cl-macs.el: Use lexical-binding.
2860 Rename cl-bind-* to cl--bind-*.
2861 * files.el: Don't require `cl' since it doesn't use it.
2862 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
2863
2864 2012-06-08 Juanma Barranquero <lekktu@gmail.com>
2865
2866 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
2867 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
2868 instead of calling external sort utility.
2869 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
2870
2871 2012-06-08 Eli Zaretskii <eliz@gnu.org>
2872
2873 * descr-text.el (describe-char): Mention how to insert the
2874 character, if the current input method doesn't support it.
2875 See the discussion in this thread for the details:
2876 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
2877
2878 2012-06-08 Sam Steingold <sds@gnu.org>
2879
2880 * bindings.el (global-map): Bind XF86Forward to next-buffer and
2881 XF86Back to previous-buffer.
2882 (minibuffer-local-map): Bind them to next-history-element and
2883 previous-history-element respectively.
2884 * help-mode.el (help-mode-map): Bind them to help-go-forward and
2885 help-go-back respectively.
2886 * info.el (Info-mode-map): Bind them to Info-history-forward and
2887 Info-history-back respectively.
2888 These are the keys next to Up on the ThinkPad keyboard.
2889
2890 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
2891
2892 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
2893 * emacs-lisp/cl-macs.el: Provide itself.
2894 (cl--labels-convert-cache): New var.
2895 (cl--labels-convert): New function.
2896 (cl-flet, cl-labels): New implementation with new semantics, relying on
2897 lexical-binding.
2898 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
2899 (cl-closure-vars, cl--function-convert-cache)
2900 (cl--function-convert): Move from cl-macs.el.
2901 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
2902 rename by removing the "cl-" prefix.
2903 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
2904
2905 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
2906
2907 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
2908 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
2909 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
2910 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
2911 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
2912 (cl-hash-table-count): Add old compatibility aliases.
2913
2914 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
2915 Use macroexpand-all-environment instead.
2916 (cl--old-macroexpand): New var.
2917 (cl--sm-macroexpand): New function.
2918 (cl-symbol-macrolet): Use it during macro expansion.
2919 (cl--function-convert-cache): New var.
2920 (cl--function-convert): New function, extracted from
2921 cl-macroexpand-all.
2922 (cl-lexical-let): Use it.
2923
2924 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
2925 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
2926 (cl-member): Remove old alias.
2927
2928 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
2929 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
2930 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
2931 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
2932 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
2933 (cl-macroexpand-cmacs): Remove var.
2934 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
2935 Use macroexpand-all instead.
2936
2937 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
2938
2939 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
2940 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
2941 (macroexp-copyable-p): New functions and macros.
2942 * emacs-lisp/edebug.el (edebug-unwrap):
2943 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
2944 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
2945 (pcase--let*): Remove.
2946 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
2947 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
2948 macroexp-const-p instead.
2949 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
2950
2951 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
2952 instead of "cl-" for internal definitions. Use macroexp-const-p.
2953 (cl-old-bc-file-form): Remove var.
2954 (cl-const-exprs-p): Remove fun.
2955 (cl-labels, cl-macrolet): Use backquote.
2956 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
2957 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
2958 (cl-define-setf-expander): Rename from cl-define-setf-method.
2959 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
2960
2961 * international/mule-cmds.el: Don't require CL.
2962 (view-hello-file): Don't use `letf'.
2963
2964 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
2965
2966 * tmm.el (tmm-prompt): Use string-prefix-p.
2967 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
2968 (tmm-add-prompt): Use minibuffer-completion-help.
2969 (tmm-delete-map): Remove.
2970
2971 * subr.el (kbd): Make it its own function.
2972
2973 2012-06-07 Stefan Merten <smerten@oekonux.de>
2974
2975 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
2976 Silence compiler warnings. Fix versions.
2977 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
2978 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
2979 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
2980 (rst-package-emacs-version-alist): Correct Emacs version to
2981 represent major merge with upstream.
2982 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
2983
2984 2012-06-06 Glenn Morris <rgm@gnu.org>
2985
2986 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
2987 Only print environment variables if set.
2988
2989 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
2990
2991 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
2992 (macroexp--cons): Rename from maybe-cons.
2993 (macroexp--accumulate): Rename from macroexp-accumulate.
2994 (macroexp--all-forms): Rename from macroexpand-all-forms.
2995 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
2996 (macroexp--expand-all): Rename from macroexpand-all-1.
2997
2998 2012-06-06 Sam Steingold <sds@gnu.org>
2999
3000 * calendar/calendar.el (calendar-in-read-only-buffer):
3001 Call `special-mode' to enable the standard read-only keybindings.
3002
3003 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
3004
3005 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
3006 with "loading" messages (bug#11635).
3007
3008 2012-06-06 Michael Albinus <michael.albinus@gmx.de>
3009
3010 * files.el (enable-remote-dir-locals): New option.
3011 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
3012
3013 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
3014 Ensure, that the temp directory is local.
3015
3016 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
3017 `temporary-file-directory'.
3018
3019 * progmodes/python.el (python-send-region): Ensure, that the
3020 temporary file is created also in the remote case.
3021
3022 2012-06-06 Glenn Morris <rgm@gnu.org>
3023
3024 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
3025 (vc-rcs-update-changelog): Use it.
3026
3027 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
3028
3029 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
3030 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
3031 (vc-sccs-diff): Replace use of the external vcdiff script.
3032
3033 2012-06-05 Glenn Morris <rgm@gnu.org>
3034
3035 * ledit.el: Move to obsolete/.
3036
3037 2012-06-05 Sam Steingold <sds@gnu.org>
3038
3039 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
3040 patch (Bug#11140).
3041
3042 2012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
3043
3044 * emacs-lisp/cust-print.el: Move to obsolete.
3045
3046 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
3047 compiler-macro expansion.
3048
3049 Add native compiler-macro support.
3050 * emacs-lisp/macroexp.el (macroexpand-all-1):
3051 Support compiler-macros directly. Properly follow aliases and apply
3052 the compiler macros more thoroughly.
3053 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
3054 macroexpand now properly follows aliases.
3055 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
3056 (cl-compiler-macroexpand): Use new prop.
3057 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
3058
3059 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
3060
3061 2012-06-05 Martin Rudalics <rudalics@gmx.at>
3062
3063 * window.el (get-lru-window, get-mru-window, get-largest-window):
3064 New argument NOT-SELECTED to avoid picking the selected window.
3065 (window--display-buffer-1, window--display-buffer-2): Replace by
3066 new function window--display-buffer
3067 (display-buffer-same-window, display-buffer-reuse-window)
3068 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
3069 Use window--display-buffer.
3070 (display-buffer-use-some-window): Remove temporary dedication
3071 hack by calling get-lru-window and get-largest-window with
3072 NOT-SELECTED argument non-nil. Call window--display-buffer.
3073
3074 2012-06-05 Glenn Morris <rgm@gnu.org>
3075
3076 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
3077 Replace external vcdiff script.
3078
3079 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
3080
3081 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
3082
3083 2012-06-04 Chong Yidong <cyd@gnu.org>
3084
3085 * image.el (imagemagick-types-inhibit): Revert last change.
3086 Add INFO and M.
3087 (imagemagick-enabled-types): Remove CIN and EPS*.
3088
3089 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
3090
3091 * emacs-lisp/cl-lib.el: Rename from cl.el.
3092 * emacs-lisp/cl.el: New compatibility file.
3093 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
3094 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
3095 to obey the "cl-" prefix.
3096 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
3097
3098 2012-06-03 Glenn Morris <rgm@gnu.org>
3099
3100 * emacs-lisp/authors.el (authors-aliases): Addition.
3101
3102 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
3103 Fix :version.
3104
3105 2012-06-03 Stefan Merten <smerten@oekonux.de>
3106
3107 * textmodes/rst.el: Add comments.
3108 (rst-transition, rst-adornment): New faces.
3109 (rst-adornment-faces-alist): Make default safe to reevaluate.
3110 Fixes
3111 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
3112 Improve customization tags.
3113 (rst-define-level-faces): Clarify meaning.
3114
3115 2012-06-03 Chong Yidong <cyd@gnu.org>
3116
3117 * progmodes/compile.el (compilation-mode-line-fail)
3118 (compilation-mode-line-run, compilation-mode-line-exit):
3119 New faces.
3120 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
3121
3122 2012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
3123
3124 * progmodes/which-func.el (which-func-update-ediff-windows):
3125 New function. Use it in ediff-select-hook (Bug#11478).
3126
3127 2012-06-03 Chong Yidong <cyd@gnu.org>
3128
3129 * bindings.el: Remove explicit help text from format-mode-line.
3130 It is now supplied by mode-line-default-help-echo.
3131 (mode-line-front-space, mode-line-end-spaces)
3132 (mode-line-misc-info): New variables.
3133 (mode-line-modes, mode-line-position): Move the default value to
3134 the variable definition.
3135 (mode-line-default-help-echo): New defcustom.
3136 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
3137 (mode-line-modified-help-echo): New functions.
3138 (mode-line-mule-info, mode-line-modified): Use them.
3139 (mode-line-eol-desc, propertized-buffer-identification):
3140 Consistency fixes for help text.
3141 (mode-line-coding-system-map): Allow using mouse-3 to invoke
3142 set-buffer-file-coding-system (Bug#289).
3143 (mode-line-mule-info-help-echo): Update help text.
3144
3145 2012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
3146
3147 * simple.el (execute-extended-command): Set real-this-command
3148 (bug#11506).
3149
3150 2012-06-02 Chong Yidong <cyd@gnu.org>
3151
3152 Remove incorrect uses of "modeline" in comments, docstrings, and
3153 function/variable names (Bug#10329).
3154
3155 * cus-edit.el (mode-line):
3156 * dframe.el (dframe-mouse-hscroll):
3157 * emacs-lisp/re-builder.el:
3158 * emacs-lisp/easy-mmode.el (define-minor-mode):
3159 * frame.el (set-frame-name):
3160 * help.el (lookup-minor-mode-from-indicator):
3161 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
3162 * progmodes/cc-cmds.el (c-toggle-auto-newline)
3163 (c-toggle-hungry-state):
3164 * progmodes/antlr-mode.el (antlr-language-alist):
3165 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
3166 * progmodes/vhdl-mode.el (vhdl-mode):
3167 * progmodes/which-func.el (which-func, which-func-cleanup-function):
3168 * term/ns-win.el (ns-face-at-pos):
3169 * term/sup-mouse.el (sup-mouse-report):
3170 * textmodes/flyspell.el (flyspell-mode-line-string):
3171 * textmodes/ispell.el (ispell-highlight-face):
3172 * textmodes/reftex-global.el:
3173 * vc/vc-arch.el (vc-arch-mode-line-string):
3174 * vc/vc-cvs.el (vc-cvs-mode-line-string):
3175 * vc/vc-git.el (vc-git-mode-line-string):
3176 * vc/vc-hooks.el (vc-display-status)
3177 (vc-default-mode-line-string):
3178 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
3179
3180 * ansi-color.el (ansi-color-faces-vector): Change default faces.
3181
3182 * dired.el (dired-sort-set-mode-line): Rename from
3183 dired-sort-set-modeline. All callers changed.
3184
3185 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
3186 eshell-status-in-modeline.
3187
3188 * foldout.el (foldout-mode-line-string): Rename from
3189 foldout-modeline-string. All callers changed.
3190 (foldout-update-mode-line): Rename from foldout-update-modeline.
3191
3192 * subr.el (redraw-modeline): Make into obsolete alias.
3193
3194 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
3195 timeclock-modeline-display. Make old name an alias.
3196 (timeclock-update-mode-line): Likewise. All callers changed.
3197 (timeclock-mode-line-display): No need to check before using
3198 add-hook.
3199 (timeclock-relative, timeclock-day-over-hook)
3200 (timeclock-use-elapsed, timeclock-mode-string)
3201 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
3202
3203 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
3204 crisp-mode-modeline-string.
3205
3206 * play/solitaire.el (solitaire-build-mode-line): Rename from
3207 solitaire-build-modeline. All callers changed.
3208
3209 * play/zone.el (zone-hiding-mode-line): Rename from
3210 zone-hiding-modeline. All callers changed.
3211 (zone): Remove unusued `modeline-hidden-level' property.
3212
3213 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
3214 xscheme-modeline-initialize. All callers changed.
3215
3216 * strokes.el (strokes-lighter): Rename from
3217 strokes-modeline-string.
3218
3219 * textmodes/sgml-mode.el (html-face-tag-alist)
3220 (html-tag-face-alist): Use mode-line face instead of obsolete
3221 alias modeline.
3222
3223 2012-06-02 Stefan Merten <smerten@oekonux.de>
3224
3225 * textmodes/rst.el: Always require `cl'.
3226 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
3227
3228 2012-06-02 Chong Yidong <cyd@gnu.org>
3229
3230 * image.el (imagemagick-enabled-types): Rename from
3231 imagemagick-types-enable. Add many more types.
3232 (imagemagick-types-inhibit): Change default to nil.
3233 (imagemagick-filter-types): Caller changed.
3234
3235 2012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
3236
3237 * emacs-lisp/cl-macs.el: Use backquotes.
3238 (cl-transform-function-property): Use eval-and-compile rather than
3239 abusing `require'.
3240 (defstruct): Use declare-function instead of with-no-warnings.
3241
3242 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
3243 (byte-compile-output-docform): Re-add the print-circle bindings.
3244 (byte-compile-fix-header): Use #$ just because it's shorter.
3245 (byte-compile-output-file-form): Remove defun/defmacro.
3246
3247 2012-06-01 Martin Rudalics <rudalics@gmx.at>
3248
3249 * simple.el (choose-completion): Remove now obsolete binding for
3250 owindow.
3251
3252 2012-06-01 Michael Albinus <michael.albinus@gmx.de>
3253
3254 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
3255 in order to avoid "Stack overflow in regexp matcher".
3256
3257 2012-05-31 Glenn Morris <rgm@gnu.org>
3258
3259 * image.el: For clarity, call imagemagick-register-types at
3260 top-level, rather than relying on a custom :initialize.
3261 (imagemagick-types-enable): New option. (Bug#11557)
3262 (imagemagick-filter-types): New function. (Bug#7406)
3263 (imagemagick-register-types): Use imagemagick-filter-types.
3264 If disabling support, remove elements altogether rather
3265 than using an impossible regexp.
3266 (imagemagick-types-inhibit): Give it the default init function.
3267
3268 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
3269
3270 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
3271 Handle arbitrary file name lengths (Bug#11585).
3272
3273 2012-05-31 Martin Rudalics <rudalics@gmx.at>
3274
3275 * desktop.el (desktop-read): Clear previous and next buffers for
3276 all windows and bury *Messages* buffer (bug#11556).
3277
3278 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
3279
3280 Add `declare' for `defun'. Align `defmacro's with it.
3281 * emacs-lisp/easy-mmode.el (define-minor-mode)
3282 (define-globalized-minor-mode): Don't autoload the var definitions.
3283 * emacs-lisp/byte-run.el: Use lexical-binding.
3284 (defun-declarations-alist, macro-declarations-alist): New vars.
3285 (defmacro, defun): Use them.
3286 (make-obsolete, define-obsolete-function-alias)
3287 (make-obsolete-variable, define-obsolete-variable-alias):
3288 Use `declare'.
3289 (macro-declaration-function): Mark obsolete.
3290 * emacs-lisp/autoload.el: Use lexical-binding.
3291 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
3292
3293 2012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3294
3295 * textmodes/ispell.el (ispell-with-no-warnings):
3296 Define as a macro.
3297 (ispell-kill-ispell, ispell-change-dictionary):
3298 Use `called-interactively-p' for Emacs instead of obsolete
3299 `interactive-p'.
3300
3301 2012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
3302
3303 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
3304 (macro-declaration-function): Move var from C code.
3305 (macro-declaration-function): Define function with defalias.
3306 * emacs-lisp/macroexp.el (macroexpand-all-1):
3307 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
3308 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
3309 defun/defmacro any more.
3310 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
3311 Provide fallback for unknown arglist.
3312 (byte-compile-arglist-warn): Change calling convention.
3313 (byte-compile-output-file-form): Move print-vars binding.
3314 (byte-compile-output-docform): Simplify accordingly.
3315 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
3316 (byte-compile-defmacro-declaration): Remove.
3317 (byte-compile-file-form-defmumble): Generalize to defalias.
3318 (byte-compile-output-as-comment): Return byte-positions.
3319 Simplify callers accordingly.
3320 (byte-compile-lambda): Use `assert'.
3321 (byte-compile-defun, byte-compile-defmacro): Remove.
3322 (byte-compile-file-form-defalias):
3323 Use byte-compile-file-form-defmumble.
3324 (byte-compile-defalias-warn): Remove.
3325
3326 2012-05-29 Stefan Merten <smerten@oekonux.de>
3327
3328 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
3329 possible. Fix authors. Improve comments. Improve loading of `cl'.
3330
3331 (rst-mode-abbrev-table): Merge definition.
3332 (rst-mode): Make sure `font-lock-defaults' is buffer local.
3333 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
3334
3335 2012-05-29 Ulf Jasper <ulf.jasper@web.de>
3336
3337 * calendar/icalendar.el
3338 (icalendar-export-region): Export UID properly.
3339
3340 2012-05-29 Leo Liu <sdl.web@gmail.com>
3341 * calendar/icalendar.el (icalendar-import-format):
3342 Add `icalendar-import-format-uid' (Bug#11525).
3343 (icalendar-import-format-uid): New.
3344 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
3345 Export UID.
3346
3347 2012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
3348
3349 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
3350 different alternative patterns.
3351 (pcase-codegen): Be more careful to preserve identity.
3352 (pcase--u1): Don't forget to mark vars as used.
3353
3354 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
3355 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
3356 (byte-compile-from-buffer): ...rather than here.
3357
3358 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
3359 functions from byte-compile-function-environment.
3360
3361 2012-05-29 Troels Nielsen <bn.troels@gmail.com>
3362
3363 * window.el (window-deletable-p): Avoid deleting the root window
3364 of a frame with an active minibuffer.
3365
3366 2012-05-29 Martin Rudalics <rudalics@gmx.at>
3367
3368 * simple.el (choose-completion): Use quit-window (Bug#11567).
3369
3370 2012-05-29 Chong Yidong <cyd@gnu.org>
3371
3372 * whitespace.el (whitespace-cleanup): Fix usage of
3373 whitespace-empty-at-bob-regexp (Bug#11492).
3374
3375 2012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
3376
3377 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
3378 revert (Bug#11488).
3379
3380 2012-05-29 Juri Linkov <juri@jurta.org>
3381
3382 * isearch.el (isearch-mode-map): Bind `M-s _' to
3383 `isearch-toggle-symbol'. Bind `M-s c' to
3384 `isearch-toggle-case-fold'.
3385 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
3386 (isearch-forward): Add `M-s _' to the docstring.
3387 (isearch-forward-symbol, isearch-toggle-case-fold)
3388 (isearch-symbol-regexp): New functions. (Bug#11381)
3389
3390 2012-05-29 Juri Linkov <juri@jurta.org>
3391
3392 * isearch.el (isearch-word): Add docstring. (Bug#11381)
3393 (isearch-occur, isearch-search-and-update): If `isearch-word' is
3394 a function, call it to get the regexp.
3395 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
3396 property `isearch-message-prefix' instead of the string "word ".
3397 (isearch-search-fun-default): For the case of `isearch-word',
3398 return a lambda that calls re-search-forward/re-search-backward
3399 with a regexp returned by `word-search-regexp' or by the function
3400 in `isearch-word'.
3401
3402 2012-05-29 Juri Linkov <juri@jurta.org>
3403
3404 * isearch.el (isearch-search-fun-default): New function.
3405 (isearch-search-fun): Move default part to the new function
3406 `isearch-search-fun-default'.
3407 (isearch-search-fun-function): Set the default value to
3408 `isearch-search-fun-default'. (Bug#11381)
3409
3410 * comint.el (comint-history-isearch-end):
3411 Use `isearch-search-fun-default'.
3412 (comint-history-isearch-search): Use `isearch-search-fun-default'
3413 and remove spacial case for `isearch-word'.
3414 (comint-history-isearch-wrap): Remove spacial case for
3415 `isearch-word'.
3416
3417 * hexl.el (hexl-isearch-search-function):
3418 Use `isearch-search-fun-default'.
3419
3420 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
3421 Use `word-search-regexp' for `isearch-word'.
3422
3423 * misearch.el (multi-isearch-search-fun):
3424 Use `isearch-search-fun-default'.
3425
3426 * simple.el (minibuffer-history-isearch-search):
3427 Use `isearch-search-fun-default' and remove spacial case for
3428 `isearch-word'.
3429 (minibuffer-history-isearch-wrap): Remove spacial case for
3430 `isearch-word'.
3431
3432 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
3433 Remove spacial case for `isearch-word'.
3434 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
3435
3436 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3437
3438 Decrease XEmacs incompatibilities.
3439 * textmodes/flyspell.el (flyspell-check-pre-word-p):
3440 Use `string-match'.
3441 (flyspell-delete-region-overlays): Use alternative definition for
3442 XEmacs.
3443 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
3444 (flyspell-word): Use `process-kill-without-query' if XEmacs.
3445 (flyspell-mode-on): Use `interactive-p' if XEmacs.
3446 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
3447 `define-obsolete-face-alias' under XEmacs, but old method.
3448
3449 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
3450 `with-no-warnings' definition or Emacs alias.
3451 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
3452 (ispell-word): Do not use `region-p' if XEmacs.
3453
3454 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3455
3456 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
3457 Check for `ispell-dictionary-base-alist' instead of full
3458 `ispell-dictionary-alist'.
3459 (ispell-init-process): Show spellchecker when starting new Ispell
3460 process.
3461
3462 2012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
3463
3464 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
3465 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
3466
3467 2012-05-27 Juanma Barranquero <lekktu@gmail.com>
3468
3469 * version.el (motif-version-string, gtk-version-string)
3470 (ns-version-string): Declare.
3471
3472 2012-05-27 Juri Linkov <juri@jurta.org>
3473
3474 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
3475 after the `eval-defun-1' specialcaseing
3476 like in `edebug-eval-defun' (bug#10181).
3477
3478 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
3479 like in `eval-defun-1'.
3480
3481 2012-05-27 Eli Zaretskii <eliz@gnu.org>
3482
3483 * mail/sendmail.el (mail-yank-region):
3484 Recognize rmail-yank-current-message in addition to insert-buffer.
3485 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
3486 a *mail* buffer created through rmail-start-mail with sendmail as
3487 mail-user-agent.
3488
3489 2012-05-27 Chong Yidong <cyd@gnu.org>
3490
3491 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
3492 Default to 256 (Bug#11267).
3493
3494 * help.el (describe-mode): Doc fix.
3495
3496 2012-05-26 Glenn Morris <rgm@gnu.org>
3497
3498 * w32-fns.el (w32-init-info): Remove.
3499 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
3500
3501 * info.el (info-initialize): For self-contained NS builds, put the
3502 included info/ directory at the front. (Bug#2791)
3503
3504 * paths.el (Info-default-directory-list): Make it a defcustom,
3505 mainly so that we can use custom-initialize-delay.
3506
3507 2012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
3508
3509 * subr.el (buffer-has-markers-at): Mark obsolete.
3510
3511 * subr.el (lambda): Use declare.
3512
3513 * emacs-lisp/lisp-mode.el (lambda):
3514 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
3515
3516 2012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
3517
3518 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
3519
3520 2012-05-26 Glenn Morris <rgm@gnu.org>
3521
3522 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
3523
3524 2012-05-25 Glenn Morris <rgm@gnu.org>
3525
3526 * paths.el: Remove no-byte-compile.
3527 * loadup.el: No need to load paths.el uncompiled.
3528
3529 * image.el (imagemagick-types-inhibit): Doc fix.
3530
3531 * version.el: Remove no-byte-compile and associated formatting.
3532 * loadup.el: No need to load version.el uncompiled. AFAICS, this
3533 is ancient code from when there was an "inc-vers.el".
3534
3535 2012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
3536
3537 * progmodes/gdb-mi.el: Minor style changes.
3538 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
3539 Turn into minor modes.
3540 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
3541 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
3542 (gdb-shell): Remove unneeded let-binding.
3543 (gdb-get-many-fields): Eliminate O(n²) behavior.
3544
3545 2012-05-25 Eli Zaretskii <eliz@gnu.org>
3546
3547 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
3548 platforms that don't link in fontset.c.
3549
3550 2012-05-25 Juri Linkov <juri@jurta.org>
3551
3552 Use the same diff color scheme as in modern VCSes (bug#10181).
3553
3554 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
3555 to avoid confusion with `diff-added' that now uses green colors.
3556 (diff-removed): Use shades of red.
3557 (diff-added): Use shades of green.
3558 (diff-changed): Leave just the yellow color.
3559 (diff-use-changed-face): New variable.
3560 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
3561 how to highlight context diff changes.
3562 (diff-refine-change): Use shades of yellow.
3563 (diff-refine-removed): New face that uses shades of red.
3564 (diff-refine-added): New face that uses shades of green.
3565 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
3566 `diff-refine-removed' in the call to `smerge-refine-subst'
3567 depending on the value of `diff-use-changed-face'.
3568
3569 * vc/smerge-mode.el (smerge-mine): Use shades of red.
3570 (smerge-other): Use shades of green.
3571 (smerge-base): Use shades of yellow.
3572 (smerge-refined-change): Empty face.
3573 (smerge-refined-removed): New face that uses shades of red.
3574 (smerge-refined-added): New face that uses shades of green.
3575 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
3576 args `props-r' and `props-a', and use them. Doc fix.
3577 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
3578 on its value use different faces `smerge-refined-change',
3579 `smerge-refined-removed', `smerge-refined-added' in the call to
3580 `smerge-refine-subst'.
3581
3582 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
3583 Add face condition `min-colors 88' with shades of red.
3584 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
3585 `min-colors 88' with shades of green.
3586 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
3587 `min-colors 88' with shades of yellow.
3588
3589 2012-05-24 Glenn Morris <rgm@gnu.org>
3590
3591 * paths.el (prune-directory-list, remote-shell-program): Move to...
3592 * files.el (prune-directory-list, remote-shell-program): ...here.
3593 For the latter, delay initialization, prefer ssh, just search PATH.
3594
3595 * paths.el (term-file-prefix): Move to faces.el (the only user).
3596 * faces.el (term-file-prefix): Move here, make it a defcustom.
3597
3598 * paths.el (news-directory, news-path, news-inews-program):
3599 Move to gnus/nnspool.el.
3600
3601 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
3602
3603 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
3604 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
3605 Make the latter a defcustom, with a delayed initialization.
3606
3607 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
3608 These were deleted from Gnus itself late 2010.
3609
3610 2012-05-22 Juanma Barranquero <lekktu@gmail.com>
3611
3612 * progmodes/which-func.el (which-func-ff-hook):
3613 Check against user-error, not error.
3614
3615 * emacs-lisp/edebug.el (top): Do not load or set up loading of
3616 cl-specs.el, which no longer exists.
3617
3618 2012-05-22 Glenn Morris <rgm@gnu.org>
3619
3620 * info.el (info-emacs-bug): New command.
3621 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
3622 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
3623
3624 2012-05-21 Glenn Morris <rgm@gnu.org>
3625
3626 * makefile.w32-in (update-subdirs-SH):
3627 * Makefile.in (update-subdirs): Update for moved update-subdirs.
3628
3629 2012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
3630
3631 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
3632
3633 * progmodes/compile.el (compilation-error-regexp-alist-alist):
3634 Simplify Maven regexp, and make sure the file can't start with a space
3635 (bug#11517).
3636
3637 2012-05-21 Glenn Morris <rgm@gnu.org>
3638
3639 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
3640 Scrap superfluous subshells.
3641
3642 2012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
3643
3644 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
3645 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
3646
3647 2012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
3648
3649 * calc/calc.el (calc-ensure-consistent-units): New variable.
3650
3651 * calc/calc-units.el (math-consistent-units-p)
3652 (math-check-unit-consistency): New functions.
3653 (calc-quick-units, calc-convert-units):
3654 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
3655 is non-nil.
3656 (calc-extract-units): Fix typo.
3657
3658 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
3659
3660 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
3661
3662 * textmodes/flyspell.el: Commenting style, plus code simplifications.
3663 (flyspell-default-deplacement-commands): Don't spell check after
3664 repeated window/frame switches (e.g. triggered by mouse-movement).
3665 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
3666 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
3667 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
3668 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
3669 Remove unused vars.
3670 (flyspell-get-casechars, flyspell-get-not-casechars):
3671 Simplify; Don't bother removing a ] just to add it back.
3672 * textmodes/ispell.el (ispell-program-name): Use executable-find.
3673
3674 2012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3675
3676 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
3677 New functions.
3678 (math-function-table): Add support for more C functions.
3679
3680 2012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3681
3682 * textmodes/flyspell.el (flyspell-check-pre-word-p)
3683 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
3684 Protect delay handling for otherchars against empty otherchars.
3685
3686 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
3687
3688 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
3689 their respective macro declarations.
3690 * skeleton.el (define-skeleton):
3691 * progmodes/compile.el (define-compilation-mode):
3692 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
3693 (define-ibuffer-filter):
3694 * emacs-lisp/generic.el (define-generic-mode):
3695 * emacs-lisp/easy-mmode.el (define-minor-mode)
3696 (define-globalized-minor-mode):
3697 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
3698 * emacs-lisp/byte-run.el (defsubst):
3699 * custom.el (deftheme): Add doc-string metadata.
3700
3701 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
3702
3703 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
3704
3705 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
3706
3707 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
3708
3709 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
3710 * emacs-lisp/cl-macs.el: Idem.
3711 * emacs-lisp/cl-specs.el: Remove.
3712
3713 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
3714
3715 Minor renaming of internal CL functions and variables.
3716 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
3717 (cl--position): Rename from cl-position.
3718 (cl--delete-duplicates): Rename from cl-delete-duplicates.
3719 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
3720 (cl--random-state): Rename from *random-state*.
3721
3722 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
3723
3724 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
3725 parens around the arg list (bug#11499).
3726
3727 2012-05-17 Juri Linkov <juri@jurta.org>
3728
3729 * isearch.el (word-search-regexp, word-search-backward)
3730 (word-search-forward, word-search-backward-lax)
3731 (word-search-forward-lax): Move functions from search.c
3732 (bug#10145, bug#11381).
3733
3734 2012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3735
3736 * textmodes/flyspell.el (flyspell-check-pre-word-p)
3737 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
3738 Delay for otherchars as for normal word components.
3739
3740 2012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
3741
3742 * minibuffer.el (completion--sifn-requote): Fix last change.
3743 (minibuffer-local-must-match-filename-map):
3744 Move define-obsolete-variable-alias before its var.
3745
3746 2012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
3747
3748 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
3749
3750 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
3751 behavior.
3752 (completion--string-equal-p): New function.
3753 (completion--twq-all): Use it to get better assertion failure data.
3754
3755 Only handle ".." and '..' quoting in shell-mode (bug#11466).
3756 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
3757 (shell--requote-argument): New functions.
3758 (shell-completion-vars): Use them.
3759 (shell--parse-pcomplete-arguments): Rename from
3760 shell-parse-pcomplete-arguments.
3761 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
3762 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
3763 Obey comint-file-name-quote-list.
3764
3765 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
3766 (smie-indent-keyword): Use it.
3767
3768 2012-05-14 Stefan Merten <smerten@oekonux.de>
3769
3770 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
3771
3772 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
3773
3774 * net/rlogin.el (rlogin-mode-map): Fix last change.
3775
3776 2012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
3777
3778 * mail/smtpmail.el (smtpmail-send-command): Send the command and
3779 the following \r\n using a single `process-send-string', since the
3780 Lotus SMTP server refuses to accept any commands if they are sent
3781 with two `process-send-string's (Bug#11444).
3782
3783 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
3784
3785 * shell.el (shell-parse-pcomplete-arguments):
3786 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
3787
3788 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
3789
3790 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
3791 (image-transform-scale, image-transform-right-angle-fudge): New vars.
3792 (image-transform-width, image-transform-fit-width): New functions.
3793 (image-transform-properties): Use them.
3794 (image-transform-check-size): New function.
3795 (image-toggle-display-image): Use it (for testing).
3796 (image-transform-set-rotation): Reduce angle mod 360.
3797 Delete obsolete comment.
3798
3799 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
3800
3801 * image-mode.el: Fix scaling (bug#11399).
3802 (image-transform-resize): Doc fix.
3803 (image-transform-properties): Default scale is 1 and height should
3804 be an integer.
3805
3806 2012-05-13 Johan Bockgård <bojohan@gnu.org>
3807
3808 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
3809 than hard-coding `car', to fix misbehavior when moving forward.
3810
3811 2012-05-13 Chong Yidong <cyd@gnu.org>
3812
3813 * emacs-lisp/tabulated-list.el (tabulated-list-format)
3814 (tabulated-list-entries, tabulated-list-padding)
3815 (tabulated-list-sort-key): Make permanent-local.
3816
3817 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
3818 (electric-buffer-list): Put electric buffer menu
3819 command descriptions in this docstring, instead of the docstring
3820 of electric-buffer-menu-mode. Code cleanups.
3821 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
3822 Electric-buffer-menu-mode.
3823 (electric-buffer-update-highlight): Minor code cleanup.
3824
3825 2012-05-13 Michael Albinus <michael.albinus@gmx.de>
3826
3827 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
3828 (Bug#11447)
3829
3830 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
3831
3832 Move define-obsolete-variable-alias before the var's definition.
3833 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
3834 * tooltip.el (tooltip-hook):
3835 * textmodes/reftex-toc.el (reftex-toc-map):
3836 * textmodes/reftex-sel.el (reftex-select-label-map)
3837 (reftex-select-bib-map):
3838 * textmodes/reftex-index.el (reftex-index-map)
3839 (reftex-index-phrases-map):
3840 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
3841 * progmodes/meta-mode.el (meta-mode-map):
3842 * novice.el (disabled-command-hook):
3843 * loadhist.el (unload-hook-features-list):
3844 * frame.el (blink-cursor):
3845 * files.el (find-file-not-found-hooks, write-file-hooks)
3846 (write-contents-hooks):
3847 * emulation/tpu-edt.el (GOLD-map):
3848 * emacs-lock.el (emacs-lock-from-exiting):
3849 * emacs-lisp/generic.el (generic-font-lock-defaults):
3850 * emacs-lisp/chart.el (chart-map):
3851 * dos-fns.el (register-name-alist):
3852 * dired-x.el (dired-omit-files-p):
3853 * desktop.el (desktop-enable):
3854 * cus-edit.el (custom-mode-hook):
3855 * buff-menu.el (buffer-menu-mode-hook):
3856 * bookmark.el (bookmark-read-annotation-text-func)
3857 (bookmark-exit-hooks):
3858 * allout.el (allout-mode-deactivate-hook)
3859 (allout-exposure-change-hook, allout-structure-added-hook)
3860 (allout-structure-deleted-hook, allout-structure-shifted-hook):
3861 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
3862 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
3863 comes before the corresponding variable's definition.
3864
3865 2012-05-12 Chong Yidong <cyd@gnu.org>
3866
3867 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
3868 (Buffer-menu-mouse-select): Restore function (Bug#11459).
3869 (Buffer-menu-mode-map): Bind it.
3870 (Buffer-menu--pretty-name): Add a mouse-face property.
3871
3872 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
3873
3874 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
3875 (prolog-upper-case-string, prolog-lower-case-string)
3876 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
3877 (prolog-use-smie, prolog-smie-grammar): New vars.
3878 (prolog-smie-forward-token, prolog-smie-backward-token)
3879 (prolog-smie-rules): New funs.
3880 (prolog-comment-indent): Remove.
3881 (prolog-mode-variables): Use default comment indentation instead.
3882 Setup SMIE.
3883 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
3884 (prolog-mode): Don't call them any more.
3885 (prolog-electric-colon, prolog-electric-dash)
3886 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
3887
3888 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
3889
3890 * minibuffer.el (completion--twq-all): Again, allow case differences.
3891
3892 * term.el: Move keymap initialization code to be more idiomatic.
3893 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
3894 (term-terminal-menu): Move initialization into declaration.
3895 (term-escape-char): Let the user set it in her .emacs.
3896
3897 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
3898 Provide SMIE-based indentation (not enabled by default yet).
3899 (sh-mode-map): Don't bind electric keys.
3900 Use electric-pair-mode instead of skeleton-pair.
3901 (sh-assignment-regexp): Fit within 80 columns.
3902 (sh-indent-supported): Specify actual shell name instead of boolean.
3903 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
3904 (sh-maybe-here-document): Use it. Make obsolete.
3905 (sh-electric-here-document-mode) New minor mode.
3906 (sh-mode): Use it. Don't set sh-indent-supported-here here.
3907 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
3908 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
3909 (sh-smie-rc-grammar, sh-use-smie): New vars.
3910 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
3911 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
3912 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
3913 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
3914 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
3915 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
3916 (sh-set-shell): Use smie-setup if requested.
3917
3918 * term.el (term-set-escape-char): Properly set term-escape-char.
3919 See http://stackoverflow.com/questions/10524656.
3920
3921 2012-05-10 Chong Yidong <cyd@gnu.org>
3922
3923 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
3924 Use url-generic-parse-url, and handle host names and Windows
3925 filenames properly.
3926 (ffap-url-unwrap-remote): Use url-generic-parse-url.
3927 (ffap-url-unwrap-remote): Accept list values, specifying a list of
3928 URL schemes to work on.
3929 (ffap--toggle-read-only): New function.
3930 (ffap-read-only, ffap-read-only-other-window)
3931 (ffap-read-only-other-frame): Use it.
3932 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
3933 necessary for ffap-url-unwrap-remote.
3934
3935 2012-05-10 Dave Abrahams <dave@boostpro.com>
3936
3937 * cus-start.el (create-lockfiles): Add it.
3938
3939 2012-05-09 Chong Yidong <cyd@gnu.org>
3940
3941 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
3942 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
3943
3944 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3945
3946 * shell.el (shell-completion-vars): Fix last change (bug#11348).
3947
3948 2012-05-09 Chong Yidong <cyd@gnu.org>
3949
3950 * ansi-color.el (ansi-color-process-output): Check for validity of
3951 comint-last-output-start before using it. This avoids a bad
3952 interaction with gdb-mi's input/output buffer.
3953
3954 2012-05-09 Glenn Morris <rgm@gnu.org>
3955
3956 * files.el (dir-locals-read-from-file):
3957 Mention dir-locals in any error message.
3958
3959 2012-05-09 Chong Yidong <cyd@gnu.org>
3960
3961 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
3962 package (Bug#11410).
3963
3964 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
3965 variables into description.
3966
3967 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3968
3969 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
3970 shell-delimiter-argument-list (bug#11348).
3971 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
3972
3973 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
3974
3975 * textmodes/rst.el: Silence byte-compiler warnings.
3976 (rst-re-alist, rst-reset-section-caches): Move around.
3977 (rst-re): Use `characterp', not `char-valid-p'.
3978 (font-lock-beg, font-lock-end): Declare.
3979
3980 * progmodes/idlw-shell.el (specs): Remove reference to deleted
3981 variable `idlwave-shell-activate-alt-keybindings' and simplify.
3982
3983 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
3984
3985 2012-05-08 Glenn Morris <rgm@gnu.org>
3986
3987 * files.el (auto-mode-alist): Treat ".make" like ".mk".
3988
3989 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
3990
3991 * vc/log-edit.el: Add GNU coding standards highlighting.
3992 (log-edit-font-lock-gnu-style)
3993 (log-edit-font-lock-gnu-keywords): New vars.
3994 (log-edit-font-lock-keywords): New fun.
3995 (log-edit-mode): Don't fold case in font-lock.
3996 (log-edit-font-lock-keywords): Do not assume case-folding.
3997
3998 * imenu.el: Misc cleanup. Make docstrings out of comments.
3999 Use lexical-binding.
4000 (imenu--index-alist, imenu--last-menubar-index-alist)
4001 (imenu-menubar-modified-tick): Use defvar-local.
4002 (imenu--split-menu): Remove unused var.
4003 (imenu--cleanup-seen): Declare as global.
4004 (imenu--cleanup): Use dolist.
4005
4006 * subr.el (defvar-local): Add debug spec and doc-string position.
4007
4008 2012-05-08 Glenn Morris <rgm@gnu.org>
4009
4010 * language/burmese.el, language/cham.el, language/czech.el:
4011 * language/english.el, language/georgian.el, language/greek.el:
4012 * language/japanese.el, language/khmer.el, language/korean.el:
4013 * language/lao.el, language/misc-lang.el, language/romanian.el:
4014 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
4015 * language/thai.el, language/utf-8-lang.el:
4016 Remove no-byte-compile setting.
4017
4018 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
4019
4020 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
4021
4022 * progmodes/make-mode.el (makefile-browse):
4023 Remove unnecessary interactive. (Bug#11324)
4024
4025 2012-05-07 Glenn Morris <rgm@gnu.org>
4026
4027 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
4028
4029 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
4030
4031 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
4032
4033 * loadup.el: Preload newcomment.el.
4034 * newcomment.el: Move autoload-only code to toplevel.
4035
4036 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
4037 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
4038 Handle new :right-align column property.
4039 (tabulated-list-print-col): Idem, plus use `display' text-property to
4040 try and preserve alignment for variable pitch fonts.
4041
4042 2012-05-07 Chong Yidong <cyd@gnu.org>
4043
4044 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
4045 (tabulated-list-use-header-line): New var.
4046 (tabulated-list-init-header): Use it.
4047 (tabulated-list-print-fake-header): New function.
4048 (tabulated-list-print): Use it.
4049 (tabulated-list-sort-button-map): Add non-header-line commands.
4050 (tabulated-list-init-header): Add column name property to basic
4051 labels as well.
4052 (tabulated-list-col-sort): Handle non-header-line button case.
4053 (tabulated-list--sort-by-column-name): Fix a corner case.
4054
4055 * buff-menu.el (list-buffers--refresh):
4056 Handle Buffer-menu-use-header-line.
4057
4058 2012-05-06 Chong Yidong <cyd@gnu.org>
4059
4060 * buff-menu.el: Convert to Tabulated List mode.
4061 (Buffer-menu-buffer+size-width): Make obsolete.
4062 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
4063 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
4064 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
4065 documentation into docstring of buffer-menu.
4066 (Buffer-menu-toggle-files-only): Add an informative message.
4067 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
4068 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
4069 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
4070 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
4071 (Buffer-menu-execute, Buffer-menu-select)
4072 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
4073 (Buffer-menu-bury): Use Tabulated List machinery.
4074 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
4075 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
4076 Delete.
4077 (list-buffers--refresh): New function.
4078 (list-buffers-noselect): Use it.
4079 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
4080 (Buffer-menu--pretty-file-name): New helper functions.
4081
4082 * loadup.el: Preload tabulated-list.
4083
4084 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
4085 tabulated-list-sort-column.
4086 (tabulated-list-init-header): Add the initial aligning space even
4087 if tabulated-list-padding is zero.
4088
4089 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
4090
4091 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
4092 whose cdr is not a cons cell correctly (bug#11038).
4093
4094 2012-05-06 Chong Yidong <cyd@gnu.org>
4095
4096 * emacs-lisp/tabulated-list.el (tabulated-list-format):
4097 Accept additional plist in column descriptors.
4098 (tabulated-list-init-header): Obey it.
4099 (tabulated-list-get-entry): New function.
4100 (tabulated-list-put-tag): Use it. Use string-width instead of
4101 length.
4102 (tabulated-list--column-number): New function.
4103 (tabulated-list-print): Use it.
4104 (tabulated-list-print-col): New function.
4105 Set `tabulated-list-column-name' property on each column's text.
4106 (tabulated-list-print-entry): Use it.
4107 (tabulated-list-delete-entry, tabulated-list-set-col):
4108 New functions.
4109 (tabulated-list-sort-column): New command (Bug#11337).
4110
4111 * buff-menu.el (list-buffers): Move C-x C-b binding from
4112 buff-menu.el to bindings.el.
4113
4114 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
4115 :advertised-binding feature.
4116
4117 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
4118
4119 * progmodes/compile.el (compilation-internal-error-properties):
4120 Calculate start position correctly when end-col is set but
4121 end-line is not (Bug#11382).
4122
4123 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
4124
4125 * man.el (Man-unindent): Use text-property-default-nonsticky to
4126 prevent untabify from inheriting face properties (Bug#11408).
4127
4128 2012-05-05 Stefan Merten <smerten@oekonux.de>
4129
4130 * textmodes/rst.el: Major merge with upstream development up to
4131 Docutils SVN r7399 / rst.el V1.2.1.
4132
4133 Clarify maintainership and authors.
4134
4135 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
4136 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
4137 (rst-official-version, rst-official-cvs-rev, rst-version)
4138 (rst-package-emacs-version-alist): New functions and variables
4139 for version information.
4140
4141 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
4142 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
4143 (rst-mode-syntax-table, rst-mode): New and corrected functions
4144 and variables representing reStructuredText features.
4145
4146 (rst-re): New function for reStructuredText regexes. Use in
4147 many places.
4148
4149 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
4150 (rst-mode-map): Rebind keys.
4151
4152 (rst-mode-lazy, rst-font-lock-keywords)
4153 (rst-font-lock-extend-region)
4154 (rst-font-lock-extend-region-internal)
4155 (rst-font-lock-extend-region-extend)
4156 (rst-font-lock-find-unindented-line-limit)
4157 (rst-font-lock-find-unindented-line-match)
4158 (rst-adornment-level, rst-font-lock-adornment-level)
4159 (rst-font-lock-adornment-match)
4160 (rst-font-lock-handle-adornment-pre-match-form)
4161 (rst-font-lock-handle-adornment-matcher): Major revision of
4162 font-locking. Integrate with other code. Use `jit-lock-mode'.
4163
4164 (rst-preferred-adornments, rst-adjust-hook)
4165 (rst-new-adornment-down, rst-preferred-bullets)
4166 (rst-preferred-bullets, rst-indent, rst-indent-width)
4167 (rst-indent-field, rst-indent-literal-normal)
4168 (rst-indent-literal-minimized, rst-indent-comment): Change,
4169 extend and improve customization.
4170
4171 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
4172 (rst-normalize-cursor-position, rst-get-decoration)
4173 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
4174 (rst-rstrip, rst-toc-insert-find-delete-contents)
4175 (rst-shift-fill-region, rst-compute-bullet-tabs)
4176 (rst-debug-print-tabs, rst-debug-mark-found)
4177 (rst-shift-region-guts, rst-shift-region-right)
4178 (rst-shift-region-left, rst-use-char-classes)
4179 (rst-font-lock-keywords-function)
4180 (rst-font-lock-indentation-point)
4181 (rst-font-lock-find-unindented-line-begin)
4182 (rst-font-lock-find-unindented-line-end)
4183 (rst-font-lock-find-unindented-line)
4184 (rst-font-lock-adornment-point, rst-font-lock-level)
4185 (rst-adornment-level-alist): Remove functions and variables.
4186
4187 (rst-compare-adornments, rst-get-adornment-match)
4188 (rst-suggest-new-adornment, rst-get-adornments-around)
4189 (rst-adornment-complete-p, rst-get-next-adornment)
4190 (rst-adjust-adornment, rst-display-adornments-hierarchy)
4191 (rst-straighten-adornments): Standardize function names to
4192 use "adornment" instead of "decoration". Correct callers.
4193 Similar standardizing in many places.
4194
4195 (rst-update-section, rst-adjust, rst-promote-region)
4196 (rst-enumerate-region, rst-bullet-list-region)
4197 (rst-repeat-last-character): Correct use of `interactive'.
4198
4199 (rst-classify-adornment, rst-find-all-adornments)
4200 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
4201 (rst-find-leftmost-column, rst-repeat-last-character):
4202 Refactor functions.
4203
4204 (rst-find-title-line, rst-reset-section-caches)
4205 (rst-get-adornments-around, rst-adjust-adornment-work)
4206 (rst-arabic-to-roman, rst-roman-to-arabic)
4207 (rst-insert-list-pos, rst-insert-list-new-item)
4208 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
4209 New functions.
4210
4211 (rst-all-sections, rst-section-hierarchy)
4212 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
4213 New variables.
4214
4215 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
4216 configuration instead of only buffer. Change where necessary.
4217
4218 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
4219 (rst-shift-region, rst-adaptive-fill): New functions for
4220 indentation and filling.
4221
4222 (rst-comment-line-break, rst-comment-indent)
4223 (rst-comment-insert-comment, rst-comment-region)
4224 (rst-uncomment-region): New functions for handling comments.
4225
4226 (rst-compile): Quote shell arguments.
4227
4228 (rst-compile-pdf-preview, rst-compile-slides-preview):
4229 Delete temporary files after use.
4230
4231 2012-05-05 Glenn Morris <rgm@gnu.org>
4232
4233 * calendar/cal-html.el: Optionally include holidays in the output.
4234 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
4235 (cal-html-holidays): New option.
4236 (cal-html-css-default): Add holiday entry.
4237 (holiday-in-range): Autoload it.
4238 (cal-html-htmlify-entry): Add optional class argument.
4239 (cal-html-htmlify-list): Add optional holidays argument.
4240 (cal-html-insert-agenda-days): Include holidays in the output.
4241 (cal-html-one-month): Maybe include holidays.
4242
4243 * calendar/holidays.el (holiday-in-range):
4244 Move here from cal-tex-list-holidays.
4245 * calendar/cal-tex.el (cal-tex-list-holidays):
4246 Make it an obsolete alias for holiday-in-range. Update all callers.
4247
4248 2012-05-05 Chong Yidong <cyd@gnu.org>
4249
4250 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
4251 Nextstep.
4252
4253 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
4254
4255 * files.el (file-auto-mode-skip): New var.
4256 (set-auto-mode-1): Use it.
4257
4258 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
4259
4260 * repeat.el: Use lexical-binding.
4261 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
4262 (repeat-undo-count): Remove.
4263 (repeat):
4264 * progmodes/octave-mod.el (octave-abbrev-start):
4265 * progmodes/f90.el (f90-abbrev-start):
4266 * face-remap.el (text-scale-adjust):
4267 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
4268
4269 * emacs-lisp/pcase.el (pcase--let*): New function.
4270 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
4271 a bit more.
4272 (pcase--split-pred): Be more clever about ruling out overlap between
4273 a predicate and some constant pattern.
4274 (pcase--q1): Use `null' instead of (eq foo nil).
4275
4276 * subr.el (setq-local, defvar-local): New macros.
4277 (kbd): Redefine as an alias.
4278 (with-selected-window): Leave unrelated frames alone.
4279 (set-temporary-overlay-map): New function.
4280
4281 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
4282
4283 * subr.el (user-error): New function.
4284 * window.el (switch-to-buffer):
4285 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
4286 (smerge-match-conflict):
4287 * simple.el (previous-matching-history-element)
4288 (next-matching-history-element, goto-history-element, undo-more)
4289 (undo-start):
4290 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
4291 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
4292 (next-file, tags-loop-scan, list-tags, complete-tag):
4293 * progmodes/compile.el (compilation-loop):
4294 * mouse.el (mouse-minibuffer-check):
4295 * man.el (Man-bgproc-sentinel, Man-goto-page):
4296 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
4297 (Info-history-forward, Info-follow-reference, Info-menu)
4298 (Info-extract-menu-item, Info-extract-menu-counting)
4299 (Info-forward-node, Info-backward-node, Info-next-menu-item)
4300 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
4301 (Info-next-reference, Info-prev-reference, Info-index)
4302 (Info-index-next, Info-follow-nearest-node)
4303 (Info-copy-current-node-name):
4304 * imenu.el (imenu--make-index-alist)
4305 (imenu-default-create-index-function, imenu-add-to-menubar):
4306 * files.el (basic-save-buffer, recover-file):
4307 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
4308 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
4309 (checkdoc-message-text, checkdoc-defun):
4310 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
4311 * cus-edit.el (customize-changed-options, customize-rogue)
4312 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
4313 (custom-variable-mark-to-reset-standard)
4314 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
4315 (custom-file):
4316 * completion.el (check-completion-length):
4317 * comint.el (comint-search-arg)
4318 (comint-previous-matching-input-string-position)
4319 (comint-previous-matching-input)
4320 (comint-replace-by-expanded-history-before-point, comint-send-input)
4321 (comint-copy-old-input, comint-backward-matching-input)
4322 (comint-goto-process-mark, comint-set-process-mark):
4323 * calendar/calendar.el (calendar-cursor-to-date): Use it.
4324 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
4325
4326 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
4327
4328 * dabbrev.el (dabbrev--ignore-case-p): New function.
4329 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
4330 Use it.
4331
4332 * files.el (automount-dir-prefix): Mark as obsolete.
4333
4334 2012-05-04 Glenn Morris <rgm@gnu.org>
4335
4336 * patcomp.el, play/bruce.el: Move to obsolete/.
4337
4338 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
4339
4340 Fix minor Y10k bugs.
4341 * arc-mode.el (archive-unixdate):
4342 * autoinsert.el (auto-insert-alist):
4343 * calc/calc-forms.el (math-this-year):
4344 * emacs-lisp/copyright.el (copyright-current-year)
4345 (copyright-update-year, copyright):
4346 * tar-mode.el (tar-clip-time-string):
4347 * time.el (display-time-update):
4348 Don't assume years have 4 digits.
4349
4350 2012-05-04 Chong Yidong <cyd@gnu.org>
4351
4352 * dos-w32.el (file-name-buffer-file-type-alist)
4353 (direct-print-region-use-command-dot-com):
4354 * ffap.el (ffap-menu-regexp):
4355 * find-file.el (ff-special-constructs):
4356 * follow.el (follow-debug):
4357 * forms.el (forms--debug):
4358 * iswitchb.el (iswitchb-all-frames):
4359 * ido.el (ido-all-frames):
4360 * emacs-lisp/timer.el (timer-max-repeats):
4361 * mail/feedmail.el (feedmail-mail-send-hook)
4362 (feedmail-mail-send-hook-queued):
4363 * mail/footnote.el (footnote-signature-separator):
4364 * mail/mailabbrev.el (mail-alias-separator-string)
4365 (mail-abbrev-mode-regexp):
4366 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
4367 * progmodes/idlwave.el (idlwave-libinfo-file)
4368 (idlwave-default-completion-case-is-down)
4369 (idlwave-library-routines): Convert defvars to defcustoms.
4370
4371 * mail/rmail.el (rmail-decode-mime-charset):
4372 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
4373 (idlwave-shell-fix-inserted-breaks)
4374 (idlwave-shell-activate-alt-keybindings)
4375 (idlwave-shell-use-breakpoint-glyph):
4376 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
4377
4378 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
4379
4380 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
4381
4382 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
4383
4384 * progmodes/verilog-mode.el (font-lock-keywords):
4385 Fix mis-highligting auto. Reported by Craig Barner.
4386 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
4387 defines from global name space. Reported by Dan Dever.
4388 (verilog-auto-reset, verilog-auto-reset-widths)
4389 (verilog-auto-tieoff): Support using unbased numbers for
4390 AUTORESET and AUTOTIEOFF.
4391 (verilog-submit-bug-report): Update variable list.
4392 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
4393 parenthesis from not matching. Reported by Michael Rytting.
4394 (verilog-auto-template-lint): Fix hash error when linting modules
4395 with no used templates.
4396 (verilog-warn, verilog-warn-error)
4397 (verilog-warn-fatal): When non-interactive report multiple
4398 warnings before exiting. Suggested by Brad Dobbie.
4399 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
4400 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
4401 to report unused template errors. Reported by Brad Dobbie.
4402 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
4403 nets, bug438. Reported by Vns Blore.
4404 (verilog-auto-inout-module, verilog-auto-reg)
4405 (verilog-read-decls, verilog-read-sub-decls-sig)
4406 (verilog-signals-edit-wire-reg, verilog-signals-with):
4407 Fix passing of Verilog data types in ANSI input/output ports
4408 such as "output logic" into the AUTOs. Special case "wire" and
4409 "reg" for backwards compatibility presuming Verilog 2001.
4410 (verilog-auto-ascii-enum): Add "auto enum" as alias.
4411 (verilog-preprocess): Fix replication of preprocess output.
4412 Reported by Brad Dobbie.
4413 (verilog-auto-inst-interfaced-ports):
4414 Create verilog-auto-inst-interfaced-ports, bug429.
4415 Reported by Julian Gorfajn.
4416 (verilog-after-save-font-hook)
4417 (verilog-before-save-font-hook): New variable.
4418 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
4419 (verilog-save-font-mods): Wrap disabling fontification, reported
4420 by David Rogoff.
4421 (verilog-do-indent, verilog-pretty-declarations-auto)
4422 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
4423 Reported by Pierre-David Pfister.
4424 (verilog-set-auto-endcomments): Fix endtask auto comments outside
4425 of class declarations, bug292. Reported by Kevin Heilman.
4426 (verilog-read-decls): Fix 'parameter type' not appearing in
4427 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
4428 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
4429 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
4430 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
4431 Reported by David Kravitz.
4432
4433 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
4434
4435 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
4436 assignment with tests in ifs and for loops.
4437 (verilog-extended-complete-re, verilog-complete-reg): Change so
4438 that DPI inport functions don't look like fuction declarations.
4439 (verilog-pretty-expr): Don't line up assignment
4440 operations to the test and increment in if and for loops
4441 (verilog-extended-complete-re, verilog-complete-reg): Change so
4442 that DPI inport functions don't look like fuction declarations.
4443
4444 2012-05-03 Kenichi Handa <handa@m17n.org>
4445
4446 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
4447 decoding, and show a warning message without signaling an error
4448 (Bug#11282).
4449
4450 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
4451
4452 * emacs-lisp/bytecomp.el
4453 (byte-compile-file-form-custom-declare-variable): Compile all elements,
4454 since cconv.el might have introduced :fun-body, internal-make-closure,
4455 and friends for bytecomp to handle (bug#11391).
4456 * custom.el (defcustom): Avoid ((λ ..) ..).
4457
4458 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
4459
4460 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
4461
4462 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
4463
4464 * notifications.el (dbus-debug):
4465 * term/linux.el (gpm-mouse-enable):
4466 * term/screen.el (xterm-register-default-colors): Declare.
4467
4468 2012-05-02 Chong Yidong <cyd@gnu.org>
4469
4470 * cus-start.el (gc-cons-percentage, exec-suffixes)
4471 (dos-display-scancodes, dos-hyper-key, dos-super-key)
4472 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
4473 (make-cursor-line-fully-visible, void-text-area-pointer)
4474 (font-list-limit): Add customization data.
4475
4476 * allout.el (allout-exposure-change-functions)
4477 (allout-structure-added-functions)
4478 (allout-structure-deleted-functions)
4479 (allout-structure-shifted-functions): Rename abnormal hooks from
4480 *-hook, and convert to defcustoms.
4481 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
4482 Convert to defcustoms.
4483 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
4484
4485 * allout-widgets.el: Hook callers changed.
4486
4487 2012-05-02 Eli Zaretskii <eliz@gnu.org>
4488
4489 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
4490 the yanked message in preference to the default value of
4491 buffer-file-coding-system.
4492
4493 2012-05-02 Martin Rudalics <rudalics@gmx.at>
4494
4495 * window.el (display-buffer--action-function-custom-type):
4496 Fix entry.
4497
4498 2012-05-02 Alan Mackenzie <acm@muc.de>
4499
4500 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
4501
4502 2012-05-01 Glenn Morris <rgm@gnu.org>
4503
4504 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
4505
4506 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
4507
4508 * cus-edit.el (custom-variable-documentation): Simplify with format.
4509
4510 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
4511 Stefan Monnier <monnier@iro.umontreal.ca>
4512
4513 * simple.el (suggest-key-bindings, execute-extended-command):
4514 Move from keyboard.c.
4515
4516 2012-05-01 Chong Yidong <cyd@gnu.org>
4517
4518 * follow.el: Eliminate advice.
4519 (set-process-filter, process-filter, sit-for): Advice deleted.
4520 (follow-mode-off-hook): Obsolete hook removed.
4521 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
4522 Vars deleted.
4523 (follow-auto): Use a :set function.
4524 (follow-mode): Rewritten. Don't advise process filters.
4525 (follow-switch-to-current-buffer-all, follow-scroll-up)
4526 (follow-scroll-down): Assume follow-mode is bound.
4527 (follow-comint-scroll-to-bottom)
4528 (follow-align-compilation-windows): New functions.
4529 (follow--window-sorter): New function.
4530 (follow-all-followers): Use it to explicitly sort windows by their
4531 positions; don't make assumptions about next-window order.
4532 (follow-windows-start-end, follow-delete-other-windows-and-split)
4533 (follow-calc-win-start): Doc fix.
4534 (follow-windows-aligned-p, follow-select-if-visible): Don't call
4535 vertical-motion unnecessarily.
4536 (follow-adjust-window): New function.
4537 (follow-post-command-hook): Use it.
4538 (follow-call-set-process-filter, follow-call-process-filter)
4539 (follow-intercept-process-output, follow-tidy-process-filter-alist)
4540 (follow-stop-intercept-process-output, follow-generic-filter):
4541 Functions deleted.
4542 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
4543 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
4544 New functions, replacing advice on scroll-bar-* commands.
4545 (follow-mwheel-scroll): New function (Bug#4112).
4546
4547 * comint.el (comint-adjust-point): New function.
4548 (comint-postoutput-scroll-to-bottom): Use it.
4549 Call follow-comint-scroll-to-bottom for Follow mode buffers.
4550
4551 2012-05-01 Glenn Morris <rgm@gnu.org>
4552
4553 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
4554 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
4555 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
4556 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
4557 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
4558 Remove no-byte-compile setting.
4559
4560 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
4561
4562 * minibuffer.el (completion-table-with-quoting): Fix compatibility
4563 all-completions code to not return a number in the last cdr.
4564
4565 2012-04-30 Leo Liu <sdl.web@gmail.com>
4566
4567 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
4568 read-only error.
4569
4570 2012-04-29 Chong Yidong <cyd@gnu.org>
4571
4572 * follow.el (follow-calc-win-end): Rewrite to handle partial
4573 screen lines correctly (Bug#8390).
4574 (follow-avoid-tail-recenter): Minor cleanup.
4575
4576 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
4577
4578 Avoid the obsolete `assoc' package.
4579 * speedbar.el (speedbar-refresh): Avoid adelete.
4580 (speedbar-file-lists): Simplify and avoid aput.
4581 * man.el (Man--sections, Man--refpages): New vars, replacing
4582 Man-sections-alist and Man-refpages-alist.
4583 (Man-build-section-alist, Man-build-references-alist):
4584 Use them; avoid aput.
4585 (Man--last-section, Man--last-refpage): New vars.
4586 (Man-follow-manual-reference): Use them.
4587 Use the `default' arg of completing-read.
4588 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
4589
4590 2012-04-27 Chong Yidong <cyd@gnu.org>
4591
4592 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
4593
4594 * startup.el (x-apply-session-resources): New function.
4595
4596 * term/ns-win.el (ns-initialize-window-system):
4597 * term/w32-win.el (w32-initialize-window-system):
4598 * term/x-win.el (x-initialize-window-system): Use it to properly
4599 set menu-bar-mode and other vars from X resources, even if the
4600 initial frame is not a window-system frame (Bug#2299).
4601
4602 * subr.el (read-key): Avoid running filter function when setting
4603 up temporary tool bar entries (Bug#9922).
4604
4605 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
4606
4607 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
4608 (Bug#11344)
4609
4610 2012-04-27 Chong Yidong <cyd@gnu.org>
4611
4612 * select.el (xselect--encode-string): New function, split from
4613 xselect-convert-to-string.
4614 (xselect-convert-to-string): Use it.
4615 (xselect-convert-to-filename, xselect-convert-to-os)
4616 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
4617 returned strings are properly encoded (Bug#11315).
4618
4619 2012-04-27 Chong Yidong <cyd@gnu.org>
4620
4621 * simple.el (delete-active-region): Move to killing custom group.
4622
4623 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
4624
4625 * progmodes/which-func.el (which-func-current): Quote %
4626 characters for mode-line processing.
4627
4628 2012-04-27 Chong Yidong <cyd@gnu.org>
4629
4630 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
4631 reaching eob (Bug#11286).
4632
4633 2012-04-27 Eli Zaretskii <eliz@gnu.org>
4634
4635 * progmodes/gdb-mi.el (gdb-control-level): New variable.
4636 (gdb): Make it buffer-local and init to zero.
4637 (gdb-control-commands-regexp): New variable.
4638 (gdb-send): Don't wrap in "-interpreter-exec console" if
4639 gdb-control-level is positive. Increment gdb-control-level
4640 whenever the command matches gdb-control-commands-regexp, and
4641 decrement it each time the command is "end". (Bug#11279)
4642
4643 2012-04-27 Martin Rudalics <rudalics@gmx.at>
4644
4645 * window.el (adjust-window-trailing-edge, enlarge-window)
4646 (shrink-window, window-resize):
4647 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
4648 windows (Bug#11276).
4649
4650 2012-04-27 Chong Yidong <cyd@gnu.org>
4651
4652 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
4653 fix "missing prefix" warning. All callers changed.
4654
4655 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
4656
4657 * emacs-lisp/assoc.el: Move to obsolete/.
4658
4659 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
4660
4661 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
4662
4663 * term/ns-win.el (ns-define-service):
4664 * progmodes/pascal.el (pascal-goto-defun):
4665 * progmodes/js.el (js--read-tab):
4666 * progmodes/etags.el (tags-lazy-completion-table):
4667 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
4668 * emacs-lisp/ewoc.el (ewoc--wrap):
4669 * emacs-lisp/assoc.el (aput, adelete, amake):
4670 * doc-view.el (doc-view-convert-current-doc):
4671 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
4672
4673 2012-04-26 Chong Yidong <cyd@gnu.org>
4674
4675 * image.el (image-type-from-buffer): Only return supported image
4676 type (Bug#9045).
4677
4678 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
4679 value, for symmetry with diff-end-of-hunk.
4680 (diff-split-hunk, diff-find-source-location)
4681 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
4682 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
4683 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
4684 compute the relevant hunk or file properly (Bug#6005).
4685 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
4686
4687 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
4688
4689 * vc/vc-mtn.el:
4690 * vc/vc-hg.el:
4691 * vc/vc-git.el:
4692 * vc/vc-dir.el:
4693 * vc/vc-cvs.el:
4694 * vc/vc-bzr.el:
4695 * vc/vc-arch.el:
4696 * vc/vc.el: Replace lexical-let by lexical-binding.
4697 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
4698 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
4699 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
4700
4701 2012-04-26 Chong Yidong <cyd@gnu.org>
4702
4703 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
4704 (diff-mode-shared-map): Bind it to / and [remap undo].
4705
4706 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
4707 (ediff-window-setup-function): Use it as the default, to set up
4708 windows based on whether the current frame is graphical (Bug#2138).
4709 (ediff-choose-window-setup-function-automatically): Make obsolete.
4710
4711 * vc/ediff-init.el: Always define ediff-pixel-width/height.
4712
4713 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
4714
4715 * ffap.el: Remove old code for obsolete package.
4716 (ffap-complete-as-file-p): Remove.
4717
4718 Use completion-table-with-quoting for comint and pcomplete.
4719 * comint.el (comint--unquote&requote-argument)
4720 (comint--unquote-argument, comint--requote-argument): New functions.
4721 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
4722 (comint-quote-filename): Use regexp-opt-charset.
4723 (comint--common-suffix, comint--common-quoted-suffix)
4724 (comint--table-subvert): Remove.
4725 (comint-unquote-function, comint-requote-function): New vars.
4726 (comint--complete-file-name-data): Use them with
4727 completion-table-with-quoting.
4728 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
4729 * pcomplete.el (pcomplete-arg-quote-list)
4730 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
4731 (pcomplete-unquote-argument-function): Default to non-nil.
4732 (pcomplete-unquote-argument): Simplify.
4733 (pcomplete--common-quoted-suffix): Remove.
4734 (pcomplete-requote-argument-function): New var.
4735 (pcomplete--common-suffix): New function.
4736 (pcomplete-completions-at-point): Use completion-table-with-quoting
4737 and completion-table-subvert.
4738
4739 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
4740 (minibuffer--double-dollars): Preserve properties.
4741 (completion--sifn-requote): New function.
4742 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
4743
4744 * minibuffer.el: Add support for completion of quoted/escaped data.
4745 (completion-table-with-quoting, completion-table-subvert): New funs.
4746 (completion--twq-try, completion--twq-all): New functions.
4747 (completion--nth-completion): New function.
4748 (completion-try-completion, completion-all-completions): Use it.
4749
4750 2012-04-25 Leo Liu <sdl.web@gmail.com>
4751
4752 * progmodes/python.el (python-pdbtrack-get-source-buffer):
4753 Use compilation-message if available to find real filename.
4754
4755 2012-04-25 Chong Yidong <cyd@gnu.org>
4756
4757 * vc/diff-mode.el (diff-setup-whitespace): New function.
4758 (diff-mode): Use it.
4759
4760 * vc/diff.el (diff-sentinel):
4761 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
4762 Whitespace mode variables based on diff style (Bug#8612).
4763
4764 2012-04-25 Leo Liu <sdl.web@gmail.com>
4765
4766 * progmodes/python.el (python-send-region): Add suffix .py to the
4767 temp file.
4768
4769 * files.el (auto-mode-alist): Use javascript-mode instead.
4770
4771 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
4772
4773 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
4774
4775 * net/soap-client.el (soap-resolve-references-for-sequence-type)
4776 (soap-resolve-references-for-array-type): Hack to prevent self
4777 references, see Bug#9.
4778 (soap-parse-envelope): Report the contents of the 'detail' node
4779 when receiving a fault reply.
4780 (soap-parse-envelope): Report the contents of the entire 'detail' node.
4781
4782 * net/soap-inspect.el (soap-sample-value-for-simple-type)
4783 (soap-inspect-simple-type): New function.
4784
4785 * net/soap-client.el (soap-simple-type): New struct.
4786 (soap-default-xsd-types, soap-default-soapenc-types)
4787 (soap-decode-basic-type, soap-encode-basic-type):
4788 support unsignedInt and double basic types.
4789 (soap-resolve-references-for-simple-type)
4790 (soap-parse-simple-type, soap-encode-simple-type): New function.
4791 (soap-parse-schema): Parse xsd:simpleType declarations.
4792
4793 * net/soap-client.el (soap-default-xsd-types)
4794 (soap-default-soapenc-types): Add integer, byte and anyURI types.
4795 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
4796 the local name of "soapenc:Array".
4797 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
4798 decoding integer, byte and anyURI xsd types.
4799
4800 2012-04-25 Chong Yidong <cyd@gnu.org>
4801
4802 * cus-edit.el (custom-buffer-create-internal): Update header text.
4803
4804 2012-04-25 Eli Zaretskii <eliz@gnu.org>
4805
4806 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
4807 settings on 'system-type', not on 'window-system'. On MS-Windows,
4808 set interactive-mode on in GDB.
4809
4810 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
4811
4812 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
4813 (ruby-syntax-propertize-regexp): Remove.
4814 (ruby-syntax-propertize-function): Split regexp into chunks.
4815 Match following code directly.
4816
4817 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
4818
4819 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
4820 (ruby-syntax-propertize-regexp): New function.
4821 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
4822 by a special keyword.
4823
4824 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
4825 (ruby-syntax-general-delimiters-goto-beg)
4826 (ruby-syntax-propertize-general-delimiters): New functions.
4827 (ruby-syntax-propertize-function): Use them to handle GDL.
4828 (ruby-font-lock-keywords): Move old handling of GDL...
4829 (ruby-font-lock-syntactic-keywords): .. to here.
4830 (ruby-calculate-indent): Adjust indentation for GDL.
4831
4832 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
4833
4834 * notifications.el (top): Remove unneeded declarations.
4835 (notifications-specification-version): Change to "1.2".
4836 (notifications-interface, notifications-notify-method)
4837 (notifications-close-notification-method): Fix docstring.
4838 (notifications-get-capabilities-method): New defconst.
4839 (notifications-notify): Add :action-items, :resident and
4840 :transient hints. Change "image_data" to "image-data" and
4841 "image_path" to "image-path".
4842 (notifications-get-capabilities): New defun.
4843
4844 2012-04-24 Leo Liu <sdl.web@gmail.com>
4845
4846 * progmodes/python.el: Move hideshow setup to the end.
4847
4848 2012-04-24 Martin Rudalics <rudalics@gmx.at>
4849
4850 * window.el (handle-select-window): Clear echo area since this is
4851 no more done by read_char (Bug#11304).
4852
4853 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
4854
4855 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
4856 and `/ M' to filter-derived-mode.
4857 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
4858 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
4859 (ibuffer-mark-by-mode): Use default rather than initial-input.
4860 (ibuffer-filter-by-derived-mode): Autoload and require-match.
4861
4862 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
4863
4864 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
4865 (ibuffer-filter-by-derived-mode): New filter.
4866 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
4867
4868 2012-04-23 Andreas Politz <politza@fh-trier.de>
4869
4870 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
4871
4872 2012-04-23 Chong Yidong <cyd@gnu.org>
4873
4874 * cus-edit.el (customize-apropos, customize-apropos-options):
4875 Disable matching of non-option variables (Bug#11176).
4876 (customize-option, customize-option-other-window)
4877 (customize-changed-options): Doc fix.
4878 (customize-apropos-options, customize-apropos-faces)
4879 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
4880
4881 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
4882 Fix word list splitting (Bug#11132).
4883 (apropos-symbol, apropos-keybinding, apropos-label)
4884 (apropos-property, apropos-function-button)
4885 (apropos-variable-button, apropos-misc-button): New faces.
4886 (apropos-symbol-face, apropos-keybinding-face)
4887 (apropos-label-face, apropos-property-face, apropos-match-face):
4888 Variables removed (Bug#8396).
4889 (apropos-library-button, apropos-format-plist, apropos-print)
4890 (apropos-print-doc, apropos-describe-plist): Callers changed.
4891
4892 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
4893
4894 * net/xesam.el (xesam-mode-map): Use let-bound map in
4895 initialization. (Bug#11292)
4896
4897 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4898
4899 Preserve ispell session localwords when switching back to
4900 original buffer.
4901
4902 * textmodes/ispell.el (ispell-buffer-session-localwords):
4903 New buffer-local variable to hold buffer session localwords.
4904 (ispell-kill-ispell): Add option 'clear to delete session
4905 localwords.
4906 (ispell-command-loop, ispell-change-dictionary)
4907 (ispell-buffer-local-words): Preserve session localwords when
4908 needed.
4909
4910 * textmodes/flyspell.el (flyspell-process-localwords)
4911 (flyspell-do-correct): Preserve session localwords when needed.
4912
4913 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4914
4915 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
4916 using obsolete `translation-table-for-input'.
4917 (ispell-word, ispell-process-line, ispell-complete-word):
4918 Use plain `insert' instead of removed `ispell-insert-word'.
4919
4920 2012-04-22 Chong Yidong <cyd@gnu.org>
4921
4922 * cus-edit.el (custom-variable-menu)
4923 (custom-variable-reset-saved, custom-face-menu)
4924 (custom-face-reset-saved): If there is no saved value, make the
4925 "reset-saved" operation bring back the default (Bug#9509).
4926 (custom-face-state): Properly detect themed faces.
4927
4928 * faces.el (face-spec-set): Stop supporting deprecated form of
4929 third arg.
4930
4931 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
4932
4933 Move functions from C to Lisp. Make non-blocking method calls
4934 the default. Implement further D-Bus standard interfaces.
4935
4936 * net/dbus.el (dbus-message-internal): Declare function.
4937 Remove unneeded function declarations.
4938 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
4939 (dbus-message-type-method-return, dbus-message-type-error)
4940 (dbus-message-type-signal): Declare variables. Remove local
4941 definitions.
4942 (dbus-interface-dbus, dbus-interface-peer)
4943 (dbus-interface-introspectable, dbus-interface-properties)
4944 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
4945 Adapt docstring.
4946 (dbus-interface-objectmanager): New defconst.
4947 (dbus-call-method, dbus-call-method-asynchronously)
4948 (dbus-send-signal, dbus-method-return-internal)
4949 (dbus-method-error-internal, dbus-register-service)
4950 (dbus-register-signal, dbus-register-method): New defuns, moved
4951 from dbusbind.c
4952 (dbus-call-method-handler, dbus-setenv)
4953 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
4954 New defuns.
4955 (dbus-call-method-non-blocking): Make it an obsolete function.
4956 (dbus-unregister-object, dbus-unregister-service)
4957 (dbus-handle-event, dbus-register-property)
4958 (dbus-property-handler): Obey the new structure of
4959 `bus-registered-objects'.
4960 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
4961 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
4962 Use `dbus-call-method'.
4963
4964 2012-04-22 Chong Yidong <cyd@gnu.org>
4965
4966 * cus-edit.el (custom-commands, custom-reset-menu)
4967 (Custom-reset-standard): Tweak labels.
4968 (custom-reset-button-menu): Change default to t.
4969 (custom-buffer-create-internal): For the custom-reset-button-menu
4970 case, put the revert button first.
4971 (custom-group-subtitle): New face.
4972 (custom-group-value-create): Align docstring to a specific column.
4973
4974 * wid-edit.el (widget-documentation-link-add): Don't handle
4975 indentation in this function.
4976 (widget-documentation-string-indent-to): New function.
4977 (widget-documentation-string-value-create): Use it.
4978
4979 * autorevert.el (auto-revert):
4980 * epg-config.el (epg):
4981 * ibuffer.el (ibuffer):
4982 * mpc.el (mpc):
4983 * ses.el (ses):
4984 * eshell/eshell.el (eshell):
4985 * net/ange-ftp.el (ange-ftp):
4986 * progmodes/ebnf2ps.el (postscript):
4987 * progmodes/flymake.el (flymake):
4988 * progmodes/prolog.el (prolog):
4989 * progmodes/verilog-mode.el (verilog-mode):
4990 * progmodes/which-func.el (which-func):
4991 * term/xterm.el (xterm):
4992 * textmodes/picture.el (picture):
4993 * textmodes/tildify.el (tildify):
4994 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
4995 customization buffers.
4996
4997 2012-04-22 Alan Mackenzie <acm@muc.de>
4998
4999 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
5000 Adding a ) can hide the resulting (..) from searches. Fix it.
5001 Bound the backward search to the position of the existing (.
5002
5003 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
5004
5005 * progmodes/verilog-mode.el (verilog-mode): Check whether
5006 which-func-modes is t before adding verilog-mode.
5007 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
5008
5009 2012-04-21 Leo Liu <sdl.web@gmail.com>
5010
5011 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
5012
5013 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
5014
5015 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
5016 filling of the last column of a table (Bug#5635).
5017 (woman-find-next-control-line): New arg, specifying an additional
5018 regexp component for the control line.
5019 (woman2-roff-buffer): Use it.
5020 (woman-break-table): New function.
5021 (woman2-TS): Use it.
5022
5023 2012-04-21 Chong Yidong <cyd@gnu.org>
5024
5025 * woman.el (woman-set-buffer-display-table, woman-decode-region)
5026 (woman-horizontal-escapes, woman-negative-vertical-space)
5027 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
5028 (WoMan-warn-ignored): Use ?\s instead of ?\ .
5029
5030 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
5031
5032 * minibuffer.el (completion-file-name-table): Complete user names.
5033
5034 2012-04-20 Leo Liu <sdl.web@gmail.com>
5035
5036 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
5037 and pcase-let*.
5038
5039 2012-04-20 Chong Yidong <cyd@gnu.org>
5040
5041 * server.el (server-execute): Respect initial-buffer-choice if it
5042 is a string and there are no files to open (Bug#2825).
5043 (server-create-window-system-frame, server-create-tty-frame):
5044 Don't switch buffers here.
5045 (server-process-filter): Only try to open a window system frame if
5046 compiled with graphical support (Bug#8314).
5047
5048 2012-04-20 Dan Nicolaescu <dann@gnu.org>
5049
5050 * battery.el (battery-echo-area-format): Display remaining time
5051 for sysfs backend too (Bug#11269).
5052 (battery-linux-sysfs): Fix conditional for the charge.
5053
5054 2012-04-20 Chong Yidong <cyd@gnu.org>
5055
5056 * progmodes/gdb-mi.el (gdb): Revert previous change.
5057 (gdb-inferior-io--init-proc): New function.
5058 (gdb-init-1): Use it.
5059 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
5060 responsible for allocating a new pty and hooking it to gdb when
5061 the old pty gets an EIO due to process exit.
5062 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
5063 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
5064 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
5065
5066 2012-04-20 Eli Zaretskii <eliz@gnu.org>
5067
5068 * window.el (window-min-size, window-sizable, window-min-delta)
5069 (window-max-delta, window--resizable, window-resizable)
5070 (window-total-size, window-full-height-p, window-full-width-p)
5071 (window-in-direction, window--resize-mini-window, window-resize)
5072 (window--resize-child-windows-normal)
5073 (window--resize-child-windows, window--resize-siblings)
5074 (window--resize-this-window, adjust-window-trailing-edge)
5075 (enlarge-window, shrink-window): Doc fixes.
5076
5077 2012-04-20 Chong Yidong <cyd@gnu.org>
5078
5079 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
5080 New function to call delete-process on the gdb-inferior buffer's pty.
5081 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
5082 pty process (Bug#11273).
5083 (gdb-update): New arg to suppress talking to the gdb process.
5084 (gdb-done-or-error): Use it.
5085 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
5086 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
5087 sentinel not being called.
5088
5089 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
5090
5091 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
5092
5093 2012-04-20 Glenn Morris <rgm@gnu.org>
5094
5095 * net/network-stream.el (open-network-stream): Doc fix.
5096
5097 2012-04-20 Chong Yidong <cyd@gnu.org>
5098
5099 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
5100
5101 2012-04-20 Alan Mackenzie <acm@muc.de>
5102
5103 Ensure searching for keywords is case sensitive.
5104
5105 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
5106 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
5107 (c-defun-name, c-mark-function, c-cpp-define-name)
5108 (c-comment-indent, c-scan-conditionals, c-indent-defun)
5109 (c-context-line-break): Bind case-fold-search to nil.
5110
5111 * progmodes/cc-mode.el (c-font-lock-fontify-region):
5112 Bind case-fold-search to nil.
5113
5114 2012-04-20 Chong Yidong <cyd@gnu.org>
5115
5116 * mail/sendmail.el (mail-bury): Call return action with the right
5117 Rmail buffer (Bug#11242).
5118
5119 * server.el (server-process-filter): Handle corner case where both
5120 tty and nowait options are present (Bug#11102).
5121
5122 2012-04-20 Eli Zaretskii <eliz@gnu.org>
5123
5124 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
5125 (top level): Put into the executable the ident-style '$Id:' tag on
5126 windows-nt as well.
5127
5128 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
5129
5130 * electric.el (electric-indent-post-self-insert-function): Check that
5131 electric-indent-mode is enabled in current buffer.
5132
5133 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
5134
5135 * imenu.el (imenu-progress-message): Restore; it is "used" in
5136 erc/erc-imenu.el and net/snmp-mode.el.
5137
5138 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
5139
5140 * avoid.el (mouse-avoidance-mode): Mark unused arg.
5141 (mouse-avoidance-nudge-mouse): Remove unused binding.
5142
5143 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
5144
5145 * descr-text.el (describe-char):
5146 * progmodes/python.el (python-describe-symbol):
5147 Don't call `toggle-read-only', set `buffer-read-only'.
5148
5149 * imenu.el (imenu-default-goto-function): Mark unused args.
5150 (imenu-progress-message): Remove obsolete macro; all callers changed.
5151
5152 * subr.el (keymap-canonicalize): Remove unused binding.
5153 (read-passwd): Mark unused arg.
5154
5155 * tutorial.el (tutorial--display-changes): Remove unused binding.
5156 (tutorial--save-tutorial-to): Remove unused variable.
5157
5158 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
5159 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
5160 (package-generate-autoloads, package-menu--generate)
5161 (package-menu--find-upgrades): Remove unused bindings.
5162
5163 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
5164 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
5165 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
5166 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
5167 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
5168 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
5169 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
5170 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
5171 (cua-delete-char-rectangle): Mark unused args.
5172 (cua-align-rectangle): Remove unused binding.
5173
5174 * mail/rmail.el (compilation--message->loc)
5175 (epa--find-coding-system-for-mime-charset): Declare.
5176
5177 * net/dbus.el (dbus-register-service): Declare.
5178 (dbus-name-owner-changed-handler): Remove unused binding.
5179
5180 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
5181 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
5182 (nxml-scan-backward-within): Mark unused arg.
5183 (nxml-dynamic-markup-word): Remove unused binding.
5184
5185 * mouse.el (mouse-menu-major-mode-map):
5186 * emacs-lisp/authors.el (authors-scan-change-log)
5187 (authors-add-to-author-list):
5188 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
5189 * emacs-lisp/smie.el (smie-auto-fill):
5190 * mail/sendmail.el (mail-bury):
5191 * mail/unrmail.el (unrmail):
5192 * net/tls.el (open-tls-stream):
5193 * textmodes/picture.el (picture-mouse-set-point):
5194 Remove unused bindings.
5195
5196 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
5197
5198 * net/tramp.el (tramp-action-password): Let-bind
5199 `enable-recursive-minibuffers' to t.
5200
5201 2012-04-18 Sam Steingold <sds@gnu.org>
5202
5203 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
5204 instead of 'string to accommodate values like [f11].
5205 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
5206 * progmodes/gdb-mi.el: Likewise.
5207
5208 2012-04-18 Leo Liu <sdl.web@gmail.com>
5209
5210 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
5211 current buffer.
5212 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
5213 LOCAL is nil.
5214
5215 2012-04-18 Chong Yidong <cyd@gnu.org>
5216
5217 * simple.el (line-move): Use forward-line if in batch mode
5218 (Bug#11053).
5219
5220 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
5221
5222 * files.el (after-find-file): Do not try to add a final newline if
5223 the buffer is read-only (Bug#11156).
5224
5225 2012-04-17 Richard Stallman <rms@gnu.org>
5226
5227 * mail/rmail.el (rmail-start-mail):
5228 Pass (rmail-mail-return...) for the return-action.
5229 Pass (rmail-yank-current-message...) for the yank-action.
5230 (rmail-yank-current-message): New function.
5231 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
5232 (rmail-reply): Likewise.
5233 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
5234
5235 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
5236 buffer, not the last. Reject temp buffers. Use the rmail-mode
5237 buffer, not newbuf.
5238
5239 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
5240
5241 * server.el (server-ensure-safe-dir): Simplify.
5242
5243 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
5244
5245 * emacs-lisp/smie.el: Provide smarter auto-filling.
5246 (smie-auto-fill): New function.
5247 (smie-setup): Use it.
5248
5249 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
5250
5251 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
5252
5253 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
5254 (comment-indent): Use it.
5255
5256 2012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
5257
5258 * ses.el: The overall change is to add cell renaming, that is
5259 setting fancy names for cell symbols other than name matching
5260 "\\`[A-Z]+[0-9]+\\'" regexp .
5261 (ses-localvars): Add ses--renamed-cell-symb-list.
5262 (ses-create-cell-variable): New defun.
5263 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
5264 (ses-relocate-formula): Relocate formulas only for cells the
5265 symbols of which are not renamed, i.e. symbols whose names do not
5266 match regexp "\\`[A-Z]+[0-9]+\\'".
5267 (ses-relocate-all): Relocate values only for cells the symbols of
5268 which are not renamed.
5269 (ses-load): Create cells variables as the (ses-cell ...) are read,
5270 in order to check row col consistency with cell symbol name only
5271 for cells that are not renamed.
5272 (ses-replace-name-in-formula): New defun.
5273 (ses-rename-cell): New defun.
5274
5275 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
5276
5277 * progmodes/perl-mode.el (perl-indent-parens-as-block):
5278 New option (bug#11118).
5279 (perl-calculate-indent): Respect it.
5280
5281 2012-04-17 Glenn Morris <rgm@gnu.org>
5282
5283 * dired-aux.el (dired-mark-read-string): Doc fix.
5284
5285 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
5286
5287 * dired-aux.el (dired-mark-read-string): Offer optional completion.
5288 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
5289
5290 2012-04-17 Glenn Morris <rgm@gnu.org>
5291
5292 * mouse.el (mouse-drag-track):
5293 * speedbar.el (speedbar-frame-mode):
5294 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
5295
5296 2012-04-16 Leo Liu <sdl.web@gmail.com>
5297
5298 * progmodes/python.el: Trivial cleanup.
5299
5300 2012-04-16 Glenn Morris <rgm@gnu.org>
5301
5302 * vc/vc.el (vc-string-prefix-p):
5303 * vc/pcvs-util.el (cvs-string-prefix-p):
5304 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
5305 * mpc.el (mpc-string-prefix-p):
5306 Make all of these into obsolete aliases for string-prefix-p.
5307 Update callers.
5308 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
5309
5310 * textmodes/two-column.el: Move custom options to the start.
5311 (frame-width): Remove compat definition.
5312 (2C-associate-buffer, 2C-dissociate):
5313 Use with-current-buffer rather than save-excursion.
5314 (2C-dissociate): Force a mode-line update.
5315 (2C-autoscroll): Use ignore-errors.
5316
5317 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
5318 Autoload trivia.
5319
5320 * emacs-lisp/cl-extra.el (*random-state*):
5321 Remove unnecessary declaration.
5322
5323 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
5324
5325 * play/cookie1.el (cookie-snarf):
5326 Give an explicit error if input file cannot be read.
5327
5328 * play/yow.el (yow-file): Use expand-file-name rather than concat.
5329
5330 * progmodes/perl-mode.el (c-macro-expand):
5331 Remove unnecessary autoload (it is in loaddefs.el).
5332
5333 * textmodes/picture.el (picture-desired-column)
5334 (picture-update-desired-column): Convert comments to doc-strings.
5335 (picture-substitute): Remove function.
5336 (picture-mode-map): Initialize in the defvar.
5337
5338 * woman.el: Remove eval-after-load for tar-mode.
5339 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
5340 (woman-tar-extract-file): Autoload it.
5341
5342 * frame.el (automatic-hscrolling): Make this alias obsolete.
5343
5344 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5345
5346 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
5347 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
5348 (ispell-dictionary-base-alist): Revert to original XEmacs
5349 friendly version for default. [:alpha:] will be added in
5350 `ispell-set-spellchecker-params' if needed.
5351
5352 2012-04-16 Chong Yidong <cyd@gnu.org>
5353
5354 * image.el (imagemagick--file-regexp): New variable.
5355 (imagemagick-register-types): Use it.
5356 (imagemagick-types-inhibit): Add :set function. Allow new value
5357 of t to inhibit all types.
5358
5359 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
5360 so we can preload it.
5361
5362 * loadup.el (fboundp): Preload regexp-opt, needed by
5363 imagemagick-register-types.
5364
5365 2012-04-15 Chong Yidong <cyd@gnu.org>
5366
5367 * frame.el (scrolling): Remove nearly unused customization group.
5368
5369 * scroll-all.el (scroll-all-mode): Move to windows group.
5370
5371 2012-04-15 Chong Yidong <cyd@gnu.org>
5372
5373 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
5374
5375 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
5376
5377 Avoid the use of ((lambda ...) ...) in lexical-binding code.
5378 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
5379
5380 2012-04-15 Glenn Morris <rgm@gnu.org>
5381
5382 * simple.el (process-file-side-effects): Doc fix.
5383
5384 2012-04-15 Glenn Morris <rgm@gnu.org>
5385
5386 * international/mule-cmds.el (set-language-environment): Doc fix.
5387
5388 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
5389
5390 * server.el (server-auth-key, server-generate-key): Doc fixes.
5391 (server-get-auth-key): Doc fix. Use `string-match-p'.
5392 (server-start): Reflow docstring.
5393
5394 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
5395
5396 * server.el (server-generate-key): `called-interactively-p'
5397 requires a parameter.
5398
5399 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
5400
5401 * server.el (server-auth-key): New variable.
5402 (server-generate-key, server-get-auth-key): New function.
5403 (server-start): Use the new variable and functions to allow
5404 setting a permanent server key (bug#9423).
5405
5406 2012-04-14 Leo Liu <sdl.web@gmail.com>
5407
5408 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
5409
5410 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
5411
5412 Spelling fixes.
5413 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
5414 Emacs uses American spelling.
5415
5416 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
5417
5418 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
5419 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
5420 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
5421 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
5422
5423 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
5424
5425 * progmodes/which-func.el (which-func-modes): Change default.
5426
5427 2012-04-14 Kim F. Storm <storm@cua.dk>
5428
5429 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
5430 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
5431
5432 2012-04-14 Chong Yidong <cyd@gnu.org>
5433
5434 * custom.el (custom-theme-set-variables): Doc fix.
5435
5436 2012-04-14 Glenn Morris <rgm@gnu.org>
5437
5438 * international/mule.el (set-auto-coding-for-load): Doc fix.
5439
5440 2012-04-14 Alan Mackenzie <acm@muc.de>
5441
5442 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
5443 imenu work again for Objective C Mode. Correct the *-index values,
5444 these having been disturbed by a previous change in 2011-08.
5445
5446 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
5447 Correct two search limits.
5448
5449 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
5450
5451 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
5452
5453 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
5454
5455 * international/characters.el: Fix sorting.
5456
5457 2012-04-14 Eli Zaretskii <eliz@gnu.org>
5458
5459 * international/characters.el: Add more missing Latin case pairs.
5460
5461 2012-04-14 Glenn Morris <rgm@gnu.org>
5462
5463 * files.el (dir-locals-set-class-variables): Doc fix.
5464
5465 2012-04-14 Eli Zaretskii <eliz@gnu.org>
5466
5467 * international/characters.el: Add set-case-syntax-pair call for
5468 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
5469 counterpart. (Bug#11209)
5470
5471 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
5472
5473 2012-04-14 Glenn Morris <rgm@gnu.org>
5474
5475 * calendar/holidays.el (calendar-check-holidays): Doc fix.
5476
5477 2012-04-14 Eli Zaretskii <eliz@gnu.org>
5478
5479 * textmodes/ispell.el (ispell-dictionary-base-alist):
5480 Add data for Hebrew.
5481
5482 2012-04-14 Chong Yidong <cyd@gnu.org>
5483
5484 * net/rcirc.el (rcirc-cmd-quit):
5485 Revert 2012-03-18 change (Bug#11192).
5486
5487 2012-04-14 Glenn Morris <rgm@gnu.org>
5488
5489 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
5490
5491 2012-04-14 Eli Zaretskii <eliz@gnu.org>
5492
5493 * minibuffer.el (completion-in-region-mode-map):
5494 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
5495
5496 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
5497
5498 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
5499
5500 2012-04-13 Masatake YAMATO <yamato@redhat.com>
5501
5502 * minibuffer.el (minibuffer-local-filename-syntax): New variable
5503 to allow `C-M-f' and `C-M-b' to move to the nearest path
5504 separator (bug#9511).
5505
5506 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
5507
5508 * avoid.el: Require cl when compiling. And also move the
5509 `provide' to the end.
5510
5511 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5512
5513 * avoid.el (mouse-avoidance-banish-position): New variable.
5514 (mouse-avoidance-banish-destination): Use it (bug#10165).
5515
5516 2012-04-13 Leo Liu <sdl.web@gmail.com>
5517
5518 * progmodes/which-func.el (which-func-modes): Add objc-mode.
5519
5520 2012-04-13 Ken Brown <kbrown@cornell.edu>
5521
5522 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
5523 this is no longer needed now that cygstart understands file:// URLs.
5524 (browse-url-filename-alist): For the same reason, don't modify
5525 file:// URLs on Cygwin.
5526
5527 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
5528
5529 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
5530 the region on shift if the binding is already shifted (bug#11221).
5531
5532 2012-04-12 Glenn Morris <rgm@gnu.org>
5533
5534 * mail/mailpost.el: Move to obsolete/.
5535
5536 2012-04-12 Drew Adams <drew.adams@oracle.com>
5537
5538 * imenu.el (imenu--generic-function): Ignore invisible definitions
5539 (bug#10123).
5540
5541 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
5542
5543 * hexl.el (hexl-bits): New variable.
5544 (hexl-options): Mention the variable in the doc string.
5545 (hexl-rulerise, hexl-line-displen): New functions.
5546 (hexl-mode): Mention the new variable.
5547 (hexl-mode, hexl-current-address, hexl-current-address):
5548 Use the displen.
5549 (hexl-ascii-start-column): New function.
5550 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
5551 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
5552
5553 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5554
5555 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
5556 '("-i" ENCODING), in 2 separate command-line arguments, to specify
5557 the encoding, as expected by hunspell.
5558
5559 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
5560
5561 * battery.el (battery--linux-sysfs-regexp): New const.
5562 (battery-status-function): Use it. Remove yeeloong special case.
5563 (battery-yeeloong-sysfs): Remove.
5564 (battery-echo-area-format): Remove yeeloong special case.
5565
5566 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
5567
5568 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
5569 Reported by Noah Friedman.
5570
5571 * subr.el (read-passwd): Use read-string.
5572
5573 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
5574
5575 * vcursor.el (vcursor-move): Increase the priority of the overlay
5576 (bug#9663).
5577
5578 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
5579
5580 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
5581 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
5582
5583 2012-04-11 William Stevenson <yhvh2000@gmail.com>
5584
5585 * textmodes/artist.el (artist-mode): Convert artist-mode to use
5586 define-minor-mode (bug#10760).
5587
5588 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
5589
5590 * progmodes/grep.el (rgrep): Tweak the find command line so
5591 that directories matching `grep-find-ignored-files' won't be
5592 pruned (bug#10351).
5593
5594 2012-04-11 Chong Yidong <cyd@gnu.org>
5595
5596 * startup.el (command-line): Remove support for long-obsolete
5597 variable font-lock-face-attributes.
5598
5599 2012-04-11 Glenn Morris <rgm@gnu.org>
5600
5601 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
5602
5603 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
5604
5605 * window.el (window--state-get-1): Obey window-point-insertion-type.
5606
5607 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
5608
5609 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
5610 to previous function when point is on the first character of a
5611 function. Take care of that in `narrow-to-defun' (bug#6157).
5612
5613 2012-04-11 Glenn Morris <rgm@gnu.org>
5614
5615 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
5616 not just file-errors.
5617
5618 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
5619 (vc-bzr-sha1): Use internal sha1.
5620
5621 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
5622
5623 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
5624
5625 2012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
5626
5627 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
5628 that start in the middle of the line (bug#10496).
5629
5630 2012-04-10 Dan Nicolaescu <dann@gnu.org>
5631
5632 * battery.el (battery-linux-proc-acpi): Only one battery is
5633 discharged at a time, but that seems to confuse battery.el when
5634 computing `rate-type' for the battery not being discharged
5635 (bug#10332).
5636
5637 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
5638
5639 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
5640
5641 * international/quail.el: Use dolist and simplify.
5642 (quail-define-package, quail-update-keyboard-layout)
5643 (quail-define-rules): Use dolist.
5644 (quail-insert-kbd-layout, quail-get-translation): CSE.
5645
5646 * tmm.el: Use dolist, remove left over hook.
5647 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
5648 Use dolist.
5649 (calendar-load-hook): Don't mess with it.
5650
5651 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
5652 Use derived-mode-p. Run the diff asynchronously.
5653
5654 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
5655
5656 * obsolete/mouse-sel.el: Add an Obsolete-since header.
5657
5658 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
5659
5660 * misc.el: Display absolute path of loaded DLLs (bug#10424).
5661 (list-dynamic-libraries--loaded): New function.
5662 (list-dynamic-libraries--refresh): Use it.
5663
5664 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
5665
5666 * progmodes/python.el (python-fill-paragraph):
5667 Make python-fill-region in a multiline string work when font-lock is
5668 disabled (bug#7018).
5669
5670 2012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
5671
5672 * language/european.el (cp775): Add oem/legacy (en)coding on
5673 DOS/MS Windows for the Baltic languages. There are still plenty
5674 of texts written in this encoding/codepage (bug#6519).
5675
5676 2012-04-10 Glenn Morris <rgm@gnu.org>
5677
5678 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
5679 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
5680
5681 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
5682
5683 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
5684 next-line "n" and previous-line "p" in order to make recentf more
5685 consistent with ibuffer, dired or org-mode (bug#9387).
5686
5687 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
5688
5689 * image.el (put-image): Return the overlay created instead of the
5690 optional input string (bug#7834). Note that this may break code
5691 that is (for some reason or other) depending on `put-image'
5692 returning the string.
5693
5694 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
5695
5696 * simple.el (zap-to-char): Allow zapping using input methods
5697 (bug#1580).
5698
5699 * textmodes/fill.el (fill-region): Leave point and mark where they
5700 were before filling (bug#5399).
5701
5702 2012-04-09 Glenn Morris <rgm@gnu.org>
5703
5704 * version.el (emacs-bzr-get-version):
5705 Handle lightweight checkouts of local branches.
5706
5707 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
5708
5709 * international/characters.el: Recover lost case pairs. (Bug#11209)
5710
5711 2012-04-09 Chong Yidong <cyd@gnu.org>
5712
5713 * custom.el (custom-variable-p): Return nil for non-symbol
5714 arguments instead of signaling an error.
5715 (user-variable-p): Obsolete alias for custom-variable-p.
5716
5717 * apropos.el (apropos-variable):
5718 * files-x.el (read-file-local-variable):
5719 * simple.el (set-variable):
5720 * woman.el (woman-mini-help):
5721 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
5722
5723 2012-04-09 Glenn Morris <rgm@gnu.org>
5724
5725 * startup.el (normal-top-level): Don't look for leim-list.el
5726 in places where it will not be found. (Bug#910)
5727
5728 * international/mule-cmds.el (set-default-coding-systems):
5729 * files.el (normal-mode):
5730 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
5731 This function was removed with ucs-tables.el in 2008.
5732
5733 2012-04-08 Eli Zaretskii <eliz@gnu.org>
5734
5735 * textmodes/ispell.el (ispell-check-version): For hunspell, set
5736 ispell-encoding8-command to "-i", without a trailing space.
5737 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
5738 separate command-line arguments, to specify the encoding, since
5739 that's how hunspell expects it.
5740
5741 2012-04-08 Glenn Morris <rgm@gnu.org>
5742
5743 * loadup.el: Load bindings before cus-start.
5744 This reduces somewhat the number of "rogue" settings in emacs -Q.
5745
5746 2012-04-07 Glenn Morris <rgm@gnu.org>
5747
5748 * version.el (emacs-bzr-get-version): New function.
5749 (emacs-bzr-version): New variable.
5750 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
5751 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
5752
5753 2012-04-07 Eli Zaretskii <eliz@gnu.org>
5754
5755 * international/uni-bidi.el, international/uni-category.el:
5756 * international/uni-combining.el, international/uni-decimal.el:
5757 * international/uni-decomposition.el, international/uni-digit.el:
5758 * international/uni-lowercase.el, international/uni-mirrored.el:
5759 * international/uni-name.el, international/uni-numeric.el:
5760 * international/uni-titlecase.el, international/uni-uppercase.el:
5761 Update for Unicode 6.1.
5762
5763 2012-04-07 Eli Zaretskii <eliz@gnu.org>
5764
5765 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
5766
5767 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
5768
5769 * window.el (shrink-window): Mention the `window-min-height'
5770 variable in the doc string.
5771
5772 2012-04-05 Bastien Guerry <bzg@altern.org>
5773
5774 * color.el (color-lighten-name): Fix typo.
5775
5776 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
5777
5778 * server.el (server--on-display-p): New function.
5779 (server--on-display-p): Use it.
5780
5781 2012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
5782
5783 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
5784 (bug#11145).
5785
5786 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
5787
5788 * comint.el (comint--common-quoted-suffix): Check string boundary
5789 before comparing (bug#11158).
5790 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
5791
5792 2012-04-04 Chong Yidong <cyd@gnu.org>
5793
5794 * minibuffer.el (completion-extra-properties): Doc fix.
5795
5796 * subr.el (delayed-warnings-hook): Doc fix.
5797
5798 2012-04-04 Daiki Ueno <ueno@unixuser.org>
5799
5800 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
5801 selection (Bug#11159).
5802 (epa-insert-keys): Inform that the default public key will be
5803 exported if no key is selected.
5804
5805 2012-04-04 Richard Stallman <rms@gnu.org>
5806
5807 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
5808
5809 2012-04-03 Chong Yidong <cyd@gnu.org>
5810
5811 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
5812 mail-insert-file, not its obsolete alias mail-attach-file.
5813
5814 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
5815
5816 * notifications.el (notifications-notify): Fix docstring.
5817
5818 2012-04-02 Glenn Morris <rgm@gnu.org>
5819
5820 * emacs-lisp/authors.el (authors-aliases): Another addition.
5821
5822 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
5823
5824 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
5825 `tramp-compat-call-process' instead of `tramp-local-call-process'.
5826 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
5827
5828 2012-04-01 Chong Yidong <cyd@gnu.org>
5829
5830 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
5831 Handle root directory properly.
5832 (copy-directory): Caller changed.
5833
5834 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
5835 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
5836
5837 2012-03-31 Glenn Morris <rgm@gnu.org>
5838
5839 * term/xterm.el (xterm-extra-capabilities): Doc fix.
5840
5841 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
5842
5843 * calendar/calendar.el (calendar-window-list)
5844 (calendar-hide-window): Restore. (Bug#11140)
5845 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
5846
5847 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
5848
5849 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5850
5851 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
5852 Check if file is a symlink (Bug#10489).
5853
5854 * files.el (copy-directory): Likewise.
5855
5856 2012-03-30 Chong Yidong <cyd@gnu.org>
5857
5858 * image.el (imagemagick-types-inhibit)
5859 (imagemagick-register-types): Doc fix.
5860
5861 2012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5862
5863 * textmodes/ispell.el (ispell-get-extended-character-mode):
5864 Disable extended-char-mode for hunspell. hunspell does not support it
5865 and treats ~word as ordinary words in pipe mode.
5866
5867 2012-03-30 Glenn Morris <rgm@gnu.org>
5868
5869 * tutorial.el (help-with-tutorial): Ensure local variables don't
5870 happen to make the buffer read-only. (Bug#11127)
5871
5872 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
5873
5874 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
5875 (perl-calculate-indent): Return `noindent' in strings.
5876
5877 2012-03-28 Sam Steingold <sds@gnu.org>
5878
5879 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
5880 instead of the broken adhockery which does not prevent calendar
5881 buffers from being displayed at random after exit.
5882 (calendar-window-list, calendar-hide-window): Remove the broken
5883 adhockery.
5884
5885 2012-03-28 Glenn Morris <rgm@gnu.org>
5886
5887 * replace.el (query-replace-map): Doc fix.
5888
5889 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
5890
5891 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
5892 contents. (Bug#11109)
5893
5894 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
5895
5896 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
5897 (bug#11077).
5898 (avl-tree--check, avl-tree--check-node): New funs.
5899
5900 2012-03-27 Martin Rudalics <rudalics@gmx.at>
5901
5902 * window.el (switch-to-visible-buffer): New option.
5903 (switch-to-prev-buffer, switch-to-next-buffer):
5904 Observe switch-to-visible-buffer. Make sure that checking for a window
5905 showing a buffer already is done on the same frame.
5906
5907 2012-03-27 Glenn Morris <rgm@gnu.org>
5908
5909 * startup.el (mail-host-address): Doc fix.
5910
5911 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
5912
5913 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
5914 than 197 variables.
5915
5916 2012-03-26 Ami Fischman <ami@fischman.org>
5917
5918 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
5919
5920 2012-03-26 Glenn Morris <rgm@gnu.org>
5921
5922 * files.el (save-buffers-kill-emacs): Doc fix.
5923
5924 * startup.el (normal-top-level, command-line, command-line-1):
5925 Give them doc strings.
5926
5927 2012-03-25 Eli Zaretskii <eliz@gnu.org>
5928
5929 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
5930 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
5931
5932 2012-03-25 Chong Yidong <cyd@gnu.org>
5933
5934 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
5935 theme if it was previously enabled before (Bug#11031).
5936
5937 * cus-theme.el (custom-theme-write-faces): Retrieve current face
5938 spec with custom-face-get-current-spec if its :shown-value is not
5939 determined yet (Bug#9337).
5940 (customize-create-theme, custom-theme-revert): Doc fixes.
5941
5942 * button.el (button-at): Minor addition to docstring.
5943
5944 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
5945
5946 * vc/vc.el (vc-merge): Fix a prompt.
5947
5948 2012-03-24 Chong Yidong <cyd@gnu.org>
5949
5950 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
5951 point (Bug#9623).
5952
5953 * button.el (button-at): Minor addition to docstring.
5954
5955 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
5956
5957 * newcomment.el (comment-choose-indent): No space after BOL.
5958
5959 2012-03-22 Sam Steingold <sds@gnu.org>
5960
5961 * window.el (switch-to-prev-buffer): Revert last patch because the
5962 bug turned out to be an advertised feature (Elisp manual 28.14).
5963
5964 2012-03-22 Glenn Morris <rgm@gnu.org>
5965
5966 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
5967 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
5968
5969 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
5970
5971 * net/network-stream.el (network-stream-open-starttls): Make error
5972 message under Windows be less misleading.
5973
5974 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
5975
5976 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
5977 understands (bug#9942).
5978
5979 2012-03-22 Chong Yidong <cyd@gnu.org>
5980
5981 * simple.el (end-of-visible-line): Handle return value of
5982 next-single-property-change properly (Bug#9371).
5983
5984 2012-03-22 Kenichi Handa <handa@m17n.org>
5985
5986 * international/quail.el (quail-insert-kbd-layout): Fix previous
5987 change. To avoid unwanted bidi reordering, use
5988 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
5989
5990 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
5991
5992 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
5993 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
5994 (ruby-beginning-of-indent): Be more careful with the difference
5995 between word-boundary and symbol boundary.
5996 (ruby-mode-syntax-table): Make : a symbol constituent.
5997
5998 2012-03-21 Andreas Politz <politza@fh-trier.de>
5999
6000 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
6001
6002 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
6003
6004 * progmodes/etags.el (tags-completion-at-point-function):
6005 Improve last fix.
6006
6007 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
6008
6009 2012-03-21 Sam Steingold <sds@gnu.org>
6010
6011 * progmodes/etags.el (tags-completion-at-point-function):
6012 Avoid the error when point is inside the pattern.
6013
6014 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
6015
6016 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
6017 line (Bug#10855).
6018
6019 2012-03-21 Drew Adams <drew.adams@oracle.com>
6020
6021 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
6022
6023 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
6024
6025 * ido.el (ido-set-current-directory, ido-read-internal)
6026 (ido-choose-completion-string, ido-completion-help): Handle nil
6027 value of ido-completion-buffer (Bug#11008).
6028
6029 2012-03-21 Sam Steingold <sds@gnu.org>
6030
6031 * window.el (switch-to-prev-buffer): Do not switch to a visible
6032 window previous buffer, just like with the frame previous buffers.
6033
6034 2012-03-21 Chong Yidong <cyd@gnu.org>
6035
6036 * faces.el (make-face, make-empty-face, copy-face):
6037 * face-remap.el (face-remap-add-relative, face-remap-set-base):
6038 Doc fixes.
6039
6040 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
6041
6042 * wid-edit.el (widget-complete-field): Remove (bug#11051).
6043 (widget-complete): Remove broken use of it.
6044
6045 2012-03-20 Chong Yidong <cyd@gnu.org>
6046
6047 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
6048 Use string-width and truncate-string-width to handle arbitrary
6049 characters.
6050
6051 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
6052
6053 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
6054 to draw rectangles, not squares. (Regression introduced by revno
6055 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
6056
6057 2012-03-18 Chong Yidong <cyd@gnu.org>
6058
6059 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
6060 it is not yet defined (for temacs).
6061
6062 2012-03-18 Leo Liu <sdl.web@gmail.com>
6063
6064 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
6065
6066 2012-03-17 Eli Zaretskii <eliz@gnu.org>
6067
6068 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
6069 (ispell-choices-win-default-height, ispell-silently-savep)
6070 (ispell-dictionary-alist, ispell-encoding8-command)
6071 (ispell-check-version, ispell-aspell-find-dictionary)
6072 (ispell-valid-dictionary-list, ispell-words-keyword)
6073 (ispell-get-word, ispell-internal-change-dictionary)
6074 (ispell-region, ispell-skip-region-list)
6075 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
6076 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
6077 (ispell-message-text-end, ispell-message)
6078 (ispell-buffer-local-parsing): Doc fix.
6079
6080 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
6081
6082 * htmlfontify.el: Add support for code block fontification for ODT
6083 export (Bug #9914).
6084 (hfy-optimisations): Define new option
6085 `body-text-only'
6086 (hfy-fontify-buffer): Honor above setting.
6087 (hfy-begin-span, hfy-end-span): New routines factored out form
6088 `hfy-fontify-buffer'.
6089 (hfy-begin-span-handler, hfy-end-span-handler): New variables
6090 that permit insertion of custom tags.
6091 (hfy-fontify-buffer): Use above handlers.
6092 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
6093 (hfy-face-to-css): Re-defined to be a variable.
6094 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
6095 over multiple runs. This is made possible by having the caller let
6096 bind a special variable `hfy-user-sheet-assoc'.
6097 (htmlfontify-string): New defun.
6098 (hfy-compile-face-map): Make sure that the last char in the
6099 buffer is correctly fontified.
6100 (hfy-face-resolve-face): Whitespace only change.
6101
6102 2012-03-17 Eli Zaretskii <eliz@gnu.org>
6103
6104 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
6105 message more clear.
6106
6107 2012-03-16 Leo Liu <sdl.web@gmail.com>
6108
6109 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
6110
6111 2012-03-16 Alan Mackenzie <acm@muc.de>
6112
6113 Further optimise the handling of large macros.
6114
6115 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
6116 limit to a call of `c-literal-limits'.
6117 (c-determine-+ve-limit): New function.
6118 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
6119 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
6120 In CASE 5B, restrict a search limit to 500.
6121 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
6122
6123 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
6124 Restrict macro bounds to +-500 from after-change's BEG END.
6125
6126 2012-03-16 Leo Liu <sdl.web@gmail.com>
6127
6128 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
6129
6130 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
6131
6132 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
6133 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6134
6135 2012-03-16 Glenn Morris <rgm@gnu.org>
6136
6137 * view.el (view-buffer, view-buffer-other-window)
6138 (view-buffer-other-frame): Doc fixes re special mode-class.
6139
6140 * subr.el (eval-after-load): If named feature is provided not from
6141 a file, run after-load forms. (Bug#10946)
6142
6143 * calendar/calendar.el (calendar-insert-at-column):
6144 Handle non-unit-width characters a bit better. (Bug#10978)
6145
6146 2012-03-15 Chong Yidong <cyd@gnu.org>
6147
6148 * emacs-lisp/ring.el (ring-extend): New function.
6149 (ring-insert+extend): Extend the ring correctly (Bug#11019).
6150
6151 * comint.el (comint-read-input-ring)
6152 (comint-add-to-input-history): Grow comint-input-ring lazily.
6153
6154 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
6155
6156 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
6157 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
6158
6159 * imenu.el: Fix multiple inheritance breakage (bug#9199).
6160 (imenu-add-to-menubar): Don't add a redundant index.
6161 (imenu-update-menubar): Handle a dynamically composed keymap.
6162
6163 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
6164
6165 * mail/sendmail.el (mail-encode-header):
6166 Bind rfc2047-encode-encoded-words to nil.
6167
6168 2012-03-13 Glenn Morris <rgm@gnu.org>
6169
6170 * calendar/calendar.el (calendar-string-spread):
6171 Handle non-unit-width characters a bit better. (Bug#10978)
6172
6173 2012-03-13 Leo Liu <sdl.web@gmail.com>
6174
6175 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
6176 directory and file as argument (Bug#10822).
6177
6178 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
6179
6180 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
6181 For dynamically generated code, follow $PC.
6182 (gdb-disassembly-handler-custom): Handle no function name case.
6183
6184 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
6185
6186 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
6187 * emulation/ws-mode.el (ws-query-replace):
6188 * sort.el (sort-regexp-fields):
6189 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
6190
6191 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
6192
6193 * dabbrev.el: Fix cycle completion order (bug#10963).
6194 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
6195 (dabbrev-completion): Don't use an obarray; provide
6196 a cycle-sort-function.
6197
6198 2012-03-12 Leo Liu <sdl.web@gmail.com>
6199
6200 * simple.el (kill-new): Use equal-including-properties for comparison.
6201 (kill-do-not-save-duplicates): Doc fix.
6202
6203 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
6204
6205 * dabbrev.el: Fix cycle completion (bug#10963).
6206 Use lexical binding and wrap to 80 columns.
6207 (dabbrev-completion): Delay computing the list of completions.
6208
6209 2012-03-12 Kenichi Handa <handa@m17n.org>
6210
6211 * international/quail.el (quail-insert-kbd-layout): Surround each
6212 row by LRO and PDF instead of inserting many LRMs. Pad the left
6213 and right of each non-spacing marks. Insert invisible space
6214 between lower and upper characters to prevent composition.
6215
6216 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
6217
6218 * minibuffer.el (minibuffer-complete): Don't get confused when the
6219 function is run twice via different commands (bug#10958).
6220 (complete-with-action): Fix docstring.
6221
6222 2012-03-12 Chong Yidong <cyd@gnu.org>
6223
6224 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
6225 (nxml-completion-at-point-function): New function.
6226 (nxml-mode): Use it.
6227 (nxml-bind-meta-tab-to-complete-flag): Default to t.
6228
6229 * emacs-lisp/package.el (package-unpack, package-unpack-single):
6230 Load generated autoloads file before byte compiling (Bug#10970).
6231 (package--make-autoloads-and-compile): New helper fun.
6232
6233 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
6234
6235 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
6236
6237 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
6238
6239 * autorevert.el (auto-revert-handler): Ensure, that
6240 file-readable-p is applied only for local files or in
6241 auto-revert-tail-mode.
6242
6243 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
6244
6245 * server.el (server-eval-at): Handle non-tcp connections.
6246 Decode result string.
6247
6248 * server.el (server-msg-size): New constant.
6249 (server-reply-print): New function.
6250 (server-eval-and-print): Use it.
6251 (server-eval-at): Use server-quote-arg and server-unquote-arg.
6252 Handle -print-nonl.
6253
6254 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
6255
6256 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
6257 (Bug#10987).
6258
6259 2012-03-11 Chong Yidong <cyd@gnu.org>
6260
6261 * simple.el (goto-line): Doc fix (Bug#9938).
6262
6263 * subr.el (save-window-excursion): Doc fix (Bug#9979).
6264
6265 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
6266 when finished (Bug#10963).
6267
6268 2012-03-11 Martin Rudalics <rudalics@gmx.at>
6269
6270 * window.el (split-window-below): Fix bug in case where
6271 split-window-keep-point is nil (Bug#10971).
6272
6273 2012-03-11 Juri Linkov <juri@jurta.org>
6274
6275 * replace.el (replace-highlight): Set isearch-word to nil
6276 unconditionally. (Bug#10887)
6277
6278 2012-03-10 Eli Zaretskii <eliz@gnu.org>
6279
6280 * net/mairix.el (mairix-replace-invalid-chars): Rename from
6281 mairix-replace-illegal-chars; all callers changed. Don't remove
6282 ^, ~, and = characters: they are meaningful in mairix search specs.
6283 (mairix-widget-create-query): Add usage information about mairix
6284 search forms: negating words, searching for substrings, etc.
6285
6286 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
6287
6288 * international/fontset.el (font-encoding-alist): Add an entry for
6289 ksx1001 (Bug#5667).
6290
6291 2012-03-10 Richard Stallman <rms@gnu.org>
6292
6293 * mail/sendmail.el (mail-encode-header):
6294 Set rfc2047-encode-encoded-words.
6295
6296 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
6297
6298 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
6299 view buffer means not swapped.
6300 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
6301 (rmail-write-region-annotate): Error if real text has disappeared.
6302
6303 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
6304
6305 2012-03-10 Chong Yidong <cyd@gnu.org>
6306
6307 * emulation/cua-rect.el (cua--init-rectangles):
6308 * emulation/cua-base.el (cua--init-keymaps):
6309 Add delete-forward-char to remappings (Bug#9666).
6310
6311 2012-03-10 Martin Rudalics <rudalics@gmx.at>
6312
6313 * speedbar.el (speedbar-unhighlight-one-tag-line):
6314 Avoid unhighlighting due to frame switching (Bug#10275).
6315
6316 2012-03-10 Chong Yidong <cyd@gnu.org>
6317
6318 * minibuffer.el (completion-in-region, completion-help-at-point):
6319 Give the completion field overlay a high priority (Bug#6830).
6320
6321 * dired.el (dired-goto-file): Recognize absolute file name
6322 listings (Bug#7126).
6323 (dired-goto-file-1): New helper function.
6324 (dired-toggle-read-only): Inhibit warnings.
6325
6326 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
6327
6328 * net/dbus.el (dbus-property-handler): Return empty array if
6329 there are no properties.
6330
6331 2012-03-09 Leo Liu <sdl.web@gmail.com>
6332
6333 * savehist.el (savehist-printable): Stricter check for string
6334 value (Bug#10937).
6335
6336 2012-03-09 Eli Zaretskii <eliz@gnu.org>
6337
6338 * mail/smtpmail.el (smtpmail-send-it):
6339 Bind coding-system-for-write to *-unix, so that FCC files are kept in
6340 valid mbox format.
6341
6342 2012-03-09 Glenn Morris <rgm@gnu.org>
6343
6344 * files.el (dir-locals-find-file):
6345 Don't check result is regular, readable.
6346 (dir-locals-read-from-file): Demote errors.
6347
6348 2012-03-08 Eli Zaretskii <eliz@gnu.org>
6349
6350 * international/quail.el (quail-insert-kbd-layout):
6351 Insert invisible LRM characters before each character in a keyboard
6352 layout cell, to prevent their reordering by bidi display engine.
6353 For details, see the discussion in
6354 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
6355
6356 2012-03-08 Alan Mackenzie <acm@muc.de>
6357
6358 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
6359 the starting position; make it extend the marked region when
6360 invoked repeatedly - all under appropriate circumstances.
6361 Fixes bugs #5525, #10906.
6362
6363 2012-03-08 Glenn Morris <rgm@gnu.org>
6364
6365 * files.el (locate-dominating-file, dir-locals-find-file):
6366 Undo 2012-03-06 change.
6367
6368 2012-03-07 Eli Zaretskii <eliz@gnu.org>
6369
6370 * international/quail.el (quail-help):
6371 Force bidi-paragraph-direction be left-to-right. See discussion in
6372 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
6373 for the reason.
6374
6375 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
6376
6377 Avoid superfluous registering of signals. (Bug#10807)
6378
6379 * notifications.el (notifications-on-action-object)
6380 (notifications-on-close-object): New defvars.
6381 (notifications-on-action-signal, notifications-on-closed-signal):
6382 Unregister the signal if not needed any longer.
6383 (notifications-notify): Register `notifications-action-signal' or
6384 `notifications-closed-signal', if :on-action or :on-close has been
6385 passed as argument.
6386
6387 2012-03-07 Chong Yidong <cyd@gnu.org>
6388
6389 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
6390 non-X platforms.
6391
6392 2012-03-06 Glenn Morris <rgm@gnu.org>
6393
6394 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
6395 (x-disown-selection-internal, x-get-selection-internal):
6396 Doc fix (add arglist signatures). (Bug#10783)
6397
6398 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
6399
6400 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
6401 Handle breakpoints with no "type".
6402
6403 2012-03-06 Glenn Morris <rgm@gnu.org>
6404
6405 * files.el (locate-dominating-file): Add optional predicate argument.
6406 (dir-locals-find-file): Make use of above change.
6407
6408 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
6409
6410 * info.el (Info-insert-dir): Also try "dir.gz".
6411
6412 2012-03-06 Glenn Morris <rgm@gnu.org>
6413
6414 * files.el (dir-locals-find-file):
6415 Ignore non-readable or non-regular files. (Bug#10928)
6416
6417 * files.el (locate-dominating-file): Doc fix.
6418
6419 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
6420
6421 * calendar/calendar.el (calendar-set-mode-line):
6422 `getenv' returns a string. (Bug#10951)
6423
6424 2012-03-05 Leo Liu <sdl.web@gmail.com>
6425
6426 * simple.el (backward-delete-char-untabify): Constrain point to
6427 field (Bug#10939).
6428
6429 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
6430
6431 2012-03-05 Chong Yidong <cyd@gnu.org>
6432
6433 * simple.el (count-words): If called from Lisp, return the word
6434 count, for symmetry with `count-lines'. Arglist changed.
6435 (count-words--message): Args changed. Consolidate counting code
6436 from count-words and count-words-region.
6437 (count-words-region): Caller changed.
6438 (count-lines-region): Make it an obsolete alias.
6439
6440 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
6441
6442 * saveplace.el (save-place-to-alist)
6443 (save-place-ignore-files-regexp): Allow value nil to disable this
6444 feature.
6445
6446 2012-03-04 Chong Yidong <cyd@gnu.org>
6447
6448 * faces.el (face-spec-reset-face): For the default face, reset the
6449 attributes to default values (Bug#10748).
6450
6451 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
6452
6453 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
6454 previous patch: Check `message-send-mail-function', and not the
6455 default function (bug#10897).
6456
6457 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
6458
6459 * notifications.el (notifications-on-action-signal)
6460 (notifications-on-closed-signal): Check for unique service name of
6461 incoming event. Fix error in removing entry.
6462 (top): Register for signals with wildcard service name.
6463 (notifications-notify): Use daemon unique service name for map entries.
6464
6465 2012-03-04 Chong Yidong <cyd@gnu.org>
6466
6467 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
6468
6469 2012-03-04 Glenn Morris <rgm@gnu.org>
6470
6471 * abbrev.el (copy-abbrev-table, abbrev-table-p)
6472 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
6473 (expand-abbrev, define-abbrev-table): Doc fixes.
6474
6475 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
6476
6477 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
6478 `message-default-send-mail-function' and not `send-mail-function'
6479 when doing the prompting for `sendmail-query-once' before sending
6480 in Message buffers (bug#10897).
6481
6482 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
6483 This is inconsistent with all the other stream functions, which leave
6484 the setting up to the higher levels (if so wanted) (bug#10931).
6485
6486 2012-03-02 Alan Mackenzie <acm@muc.de>
6487
6488 Depessimize the handling of very large macros.
6489
6490 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
6491 (c-macro-cache-syntactic): New variables to implement a one
6492 element macro cache.
6493 (c-invalidate-macro-cache): New function.
6494 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
6495 Adapt to use the new cache.
6496 (c-state-safe-place): Use better the cache of safe positions.
6497 (c-state-semi-nonlit-pos-cache)
6498 (c-state-semi-nonlit-pos-cache-limit):
6499 New variables for...
6500 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
6501 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
6502 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
6503 Use c-state-semi-safe-place.
6504
6505 * progmodes/cc-langs.el (c-get-state-before-change-functions):
6506 Add c-invalidate-macro-cache to the C, C++, Obj entries.
6507
6508 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
6509
6510 * jka-compr.el (jka-compr-call-process):
6511 Apply `file-accessible-directory-p' only when the default directory is
6512 not remote.
6513
6514 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
6515
6516 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
6517 access of FILE2, if FILE1 does not exist.
6518
6519 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
6520 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
6521
6522 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
6523 Add "PAGER=" to `process-environment'.
6524
6525 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
6526
6527 * progmodes/sql.el: Bug fix
6528 (sql-get-login-ext): Save login values in globals.
6529 (sql-get-login): Use new version of `sql-get-login-ext'.
6530 (sql-interactive-mode): Set global `sql-connection' to nil.
6531 (sql-connect): Set global values for connection.
6532 (sql-product-interactive): Save global values as buffer local.
6533
6534 2012-02-29 Leo Liu <sdl.web@gmail.com>
6535
6536 * abbrev.el (define-abbrevs): Reset sys to nil.
6537
6538 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6539
6540 * files.el (file-equal-p): Rename from `files-equal-p'.
6541 Return nil when one or both files don't exist.
6542 (file-subdir-of-p): Now only top directory must exists,
6543 return nil if it doesn't.
6544 (copy-directory): No need to test with `file-subdir-of-p' after
6545 creating dir.
6546 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
6547 to `file-equal-p'.
6548
6549 2012-02-28 Glenn Morris <rgm@gnu.org>
6550
6551 * shell.el (shell-mode):
6552 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
6553 * play/landmark.el (landmark-font-lock-face-O):
6554 * play/handwrite.el (handwrite):
6555 * play/gomoku.el (gomoku-O):
6556 * net/browse-url.el (browse-url-browser-display):
6557 * international/mule.el (define-charset):
6558 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
6559 * filesets.el (filesets-find-file-delay):
6560 * eshell/em-xtra.el (eshell-xtra):
6561 * eshell/em-unix.el (eshell-grep):
6562 * emulation/viper.el (viper-mode):
6563 * emacs-lisp/regexp-opt.el (regexp-opt-group):
6564 * emacs-lisp/easymenu.el (easy-menu-define):
6565 * calendar/timeclock.el (timeclock-use-display-time):
6566 * bs.el (bs-mode):
6567 * bookmark.el (bookmark-save-flag):
6568 Doc fix (standardize possessive apostrophe usage).
6569
6570 2012-02-27 Chong Yidong <cyd@gnu.org>
6571
6572 * emulation/viper-cmd.el (viper-intercept-ESC-key):
6573 Fix key-binding lookup for ESC key (Bug#9146).
6574
6575 * font-lock.el (font-lock-specified-p): Rename from
6576 font-lock-spec-present. Callers changed.
6577
6578 2012-02-27 Daniel Hackney <dan@haxney.org>
6579
6580 * emacs-lisp/package.el (package-compute-transaction):
6581 Handle holding a package version to t in package-load-list.
6582
6583 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
6584
6585 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
6586 (tramp-get-inode, tramp-get-device): Use cached values.
6587
6588 2012-02-26 Alan Mackenzie <acm@muc.de>
6589
6590 Check there is a font-lock specification before doing initial
6591 fontification.
6592
6593 * font-core.el (font-lock-mode): Move the conditional from
6594 :after-hook to font-lock-initial-fontify.
6595 (font-lock-default-function): Move the check for a specification
6596 to font-lock-spec-present.
6597
6598 * font-lock.el (font-lock-initial-fontify): Call ...
6599 (font-lock-spec-present): New function.
6600
6601 2012-02-26 Jim Blandy <jimb@red-bean.com>
6602
6603 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
6604 (gdb-send): Apply it to the operand of the '-interpreter-exec
6605 console' command, so that we can pass arguments with (say) quotes
6606 in them. Store exact string sent in gdb-debug-log (Bug#10765).
6607
6608 2012-02-26 Chong Yidong <cyd@gnu.org>
6609
6610 * help-fns.el (describe-function-1): Clarify description of
6611 remapping (Bug#10844).
6612
6613 * files.el (files-equal-p): Doc fix.
6614 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
6615 and quit the loop once a mismatch is found.
6616
6617 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
6618
6619 * bs.el (bs--show-with-configuration): Don't throw an error
6620 if the window cannot be split; otherwise, subsequent calls to
6621 bs-show fail, restoring a stale window config. (Bug#10882)
6622
6623 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
6624
6625 * term/ns-win.el (global-map): Bind ns-drag-file to
6626 ns-find-file (Bug#5855, Bug#10050).
6627
6628 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
6629
6630 * calendar/parse-time.el (parse-time-string): Allow extractor to
6631 return nil.
6632
6633 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
6634
6635 * net/tramp.el (tramp-file-name-for-operation):
6636 Add `files-equal-p' and `file-subdir-of-p'.
6637
6638 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
6639 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
6640 Add COPY-CONTENTS argument.
6641
6642 2012-02-25 Chong Yidong <cyd@gnu.org>
6643
6644 Add custom groups for VC backends, for consistency with vc-bzr.
6645
6646 * vc/vc-arch.el (vc-arch):
6647 * vc/vc-cvs.el (vc-cvs):
6648 * vc/vc-git.el (vc-git):
6649 * vc/vc-hg.el (vc-hg):
6650 * vc/vc-mtn.el (vc-mtn):
6651 * vc/vc-rcs.el (vc-rcs):
6652 * vc/vc-sccs.el (vc-sccs):
6653 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
6654 All relevant defcustoms reassigned.
6655
6656 2012-02-25 Chong Yidong <cyd@gnu.org>
6657
6658 * newcomment.el (comment-styles): Add autoload (Bug#10868).
6659
6660 * term/x-win.el (x-initialize-window-system): Reduce default for
6661 x-selection-timeout to 5 seconds (Bug#8869).
6662
6663 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6664
6665 * files.el (files-equal-p, file-subdir-of-p): New functions.
6666 (copy-directory): Error when trying to copy a directory on itself.
6667 Add missing copy-contents arg to tramp handler.
6668 * dired-aux.el (dired-copy-file-recursive): Same.
6669 (dired-create-files): Modify destination when source is equal to
6670 dest when copying files.
6671 Return also when dest is a subdir of source. (Bug#10489)
6672
6673 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
6674
6675 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
6676 (Bug#10874)
6677
6678 2012-02-23 Alan Mackenzie <acm@muc.de>
6679
6680 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
6681 parameter "after-hook:" to allow the expansion to run code after
6682 the execution of the mode hooks.
6683
6684 * font-lock.el (font-lock-initial-fontify): New function extracted
6685 from font-lock-mode-internal.
6686
6687 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
6688 :after-hook.
6689
6690 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
6691
6692 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
6693 (completion--cache-all-sorted-completions): New function.
6694 (completion-all-sorted-completions): Use it.
6695 (completion--do-completion, minibuffer-force-complete):
6696 Use it to re-instate the flush hook.
6697
6698 * icomplete.el (icomplete-completions): Replace last fix with a better
6699 one (bug#10850).
6700
6701 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
6702
6703 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
6704 when it might call us back infinitely (bug#10797).
6705
6706 2012-02-23 Glenn Morris <rgm@gnu.org>
6707
6708 * minibuffer.el (completion-category-overrides): Doc fix.
6709
6710 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
6711
6712 * minibuffer.el (completion-table-with-context): Fix inf-loop.
6713 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
6714
6715 2012-02-23 Glenn Morris <rgm@gnu.org>
6716
6717 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
6718 (authors-obsolete-files-regexps, authors-ignored-files)
6719 (authors-ambiguous-files, authors-renamed-files-alist):
6720 Add more entries.
6721
6722 2012-02-23 Juri Linkov <juri@jurta.org>
6723
6724 * isearch.el (isearch-occur): Sync interactive spec with occur's
6725 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
6726
6727 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
6728
6729 2012-02-22 Juri Linkov <juri@jurta.org>
6730
6731 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
6732 (ucs-insert): Doc fix. Check for hex digits in the string.
6733 Don't display `nil' in the error message. (Bug#10857)
6734
6735 2012-02-22 Alan Mackenzie <acm@muc.de>
6736
6737 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
6738
6739 2012-02-22 Glenn Morris <rgm@gnu.org>
6740
6741 * ffap.el (ffap-c-path):
6742 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
6743
6744 2012-02-22 Chong Yidong <cyd@gnu.org>
6745
6746 * custom.el (load-theme): Doc fix.
6747
6748 2012-02-22 Glenn Morris <rgm@gnu.org>
6749
6750 * dired-x.el (dired-guess-shell-alist-default):
6751 Remove escape sequences from nroff output. (Bug#172)
6752
6753 2012-02-21 Glenn Morris <rgm@gnu.org>
6754
6755 * vc/emerge.el (emerge-defvar-local):
6756 Set `permanent-local' property rather than unused `preserved'.
6757
6758 * textmodes/picture.el (picture-delete-char): New alias.
6759 (picture-mode-map): Use it. (Bug#10860)
6760 (picture-mode): Doc fix.
6761
6762 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
6763
6764 * newcomment.el (uncomment-region-default): Remove unused binding.
6765
6766 2012-02-21 Glenn Morris <rgm@gnu.org>
6767
6768 * textmodes/picture.el (picture-motion, picture-motion-reverse)
6769 (picture-self-insert, picture-tab-chars): Doc fix.
6770 (picture-mode-map): Fix C-a, C-e.
6771
6772 2012-02-20 Glenn Morris <rgm@gnu.org>
6773
6774 * emacs-lisp/authors.el (authors-aliases): Add another entry.
6775
6776 2012-02-20 Leo Liu <sdl.web@gmail.com>
6777
6778 * icomplete.el (icomplete-completions): Check FROM arg before
6779 passing to substring (Bug#10850).
6780
6781 2012-02-19 Chong Yidong <cyd@gnu.org>
6782
6783 * comint.el: Require ansi-color.
6784 (comint-output-filter-functions): Add ansi-color-process-output.
6785
6786 * ansi-color.el: Don't set comint-output-filter-functions; it is
6787 now in the initial value defined in comint.el.
6788 (ansi-color-apply-face-function): New variable.
6789 (ansi-color-apply-on-region): Use it.
6790 (ansi-color-apply-overlay-face): New function.
6791
6792 * shell.el (shell): No need to require ansi-color.
6793 (shell-mode): Use ansi-color-apply-face-function to highlight
6794 color escapes using font-lock-face property (Bug#10835).
6795
6796 2012-02-19 Chong Yidong <cyd@gnu.org>
6797
6798 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
6799 mode-line formats (Bug#10839).
6800
6801 2012-02-18 Glenn Morris <rgm@gnu.org>
6802
6803 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
6804
6805 * mail/undigest.el (unforward-rmail-message): Doc fix.
6806
6807 * saveplace.el (save-place-ignore-files-regexp): Add :version.
6808
6809 2012-02-18 Eli Zaretskii <eliz@gnu.org>
6810
6811 * international/characters.el (script-list): Sync with the latest
6812 Unicode Character Database.
6813
6814 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
6815
6816 * international/titdic-cnv.el: Remove duplicate coding tag.
6817 * language/cham.el: Likewise.
6818 * language/tai-viet.el: Likewise.
6819
6820 2012-02-18 Glenn Morris <rgm@gnu.org>
6821
6822 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
6823 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
6824 (calendar-bahai-all-holidays-flag, calendar-other-dates):
6825 * calendar/diary-lib.el (diary-abbreviated-year-flag):
6826 * calendar/holidays.el (holiday-bahai-holidays)
6827 (calendar-holidays, list-holidays):
6828 Use utf-8 Bahá'í in doc-strings, menus, etc.
6829
6830 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
6831
6832 * saveplace.el (save-place-ignore-files-regexp): New variable
6833 allowing for excluding files from saving their location of point.
6834 The default value matches the temporary commit message editing
6835 files from Git, SVN, Bazaar, and Mercurial.
6836 (save-place-to-alist): Use it.
6837
6838 2012-02-17 Lawrence Mitchell <wence@gmx.li>
6839 Stefan Monnier <monnier@iro.umontreal.ca>
6840
6841 * newcomment.el (uncomment-region-default): Don't leave extra space
6842 when an arg is provided (bug#8150).
6843
6844 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
6845
6846 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
6847
6848 2012-02-17 Glenn Morris <rgm@gnu.org>
6849
6850 * net/socks.el: Require network-stream. (Bug#10599)
6851
6852 2012-02-17 Kenichi Handa <handa@m17n.org>
6853
6854 * international/charprop.el:
6855 * international/uni-name.el:
6856 * international/uni-old-name.el:
6857 * international/uni-comment.el: Regenerate.
6858
6859 2012-02-16 Glenn Morris <rgm@gnu.org>
6860
6861 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
6862 Interactively in calendar buffer, give an error if not on a date.
6863
6864 2012-02-15 Glenn Morris <rgm@gnu.org>
6865
6866 * shell.el (shell-delimiter-argument-list):
6867 Revert 2011-02-17 change. (Bug#8027)
6868
6869 2012-02-15 Chong Yidong <cyd@gnu.org>
6870
6871 * minibuffer.el (completion-at-point-functions): Doc fix.
6872
6873 * custom.el (defcustom): Doc fix; note use of defvar.
6874
6875 2012-02-15 Glenn Morris <rgm@gnu.org>
6876
6877 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
6878 Doc fixes.
6879
6880 2012-02-14 Glenn Morris <rgm@gnu.org>
6881
6882 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
6883
6884 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
6885
6886 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
6887 way the ports list is computed.
6888 (smtpmail-query-smtp-server): Prompt the user for a port number if
6889 we can't connect to any of the standard ports (bug#10810).
6890
6891 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
6892
6893 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
6894
6895 2012-02-13 Glenn Morris <rgm@gnu.org>
6896
6897 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
6898
6899 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
6900
6901 * net/gnutls.el (gnutls-trustfiles): New variable.
6902 (gnutls-negotiate): Use it.
6903
6904 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
6905
6906 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
6907 does its stuff if Gnus is running.
6908
6909 2012-02-13 Alan Mackenzie <acm@muc.de>
6910
6911 Fix a loop in c-set-fl-decl-start.
6912
6913 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
6914 c-backward-syntactic-ws actually moves backwards.
6915
6916 2012-02-13 Leo Liu <sdl.web@gmail.com>
6917
6918 * net/rcirc.el (rcirc-markup-attributes): Move point to the
6919 beginning so that all \C-o chars are removed.
6920
6921 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
6922
6923 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
6924
6925 2012-02-12 Alan Mackenzie <acm@muc.de>
6926
6927 Fix infinite loop with long macros.
6928 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
6929
6930 2012-02-12 Chong Yidong <cyd@gnu.org>
6931
6932 * window.el (display-buffer): Doc fix (Bug#10785).
6933
6934 2012-02-12 Glenn Morris <rgm@gnu.org>
6935
6936 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
6937 (x-disown-selection-internal, x-get-selection-internal):
6938 Sync docs with the xselect.c versions.
6939
6940 * allout-widgets.el: Add missing license notice.
6941
6942 2012-02-11 Glenn Morris <rgm@gnu.org>
6943
6944 * select.el (x-get-selection-internal, x-own-selection-internal)
6945 (x-disown-selection-internal):
6946 * x-dnd.el (x-get-selection-internal): Update declarations.
6947
6948 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
6949
6950 * window.el (window-sides-slots):
6951 * tool-bar.el (tool-bar-position):
6952 * term/xterm.el (xterm-extra-capabilities):
6953 * ses.el (ses-self-reference-early-detection):
6954 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
6955 (verilog-auto-wire-type)
6956 (verilog-auto-delete-trailing-whitespace)
6957 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
6958 (verilog-auto-tieoff-declaration):
6959 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
6960 (sql-oracle-statement-starters, sql-oracle-scan-on):
6961 * progmodes/prolog.el (prolog-align-comments-flag)
6962 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
6963 (prolog-left-indent-regexp, prolog-paren-indent-p)
6964 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
6965 (prolog-types, prolog-mode-specificators)
6966 (prolog-determinism-specificators, prolog-directives)
6967 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
6968 (prolog-electric-dot-flag)
6969 (prolog-electric-dot-full-predicate-template)
6970 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
6971 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
6972 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
6973 (prolog-program-switches, prolog-prompt-regexp)
6974 (prolog-debug-on-string, prolog-debug-off-string)
6975 (prolog-trace-on-string, prolog-trace-off-string)
6976 (prolog-zip-on-string, prolog-zip-off-string)
6977 (prolog-use-standard-consult-compile-method-flag)
6978 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
6979 (prolog-imenu-max-lines, prolog-info-predicate-index)
6980 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
6981 (prolog-char-quote-workaround):
6982 * progmodes/cc-vars.el (c-defun-tactic):
6983 * net/tramp.el (tramp-encoding-command-interactive)
6984 (tramp-local-end-of-line):
6985 * net/soap-client.el (soap-client):
6986 * net/netrc.el (netrc-file):
6987 * net/gnutls.el (gnutls):
6988 * minibuffer.el (completion-category-overrides)
6989 (completion-cycle-threshold)
6990 (completion-pcm-complete-word-inserts-delimiters):
6991 * man.el (Man-name-local-regexp):
6992 * mail/feedmail.el (feedmail-display-full-frame):
6993 * international/characters.el (glyphless-char-display-control):
6994 * eshell/em-ls.el (eshell-ls-date-format):
6995 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
6996 (lisp-lambda-list-keyword-parameter-indentation)
6997 (lisp-lambda-list-keyword-parameter-alignment):
6998 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
6999 * dired-x.el (dired-omit-verbose):
7000 * cus-theme.el (custom-theme-allow-multiple-selections):
7001 * calc/calc.el (calc-highlight-selections-with-faces)
7002 (calc-lu-field-reference, calc-lu-power-reference)
7003 (calc-note-threshold):
7004 * battery.el (battery-mode-line-limit):
7005 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
7006 (archive-7z-update):
7007 * allout.el (allout-prefixed-keybindings)
7008 (allout-unprefixed-keybindings)
7009 (allout-inhibit-auto-fill-on-headline)
7010 (allout-flattened-numbering-abbreviation):
7011 * allout-widgets.el (allout-widgets-auto-activation)
7012 (allout-widgets-icons-dark-subdir)
7013 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
7014 (allout-widgets-theme-dark-background)
7015 (allout-widgets-theme-light-background)
7016 (allout-widgets-item-image-properties-emacs)
7017 (allout-widgets-item-image-properties-xemacs)
7018 (allout-widgets-run-unit-tests-on-load)
7019 (allout-widgets-time-decoration-activity)
7020 (allout-widgets-hook-error-post-time)
7021 (allout-widgets-track-decoration):
7022 Add missing :version tags to new defcustoms and defgroups.
7023
7024 * progmodes/sql.el (sql-ansi-statement-starters)
7025 (sql-oracle-statement-starters): Add custom type.
7026
7027 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
7028 (prolog-system-version): Give it a type.
7029
7030 2012-02-11 Eli Zaretskii <eliz@gnu.org>
7031
7032 * term/pc-win.el (x-select-text, x-selection-owner-p)
7033 (x-own-selection-internal, x-disown-selection-internal)
7034 (x-get-selection-internal): Sync doc strings and argument lists
7035 with xselect.c, common-win.el and x-win.el. (Bug#10783)
7036
7037 2012-02-11 Leo Liu <sdl.web@gmail.com>
7038
7039 * progmodes/python.el (python-end-of-statement): Fix infinite
7040 loop. (Bug#10788)
7041
7042 2012-02-10 Glenn Morris <rgm@gnu.org>
7043
7044 * international/mule-cmds.el (unify-8859-on-encoding-mode)
7045 (unify-8859-on-decoding-mode): Properly mark as obsolete.
7046
7047 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
7048
7049 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
7050 about SMTP before checking the From header.
7051
7052 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
7053 into own function for reuse by emacsbug.el.
7054
7055 2012-02-10 Leo Liu <sdl.web@gmail.com>
7056
7057 * subr.el (condition-case-unless-debug): Rename from
7058 condition-case-no-debug. All callers changed.
7059 (with-demoted-errors): Fix caller.
7060
7061 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
7062 * nxml/rng-valid.el (rng-do-some-validation):
7063 * emacs-lisp/package.el (package-refresh-contents)
7064 (package-menu-execute):
7065 * desktop.el (desktop-create-buffer):
7066 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
7067
7068 2012-02-10 Glenn Morris <rgm@gnu.org>
7069
7070 * textmodes/bibtex.el:
7071 Add missing :version tags for new/changed defcustoms.
7072
7073 * files.el (remote-file-name-inhibit-cache): Doc fixes.
7074
7075 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
7076
7077 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
7078 (smtpmail-via-smtp): Use it, or fall back on the From address.
7079 (smtpmail-send-it): Ditto.
7080
7081 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
7082
7083 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
7084 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
7085 (byte-compile-tmp-var): New const.
7086 (byte-compile-defvar): Use it to minimize .elc size.
7087 Just use `defvar' rather than simulate it (bug#10761).
7088
7089 2012-02-09 Glenn Morris <rgm@gnu.org>
7090
7091 * files.el (rename-uniquely): Doc fix. (Bug#3806)
7092
7093 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
7094 Add :version tags.
7095
7096 * progmodes/compile.el (compilation-error-screen-columns)
7097 (compilation-first-column, compilation-filter-start): Doc fixes.
7098
7099 * vc/log-view.el (log-view-toggle-entry-display):
7100 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
7101
7102 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
7103 (report-emacs-bug-can-use-xdg-email):
7104 (report-emacs-bug-insert-to-mailer): Doc fixes.
7105 (report-emacs-bug): Message fix.
7106
7107 * net/browse-url.el (browse-url-can-use-xdg-open)
7108 (browse-url-xdg-open): Doc fixes.
7109
7110 * electric.el (electric-indent-mode, electric-pair-mode)
7111 (electric-layout-rules, electric-layout-mode): Doc fixes.
7112 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
7113
7114 2012-02-08 Martin Rudalics <rudalics@gmx.at>
7115
7116 * server.el (server-unselect-display): Don't inadvertently kill
7117 the current buffer. (Bug#10729)
7118
7119 2012-02-08 Glenn Morris <rgm@gnu.org>
7120
7121 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
7122 (sql-list-table): Doc fixes.
7123
7124 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
7125 Comment out (does nothing).
7126
7127 * completion.el (dynamic-completion-mode):
7128 * dirtrack.el (dirtrack-debug-mode):
7129 * electric.el (electric-layout-mode):
7130 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
7131 * face-remap.el (text-scale-mode, buffer-face-mode):
7132 * iimage.el (iimage-mode):
7133 * image-mode.el (image-transform-mode):
7134 * minibuffer.el (completion-in-region-mode):
7135 * scroll-lock.el (scroll-lock-mode):
7136 * simple.el (next-error-follow-minor-mode):
7137 * tar-mode.el (tar-subfile-mode):
7138 * tooltip.el (tooltip-mode):
7139 * vcursor.el (vcursor-use-vcursor-map):
7140 * wid-browse.el (widget-minor-mode):
7141 * emulation/tpu-edt.el (tpu-edt-mode):
7142 * emulation/tpu-extras.el (tpu-cursor-free-mode):
7143 * international/iso-ascii.el (iso-ascii-mode):
7144 * language/thai-util.el (thai-word-mode):
7145 * mail/supercite.el (sc-minor-mode):
7146 * net/goto-addr.el (goto-address-mode):
7147 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
7148 * progmodes/cwarn.el (cwarn-mode):
7149 * progmodes/flymake.el (flymake-mode):
7150 * progmodes/glasses.el (glasses-mode):
7151 * progmodes/hideshow.el (hs-minor-mode):
7152 * progmodes/pascal.el (pascal-outline-mode):
7153 * textmodes/enriched.el (enriched-mode):
7154 * vc/smerge-mode.el (smerge-mode):
7155 Doc fixes (minor mode argument).
7156
7157 2012-02-07 Eli Zaretskii <eliz@gnu.org>
7158
7159 * ls-lisp.el (ls-lisp-sanitize): New function.
7160 (ls-lisp-insert-directory): Use it to fix or remove any elements
7161 in file-alist with missing attributes. (Bug#4673)
7162
7163 2012-02-07 Alan Mackenzie <acm@muc.de>
7164
7165 Fix spurious recognition of c-in-knr-argdecl.
7166
7167 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
7168 putative K&R region.
7169
7170 2012-02-07 Alan Mackenzie <acm@muc.de>
7171
7172 * progmodes/cc-engine.el (c-forward-objc-directive):
7173 Prevent looping in "#pragma mark @implementation".
7174
7175 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
7176
7177 * notifications.el (notifications-on-closed-signal): Make `reason'
7178 optional. (Bug#10744)
7179
7180 2012-02-07 Glenn Morris <rgm@gnu.org>
7181
7182 * emacs-lisp/easy-mmode.el (define-minor-mode):
7183 Doc fixes for the macro and the mode it defines.
7184
7185 * image.el (imagemagick-types-inhibit): Doc fix.
7186
7187 * cus-start.el (imagemagick-render-type): Add it.
7188
7189 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
7190
7191 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
7192 Set the default at load time, too, so that `font-lock-fontify-buffer'
7193 can be called without setting up the entire mode first. This fixes
7194 a bug in `mm-inline-text' with C MIME parts.
7195
7196 2012-02-06 Chong Yidong <cyd@gnu.org>
7197
7198 * simple.el (list-processes--refresh): Delete exited processes
7199 (Bug#8094).
7200
7201 * comint.el (comint-next-prompt): next-single-char-property-change
7202 and prev-single-char-property-change never return nil (Bug#8657).
7203
7204 * custom.el (defcustom): Doc fix (Bug#9711).
7205
7206 2012-02-05 Chong Yidong <cyd@gnu.org>
7207
7208 * cus-edit.el (custom-variable-reset-backup): Quote the value
7209 before storing it in the customized-value property (Bug#6712).
7210 (custom-display): Add a customization type tag.
7211 (custom-buffer-create-internal): Improve tooltip message.
7212
7213 * wid-edit.el (widget-field-value-get): New optional arg to
7214 suppress trailing whitespace truncation.
7215 (character): Use it (Bug#2689).
7216
7217 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
7218
7219 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
7220 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
7221
7222 2012-02-05 Chong Yidong <cyd@gnu.org>
7223
7224 * cus-edit.el (custom-variable-value-create): For mismatched
7225 types, show the current value (Bug#7600).
7226
7227 * custom.el (defcustom): Doc fix.
7228
7229 2012-02-05 Glenn Morris <rgm@gnu.org>
7230
7231 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
7232
7233 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
7234
7235 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
7236 (pp-buffer): Use `ignore-errors', `looking-at-p'.
7237 (pp-last-sexp): Use `looking-at-p'.
7238
7239 2012-02-04 Glenn Morris <rgm@gnu.org>
7240
7241 * files.el (revert-buffer):
7242 Doc fix (mention revert-buffer-in-progress-p).
7243
7244 * emacs-lisp/ert-x.el (ert-simulate-command):
7245 Check deferred-action-list (which is obsolete) is bound.
7246
7247 * subr.el (with-wrapper-hook): Doc fixes.
7248
7249 * simple.el (filter-buffer-substring-functions)
7250 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
7251
7252 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
7253
7254 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
7255 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
7256
7257 2012-02-04 Leo Liu <sdl.web@gmail.com>
7258
7259 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
7260
7261 2012-02-04 Glenn Morris <rgm@gnu.org>
7262
7263 * image.el (image-extension-data): Add obsolete alias.
7264
7265 * isearch.el (isearch-update): Doc fix.
7266
7267 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
7268
7269 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
7270
7271 2012-02-03 Glenn Morris <rgm@gnu.org>
7272
7273 * image.el (image-animated-p): Doc fix. Use image-animated-types.
7274 (image-animate-timeout): Doc fix.
7275
7276 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
7277
7278 2012-02-02 Glenn Morris <rgm@gnu.org>
7279
7280 * server.el (server-auth-dir): Doc fix.
7281 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
7282
7283 * subr.el (run-mode-hooks): Doc fix.
7284
7285 2012-02-02 Juri Linkov <juri@jurta.org>
7286
7287 * image-mode.el (image-toggle-display-image): Remove tautological
7288 `major-mode' from the `derived-mode-p' test.
7289
7290 2012-02-02 Kenichi Handa <handa@m17n.org>
7291
7292 * composite.el (compose-region): Cancel previous change.
7293
7294 2012-02-02 Kenichi Handa <handa@m17n.org>
7295
7296 * composite.el (compose-region, compose-string): Signal error for
7297 a null string component (Bug#6988).
7298
7299 2012-02-01 Chong Yidong <cyd@gnu.org>
7300
7301 * view.el (view-buffer-other-window, view-buffer-other-frame):
7302 Handle special modes like view-buffer (Bug#10650).
7303 (view-buffer): Simplify.
7304
7305 * frame.el (set-frame-font): Tweak meaning of third argument.
7306
7307 * dynamic-setting.el (font-setting-change-default-font):
7308 Use set-frame-font (Bug#9982).
7309
7310 2012-02-01 Glenn Morris <rgm@gnu.org>
7311
7312 * progmodes/compile.el (compilation-internal-error-properties):
7313 Respect compilation-first-column in the "*compilation*" buffer.
7314
7315 * emacs-lisp/easy-mmode.el (define-minor-mode):
7316 Relax :variable's test for a named function.
7317
7318 2012-01-31 Alan Mackenzie <acm@muc.de>
7319
7320 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
7321 off by one error.
7322
7323 2012-01-31 Chong Yidong <cyd@gnu.org>
7324
7325 * frame.el (set-frame-font): New arg ALL-FRAMES.
7326
7327 * menu-bar.el (menu-set-font): Use set-frame-font.
7328
7329 * faces.el (face-spec-reset-face): Don't apply unspecified
7330 attribute values to the default face.
7331
7332 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
7333
7334 * progmodes/cwarn.el (cwarn): Remove dead link.
7335 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
7336 Remove * from defcustom docstrings.
7337 (turn-on-cwarn-mode): Make obsolete.
7338 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
7339 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
7340
7341 2012-01-31 Glenn Morris <rgm@gnu.org>
7342
7343 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
7344 Fix :variable handling of mode a symbol not equal to modefun.
7345 Allow named functions to be used as the cdr of :variable.
7346
7347 2012-01-30 Glenn Morris <rgm@gnu.org>
7348
7349 * emacs-lisp/authors.el (authors-fixed-entries):
7350 Remove reference to deleted file rnewspost.el.
7351
7352 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
7353
7354 * window.el (window-with-parameter): Remove unused variable `windows'.
7355 (window--side-check): Remove unused variable `code'.
7356 (window--resize-siblings): Remove unused variable `first'.
7357 (adjust-window-trailing-edge): Remove unused variable `failed'.
7358 (window-deletable-p, window--delete): Remove unused variable `buffer'.
7359 Use `let', not `let*'.
7360 (balance-windows-2): Remove unused variable `found'.
7361 (window--state-put-2): Remove unused variable `splits'.
7362 (window-state-put): Remove unused variable `selected'.
7363 (same-window-p): Use `string-match-p'.
7364 (display-buffer-assq-regexp): Remove unused variable `value'.
7365 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
7366 Mark argument ALIST as ignored.
7367 (pop-to-buffer): Remove unused variable `old-window'.
7368
7369 2012-01-29 Eli Zaretskii <eliz@gnu.org>
7370
7371 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
7372 and .lzma compressed files.
7373
7374 2012-01-29 Chong Yidong <cyd@gnu.org>
7375
7376 * frame.el (window-system-default-frame-alist): Doc fix.
7377
7378 * dynamic-setting.el (font-setting-change-default-font): Don't
7379 change the default face if SET-FONT argument is non-nil (Bug#9982).
7380
7381 2012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
7382
7383 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
7384
7385 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
7386
7387 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
7388 breakpoints in files outside current directory (Bug#6098).
7389
7390 2012-01-29 Chong Yidong <cyd@gnu.org>
7391
7392 * progmodes/python.el: Require ansi-color at top-level.
7393
7394 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
7395 Define and use in Emacs Lisp mode (Bug#9360).
7396 (lisp-mode-abbrev-table): Add doc.
7397 (lisp-mode-variables): Don't set local-abbrev-table.
7398 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
7399
7400 2012-01-28 Roland Winkler <winkler@gnu.org>
7401
7402 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
7403
7404 2012-01-28 Roland Winkler <winkler@gnu.org>
7405
7406 * textmodes/bibtex.el (bibtex-entry-alist): New function.
7407 (bibtex-set-dialect): Use it. Either set global values of
7408 dialect-dependent variables or bind these variables buffer-locally
7409 (Bug#10254).
7410 (bibtex-mode): Call bibtex-set-dialect via
7411 hack-local-variables-hook.
7412 (bibtex-dialect): Update docstring.
7413 Add safe-local-variable predicate.
7414 (bibtex-entry-alist, bibtex-field-alist): Initialize via
7415 bibtex-set-dialect.
7416 (bibtex-mode-map): Define menu for each dialect.
7417 (bibtex-entry): Fix docstring.
7418
7419 2012-01-28 Chong Yidong <cyd@gnu.org>
7420
7421 * eshell/esh-arg.el (eshell-quote-argument): New function.
7422
7423 * eshell/esh-ext.el (eshell-invoke-batch-file):
7424 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
7425 first arg to eshell-parse-command (Bug#10523).
7426
7427 2012-01-28 Drew Adams <drew.adams@oracle.com>
7428
7429 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
7430 `default-directory' is non-nil.
7431
7432 2012-01-28 Eli Zaretskii <eliz@gnu.org>
7433
7434 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
7435 line that displays system-configuration-options. (Bug#9924)
7436
7437 2012-01-28 Drew Adams <drew.adams@oracle.com>
7438
7439 * descr-text.el (describe-char): Show information about POS, in
7440 addition to information about the character at POS. Improve and
7441 update the doc string. Change "code point" to "code point in
7442 charset", to avoid confusion with the character's Unicode code
7443 point shown above that. (Bug#10129)
7444
7445 2012-01-28 Eli Zaretskii <eliz@gnu.org>
7446
7447 * descr-text.el (describe-char): Show the raw character, not only
7448 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
7449 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
7450 for the reasons.
7451
7452 2012-01-28 Phil Hagelberg <phil@hagelb.org>
7453
7454 * emacs-lisp/package.el (package-install):
7455 Run package-refresh-contents if there is no archive yet (Bug#9798).
7456
7457 2012-01-28 Chong Yidong <cyd@gnu.org>
7458
7459 * emacs-lisp/package.el (package-maybe-load-descriptor):
7460 New function, split from package-maybe-load-descriptor.
7461 (package-maybe-load-descriptor): Use it.
7462 (package-download-transaction): Fully load required packages
7463 inside the loop, so that `require' calls work (Bug#10593).
7464 (package-install): No need to call package-initialize now.
7465
7466 2012-01-28 Chong Yidong <cyd@gnu.org>
7467
7468 * simple.el (deactivate-mark): Doc fix (Bug#8614).
7469
7470 * tooltip.el (tooltip-mode): Doc fix.
7471 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
7472
7473 * frame.el (set-cursor-color): Doc fix (Bug#352).
7474
7475 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
7476 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
7477
7478 * cus-edit.el (custom-buffer-create-internal): Fix search button
7479 action (Bug#10542).
7480 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
7481
7482 2012-01-27 Eduard Wiebe <usenet@pusto.de>
7483
7484 * dired.el (dired-mark-files-regexp):
7485 Include any subdirectory components. (Bug#10445)
7486
7487 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
7488
7489 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
7490 Handle [host]:port syntax. (Bug#10533)
7491
7492 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
7493
7494 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
7495
7496 2012-01-26 Glenn Morris <rgm@gnu.org>
7497
7498 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
7499 * term.el (term-raw-escape-map): Use Control-X-prefix.
7500 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
7501
7502 2012-01-25 Martin Rudalics <rudalics@gmx.at>
7503
7504 * window.el (window-state-get, window--state-get-1): Don't deal
7505 with fixed-sizeness of windows. Simplify code.
7506
7507 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
7508
7509 * window.el (window--state-get-1, window--state-put-2):
7510 Don't save and restore the mark.
7511
7512 2012-01-25 Chong Yidong <cyd@gnu.org>
7513
7514 * custom.el (custom-variable-p): Doc fix.
7515
7516 2012-01-25 Glenn Morris <rgm@gnu.org>
7517
7518 * dired.el (dired-goto-file): Handle some of the more common
7519 characters that `ls -b' escapes. (Bug#10596)
7520
7521 * progmodes/compile.el (compilation-next-error-function):
7522 Respect compilation-first-column in the "*compilation*" buffer.
7523 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
7524
7525 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
7526
7527 2012-01-24 Glenn Morris <rgm@gnu.org>
7528
7529 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
7530
7531 2012-01-24 Julien Danjou <julien@danjou.info>
7532
7533 * color.el (color-rgb-to-hsl): Fix value computing.
7534 (color-hue-to-rgb): New function.
7535 (color-hsl-to-rgb): New function.
7536 (color-clamp, color-saturate-hsl, color-saturate-name)
7537 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
7538 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
7539
7540 2012-01-24 Glenn Morris <rgm@gnu.org>
7541
7542 * vc/vc-rcs.el (vc-rcs-create-tag):
7543 * vc/vc-sccs.el (vc-sccs-create-tag):
7544 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
7545
7546 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
7547
7548 * eshell/esh-util.el (eshell-read-hosts-file):
7549 Skip comment lines. (Bug#10549)
7550
7551 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
7552
7553 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
7554
7555 * subr.el (display-delayed-warnings): Doc fix.
7556 (collapse-delayed-warnings): New function to collapse identical
7557 adjacent warnings.
7558 (delayed-warnings-hook): Add it.
7559
7560 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
7561
7562 * net/tramp.el (tramp-action-login): Set connection property "login-as".
7563
7564 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
7565 (tramp-default-user-alist): Don't add "pscp".
7566 (tramp-do-copy-or-rename-file-out-of-band): Use connection
7567 property "login-as", if set. (Bug#10530)
7568
7569 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
7570
7571 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
7572 "plink1" and "psftp". (Bug#10530)
7573
7574 2012-01-21 Kenichi Handa <handa@m17n.org>
7575
7576 * international/mule-cmds.el (prefer-coding-system): Show a
7577 warning message if the default value of file-name-coding-system
7578 was not changed.
7579
7580 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
7581
7582 * windmove.el (windmove-reference-loc):
7583 Fix windmove-reference-loc miscalculation.
7584
7585 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
7586
7587 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
7588 default unit.
7589
7590 2012-01-21 Glenn Morris <rgm@gnu.org>
7591
7592 * international/mule.el (auto-coding-alist): Add .tbz.
7593
7594 * files.el (local-enable-local-variables): Doc fix.
7595 (inhibit-local-variables-regexps): Rename from
7596 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
7597 Doc fix. Add some extensions from auto-coding-alist.
7598 (inhibit-local-variables-suffixes):
7599 Rename from inhibit-first-line-modes-suffixes. Doc fix.
7600 (inhibit-local-variables-p):
7601 New function, extracted from set-auto-mode-1.
7602 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
7603 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
7604 (hack-local-variables): Doc fix. Make the mode-only case
7605 respect enable-local-variables and friends.
7606 Respect inhibit-local-variables-regexps for file-locals, but
7607 not for directory-locals.
7608 (set-visited-file-name):
7609 Take account of inhibit-local-variables-regexps.
7610 Whether it applies may change as the file name is changed.
7611 * jka-cmpr-hook.el (jka-compr-install):
7612 * jka-compr.el (jka-compr-uninstall):
7613 Update for inhibit-first-line-modes-suffixes name change.
7614
7615 2012-01-20 Martin Rudalics <rudalics@gmx.at>
7616
7617 * help-macro.el (make-help-screen): Temporarily restore original
7618 binding for minor-mode-map-alist (Bug#10454).
7619
7620 2012-01-19 Julien Danjou <julien@danjou.info>
7621
7622 * color.el (color-name-to-rgb): Use the white color to find the max
7623 color component value and return correctly computed values.
7624 (color-name-to-rgb): Add missing float conversion for max value.
7625
7626 2012-01-19 Martin Rudalics <rudalics@gmx.at>
7627
7628 * window.el (window--state-get-1, window-state-get): Do not use
7629 special state value for window-persistent-parameters.
7630 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
7631 (window--state-put-2): Reset all window parameters to nil before
7632 assigning values of persistent parameters.
7633
7634 2012-01-18 Alan Mackenzie <acm@muc.de>
7635
7636 Eliminate sluggishness and hangs in fontification of "semicolon
7637 deserts".
7638
7639 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
7640 Change value 10000 -> 3000.
7641 (c-state-safe-place): Reformulate so it doesn't stack up an
7642 infinite number of wrong entries in c-state-nonlit-pos-cache.
7643 (c-determine-limit-get-base, c-determine-limit): New functions to
7644 determine backward search limits disregarding literals.
7645 (c-find-decl-spots): Amend commenting.
7646 (c-cheap-inside-bracelist-p): New function which detects "={".
7647
7648 * progmodes/cc-fonts.el
7649 (c-make-font-lock-BO-decl-search-function): Give a limit to a
7650 backward search.
7651 (c-font-lock-declarations): Fix an occurrence of point being
7652 undefined. Check additionally for point being in a bracelist or
7653 near a macro invocation without a semicolon so as to avoid a
7654 fruitless time consuming search for a declarator. Give a more
7655 precise search limit for declarators using the new
7656 c-determine-limit.
7657
7658 2012-01-18 Glenn Morris <rgm@gnu.org>
7659
7660 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
7661 (set-auto-mode): Doc fixes.
7662
7663 2012-01-17 Glenn Morris <rgm@gnu.org>
7664
7665 * isearch.el (search-nonincremental-instead): Fix doc typo.
7666
7667 * dired.el (dired-insert-directory): Handle newlines in directory name.
7668 (dired-build-subdir-alist): Unescape newlines in directory name.
7669
7670 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
7671
7672 * net/tramp.el (tramp-local-end-of-line): New defcustom.
7673 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
7674 (tramp-action-terminal): Use it. (Bug#10530)
7675
7676 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
7677
7678 * minibuffer.el (completion--replace): Strip properties (bug#10062).
7679
7680 2012-01-16 Martin Rudalics <rudalics@gmx.at>
7681
7682 * window.el (window-state-ignored-parameters): Remove variable.
7683 (window--state-get-1): Rename argument MARKERS to IGNORE.
7684 Handle persistent window parameters. Make copy of clone-of
7685 parameter only if requested. (Bug#10348)
7686 (window--state-put-2): Install a window parameter only if it has
7687 a non-nil value or an existing parameter shall be overwritten.
7688
7689 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
7690
7691 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
7692
7693 2012-01-14 Eli Zaretskii <eliz@gnu.org>
7694
7695 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
7696 don't pass the (nil) value of `upnode' to string-match.
7697
7698 2012-01-14 Chong Yidong <cyd@gnu.org>
7699
7700 * startup.el (command-line): Fix X resource class for cursorColor.
7701 Fix values recognized by the cursorBlink resource.
7702
7703 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
7704
7705 * epg.el (epg--make-temp-file): Avoid permission race condition
7706 when running on old Emacs versions (bug#10403).
7707
7708 2012-01-14 Glenn Morris <rgm@gnu.org>
7709
7710 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
7711
7712 2012-01-13 Alan Mackenzie <acm@muc.de>
7713
7714 Fix filling for when filladapt mode is enabled.
7715
7716 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
7717 c-mask-paragraph, pass in `fill-paragraph' rather than
7718 `fill-region-as-paragraph'. (This is a reversion of a previous
7719 change.)
7720 * progmodes/cc-mode.el (c-basic-common-init):
7721 Make fill-paragraph-handle-comment buffer local and set it to nil.
7722
7723 2012-01-13 Glenn Morris <rgm@gnu.org>
7724
7725 * dired.el (dired-switches-escape-p): New function.
7726 (dired-insert-directory): Use dired-switches-escape-p.
7727 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
7728
7729 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
7730
7731 2012-01-12 Glenn Morris <rgm@gnu.org>
7732
7733 * mail/sendmail.el (mail-mode): Update paragraph-separate for
7734 changes in adaptive-fill-regexp. (Bug#10276)
7735
7736 2012-01-11 Alan Mackenzie <acm@muc.de>
7737
7738 Fix Emacs bug #10463 - put `widen's around the critical spots.
7739
7740 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
7741 widen around each invocation of c-state-pp-to-literal. Remove an
7742 unused let variable.
7743
7744 2012-01-11 Glenn Morris <rgm@gnu.org>
7745
7746 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
7747 Doc fix.
7748
7749 2012-01-10 Chong Yidong <cyd@gnu.org>
7750
7751 * net/network-stream.el (network-stream-open-starttls):
7752 Avoid emitting a confusing error message when the server gives a bad
7753 response to the capability command.
7754
7755 2012-01-10 Glenn Morris <rgm@gnu.org>
7756
7757 * mail/unrmail.el (unrmail): Tweak previous change.
7758
7759 2012-01-09 Chong Yidong <cyd@gnu.org>
7760
7761 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
7762
7763 2012-01-08 Alan Mackenzie <acm@muc.de>
7764
7765 Optimise font locking in long enum definitions.
7766
7767 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
7768 arm to a cond form to handle enums.
7769 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
7770 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
7771
7772 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
7773
7774 * files.el (move-file-to-trash): Preserve default file modes on error.
7775 (Bug#10401)
7776
7777 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
7778
7779 * faces.el (set-face-attribute): Clarify the meaning of the nil
7780 frame (bug#10294).
7781
7782 * subr.el (with-selected-frame): Mention that the selected frame
7783 is restored (bug#9980).
7784
7785 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
7786 (bug#9759).
7787
7788 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
7789 (password-read): Don't autoload unused function.
7790
7791 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
7792
7793 * progmodes/which-func.el (which-func-mode): Turn into a
7794 non-interactive function and mark as obsolete (bug#10428).
7795
7796 2012-01-06 Chong Yidong <cyd@gnu.org>
7797
7798 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
7799 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
7800 functions, along with 1 and -1.
7801
7802 2012-01-06 Eli Zaretskii <eliz@gnu.org>
7803
7804 * time.el (display-time-load-average)
7805 (display-time-default-load-average): Doc fixes. See the thread
7806 starting at
7807 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
7808 for the details.
7809
7810 2012-01-06 Glenn Morris <rgm@gnu.org>
7811
7812 * mail/unrmail.el (unrmail): Give an explicit error if the input file
7813 has no messages. (Bug#10377)
7814
7815 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
7816 than Info-edit. (Bug#10385)
7817
7818 * time.el (display-time-load-average, display-time-next-load-average):
7819 Doc fixes.
7820
7821 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
7822 local setting of buffer-read-only to the input buffer. (Bug#10419)
7823
7824 * calendar/calendar.el (calendar-mode):
7825 Locally set scroll-margin to 0. (Bug#10379)
7826
7827 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
7828
7829 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
7830
7831 2012-01-05 Glenn Morris <rgm@gnu.org>
7832
7833 * eshell/em-unix.el (diff-no-select): Autoload it.
7834 (eshell/diff): Use diff-no-select. (Bug#10420)
7835
7836 2012-01-05 Chong Yidong <cyd@gnu.org>
7837
7838 * shell.el (shell-dynamic-complete-functions): Revert last change.
7839 (shell-command-completion-function): New function.
7840 (shell-completion-vars): Use it to implement
7841 shell-completion-execonly (Bug#10417).
7842
7843 * custom.el (enable-theme): Don't set custom-safe-themes.
7844
7845 * cus-theme.el (custom-theme-merge-theme):
7846 Ignore custom-enabled-themes and custom-safe-themes.
7847
7848 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
7849
7850 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
7851 first prompt in `sql-interacive-mode'.
7852 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
7853 keywords.
7854 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
7855 (sql-product-interactive): Bug fix: Set `sql-buffer' in
7856 context of original buffer. Invoke `sql-login-hook'.
7857
7858 2012-01-04 Eli Zaretskii <eliz@gnu.org>
7859
7860 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
7861 letters in cite-prefix.
7862
7863 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7864
7865 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
7866
7867 2012-01-03 Chong Yidong <cyd@gnu.org>
7868
7869 * shell.el (shell-dynamic-complete-functions):
7870 Put pcomplete-completions-at-point, so as to try
7871 comint-filename-completion first (Bug#10417).
7872
7873 2012-01-02 Richard Stallman <rms@gnu.org>
7874
7875 * battery.el (battery-status-function):
7876 Detect when to use battery-yeeloong-sysfs.
7877 (battery-echo-area-format): Add string for Yeeloong.
7878 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
7879 (battery-yeeloong-sysfs): New function.
7880
7881 2012-01-02 Chong Yidong <cyd@gnu.org>
7882
7883 * dirtrack.el (dirtrack-list): Eliminate unused third element.
7884 (dirtrack): Merge code for handling relative filenames in prompt
7885 from shell-dir-cookie-watcher.
7886 (dirtrack-debug-message): New arg to avoid excess format calls.
7887
7888 * shell.el (shell-dir-cookie-re): Variable deleted.
7889 (shell-dir-cookie-watcher): Function deleted.
7890 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
7891 with dirtrack-mode.
7892
7893 2012-01-01 Eli Zaretskii <eliz@gnu.org>
7894
7895 * term/w32-win.el (dynamic-library-alist) <gnutls>:
7896 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
7897 libgnutls-26.dll.
7898
7899 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
7900
7901 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
7902
7903 2011-12-31 Eli Zaretskii <eliz@gnu.org>
7904
7905 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
7906 headers of non-MIME messages, when rmail-enable-mime is non-nil.
7907
7908 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
7909
7910 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
7911 also for alternative shells.
7912 (tramp-open-connection-setup-interactive-shell): Check, whether
7913 the shell is a busybox.
7914 (tramp-send-command): Don't suppress multiple prompts for
7915 busyboxes, it hurts.
7916
7917 2011-12-28 Chong Yidong <cyd@gnu.org>
7918
7919 * progmodes/gdb-mi.el (gdb-get-source-file-list)
7920 (gdb-get-source-file): Move mode line update to
7921 gdb-get-source-file (Bug#10087).
7922
7923 2011-12-25 Chong Yidong <cyd@gnu.org>
7924
7925 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
7926 gud-gdb-marker-filter without taking it as an argument.
7927 (gud-gdb-run-command-fetch-lines): Caller changed.
7928 (gud-gdb-completion-function): New variable.
7929 (gud-gdb-completion-at-point): Use it.
7930 (gud-gdb-completions-1): Split from gud-gdb-completions.
7931
7932 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
7933 function as separate arguments.
7934 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
7935 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
7936 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
7937 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
7938 (gdb-stopped, def-gdb-auto-update-trigger)
7939 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
7940 (gdb-get-changed-registers, gdb-get-main-selected-frame):
7941 Callers changed.
7942 (gud-gdbmi-completions): New function.
7943 (gdb): Use it for generating the completion table.
7944
7945 2011-12-24 Alan Mackenzie <acm@muc.de>
7946
7947 Introduce a mechanism to widen the region used in context font
7948 locking. Use this to protect declarations from losing their contexts.
7949
7950 * progmodes/cc-langs.el (c-before-font-lock-functions):
7951 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
7952 (c-before-context-fontification-functions): New defvar, a list of
7953 functions to be run just before context (etc.) font locking.
7954
7955 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
7956 New, functionality extracted from
7957 c-neutralize-syntax-in-and-mark-CPP.
7958 (c-in-after-change-fontification): New variable.
7959 (c-after-change): Set c-in-after-change-fontification.
7960 (c-set-fl-decl-start): Rejig its interface, so it can be called
7961 from both after-change and context fontifying.
7962 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
7963 New functions.
7964 (c-standard-font-lock-fontify-region-function): New variable.
7965 (c-font-lock-fontify-region): New function.
7966
7967 2011-12-24 Juri Linkov <juri@jurta.org>
7968
7969 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
7970 (Bug#10348)
7971
7972 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
7973
7974 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
7975 existence of source file. (Bug#10325)
7976
7977 2011-12-23 Alan Mackenzie <acm@muc.de>
7978
7979 Fix unstable fontification inside templates.
7980
7981 * progmodes/cc-langs.el (c-before-font-lock-functions):
7982 Newly created from the singular version. The (c c++ objc) entry now
7983 additionally has c-set-fl-decl-start. The other languages (apart
7984 from AWK) have that as a single entry.
7985
7986 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
7987 The functionality for "local" declarations has been extracted to
7988 c-set-fl-decl-start.
7989
7990 * progmodes/cc-mode.el (c-common-init, c-after-change):
7991 Changes due to pluralisation of c-before-font-lock-functions.
7992 (c-set-fl-decl-start): New function, extracted from
7993 c-font-lock-enclosing-decls and enhanced.
7994
7995 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
7996
7997 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
7998
7999 2011-12-22 Juri Linkov <juri@jurta.org>
8000
8001 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
8002
8003 2011-12-22 Chong Yidong <cyd@gnu.org>
8004
8005 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
8006
8007 2011-12-21 Drew Adams <drew.adams@oracle.com>
8008
8009 * files.el (file-remote-p): Fix docstring. (Bug#10319)
8010
8011 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
8012
8013 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
8014
8015 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
8016
8017 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
8018 highlighting and support. Fix up comments for capitalization.
8019 (cfengine-mode-debug): New var.
8020 (cfengine3-mode): Change the modeline indicator to "CFE3".
8021 (cfengine3-font-lock-keywords): Improve defun highlighting.
8022 (cfengine2-actions): Rename from `cfengine-actions'.
8023 (cfengine2-font-lock-keywords): Rename from
8024 `cfengine-font-lock-keywords'.
8025 (cfengine2-imenu-expression): Rename from
8026 `cfengine-imenu-expression'.
8027 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
8028 (cfengine2-beginning-of-defun): Rename from
8029 `cfengine-beginning-of-defun'.
8030 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
8031 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
8032 (cfengine2-mode): Rename from `cfengine-mode'. Change the
8033 modeline indicator to "CFE2".
8034 (cfengine-mode): Defalias to `cfengine-auto-mode'.
8035 (cfengine-mode-abbrevs): Mark obsolete.
8036
8037 2011-12-21 Chong Yidong <cyd@gnu.org>
8038
8039 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
8040 filename argument.
8041
8042 2011-12-20 Martin Rudalics <rudalics@gmx.at>
8043
8044 * window.el (window-normalize-buffer-to-display): Remove.
8045 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
8046
8047 2011-12-19 Chong Yidong <cyd@gnu.org>
8048
8049 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
8050 Don't signal an error in a predicate function; return non-nil.
8051 (vc-dir-mark-file): Move the error here.
8052 (vc-dir-mark-unmark): If acting on the region, keep going if one
8053 of the entries cannot be marked/unmarked.
8054 (vc-dir-mark-all-files): If current entry is a directory, mark
8055 only child files, as documented.
8056
8057 2011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
8058
8059 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
8060 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
8061 addition.
8062
8063 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
8064
8065 * term/ns-win.el (ns-get-selection-internal)
8066 (ns-store-selection-internal): Declare.
8067 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
8068 Declare as obsolete.
8069 (ns-get-pasteboard, ns-paste-secondary):
8070 Use ns-get-selection-internal.
8071 (ns-set-pasteboard, ns-copy-including-secondary):
8072 Use ns-store-selection-internal.
8073
8074 2011-12-17 Chong Yidong <cyd@gnu.org>
8075
8076 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
8077 (vc-deduce-fileset): Doc fix.
8078
8079 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
8080
8081 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
8082
8083 2011-12-13 Sam Steingold <sds@gnu.org>
8084
8085 * man.el (Man-getpage-in-background): When running under a
8086 window-system, ignore $MANWIDTH and $COLUMNS.
8087
8088 2011-12-15 Kenichi Handa <handa@m17n.org>
8089
8090 * language/ethio-util.el: Change coding tag to utf-8-emacs.
8091 (setup-ethiopic-environment-internal): Comment out key-binding for
8092 ethio-toggle-punctuation.
8093
8094 2011-12-13 Alan Mackenzie <acm@muc.de>
8095
8096 Add the switch statement to AWK Mode.
8097
8098 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
8099 "default" to the keywords regexp.
8100
8101 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
8102 expression as the rest.
8103 (c-nonlabel-token-key): Allow string literals for AWK.
8104 Refactor for the other modes.
8105
8106 Large brace-block initialisation makes CC Mode slow: Fix.
8107 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
8108 routines. Limit backward searching in c-font-lock-enclosing.decl.
8109
8110 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
8111 pp-state and literal type in addition to the limits.
8112 (c-state-safe-place): New defun, extracted from c-state-literal-at.
8113 (c-state-literal-at): Use the above new defun.
8114 (c-slow-in-literal, c-fast-in-literal): Remove.
8115 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
8116
8117 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
8118 being in a literal. Add a limit for backward searching.
8119
8120 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
8121 c-slow-in-literal.
8122
8123 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
8124
8125 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
8126
8127 2011-12-13 Martin Rudalics <rudalics@gmx.at>
8128
8129 * window.el (delete-other-windows): Use correct frame in call to
8130 window-with-parameter.
8131
8132 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
8133
8134 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
8135 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
8136 (makefile-gmake-statements, makefile-makepp-statements):
8137 Use it and add new makepp keywords.
8138 (makefile-makepp-font-lock-keywords): Add new patterns.
8139 (makefile-match-function-end): Match new [...] and [[...]].
8140
8141 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
8142
8143 * ses.el (ses-call-printer-return, ses-cell-property-get)
8144 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
8145 (ses-create-cell-variable, ses-reset-header-string)
8146 (ses-cell-set-formula, ses-repair-cell-reference-all)
8147 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
8148 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
8149 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
8150 (ses-aset-with-undo, ses-load, ses-truncate-cell)
8151 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
8152 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
8153 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
8154 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
8155 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
8156 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
8157 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
8158 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
8159
8160 2011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
8161
8162 * ses.el: The overall change is to add cell renaming, that is
8163 setting fancy names for cell symbols other than name matching
8164 "\\`[A-Z]+[0-9]+\\'" regexp .
8165 (ses-create-cell-variable): New defun.
8166 (ses-relocate-formula): Relocate formulas only for cells the
8167 symbols of which are not renamed, i.e. symbols whose names do not
8168 match regexp "\\`[A-Z]+[0-9]+\\'".
8169 (ses-relocate-all): Relocate values only for cells the symbols of
8170 which are not renamed.
8171 (ses-load): Create cells variables as the (ses-cell ...) are read,
8172 in order to check row col consistency with cell symbol name only
8173 for cells that are not renamed.
8174 (ses-replace-name-in-formula): New defun.
8175 (ses-rename-cell): New defun.
8176
8177 2011-12-11 Chong Yidong <cyd@gnu.org>
8178
8179 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
8180 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
8181
8182 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
8183
8184 * window.el (other-window): Fix docstring.
8185
8186 2011-12-10 Eli Zaretskii <eliz@gnu.org>
8187
8188 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
8189 `from' or `to' address before taking its substring.
8190 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
8191 encoded name is chopped in the middle of the encoded string, and
8192 thus displayed encoded.
8193
8194 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
8195
8196 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
8197
8198 2011-12-10 Eli Zaretskii <eliz@gnu.org>
8199
8200 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
8201 to use texinfo-update-node and commands that call it if the
8202 Texinfo file uses @node lines without next/prev/up pointers.
8203 Correct outdated description about texinfo-master-menu.
8204 (texinfo-all-menus-update, texinfo-master-menu)
8205 (texinfo-update-node, texinfo-every-node-update)
8206 (texinfo-multiple-files-update): Doc fix. Warn against updating
8207 all the @node lines.
8208 (texinfo-master-menu): Only call texinfo-update-node if the prefix
8209 argument is numeric. Explain better in the doc string what the
8210 function really does.
8211 (texinfo-insert-master-menu-list): Improve the error message
8212 displayed if there's no menu in the Top node.
8213 (Bug#2975) See also this thread:
8214 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
8215
8216 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
8217
8218 * speedbar.el (speedbar-supported-extension-expressions):
8219 Add .adb and .ads, commonly used for Ada source code (bug#10256).
8220
8221 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
8222
8223 * printing.el (pr-mode-alist):
8224 * simple.el (filter-buffer-substring-functions)
8225 (completion-list-insert-choice-function):
8226 * window.el (window-with-parameter, window-atom-root)
8227 (window-sides-slots, window-size-fixed, window-min-delta)
8228 (window-max-delta, window--resize-mini-window)
8229 (window--resize-child-windows-normal, window-tree)
8230 (delete-other-windows, quit-window, split-window)
8231 (display-buffer-record-window, special-display-buffer-names)
8232 (special-display-regexps, special-display-popup-frame)
8233 (same-window-p, split-window-sensibly)
8234 (display-buffer-overriding-action, display-buffer-alist)
8235 (display-buffer-base-action, display-buffer, switch-to-buffer)
8236 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
8237 (fit-window-to-buffer, recenter-positions)
8238 (mouse-autoselect-window-state, mouse-autoselect-window-select):
8239 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
8240 and remove unneeded backslashes in docstrings.
8241
8242 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
8243
8244 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
8245
8246 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
8247 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
8248 end in ".mk".
8249 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
8250 when reading the makefile (bug#10116).
8251
8252 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
8253
8254 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
8255 (bug#10116).
8256
8257 2011-12-06 Glenn Morris <rgm@gnu.org>
8258
8259 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
8260
8261 2011-12-06 Chong Yidong <cyd@gnu.org>
8262
8263 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
8264
8265 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
8266
8267 * textmodes/table.el (table-shorten-cell): Fix typo.
8268
8269 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
8270
8271 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
8272
8273 2011-12-05 Eli Zaretskii <eliz@gnu.org>
8274
8275 * descr-text.el (describe-char): Fix display of strong
8276 right-to-left characters and directional embeddings and overrides.
8277
8278 * simple.el (what-cursor-position): Fix display of codepoints of
8279 strong right-to-left characters.
8280
8281 2011-12-05 Chong Yidong <cyd@gnu.org>
8282
8283 * faces.el (read-color): Doc fix.
8284
8285 2011-12-05 Glenn Morris <rgm@gnu.org>
8286
8287 * align.el (align--set-marker): Add doc-string.
8288 Don't try to move something that is not a marker. (Bug#10216)
8289
8290 2011-12-04 Glenn Morris <rgm@gnu.org>
8291
8292 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
8293 overly zealous deletion of trailing whitespace.
8294
8295 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
8296
8297 * server.el (server-delete-client): On Windows, do not try to delete
8298 the only terminal.
8299 (server-process-filter): On Windows, treat requests for a tty frame as
8300 if they were for a GUI frame if the running server is in GUI mode.
8301
8302 2011-12-03 Glenn Morris <rgm@gnu.org>
8303
8304 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
8305
8306 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
8307
8308 * electric.el: Streamline electric-indent's hook.
8309 (electric-indent-chars): Revert to simple list.
8310 (electric-indent-functions): New var.
8311 (electric-indent-post-self-insert-function): Use it.
8312
8313 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
8314 there's no inferior buffer (bug#10196).
8315 (prolog-consult-compile): Don't use toggle-read-only.
8316
8317 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
8318
8319 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
8320 interrupt. (Bug#10187)
8321
8322 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
8323
8324 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
8325 (bug#9160).
8326
8327 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
8328 (bug#10191).
8329
8330 2011-12-02 Juri Linkov <juri@jurta.org>
8331
8332 * info.el (Info-search): Display "end of manual" when Isearch
8333 reaches the end of single-file Info manual. (Bug#9918)
8334
8335 2011-12-02 Eli Zaretskii <eliz@gnu.org>
8336
8337 * isearch.el (isearch-message-prefix): Run the input method part
8338 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
8339
8340 2011-12-02 Juri Linkov <juri@jurta.org>
8341
8342 * isearch.el (isearch-occur): Use `word-search-regexp' for
8343 `isearch-word'.
8344 (isearch-search-and-update): Add condition for `isearch-word' and
8345 call `word-search-regexp'. (Bug#10145)
8346
8347 2011-12-01 Glenn Morris <rgm@gnu.org>
8348
8349 * eshell/em-hist.el (eshell-hist-initialize):
8350 Handle eshell-history-size nil and HISTSIZE set or unset.
8351 (eshell-history-file-name, eshell-history-size): Fix custom type.
8352
8353 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
8354
8355 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
8356
8357 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
8358
8359 * progmodes/verilog-mode.el (verilog-pretty-expr):
8360 Rework verilog-pretty-expr to handle new assignment operators in system
8361 verilog, such as += *= and the like.
8362 (verilog-assignment-operator-re): Regular expression to find the
8363 assigment operator in a verilog assignment.
8364 (verilog-assignment-operation-re): Regular expression to find an
8365 assignment statement for pretty-expr.
8366 (verilog-in-attribute-p): Query returns true if point is in an
8367 attribute context; used to skip these for expression line up from
8368 pretty-expr.
8369 (verilog-in-parameter-p): Query returns true if point is in an
8370 parameter definition context; used to skip these for expression
8371 line up from pretty-expr.
8372 (verilog-in-parenthesis-p): Query returns true if point is in a
8373 parenthetical expression, specifically ( ) but not [ ] or { };
8374 used by pretty-expr.
8375 (verilog-just-one-space): If there is no space, don't add one.
8376 (verilog-get-lineup-indent-2): Specifically skip just attribute
8377 contexts for expression lineup, rather than skipping all
8378 parenthetical expressions.
8379 (verilog-calculate-indent): Fix comment, and fix indent.
8380 (verilog-do-indent): Indent declarations in lists (suggested by
8381 Joachim Lechner).
8382 (verilog-mode-abbrev-table): Populate abbrev mode with the various
8383 skeleton items.
8384 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
8385 by Alain Mellan).
8386
8387 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
8388
8389 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
8390 parameters with embedded comments. Reported by Ray Stevens.
8391 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
8392 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
8393 Reported by Tim Holt.
8394 (verilog-auto): Fix AUTOing a upper module then AUTOing module
8395 instantiated by upper module causing wrong expansion until AUTOed a
8396 second time. Reported by K C Buckenmaier.
8397 (verilog-diff-auto): Fix showing .* as a difference when
8398 `verilog-auto-star-save' off. Reported by Dan Dever.
8399 (verilog-auto-reset, verilog-read-always-signals)
8400 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
8401 temporary signals in reset list if
8402 verilog-auto-reset-blocking-in-non is nil, and match assignment
8403 style to each signal's assignment type, bug381.
8404 Reported by Thomas Esposito.
8405 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
8406 (verilog-uvm-statement-re): Support UVM indentation and
8407 highlighting, with old OVM keywords only.
8408 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
8409 Support AUTOTIEOFF creating non-wire data types.
8410 Suggested by Jonathan Greenlaw.
8411 (verilog-auto-insert-lisp, verilog-delete-to-paren)
8412 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
8413 (verilog-inject-sense, verilog-read-inst-pins)
8414 (verilog-read-sub-decls, verilog-read-sub-decls-line):
8415 Fix mismatching parenthesis inside commented out code when deleting
8416 AUTOINST, bug383. Reported by Jonathan Greenlaw.
8417 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
8418 non-numeric vector width. Reported by Alex Reed.
8419 (verilog-auto-ascii-enum): Add "onehot" option to work around not
8420 detecting signals with parameter widths. Reported by Alex Reed.
8421 (verilog-auto-delete-trailing-whitespace):
8422 With `verilog-auto-delete-trailing-whitespace' remove trailing
8423 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
8424 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
8425 Fix verilog-scan-cache corruption when running user AUTO expansion
8426 hooks that call indentation routines.
8427 (verilog-simplify-range-expression): Fix typo ignoring lower case
8428 identifiers.
8429 (verilog-delete-auto): Fix delete-autos to also remove user created
8430 automatics, as long as they start with AUTO.
8431 (verilog-batch-diff-auto, verilog-diff-auto)
8432 (verilog-diff-function): Add `verilog-diff-auto' and bind to
8433 "C-c?" to report differences in AUTO expansion, ignoring spaces.
8434 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
8435 (verilog-in-paren-quick, verilog-re-search-backward-quick)
8436 (verilog-re-search-forward-quick, verilog-syntax-ppss):
8437 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
8438 is disabled and its cache will get corrupt, causing AUTOS not to
8439 expand. Instead use only -quick functions.
8440 (verilog-scan-region): Fix scanning over escaped quotes.
8441 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
8442 (verilog-re-search-backward-quick)
8443 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
8444 related functions now ignore strings, to fix misparsing of strings
8445 with magic comments embedded in them.
8446 (verilog-read-auto-template):
8447 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
8448 Reported by Brad Dobbie.
8449 (verilog-read-auto-template):
8450 Fix 'verilog-auto-inst-template-numbers' with comments.
8451 Reported by Brad Dobbie.
8452 (verilog-auto-inst, verilog-auto-inst-param)
8453 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
8454 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
8455 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
8456 debugging templates without merge conflicts, bug357.
8457 Reported by Brad Dobbie.
8458 (verilog-read-auto-template):
8459 Fix verilog-auto-inst-template-numbers with multiple templates.
8460 Reported by Brad Dobbie.
8461 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
8462 abbrevs so user won't be asked to save.
8463 (verilog-read-auto-lisp-present): Fix to start at beginning of
8464 buffer in case called outside of verilog-auto.
8465 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
8466 to "X-2". Reported by Matthew Myers.
8467 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
8468 all inputs from module templates. Reported by Leith Johnson.
8469 (verilog-module-inside-filename-p): Fix locating programs as with
8470 modules.
8471 (verilog-auto-inst-port): Fix vl-width expressions when using
8472 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
8473 (verilog-decls-get-regs, verilog-decls-get-signals,
8474 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
8475 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
8476 verilog-read-decls): Combine reg and wire structures into one var
8477 structure to represent SystemVerilog concepts.
8478 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
8479 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
8480 (verilog-auto-wire-type, verilog-insert-definition):
8481 Add verilog-auto-wire-type and AUTOLOGIC to support using
8482 SystemVerilog "logic" keyword instead of "wire"/"reg".
8483 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
8484 to declares outputs that also have assignments (presumably in an
8485 ifdef or generate if so there's not a driver conflict).
8486 Reported by Matthew Myers.
8487 (verilog-auto-declare-nettype, verilog-insert-definition):
8488 Add verilog-auto-declare-nettype to fix declarations using
8489 `default_nettype none. Reported by Julian Gorfajn.
8490 (verilog-read-always-signals-recurse, verilog-read-decls)
8491 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
8492 malformed end statement, bug325. Reported by Joshua Wise and
8493 Andrew Drake.
8494 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
8495 (verilog-inst-comment-re): Fix not deleting Interfaced comment
8496 when expanding .* in interfaces, bug320.
8497 Reported by Pierre-David Pfister.
8498 (verilog-read-module-name): Fix import statements between module
8499 name and open parenthesis, bug317.
8500 Reported by Pierre-David Pfister.
8501 (verilog-simplify-range-expression): Fix simplification of
8502 multiplications inside AUTOWIRE connections, bug303.
8503 (verilog-auto-inst-port): Support parameter expansion in
8504 multidimensional arrays.
8505 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
8506 after "assert property". Reported by Julian Gorfajn.
8507 (verilog-simplify-range-expression): Fix "couldn't merge" errors
8508 with multiplication, bug303.
8509 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
8510 Reported by Jan Frode Lonnum.
8511
8512 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
8513
8514 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
8515 (hfy-shell-file-name, hfy-shell):
8516 * international/fontset.el (x-decompose-font-name): Fix typos.
8517
8518 2011-11-29 Ken Brown <kbrown@cornell.edu>
8519
8520 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
8521 (gdb-version): Remove defvar.
8522 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
8523 (gdb-gud-context-command, gdb-non-stop-handler)
8524 (gdb-current-context-command, gdb-stopped): Use it.
8525 (gdb-init-1): Enable pretty printing here.
8526 (gdb-non-stop-handler): Don't enable pretty-printing here.
8527 Check to see if the target supports non-stop mode; if not, turn off
8528 non-stop mode. Use the following.
8529 (gdb-check-target-async): New defun.
8530 (gud-watch, gdb-stopped): Fix whitespace.
8531 (gdb-get-source-file): Don't try to display the source file if
8532 `gdb-main-file' is nil.
8533
8534 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
8535
8536 * align.el: Try to generate fewer markers (bug#10047).
8537 (align--set-marker): New macro.
8538 (align-region): Use it.
8539
8540 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
8541
8542 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
8543
8544 2011-11-29 Chong Yidong <cyd@gnu.org>
8545
8546 * indent.el (indent-for-tab-command, indent-according-to-mode):
8547 Doc fix.
8548 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
8549
8550 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
8551
8552 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
8553 aware of remote file names. (Bug#10124)
8554
8555 2011-11-29 Chong Yidong <cyd@gnu.org>
8556
8557 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
8558
8559 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
8560
8561 * files.el (find-file): Don't use force-same-window (bug#10144).
8562 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
8563 use pop-to-buffer if the selected window can't be used.
8564 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
8565
8566 2011-11-28 Eli Zaretskii <eliz@gnu.org>
8567
8568 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
8569 special-mode-map.
8570
8571 2011-11-28 Chong Yidong <cyd@gnu.org>
8572
8573 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
8574
8575 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
8576
8577 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
8578 gdb-get-source-file-list on gdb-create-source-file-list.
8579
8580 2011-11-26 Eli Zaretskii <eliz@gnu.org>
8581
8582 * whitespace.el (whitespace-newline): Use a different foreground
8583 color for 16-color light-background displays.
8584
8585 2011-11-24 Chong Yidong <cyd@gnu.org>
8586
8587 * window.el (display-buffer--special-action): Doc fix.
8588
8589 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
8590
8591 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
8592 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
8593 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
8594 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
8595 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
8596 (avl-tree-stack-first):
8597 * emacs-lisp/cconv.el (cconv--analyse-use):
8598 * net/gnutls.el (gnutls-negotiate): Fix typos.
8599
8600 2011-11-24 Glenn Morris <rgm@gnu.org>
8601
8602 * lpr.el (lpr-windows-system, lpr-lp-system):
8603 * mail/binhex.el (binhex-begin-line):
8604 * progmodes/grep.el (grep-history, grep-find-history):
8605 * textmodes/flyspell.el:
8606 * vc/pcvs-defs.el (cvs-global-menu):
8607 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
8608 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
8609 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
8610
8611 * net/tls.el: Fix case of "GnuTLS".
8612
8613 * paths.el (rmail-file-name): Format doc-string for make-docfile.
8614
8615 * version.el (emacs-build-system): Give it a doc-string.
8616
8617 2011-11-24 Juri Linkov <juri@jurta.org>
8618
8619 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
8620
8621 2011-11-24 Glenn Morris <rgm@gnu.org>
8622
8623 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
8624 if called on a non-mime message just toggle the headers. (Bug#8006)
8625
8626 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
8627
8628 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
8629 (allout-lead-with-comment-string, allout-structure-deleted-hook)
8630 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
8631 (allout-rebullet-heading, allout-open-sibtopic)
8632 (allout-toggle-current-subtree-encryption)
8633 (allout-toggle-subtree-encryption, allout-encrypt-string)
8634 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
8635 (allout-distinctive-bullets-string, allout-auto-activation):
8636 * window.el (window-normalize-buffer-to-display):
8637 * progmodes/verilog-mode.el (verilog-batch-indent):
8638 * textmodes/bibtex.el (bibtex-field-braces-opt)
8639 (bibtex-field-strings-opt):
8640 * vc/cvs-status.el (cvs-tree-merge):
8641 Fix typos.
8642
8643 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
8644
8645 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
8646 `non-essential' to t, in order to avoid remote connections.
8647
8648 2011-11-23 Eli Zaretskii <eliz@gnu.org>
8649
8650 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
8651 On MS-DOS and MS-Windows, compare with loaddefs.el
8652 case-insensitively.
8653
8654 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
8655
8656 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
8657
8658 2011-11-23 Glenn Morris <rgm@gnu.org>
8659
8660 * paths.el (rmail-file-name): Reformat the doc-string so that it
8661 is picked up.
8662
8663 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
8664 (rmail-auto-file): Ignore case in the "special" field names,
8665 as mail-fetch-field does for all others.
8666
8667 * mail/rmail.el (rmail-forward):
8668 * mail/rmailkwd.el (rmail-set-label):
8669 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
8670 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
8671
8672 * mail/rmail.el (rmail-current-message): Doc fix.
8673
8674 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
8675
8676 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
8677
8678 * server.el (server-eval-and-print): Allow C-g (bug#6585).
8679
8680 2011-11-22 Glenn Morris <rgm@gnu.org>
8681
8682 * mail/rmailmm.el (test-rmail-mime-handler)
8683 (test-rmail-mime-bulk-handler)
8684 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
8685
8686 2011-11-21 Juri Linkov <juri@jurta.org>
8687
8688 * calc/calc.el (calc-read-key-sequence):
8689 Let-bind `input-method-function' to nil. (Bug#10018)
8690
8691 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
8692
8693 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
8694 Tell the caller that the next line needs recomputation, even
8695 though it doesn't start a sexp (bug#10094).
8696
8697 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
8698
8699 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
8700
8701 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
8702
8703 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
8704 Use force-same-window.
8705
8706 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
8707
8708 * descr-text.el (describe-char-unicode-data):
8709 * json.el (json-string-escape):
8710 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
8711 (Footnote-unicode, Footnote-style-p):
8712 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
8713
8714 2011-11-20 Chong Yidong <cyd@gnu.org>
8715
8716 * window.el (replace-buffer-in-windows): Restore interactive spec.
8717
8718 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
8719
8720 * electric.el (electric-indent-mode): Fix last change (too optimistic).
8721
8722 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
8723 (byte-compile-global-not-obsolete-vars): New var.
8724 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
8725 Use it.
8726 (byte-compile-warn-obsolete): Align text with the one in *Help*.
8727
8728 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
8729
8730 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
8731 * progmodes/pascal.el (electric-pascal-equal):
8732 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
8733 * xml.el (xml-substitute-special): Fix typos.
8734
8735 2011-11-20 Glenn Morris <rgm@gnu.org>
8736
8737 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
8738 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
8739 Doc fixes.
8740 (rmail-decode-mime-charset): Mark as obsolete.
8741
8742 * mail/rmailsum.el (rmail-message-regexp-p-1):
8743 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
8744 Before using mime functions, check they are set. (Bug#10077)
8745
8746 2011-11-19 Juri Linkov <juri@jurta.org>
8747
8748 * info.el (Info-finder-find-node): Use `package--builtins' instead
8749 of `package-alist'. Use node names formed by the pattern "Keyword "
8750 and the keyword name.
8751
8752 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
8753
8754 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
8755
8756 2011-11-19 Juri Linkov <juri@jurta.org>
8757
8758 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
8759 that calls `revert-buffer' on all Info buffers. (Bug#9915)
8760 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
8761 `old-history', `old-history-forward'. Add let-binding
8762 `window-selected'. Remove calls to `kill-buffer',
8763 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
8764 before calling `Info-find-node', so `Info-find-node-2' will reread
8765 the Info file. Restore window positions only when `window-selected'
8766 is non-nil.
8767
8768 2011-11-19 Juri Linkov <juri@jurta.org>
8769
8770 * isearch.el (isearch-lazy-highlight-new-loop):
8771 Remove condition `(not isearch-error)'. (Bug#9918)
8772
8773 * misearch.el (multi-isearch-search-fun): Add condition
8774 `(not bound)' to ignore lazy-highlighting search.
8775 Add the search-failed message "end of multi" when the end of
8776 multi-sequence is reached. Uncapitalize the search-failed
8777 message "Repeat for next buffer".
8778
8779 * info.el (Info-search): Add the search-failed message
8780 "end of the manual" when the end of the manual is reached
8781 in Isearch mode.
8782
8783 2011-11-19 Juri Linkov <juri@jurta.org>
8784
8785 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
8786 Use non-destructive `remove' instead of `delete' because
8787 `Info-history-list' stored to `Info-isearch-initial-history-list' in
8788 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
8789
8790 2011-11-19 Juri Linkov <juri@jurta.org>
8791
8792 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
8793 to nil instead of binding `search-ring' and `regexp-search-ring'.
8794 (Bug#9185)
8795
8796 2011-11-19 Eli Zaretskii <eliz@gnu.org>
8797
8798 * simple.el (line-move): Force movement by logical lines for any
8799 hscrolled window, not only when auto-hscroll-mode is on.
8800 (line-move-visual): Update doc string to that effect. (Bug#10076)
8801
8802 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
8803
8804 * language/european.el (macintosh): Define as alias for mac-roman.
8805
8806 2011-11-19 Eli Zaretskii <eliz@gnu.org>
8807
8808 * mail/rmailmm.el (rmail-mime-display-header)
8809 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
8810 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
8811 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
8812 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
8813 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
8814 of a raw aref.
8815 (rmail-mime-entity-segment): To get past the tagline, move forward
8816 2 more lines, to account for the 2 empty lines that precede and
8817 follow the line with the buttons.
8818 (rmail-mime-update-tagline): Move one more line, to get past the
8819 empty line that follows the buttons in the tagline. (Bug#9520)
8820
8821 2011-11-19 Martin Rudalics <rudalics@gmx.at>
8822
8823 * window.el (window-max-delta-1, window-min-delta-1)
8824 (window-min-size-1, window-state-get-1, window-state-put-1)
8825 (window-state-put-2): Use "window--" prefix.
8826
8827 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
8828
8829 * emacs-lisp/smie.el: Improve warnings and conflict detection.
8830 (smie-warning-count): New var.
8831 (smie-set-prec2tab): Use it.
8832 (smie-bnf->prec2): Improve warnings. Add docstring.
8833 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
8834 (smie-bnf--set-class): New function.
8835 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
8836 corner case.
8837
8838 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
8839 (compilation-error-properties, compilation-move-to-column):
8840 Handle compilation-first-column while in the target buffer.
8841
8842 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
8843 Don't hardcode point-min==1.
8844
8845 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
8846 (eshell-rewrite-for-command): Remove workaround.
8847 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
8848 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
8849 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
8850
8851 * files-x.el (modify-file-local-variable): Obey commenting conventions.
8852
8853 2011-11-17 Glenn Morris <rgm@gnu.org>
8854
8855 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
8856 Ignore buffer-local generated-autoload-file if it is the same
8857 as the global value. (Bug#10049)
8858
8859 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
8860
8861 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
8862 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
8863 (reftex-toc-previous-heading, reftex-toc-max-level)
8864 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
8865 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
8866 (reftex-toc-do-promote, reftex-toc-promote-prepare)
8867 (reftex-toc-promote-action, reftex-toc-extract-section-number)
8868 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
8869 (reftex-toc-rename-label, reftex-toc-visit-location)
8870 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
8871 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
8872 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
8873 leaving "*toc*" only for references to the buffer.
8874
8875 2011-11-17 Martin Rudalics <rudalics@gmx.at>
8876
8877 * window.el (window-resize, delete-window, split-window):
8878 Replace window-splits by window-combination-resize.
8879 * cus-start.el (window-splits): Replace by window-combination-resize.
8880
8881 2011-11-17 Glenn Morris <rgm@gnu.org>
8882
8883 * progmodes/sh-script.el (sh-font-lock-keywords-var):
8884 Make bash entry derive from sh entry, not shell entry.
8885
8886 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
8887
8888 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
8889 local file name.
8890
8891 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
8892
8893 * menu-bar.el (menu-bar-file-menu):
8894 * printing.el (pr-ps-utility):
8895 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
8896 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
8897 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
8898 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
8899 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
8900 (icalendar--convert-cyclic-to-ical)
8901 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
8902 (icalendar--convert-ical-to-diary)
8903 (icalendar--convert-recurring-to-diary)
8904 (icalendar--convert-non-recurring-all-day-to-diary)
8905 (icalendar-import-format-sample):
8906 * progmodes/idlw-shell.el (idlwave-shell-mode):
8907 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
8908 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
8909 (vhdl-ps-print-init): Fix typos.
8910
8911 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
8912
8913 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
8914 FSF and collapse date sequence, obscure author/maintainer email address
8915 better, remove extra version line, track relocation of author's webpage.
8916
8917 * progmodes/python.el (python-pdbtrack-input-prompt)
8918 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
8919 regular python pdb prompts. Adjustments shamelessly taken exactly as
8920 suggested in EmacsWiki page (tiny change):
8921 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8922
8923 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
8924
8925 * expand.el (expand-pos, expand-index, expand-point):
8926 Remove redundant info from docstring.
8927 (expand-add-abbrevs): Doc fix.
8928 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
8929 (expand-sample-perl-mode-expand-list): Fix typos.
8930
8931 * net/dbus.el (dbus-event-member-name):
8932 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
8933 * term/pc-win.el (msdos-create-frame-with-faces):
8934 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
8935
8936 2011-11-16 Martin Rudalics <rudalics@gmx.at>
8937
8938 * window.el (split-window, window-state-get-1)
8939 (window-state-put-1, window-state-put-2): Rename occurrences of
8940 window-nest to window-combination-limit.
8941 * cus-start.el (window-nest): Rename to window-combination-limit.
8942
8943 2011-11-16 Chong Yidong <cyd@gnu.org>
8944
8945 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
8946 regexp (Bug#10033).
8947
8948 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
8949
8950 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
8951 `completing-read' will remove *Completions* and will preserve
8952 current-buffer for us.
8953 (tmm-add-prompt): Users of *Completions* will always (re)set its
8954 major mode.
8955 (tmm-old-comp-map): Remove.
8956
8957 2011-11-16 Glenn Morris <rgm@gnu.org>
8958
8959 * mail/rmailedit.el: Require rmailmm when compiling.
8960 (rmail-old-mime-state): New declaration.
8961 (rmail-edit-current-message): If editing a mime message,
8962 edit the "raw" message from the mbox buffer.
8963 (rmail-cease-edit): Handle mime messages. (Bug#9840)
8964
8965 2011-11-15 Glenn Morris <rgm@gnu.org>
8966
8967 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
8968 which wasn't being used. Add optional arg to force given state.
8969 (rmail-mime): Add optional arg to force given state.
8970
8971 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
8972
8973 * allout.el (allout-encryption-plaintext-sanitization-regexps):
8974 * frame.el (display-mm-dimensions-alist):
8975 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
8976 (outline-move-subtree-down):
8977 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
8978 (newsticker--treeview-do-get-node):
8979 * net/quickurl.el (quickurl-list-buffer-name):
8980 * progmodes/dcl-mode.el (dcl-mode):
8981 * progmodes/gdb-mi.el (gdb-mapcar*):
8982 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
8983
8984 2011-11-15 Glenn Morris <rgm@gnu.org>
8985
8986 * mail/rmail.el (rmail-file-coding-system): It's only ever used
8987 in a boolean sense, so just make it a boolean, and fix the doc.
8988 (rmail-show-mime-function, rmail-mime-feature)
8989 (rmail-require-mime-maybe): Doc fixes.
8990 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
8991
8992 * mail/rmailmm.el (rmail-show-mime): Doc fix.
8993
8994 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
8995
8996 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
8997 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
8998 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
8999 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
9000
9001 2011-11-15 Glenn Morris <rgm@gnu.org>
9002
9003 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
9004 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
9005 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
9006 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
9007 (rmail-mime, rmail-show-mime): Doc fixes.
9008
9009 * term/ns-win.el (mode-line-frame-identification):
9010 Leave it alone. (Bug#10051)
9011
9012 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
9013
9014 * mail/rmailout.el (rmail-output-to-rmail-buffer):
9015 Handle empty buffers. (Bug#9978)
9016
9017 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
9018
9019 * international/mule.el (define-charset):
9020 * mail/rmailmm.el (rmail-mime-find-header-encoding):
9021 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
9022 * progmodes/verilog-mode.el (verilog-backward-token):
9023 * textmodes/ispell.el (lookup-words):
9024 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
9025
9026 2011-11-14 Glenn Morris <rgm@gnu.org>
9027
9028 * progmodes/executable.el
9029 (executable-make-buffer-file-executable-if-script-p):
9030 Handle file-modes returning nil.
9031
9032 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
9033 message - not necessary, and causes problems. (Bug#9831)
9034
9035 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
9036
9037 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
9038
9039 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
9040 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
9041 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
9042
9043 2011-11-12 Martin Rudalics <rudalics@gmx.at>
9044
9045 * window.el (window-resize, delete-window): Use window-splits
9046 variable instead of function.
9047 (window-state-get-1, window-state-put-2, window-state-put):
9048 Don't deal with windows' splits status.
9049
9050 2011-11-12 Glenn Morris <rgm@gnu.org>
9051
9052 * apropos.el (apropos-do-all, apropos-library, apropos-value)
9053 (apropos-documentation): Doc fixes.
9054
9055 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
9056
9057 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
9058 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
9059
9060 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
9061
9062 * electric.el (electric-indent-post-self-insert-function): Make it
9063 possible for a char to only indent in some circumstances.
9064 (electric-indent-mode): Simplify.
9065
9066 2011-11-11 Martin Rudalics <rudalics@gmx.at>
9067
9068 * window.el (windows-with-parameter): Remove unused function.
9069 (windows-at-side): Rename to window-at-side-list.
9070 (window-check, window-atom-check, window-atom-check-1)
9071 (window-side-check, window-size-ignore, window-size-fixed-1)
9072 (window-in-direction-2): Prefix with "window--".
9073 (window-tree-1): Rename to window--subtree, fix doc-string.
9074
9075 2011-11-11 Glenn Morris <rgm@gnu.org>
9076
9077 * subr.el (eval-after-load): If FILE is already loaded,
9078 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
9079
9080 2011-11-10 Glenn Morris <rgm@gnu.org>
9081
9082 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
9083 Call svn via vc-svn-command rather than vc-do-command.
9084 (vc-svn-command): Add --non-interactive. (Bug#9993)
9085 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
9086
9087 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
9088 Add toggle-read-only. (Bug#7292)
9089 * files.el (toggle-read-only): Mention that it should only
9090 be used interactively. (Bug#10006)
9091
9092 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
9093
9094 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9095 Adjust regexp for OCaml warnings.
9096
9097 * electric.el (electric-pair-post-self-insert-function): Let user
9098 turn it off buffer-locally (bug#9932).
9099
9100 * progmodes/python.el (python-beginning-of-statement):
9101 Rewrite (bug#2703).
9102
9103 * progmodes/compile.el: Better handle TABs (bug#9749).
9104 (compilation-internal-error-properties)
9105 (compilation-next-error-function): Obey the target buffer's
9106 compilation-error-screen-columns.
9107
9108 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
9109
9110 * progmodes/meta-mode.el: Remove obsolete comments.
9111 (meta-right-comment-regexp, meta-ignore-comment-regexp):
9112 Fix typos in docstrings.
9113
9114 2011-11-09 Martin Rudalics <rudalics@gmx.at>
9115
9116 * window.el (window-size-fixed-p): Rewrite doc-string.
9117 (window-resizable-p): Rename to window--resizable-p. Update callers.
9118 (window--resizable): New function. Make all callers of
9119 window-resizable call window--resizable instead.
9120 (window-resizable): Rewrite in terms of window--resizable.
9121
9122 2011-11-08 Glenn Morris <rgm@gnu.org>
9123
9124 * progmodes/delphi.el (delphi-mode-syntax-table):
9125 Let define-derived-mode define a proper syntax table. (Bug#9994)
9126
9127 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
9128
9129 * window.el: Stay away from defsubst.
9130 (window-list-no-nils): Remove.
9131 (window-state-get-1, window-state-get): Use backquote instead.
9132
9133 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9134
9135 * emacs-lisp/find-func.el (find-function-read):
9136 Fix incorrect use of default argument in `completing-read'.
9137
9138 2011-11-08 Martin Rudalics <rudalics@gmx.at>
9139
9140 * window.el (display-buffer-function, special-display-function):
9141 Mention display-buffer-record-window but do not mention
9142 help-setup parameter in doc-strings.
9143 (window-min-delta): Fix doc-string typo.
9144
9145 2011-11-08 Chong Yidong <cyd@gnu.org>
9146
9147 * window.el (window-total-height, window-total-width): Doc fix.
9148 (window-body-size): Move from C.
9149 (window-body-height, window-body-width): Move to C.
9150
9151 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
9152
9153 * window.el: Make special-display like display-buffer-alist (bug#9532).
9154 (display-buffer--special-action): New function, morphed
9155 from display-buffer--special.
9156 (display-buffer): Use it to handle special-display-buffers at higher
9157 priority (just after display-buffer-alist).
9158 (display-buffer-fallback-action, display-buffer--other-frame-action)
9159 (pop-to-buffer-same-window): Remove display-buffer--special.
9160
9161 2011-11-07 Glenn Morris <rgm@gnu.org>
9162
9163 * calendar/cal-menu.el (cal-menu-set-date-title):
9164 Do nothing if not in a calendar. (Bug#9976)
9165
9166 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
9167
9168 * files.el (find-file): Always use selected-window.
9169
9170 2011-11-07 Martin Rudalics <rudalics@gmx.at>
9171
9172 * window.el (window-combinations): Make WINDOW argument
9173 mandatory. Rewrite doc-string.
9174 (walk-window-subtree, window-atom-check, window-min-delta)
9175 (window-max-delta, window--resize-this-window)
9176 (window--resize-root-window-vertically, window-tree)
9177 (balance-windows, window-state-put): Rewrite doc-strings as to
9178 not mention the term "subwindow".
9179 (window--resize-subwindows-skip-p): Rename to
9180 window--resize-child-windows-skip-p.
9181 (window--resize-subwindows-normal): Rename to
9182 window--resize-child-windows-normal.
9183 (window--resize-subwindows): Rename to
9184 window--resize-child-windows.
9185 (window-or-subwindow-p): Rename to window--in-subtree-p.
9186
9187 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
9188
9189 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
9190 Ensure that mbox format messages end in two newlines (Bug#9974).
9191
9192 2011-11-06 Chong Yidong <cyd@gnu.org>
9193
9194 * window.el (window-combination-p): Function deleted; its
9195 side-effect is not used in any existing code.
9196 (window-combinations, window-combined-p): Call window-*-child
9197 directly.
9198
9199 2011-11-05 Chong Yidong <cyd@gnu.org>
9200
9201 * window.el (window-valid-p): Rename from window-any-p.
9202 (window-size-ignore, window-state-get): Callers changed.
9203 (window-normalize-window): Rename from window-normalize-any-window.
9204 New arg LIVE-ONLY, replacing window-normalize-live-window.
9205 (window-normalize-live-window): Delete.
9206 (window-combination-p, window-combined-p, window-combinations)
9207 (walk-window-subtree, window-atom-root, window-min-size)
9208 (window-sizable, window-sizable-p, window-size-fixed-p)
9209 (window-min-delta, window-max-delta, window-resizable)
9210 (window-resizable-p, window-full-height-p, window-full-width-p)
9211 (window-current-scroll-bars, window-point-1, set-window-point-1)
9212 (window-at-side-p, window-in-direction, window-resize)
9213 (adjust-window-trailing-edge, maximize-window, minimize-window)
9214 (window-deletable-p, delete-window, delete-other-windows)
9215 (record-window-buffer, unrecord-window-buffer)
9216 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
9217 (quit-window, split-window, window-state-put)
9218 (set-window-text-height, fit-window-to-buffer)
9219 (shrink-window-if-larger-than-buffer): Callers changed.
9220
9221 2011-11-04 Eli Zaretskii <eliz@gnu.org>
9222
9223 * mail/rmail.el (rmail-simplified-subject): Decode subject with
9224 rfc2047-decode-string.
9225 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
9226 warnings.
9227
9228 * window.el (window-body-height, window-body-width): Mention in
9229 the doc string that the return values are in frame's canonical
9230 units. (Bug#9949)
9231
9232 2011-11-03 Alan Mackenzie <acm@muc.de>
9233
9234 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
9235 change in cc-engine.el.
9236
9237 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
9238
9239 * window.el (switch-to-buffer): Use `force-same-window' interactively.
9240
9241 2011-11-02 Martin Rudalics <rudalics@gmx.at>
9242
9243 * window.el (quit-window): Call unrecord-window-buffer after
9244 showing another buffer in the window. (Bug#9937)
9245 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
9246
9247 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
9248
9249 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
9250 Accept status with more than 9 shelves. (Bug#9935)
9251 Reported by Colin D Bennett <colin@gibibit.com>.
9252
9253 2011-11-01 Martin Rudalics <rudalics@gmx.at>
9254
9255 * help.el (with-help-window): Don't reference
9256 temp-buffer-show-specifiers in doc-string.
9257
9258 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
9259
9260 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
9261 menu-item.
9262
9263 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
9264
9265 * whitespace.el: New version 13.2.2.
9266 (whitespace-newline-mode): Disable properly. Reported by Sarah
9267 <EmacsWiki>.
9268
9269 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
9270
9271 * net/newst-treeview.el: Remove "Time-stamp".
9272 (newsticker--group-manage-orphan-feeds): Do not call
9273 newsticker--treeview-tree-update.
9274 (newsticker-treeview-update, newsticker-treeview):
9275 Call newsticker--treeview-tree-update if necessary.
9276
9277 2011-10-30 Martin Rudalics <rudalics@gmx.at>
9278
9279 * window.el (window-iso-combination-p, window-iso-combined-p)
9280 (window-iso-combinations): Remove "iso-" infix.
9281 Suggested by Chong Yidong.
9282 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
9283 (window-max-delta-1, window-resize, window--resize-siblings)
9284 (window--resize-this-window, adjust-window-trailing-edge)
9285 (split-window, balance-windows-1)
9286 (shrink-window-if-larger-than-buffer):
9287 * calendar/calendar.el (calendar-generate-window):
9288 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
9289
9290 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
9291
9292 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
9293 in place (bug#9907).
9294 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
9295 (eshell-rewrite-if-command, eshell-rewrite-for-command)
9296 (eshell-structure-basic-command, eshell-rewrite-while-command)
9297 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
9298 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
9299 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
9300 (eshell-do-pipelines-synchronously, eshell-eval-command):
9301 Use backquotes and prefer setq to set.
9302 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
9303 (eshell-macrop): Use functionp.
9304 (eshell-do-eval): Handle multiple expressions in `while' body.
9305
9306 2011-10-30 Chong Yidong <cyd@gnu.org>
9307
9308 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
9309 instead of set-mark (Bug#9810).
9310
9311 2011-10-30 Chong Yidong <cyd@gnu.org>
9312
9313 * window.el (split-window-below, split-window-right): Rename from
9314 split-window-above-each-other and split-window-side-by-side
9315 respectively. All callers changed.
9316 (split-window-sensibly, split-window-sensibly): Use them.
9317 (split-window-keep-point): Doc fix.
9318
9319 * isearch.el: Add isearch-scroll property to split-window-below
9320 and split-window-right.
9321
9322 * follow.el (follow-mode):
9323 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
9324 * progmodes/ada-xref.el (ada-gdb-application):
9325 * emulation/vip.el (vip-buffer-in-two-windows):
9326 * image-dired.el (image-dired-dired-with-window-configuration):
9327 * dired-x.el (dired-do-find-marked-files):
9328 * dired.el (dired-pop-to-buffer):
9329 * bs.el (bs--show-with-configuration):
9330 * vc/emerge.el (emerge-setup-windows):
9331 * textmodes/two-column.el (2C-two-columns):
9332 * textmodes/reftex-toc.el (reftex-toc):
9333 * progmodes/gdb-mi.el (gdb-setup-windows):
9334 * progmodes/fortran.el (fortran-window-create):
9335 * net/newst-treeview.el (newsticker--treeview-window-init):
9336 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
9337 * emulation/tpu-edt.el (tpu-gold-map):
9338 * emulation/crisp.el (crisp-mode-map):
9339 * calendar/calendar.el (calendar-basic-setup): Callers changed.
9340
9341 2011-10-29 Chong Yidong <cyd@gnu.org>
9342
9343 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
9344
9345 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
9346
9347 * textmodes/flyspell.el (flyspell-word): Fix char offset for
9348 forged Ispell output (Bug#7904).
9349
9350 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
9351
9352 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
9353
9354 * doc-view.el: Avoid ugly errors about not finding nil.
9355 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
9356 (doc-view-dvipdf-program, doc-view-unoconv-program)
9357 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
9358 Avoid nil or absolute file name as default value.
9359 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
9360
9361 2011-10-28 Alan Mackenzie <acm@muc.de>
9362
9363 * progmodes/cc-defs.el (c-version): -> 5.32.2.
9364
9365 2011-10-28 Alan Mackenzie <acm@muc.de>
9366
9367 Amend the handling of c-beginning/end-of-defun in nested declaration
9368 scopes.
9369
9370 * progmodes/cc-vars.el (c-defun-tactic): Move here from
9371 cc-langs.el. Change it to a defcustom.
9372
9373 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
9374 cc-vars.el.
9375
9376 * progmodes/cc-engine.el (c-beginning-of-statement-1):
9377 Prevent "class foo : bar" being spuriously recognized as a label.
9378
9379 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
9380 Add parameter `inclusive' (to include enclosing braces in the region).
9381 (c-widen-to-enclosing-decl-scope): New function.
9382 (c-while-widening-to-decl-block): New macro.
9383 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
9384 outward for defun boundaries, and correspondingly change symbol
9385 `respect-enclosure' to `go-outward'.
9386 (c-declaration-limits): Change algorithm to report only the "innermost"
9387 defun's boundaries.
9388
9389 2011-10-28 Deniz Dogan <deniz@dogan.se>
9390
9391 * net/rcirc.el (rcirc-mode): Use hard newlines.
9392
9393 2011-10-28 Alan Mackenzie <acm@muc.de>
9394
9395 Amend to indent and fontify macros "which include their own semicolon"
9396 correctly, using the "virtual semicolon" mechanism.
9397
9398 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
9399
9400 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
9401 Recode to scan one line at a time rather than having \n and \r
9402 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
9403 (c-forward-label): Amend for virtual semicolons.
9404 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
9405
9406 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
9407 of the new C macros.
9408
9409 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
9410 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
9411 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
9412 (c-opt-cpp-macro-define): Make into a full language variable.
9413 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
9414 AWK Mode (including \n, \r) removed, no longer needed.
9415
9416 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
9417 Invoke c-make-macro-with-semi-re.
9418
9419 * progmodes/cc-vars.el (c-macro-with-semi-re):
9420 (c-macro-names-with-semicolon): New variables.
9421 (c-make-macro-with-semi-re): New function.
9422
9423 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
9424
9425 * vc/log-edit.el: Fill empty field rather than adding new one.
9426 (log-edit-add-field): New function.
9427 (log-edit-insert-changelog): Use it.
9428
9429 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
9430
9431 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
9432
9433 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
9434
9435 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
9436 (gdb--check-interpreter): New function.
9437 (gdb): Use it.
9438
9439 2011-10-27 Glenn Morris <rgm@gnu.org>
9440
9441 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
9442 (least-positive-float, least-negative-float)
9443 (least-positive-normalized-float, least-negative-normalized-float)
9444 (float-epsilon, float-negative-epsilon):
9445 Remove unnecessary declarations.
9446
9447 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
9448 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
9449 (least-positive-float, least-negative-float)
9450 (least-positive-normalized-float, least-negative-normalized-float)
9451 (float-epsilon, float-negative-epsilon): Add doc-strings,
9452 based on those in cl.texi.
9453
9454 * files.el (set-visited-file-name): If the major-mode changed,
9455 reload the local variables. (Bug#9796)
9456
9457 2011-10-27 Chong Yidong <cyd@gnu.org>
9458
9459 * subr.el (change-major-mode-after-body-hook): New hook.
9460 (run-mode-hooks): Run it.
9461
9462 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
9463 Use change-major-mode-before-body-hook.
9464
9465 * simple.el (fundamental-mode):
9466 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
9467 change introducing fundamental-mode-hook.
9468
9469 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
9470
9471 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
9472
9473 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
9474
9475 * ido.el (ido-file-name-all-completions-1): Do not require
9476 tramp.el explicitly. (Bug#7583)
9477
9478 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
9479
9480 * progmodes/octave-mod.el:
9481 * progmodes/octave-inf.el: Update maintainer.
9482
9483 2011-10-26 Chong Yidong <cyd@gnu.org>
9484
9485 * subr.el (with-wrapper-hook): Rewrite doc.
9486
9487 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
9488
9489 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
9490 filenames "/method:foo:". (Bug#9793)
9491
9492 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
9493
9494 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
9495 (bug#9865).
9496
9497 2011-10-24 Glenn Morris <rgm@gnu.org>
9498
9499 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
9500
9501 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
9502
9503 * notifications.el: Add the requirement of a running D-Bus session
9504 bus to the Commentary.
9505
9506 2011-10-24 Juri Linkov <juri@jurta.org>
9507
9508 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
9509 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
9510 (Bug#9364)
9511
9512 2011-10-24 Juri Linkov <juri@jurta.org>
9513
9514 * info.el (Info-following-node-name-re): Add newline to the list
9515 of allowed characters for leading space. (Bug#9824)
9516
9517 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
9518
9519 * progmodes/octave-inf.el (inferior-octave-mode-map):
9520 Fix C-c C-h binding.
9521 * progmodes/octave-mod.el (octave-help): Remove.
9522
9523 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
9524
9525 Sync with Tramp 2.2.3.
9526
9527 * net/tramp-cache.el (top): Pacify byte-compiler using
9528 `init-file-user' and `site-run-file'.
9529
9530 * net/trampver.el: Update release number.
9531
9532 2011-10-23 Chong Yidong <cyd@gnu.org>
9533
9534 * files.el (toggle-read-only): Remove obsolete comment about
9535 version control.
9536
9537 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
9538 for toggle-read-only. Note that this hasn't called vc-next-action
9539 since 2008-05-02, though it wasn't documented at the time.
9540
9541 * vc/ediff-init.el (ediff-toggle-read-only-function):
9542 Use toggle-read-only.
9543
9544 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
9545
9546 Fix bug #9560, sporadic wrong indentation; improve instrumentation
9547 of c-parse-state.
9548
9549 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
9550 correct faulty logical expression.
9551 (c-parse-state-state, c-record-parse-state-state):
9552 (c-replay-parse-state-state): New defvar/defuns.
9553 (c-debug-parse-state): Use new functions.
9554
9555 2011-10-22 Martin Rudalics <rudalics@gmx.at>
9556
9557 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
9558 last fix. Use window-in-direction correctly.
9559
9560 2011-10-21 Chong Yidong <cyd@gnu.org>
9561
9562 * progmodes/idlwave.el (idlwave-mode):
9563 * progmodes/vera-mode.el (vera-mode): No need to set
9564 require-final-newline; that's done in prog-mode.
9565 Suggested by Stefan Monnier.
9566
9567 2011-10-21 Martin Rudalics <rudalics@gmx.at>
9568
9569 * mouse.el (mouse-drag-window-above)
9570 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
9571 (mouse-drag-mode-line-1, mouse-drag-header-line)
9572 (mouse-drag-vertical-line-rightward-window): Remove.
9573 (mouse-drag-line): New function.
9574 (mouse-drag-mode-line, mouse-drag-header-line)
9575 (mouse-drag-vertical-line): Call mouse-drag-line.
9576 * window.el (window-at-side-p, windows-at-side): New functions.
9577
9578 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
9579
9580 * tar-mode.el (tar-grind-file-mode):
9581 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
9582
9583 2011-10-21 Chong Yidong <cyd@gnu.org>
9584
9585 * progmodes/idlwave.el (idlwave-mode):
9586 * progmodes/vera-mode.el (vera-mode):
9587 Use mode-require-final-newline.
9588
9589 2011-10-20 Glenn Morris <rgm@gnu.org>
9590
9591 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
9592
9593 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
9594
9595 * emulation/cua-base.el (cua-set-mark): Fix case of string.
9596
9597 2011-10-20 Chong Yidong <cyd@gnu.org>
9598
9599 * emulation/cua-base.el (cua-mode):
9600 * mail/footnote.el (footnote-mode):
9601 * mail/mailabbrev.el (mail-abbrevs-mode):
9602 * net/xesam.el (xesam-minor-mode):
9603 * progmodes/bug-reference.el (bug-reference-mode):
9604 * progmodes/cap-words.el (capitalized-words-mode):
9605 * progmodes/compile.el (compilation-minor-mode)
9606 (compilation-shell-minor-mode):
9607 * progmodes/gud.el (gud-tooltip-mode):
9608 * progmodes/hideif.el (hide-ifdef-mode):
9609 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
9610 * progmodes/subword.el (subword-mode):
9611 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
9612 * progmodes/which-func.el (which-function-mode):
9613 * term/tvi970.el (tvi970-set-keypad-mode):
9614 * term/vt100.el (vt100-wide-mode):
9615 * textmodes/flyspell.el (flyspell-mode):
9616 * textmodes/ispell.el (ispell-minor-mode):
9617 * textmodes/nroff-mode.el (nroff-electric-mode):
9618 * textmodes/paragraphs.el (use-hard-newlines):
9619 * textmodes/refill.el (refill-mode):
9620 * textmodes/reftex.el (reftex-mode):
9621 * textmodes/rst.el (rst-minor-mode):
9622 * textmodes/sgml-mode.el (html-autoview-mode)
9623 (sgml-electric-tag-pair-mode):
9624 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
9625 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
9626 * emulation/crisp.el (crisp-mode):
9627 * emacs-lisp/eldoc.el (eldoc-mode):
9628 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
9629 minor mode behavior.
9630
9631 2011-10-19 Juri Linkov <juri@jurta.org>
9632
9633 * descr-text.el (describe-char): Add #x2010 and #x2011 to
9634 the list of hard-coded chars with escape-glyph face.
9635
9636 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
9637
9638 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
9639
9640 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
9641
9642 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
9643 running process.
9644
9645 2011-10-19 Glenn Morris <rgm@gnu.org>
9646
9647 * vc/vc-bzr.el (vc-bzr-after-dir-status):
9648 Ignore ignored files. (Bug#9726)
9649
9650 2011-10-19 Chong Yidong <cyd@gnu.org>
9651
9652 Doc fix for minor modes, stating that an omitted argument enables
9653 the mode unconditionally when called from Lisp.
9654
9655 * abbrev.el (abbrev-mode):
9656 * allout.el (allout-mode):
9657 * autoinsert.el (auto-insert-mode):
9658 * autoarg.el (autoarg-mode, autoarg-kp-mode):
9659 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
9660 (global-auto-revert-mode):
9661 * battery.el (display-battery-mode):
9662 * composite.el (global-auto-composition-mode)
9663 (auto-composition-mode):
9664 * delsel.el (delete-selection-mode):
9665 * desktop.el (desktop-save-mode):
9666 * dired-x.el (dired-omit-mode):
9667 * dirtrack.el (dirtrack-mode):
9668 * doc-view.el (doc-view-minor-mode):
9669 * double.el (double-mode):
9670 * electric.el (electric-indent-mode, electric-pair-mode):
9671 * emacs-lock.el (emacs-lock-mode):
9672 * epa-hook.el (auto-encryption-mode):
9673 * follow.el (follow-mode):
9674 * font-core.el (font-lock-mode):
9675 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
9676 * help.el (temp-buffer-resize-mode):
9677 * hilit-chg.el (highlight-changes-mode)
9678 (highlight-changes-visible-mode):
9679 * hi-lock.el (hi-lock-mode):
9680 * hl-line.el (hl-line-mode, global-hl-line-mode):
9681 * icomplete.el (icomplete-mode):
9682 * ido.el (ido-everywhere):
9683 * image-file.el (auto-image-file-mode):
9684 * image-mode.el (image-minor-mode):
9685 * iswitchb.el (iswitchb-mode):
9686 * jka-cmpr-hook.el (auto-compression-mode):
9687 * linum.el (linum-mode):
9688 * longlines.el (longlines-mode):
9689 * master.el (master-mode):
9690 * mb-depth.el (minibuffer-depth-indicate-mode):
9691 * menu-bar.el (menu-bar-mode):
9692 * minibuf-eldef.el (minibuffer-electric-default-mode):
9693 * mouse-sel.el (mouse-sel-mode):
9694 * msb.el (msb-mode):
9695 * mwheel.el (mouse-wheel-mode):
9696 * outline.el (outline-minor-mode):
9697 * paren.el (show-paren-mode):
9698 * recentf.el (recentf-mode):
9699 * reveal.el (reveal-mode, global-reveal-mode):
9700 * rfn-eshadow.el (file-name-shadow-mode):
9701 * ruler-mode.el (ruler-mode):
9702 * savehist.el (savehist-mode):
9703 * scroll-all.el (scroll-all-mode):
9704 * scroll-bar.el (scroll-bar-mode):
9705 * server.el (server-mode):
9706 * shell.el (shell-dirtrack-mode):
9707 * simple.el (auto-fill-mode, transient-mark-mode)
9708 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
9709 (line-number-mode, column-number-mode, size-indication-mode)
9710 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
9711 * strokes.el (strokes-mode):
9712 * time.el (display-time-mode):
9713 * t-mouse.el (gpm-mouse-mode):
9714 * tool-bar.el (tool-bar-mode):
9715 * tooltip.el (tooltip-mode):
9716 * type-break.el (type-break-mode-line-message-mode)
9717 (type-break-query-mode):
9718 * view.el (view-mode):
9719 * whitespace.el (whitespace-mode, whitespace-newline-mode)
9720 (global-whitespace-mode, global-whitespace-newline-mode):
9721 * xt-mouse.el (xterm-mouse-mode): Doc fix.
9722
9723 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
9724 Fix autogenerated docstring.
9725
9726 2011-10-19 Juri Linkov <juri@jurta.org>
9727
9728 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
9729 by checking environment variables "DESKTOP_SESSION" and
9730 "XDG_CURRENT_DESKTOP". (Bug#9779)
9731
9732 2011-10-19 Juri Linkov <juri@jurta.org>
9733
9734 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
9735 (browse-url-chromium-program, browse-url-chromium-arguments):
9736 New defcustoms.
9737 (browse-url-default-browser): Check for `browse-url-chromium' and
9738 call `browse-url-chromium-program'.
9739 (browse-url-chromium): New command. (Bug#9779)
9740
9741 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
9742
9743 * facemenu.el (list-colors-duplicates): On Windows, detect more
9744 duplicates by assuming that only colors matching "^System" are
9745 special "system colors". (Bug#9722)
9746
9747 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
9748
9749 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
9750 to distinguish the author from the committer.
9751
9752 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
9753
9754 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
9755
9756 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
9757
9758 * international/mule.el (sgml-html-meta-auto-coding-function):
9759 Add support for detecting encoding in HTML5 specified only as
9760 <meta charset="UTF-8">. Implementation just makes http-equiv and
9761 content-type parts from HTML4 encoding string optional. (Bug#9716)
9762
9763 2011-10-18 Glenn Morris <rgm@gnu.org>
9764
9765 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
9766
9767 2011-10-18 Chong Yidong <cyd@gnu.org>
9768
9769 * faces.el (cursor): Doc fix.
9770
9771 2011-10-17 Chong Yidong <cyd@gnu.org>
9772
9773 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
9774
9775 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
9776
9777 * dirtrack.el (dirtrack): Support shell buffers with path
9778 prefixes, e.g. tramp-based remote shells. (Bug#9647)
9779
9780 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
9781
9782 * json.el: Bump version to 1.3 and note change in History.
9783 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
9784
9785 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
9786
9787 * comint.el (comint-insert-input, comint-send-input)
9788 (comint-get-old-input-default, comint-backward-matching-input)
9789 (comint-next-prompt): Use nil instead of `input' for field property of
9790 past user input (bug#114).
9791
9792 * minibuffer.el (completion--replace): Inherit surrounding properties
9793 (bug#114).
9794 (minibuffer-complete-and-exit): Use it.
9795
9796 * comint.el (comint--table-subvert): Quote the all-completions output
9797 (bug#9160).
9798
9799 2011-10-17 Martin Rudalics <rudalics@gmx.at>
9800
9801 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
9802
9803 * menu-bar.el (menu-bar-file-menu): Add entry for making new
9804 window on right of selected. (Bug#9350) Reword other window
9805 entries and separate them from frame entries.
9806
9807 2011-10-15 Glenn Morris <rgm@gnu.org>
9808
9809 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
9810 Doc fixes.
9811
9812 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
9813
9814 * net/network-stream.el (network-stream-open-starttls):
9815 Improve detection of failure due to lack of TLS support.
9816
9817 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
9818 putting the input text in front and in bold.
9819
9820 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
9821
9822 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
9823
9824 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
9825 empty buffer.
9826
9827 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
9828 unread-command-events rather than pushing yet-another event.
9829
9830 2011-10-14 Eli Zaretskii <eliz@gnu.org>
9831
9832 * mail/sendmail.el (sendmail-query-once): Improve the wording of
9833 the explanation of the possible choices. Make the options passed
9834 to completing-read shorter.
9835
9836 2011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9837
9838 * textmodes/flyspell.el (flyspell-large-region): Make sure
9839 extended character mode is used if defined (Bug#1339).
9840
9841 2011-10-13 Eli Zaretskii <eliz@gnu.org>
9842
9843 * simple.el (what-cursor-position): Fix the display of the
9844 character info for LRE, LRO, RLE, and RLO characters by appending
9845 an invisible PDF.
9846
9847 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
9848
9849 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
9850 even in case of error; add debug spec; simplify data flow.
9851 (with-timeout-handler): Remove.
9852
9853 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
9854
9855 Fix Bug#6019, Bug#9315.
9856
9857 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
9858 complete `buffer-file-name', the local file name part could look
9859 remotely (for example on VMS).
9860
9861 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
9862 `tramp-run-real-handler'.
9863 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
9864 already quoted by '"'.
9865
9866 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
9867 Let `file-name-handler-alist' be nil, the local file name part
9868 could look remotely (for example on VMS).
9869
9870 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
9871
9872 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
9873 from here...
9874 (flyspell-post-command-hook): ...to here.
9875
9876 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
9877
9878 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
9879 if not needed.
9880 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
9881 using completion. Protect against "slow" callers.
9882 Remove the "message hack".
9883
9884 2011-10-11 Juri Linkov <juri@jurta.org>
9885
9886 * isearch.el (isearch-lazy-highlight-word): New variable.
9887 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
9888 Use it. (Bug#9727)
9889
9890 2011-10-11 Glenn Morris <rgm@gnu.org>
9891
9892 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
9893 like f90-previous-statement does.
9894
9895 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9896
9897 * eshell/eshell.el (eshell-command): History should be saved
9898 only in interactive use, to avoid error.
9899
9900 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
9901
9902 * minibuffer.el (completion-file-name-table): Fix last change,
9903 i.e. ignore normal errors but not the other ones.
9904
9905 2011-10-10 Martin Rudalics <rudalics@gmx.at>
9906
9907 * window.el (special-display-buffer-names)
9908 (special-display-regexps): Remove some remnants of earlier
9909 changes from doc-strings.
9910 (quit-windows-on): New function.
9911
9912 * vc/vc.el (vc-revert, vc-rollback):
9913 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
9914 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9915 (Bug#6183) (Bug#7074) (Bug#7447)
9916
9917 2011-10-09 Martin Rudalics <rudalics@gmx.at>
9918
9919 * window.el (frame-auto-hide-function): Add version tag.
9920 (Bug#9699)
9921
9922 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
9923
9924 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
9925 condition.
9926
9927 2011-10-09 Leo Liu <sdl.web@gmail.com>
9928
9929 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
9930 (Bug#9701)
9931
9932 2011-10-08 Glenn Morris <rgm@gnu.org>
9933
9934 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
9935 before the first code statement zero indent. (Bug#9690)
9936
9937 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
9938
9939 * simple.el (count-words-region): Always count in the region.
9940 Report the number of lines and characters too.
9941 (count-words): New command, which counts in the buffer if the
9942 region is inactive, as count-words-region used to.
9943 (count-words--message): New function. Handle plurals.
9944 (count-lines-region): Make it an alias for count-words-region.
9945
9946 * bindings.el (esc-map): Replace count-lines-region with
9947 count-words-region.
9948
9949 2011-10-08 Martin Rudalics <rudalics@gmx.at>
9950
9951 * window.el (window--delete): Delete dedicated frame
9952 unconditionally when argument KILL is non-nil. (Bug#9699)
9953 (switch-to-buffer): Fix doc-string typo.
9954
9955 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9956
9957 * eshell/eshell.el (eshell-command): Avoid using hooks.
9958
9959 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
9960
9961 * bindings.el ([M-left],[M-right]): Bind to left-word and
9962 right-word respectively.
9963
9964 2011-10-07 Glenn Morris <rgm@gnu.org>
9965
9966 * cus-start.el (debug-on-quit): Fix custom type.
9967
9968 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
9969
9970 * subr.el (define-key-after): Clarify that the function is not
9971 useful for non-menu keymaps.
9972
9973 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
9974
9975 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9976
9977 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
9978 in current minibuffer (Fix bug with recursive minibuffers).
9979
9980 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
9981
9982 * progmodes/gdb-mi.el (gdb): Doc fix.
9983
9984 2011-10-05 Martin Rudalics <rudalics@gmx.at>
9985
9986 * window.el (frame-auto-hide-function): New option replacing
9987 frame-auto-delete. Suggested by Stefan Monnier.
9988 (window--delete): Call frame-auto-hide-function instead of
9989 investigating frame-auto-delete.
9990 (window-point-1, set-window-point-1): New functions.
9991 (window-in-direction, record-window-buffer, window-state-get-1)
9992 (display-buffer-record-window): Use window-point-1 instead of
9993 window-point.
9994 (set-window-buffer-start-and-point): Use set-window-point-1.
9995
9996 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
9997
9998 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
9999
10000 2011-10-05 Glenn Morris <rgm@gnu.org>
10001
10002 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
10003 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
10004
10005 2011-10-05 Leo Liu <sdl.web@gmail.com>
10006
10007 * subr.el (read-char-choice): Fix argument to buffer-live-p which
10008 works with buffer object.
10009
10010 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
10011
10012 * mpc.el (mpc-tool-bar-map): Add labels.
10013
10014 2011-10-04 Glenn Morris <rgm@gnu.org>
10015
10016 * calendar/holidays.el (calendar-check-holidays): Doc fix.
10017
10018 2011-10-04 Martin Rudalics <rudalics@gmx.at>
10019
10020 * window.el (window--delete): New function.
10021 (frame-auto-delete): Resuscitate option.
10022 (bury-buffer, replace-buffer-in-windows)
10023 (quit-window): Rewrite using window--delete.
10024 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
10025 Pass display-buffer-mark-dedicated to window--display-buffer-2
10026 (Bug#9639).
10027
10028 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
10029
10030 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
10031 returns a list (bug#9554). Add remote file name completion.
10032 * comint.el (comint--table-subvert): Curry and get quote&unquote
10033 functions as arguments.
10034 (comint--complete-file-name-data): Adjust call accordingly.
10035 * pcomplete.el (pcomplete--table-subvert): Remove.
10036 (pcomplete-completions-at-point): Use comint--table-subvert instead.
10037
10038 * minibuffer.el (completion-table-case-fold): Use currying.
10039 (completion--styles-type, completion--cycling-threshold-type):
10040 New constants.
10041 (completion-styles, completion-category-overrides)
10042 (completion-cycle-threshold): Use them.
10043 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
10044 completion-table-case-fold.
10045
10046 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
10047
10048 * minibuffer.el (completion-category-overrides): Fix type of styles
10049 and add more user friendly tags (bug#9660).
10050
10051 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
10052
10053 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
10054 (mule-input-method-string): New widget.
10055 (default-input-method, language-info-custom-alist): Use it.
10056
10057 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
10058
10059 * pcomplete.el: Require comint.
10060 (pcomplete--common-suffix): Remove.
10061 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
10062 (pcomplete--table-subvert): Sync with comint--table-subvert.
10063 (pcomplete--entries): Use comint-completion-file-name-table.
10064 * comint.el (comint-unquote-filename): Simplify.
10065 (comint-completion-file-name-table): New function (bug#9616).
10066 (comint--complete-file-name-data): Use it.
10067
10068 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
10069 (pcmpl-gnu-tar-buffer): Remove.
10070 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
10071 around. Make sure pcomplete-suffix-list is only changed temporarily.
10072 Don't look inside the tar's file if it's too large.
10073
10074 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
10075
10076 * cus-edit.el (custom-mode-map):
10077 * epa.el (epa-key-list-mode-map):
10078 * man.el (Man-mode-map):
10079 * startup.el (splash-screen-keymap):
10080 * simple.el (special-mode-map): Use scroll-up-command and
10081 scroll-down-command.
10082
10083 * progmodes/idlw-help.el (idlwave-help-mode-map):
10084 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
10085 * net/newst-plainview.el (newsticker-mode-map):
10086 * emulation/ws-mode.el (wordstar-mode-map):
10087 * emulation/vi.el (vi-com-map):
10088 * calc/calc-graph.el (calc-graph-show-dumb):
10089 * term/sun.el (terminal-init-sun):
10090 * term/ns-win.el (global-map):
10091 * progmodes/grep.el (grep-mode-map):
10092 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
10093 * mail/rmail.el (rmail-mode-map):
10094 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
10095
10096 * custom.el (custom-safe-themes, load-theme): Treat value of t for
10097 custom-safe-themes as special.
10098
10099 2011-10-01 Julien Danjou <julien@danjou.info>
10100
10101 * notifications.el (notifications-notify): Fix docstring.
10102
10103 2011-10-01 Per Starbäck <per@starback.se>
10104
10105 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
10106
10107 2011-09-30 Martin Rudalics <rudalics@gmx.at>
10108
10109 * startup.el (command-line-1): Fix last fix by inserting
10110 initial-scratch-message into *scratch* before displaying it.
10111 (Bug#9605) and (Bug#9636)
10112
10113 2011-09-29 Eli Zaretskii <eliz@gnu.org>
10114
10115 * simple.el (line-move): If auto-hscroll-mode is disabled and the
10116 window is hscrolled, move by logical lines. (Bug#9607)
10117 (line-move-visual): Update the doc string to the above effect.
10118
10119 2011-09-29 Martin Rudalics <rudalics@gmx.at>
10120
10121 * window.el (display-buffer-record-window): When WINDOW is the
10122 selected window use `point' instead of `window-point'. (Bug#9626)
10123
10124 * startup.el (command-line-1): Use insert-before-markers when
10125 inserting initial-scratch-message. (Bug#9605)
10126
10127 * help.el (help-window): Remove variable.
10128
10129 2011-09-29 Glenn Morris <rgm@gnu.org>
10130
10131 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
10132
10133 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
10134
10135 * descr-text.el (describe-char-categories): Accept category
10136 descriptions more than one line long.
10137
10138 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
10139
10140 * simple.el (delete-trailing-whitespace): Fix last change.
10141
10142 * progmodes/perl-mode.el (perl-syntax-propertize-function):
10143 Don't confuse "y => 3" as the beginning of a `y' operation.
10144
10145 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
10146 object has more than 4 slots (bug#9613).
10147
10148 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
10149
10150 * subr.el (with-output-to-temp-buffer):
10151 * net/quickurl.el (quickurl, quickurl-browse-url):
10152 Fix typos in docstrings.
10153
10154 2011-09-27 Eli Zaretskii <eliz@gnu.org>
10155
10156 * minibuffer.el (completion-styles)
10157 (completion-category-overrides): Cross reference each other in doc
10158 strings.
10159
10160 2011-09-27 Glenn Morris <rgm@gnu.org>
10161
10162 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
10163 to split-string. (Bug#9606)
10164
10165 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
10166
10167 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
10168 (bug#9615).
10169
10170 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
10171
10172 * emacs-lisp/package.el (list-packages): Fix echo area message.
10173
10174 2011-09-27 Leo Liu <sdl.web@gmail.com>
10175
10176 * ido.el (ido-read-internal): Accept cons cell HIST arg.
10177
10178 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
10179
10180 * net/dbus.el (dbus-unregister-object): Don't release services for
10181 registered signals. (Bug#9581)
10182
10183 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
10184
10185 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
10186 function that picks between cfengine 2 and 3 support
10187 automatically. Update docs accordingly.
10188
10189 2011-09-22 Kenichi Handa <handa@m17n.org>
10190
10191 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
10192 ZERO.
10193 (indian-itrans-v5-table-for-tamil): New variable.
10194 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
10195
10196 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
10197
10198 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
10199 that's true if the current command involved collapsing of text.
10200 It's reset to false at the beginning of the next command.
10201 (allout-post-command-business): Move the cursor to the beginning
10202 of entry if the cursor is hidden and collapsing activity just
10203 happened.
10204
10205 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
10206
10207 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
10208 tracking (Bug#9541).
10209
10210 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
10211
10212 * net/newst-reader.el (newsticker-html-renderer)
10213 (newsticker-show-news): Automatically load html rendering package
10214 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
10215 because w3m-fill-column is let-bound" and the error "Symbol's value
10216 as variable is void: w3m-fill-column".
10217
10218 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
10219
10220 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
10221 Release services only if they are defined. (Bug#9581)
10222
10223 2011-09-23 Richard Stallman <rms@gnu.org>
10224
10225 * textmodes/paragraphs.el (forward-sentence): For backwards case,
10226 distinguish start of paragraph from start of its text.
10227
10228 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
10229
10230 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
10231 (rmail-generate-viewer-buffer): Put that hook on view buffer.
10232 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
10233
10234 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
10235
10236 * international/mule-diag.el (mule-diag): Insert a newline after
10237 each fontset description.
10238
10239 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
10240
10241 * simple.el (delete-trailing-whitespace):
10242 Document last change; simplify.
10243
10244 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
10245
10246 * simple.el (delete-trailing-whitespace): Also delete
10247 extra newlines at the end of the buffer.
10248
10249 * textmodes/picture.el: Make motion commands obey shift-select-mode.
10250 (picture-newline): Use forward-line so as to ignore fields.
10251
10252 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
10253
10254 * subr.el (with-wrapper-hook): Fix edebug spec.
10255
10256 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
10257
10258 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
10259 (bug#4538).
10260
10261 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
10262
10263 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
10264 Fix nasty bug using wrong cached values.
10265
10266 2011-09-23 Alan Mackenzie <acm@muc.de>
10267
10268 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
10269
10270 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
10271
10272 * window.el (pop-to-buffer): Ensure right window is selected if we
10273 chose another frame.
10274
10275 2011-09-22 Eli Zaretskii <eliz@gnu.org>
10276
10277 * simple.el (what-cursor-position): Use get-char-property-change
10278 and next-single-char-property-change, to be able to show display
10279 properties that come from overlays as well as text properties.
10280
10281 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
10282
10283 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
10284
10285 * cmuscheme.el (run-scheme, switch-to-scheme):
10286 * cus-edit.el (customize-group, custom-buffer-create)
10287 (customize-browse):
10288 * info.el (info):
10289 * shell.el (shell):
10290 * mail/sendmail.el (mail):
10291 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
10292
10293 2011-09-22 Richard Stallman <rms@gnu.org>
10294
10295 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
10296 move back only to line beg, don't move back over blank lines.
10297
10298 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
10299
10300 * files.el (copy-directory): Set directory attributes only in case
10301 they could be retrieved from the source directory. (Bug#9565)
10302
10303 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
10304
10305 * progmodes/hideshow.el (hs-looking-at-block-start-p)
10306 (hs-find-block-beginning, hs-hide-level-recursive):
10307 Ignore strings as well as comments. (Bug#9502)
10308
10309 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
10310
10311 * progmodes/sql.el (sql-comint-postgres):
10312 Convert port number to a string. (Bug#9566)
10313
10314 2011-09-22 Martin Rudalics <rudalics@gmx.at>
10315
10316 * window.el (quit-window): Undedicate window when switching to
10317 previous buffer. Reported by Thierry Volpiatto
10318 <thierry.volpiatto@gmail.com>.
10319 (special-display-popup-frame): When popping up a new frame reset
10320 its previous buffers to nil. Simplify code.
10321
10322 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
10323
10324 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
10325 and process filter, as done also in `shell-command'.
10326
10327 2011-09-21 Martin Rudalics <rudalics@gmx.at>
10328
10329 * window.el (set-window-buffer-start-and-point):
10330 Call set-window-start with NOFORCE argument t.
10331 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
10332 (quit-window): Reword doc-string. Handle new format of
10333 quit-restore parameter. Don't delete window if it has a
10334 previous buffer we can show instead of the present one.
10335 (display-buffer-record-window): Rewrite using a new format for
10336 the quit-restore window parameter
10337 (special-display-popup-frame, display-buffer-same-window)
10338 (display-buffer-reuse-window, display-buffer-pop-up-frame)
10339 (display-buffer-pop-up-window, display-buffer-use-some-window):
10340 Adapt symbol passed to display-buffer-record-window.
10341 * help.el (help-window-setup): Handle new format of quit-restore
10342 parameter.
10343
10344 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
10345
10346 * faces.el (face-list): Fix docstring (bug#9564).
10347
10348 * window.el (display-buffer--action-function-custom-type):
10349 Don't include internal functions in the Custom interface.
10350
10351 2011-09-20 Juri Linkov <juri@jurta.org>
10352
10353 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
10354 (Info-forward-node, Info-backward-node, Info-next-preorder)
10355 (Info-last-preorder): Use it. (Bug#9528)
10356
10357 2011-09-20 Juri Linkov <juri@jurta.org>
10358
10359 * info.el (Info-last-preorder): Visit last menu item only when
10360 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
10361
10362 2011-09-20 Julien Danjou <julien@danjou.info>
10363
10364 * password-cache.el (password-cache-remove): Remove entries even if the
10365 value is nil, so that password with a nil value (negative caching) is
10366 possible to invalidate.
10367
10368 2011-09-20 Lawrence Mitchell <wence@gmx.li>
10369
10370 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
10371 all whitespace around breakpoint. (Bug#9553)
10372 (f90-find-breakpoint): Only break at whitespace inside a comment.
10373
10374 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
10375
10376 * minibuffer.el (completion-file-name-table): Keep track of errors.
10377 (completion-table-with-predicate): Handle the case where pred1 is nil.
10378 * pcomplete.el (pcomplete-completions-at-point): Simplify.
10379
10380 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
10381
10382 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
10383 (debugger-return-value): Signal an error if the debugging context does
10384 not await any return value.
10385
10386 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
10387 * image-mode.el (image-toggle-display-text)
10388 (image-toggle-display-image): Stay away from evil `intangible'.
10389
10390 2011-09-19 Leo Liu <sdl.web@gmail.com>
10391
10392 * replace.el (occur-revert-arguments): Make it permanent-local.
10393 (occur-mode): Don't call font-lock-defontify.
10394
10395 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
10396
10397 * net/ldap.el (ldap-search-internal): Don't push empty search
10398 result (Bug#9508).
10399
10400 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
10401
10402 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
10403
10404 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
10405
10406 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
10407 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
10408
10409 2011-09-18 Juri Linkov <juri@jurta.org>
10410
10411 * buff-menu.el (Buffer-menu-mode-map):
10412 * dired.el (dired-mode-map):
10413 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
10414 (lisp-interaction-mode-map):
10415 * emacs-lisp/package.el (package-menu-mode-map):
10416 * epa.el (epa-key-list-mode-map):
10417 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
10418 (menu-bar-options-menu):
10419 * outline.el (outline-mode-menu-bar-map):
10420 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
10421 * vc/vc-dir.el (vc-dir-menu-map):
10422 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
10423 Capitalize non-function content words in menu item strings.
10424
10425 * dired.el (dired-mode-map): Add menu item for
10426 `image-dired-dired-toggle-marked-thumbs'.
10427
10428 2011-09-18 Juri Linkov <juri@jurta.org>
10429
10430 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
10431 to `isearch-case-fold-search' and restore its original value
10432 after the `isearch-mode' call.
10433
10434 2011-09-18 Juri Linkov <juri@jurta.org>
10435
10436 * progmodes/grep.el (grep-process-setup): Don't check code for 1
10437 because `zgrep' returns 1 for successful matches (bug#9226).
10438
10439 2011-09-18 Juri Linkov <juri@jurta.org>
10440
10441 * info.el (Info-extract-menu-node-name): Check the second match
10442 for empty string (second test-case of bug#9528).
10443 (Info-last-preorder): Let-bind `Info-history' to nil to not add
10444 intermediate nodes to the history (first test-case of bug#9528).
10445
10446 2011-09-18 Juri Linkov <juri@jurta.org>
10447
10448 * info.el (Info-mode-syntax-table): New variable.
10449 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
10450
10451 2011-09-18 Juri Linkov <juri@jurta.org>
10452
10453 * info.el (Info-file-supports-index-cookies):
10454 Increment line-beginning-position's arg from 3 to 4 because makeinfo
10455 outputs one more line for long file names (bug#4142).
10456
10457 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
10458
10459 * newcomment.el (comment-normalize-vars): If prompting for
10460 comment-start, set comment-start-skip too (Bug#8424).
10461
10462 2011-09-18 Johan Bockgård <bojohan@gnu.org>
10463
10464 * icomplete.el: Fix previous fix of Bug#5849.
10465 (icomplete-mode): Don't set completion-show-inline-help.
10466 (icomplete-minibuffer-setup): Set completion-show-inline-help
10467 locally during icompletion.
10468
10469 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
10470
10471 * woman.el (woman2-process-escapes): Don't delete unrecognized
10472 escapes (Bug#7843).
10473
10474 * files.el (inhibit-first-line-modes-regexps): Add image files.
10475 (hack-local-variables-prop-line): Return nil for malformed
10476 prop-lines (Bug#9044).
10477
10478 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
10479
10480 * net/tramp.el (top): Don't require 'shell.
10481 (tramp-methods): Fix docstring.
10482 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
10483 Return complete remote file name. Handle "smb" case.
10484 Use `tramp-tmpdir', if defined for the respective method.
10485 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
10486
10487 * net/tramp-compat.el (top): Require 'shell.
10488
10489 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
10490 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
10491 `tramp-current-host'.
10492 (tramp-get-remote-tmpdir): Remove.
10493
10494 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
10495 `tramp-tmpdir' entries.
10496 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
10497 (tramp-smb-handle-file-attributes): Ignore errors.
10498 (tramp-smb-wait-for-output): Check also for process end.
10499
10500 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
10501
10502 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
10503 when sending QUIT (bug#9312).
10504
10505 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
10506
10507 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
10508 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
10509 occur-mode-display-occurrence.
10510 (occur-edit-mode): Add usage message.
10511 (occur-cease-edit): New command.
10512 (occur-after-change-function): Use text properties to find the
10513 position of the prefix text.
10514 (occur-engine): Set stickiness of prefix text properties.
10515
10516 2011-09-17 Glenn Morris <rgm@gnu.org>
10517
10518 * progmodes/etags.el (complete-tag):
10519 Fix call to completion-in-region. (Bug#9526)
10520
10521 2011-09-17 Juri Linkov <juri@jurta.org>
10522
10523 * textmodes/ispell.el (ispell-word): Add to the error message
10524 the word, ispell program name and current dictionary (bug#9121).
10525 (ispell-tex-arg-end): Capitalize "error" in the error message.
10526
10527 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
10528
10529 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
10530 check. (Bug#4251)
10531
10532 2011-09-17 Juri Linkov <juri@jurta.org>
10533
10534 * window.el (window-safe-min-height, window-safe-min-width):
10535 Fix typos (followup to bug#9522).
10536
10537 2011-09-17 Sven Joachim <svenjoac@gmx.de>
10538
10539 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
10540
10541 2011-09-16 Eli Zaretskii <eliz@gnu.org>
10542
10543 * simple.el (line-move): If goal-column is set, move by logical
10544 lines, not by display lines. (Bug#971)
10545 (next-line, previous-line, goal-column, line-move-visual): Doc fix
10546 to reflect the above change.
10547
10548 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
10549
10550 * image.el (imagemagick-register-types): Use regexp-opt.
10551
10552 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
10553
10554 * window.el (display-buffer-base-action): Rename from
10555 display-buffer-default-action. Make default value empty.
10556 (display-buffer-overriding-action): Convert to defvar.
10557 (display-buffer-fallback-action): New var.
10558
10559 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
10560
10561 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
10562 declaration.
10563 (package--add-to-archive-contents): If there is a duplicate entry
10564 with an older version, remove it.
10565 (package-menu-mark-delete, package-menu-mark-install)
10566 (package-menu-mark-unmark): Make unused args optional.
10567 (package-menu-mark-obsolete-for-deletion):
10568 Use package-menu-get-status instead of a regexp search.
10569 (package-menu-get-status): Use tabulated-list-entry.
10570 (package-menu-mark-upgrades): New command.
10571 (package-menu-mode-map): Bind it to U. Add it to menu bar.
10572 (package-menu-execute): Do installation before deletion.
10573 (package-menu-refresh, package-menu-execute): Use derived-mode-p
10574 instead of checking major-mode.
10575 (package-menu--find-upgrades): New function.
10576
10577 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
10578
10579 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
10580 passwords in the log buffer.
10581 (smtpmail-process-filter): Update the process marker so that the
10582 "broken by peer" status message is inserted in the right place.
10583
10584 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
10585
10586 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
10587 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
10588 bibtex-completion-at-point-function.
10589 (bibtex-completion-at-point-function): Use them.
10590
10591 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
10592
10593 * mpc.el (mpc-constraints-tag-lookup): New function.
10594 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
10595 also to browser "album|playlist".
10596
10597 2011-09-14 Juri Linkov <juri@jurta.org>
10598
10599 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
10600 (isearch-edit-string): Use length of `isearch-string' when
10601 `isearch-fail-pos' returns nil.
10602 (isearch-message): Remove duplicate code and call
10603 `isearch-fail-pos' with arg `t'.
10604
10605 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
10606
10607 * replace.el (occur-mode-goto-occurrence): Don't force using other
10608 window (Bug#9499).
10609
10610 * dired-aux.el (dired-do-chmod): Don't provide initial input.
10611
10612 2011-09-14 Martin Rudalics <rudalics@gmx.at>
10613
10614 * window.el (display-buffer-window): Remove.
10615 (display-buffer-record-window): Use help-setup window parameter
10616 instead of variable display-buffer-window.
10617 (display-buffer-function, special-display-buffer-names)
10618 (special-display-function): Mention help-setup parameter instead
10619 of display-buffer-window in doc-string.
10620 * help.el (help-window-setup): New argument help-window.
10621 Use help-window-setup parameter instead of display-buffer-window.
10622 Reword some messages.
10623 (with-help-window): Pass window used for displaying the buffer
10624 to help-window-setup. Don't set display-buffer-window.
10625
10626 2011-09-13 Glenn Morris <rgm@gnu.org>
10627
10628 * emacs-lisp/debug.el (debugger-make-xrefs):
10629 Preserve point. (Bug#9462)
10630
10631 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
10632
10633 * window.el (window-deletable-p): Use next-frame.
10634
10635 2011-09-13 Martin Rudalics <rudalics@gmx.at>
10636
10637 * window.el (window-auto-delete): Remove.
10638 (window-deletable-p): Remove argument FORCE. Don't deal with
10639 dedication and previous buffers.
10640 (switch-to-prev-buffer): Don't delete window.
10641 (delete-windows-on): Delete a window's frame if and only if the
10642 window is dedicated.
10643 (replace-buffer-in-windows): Delete buffer's window or frame if
10644 and only if window is dedicated.
10645 (quit-window): Handle quit-restore as before last change.
10646 (bury-buffer): Delete window only if window-deletable-p returns t.
10647
10648 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
10649
10650 * window.el (window-deletable-p): Never delete the last frame on a
10651 given terminal.
10652
10653 2011-09-13 Glenn Morris <rgm@gnu.org>
10654
10655 * help.el (describe-key-briefly): Copy previous standard-output change.
10656
10657 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
10658
10659 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
10660
10661 2011-09-13 Glenn Morris <rgm@gnu.org>
10662
10663 * emacs-lisp/lisp-mode.el (lisp-indent-function):
10664 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
10665
10666 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
10667
10668 * dired-aux.el (dired-mark-read-string): Don't return default
10669 value on empty input (Bug#9361).
10670 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
10671 Omit initial minibuffer contents.
10672 (dired-do-chmod): Signal an error on empty input.
10673 (dired-mark-read-string): Don't return default on empty input.
10674
10675 * files.el (file-modes-symbolic-to-number): Doc fix.
10676
10677 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
10678
10679 * international/mule-cmds.el (ucs-completions): Remove.
10680 (read-char-by-name): Use complete-with-action instead; add metadata.
10681
10682 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
10683
10684 * window.el (display-buffer--action-function-custom-type)
10685 (display-buffer--action-custom-type): New vars.
10686 (display-buffer-alist, display-buffer-default-action)
10687 (display-buffer-overriding-action): Add defcustom types.
10688
10689 * frame.el (delete-other-frames): Doc fix (Bug#276).
10690
10691 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
10692
10693 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
10694
10695 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
10696
10697 Change modes that used same-window-* vars to use switch-to-buffer.
10698
10699 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
10700 Use switch-to-buffer.
10701
10702 * cus-edit.el (customize-group, custom-buffer-create)
10703 (customize-browse, custom-buffer-create-other-window):
10704 Use switch-to-buffer or switch-to-buffer-other-window.
10705
10706 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
10707 (Info-prev, Info-up, Info-speedbar-goto-node)
10708 (info-display-manual): Use switch-to-buffer.
10709 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
10710
10711 * mail/sendmail.el (mail): Use switch-to-buffer.
10712 (mail-recover): Use switch-to-buffer-other-window.
10713
10714 * cmuscheme.el (run-scheme, switch-to-scheme):
10715 * ielm.el (ielm):
10716 * shell.el (shell):
10717 * net/rlogin.el (rlogin):
10718 * net/telnet.el (telnet, rsh):
10719 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
10720
10721 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
10722
10723 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
10724
10725 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
10726
10727 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
10728 so don't mention it (bug#9301).
10729 (dired-sort-toggle-or-edit): Clarify string further.
10730
10731 * faces.el (face-spec-set-match-display): Make `(type graphic)'
10732 match `x', `w32' and `ns', like the manual says (bug#9029).
10733
10734 * subr.el (eval-after-load): Doc string clarification (bug#9125).
10735 (process-kill-buffer-query-function): Mention the buffer name in
10736 the query.
10737
10738 * image-mode.el (image-next-line): The line parameter is mandatory
10739 (bug#9258).
10740
10741 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
10742 which can be useful (bug#9301).
10743
10744 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
10745
10746 * subr.el (match-string): Mention that the current buffer should
10747 be the same as the search was done in (bug#9282).
10748
10749 * facemenu.el: Disable the remove-* commands if the mark isn't
10750 active (bug#9162).
10751
10752 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
10753
10754 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
10755 of display-buffer.
10756 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
10757
10758 * replace.el (occur-mode-goto-occurrence)
10759 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
10760 and display-buffer.
10761
10762 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
10763 display-buffer.
10764
10765 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
10766 special-display and same-window variables.
10767 (mail-other-window): Use switch-to-buffer-other-window.
10768 (mail-other-frame): USe switch-to-buffer-other-frame.
10769
10770 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
10771 Use display-buffer-other-frame.
10772 (gdb-display-gdb-buffer): Use pop-to-buffer.
10773
10774 * progmodes/gud.el (gud-goto-info): Use info-other-window.
10775
10776 * progmodes/python.el: Don't set same-window-buffer-names.
10777
10778 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
10779
10780 * window.el (display-buffer-alist): Add *Python*.
10781
10782 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
10783
10784 * window.el (display-buffer-alist): Add entry for buffers
10785 previously handled same-window-*.
10786 (display-buffer-alist, display-buffer-default-action)
10787 (display-buffer-overriding-action): Mark as risky.
10788 (display-buffer-alist): Document action function changes.
10789 (display-buffer--same-window-action)
10790 (display-buffer--other-frame-action): New variables.
10791 (switch-to-buffer, display-buffer-other-frame): Use them.
10792 (display-buffer): Rename reuse-frame entry to reusable-frames.
10793 (display-buffer-reuse-selected-window): Function deleted.
10794 (display-buffer-reuse-window): Handle reusable-frames alist entry.
10795 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
10796 (display-buffer-special): New function.
10797 (display-buffer--maybe-pop-up-frame-or-window): Rename from
10798 display-buffer-reuse-or-pop-window. Split off special-display
10799 part into display-buffer-special.
10800 (display-buffer-use-some-window): Don't perform any special
10801 pop-up-frames handling.
10802 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
10803 (display-buffer--maybe-same-window): Rename from
10804 display-buffer-maybe-same-window.
10805
10806 * info.el: Don't set same-window-regexps.
10807 (info-setup): New function.
10808 (info-other-window, info): Call it.
10809
10810 * cus-edit.el: Don't set same-window-regexps.
10811 (customize-group): New argument.
10812 (customize-group-other-window): Use it.
10813 (customize-face, customize-face-other-window): Likewise.
10814 (custom-buffer-create-other-window): Use pop-to-buffer directly.
10815
10816 * net/rlogin.el:
10817 * net/telnet.el:
10818 * progmodes/gud.el: Don't set same-window-regexps.
10819
10820 * cmuscheme.el:
10821 * ielm.el:
10822 * shell.el:
10823 * mail/sendmail.el:
10824 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
10825
10826 2011-09-10 Juri Linkov <juri@jurta.org>
10827
10828 * isearch.el (isearch-edit-string): Remove obsolete mention of
10829 `C-w' (`isearch-yank-word-or-char') from docstring.
10830 (isearch-query-replace): Fix typo in docstring (bug#9466).
10831
10832 2011-09-10 Juri Linkov <juri@jurta.org>
10833
10834 * paren.el (show-paren-function): Don't show escaped parens.
10835 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
10836
10837 2011-09-10 Eli Zaretskii <eliz@gnu.org>
10838
10839 * mail/sendmail.el (mml-to-mime, mml-attach-file)
10840 (mm-default-file-encoding): Remove autoload forms, they are
10841 replaced with autoload cookies in mml.el and mm-encode.el.
10842 (mail-add-attachment): New command.
10843 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
10844 (mail-mode): Mention mail-insert-file and mail-add-attachment in
10845 the doc string.
10846 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
10847
10848 2011-09-10 Reuben Thomas <rrt@sc3d.org>
10849
10850 * simple.el (count-words-region): Use buffer if there's no region
10851 (bug#9429).
10852
10853 2011-09-09 Juri Linkov <juri@jurta.org>
10854
10855 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
10856 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
10857 (wdired-isearch-filter-read-only): New function. (Bug#6362)
10858
10859 2011-09-09 Alan Mackenzie <acm@muc.de>
10860
10861 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
10862 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
10863
10864 2011-09-09 Eli Zaretskii <eliz@gnu.org>
10865
10866 Fix for Savannah bug#9392.
10867 * simple.el (mail-encode-mml): New defvar.
10868
10869 * mail/rmail.el (mail-encode-mml): Add a defvar.
10870 (rmail-enable-mime-composing): Default to t.
10871 (rmail-forward): Use MIME method of forwarding only if both
10872 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
10873 Set mail-encode-mml non-nil if the MIME method was used.
10874
10875 * mail/sendmail.el (mml-to-mime): Add autoload form.
10876 (mail-encode-mml): Add a defvar.
10877 (mail-mode): Make mail-encode-mml buffer-local and initialize it
10878 to nil.
10879 (mail-send): If mail-encode-mml is non-nil, run the outgoing
10880 message through mml-to-mime, and reset mail-encode-mml to nil.
10881
10882 2011-09-09 Glenn Morris <rgm@gnu.org>
10883
10884 * woman.el (woman-if-body): When processing an .el block,
10885 do not delete the next .el block as well. (Bug#9447)
10886 (woman-special-characters): Add oq, cq, and hy characters.
10887
10888 2011-09-08 Martin Rudalics <rudalics@gmx.at>
10889
10890 * window.el (window-deletable-p): Make sure window is live before
10891 invoking window-prev-buffers.
10892
10893 2011-09-08 Leo Liu <sdl.web@gmail.com>
10894
10895 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
10896
10897 2011-09-08 Juri Linkov <juri@jurta.org>
10898
10899 * progmodes/compile.el (compilation-environment): Make it
10900 a defcustom (bug#8340).
10901
10902 2011-09-08 Martin Rudalics <rudalics@gmx.at>
10903
10904 * window.el (frame-auto-delete): Rename to window-auto-delete.
10905 Make it control auto-deletion of windows and/or frames.
10906 (window-deletable-p): New argument FORCE. Rewrite conditions
10907 for deleting window/frame. (Bug#9419)
10908 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
10909 Rewrite handling of case when window/frame can be deleted.
10910 (delete-windows-on): Call window-deletable-p with new FORCE
10911 argument t. (Bug#9456)
10912
10913 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
10914
10915 * help-mode.el (help-mode): Restore autoload.
10916
10917 2011-09-07 Juri Linkov <juri@jurta.org>
10918
10919 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
10920 `compilation-environment'. Set buffer-local
10921 `compilation-environment' to `thisenv' later after (funcall mode).
10922 (Bug#8340)
10923
10924 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
10925 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
10926 instead of replacing its value. (Bug#8340)
10927
10928 2011-09-07 Juri Linkov <juri@jurta.org>
10929
10930 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
10931 based on text properties put by `grep-filter' instead of matching
10932 escape sequences.
10933 (grep-mode): Set buffer-local `compilation-error-screen-columns'
10934 to the value of `grep-error-screen-columns' (bug#9438).
10935
10936 2011-09-07 Juri Linkov <juri@jurta.org>
10937
10938 * simple.el (next-error-highlight, next-error-highlight-no-select):
10939 Doc fix (bug#9432).
10940
10941 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
10942
10943 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
10944 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
10945
10946 2011-09-07 Leo Liu <sdl.web@gmail.com>
10947
10948 * net/rcirc.el (rcirc-mode): Conditionally initialize
10949 rcirc-input-ring.
10950
10951 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
10952
10953 * emacs-lisp/find-func.el (find-function-C-source): Only set
10954 find-function-C-source-directory after checking that we found a source
10955 file there (bug#9440).
10956
10957 2011-09-06 Alan Mackenzie <acm@muc.de>
10958
10959 * isearch.el (isearch-other-meta-char): Wherever a key list is
10960 unread, "unread" the prefix arg, too. This fixes bug #8901.
10961
10962 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
10963
10964 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
10965
10966 2011-09-05 Juri Linkov <juri@jurta.org>
10967
10968 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
10969
10970 2011-09-05 Juri Linkov <juri@jurta.org>
10971
10972 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
10973 keeping point where processing of grep matches begins, and
10974 continue to delete remaining escape sequences from the same point.
10975 (grep-filter): Make leading zero optional in "0?1;31m" because
10976 git-grep emits "\033[1;31m" escape sequences unlike expected
10977 "\033[01;31m" as GNU Grep does (bug#9408).
10978 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
10979
10980 2011-09-05 Juri Linkov <juri@jurta.org>
10981
10982 * subr.el (y-or-n-p): Capitalize "yes".
10983
10984 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
10985
10986 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
10987 `tramp-cache-unload-hook' where appropriate.
10988 (tramp-methods): Rename `tramp-remote-sh' to
10989 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
10990 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
10991
10992 * net/tramp-sh.el (top): Don't require 'shell.
10993 (tramp-methods): Add `tramp-remote-shell' and
10994 `tramp-remote-shell-args' entries.
10995 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
10996 (tramp-sh-handle-shell-command): Remove.
10997 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
10998 Use `tramp-remote-shell'.
10999
11000 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
11001
11002 * mail/sendmail.el (sendmail-query-once-function): Delete.
11003 (sendmail-query-once): Save directly to send-mail-function.
11004 Update message-send-mail-function too.
11005
11006 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
11007
11008 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
11009
11010 * progmodes/python.el (python-mode-map): Use correct function to
11011 start python interpreter from menu-bar (as reported by Geert
11012 Kloosterman).
11013 (inferior-python-mode-map): Fix typo.
11014 (python-shell-map): Remove.
11015
11016 2011-09-03 Deniz Dogan <deniz@dogan.se>
11017
11018 * net/rcirc.el (rcirc-print): Simplify code for
11019 rcirc-scroll-show-maximum-output. There is no need to walk
11020 through all windows to find the right one.
11021
11022 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
11023
11024 * help.el (help-return-method): Doc fix.
11025
11026 2011-09-03 Martin Rudalics <rudalics@gmx.at>
11027
11028 * window.el (window-deletable-p): Don't return a non-nil value
11029 when there's a buffer that was shown in the window before.
11030 (Bug#9419)
11031 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
11032 Set window's previous buffers to nil.
11033
11034 2011-09-03 Eli Zaretskii <eliz@gnu.org>
11035
11036 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
11037 newline before and after the tag line, so it doesn't interfere
11038 with determining the paragraph direction of bidirectional text.
11039
11040 2011-09-03 Leo Liu <sdl.web@gmail.com>
11041
11042 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
11043
11044 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
11045
11046 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
11047 (pop-to-buffer): Change interactive spec. Pass second argument
11048 directly to display-buffer.
11049 (display-buffer): Fix interactive spec. Use functionp to
11050 distinguish between a function and a list of functions.
11051
11052 * abbrev.el (edit-abbrevs):
11053 * arc-mode.el (archive-extract):
11054 * autoinsert.el (auto-insert):
11055 * bookmark.el (bookmark-bmenu-list):
11056 * files.el (find-file):
11057 * view.el (view-buffer):
11058 * progmodes/compile.el (compilation-goto-locus):
11059 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
11060
11061 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
11062
11063 * window.el (display-buffer-alist): Doc fix.
11064 (display-buffer): Add docstring. Don't treat
11065 display-buffer-default specially.
11066 (display-buffer-reuse-selected-window)
11067 (display-buffer-same-window, display-buffer-maybe-same-window)
11068 (display-buffer-reuse-window, display-buffer-pop-up-frame)
11069 (display-buffer-pop-up-window)
11070 (display-buffer-reuse-or-pop-window)
11071 (display-buffer-use-some-window): New functions.
11072 (display-buffer-default-action): Use them.
11073 (display-buffer-default): Delete.
11074 (pop-to-buffer-1): Fix choice of actions.
11075
11076 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
11077
11078 * minibuffer.el (completion--insert-strings): Don't get confused by
11079 completion entries that end with an LF char.
11080
11081 2011-09-01 Eli Zaretskii <eliz@gnu.org>
11082
11083 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
11084
11085 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
11086
11087 * window.el (display-buffer): Restore interactive spec.
11088 (display-buffer-same-window, display-buffer-other-window):
11089 New functions.
11090 (pop-to-buffer-1): New function. Use the above.
11091 (pop-to-buffer, pop-to-buffer-same-window): Use it.
11092 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
11093
11094 * view.el (view-buffer-other-window, view-buffer-other-frame):
11095 Just use pop-to-buffer.
11096
11097 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11098
11099 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
11100
11101 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
11102
11103 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
11104
11105 2011-08-31 Richard Stallman <rms@gnu.org>
11106
11107 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
11108 of the separation of rmail-view-buffer from rmail-buffer.
11109 If you say no to "replace original", the decrypt is in the
11110 view buffer. If you say yes, the decrypt goes into the
11111 rmail buffer also.
11112
11113 2011-08-31 Martin Rudalics <rudalics@gmx.at>
11114
11115 * window.el (display-buffer-window): Rewrite doc-string.
11116 (display-buffer-record-window): New function.
11117 (display-buffer-macro-specifiers)
11118 (display-buffer-even-window-sizes, display-buffer-set-height)
11119 (display-buffer-set-width, display-buffer-in-window)
11120 (display-buffer-reuse-window, display-buffer-split-specifiers)
11121 (display-buffer-side-specifiers, display-buffer-split-window-1)
11122 (display-buffer-split-window, display-buffer-split-atom-window)
11123 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
11124 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
11125 (display-buffer-other-window-means-other-frame)
11126 (display-buffer-normalize-special)
11127 (display-buffer-normalize-default)
11128 (display-buffer-normalize-argument)
11129 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
11130 (display-buffer-normalize-specifiers, display-buffer-frame)
11131 (display-buffer-same-window, display-buffer-same-frame)
11132 (display-buffer-other-window)
11133 (display-buffer-same-frame-other-window)
11134 (display-buffer-other-frame, pop-to-buffer-same-window)
11135 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
11136 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
11137 (switch-to-buffer-same-frame)
11138 (switch-to-buffer-other-window-same-frame)
11139 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
11140 (display-buffer-alist-set-1, display-buffer-alist-set-2)
11141 (display-buffer-alist-set): Remove.
11142 (display-buffer-function, special-display-buffer-names)
11143 (special-display-regexps, special-display-function):
11144 In doc-string refer to display-buffer-window and quit-restore
11145 parameter.
11146 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
11147 (special-display-frame-alist, special-display-popup-frame)
11148 (same-window-buffer-names, same-window-regexps, same-window-p)
11149 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
11150 (split-window-preferred-function, split-height-threshold)
11151 (split-width-threshold, window-splittable-p)
11152 (split-window-sensibly, window--try-to-split-window)
11153 (window--frame-usable-p, even-window-heights)
11154 (window--even-window-heights, window--display-buffer-1)
11155 (window--display-buffer-2, display-buffer-other-frame):
11156 Restore old Emacs 23 code, order and doc-strings where applicable.
11157 (display-buffer-default, display-buffer-assq-regexp): New functions.
11158 (display-buffer-alist): Rewrite doc-string.
11159 (display-buffer-default-action)
11160 (display-buffer-overriding-action): New variables.
11161 (display-buffer, switch-to-buffer): Rewrite.
11162 (pop-to-buffer): Restore Emacs 23 behavior but use
11163 window-normalize-buffer-to-display.
11164 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
11165 Restore Emacs 23 behavior but use
11166 window-normalize-buffer-to-switch-to.
11167 (pop-to-buffer-same-window): Rewrite.
11168 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
11169 Rewrite using Emacs 23 options.
11170
11171 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
11172
11173 * net/tramp.el (tramp-root-regexp): Remove.
11174 (tramp-completion-file-name-regexp-unified)
11175 (tramp-completion-file-name-regexp-separate)
11176 (tramp-completion-file-name-regexp-url): Don't use leading volume
11177 letter on w32 systems. (Bug#5303, Bug#9311)
11178 (tramp-drop-volume-letter): Simplify definition.
11179 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
11180
11181 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
11182
11183 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
11184 (bug#9356).
11185
11186 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
11187
11188 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
11189
11190 2011-08-29 Juri Linkov <juri@jurta.org>
11191
11192 * isearch.el (isearch-done): Don't display message "Mark saved"
11193 when arg `edit' is non-nil to prevent its flicker in the echo area.
11194
11195 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
11196
11197 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
11198 obsolete packages for deletion.
11199
11200 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
11201
11202 * help-mode.el (help-mode-map): Add special-mode-map to parent.
11203 (help-mode): Derive help-mode from special-mode. Don't invoke
11204 view-mode from help-mode.
11205 (help-xref-override-view-map): Remove.
11206 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
11207 view-mode is not used anymore.
11208
11209 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
11210
11211 * server.el (server-port): Doc fix.
11212
11213 * cus-theme.el (custom-theme-choose-mode): Inherit from
11214 special-mode (Bug#9124).
11215 (custom-theme-choose-mode-map): Add special-mode to parent.
11216
11217 2011-08-28 Alan Mackenzie <acm@muc.de>
11218
11219 * progmodes/cc-fonts.el
11220 (c-make-font-lock-BO-decl-search-function): New function.
11221 (c-basic-matchers-after - "Fontify the clauses after various
11222 keywords"): Extract the three keyword lists for the 3 erroneous
11223 constructs from the list of four, and use the new function above
11224 in place of an old one.
11225
11226 2011-08-28 Deniz Dogan <deniz@dogan.se>
11227
11228 * net/rcirc.el (rcirc-insert-prev-input)
11229 (rcirc-insert-next-input): Remove unused argument.
11230
11231 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
11232
11233 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
11234
11235 2011-08-27 Alan Mackenzie <acm@muc.de>
11236
11237 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
11238 handle function pointer parameters properly.
11239
11240 2011-08-27 Martin Rudalics <rudalics@gmx.at>
11241
11242 * window.el (display-buffer-reuse-window): Fix case where
11243 selected window was reused with non-nil OTHER-WINDOW argument.
11244 (Bug#9381)
11245
11246 2011-08-27 Deniz Dogan <deniz@dogan.se>
11247
11248 * net/rcirc.el (rcirc-check-auth-status): Adding support for
11249 oftc's NickServ messages.
11250
11251 2011-08-27 Glenn Morris <rgm@gnu.org>
11252
11253 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
11254
11255 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
11256
11257 * emacs-lisp/package.el (package-install): Call package-initialize
11258 if called interactively.
11259
11260 2011-08-26 Leo Liu <sdl.web@gmail.com>
11261
11262 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
11263
11264 2011-08-25 Juri Linkov <juri@jurta.org>
11265
11266 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
11267 `search-whitespace-regexp' (bug#9364).
11268
11269 2011-08-25 Juri Linkov <juri@jurta.org>
11270
11271 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
11272 `regexp-search-ring' to their global values to protect from
11273 updating by `read-from-minibuffer' (bug#9185).
11274
11275 2011-08-25 Juri Linkov <juri@jurta.org>
11276
11277 * textmodes/ispell.el (ispell-command-loop): Add newline
11278 at the end of the "Use option `i'..." line.
11279
11280 2011-08-25 Juri Linkov <juri@jurta.org>
11281
11282 * battery.el (display-battery-mode): If `battery-status-function'
11283 or `battery-mode-line-format' is nil, display the message and set
11284 `display-battery-mode' to nil (bug#9363).
11285
11286 2011-08-25 Eli Zaretskii <eliz@gnu.org>
11287
11288 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
11289 bidi-string-mark-left-to-right; they are unnecessary now.
11290
11291 2011-08-25 Deniz Dogan <deniz@dogan.se>
11292
11293 * net/quickurl.el: Documentation typo fixes.
11294
11295 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
11296
11297 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
11298
11299 2011-08-25 Glenn Morris <rgm@gnu.org>
11300
11301 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
11302
11303 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
11304 (smtpmail-via-smtp): Handle nil response from smtp.
11305
11306 2011-08-24 Juri Linkov <juri@jurta.org>
11307
11308 * proced.el (proced-marked): Inherit from `error' instead of
11309 `font-lock-warning-face'.
11310
11311 * ibuffer.el (ibuffer-marked-face): Change default face from
11312 `font-lock-warning-face' to `warning'.
11313 (ibuffer-deletion-face): Change default face from
11314 `font-lock-type-face' to `error'.
11315
11316 * battery.el (battery-update): Use the face `error' instead of
11317 `font-lock-warning-face' (bug#6117).
11318
11319 2011-08-24 Juri Linkov <juri@jurta.org>
11320
11321 * faces.el (success): Change face color from "Green3" to
11322 "ForestGreen" on light background (bug#9353).
11323
11324 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
11325
11326 * window.el (quit-window): Rename from quit-restore-window.
11327 Use same arglist as old quit-window.
11328 (frame-auto-delete): Doc fix.
11329
11330 * view.el (view-mode-exit): Use quit-window.
11331
11332 2011-08-24 Juri Linkov <juri@jurta.org>
11333
11334 * isearch.el (isearch-ring-adjust1): Start visiting previous
11335 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
11336 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
11337 for empty search string (when the last search string is reused
11338 automatically) to adjust the isearch ring to the last element and
11339 prepare the correct index for further M-p commands (bug#9185).
11340
11341 2011-08-24 Kenichi Handa <handa@m17n.org>
11342
11343 * international/ucs-normalize.el: If decomposition property of
11344 CHAR is the default one (i.e. a list of CHAR itself), treat it as
11345 nil.
11346 (nfd, nfkd): Likewise.
11347
11348 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
11349
11350 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
11351 from process filters aren't reliably transmitted to the surrounding
11352 accept-process-output.
11353 (mpc-proc-check): New function.
11354 (mpc-proc-sync): Use it (bug#8293)
11355
11356 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
11357
11358 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
11359 Add compatibility functions (bug#9313).
11360
11361 2011-08-23 Eli Zaretskii <eliz@gnu.org>
11362
11363 * cus-start.el (all): Add entry for bidi-paragraph-direction.
11364
11365 * international/uni-bidi.el: Regenerate.
11366
11367 2011-08-23 Kenichi Handa <handa@m17n.org>
11368
11369 * international/charprop.el:
11370 * international/uni-bidi.el:
11371 * international/uni-category.el:
11372 * international/uni-combining.el:
11373 * international/uni-comment.el:
11374 * international/uni-decimal.el:
11375 * international/uni-decomposition.el:
11376 * international/uni-digit.el:
11377 * international/uni-lowercase.el:
11378 * international/uni-mirrored.el:
11379 * international/uni-name.el:
11380 * international/uni-numeric.el:
11381 * international/uni-old-name.el:
11382 * international/uni-titlecase.el:
11383 * international/uni-uppercase.el: Regenerate.
11384
11385 2011-08-23 Martin Rudalics <rudalics@gmx.at>
11386
11387 * help.el (help-window-setup): Fix message displayed when other
11388 window is reused. (Bug#9341)
11389
11390 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
11391
11392 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
11393 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
11394
11395 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
11396 Mark obsolete.
11397 * shell.el (shell-parse-pcomplete-arguments): New function.
11398 (shell-completion-vars): Use it instead (bug#9160).
11399
11400 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
11401
11402 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
11403 strings and comments (bug#9333).
11404
11405 * emacs-lisp/debug.el (debug-arglist): New function.
11406 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
11407 (debug-on-entry-1): Handle interpreted closures (bug#9120).
11408
11409 2011-08-22 Juri Linkov <juri@jurta.org>
11410
11411 * progmodes/compile.el (compilation-mode-font-lock-keywords):
11412 Revert regexp that highlights output switches to its old
11413 pre-2010-10-28 value and remove one `?' from it (bug#9319).
11414
11415 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
11416 to check for empty output (bug#9226).
11417
11418 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
11419
11420 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
11421 symbol-constituent as the default, as that stops font-lock from
11422 working properly (Bug#8843).
11423
11424 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
11425
11426 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
11427 `coding-system-for-*' around the process open call to avoid
11428 auth-source side effects.
11429 (smtpmail-try-auth-methods): Expand the secret password.
11430 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
11431 probe hangs.
11432
11433 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
11434
11435 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
11436
11437 * emacs-lisp/find-func.el (find-function-noselect): New arg
11438 lisp-only.
11439
11440 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
11441 signal an error for built-in functions (Bug#6664).
11442
11443 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
11444
11445 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
11446 (smtpmail-try-auth-methods): Use it.
11447
11448 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
11449
11450 * font-lock.el (font-lock-fontify-region)
11451 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
11452 (font-lock-default-unfontify-buffer)
11453 (font-lock-default-fontify-region)
11454 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
11455
11456 * progmodes/compile.el (compilation-error-properties):
11457 Fix confusion between file struct and message struct (Bug#9319).
11458 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
11459 `ant' regexp.
11460
11461 * net/browse-url.el (browse-url-firefox): Don't call
11462 browse-url-firefox-sentinel unless using -remote (Bug#9328).
11463
11464 2011-08-20 Glenn Morris <rgm@gnu.org>
11465
11466 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
11467
11468 * tutorial.el (tutorial--default-keys): Update some default bindings.
11469
11470 * files.el (hack-local-variables): Fully ignore case for "mode:".
11471
11472 2011-08-20 Alan Mackenzie <acm@muc.de>
11473
11474 Resolve invalid use of a regexp in regexp-opt.
11475
11476 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
11477 detection for a java annotation.
11478
11479 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
11480 detection for a java annotation.
11481
11482 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
11483 handling for java.
11484 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
11485
11486 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
11487
11488 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
11489 (Bug#9274).
11490
11491 2011-08-20 Alan Mackenzie <acm@muc.de>
11492
11493 Fontify CPP expressions correctly when starting in the middle of
11494 such a construct. Mainly for when jit-lock etc. starts a chunk
11495 here.
11496
11497 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
11498 variable.
11499 (c-make-font-lock-search-form): New function, extracted from
11500 c-make-font-lock-search-function.
11501 (c-make-font-lock-search-function): Use the above function.
11502 (c-make-font-lock-context-search-function): New function.
11503 (c-cpp-matchers): Enhance the preprocessor expression case with
11504 the above function
11505 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
11506 which takes an expression.
11507
11508 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
11509
11510 2011-08-20 Martin Rudalics <rudalics@gmx.at>
11511
11512 * window.el (display-buffer-reuse-window)
11513 (display-buffer-pop-up-window): Don't reuse or split a side
11514 window.
11515
11516 2011-08-19 Glenn Morris <rgm@gnu.org>
11517
11518 * files.el (hack-local-variables-prop-line, hack-local-variables):
11519 Downcase "Mode:". (Bug#9331)
11520
11521 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
11522
11523 * international/characters.el: Add L and R categories.
11524
11525 * subr.el (bidi-string-mark-left-to-right): Rename from
11526 string-mark-left-to-right. Use category search.
11527
11528 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
11529
11530 2011-08-18 Juri Linkov <juri@jurta.org>
11531
11532 * faces.el (error, warning, success): New faces with definitions
11533 copied from old default values of `font-lock-warning-face',
11534 `compilation-warning', `compilation-info' (bug#6117).
11535
11536 * font-lock.el (font-lock-warning-face): Inherit from `error'.
11537
11538 * progmodes/compile.el (compilation-error): Inherit from `error'.
11539 (compilation-warning): Inherit from `warning'.
11540 (compilation-info): Inherit from `success'.
11541
11542 * dired.el (dired-marked): Inherit from `warning'.
11543 (dired-flagged): Inherit from `error'.
11544
11545 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
11546
11547 * mail/smtpmail.el (auth-source): Require to avoid problems with
11548 binding variables (bug#9298). Also clean up some unused
11549 autoloads.
11550
11551 * net/network-stream.el (network-stream-open-starttls):
11552 Support using starttls.el without using gnutls-cli.
11553
11554 2011-08-17 Juri Linkov <juri@jurta.org>
11555
11556 * progmodes/grep.el (rgrep): Handle the case when
11557 `grep-find-command' is a cons cell (bug#9278).
11558
11559 2011-08-17 Martin Rudalics <rudalics@gmx.at>
11560
11561 * window.el (display-buffer-pop-up-frame): Run frame creation
11562 function with BUFFER current (as special-display-popup-frame
11563 does). Reported by Drew Adams.
11564
11565 2011-08-17 Daiki Ueno <ueno@unixuser.org>
11566
11567 * epa-mail.el: Simplify GnuPG group expansion using
11568 epg-expand-group.
11569 (epa-mail-group-alist, epa-mail-group-modtime)
11570 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
11571 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
11572 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
11573 Remove.
11574
11575 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
11576
11577 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
11578
11579 2011-08-16 Alan Mackenzie <acm@muc.de>
11580
11581 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
11582 Correct, to avoid the inside of macros.
11583
11584 2011-08-16 Richard Stallman <rms@gnu.org>
11585
11586 * epa-mail.el: Handle GnuPG group definitions.
11587 (epa-mail-group-alist, epa-mail-group-modtime)
11588 (epa-mail-gnupg-conf-file): New variables.
11589 (epa-mail-parse-groups, epa-mail-sync-groups)
11590 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
11591 (epa-mail-expand-recipients): New functions.
11592 (epa-mail-encrypt): Call epa-mail-expand-recipients.
11593
11594 * mail/rmail.el (rmail-epa-decrypt): New command.
11595
11596 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
11597 Don't bind buffer-read-only, just inhibit-read-only.
11598 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
11599 (epa-decrypt-armor-in-region): Make error message clearer.
11600
11601 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
11602
11603 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
11604 and "a2b" to "ab" for `prefix'.
11605
11606 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
11607
11608 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
11609 filter groups.
11610 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
11611 Fourquet (Bug#8804).
11612
11613 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
11614
11615 * startup.el (argi): Declare as global variable (bug#9275).
11616
11617 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
11618
11619 * subr.el (string-mark-left-to-right): Search the entire string
11620 for RTL script, not just the terminating character. Doc fix.
11621
11622 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
11623
11624 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
11625 New function.
11626 (js--regexp-literal, js-syntax-propertize-function): Remove.
11627 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
11628 (js-mode-map): Don't rebind electric keys.
11629 (js-insert-and-indent): Remove.
11630 (js-mode): Setup electric-layout and electric-indent instead.
11631
11632 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
11633
11634 2011-08-12 Daiki Ueno <ueno@unixuser.org>
11635
11636 * epa.el (epa-progress-callback-function): Fix the logic of
11637 displaying progress.
11638 * epa-file.el (epa-file-insert-file-contents): Make progress
11639 display more user-friendly.
11640 (epa-file-write-region): Ditto.
11641
11642 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
11643
11644 * subr.el (string-mark-left-to-right): New function.
11645
11646 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
11647 Use string-mark-left-to-right.
11648 (list-buffers-noselect): Caller changed.
11649
11650 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
11651 Use string-mark-left-to-right.
11652 (tabulated-list-print): Recenter after moving point.
11653
11654 2011-08-10 Juri Linkov <juri@jurta.org>
11655
11656 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
11657 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
11658 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
11659
11660 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
11661
11662 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
11663 (Bug#7554).
11664
11665 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
11666
11667 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
11668 character. (Bug#6594)
11669
11670 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
11671
11672 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
11673 (image-dired--with-db-file): New macro.
11674 (image-dired-write-tags, image-dired-remove-tag)
11675 (image-dired-create-gallery-lists, image-dired-write-comments)
11676 (image-dired-get-comment, image-dired-mark-tagged-files)
11677 (image-dired-list-tags, image-dired-gallery-generate): Use it.
11678 (image-dired-gallery-generate): Use insert-file-contents.
11679
11680 * time.el (display-time-world-list, display-time-world-display):
11681 * time-stamp.el (time-stamp-string):
11682 * vc/add-log.el (add-change-log-entry): Use setenv instead of
11683 set-time-zone-rule (Bug#7337).
11684
11685 2011-08-08 Daiki Ueno <ueno@unixuser.org>
11686
11687 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
11688 (epg-error-to-string, epg-errors-to-string): New function.
11689 (epg-wait-for-completion): Reverse errors list.
11690 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
11691 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
11692 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
11693 (epg-sign-keys, epg-generate-key-from-file)
11694 (epg-generate-key-from-string): Format errors by using
11695 epg-errors-to-string (bug#9255).
11696 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
11697
11698 2011-08-07 Juri Linkov <juri@jurta.org>
11699
11700 * faces.el (list-faces-display): Remove extra angle bracket
11701 from `help-mode-map'.
11702
11703 * info.el (Info-history-toc-nodes): Doc fix.
11704
11705 * longlines.el (longlines-mode): Doc fix.
11706
11707 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
11708
11709 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
11710 of statements and in a few more cases (bug#9183).
11711
11712 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
11713 New functions.
11714 (cl-transform-lambda): Use them (bug#9239).
11715
11716 2011-08-05 Martin Rudalics <rudalics@gmx.at>
11717
11718 * window.el (display-buffer-same-window)
11719 (display-buffer-same-frame, display-buffer-other-window)
11720 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
11721 (pop-to-buffer-other-window)
11722 (pop-to-buffer-same-frame-other-window)
11723 (pop-to-buffer-other-frame): Make them defuns.
11724 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
11725
11726 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
11727
11728 * subr.el (make-composed-keymap): Move from C. Change calling
11729 convention, and improve docstring to bring attention to a subtle point.
11730 * minibuffer.el (completing-read-default): Adjust accordingly.
11731
11732 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
11733
11734 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
11735 (tramp-open-shell): Use `tramp-shell-quote-argument'.
11736
11737 * net/trampver.el: Update release number.
11738
11739 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
11740
11741 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
11742 "in" (bug#9190).
11743
11744 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
11745
11746 * mail/sendmail.el (sendmail-query-once): Restore the current
11747 buffer after querying (bug#9074).
11748
11749 * dired.el (dired-flagged): Use different faces for marked and
11750 flagged files (bug#6117).
11751
11752 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
11753 (bug#4433).
11754
11755 * ido.el (ido-mode): Switch off the message if called
11756 non-interactively.
11757
11758 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
11759 before 587, since it appears that that's more likely to work for
11760 more people.
11761
11762 * cus-edit.el (custom-file): When running under emacs -q, always
11763 refuse to save the customizations, even if the .emacs file doesn't
11764 exist.
11765
11766 * info.el: Remove the `Info-beginning-of-buffer' function
11767 (bug#8325).
11768
11769 * net/network-stream.el (network-stream-open-starttls):
11770 Use `starttls-available-p' to see whether starttls.el can be used.
11771
11772 2011-08-01 Martin Rudalics <rudalics@gmx.at>
11773
11774 * window.el (display-buffer-in-window): Don't set dedicated status
11775 of window here (Bug#9215).
11776 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
11777 (display-buffer-pop-up-side-window)
11778 (display-buffer-in-side-window): Set dedicated status of window here.
11779
11780 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
11781
11782 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
11783 before binding generated-autoload-file.
11784
11785 2011-08-01 Deniz Dogan <deniz@dogan.se>
11786
11787 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
11788
11789 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
11790
11791 Sync with Tramp 2.2.2.
11792
11793 * net/trampver.el: Update release number.
11794
11795 2011-07-30 Juri Linkov <juri@jurta.org>
11796
11797 * dired-aux.el (dired-touch-initial): Remove function.
11798 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
11799 current time, and `default' to the last modification time of the
11800 current marked file (bug#6887).
11801
11802 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
11803
11804 * simple.el (goto-line): Use string-to-number to provide a
11805 numeric argument to read-number (bug#9163).
11806
11807 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
11808
11809 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
11810 connection process, it could be nil.
11811
11812 2011-07-27 Leo Liu <sdl.web@gmail.com>
11813
11814 Simplify url handling in rcirc-mode.
11815
11816 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
11817 (rcirc-browse-url-at-mouse): Remove.
11818 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
11819
11820 2011-07-26 Alan Mackenzie <acm@muc.de>
11821
11822 Fontify bitfield declarations properly.
11823
11824 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
11825 (c-symbol-chars): Now exported as a lang variable.
11826 (c-not-primitive-type-keywords): New lang variable.
11827
11828 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
11829 QT keyword "more" to prevent "more slots: ...." being spuriously
11830 parsed as a bitfield declaration.
11831
11832 * progmodes/cc-engine.el (c-beginning-of-statement-1):
11833 Refactor and enhance to handle bitfield declarations.
11834 (c-punctuation-in): New function.
11835 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
11836 declarations properly.
11837
11838 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
11839
11840 * calendar/icalendar.el (icalendar--all-events): Take care of
11841 multiple vcalendars in a single file.
11842 (icalendar--convert-float-to-ical): Checkdoc fixes.
11843
11844 2011-07-25 Deniz Dogan <deniz@dogan.se>
11845
11846 * image.el (insert-image): Clarifying docstring.
11847
11848 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
11849
11850 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
11851 `tramp-send-command-and-check' if there is no error.
11852 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
11853
11854 2011-07-22 Alan Mackenzie <acm@muc.de>
11855
11856 Prevent cc-langs.elc being loaded at run time.
11857
11858 * progmodes/cc-mode.el: Remove two autoload forms which loaded
11859 cc-langs.
11860
11861 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
11862 "(require 'cc-langs)". Quote a form so it will evaluate at
11863 (cc-mode's) compilation time.
11864
11865 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
11866
11867 * net/tramp.el (tramp-file-name-handler): Avoid recursive
11868 loading. (Bug#9114)
11869
11870 2011-07-21 Martin Rudalics <rudalics@gmx.at>
11871
11872 * window.el (display-buffer-pop-up-window)
11873 (display-buffer-pop-up-side-window)
11874 (display-buffer-in-side-window): Call display-buffer-set-height
11875 and display-buffer-set-width after setting the new window's
11876 buffer so `fit-window-to-buffer' and friends work on the right buffer.
11877
11878 2011-07-20 Sam Steingold <sds@gnu.org>
11879
11880 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
11881 (etags-tags-included-tables): Call `convert-standard-filename' on
11882 the file names contained in TAGS so that windows Emacs can handle
11883 TAGS files created by cygwin ctags.
11884
11885 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
11886
11887 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
11888 which apparently didn't work.
11889
11890 2011-07-19 Roland Winkler <winkler@gnu.org>
11891
11892 * proced.el (proced-send-signal): For *Marked Processes* buffer
11893 put point at beginning of buffer.
11894
11895 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
11896
11897 * proced.el (proced-format): Make header lines align with the text
11898 (bug#1779).
11899
11900 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
11901
11902 * view.el (view-buffer): Allow running in `special' modes if we're
11903 visiting a file (bug#8615).
11904
11905 2011-07-19 Martin Rudalics <rudalics@gmx.at>
11906
11907 * window.el (display-buffer-alist-of-strings-p)
11908 (display-buffer-alist-set-1, display-buffer-alist-set-2):
11909 New functions.
11910 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
11911 more accurately.
11912
11913 2011-07-18 Alan Mackenzie <acm@muc.de>
11914
11915 Fontify declarators properly when, e.g., a jit-lock chunk begins
11916 inside a declaration.
11917
11918 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
11919
11920 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
11921 New function.
11922 (c-complex-decl-matchers): Insert reference to
11923 c-font-lock-enclosing-decls.
11924
11925 * progmodes/cc-engine.el (c-backward-single-comment):
11926 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
11927 to nil around calls to (forward-comment -1).
11928
11929 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
11930
11931 * image.el (put-image): Doc typo fix.
11932
11933 * progmodes/etags.el (tags-search): Doc typo fix.
11934
11935 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
11936 password if we get errors 550 to 554.
11937
11938 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
11939
11940 * net/gnutls.el (gnutls-log-level): Remove.
11941
11942 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
11943 indentation character (bug#6380).
11944
11945 * files.el (buffer-offer-save): Made permanently local (bug#6241).
11946
11947 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
11948 to clarify what the problem is (bug#4291).
11949
11950 * simple.el (current-kill): Clarify what
11951 `interprogram-paste-function' does (bug#7500).
11952 (auto-fill-mode): Document `auto-fill-function' in relation to
11953 `auto-fill-mode' (bug#2470).
11954
11955 2011-07-16 Lawrence Mitchell <wence@gmx.li>
11956
11957 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
11958 method if slot is read-only (bug#9035).
11959
11960 2011-07-16 Martin Rudalics <rudalics@gmx.at>
11961
11962 * frame.el (select-frame-set-input-focus): New argument NORECORD.
11963 * window.el (pop-to-buffer): Select window used even if it was
11964 selected before, see discussion of (Bug#8615), (Bug#6954).
11965 Pass argument NORECORD on to select-frame-set-input-focus.
11966
11967 2011-07-15 Glenn Morris <rgm@gnu.org>
11968
11969 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
11970 Respect help-form.
11971
11972 2011-07-09 Lawrence Mitchell <wence@gmx.li>
11973
11974 * net/gnutls.el (gnutls-min-prime-bits): New variable.
11975 (gnutls-negotiate): Use it.
11976
11977 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
11978
11979 * net/gnutls.el (gnutls-negotiate):
11980 Upcase `gnutls-algorithm-priority'.
11981
11982 2011-07-15 Glenn Morris <rgm@gnu.org>
11983
11984 * jka-compr.el (jka-compr-verbose): Move from here...
11985 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
11986 Add missing :version tag.
11987 * info.el: No need to require jka-compr when compiling.
11988
11989 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
11990
11991 * net/gnutls.el (gnutls-algorithm-priority): New variable.
11992 (gnutls-negotiate): Use it.
11993
11994 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
11995
11996 * info.el (Info-beginning-of-buffer): New command.
11997 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
11998 announcing `b' as the key (bug#8325).
11999 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
12000
12001 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
12002
12003 * international/mule-cmds.el
12004 (describe-specified-language-support): Make the error message
12005 clearer (bug#8905).
12006
12007 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
12008
12009 * isearch.el (isearch-barrier): Add a doc string, since it's
12010 mentioned in a function doc string (bug#8678).
12011
12012 2011-07-15 Martin Rudalics <rudalics@gmx.at>
12013
12014 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
12015 buffer argument (Bug#9083) and self-identifying label argument.
12016
12017 2011-07-15 Glenn Morris <rgm@gnu.org>
12018
12019 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
12020
12021 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
12022
12023 * man.el (Man-fontify-manpage): Fix message when formatting the
12024 man page (bug#7929).
12025
12026 2011-07-14 Eli Zaretskii <eliz@gnu.org>
12027
12028 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
12029 argument LRM; if non-nil, append an invisible LRM character to the
12030 buffer name.
12031 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
12032 last argument non-nil, when formatting buffer names.
12033 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
12034 paragraph direction.
12035
12036 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
12037
12038 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
12039 the man page name (bug#7929).
12040
12041 * image.el (put-image): Mention the `put-image' overlay property
12042 (bug#7834).
12043
12044 * scroll-bar.el (set-scroll-bar-mode): Mention that
12045 `scroll-bar-mode' lists the values (bug#7772).
12046
12047 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
12048 command (bug#7729).
12049
12050 * rect.el (apply-on-rectangle): Return the point after the last
12051 operation.
12052 (string-rectangle): Go to the point after the last operation
12053 (bug#7522).
12054
12055 * printing.el (pr-toggle-region): Clarify the documentation
12056 slightly (bug#7493).
12057
12058 * time.el (display-time-update):
12059 Allow `display-time-mail-function' to return nil (bug#7158).
12060 Fix suggested by Detlev Zundel.
12061
12062 * vc/diff.el (diff): Clarify the order the file names are read
12063 (bug#7111).
12064
12065 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
12066 the doc string (bug#7015).
12067
12068 * font-lock.el (font-lock-maximum-decoration): Mention what
12069 numeric levels mean (bug#6935).
12070
12071 * startup.el (initial-buffer-choice): Don't mention the `none'
12072 selection, which is against policy.
12073
12074 2011-07-14 Martin Rudalics <rudalics@gmx.at>
12075
12076 * window.el (display-buffer-normalize-special):
12077 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
12078
12079 2011-07-14 Eli Zaretskii <eliz@gnu.org>
12080
12081 * subr.el (version<, version<=, version=): Mention "-CVS" and
12082 "-12345" alpha version numbers.
12083
12084 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
12085
12086 * bindings.el: Add advertised binding for set-mark-command
12087 (Bug#5772).
12088
12089 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
12090
12091 * bindings.el (mode-line-other-buffer):
12092 * bookmark.el (bookmark-bmenu-2-window):
12093 * bs.el (bs-cycle-next, bs-cycle-previous):
12094 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
12095 switch-to-buffer.
12096
12097 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
12098 Delete.
12099
12100 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
12101
12102 * follow.el (follow-debug-message, follow-redisplay):
12103 * jka-cmpr-hook.el (with-auto-compression-mode):
12104 Fix typos in docstrings.
12105
12106 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
12107
12108 * subr.el (with-silent-modifications): Clarify somewhat what the
12109 macro inhibits (bug#6525).
12110
12111 * simple.el (eval-expression): Note what it does if called
12112 interactively (bug#6495).
12113
12114 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
12115
12116 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
12117 Use pop-to-buffer buffer-or-name if it is nil.
12118
12119 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
12120 Remove switch-to-buffer.
12121
12122 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
12123
12124 * files.el (make-directory): Clarify that an error will be raised
12125 if there's an error (bug#6397).
12126
12127 * startup.el (initial-buffer-choice): Add `none' as a choice
12128 (bug#6234).
12129
12130 * subr.el (add-hook): Clarify section about buffer-local hooks
12131 (bug#6218).
12132
12133 * dired.el (dired-flagged): Clarify doc string (bug#6117).
12134
12135 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
12136
12137 * tabify.el (untabify): Preserve the current column so that point
12138 doesn't move (bug#6032).
12139
12140 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
12141
12142 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
12143 Rewrite to avoid awkward possessive "s" (bug#5986).
12144
12145 2011-07-13 Glenn Morris <rgm@gnu.org>
12146
12147 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
12148 (dired-insert-directory): Give a message the first time
12149 if ls is found not to support --dired.
12150
12151 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
12152
12153 * simple.el (toggle-truncate-lines): Clarify what is toggled
12154 (bug#5580). Text by Drew Adams.
12155
12156 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
12157
12158 * simple.el (blink-matching-open): Make the error message from the
12159 last change less verbose.
12160
12161 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
12162
12163 * font-lock.el (font-lock-comment-face): Use the high contrast
12164 "yellow" color for font-lock-comment-face on low color terminals
12165 using a dark background color (bug#4221).
12166
12167 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
12168
12169 * dired.el (dired-insert-set-properties): Make the doc string
12170 reflect what it does now (bug#5325).
12171
12172 * simple.el (blink-matching-open): Say that we were unable to find
12173 the match within the limit, if we're limited (bug#5122).
12174
12175 * international/mule-cmds.el (prefer-coding-system): Add an
12176 example (bug#4869).
12177
12178 * progmodes/etags.el (tags-search): Document `file-list-form'
12179 (bug#4731).
12180
12181 2011-07-13 Lawrence Mitchell <wence@gmx.li>
12182
12183 * net/browse-url.el (browse-url-default-browser)
12184 (browse-url-browser-function): Make the default browser choice a
12185 bit more logical (bug#4300). Also clean up the doc string.
12186
12187 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
12188
12189 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
12190 binary endings (bug#4440).
12191
12192 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
12193
12194 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
12195 which can be pretty annoying (bug#8971).
12196
12197 * jka-compr.el (jka-compr-verbose): New variable, and use
12198 throughout (bug#8971).
12199
12200 * info.el (Info-find-file): Fall back on the installation
12201 directory if we can't find the info node anywhere else.
12202
12203 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
12204
12205 * vc/vc.el (vc-revert-file):
12206 Don't set file time-stamp in the past. (Bug#5181)
12207
12208 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
12209
12210 * files.el (after-find-file): Give a better error message when
12211 trying to find a symlink that points to a file that doesn't exist
12212 (bug#4398).
12213
12214 * progmodes/cc-vars.el: Remove (probably) misleading comment
12215 (bug#4396).
12216
12217 2011-07-12 Johan Bockgård <bojohan@gnu.org>
12218
12219 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
12220
12221 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
12222
12223 * mouse-sel.el: Hack restoring functionality, while keeping
12224 compatibility with 2010-07-03 changes to mouse selection.
12225 (mouse-sel-primary-overlay): New var.
12226 (mouse-sel-selection-alist): Use it.
12227 (mouse-sel-mode): Doc fix; remove points that are default features
12228 of mouse.el.
12229
12230 2011-07-12 Johan Bockgård <bojohan@gnu.org>
12231
12232 * progmodes/compile.el (compilation-error-regexp-alist-alist):
12233 Fix previous fix (bug#2490).
12234
12235 2011-07-12 Roland Winkler <winkler@gnu.org>
12236
12237 * textmodes/bibtex.el (bibtex-initialize):
12238 Use pop-to-buffer-same-window.
12239 (bibtex-search-entries): Fix interactive call.
12240
12241 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
12242
12243 * progmodes/compile.el (compilation-error-regexp-alist-alist):
12244 Fontise bytecomp Error lines more correctly (bug#2490).
12245 Fix suggested by Johan Bockgård.
12246
12247 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
12248
12249 * dired-x.el (dired-guess-default): Use `delete-dups'.
12250
12251 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
12252
12253 * dired.el (dired-mark-prompt):
12254 * dired-aux.el (dired-read-shell-command): Doc fix.
12255
12256 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
12257
12258 * mail/sendmail.el (sendmail-query-once):
12259 Use `customize-save-variable' unconditionally, now that it works under
12260 emacs -Q.
12261
12262 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
12263
12264 * cus-edit.el (custom-file): Take an optional no-error variable.
12265 (customize-save-variable): Set the variable, and give a warning if
12266 running under "emacs -q".
12267
12268 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
12269
12270 * loadhist.el (unload-feature-special-hooks):
12271 Add `auto-coding-functions', `fill-nobreak-predicate' and
12272 `find-directory-functions' (bug#5327).
12273
12274 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
12275
12276 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
12277
12278 * cus-edit.el (custom-guess-name-alist): -alist variables should
12279 use the `alist' type (bug#3120). Suggested by Drew Adams.
12280
12281 * printing.el: Add documentation to all the `pr-toggle-' commands.
12282
12283 2011-07-11 Leo Liu <sdl.web@gmail.com>
12284
12285 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
12286 backends where it makes sense (bug#2623).
12287
12288 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
12289
12290 * dired-x.el (dired-guess-default): Remove duplicate shell command
12291 entries (bug#2028).
12292 (dired-guess-default): Fix grammar in doc string (bug#2028).
12293 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
12294
12295 * subr.el (remove-duplicates): New conveniency function.
12296
12297 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
12298
12299 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
12300 (bug#1526).
12301
12302 2011-07-10 Martin Rudalics <rudalics@gmx.at>
12303
12304 * window.el (display-buffer-normalize-default): Don't invert
12305 meaning of even-window-heights. Reported by Eli Zaretskii
12306 <eliz@gnu.org>.
12307
12308 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
12309
12310 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
12311
12312 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
12313
12314 * window.el (display-buffer): Fix arguments to
12315 display-buffer-reuse-window in last change.
12316
12317 * faces.el (link): Use a less saturated blue on light backgrounds.
12318
12319 * startup.el (fancy-startup-text, fancy-about-text)
12320 (fancy-startup-tail): Use font-lock faces, for background safety.
12321
12322 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
12323
12324 * emulation/viper-cmd.el (viper-change-state-to-vi):
12325 Limit triggering of abbrev expansion (Bug#9038).
12326
12327 2011-07-09 Martin Rudalics <rudalics@gmx.at>
12328
12329 * window.el (display-buffer-default-specifiers): Remove.
12330 (display-buffer-macro-specifiers): Remove default specifiers.
12331 (display-buffer-alist): Default to nil.
12332 (display-buffer-reuse-window): New optional argument other-window.
12333 (display-buffer-pop-up-window): Allow splitting internal
12334 windows. Check whether a live window was created.
12335 (display-buffer-other-window-means-other-frame)
12336 (display-buffer-normalize-arguments): Rename to
12337 display-buffer-normalize-argument and rewrite. Set the
12338 other-window specifier.
12339 (display-buffer-normalize-special): New function.
12340 (display-buffer-normalize-options): Rename to
12341 display-buffer-normalize-default and rewrite.
12342 (display-buffer-normalize-options-inhibit): Remove.
12343 (display-buffer-normalize-specifiers): Rewrite.
12344 (display-buffer): Process other-window specifier and call
12345 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
12346 more faithfully.
12347 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
12348 (display-buffer-alist-set): Don't handle 'unset default values.
12349 (display-buffer-in-window, display-buffer-alist-set):
12350 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
12351 <tassilo@member.fsf.org>.
12352
12353 2011-07-09 Leo Liu <sdl.web@gmail.com>
12354
12355 * register.el (insert-register): Restore accidental change on
12356 2011-06-26. (Bug#9028)
12357
12358 2011-07-09 Glenn Morris <rgm@gnu.org>
12359
12360 * subr.el (remq): Handle the empty list. (Bug#9024)
12361
12362 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
12363
12364 * mail/sendmail.el (send-mail-function): No longer delay custom
12365 initialization.
12366 * custom.el (custom-initialize-delay): Doc fix.
12367
12368 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
12369
12370 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
12371
12372 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
12373
12374 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
12375 human-friendly prompt.
12376
12377 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
12378
12379 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
12380 provided by a particular plugin.
12381
12382 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
12383
12384 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
12385 save customizations (with "emacs -Q"), just set the variable
12386 instead of erroring out.
12387
12388 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
12389
12390 2011-07-08 Juri Linkov <juri@jurta.org>
12391
12392 * arc-mode.el (archive-zip-expunge, archive-zip-update)
12393 (archive-zip-update-case): Use 7z if found by `executable-find'.
12394 The order of searching the available programs is the same as in
12395 `archive-zip-extract' (bug#8968).
12396
12397 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
12398
12399 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
12400 (menu-bar-options-menu): Tweak descriptions.
12401
12402 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
12403
12404 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
12405 menu items into verb phrases (bug#1421). Also refill to fit under
12406 80 columns.
12407
12408 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
12409
12410 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
12411 (Info-read-node-name): Doc fix (Bug#1084).
12412
12413 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
12414 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
12415 (end-of-sexp, beginning-of-sexp)
12416 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
12417 (forward-symbol, forward-same-syntax, word-at-point)
12418 (sentence-at-point): Doc fix (Bug#1144).
12419
12420 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
12421
12422 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
12423 should cover it (bug#1281).
12424
12425 * cus-edit.el (custom-show): Mark as obsolete.
12426
12427 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12428 negotiation fails, then possibly try again with a non-encrypted
12429 connection (bug#9017).
12430
12431 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
12432 be used.
12433
12434 2011-07-07 Richard Stallman <rms@gnu.org>
12435
12436 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
12437 property, and handle its changed format.
12438 Look for the correct line number.
12439 Use file's line contents (but not past first =) to find
12440 correct line in message.
12441
12442 2011-07-07 Kenichi Handa <handa@m17n.org>
12443
12444 * international/characters.el (build-unicode-category-table):
12445 Delete it.
12446 (unicode-category-table): Set it by unicode-property-table-internal.
12447
12448 * international/mule-cmds.el (char-code-property-alist): Move to
12449 to src/chartab.c.
12450 (get-char-code-property): Call unicode-property-table-internal to
12451 load a file. Call get-unicode-property-internal where necessary.
12452 (put-char-code-property): Call unicode-property-table-internal to
12453 load a file. Call put-unicode-property-internal where necessary.
12454 put-unicode-property-internal where necessary.
12455 (char-code-property-description):
12456 Call unicode-property-table-internal to load a file.
12457
12458 * international/charprop.el:
12459 * international/uni-bidi.el:
12460 * international/uni-category.el:
12461 * international/uni-combining.el:
12462 * international/uni-comment.el:
12463 * international/uni-decimal.el:
12464 * international/uni-decomposition.el:
12465 * international/uni-digit.el:
12466 * international/uni-lowercase.el:
12467 * international/uni-mirrored.el:
12468 * international/uni-name.el:
12469 * international/uni-numeric.el:
12470 * international/uni-old-name.el:
12471 * international/uni-titlecase.el:
12472 * international/uni-uppercase.el: Regenerate.
12473
12474 * loadup.el: Load international/charprop.el before
12475 international/characters.
12476
12477 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
12478
12479 * window.el (next-buffer, previous-buffer): Signal an error if
12480 called from a minibuffer window.
12481
12482 * bindings.el: Revert 2011-07-04 change.
12483
12484 2011-07-06 Richard Stallman <rms@gnu.org>
12485
12486 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
12487 (rmail-mime-insert-bulk, rmail-mime-insert-text):
12488 Treat markers like ints.
12489 (rmail-mime-entity): Doc fix.
12490
12491 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
12492
12493 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
12494 defcustom again for backwards compatibility.
12495
12496 * simple.el (shell-command-on-region): Fill.
12497
12498 * dired-aux.el (dired-kill-line): Add a doc string.
12499
12500 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
12501 to "\\sw\\|\\s_" (bug#358).
12502
12503 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
12504 (dired-unmark-backward): Ditto.
12505 (dired-flag-backup-files): Ditto.
12506
12507 * dired-x.el (dired-mark-sexp): Ditto.
12508
12509 2011-07-06 Richard Stallman <rms@gnu.org>
12510
12511 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
12512 (rmail-mime-entity): New arg TRUNCATED.
12513 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
12514 New functions.
12515 (rmail-mime-save): Warn if entity is truncated.
12516 (rmail-mime-toggle-hidden): Likewise, for showing.
12517 (rmail-mime-process-multipart): Record when an entity is truncated.
12518
12519 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
12520 if ENTITY is a string.
12521
12522 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
12523
12524 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
12525 of faces when `M-C-x'-ing their definitions (bug#8378).
12526 Also clean up the code slightly.
12527
12528 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
12529 because that makes the colors go away.
12530
12531 * mail/sendmail.el (send-mail-function): Change the default to
12532 `sendmail-query-once'.
12533 (sendmail-query-once): Add an autoload cookie.
12534
12535 * net/network-stream.el (network-stream-open-starttls): Try using
12536 a plain connection even if the server offered STARTTLS, and we
12537 kinda wanted to use it, if Emacs doesn't have any STARTTLS
12538 capability. This should make smtpmail.el work in slightly more
12539 configurations.
12540
12541 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
12542
12543 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
12544 New defun.
12545 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
12546
12547 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
12548
12549 * progmodes/sql.el: Version 3.0
12550 (sql-product-alist): Add product :completion-object,
12551 :completion-column, and :statement attributes.
12552 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
12553 (sql-mode-syntax-table): Mark all punctuation.
12554 (sql-font-lock-keywords-builder): Temporarily remove fallback on
12555 ansi keywords.
12556 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
12557 (sql-mode-oracle-font-lock-keywords): Improve.
12558 (sql-oracle-show-reserved-words): New function for development.
12559 (sql-product-font-lock): Simplify for source code buffers.
12560 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
12561 New functions.
12562 (sql-highlight-product): Set product specific syntax table.
12563 (sql-mode-map): Add statement movement functions.
12564 (sql-ansi-statement-starters, sql-oracle-statement-starters):
12565 New variable.
12566 (sql-statement-regexp, sql-beginning-of-statement)
12567 (sql-end-of-statement, sql-signum): New functions.
12568 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
12569 (sql-show-sqli-buffer): Bug fix.
12570 (sql-interactive-mode): Store connection data as buffer local.
12571 (sql-connect): Add NEW-NAME parameter. Redesign interaction
12572 with sql-interactive-mode.
12573 (sql-save-connection): Save buffer local settings.
12574 (sql-connection-menu-filter): Change menu entry name.
12575 (sql-product-interactive): Bug fix.
12576 (sql-preoutput-hold): New variable.
12577 (sql-interactive-remove-continuation-prompt): Bug fixes.
12578 (sql-debug-redirect): New variable.
12579 (sql-str-literal): New function.
12580 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
12581 Redesign.
12582 (sql-oracle-save-settings, sql-oracle-restore-settings)
12583 (sql-oracle-list-all, sql-oracle-list-table): New functions.
12584 (sql-completion-object, sql-completion-column)
12585 (sql-completion-sqlbuf): New variables.
12586 (sql-build-completions-1, sql-build-completions)
12587 (sql-try-completion): New functions.
12588 (sql-read-table-name): Use them.
12589 (sql-contains-names): New buffer local variable.
12590 (sql-list-all, sql-list-table): Use it.
12591 (sql-oracle-completion-types): New variable.
12592 (sql-oracle-completion-object, sql-sqlite-completion-object)
12593 (sql-postgres-completion-object): New functions.
12594
12595 2011-07-06 Glenn Morris <rgm@gnu.org>
12596
12597 * window.el (pop-to-buffer): Doc fix.
12598
12599 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
12600
12601 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
12602
12603 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
12604
12605 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
12606
12607 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
12608
12609 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
12610
12611 * button.el (button): Inherit from link face. Suggested by Dan
12612 Nicolaescu.
12613
12614 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
12615
12616 * progmodes/gdb-mi.el: Fit in 80 columns.
12617 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
12618 switch-to-buffer.
12619
12620 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
12621 if imenu is simply not configured (bug#8941).
12622
12623 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
12624
12625 * allout.el (allout-post-undo-hook): New allout outline-change
12626 event hook to signal undo activity.
12627 (allout-post-command-business): Run allout-post-undo-hook if an
12628 undo just occurred.
12629 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
12630 * allout-widgets.el (allout-widgets-after-undo-function):
12631 Ensure the integrity of the current item's decoration after it has been
12632 in the vicinity of an undo.
12633 (allout-widgets-mode): Include allout-widgets-after-undo-function
12634 on the new allout-post-undo-hook.
12635
12636 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
12637
12638 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
12639 Let define-derived-mode define it.
12640 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
12641 cycles of abbrev-table inheritance (bug#8998).
12642
12643 2011-07-05 Roland Winkler <winkler@gnu.org>
12644
12645 * textmodes/bibtex.el: Add support for biblatex.
12646 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
12647 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
12648 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
12649 (bibtex-entry-alist, bibtex-field-alist): New variables.
12650 (bibtex-entry-field-alist): Obsolete alias for
12651 bibtex-BibTeX-entry-alist.
12652 (bibtex-entry-alist, bibtex-field-alist): New widgets.
12653 (bibtex-set-dialect): New command.
12654 (bibtex-entry-type, bibtex-entry-head)
12655 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
12656 Bind via bibtex-set-dialect.
12657 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
12658 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
12659 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
12660 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
12661 Define via bibtex-set-dialect.
12662 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
12663 Obey bibtex-no-opt-remove-re.
12664 (bibtex-vec-push, bibtex-vec-incr): New functions.
12665 (bibtex-format-entry, bibtex-field-list)
12666 (bibtex-print-help-message, bibtex-validate)
12667 (bibtex-search-entries): Use new format of bibtex-entry-alist.
12668
12669 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
12670
12671 * progmodes/compile.el (compilation-goto-locus):
12672 * net/tramp-cmds.el (tramp-append-tramp-buffers):
12673 * bs.el (bs-cycle-next, bs-cycle-previous):
12674 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
12675 * bindings.el (mode-line-other-buffer):
12676 * autoinsert.el (auto-insert):
12677 * arc-mode.el (archive-extract):
12678 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
12679
12680 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
12681
12682 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
12683 Fix check of `emacs-lock-unlockable-modes'.
12684 Coerce true values of `emacs-lock--try-unlocking' to t.
12685
12686 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
12687
12688 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
12689 * emacs-lock.el: New file.
12690
12691 2011-07-05 Julien Danjou <julien@danjou.info>
12692
12693 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
12694 than `boundp' to check if face is set.
12695
12696 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
12697
12698 * register.el (registerv-make):
12699 * window.el (window-min-height): Fix typos in docstrings.
12700
12701 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
12702
12703 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
12704 Update doc string.
12705
12706 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
12707
12708 * server.el (server-execute): Catch quit and call
12709 `server-return-error' to pass the error back to emacsclient and
12710 close the connection (bug#8942).
12711
12712 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
12713
12714 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
12715 insecure exception for current topic. Also note that auto-saves
12716 are handled differently.
12717
12718 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
12719 State variables for tracking auto-save inhibition situation.
12720
12721 (allout-write-contents-hook-handler): Rename from
12722 'allout-write-file-hook-handler', and describe how it depends on
12723 write-contents-functions sensitivity to non-nil value to prevent
12724 file write.
12725
12726 (allout-auto-save-hook-handler): Remove. auto-save does not check
12727 this in individual buffers, only in the starting buffer, so this
12728 is not the right way for us to inhibit auto-save in a buffer
12729 according to its condition.
12730
12731 (allout-mode): Use new allout-write-contents-hook-handler, and
12732 only with write-contents-functions. Remove auto-save provisions -
12733 they're implemented elsewhere.
12734
12735 (allout-before-change-handler): If undo is in progress, note that
12736 for attention of allout-post-command-business.
12737
12738 (allout-post-command-business): If the command we're following was
12739 an undo, check for change in the status of encrypted items and
12740 adjust auto-save inhibitions accordingly.
12741
12742 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
12743 according to whether there are or aren't any plain-text topics
12744 pending encryption.
12745
12746 (allout-inhibit-auto-save-info-for-decryption):
12747 Adjust buffer-saved-size and some allout state to inhibit auto-saves
12748 if there are plain-text topics pending encryption.
12749
12750 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
12751 buffer-saved-size and some allout state to not inhibit auto-saves
12752 if there are no longer any plain-text topics pending encryption.
12753
12754 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
12755 No longer provide for exemption of the current topic.
12756
12757 2011-07-04 Juri Linkov <juri@jurta.org>
12758
12759 Add 7z operations to delete and save changed members (bug#8968).
12760 * arc-mode.el (archive-7z-expunge, archive-7z-update):
12761 New defcustoms.
12762 (archive-7z-write-file-member): New function.
12763 (archive-7z-summarize): Fix the number of dashes in the
12764 listing output.
12765
12766 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
12767
12768 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
12769 (bug#8958).
12770
12771 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
12772
12773 * bindings.el: Ignore next-buffer and previous-buffer in
12774 minibuffer-local-map.
12775
12776 * font-lock.el (font-lock-builtin-face): Change light background
12777 color to dark slate blue (Bug#6693).
12778
12779 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
12780
12781 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
12782
12783 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
12784
12785 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
12786 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
12787 Add switch-to-buffer.
12788
12789 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
12790
12791 * isearch.el (isearch-search-fun-function): Clarify further the
12792 meaning of the function returned.
12793
12794 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
12795
12796 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
12797
12798 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
12799 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
12800 Use it.
12801 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
12802 `tramp-default-remote-path' does not exist.
12803 (tramp-send-command-and-read): New optional argument NOERROR.
12804 (tramp-open-connection-setup-interactive-shell)
12805 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
12806 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
12807 (tramp-process-sentinel): Flush also process' connection property.
12808 (tramp-sh-handle-start-file-process): Do not set process
12809 sentinel. It is done now ...
12810 (tramp-maybe-open-connection): ... here. (Bug#8929)
12811
12812 2011-07-04 MON KEY <monkey@sandpframing.com>
12813
12814 * play/animate.el (animate-string): Doc fixes and allow changing
12815 the buffer name (bug#5417).
12816
12817 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
12818
12819 * play/animate.el (animation-buffer-name): Rename from *animate*.
12820
12821 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
12822
12823 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
12824 This is simpler and helps future-proof the code.
12825 (timer-until): Use time-subtract and float-time.
12826 (timer--time-less-p): Use time-less-p.
12827
12828 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
12829
12830 * type-break.el (timep): Use the value of `float-time' to avoid a
12831 byte-compiler warning.
12832
12833 * server.el (server-eval-and-print): Return any result, even nil.
12834
12835 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
12836
12837 * type-break.el: Accept time formats that the builtins accept.
12838 (timep, type-break-time-difference): Accept any format that
12839 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
12840 This is simpler and helps future-proof the code.
12841 (type-break-time-difference): Round rather than ignoring
12842 subseconds components.
12843
12844 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12845
12846 * info.el (Info-apropos-matches): Make non-interactive, since it
12847 doesn't seem to do anything useful as a command (bug#8829).
12848
12849 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
12850
12851 * frame.el (frame-background-mode, frame-set-background-mode):
12852 Move from faces.el.
12853 (frame-default-terminal-background): New function.
12854
12855 * custom.el (custom-push-theme): Don't record faces in `changed'
12856 theme; this doesn't work correctly for per-frame face settings.
12857 (disable-theme): Use face-set-after-frame-default to reset faces.
12858 (custom--frame-color-default): New function.
12859
12860 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12861
12862 * dired.el (dired-flagging-regexp): Remove unused variable
12863 (bug#8769).
12864
12865 2011-03-29 Kevin Ryde <user42@zip.com.au>
12866
12867 * progmodes/compile.el (compilation-error-regexp-alist-alist):
12868 `perl-Test2' extend to match possible "fail #N" rep count
12869 (bug#8377).
12870
12871 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12872
12873 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
12874 `smtpmail-via-smtp' now returns the error instead of nil.
12875
12876 * isearch.el (isearch-search-fun-function): Clarify the doc string
12877 (bug#8101).
12878
12879 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
12880
12881 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
12882 unnecessary spaces (bug#8987).
12883
12884 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12885
12886 * net/network-stream.el (open-network-stream): Use the
12887 :end-of-capability command thoughout.
12888
12889 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
12890
12891 * net/network-stream.el (open-network-stream): Add the
12892 :end-of-capability command parameter, used by pop3.el.
12893
12894 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12895
12896 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
12897
12898 * fringe.el (fringe-query-style): Remove redundant text " (type ?
12899 for list)" (bug#6475).
12900
12901 * files.el (file-expand-wildcards): Ignore non-readable
12902 sub-directories while trying to find matches instead of signaling
12903 an error (bug#6297).
12904
12905 * man.el (Man-reference-regexp): Allow matching possible
12906 word-wrapped references (bug#6289).
12907
12908 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
12909 for consistency with the other vc buffers (bug#6197).
12910 (vc-checkin): Ditto.
12911
12912 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
12913
12914 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
12915
12916 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
12917
12918 * custom.el (defcustom): Clarify that :set is only used in the
12919 Customize user interface (bug#6089).
12920
12921 * progmodes/flymake.el (flymake-mode): If the buffer isn't
12922 associated with a file, refuse to run instead of erroring out
12923 (bug#6084).
12924
12925 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
12926 the doc string, since it appears that using `fill-column' always
12927 controls the width (bug#7845).
12928
12929 * simple.el (shell-command-on-region): Say where the error output
12930 went if `shell-command-default-error-buffer' is set (bug#6857).
12931
12932 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
12933
12934 * allout.el (allout-yank-processing): Adjust cursor position for
12935 backwards-deleted space.
12936
12937 (allout-rebullet-heading): Register changes with
12938 allout-exposure-changed-hook, so the modified topic is properly
12939 decorated.
12940
12941 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
12942
12943 * minibuffer.el (completion-in-region): Document PREDICATE
12944 (bug#7136).
12945
12946 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
12947 of keyword/argument pairs (bug#6904).
12948
12949 * replace.el (multi-occur):
12950 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
12951
12952 2011-07-02 Drew Adams <drew.adams@oracle.com>
12953
12954 * dired.el (dired-mark-if): Make the message about whether it's
12955 marking or unmarking clearer (bug#8523).
12956
12957 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
12958
12959 * disp-table.el (display-table-print-array): New function.
12960 (describe-display-table): Use it to print the vectors more pretty
12961 (Bug#8859).
12962
12963 2011-07-02 Martin Rudalics <rudalics@gmx.at>
12964
12965 * window.el (window-state-get-1): Don't assign clone numbers.
12966 Add clone-of item to list of window parameters.
12967 (window-state-put-2): Don't process clone numbers.
12968 (display-buffer-alist): Fix doc-string.
12969
12970 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
12971
12972 * subr.el (remq): Don't allocate if it's not needed.
12973 (keymap--menu-item-binding, keymap--menu-item-with-binding)
12974 (keymap--merge-bindings): New functions.
12975 (keymap-canonicalize): Use them to refine the canonicalization.
12976 * minibuffer.el (minibuffer-local-completion-map)
12977 (minibuffer-local-must-match-map): Move initialization from C.
12978 (minibuffer-local-filename-completion-map): Move initialization from C;
12979 don't inherit from anything here.
12980 (minibuffer-local-filename-must-match-map): Make obsolete.
12981 (completing-read-default): Use make-composed-keymap to combine
12982 minibuffer-local-filename-completion-map with either
12983 minibuffer-local-must-match-map or
12984 minibuffer-local-filename-completion-map.
12985
12986 2011-07-01 Glenn Morris <rgm@gnu.org>
12987
12988 * type-break.el (type-break-time-sum): Use dolist.
12989
12990 * textmodes/flyspell.el (flyspell-word-search-backward):
12991 Replace CL function.
12992
12993 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
12994
12995 * mouse.el (mouse--strip-first-event): New function.
12996 (function-key-map): Use it to map fringe clicks to normal clicks
12997 by default.
12998
12999 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
13000 (vc-bzr-revision-completion-table): Add support for annotate and date.
13001
13002 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
13003 inherit from parent.
13004
13005 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
13006
13007 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
13008 (dired-show-file-type): Doc fixup (bug#8818).
13009
13010 * dired.el (dired-mode): Fix up the doc string as suggested by
13011 Drew Adams (bug#8817).
13012
13013 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
13014 cookie, since the manual says that it should be possible to add
13015 this function to `find-file-hook' (bug#8709).
13016
13017 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
13018
13019 * progmodes/cfengine.el: Moved all cfengine3.el functionality
13020 here. Noted Ted Zlatanov as the maintainer.
13021 (cfengine-common-settings, cfengine-common-syntax): New functions
13022 to set up common things between `cfengine-mode' and
13023 `cfengine3-mode'.
13024 (cfengine3-mode): New mode.
13025 (cfengine3-defuns cfengine3-defuns-regex
13026 (cfengine3-class-selector-regex cfengine3-category-regex)
13027 (cfengine3-vartypes cfengine3-font-lock-keywords)
13028 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
13029 (cfengine3-indent-line): Add from cfengine3.el.
13030
13031 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
13032
13033 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
13034
13035 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
13036
13037 2011-07-01 Martin Rudalics <rudalics@gmx.at>
13038
13039 * window.el (same-window-buffer-names, same-window-regexps)
13040 (same-window-p, special-display-frame-alist)
13041 (special-display-popup-frame, special-display-function)
13042 (special-display-buffer-names, special-display-regexps)
13043 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
13044 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
13045 (split-window-preferred-function, split-height-threshold)
13046 (split-width-threshold, even-window-heights)
13047 (display-buffer-mark-dedicated, window-splittable-p)
13048 (split-window-sensibly, window-safely-shrinkable-p):
13049 Un-obsolete.
13050 (display-buffer): Don't spread args with function specifier
13051 because special-display-popup-frame won't like it.
13052
13053 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
13054
13055 Time-stamp simplifications and fixes.
13056 These improve accuracy slightly, and future-proof the code
13057 against some potential changes to current-time format.
13058
13059 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
13060 by using time-since and float-time.
13061
13062 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
13063 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
13064 + NNN microseconds".
13065
13066 * type-break.el (type-break-time-sum): Rewrite using time-add.
13067
13068 * play/hanoi.el (hanoi-current-time-float): Remove.
13069 All uses replaced by float-time.
13070
13071 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
13072 This yields a more-accurate answer.
13073 (rng-time-to-float): Remove; no longer needed.
13074
13075 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
13076
13077 * calendar/timeclock.el (timeclock-seconds-to-time):
13078 Defalias to seconds-to-time, since they're the same thing.
13079
13080 * emacs-lisp/elp.el (elp-elapsed-time):
13081 * emacs-lisp/benchmark.el (benchmark-elapse):
13082 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
13083
13084 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
13085
13086 * window.el (bury-buffer): Don't iconify the only frame.
13087 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
13088 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
13089
13090 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
13091
13092 * eshell/em-smart.el (eshell-smart-display-navigate-list):
13093 Add mouse-yank-primary.
13094
13095 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
13096
13097 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
13098
13099 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
13100
13101 * emacs-lisp/find-func.el (find-library--load-name): New fun.
13102 (find-library-name): Use it to find relative load names when provided
13103 absolute file name (bug#8803).
13104
13105 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
13106
13107 * textmodes/flyspell.el (flyspell-word): Consider words that
13108 differ only in case as potential doublons (bug#5687).
13109
13110 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
13111 Remove two rather uninteresting debugging-like messages to make
13112 debbugs.el more silent.
13113
13114 * comint.el (comint-password-prompt-regexp): Accept "Response" as
13115 a password-like phrase.
13116
13117 2011-06-30 Masatake YAMATO <yamato@redhat.com>
13118
13119 * progmodes/cc-guess.el: New file.
13120
13121 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
13122
13123 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
13124 derived from `c-basic-common-init'.
13125
13126 * progmodes/cc-mode.el (top-level): Require cc-guess.
13127 (c-basic-common-init): Use `cc-choose-style-for-mode'.
13128
13129 2011-06-30 Lawrence Mitchell <wence@gmx.li>
13130
13131 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
13132
13133 2011-06-30 Alan Mackenzie <acm@muc.de>
13134
13135 * progmodes/cc-engine.el (c-guess-continued-construct):
13136 Correct the handling of template-args-cont, particularly for when font
13137 lock is disabled. Name this case as "CASE G".
13138
13139 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
13140
13141 * allout.el (allout-yank-processing): Fix injection of extra space
13142 between bullet and non-whitespace character in first topic when
13143 pasting, ensuring that the actual spacing in the pasted topic
13144 following the bullet char is preserved. This extra space was
13145 causing pasted encrypted topics to get a decrypted status even
13146 when the content was actually still encrypted. Now the decryption
13147 status from before the paste is preserved.
13148
13149 (allout-flag-region): Set all allout overlays so they evaporate
13150 when reduced to zero length (evanescent), to prevent overlay
13151 leakage.
13152
13153 2011-06-30 Glenn Morris <rgm@gnu.org>
13154
13155 * w32-fns.el (w32-charset-info-alist): Declare.
13156
13157 * find-dired.el (find-grep-options): Simplify.
13158
13159 * term/ns-win.el (ns-set-resource): Declare.
13160
13161 * ses.el (row, col): Declare dynamic variables honestly.
13162
13163 * textmodes/reftex-parse.el (index-tags): Declare.
13164
13165 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
13166
13167 * cus-edit.el (customize-push-and-save): New function.
13168
13169 * files.el (hack-local-variables-confirm): Use it.
13170
13171 * custom.el (load-theme): New arg NO-CONFIRM.
13172 Use customize-push-and-save (Bug#8720).
13173 (custom-enabled-themes): Doc fix.
13174
13175 * cus-theme.el (customize-create-theme)
13176 (custom-theme-merge-theme): Callers to load-theme changed.
13177
13178 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
13179
13180 * thingatpt.el (thing-at-point-short-url-regexp): Require that
13181 short URLs have at least one dot in them (bug #7614).
13182
13183 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
13184 nil, because using a pty is apparently too slow (bug #895).
13185
13186 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
13187
13188 * mail/sendmail.el (sendmail-query-once): New function.
13189 (sendmail-query-once-function): New variable.
13190
13191 2011-06-29 Glenn Morris <rgm@gnu.org>
13192
13193 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
13194
13195 * ses.el (top-level): Require cl when compiling.
13196 (ses-set-localvars): Fix error statement.
13197 Call it at compile time to silence a storm of warnings.
13198
13199 2011-06-29 Martin Rudalics <rudalics@gmx.at>
13200
13201 * window.el (normalize-live-buffer): Rename to
13202 window-normalize-buffer.
13203 (normalize-live-frame): Rename to window-normalize-frame.
13204 (normalize-any-window): Rename to window-normalize-any-window.
13205 (normalize-live-window): Rename to window-normalize-live-window.
13206 (make-window-atom): Rename to window-make-atom.
13207 (window-resize-reset): Rename to window--resize-reset.
13208 (window-resize-reset-1): Rename to window--resize-reset-1.
13209 (resize-mini-window): Rename to window--resize-mini-window.
13210 (resize-subwindows-skip-p): Rename to
13211 window--resize-subwindows-skip-p.
13212 (resize-subwindows-normal): Rename to
13213 window--resize-subwindows-normal.
13214 (resize-subwindows): Rename to window--resize-subwindows.
13215 (resize-other-windows): Rename to window--resize-siblings.
13216 (resize-this-window): Rename to window--resize-this-window.
13217 (resize-root-window): Rename to window--resize-root-window.
13218 (resize-root-window-vertically): Rename to
13219 window--resize-root-window-vertically.
13220 (normalize-buffer-to-display): Rename to
13221 window-normalize-buffer-to-display.
13222 (normalize-buffer-to-switch-to): Rename to
13223 window-normalize-buffer-to-switch-to.
13224 Correspondingly update all callers of the functions listed
13225 above.
13226 (display-buffer-alist, display-buffer-normalize-arguments)
13227 (display-buffer-normalize-options, display-buffer)
13228 (display-buffer-alist-set): Use "function" instead of
13229 "fun-with-args".
13230
13231 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
13232
13233 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
13234 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
13235 debbugs.gnu.org. Mention acknowledgment email.
13236
13237 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
13238
13239 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
13240 buffer multibyteness, since it shouldn't matter.
13241
13242 2011-06-28 Martin Rudalics <rudalics@gmx.at>
13243
13244 * window.el (display-buffer-in-side-window): Handle dedicated
13245 windows as in display-buffer-reuse-window.
13246 (display-buffer-normalize-alist): Use value of override
13247 specifier.
13248 (display-buffer-normalize-specifiers): Use value of
13249 other-window-means-other-frame specifier.
13250 (display-buffer-alist): Rewrite some texts in widgets.
13251 (display-buffer): Spread arguments when calling function
13252 specified by fun-with-args.
13253
13254 2011-06-28 Deniz Dogan <deniz@dogan.se>
13255
13256 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
13257 Unnest `let'.
13258
13259 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
13260 selectors (Bug#5732).
13261 (css-proprietary-nmstart-re): Use `regexp-opt'.
13262
13263 2011-06-27 Jari Aalto <jari.aalto@cante.net>
13264
13265 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
13266 (eshell-ls-date-format): New defcustom.
13267 (eshell-ls-file): Use it.
13268
13269 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
13270
13271 * help-fns.el (describe-variable): Fix message for terminal-local vars.
13272
13273 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
13274
13275 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
13276 (ange-ftp-make-tmp-name): New arg.
13277 (ange-ftp-file-local-copy): Use it.
13278
13279 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
13280
13281 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
13282 no-conversion (Bug#8870).
13283
13284 2011-06-27 Martin Rudalics <rudalics@gmx.at>
13285
13286 * window.el (window-right, window-left, window-child)
13287 (window-child-count, window-last-child)
13288 (window-iso-combination-p, walk-window-tree-1)
13289 (window-atom-check-1, window-tree-1, delete-window)
13290 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
13291 new naming conventions - window-vchild, window-hchild,
13292 window-next and window-prev are now called window-top-child,
13293 window-left-child, window-next-sibling and window-prev-sibling
13294 respectively.
13295 (resize-window-reset): Rename to window-resize-reset.
13296 (resize-window-reset-1): Rename to window-resize-reset-1.
13297 (resize-window): Rename to window-resize.
13298 (window-min-height, window-min-width)
13299 (resize-mini-window, resize-this-window, resize-root-window)
13300 (resize-root-window-vertically, adjust-window-trailing-edge)
13301 (enlarge-window, shrink-window, maximize-window)
13302 (minimize-window, delete-window, quit-restore-window)
13303 (split-window, balance-windows, balance-windows-area-adjust)
13304 (balance-windows-area, window-state-put-2)
13305 (display-buffer-even-window-sizes, display-buffer-set-height)
13306 (display-buffer-set-width, set-window-text-height)
13307 (fit-window-to-buffer): Rename all "resize-window" prefixed
13308 calls to use the "window-resize" prefix convention.
13309 (display-buffer-alist): Fix symbol for label specifier.
13310 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
13311 corresponding specifier.
13312 Reported by Juanma Barranquero <lekktu@gmail.com>.
13313
13314 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
13315
13316 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
13317 convention.
13318 (ses-call-printer): Does not pass an empty string to formatter when the
13319 cell is empty to keep from barking printer Calc math-format-value.
13320
13321 2011-06-27 Richard Stallman <rms@gnu.org>
13322
13323 * battery.el (battery-mode-line-limit): New variable.
13324 (battery-update): Handle it.
13325
13326 * mail/rmailmm.el (rmail-mime-process-multipart):
13327 Handle truncated messages.
13328
13329 2011-06-27 Glenn Morris <rgm@gnu.org>
13330
13331 * progmodes/flymake.el (flymake-err-line-patterns):
13332 Allow for column numbers in the ant/javac pattern. (Bug#8866)
13333
13334 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
13335
13336 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
13337 (ses--clean-!, ses--clean-_): New functions.
13338 (ses-range): Add configurability of readout order, and conversion
13339 to Calc vector.
13340
13341 * ses.el (ses-repair-cell-reference-all): New function.
13342 (ses-cell-symbol): Set macro as safe, so that it can be used in
13343 formulas.
13344
13345 * ses.el: Update cycle detection algorithm.
13346 (ses-localvars): Add ses--Dijkstra-attempt-nb and
13347 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
13348 (ses-set-localvars): New function.
13349 (ses-make-cell): Add property-list as a cell element.
13350 (ses-cell-property-get-fun, ses-cell-property-get)
13351 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
13352 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
13353 New functions.
13354 (ses-cell-property-set, ses-cell-property-pop)
13355 (ses-cell-property-get-handle): New macro.
13356 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
13357 New aliases, used for code readability.
13358 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
13359 cycle detection.
13360 (ses-self-reference-early-detection): New defcustom.
13361 (ses-formula-references): Robustify against self-referring cells.
13362 (ses-mode): Use ses-set-localvars.
13363 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
13364 before lauching the update processing.
13365 (ses-initialize-Dijkstra-attempt): New function.
13366 (ses-recalculate-cell): Update for cycle detection based on
13367 Dijkstra algorithm.
13368
13369 * ses.el: Fix commenting and indenting convention.
13370
13371 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
13372
13373 * bs.el (bs-cycle-next): Complete last change.
13374
13375 2011-06-27 Drew Adams <drew.adams@oracle.com>
13376
13377 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
13378
13379 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
13380
13381 * net/network-stream.el (network-stream-open-starttls):
13382 Don't re-get capabilities unless we've reestablished connection.
13383 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
13384
13385 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
13386 to binary to possibly avoid line encoding issues on Windows (among
13387 other things).
13388
13389 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
13390
13391 * net/network-stream.el (open-network-stream): Return an :error
13392 saying what the problem was, if possible.
13393
13394 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
13395 server.
13396
13397 * net/network-stream.el (network-stream-open-starttls): If we
13398 wanted to use STARTTLS, and the server offered it, but we weren't
13399 able to because we had no STARTTLS support, then close the connection.
13400 (open-network-stream): Return an :error element, if present.
13401
13402 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
13403
13404 * hl-line.el (hl-line-sticky-flag): Doc fix.
13405 (global-hl-line-sticky-flag): New option (Bug#8323).
13406 (global-hl-line-highlight): Obey it.
13407
13408 * vc/vc.el (vc-revert-show-diff): Default to t.
13409
13410 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
13411
13412 * allout-widgets.el (allout-widgets-post-command-business):
13413 Stop decorating intermediate isearch matches. They're not being
13414 undecorated when an isearch is continued past, and isearch
13415 automatically collapses them. This leads to "widget leaks", where
13416 decorated items accumulate in collapsed areas. Lines with lots of
13417 hidden widgets can slow down cursor travel, substantially.
13418 Too much complicated machinery would be needed to ensure undecoration,
13419 so we're doing without this nicety.
13420
13421 (allout-widgets-tally-string): Don't try to do a hash-table-count
13422 of allout-widgets-tally when it's nil. This eliminates spurious "Error
13423 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
13424 *Messages* when allout-widgets-maintain-tally is t.
13425
13426 2011-06-26 Martin Rudalics <rudalics@gmx.at>
13427
13428 * window.el (display-buffer-normalize-argument): Rename to
13429 display-buffer-normalize-arguments. Handle special meaning of
13430 LABEL argument. Respect special-display-function when popping up
13431 a new frame. Fix code searching for a window showing the buffer
13432 on another frame.
13433 (display-buffer-normalize-specifiers):
13434 Call display-buffer-normalize-arguments.
13435 (display-buffer-in-window): Don't undedicate the window if its
13436 buffer remains the same.
13437 Reported by Drew Adams <drew.adams@oracle.com>.
13438 (display-buffer-alist): Add choice for same-window macro
13439 specfier.
13440 (display-buffer): Mention special meaning of LABEL argument in
13441 doc-string. Fix quoting. Don't pop up a new frame even as
13442 fallback.
13443
13444 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
13445
13446 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
13447 avoid deleting the current window in some cases (bug#8911).
13448
13449 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
13450
13451 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
13452 (Bug#8934)
13453
13454 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
13455
13456 * net/network-stream.el (network-stream-open-starttls):
13457 Use built-in TLS support if `gnutls-available-p' is true.
13458 (network-stream-open-tls): Ditto.
13459
13460 2011-06-26 Leo Liu <sdl.web@gmail.com>
13461
13462 * register.el (registerv): New struct.
13463 (registerv-make): New function.
13464 (jump-to-register, describe-register-1, insert-register):
13465 Support the jump-func, print-func and insert-func slot of a registerv
13466 struct. (Bug#8415)
13467
13468 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
13469
13470 * vc/vc.el (vc-revert-show-diff): New defcustom.
13471 (vc-diff-internal): New arg specifying diff buffer.
13472 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
13473 reuse an existing *vc-diff* buffer (Bug#8927).
13474
13475 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
13476
13477 2011-06-26 Glenn Morris <rgm@gnu.org>
13478
13479 * progmodes/f90.el (f90-critical-indent): New option.
13480 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
13481 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
13482 (f90-mode): Doc fix.
13483 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
13484 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
13485 (f90-beginning-of-block, f90-next-block, f90-indent-region)
13486 (f90-match-end): Handle block, critical.
13487
13488 2011-06-25 Glenn Morris <rgm@gnu.org>
13489
13490 * calendar/diary-lib.el (diary-included-files): Doc fix.
13491 (diary-include-files): New function, extracted from
13492 diary-include-other-diary-files and diary-mark-included-diary-files.
13493 (diary-include-other-diary-files, diary-mark-included-diary-files):
13494 Just call diary-include-files.
13495 (diary-mark-entries): Reset diary-included-files on first call.
13496
13497 * calendar/diary-lib.el (diary-mark-entries)
13498 (diary-mark-included-diary-files):
13499 Visit included diary-files in temp buffers.
13500
13501 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
13502 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
13503 (f90-start-block-re, f90-imenu-generic-expression)
13504 (f90-looking-at-program-block-start, f90-no-block-limit):
13505 Add support for submodules.
13506
13507 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
13508 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
13509
13510 2011-06-25 Eli Zaretskii <eliz@gnu.org>
13511
13512 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
13513 buffer-file-type before setting its value, to avoid disastrous
13514 global effects on decoding files for DOS/Windows systems. (Bug#8780)
13515
13516 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
13517
13518 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
13519
13520 * ses.el (ses-unload-function):
13521 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
13522
13523 * proced.el (proced-unload-function):
13524 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
13525
13526 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
13527
13528 * server.el (server-create-window-system-frame): Add parameters arg.
13529 (server-process-filter): Doc fix. Handle frame-parameters.
13530
13531 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
13532
13533 Fix bug#8730, bug#8781.
13534
13535 * loadhist.el (unload--set-major-mode): New function.
13536 (unload-feature): Use it.
13537
13538 * progmodes/python.el (python-after-info-look): Add autoload cookie.
13539 (python-unload-function): New function.
13540
13541 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
13542
13543 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
13544
13545 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
13546
13547 * net/browse-url.el (browse-url-firefox-program): Add icecat to
13548 the candidates list.
13549
13550 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
13551
13552 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
13553
13554 2011-06-23 Richard Stallman <rms@gnu.org>
13555
13556 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
13557 (rmail-variables): Set next-error-move-function.
13558 (rmail-what-message): Take argument POS.
13559 (rmail-next-error-move): New function.
13560
13561 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
13562
13563 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
13564 messages for adjacent non-terminals.
13565
13566 2011-06-23 Richard Stallman <rms@gnu.org>
13567
13568 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
13569 (rmail-show-message-1): Preserve buffer modified flag.
13570 (rmail-start-mail): Don't specify use of rmail-mail-return;
13571 that's done by mail-bury now.
13572 (rmail-mail-return): Handle arg NEWBUF.
13573
13574 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
13575
13576 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
13577 SIZE is a number.
13578
13579 2011-06-23 Martin Rudalics <rudalics@gmx.at>
13580
13581 * window.el (get-lru-window, get-mru-window)
13582 (get-largest-window): Never return a minibuffer window.
13583 (display-buffer-pop-up-window): Fix a bug that could lead to
13584 reusing the minibuffer window.
13585 (display-buffer): Pass original specifier argument to
13586 display-buffer-function instead of the normalized one.
13587 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
13588
13589 2011-06-22 Leo Liu <sdl.web@gmail.com>
13590
13591 * minibuffer.el (completing-read-function)
13592 (completing-read-default): Move from minibuf.c
13593
13594 2011-06-22 Richard Stallman <rms@gnu.org>
13595
13596 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
13597 to Rmail even if not started by a special Rmail command.
13598
13599 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
13600 Copy the buffer currently showing just one message.
13601
13602 2011-06-22 Roland Winkler <winkler@gnu.org>
13603
13604 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
13605 (bibtex-clean-entry): First delete the old key so that a
13606 customized algorithm for generating the new key does not get
13607 confused by the old key.
13608 (bibtex-url): Obey regexp of first step.
13609 (bibtex-search-entries): Do not use add-to-list with local
13610 list-var.
13611
13612 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
13613
13614 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
13615 stored a user name, then query for the password first, instead of
13616 waiting for SMTP to give an error message and the trying again.
13617
13618 2011-06-22 Lawrence Mitchell <wence@gmx.li>
13619
13620 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
13621 BUFFER in call-process.
13622
13623 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
13624
13625 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
13626 QUIT twice.
13627 (smtpmail-try-auth-methods): Require user name and password from
13628 auth-source.
13629
13630 2011-06-22 Martin Rudalics <rudalics@gmx.at>
13631
13632 * window.el (display-buffer-default-specifiers)
13633 (display-buffer-alist): Remove entries for pop-up-frame-alist.
13634 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
13635 (split-window): Normalize SIDE argument (Bug#8916).
13636
13637 * frame.el (pop-up-frame-alist, pop-up-frame-function)
13638 (special-display-frame-alist, special-display-popup-frame):
13639 Remove duplicate declarations. These are now in window.el.
13640
13641 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
13642
13643 * mail/smtpmail.el (smtpmail-via-smtp):
13644 Set :use-starttls-if-possible so that we always use STARTTLS if the
13645 server supports it. SMTP servers that support STARTTLS commonly
13646 require it.
13647
13648 * net/network-stream.el (network-stream-open-starttls): Support
13649 upgrading to STARTTLS always, even if we don't have built-in support.
13650 (open-network-stream): Add the :always-query-capabilities keyword.
13651
13652 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
13653 upgrades with `open-network-stream', and rely solely on
13654 auth-source for all credentials. Big changes throughout the file,
13655 but in particular:
13656 (smtpmail-auth-credentials): Remove.
13657 (smtpmail-starttls-credentials): Remove.
13658 (smtpmail-via-smtp): Check for servers saying they want AUTH after
13659 MAIL FROM, too.
13660
13661 * net/network-stream.el (network-stream-open-starttls):
13662 Provide support for client certificates both for external and built-in
13663 STARTTLS.
13664 (auth-source): Require.
13665 (open-network-stream): Document the :client-certificate keyword.
13666 (network-stream-certificate): Change cert-cert to cert and
13667 cert-key to key.
13668
13669 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
13670
13671 * net/tramp-cache.el (top): Don't load the persistency file when
13672 "emacs -Q" has been called.
13673
13674 2011-06-21 Tim Harper <timcharper@gmail.com>
13675
13676 * term/ns-win.el (ns-initialize-window-system):
13677 Set application-specific `ApplePressAndHoldEnabled' system
13678 resource to NO as it is not yet supported by the NS port.
13679
13680 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
13681
13682 * misc.el (list-dynamic-libraries--refresh): Compute header here...
13683 (list-dynamic-libraries): ...not here.
13684
13685 2011-06-21 Leo Liu <sdl.web@gmail.com>
13686
13687 * subr.el (sha1): Implement sha1 using secure-hash.
13688
13689 2011-06-21 Martin Rudalics <rudalics@gmx.at>
13690
13691 * window.el (display-buffer-alist): In default value do not
13692 enforce searching a window on any but the selected frame.
13693 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
13694 (display-buffer-select-window): Remove function.
13695 (display-buffer-in-window): When a window on another frame gets
13696 reused, do not select it any more but just raise its frame if
13697 necessary (Bug#8851) and (Bug#8856).
13698 (display-buffer-normalize-options): Handle pop-up-frames related
13699 options more faithfully.
13700 (pop-to-buffer): Don't rely on `display-buffer' selecting the
13701 window if it is on another frame.
13702 (display-buffer-alist, display-buffer-default-specifiers):
13703 Don't make new frame unsplittable by default.
13704 (display-buffer-normalize-argument): Fix doc-string typo and use
13705 'same-frame-other-window instead of 'other-window when associating
13706 with display-buffer-macro-specifiers.
13707
13708 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
13709
13710 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
13711 New functions.
13712 (5x5-mode-map, 5x5-mode-menu): Bind them.
13713 (5x5-draw-grid): Tweak the solver's rendering.
13714
13715 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
13716
13717 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
13718 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
13719
13720 2011-06-21 Drew Adams <drew.adams@oracle.com>
13721
13722 * menu-bar.el: Use function variable instead of switch-to-buffer.
13723 (menu-bar-select-buffer-function): New variable.
13724 (menu-bar-update-buffers): Use it (bug#8876).
13725
13726 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
13727
13728 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
13729 variable's status.
13730
13731 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
13732
13733 * x-dnd.el (x-dnd-version-from-flags)
13734 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
13735 and long as number (Bug#8899).
13736 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
13737
13738 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
13739
13740 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
13741 (completion-try-completion, completion-all-completions): Compute the
13742 metadata argument if it's missing; make it optional (bug#8795).
13743
13744 * wid-edit.el: Use lex-bind and move towards completion-at-point.
13745 (widget-complete): Use new :completion-function property.
13746 (widget-completions-at-point): New function.
13747 (default): Use :completion-function instead of :complete.
13748 (widget-default-completions): Rename from widget-default-complete;
13749 Rewrite.
13750 (widget-string-complete, widget-file-complete, widget-color-complete):
13751 Remove functions.
13752 (file, symbol, function, variable, coding-system, color):
13753 * international/mule-cmds.el (default-input-method, charset)
13754 (language-info-custom-alist):
13755 * cus-edit.el (face): Use new property :completions.
13756
13757 * progmodes/pascal.el (pascal-completions-at-point): New function.
13758 (pascal-mode): Use it.
13759 (pascal-mode-map): Use completion-at-point.
13760 (pascal-toggle-completions): Make obsolete.
13761 (pascal-complete-word, pascal-show-completions):
13762 * progmodes/octave-mod.el (octave-complete-symbol):
13763 Redefine as obsolete alias.
13764 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
13765 Signal absence of completion info for old Octave,
13766 (inferior-octave-complete): Redefine as obsolete alias.
13767 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
13768 (meta-completions-at-point): Rename from meta-complete-symbol and
13769 adapt it for use on completion-at-point-functions.
13770 (meta-common-mode): Use it.
13771 (meta-looking-at-backward, meta-match-buffer): Remove.
13772 (meta-complete-symbol): Redefine as obsolete alias.
13773 (meta-common-mode-map): Use completion-at-point.
13774 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
13775 (makefile-mode-map): Use completion-at-point.
13776 (makefile-completions-at-point): Rename from makefile-complete and
13777 adapt it for use on completion-at-point-functions.
13778 (makefile-mode): Use it.
13779 (makefile-complete): Redefine as obsolete alias.
13780
13781 2011-06-20 Deniz Dogan <deniz@dogan.se>
13782
13783 * net/rcirc.el: Delete trailing whitespaces once and for all.
13784
13785 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
13786
13787 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
13788
13789 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
13790
13791 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
13792
13793 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
13794
13795 2011-06-19 Martin Rudalics <rudalics@gmx.at>
13796
13797 * window.el (display-buffer-other-window-means-other-frame):
13798 Call display-buffer-normalize-alist.
13799 (display-buffer-normalize-specifiers-1): Rename to
13800 display-buffer-normalize-argument. New argument other-frame.
13801 Rewrite.
13802 (display-buffer-normalize-specifiers-2): Rename to
13803 display-buffer-normalize-options.
13804 (display-buffer-normalize-alist-1): New function.
13805 (display-buffer-normalize-specifiers-3): Rename to
13806 display-buffer-normalize-alist.
13807 Call display-buffer-normalize-alist-1.
13808 (display-buffer-normalize-options-inhibit): New variable.
13809 (display-buffer-normalize-specifiers): Rewrite calling
13810 display-buffer-normalize-alist,
13811 display-buffer-normalize-argument, and
13812 display-buffer-normalize-options. Don't call the latter if
13813 display-buffer-normalize-options-inhibit is non-nil.
13814 (frame-auto-delete): New option.
13815 (window-deletable-p): Use frame-auto-delete.
13816 (window-list-no-nils, window-state-ignored-parameters)
13817 (window-state-get-1, window-state-get, window-state-put-list)
13818 (window-state-put-1, window-state-put-2, window-state-put):
13819 New functions.
13820 (display-buffer-normalize-options): Move special-display-p group
13821 after pop-up-frame group (Bug#8851) and (Bug#8856).
13822
13823 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
13824
13825 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
13826 groups (Bug#8776).
13827 (rx-submatch-n): New function.
13828 (rx): Document it.
13829
13830 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
13831 (Bug#8768).
13832
13833 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
13834
13835 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
13836
13837 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
13838 anytime existing face settings are present (Bug#8889).
13839
13840 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
13841 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
13842 Remove unused argument.
13843
13844 2011-06-18 Martin Rudalics <rudalics@gmx.at>
13845
13846 * window.el (display-buffer-default-specifiers):
13847 Remove pop-up-frame. Add pop-up-window-min-height,
13848 pop-up-window-min-width, and another reuse-window specifier
13849 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
13850 (display-buffer-normalize-specifiers-2):
13851 Handle split-height-threshold and split-width-threshold also when
13852 pop-up-windows is unset. Add a reuse-window specifier for the
13853 case popping up a new window fails.
13854 (special-display-popup-frame): Remove double quoting.
13855 (display-buffer-normalize-specifiers-1): Fix thinko.
13856
13857 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
13858
13859 * shell.el (shell-completion-vars): Set pcomplete-termination-string
13860 according to comint-completion-addsuffix.
13861
13862 * pcomplete.el: Convert to lexical binding and fix bug#8819.
13863 (pcomplete-suffix-list): Mark as obsolete.
13864 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
13865 pcomplete-seen in the closure.
13866 (pcomplete-comint-setup): Setup completion-at-point as well.
13867 (pcomplete--entries): New function.
13868 (pcomplete--env-regexp): New var.
13869 (pcomplete-entries): Rewrite to work with partial-completion and
13870 without relying on pcomplete-suffix-list.
13871 (pcomplete-pare-list): Remove, unused.
13872
13873 2011-06-17 Martin Rudalics <rudalics@gmx.at>
13874
13875 * window.el (display-buffer-alist): Set pop-up-window-min-height
13876 and pop-up-window-min-width in default value. Reported by
13877 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
13878 other-window-means-other-frame.
13879 (display-buffer-macro-specifiers): Comment out entry for
13880 other-window specifier.
13881 (display-buffer-other-window-means-other-frame): New function.
13882 (display-buffer-normalize-specifiers-1): New arguments
13883 buffer-name and label. Treat other-window case specially.
13884 (display-buffer-normalize-specifiers-2): Treat other-window case
13885 specially.
13886 (display-buffer-normalize-specifiers-3): New function.
13887 (display-buffer-normalize-specifiers):
13888 Call display-buffer-normalize-specifiers-3.
13889
13890 2011-06-17 Martin Rudalics <rudalics@gmx.at>
13891
13892 * window.el (same-window-p): Fix two typos introduced when
13893 adding with-no-warnings.
13894 (display-buffer-normalize-specifiers-1): Don't check
13895 pop-up-frames for 'unset initialization.
13896 (display-buffer-normalize-specifiers-2): Major rewrite using
13897 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
13898 (pop-up-frames, display-buffer-reuse-frames)
13899 (display-buffer-mark-dedicated): Don't initialize to 'unset.
13900 Suggested by David Engster <deng@randomsample.de>.
13901 (even-window-heights): Initialize to 'unset.
13902 (display-buffer-alist-set): Handle new 'unset initializations.
13903 (display-buffer-macro-specifiers): Don't pop up a new frame in the
13904 other window case.
13905
13906 2011-06-16 Martin Rudalics <rudalics@gmx.at>
13907
13908 * window.el (display-buffer-normalize-specifiers-1):
13909 Respect current value of pop-up-frames for most reasonable values of
13910 second argument of display-buffer (Bug#8865).
13911 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
13912 (switch-to-buffer-other-window-same-frame)
13913 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
13914 Adams (Bug#8875).
13915 (display-buffer): Don't check noninteractive when calling
13916 display-buffer-pop-up-frame.
13917 (display-buffer-pop-up-frame): Never pop up a frame in
13918 noninteractive mode (Bug#8857).
13919 (enlarge-window, shrink-window): Don't report an error when the
13920 window can't be resized as requested (Bug#8862).
13921
13922 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
13923
13924 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
13925
13926 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
13927
13928 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
13929
13930 2011-06-15 Alan Mackenzie <acm@muc.de>
13931
13932 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
13933 for declarators, disable knr checking to speed up for normal files.
13934 2: Refactor, replacing a sequence of nested if forms by a cond form.
13935
13936 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
13937
13938 * net/network-stream.el (open-network-stream): Add the keyword
13939 :always-query-capabilities for the case where you want to force a
13940 `plain' network connection, but the protocol still requires the
13941 capabilitiy command (i.e., SMTP and EHLO).
13942
13943 * subr.el (process-live-p): Rename from `process-alive-p' for
13944 consistency with other `-live-p' functions.
13945
13946 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
13947
13948 * window.el (same-window-buffer-names, same-window-regexps)
13949 (special-display-frame-alist, special-display-popup-frame)
13950 (special-display-function, special-display-buffer-names)
13951 (special-display-regexps, pop-up-frame-alist)
13952 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
13953 (pop-up-windows, split-window-preferred-function)
13954 (split-height-threshold, split-width-threshold, even-window-heights)
13955 (display-buffer-mark-dedicated): Don't encourage the use of
13956 display-buffer-alist from Elisp code.
13957
13958 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
13959
13960 * progmodes/python.el (python-mode): Derive from prog-mode.
13961 * progmodes/ps-mode.el (ps-mode):
13962 * progmodes/mixal-mode.el (mixal-mode):
13963 * progmodes/cfengine.el (cfengine-mode):
13964 * progmodes/ld-script.el (ld-script-mode): Likewise.
13965
13966 2011-06-15 Martin Rudalics <rudalics@gmx.at>
13967
13968 * window.el (display-buffer-alist): Trim default value to avoid
13969 popping up a new frame (Bug#8857) or reusing an arbitrary window
13970 on another frame.
13971 (display-buffer): Do not fall back on popping up a new frame in
13972 batch mode (Bug#8857).
13973
13974 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
13975
13976 * cus-theme.el (describe-theme-1): Use custom-theme-p.
13977 (custom-theme-summary): New function.
13978 (customize-themes): Use it.
13979
13980 2011-06-13 Glenn Morris <rgm@gnu.org>
13981
13982 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
13983
13984 2011-06-13 Martin Rudalics <rudalics@gmx.at>
13985
13986 * help.el (help-window): Remove variable.
13987 (help-window-point-marker, temp-buffer-max-height)
13988 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
13989 (help-print-return-message): Don't set help-window.
13990 (resize-temp-buffer-window): Rewrite cod eand doc-string.
13991 (help-window-setup-finish): Remove.
13992 (help-window-display-message, help-window-setup)
13993 (with-help-window): Major rewrite based on new
13994 display-buffer-window variable.
13995
13996 * help-mode.el (help-mode-finish): Remove help-window related
13997 code.
13998
13999 * view.el (view-exits-all-viewing-windows): Remove reference to
14000 view-return-to-alist in doc-string.
14001 (view-return-to-alist): Make obsolete.
14002 (view-buffer): Call pop-to-buffer-same-window and remove
14003 undo-window code.
14004 (view-buffer-other-window): Call pop-to-buffer-other-window and
14005 simplify code. Ignore second argument.
14006 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
14007 simplify code. Ignore second argument.
14008 (view-return-to-alist-update): Make obsolete.
14009 (view-mode-enter): Rename second argument to QUIT-RESTORE.
14010 Rewrite using quit-restore window parameters.
14011 (view-mode-exit): Rename second argument to EXIT-ONLY.
14012 Rewrite using quit-restore-window.
14013 (View-exit, View-exit-and-edit, View-leave, View-quit)
14014 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
14015 appropriate arguments.
14016 (view-end-message): Use quit-restore window parameter.
14017
14018 * window.el (display-buffer-function): Rewrite doc-string.
14019 (display-buffer-window, display-buffer-alist): New variables.
14020 (display-buffer-split-specifiers)
14021 (display-buffer-side-specifiers)
14022 (display-buffer-macro-specifiers): New constants.
14023 (display-buffer-even-window-sizes, display-buffer-set-height)
14024 (display-buffer-set-width, display-buffer-select-window)
14025 (display-buffer-in-window, display-buffer-reuse-window)
14026 (display-buffer-split-window-1, display-buffer-split-window)
14027 (display-buffer-split-atom-window, display-buffer-pop-up-window)
14028 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
14029 (display-buffer-in-side-window, normalize-buffer-to-display)
14030 (display-buffer-normalize-specifiers-1)
14031 (display-buffer-normalize-specifiers-2)
14032 (display-buffer-normalize-specifiers, display-buffer-frame):
14033 New functions.
14034 (display-buffer): Major rewrite.
14035 (display-buffer-other-window, display-buffer-other-frame)
14036 (pop-to-buffer, switch-to-buffer-other-window)
14037 (switch-to-buffer-other-frame): Rewrite.
14038 (display-buffer-same-window, display-buffer-same-frame)
14039 (display-buffer-same-frame-other-window)
14040 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
14041 (pop-to-buffer-other-window)
14042 (pop-to-buffer-same-frame-other-window)
14043 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
14044 (switch-to-buffer-other-window-same-frame): New functions.
14045 (same-window-p, special-display-p): Rewrite disabling warnings.
14046 Make obsolete.
14047 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
14048 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
14049 Make obsolete
14050 (same-window-buffer-names, same-window-regexps)
14051 (special-display-frame-alist, special-display-popup-frame)
14052 (special-display-function, special-display-buffer-names)
14053 (special-display-regexps, pop-up-frame-alist)
14054 (pop-up-frame-function, split-window-preferred-function)
14055 (split-height-threshold, split-width-threshold)
14056 (even-window-heights): Make obsolete.
14057
14058 2011-06-12 Glenn Morris <rgm@gnu.org>
14059
14060 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
14061 Misc simplifications.
14062
14063 2011-06-12 Martin Rudalics <rudalics@gmx.at>
14064
14065 * window.el (window-safely-shrinkable-p): Restore function which
14066 was inadvertently removed in change from 2011-06-11. Declare as
14067 obsolete.
14068
14069 * calendar/calendar.el (calendar-generate-window):
14070 Use window-iso-combined-p instead of combination of one-window-p and
14071 window-safely-shrinkable-p.
14072
14073 2011-06-12 Glenn Morris <rgm@gnu.org>
14074
14075 * progmodes/fortran.el (fortran-mode-syntax-table):
14076 * progmodes/f90.el (f90-mode-syntax-table):
14077 Set % to punctuation. (Bug#8820)
14078 (f90-find-tag-default): Remove, no longer needed.
14079
14080 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
14081
14082 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
14083
14084 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
14085
14086 * image.el (image-animated-p): Return animation delay in seconds.
14087 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
14088 (image-animate-timeout): Remove DELAY argument. Don't assume
14089 every subimage has the same delay; get it from image-animated-p.
14090 (image-animate): Caller changed.
14091
14092 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
14093
14094 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
14095 to ignored backtrace functions.
14096
14097 2011-06-11 Glenn Morris <rgm@gnu.org>
14098
14099 * calendar/appt.el (appt-disp-window-function): Doc fix.
14100 (appt-check): Handle overlapping appointments. (Bug#8337)
14101
14102 2011-06-11 Martin Rudalics <rudalics@gmx.at>
14103
14104 * window.el (window-tree-1, window-tree): New functions, moving
14105 the latter to window.el.
14106 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
14107 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
14108 (bw-refresh-edges): Remove.
14109 (balance-windows-1, balance-windows-2): New functions.
14110 (balance-windows): Rewrite in terms of window tree functions,
14111 balance-windows-1 and balance-windows-2.
14112 (bw-adjust-window): Remove.
14113 (balance-windows-area-adjust): New function with functionality of
14114 bw-adjust-window but using resize-window.
14115 (set-window-text-height): Rewrite doc-string.
14116 Use normalize-live-window and resize-window.
14117 (enlarge-window-horizontally, shrink-window-horizontally):
14118 Rename argument to DELTA.
14119 (window-buffer-height): New function.
14120 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
14121 Rewrite using new window resize routines.
14122 (kill-buffer-and-window, mouse-autoselect-window-select):
14123 Use ignore-errors instead of condition-case.
14124 (quit-window): Call delete-frame instead of delete-windows-on
14125 for the only buffer on frame.
14126
14127 2011-06-10 Martin Rudalics <rudalics@gmx.at>
14128
14129 * loadup.el (top-level): Load window before files for the sake
14130 of replace-buffer-in-windows.
14131
14132 * files.el (read-buffer-to-switch)
14133 (switch-to-buffer-other-window)
14134 (switch-to-buffer-other-frame, display-buffer-other-frame):
14135 Move to window.el.
14136
14137 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
14138 (previous-buffer): Move to window.el.
14139
14140 * bindings.el (unbury-buffer): Move to window.el.
14141
14142 * window.el (delete-other-windows-vertically): Move after
14143 definition of delete-other-windows.
14144 (other-window, delete-windows-on, replace-buffer-in-windows):
14145 Move here from window.c.
14146 (record-window-buffer, unrecord-window-buffer)
14147 (set-window-buffer-start-and-point, switch-to-prev-buffer)
14148 (switch-to-next-buffer): New functions.
14149 (get-next-valid-buffer, last-buffer, next-buffer): Move here
14150 from simple.el. Call switch-to-next-buffer.
14151 (previous-buffer): Move here from simple.el.
14152 Call switch-to-prev-buffer.
14153 (bury-buffer): Move here from buffer.c. Switch to previous
14154 buffer when window cannot be deleted.
14155 (unbury-buffer): Move here from bindings.el.
14156 (ctl-x-map): Move binding for other-window from window.c to
14157 here.
14158 (read-buffer-to-switch, switch-to-buffer-other-window)
14159 (switch-to-buffer-other-frame): Move here from files.el.
14160 (normalize-buffer-to-switch-to): New functions.
14161 (switch-to-buffer): Move here from buffer.c.
14162 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
14163
14164 2011-06-10 Martin Rudalics <rudalics@gmx.at>
14165
14166 * window.el (window-min-height, window-min-width): Move here
14167 from window.c. Add defcustoms and rewrite doc-strings.
14168 (resize-mini-window, resize-window): New functions.
14169 (adjust-window-trailing-edge, enlarge-window, shrink-window):
14170 Move here from window.c.
14171 (maximize-window, minimize-window): New functions.
14172 (delete-window, delete-other-windows, split-window): Move here
14173 from window.c.
14174 (window-split-min-size): New function.
14175 (split-window-keep-point): Mention split-window-above-each-other
14176 instead of split-window-vertically.
14177 (split-window-above-each-other, split-window-vertically):
14178 Rename split-window-vertically to split-window-above-each-other
14179 and provide defalias for old definition.
14180 (split-window-side-by-side, split-window-horizontally):
14181 Rename split-window-horizontally to split-window-side-by-side
14182 and provide defalias for the old definition.
14183 (ctl-x-map): Move bindings for delete-window,
14184 delete-other-windows and enlarge-window here from window.c.
14185 Replace bindings for split-window-vertically and
14186 split-window-horizontally by bindings for
14187 split-window-above-each-other and split-window-side-by-side.
14188
14189 * cus-start.el (all): Remove entries for window-min-height and
14190 window-min-width. Add entries for window-splits and
14191 window-nest.
14192
14193 2011-06-09 Glenn Morris <rgm@gnu.org>
14194
14195 * calendar/appt.el (appt-mode-line): New function.
14196 (appt-check, appt-disp-window): Use it.
14197
14198 * files.el (hack-one-local-variable-eval-safep):
14199 Allow minor-modes with explicit +/-1 arguments.
14200
14201 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
14202
14203 * term/xterm.el (xterm): Add defgroup.
14204 (xterm-extra-capabilities): Add defcustom to supply known xterm
14205 capabilities, skip querying them, or query them (default).
14206 (terminal-init-xterm): Use it.
14207 (terminal-init-xterm-modify-other-keys): New function to set up
14208 modifyOtherKeys support to simplify `terminal-init-xterm'.
14209
14210 2011-06-09 Martin Rudalics <rudalics@gmx.at>
14211
14212 * window.el (resize-window-reset, resize-window-reset-1)
14213 (resize-subwindows-skip-p, resize-subwindows-normal)
14214 (resize-subwindows, resize-other-windows, resize-this-window)
14215 (resize-root-window, resize-root-window-vertically)
14216 (window-deletable-p, window-or-subwindow-p)
14217 (frame-root-window-p): New functions.
14218
14219 2011-06-09 Glenn Morris <rgm@gnu.org>
14220
14221 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
14222 (ange-ftp-get-files): Use it.
14223
14224 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
14225
14226 * mail/sendmail.el (mail-recover-1, mail-recover):
14227 * files.el (recover-file, recover-session):
14228 Handle dired-listing-switches not being just a single short option.
14229
14230 2011-06-09 Glenn Morris <rgm@gnu.org>
14231
14232 * calendar/appt.el (appt-display-message, appt-disp-window):
14233 Handle lists of appointments.
14234
14235 2011-06-08 Martin Rudalics <rudalics@gmx.at>
14236
14237 * window.el (one-window-p): Move down in code.
14238 Rewrite doc-string.
14239 (window-current-scroll-bars): Rewrite doc-string.
14240 Normalize live window argument.
14241 (walk-windows, get-window-with-predicate, count-windows):
14242 Rewrite doc-string. Use window-list-1.
14243 (window-in-direction-2, window-in-direction, get-mru-window):
14244 New functions.
14245
14246 2011-06-08 Reuben Thomas <rrt@sc3d.org>
14247
14248 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
14249 Doc fix (Bug#8713).
14250
14251 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
14252
14253 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
14254
14255 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
14256
14257 * loadhist.el (unload-feature-special-hooks):
14258 Add `comint-output-filter-functions'.
14259
14260 2011-06-08 Ivan Kanis <gnu@kanis.fr>
14261
14262 * calendar/appt.el (appt-check): Move some initializations into the let.
14263
14264 2011-06-08 Martin Rudalics <rudalics@gmx.at>
14265
14266 * window.el (window-height): Defalias to window-total-height.
14267 (window-width): Defalias to window-body-width.
14268
14269 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
14270
14271 * image-mode.el (image-toggle-animation): New command.
14272 (image-mode-map): Bind it to RET.
14273 (image-mode): Update message.
14274 (image-toggle-display-image): Avoid a spurious cache flush.
14275 (image-transform-rotation): Doc fix.
14276 (image-transform-properties): Return quickly in the normal case.
14277 (image-animate-loop): Rename from image-animate-max-time.
14278
14279 * image.el (image-animate-max-time): Move to image-mode.el.
14280 (create-animated-image): Remove unnecessary function.
14281 (image-animate): Rename from image-animate-start. New arg.
14282 (image-animate-stop): Remove; just use image-animate-timer.
14283 (image-animate-timer): Use car-safe.
14284 (image-animate-timeout): Rename argument.
14285
14286 2011-06-07 Martin Rudalics <rudalics@gmx.at>
14287
14288 * window.el (get-lru-window, get-largest-window): Move here from
14289 window.c. Rename first argument to ALL-FRAMES.
14290 Rephrase doc-strings.
14291 (get-buffer-window-list): Rewrite using window-list-1.
14292 Rephrase doc-string.
14293 (window-safe-min-height, window-safe-min-width): New constants.
14294 (window-size-ignore, window-min-size, window-min-size-1)
14295 (window-sizable, window-sizable-p, window-size-fixed-1)
14296 (window-size-fixed-p, window-min-delta-1, window-min-delta)
14297 (window-max-delta-1, window-max-delta, window-resizable)
14298 (window-resizable-p, window-total-height, window-total-width)
14299 (window-body-width): New functions.
14300 (window-full-height-p, window-full-width-p): Rewrite using
14301 window-total-size.
14302 (window-body-height): Rewrite using window-body-size.
14303
14304 2011-06-06 Martin Rudalics <rudalics@gmx.at>
14305
14306 * window.el (window-right, window-left, window-child)
14307 (window-child-count, window-last-child, window-any-p)
14308 (normalize-live-buffer, normalize-live-frame)
14309 (normalize-any-window, normalize-live-window)
14310 (window-iso-combination-p, window-iso-combined-p)
14311 (window-iso-combinations)
14312 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
14313 (windows-with-parameter, window-with-parameter)
14314 (window-atom-root, make-window-atom, window-atom-check-1)
14315 (window-atom-check, window-side-check, window-check):
14316 New functions.
14317 (ignore-window-parameters, window-sides, window-sides-vertical)
14318 (window-sides-slots): New variables.
14319 (window-size-fixed): Move down in code. Minor doc-string fix.
14320
14321 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
14322
14323 * comint.el (comint-dynamic-complete-as-filename)
14324 (comint-dynamic-complete-filename): Correctly call
14325 completion-in-region.
14326
14327 2011-06-05 Deniz Dogan <deniz@dogan.se>
14328
14329 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
14330 in last change.
14331
14332 2011-06-05 Deniz Dogan <deniz@dogan.se>
14333
14334 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
14335 (rcirc): Use it to prompt for encryption.
14336
14337 2011-06-05 Roland Winkler <winkler@gnu.org>
14338
14339 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
14340 (bibtex-search-entries): New command bound to C-c C-a.
14341 (bibtex-display-entries): New function.
14342
14343 2011-06-05 Roland Winkler <winkler@gnu.org>
14344
14345 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
14346 (bibtex-insert-kill): After yanking insert newline if necessary.
14347 (bibtex-initialize): Call bibtex-string-files-init only once.
14348 (bibtex-mode): Do not call easy-menu-add.
14349 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
14350 (bibtex-yank): Set arg properly if nil.
14351
14352 2011-06-05 Roland Winkler <winkler@gnu.org>
14353
14354 * textmodes/bibtex.el (bibtex-search-entry-globally):
14355 New variable.
14356 (bibtex-search-entry): Use it.
14357
14358 2011-06-05 Roland Winkler <winkler@gnu.org>
14359
14360 * textmodes/bibtex.el (bibtex-entry-format): New option
14361 sort-fields.
14362 (bibtex-format-entry, bibtex-reformat): Honor this option.
14363 (bibtex-parse-entry): Return fields in proper order.
14364
14365 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
14366
14367 * doc-view.el (doc-view-remove-if): Move computation of result out
14368 of `dolist' to silence misleading lexical-binding warning.
14369
14370 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
14371
14372 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
14373 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
14374
14375 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
14376
14377 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
14378 "SunOS 5.10".
14379
14380 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
14381
14382 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
14383 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
14384 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
14385 (tramp-parse-putty):
14386 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
14387 (tramp-completion-function-alist-ssh)
14388 (tramp-completion-function-alist-telnet)
14389 (tramp-completion-function-alist-su)
14390 (tramp-completion-function-alist-putty): Set `tramp-autoload'
14391 cookie.
14392
14393 * net/tramp-ftp.el:
14394 * net/tramp-sh.el:
14395 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
14396 load "tramp.el" `tramp-set-completion-function'.
14397
14398 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
14399
14400 * shell.el: Require and use pcomplete.
14401 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
14402 (shell-completion-vars): Set pcomplete-default-completion-function.
14403
14404 2011-06-04 Deniz Dogan <deniz@dogan.se>
14405
14406 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
14407 `memq' (Bug#8799).
14408
14409 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
14410
14411 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
14412
14413 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
14414
14415 * bs.el (bs--mark-unmark, bs--nth-wrapper):
14416 * mpc.el (mpc-select-extend, mpc-songpointer-context):
14417 * vc/log-view.el (log-view-beginning-of-defun):
14418 * vc/smerge-mode.el (smerge-apply-resolution-patch)
14419 (smerge-refine-forward, smerge-refine-chopup-region):
14420 Silence warning for unused `dotimes' counter variables.
14421
14422 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
14423
14424 * net/tramp.el (tramp-with-progress-reporter): Rename from
14425 with-progress-reporter. Use `declare'.
14426 * net/tramp-smb.el:
14427 * net/tramp-sh.el:
14428 * net/tramp-gvfs.el: Update all uses.
14429
14430 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
14431
14432 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
14433 buffer isn't killed before making it current.
14434
14435 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
14436
14437 Silence various byte-compiler warnings.
14438 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
14439 `access-type' and new obsolescence format.
14440 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
14441 new format.
14442 (byte-compile-check-variable): New `access-type' argument.
14443 Only warn if the access-type is obsolete.
14444 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
14445 (byte-compile-variable-set): Adjust callers.
14446 * help-fns.el (describe-variable): Adjust to new obsolescence format.
14447 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
14448 setting it as obsolete.
14449 * simple.el (minibuffer-completing-symbol):
14450 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
14451 access as obsolete.
14452 * minibuffer.el (minibuffer-completing-file-name): Don't make it
14453 obsolete yet.
14454 * international/quail.el (quail-mouse-choose-completion): Remove unused
14455 code referring to obsolete var.
14456 (quail-choose-completion-string): Remove.
14457 * server.el (server-clients-with, server-kill-buffer-query-function)
14458 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
14459 * proced.el (proced-send-signal):
14460 * emacs-lisp/lisp.el (lisp-complete-symbol):
14461 Replace completion-annotate-function with completion-extra-properties.
14462
14463 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
14464
14465 * simple.el (goto-line): Use read-number.
14466 (overriding-map-is-bound): Remove.
14467 (saved-overriding-map): Change default.
14468 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
14469 Take the map as argument.
14470 (universal-argument, negative-argument, digit-argument): Use it.
14471 (restore-overriding-map): Adjust.
14472 (do-auto-fill): Use fill-forward-paragraph.
14473 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
14474
14475 * minibuffer.el (minibuffer-inactive-mode-map): New var.
14476 (minibuffer-inactive-mode): New major mode.
14477 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
14478 the *Messages* buffer" hack.
14479 (mouse-popup-menubar): Don't burp if the event is a normal key.
14480
14481 Miscellaneous tweaks.
14482 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
14483 lexical scoping as in subr.el's dolist and dotimes.
14484 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
14485 Silence compiler warning.
14486 * thingatpt.el (forward-whitespace): Trivial coding style fix.
14487 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
14488 * international/ccl.el (ccl-compile): Trivial simplification.
14489 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
14490 * emacs-lisp/testcover.el (testcover-end): Remove spurious
14491 `printflag' argument.
14492 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
14493 Purecopy the whole obsolescence data.
14494
14495 2011-06-01 Leo Liu <sdl.web@gmail.com>
14496
14497 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
14498 improve doc-string as suggested by Marco Pessotto
14499 <melmothx@gmail.com>.
14500 (rcirc-print): Fix last change.
14501
14502 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
14503
14504 * minibuffer.el (complete-with-action): Return nil for the metadata and
14505 boundaries of non-functional tables.
14506 (completion-table-dynamic): Return nil for the metadata.
14507 (completion-table-with-terminator): Add default case, using
14508 complete-with-action.
14509 (completion--metadata): New function.
14510 (completion-all-sorted-completions, minibuffer-completion-help): Use it
14511 to try and avoid pathological performance problems.
14512 (completion--embedded-envvar-table): Return `category' metadata.
14513
14514 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
14515
14516 * subr.el (process-alive-p): New tiny convenience function.
14517
14518 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
14519
14520 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
14521 content but also its previous major mode.
14522
14523 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
14524
14525 * emacs-lisp/debug.el (debug): Restore the previous content of the
14526 *Backtrace* buffer when we exit with C-M-c.
14527
14528 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
14529
14530 * minibuffer.el: Add metadata method to completion tables.
14531 (completion-category-overrides): New defcustom.
14532 (completion-metadata, completion--field-metadata)
14533 (completion-metadata-get, completion--styles)
14534 (completion--cycle-threshold): New functions.
14535 (completion-try-completion, completion-all-completions):
14536 Add `metadata' argument to choose completion-styles.
14537 (completion--do-completion): Use metadata to choose cycling.
14538 (completion-all-sorted-completions): Use metadata for sorting.
14539 Remove :completion-cycle-penalty which is not needed any more.
14540 (completion--try-word-completion): Add `metadata' argument.
14541 (minibuffer-completion-help): Check metadata for annotation function
14542 and sorting.
14543 (completion-file-name-table): Return `category' metadata.
14544 (minibuffer-completing-file-name): Make obsolete.
14545 * simple.el (minibuffer-completing-symbol): Make obsolete.
14546 * icomplete.el (icomplete-completions): Pass new `metadata' param to
14547 completion-try-completion.
14548
14549 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
14550
14551 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
14552
14553 2011-05-30 Leo Liu <sdl.web@gmail.com>
14554
14555 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
14556 (rcirc-print): Decode all incoming messages (bug#8744).
14557 (rcirc-decode-coding-system): Allow value nil for automatic coding
14558 system detection.
14559
14560 2011-06-01 Glenn Morris <rgm@gnu.org>
14561
14562 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
14563
14564 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
14565
14566 * image.el (image-animate-max-time): Allow nil and t values.
14567 Default to nil.
14568 (create-animated-image): Doc fix.
14569 (image-animate-start): Remove second arg; just use
14570 image-animate-max-time.
14571 (image-animate-timeout): Doc fix. Args changed.
14572
14573 * image-mode.el (image-toggle-display-image): Ensure that the
14574 image spec passed to the animate timer is the same object as in
14575 the buffer's display property (Bug#6981).
14576 (image-transform-properties): Doc fix.
14577
14578 * image.el (image-animate-max-time): Default to nil.
14579
14580 2011-05-29 Martin Rudalics <rudalics@gmx.at>
14581
14582 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
14583 entire buffer list (Bug#8184).
14584
14585 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
14586
14587 * image.el (imagemagick-types-inhibit)
14588 (imagemagick-register-types): Doc fix.
14589
14590 2011-05-29 Deniz Dogan <deniz@dogan.se>
14591
14592 * net/rcirc.el (rcirc): Use the user's stored encryption method by
14593 default.
14594
14595 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
14596
14597 * select.el: Don't perform clipboard-manager saving in hooks;
14598 leave the hooks empty.
14599
14600 2011-05-28 Leo Liu <sdl.web@gmail.com>
14601
14602 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
14603 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
14604 (occur-edit-mode): New major mode (Bug#8463).
14605 (occur-after-change-function): New function.
14606 (occur-engine): Give Occur tags a read-only property.
14607
14608 2011-05-28 Kevin Ryde <user42@zip.com.au>
14609
14610 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
14611
14612 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
14613
14614 * bindings.el (help-echo): Make the initial non-indicator dash
14615 empty on graphical terminals (Bug#7295).
14616
14617 * files.el (auto-mode-alist): Move config rule after the
14618 in-stripping one (Bug#8547).
14619
14620 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
14621
14622 * startup.el (normal-splash-screen): Remove gratuitous mode-line
14623 setting (Bug#8740).
14624
14625 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
14626
14627 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
14628 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
14629 (Bug#8539).
14630
14631 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
14632
14633 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
14634
14635 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
14636
14637 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
14638 (hs-hide-block-at-point, hs-find-block-beginning)
14639 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
14640 (Bug#8279).
14641
14642 2011-05-28 Glenn Morris <rgm@gnu.org>
14643
14644 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
14645
14646 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
14647
14648 * help-fns.el (describe-function-1): If the function is a derived
14649 major mode, print the parent mode.
14650
14651 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
14652 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
14653
14654 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
14655
14656 * minibuffer.el (completion--capf-wrapper): Check applicability before
14657 returning non-nil for non-exclusive completion data.
14658 * progmodes/etags.el (tags-completion-at-point-function):
14659 * info-look.el (info-lookup-completions-at-point): Mark as
14660 non-exclusive.
14661 (info-complete): Adjust accordingly.
14662
14663 * info-look.el: Convert to lexical-binding and completion-at-point.
14664 (info-lookup-completions-at-point): New function.
14665 (info-complete): Use it and completion-in-region.
14666
14667 2011-05-28 Drew Adams <drew.adams@oracle.com>
14668
14669 * isearch.el: Let M-e start with point at the first mismatched char.
14670 (isearch-fail-pos): New function.
14671 (isearch-edit-string): Use it.
14672
14673 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
14674
14675 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
14676
14677 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
14678
14679 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
14680 traversal functions for avl-trees.
14681 (avl-tree--stack): New struct.
14682 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
14683 (avl-tree-enter): Add optional `updatefun' arg.
14684 (avl-tree--do-enter): Add optional `updatefun' arg.
14685 Change return value.
14686 (avl-tree-delete): Add optional `test' and `nilflag' args.
14687 (avl-tree--do-delete): Add `test' and `nilflag' args.
14688 Change return value.
14689 (avl-tree-member): Add optional `nilflag'
14690 (avl-tree-member-p): New function.
14691 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
14692 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
14693 (avl-tree-stack-empty-p): New functions.
14694
14695 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
14696 avl-tree--del-balance1 and make it work both ways.
14697 (avl-tree--del-balance2): Remove.
14698 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
14699 make it work both ways.
14700 (avl-tree--enter-balance2): Remove.
14701 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
14702 New macros.
14703 (avl-tree--mapc, avl-tree-map): Add direction argument.
14704
14705 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
14706
14707 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
14708
14709 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
14710
14711 * select.el: Support clipboard managers with built-in function
14712 x-clipboard-manager-save, via delete-frame-functions and
14713 kill-emacs-hook.
14714 (xselect-convert-to-targets): Add MULTIPLE target to list.
14715 (xselect-convert-to-save-targets): New function.
14716
14717 2011-05-27 Kenichi Handa <handa@m17n.org>
14718
14719 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
14720 let-binding rfc2047-encode-encoded-words to nil.
14721
14722 2011-05-27 Glenn Morris <rgm@gnu.org>
14723
14724 * mail/emacsbug.el: Don't require url-util.
14725
14726 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
14727
14728 * files.el (set-auto-mode):
14729 Also respect mode: entries at the end of the file. (Bug#8586)
14730
14731 2011-05-26 Glenn Morris <rgm@gnu.org>
14732
14733 * files.el (hack-local-variables-prop-line, hack-local-variables):
14734 Downcase mode names, as seems to be traditional.
14735 (hack-local-variables, hack-local-variables-apply): Doc fixes.
14736
14737 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
14738 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
14739
14740 2011-05-25 Julien Danjou <julien@danjou.info>
14741
14742 * textmodes/rst.el (rst-define-level-faces): Do not define face
14743 symbol if it is already defined.
14744
14745 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
14746
14747 * play/5x5.el (5x5-new-game, 5x5-randomize):
14748 Reset 5x5-solver-output to nil when a new grid is cast.
14749 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
14750 these debugging traces, as defmacro breaks the compiled code.
14751
14752 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
14753
14754 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
14755
14756 2011-05-24 Leo Liu <sdl.web@gmail.com>
14757
14758 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
14759 (vc-bzr-sha1): Adapt.
14760
14761 * sha1.el: Remove. Function `sha1' is now builtin.
14762
14763 * bindings.el: Provide sha1 feature.
14764
14765 2011-05-24 Kenichi Handa <handa@m17n.org>
14766
14767 * mail/sendmail.el: Require `rfc2047'.
14768 (mail-insert-from-field): Do not perform RFC2047 encoding.
14769 (mail-encode-header): New function.
14770 (sendmail-send-it): Set buffer-file-coding-system of the work
14771 buffer to the return value of select-message-coding-system.
14772 Call mail-encode-header.
14773
14774 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
14775
14776 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
14777
14778 * mail/supercite.el (sc-default-cite-frame):
14779 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
14780
14781 2011-05-24 Glenn Morris <rgm@gnu.org>
14782
14783 * progmodes/python.el (brm-menu): Declare.
14784
14785 * emulation/viper.el (viper-set-hooks): Declare.
14786
14787 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
14788 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
14789 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
14790 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
14791 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
14792 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
14793
14794 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
14795
14796 Add an :exit-function for completion-at-point.
14797
14798 * minibuffer.el (completion--done): New fun.
14799 (completion--do-completion): Use it. New arg `expect-exact'.
14800 (minibuffer-complete, minibuffer-complete-word): Don't output message,
14801 since completion--do-completion does it for us now.
14802 (minibuffer-force-complete): Use completion--done and
14803 completion--replace. Handle sole-completion case with more care.
14804 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
14805 (completion-extra-properties): New var.
14806 (completion-annotate-function): Make obsolete.
14807 (minibuffer-completion-help): Adjust accordingly.
14808 Use completion-list-insert-choice-function.
14809 (completion-at-point, completion-help-at-point):
14810 Bind completion-extra-properties.
14811 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
14812 * simple.el (completion-list-insert-choice-function): New var.
14813 (completion-setup-function): Preserve it.
14814 (choose-completion): Pay attention to it, shuffle the code a bit.
14815 (choose-completion-string): New arg `insert-function'.
14816
14817 * textmodes/bibtex.el: Convert to lexical binding.
14818 (bibtex-mode-map): Use completion-at-point.
14819 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
14820 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
14821 (bibtex-complete): Define as obsolete alias.
14822 (bibtex-complete-internal): Remove.
14823 (bibtex-format-entry): Remove unused sub-group in regexp.
14824 * shell.el (shell--command-completion-data)
14825 (shell-environment-variable-completion):
14826 * pcomplete.el (pcomplete-completions-at-point):
14827 * comint.el (comint--complete-file-name-data): Use :exit-function
14828 instead of completion-table-with-terminator so it also works for
14829 choose-completion.
14830
14831 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
14832
14833 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
14834
14835 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
14836 (bug#8710).
14837
14838 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
14839
14840 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
14841
14842 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
14843 customization variable and implement: If non-nil, auto-fill will
14844 be inhibited while on topic's header line.
14845
14846 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
14847
14848 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
14849 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
14850 always have a solution in grid size = 5 cases.
14851 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
14852 (5x5-solver-output, 5x5-log-buffer): New vars.
14853 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
14854 Make these variables buffer local to achieve 5x5 multi-session-ness.
14855 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
14856 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
14857 (5x5-solve-suggest): New funs.
14858 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
14859 randomize a grid so that we ensure that there is always a solution.
14860 (5x5-make-random-grid): Allow other movement than flipping.
14861
14862 2011-05-23 Kevin Ryde <user42@zip.com.au>
14863
14864 * emacs-lisp/advice.el (ad-read-advised-function):
14865 Use `function-called-at-point' as the default, if it has
14866 advice and passes PREDICATE.
14867
14868 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
14869
14870 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
14871 byte-compile-lambda if it's actually a lambda.
14872
14873 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
14874 Fix function quoting. Use backquote better.
14875
14876 2011-05-22 Yuanle Song <sylecn@gmail.com>
14877
14878 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
14879 matching (Bug#8516).
14880
14881 2011-01-22 Jari Aalto <jari.aalto@cante.net>
14882
14883 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
14884 different face (Bug#8178).
14885
14886 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
14887
14888 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
14889 defface (Bug#8144).
14890
14891 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
14892
14893 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
14894 funcall as well (bug#8712). Warn when performing those conversions.
14895 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
14896
14897 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
14898
14899 2011-05-22 Glenn Morris <rgm@gnu.org>
14900
14901 * files.el (hack-local-variables-prop-line): Small simplifications.
14902 (hack-local-variables, hack-local-variables-prop-line):
14903 If MODE-ONLY, return the mode, rather than just `t'.
14904
14905 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
14906
14907 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
14908
14909 2011-05-21 Glenn Morris <rgm@gnu.org>
14910
14911 * files.el (hack-local-variables-prop-line, hack-local-variables):
14912 If only interested in the mode, don't bother doing the other stuff.
14913
14914 * image-mode.el (image-after-revert-hook):
14915 Redraw all frames on which the image is visible. (Bug#8567)
14916
14917 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
14918
14919 * wid-edit.el (widget-checklist-match-inline):
14920 Fix 2011-04-19 change. (Bug#8649)
14921
14922 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
14923
14924 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
14925 Also allow singlespace after single-letter capitals followed by a dot.
14926
14927 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
14928 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
14929
14930 2011-05-20 Nix <nix@esperi.org.uk>
14931
14932 * files.el (basic-save-buffer-2):
14933 Fix handling of break-hardlink-on-save with non-existent files.
14934
14935 2011-05-19 Deniz Dogan <deniz@dogan.se>
14936
14937 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
14938 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
14939
14940 2011-05-19 Glenn Morris <rgm@gnu.org>
14941
14942 * progmodes/f90.el (f90-type-def-re):
14943 Handle "type, bind(c)". (Bug#8691)
14944
14945 * emacs-lisp/autoload.el (batch-update-autoloads):
14946 Set autoload-excludes by parsing loadup.el rather than Makefiles.
14947
14948 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
14949
14950 * net/tramp.el (tramp-process-actions): Set "first-password-request"
14951 property for the correct connection in case of multihops.
14952
14953 2011-05-18 Glenn Morris <rgm@gnu.org>
14954
14955 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
14956 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
14957
14958 Rationalize calendar handling of day and month abbrev-arrays.
14959 * calendar/calendar.el (calendar-customized-p): New function.
14960 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
14961 (calendar-day-name-array, calendar-month-name-array): Doc fix.
14962 Add :set function.
14963 (calendar-abbrev-length, calendar-day-abbrev-array)
14964 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
14965 (calendar-day-abbrev-array, calendar-month-abbrev-array):
14966 Elements may no longer be nil.
14967 (calendar-day-name, calendar-month-name):
14968 Update for changed nature of abbrev arrays.
14969 * calendar/diary-lib.el (diary-name-pattern):
14970 Update for changed nature of abbrev arrays.
14971 (diary-mark-entries-1): Update calendar-make-alist calls.
14972 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
14973 * calendar/cal-html.el (cal-html-day-abbrev-array):
14974 Simply inherit from calendar-day-abbrev-array.
14975
14976 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
14977
14978 * progmodes/grep.el (grep-mode): Disable default
14979 compilation-directory-matcher setting (bug#8684).
14980
14981 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
14982
14983 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
14984 instead of "head" and "tail". There were problems with SunOS 5.9,
14985 and it performs better.
14986
14987 2011-05-17 Glenn Morris <rgm@gnu.org>
14988
14989 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
14990
14991 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
14992 Replace obsolete function.
14993
14994 * shell.el (pcomplete-parse-arguments-function): Declare.
14995
14996 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
14997 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
14998 (appt-check): Doc fixes.
14999 (appt-disp-window-function, appt-delete-window-function):
15000 Remove needless special case in custom :type.
15001 (appt-display-count): Default to 0, not nil.
15002 (appt-check): Reset appt-display-count to 0, not nil.
15003
15004 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
15005
15006 * progmodes/python.el (python-font-lock-keywords):
15007 Add the Python 3.X keyword "nonlocal" (bug#8639).
15008
15009 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
15010
15011 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
15012
15013 2011-05-16 Kevin Ryde <user42@zip.com.au>
15014
15015 * info-look.el (makefile-automake-mode): New setups, looking in
15016 automake manual, then makefile-mode.
15017 (makefile-mode): Remove automake manual, have it just in
15018 makefile-automake-mode since there's various things different or
15019 not relevant to plain make.
15020 (makefile-mode): Remove "other-modes" non-existent automake-mode,
15021 believe a hypothetical automake-mode would go to makefile-mode,
15022 not the other way around.
15023
15024 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
15025
15026 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
15027 hunk-end tags (Bug#8672).
15028
15029 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
15030 vc-annotate-show-diff-revision-at-line (Bug#8671).
15031
15032 2011-05-14 Glenn Morris <rgm@gnu.org>
15033
15034 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
15035 in the middle of an existing one with multiple authors. (Bug#8645)
15036 (change-log-font-lock-keywords): Also handle multiple author lines
15037 with leading tabs. (Bug#8644)
15038
15039 * calendar/appt.el (appt-check): Rename some local variables.
15040 Some simplification/reordering.
15041
15042 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
15043 (feedmail-sendmail-f-doesnt-sell-me-out)
15044 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
15045 (feedmail-debug-sit-for, feedmail-queue-express-hook)
15046 (feedmail-queue-runner-message-sender): Set :version.
15047 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
15048 (bbdb-dwim-net-address, vm-mail): Declare.
15049 (feedmail-binmail-gnulinuxish-template):
15050 Rename from feedmail-binmail-linuxish-template.
15051 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
15052 Use insert-buffer-substring.
15053
15054 2011-05-14 Bill Carpenter <bill@carpenter.org>
15055
15056 * mail/feedmail.el (feedmail-patch-level): Increase.
15057 (feedmail-debug): New custom group.
15058 (feedmail-confirm-outgoing-timeout)
15059 (feedmail-sendmail-f-doesnt-sell-me-out)
15060 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
15061 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
15062 (feedmail-sender-line, feedmail-from-line)
15063 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
15064 (feedmail-spray-this-address)
15065 (feedmail-spray-address-fiddle-plex-list)
15066 (feedmail-queue-use-send-time-for-date)
15067 (feedmail-queue-use-send-time-for-message-id)
15068 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
15069 (feedmail-buffer-eating-function):
15070 Doc fixes.
15071 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
15072 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
15073 (feedmail-message-action-scroll-down): New functions.
15074 (feedmail-queue-directory, feedmail-queue-draft-directory):
15075 Use expand-file-name.
15076 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
15077 Remove C-v help entry.
15078 (feedmail-queue-buffer-file-name): New variable.
15079 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
15080 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
15081 (feedmail-message-action-send-strong, feedmail-message-action-edit)
15082 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
15083 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
15084 (feedmail-message-action-toggle-spray)
15085 (feedmail-run-the-queue-no-prompts)
15086 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
15087 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
15088 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
15089 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
15090 (feedmail-envelope-deducer, feedmail-fiddle-from)
15091 (feedmail-fiddle-sender, feedmail-default-date-generator)
15092 (feedmail-fiddle-date, feedmail-fiddle-message-id)
15093 (feedmail-fiddle-spray-address)
15094 (feedmail-fiddle-list-of-spray-fiddle-plexes)
15095 (feedmail-fiddle-list-of-fiddle-plexes)
15096 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
15097 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
15098 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
15099 Change default. Doc fix.
15100 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
15101 (feedmail-binmail-linuxish-template): New constant.
15102 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
15103 Respect feedmail-sendmail-f-doesnt-sell-me-out.
15104 (feedmail-send-it): Add debug call.
15105 Use feedmail-queue-buffer-file-name, and
15106 feedmail-send-it-immediately-wrapper.
15107 (feedmail-message-action-send): Add debug call.
15108 Use feedmail-send-it-immediately-wrapper.
15109 (feedmail-queue-express-to-queue): Add debug call.
15110 Run feedmail-queue-express-hook.
15111 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
15112 (feedmail-message-action-help-blat):
15113 Rename from feedmail-queue-send-edit-prompt-help-first.
15114 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
15115 Check line-endings. Handle errors better.
15116 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
15117 Doc fix. Add debug call.
15118 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
15119 Use feedmail-queue-send-edit-prompt-inner.
15120 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
15121 (feedmail-queue-send-edit-prompt-inner): New function, extracted
15122 from feedmail-queue-send-edit-prompt.
15123 (feedmail-queue-send-edit-prompt-help)
15124 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
15125 (feedmail-tidy-up-slug): Add debug call.
15126 Respect feedmail-queue-slug-suspect-regexp.
15127 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
15128 (feedmail-dump-message-to-queue): Add debug call.
15129 Expand queue-directory.
15130 (feedmail-dump-message-to-queue): Change message slightly.
15131 Use feedmail-say-chatter.
15132 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
15133 (feedmail-send-it-immediately-wrapper): New function.
15134 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
15135 Insert empty string rather than newline. Handle full-frame case.
15136 Use catch/throw. Use feedmail-say-chatter.
15137 (feedmail-fiddle-from): Try mail-host-address.
15138 (feedmail-default-message-id-generator): Doc fix.
15139 Bind system-time-locale. Handle missing end.
15140 (feedmail-fiddle-x-mailer): Add debug call.
15141 Handle feedmail-x-mailer-line being nil.
15142 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
15143 Add debug call. Use buffer-substring-no-properties.
15144 (feedmail-say-debug, feedmail-say-chatter): New functions.
15145 (feedmail-find-eoh): Give an explicit error.
15146
15147 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
15148
15149 * net/newst-treeview.el (newsticker-treeview-face): Change default
15150 family from helvetica to sans.
15151 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
15152 etc/images/newsticker.
15153
15154 * net/newst-reader.el (newsticker-feed-face): Change default
15155 family from helvetica to sans.
15156
15157 * net/newst-plainview.el (newsticker-new-item-face)
15158 (newsticker-old-item-face, newsticker-immortal-item-face)
15159 (newsticker-obsolete-item-face, newsticker-date-face)
15160 (newsticker-statistics-face): Change default family from
15161 helvetica to sans.
15162 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
15163 etc/images/newsticker.
15164
15165 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
15166 (newsticker--process-auto-mark-filter-match): Tell user about
15167 auto-marking.
15168
15169 2011-05-13 Didier Verna <didier@xemacs.org>
15170
15171 Common Lisp indentation improvements on defmethod and lambda-lists.
15172 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
15173 TODO entries.
15174 (lisp-lambda-list-keyword-parameter-indentation)
15175 (lisp-lambda-list-keyword-parameter-alignment)
15176 (lisp-lambda-list-keyword-alignment): New customizable user options.
15177 (lisp-indent-defun-method): Improve docstring.
15178 (extended-loop-p): Fix comment.
15179 (lisp-indent-lambda-list-keywords-regexp): New variable.
15180 (lisp-indent-lambda-list): New function.
15181 (lisp-indent-259): Use it.
15182 (lisp-indent-defmethod): Support for more than one
15183 method qualifier and properly indent methods lambda-lists.
15184 (defgeneric): Provide a missing common-lisp-indent-function property.
15185
15186 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
15187
15188 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
15189 bounds for the empty string (bug#8667).
15190
15191 2011-05-13 Glenn Morris <rgm@gnu.org>
15192
15193 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
15194
15195 * mail/sendmail.el (sendmail-program): Try executable-find first.
15196 (sendmail-send-it): `sendmail-program' cannot be unbound.
15197
15198 * calendar/appt.el (appt-make-list): Simplify.
15199 (appt-time-msg-list): Doc fix.
15200 (appt-check): Change mode-line message at the time of the appointment.
15201
15202 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
15203
15204 * progmodes/ld-script.el (ld-script-keywords)
15205 (ld-script-builtins): Update keywords list.
15206
15207 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
15208
15209 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
15210
15211 * shell.el (shell-completion-vars): New function.
15212 (shell-mode):
15213 * simple.el (read-shell-command): Use it.
15214 (blink-matching-open): No need for " [...]" in minibuffer-message.
15215
15216 2011-05-12 Glenn Morris <rgm@gnu.org>
15217
15218 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
15219 (appt-check): Simplify.
15220
15221 2011-05-12 Eli Zaretskii <eliz@gnu.org>
15222
15223 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
15224 literal "/dev/null".
15225
15226 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
15227
15228 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
15229 Fix typo.
15230
15231 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
15232
15233 * progmodes/which-func.el (which-function):
15234 Use add-log-current-defun instead of add-log-current-defun-function,
15235 which might not be defined (Bug#8260).
15236
15237 2011-05-12 Glenn Morris <rgm@gnu.org>
15238
15239 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
15240 Let byte-compile-initial-macro-environment always take precedence.
15241
15242 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
15243
15244 * net/rcirc.el: Add support for SSL/TLS connections.
15245 (rcirc-server-alist): New field `encryption'.
15246 (rcirc): Check `encryption' settings.
15247 (rcirc-connect): New arg `encryption'. Use open-network-stream.
15248 Merge make-local-variable into `set'.
15249 (rcirc--connection-open-p): New function.
15250 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
15251 the process is not a network process (e.g. running gnutls-cli).
15252 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
15253 Make rcirc-(en|de)code-coding-system local here.
15254 (rcirc-mode): Merge make-local-variable into `set'.
15255 (rcirc-parent-buffer): Make permanent buffer-local.
15256 (rcirc-multiline-minor-mode): Don't do it here.
15257 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
15258 there's no server buffer.
15259
15260 2011-05-11 Glenn Morris <rgm@gnu.org>
15261
15262 * newcomment.el (comment-kill): Prefix "unused" local.
15263
15264 * term/w32console.el (get-screen-color): Declare.
15265
15266 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
15267 Handle symbol elements of byte-compile-initial-macro-environment.
15268
15269 2011-05-10 Leo Liu <sdl.web@gmail.com>
15270
15271 * bookmark.el (bookmark-bmenu-mode-map):
15272 Bind bookmark-bmenu-search to `/'.
15273
15274 * mail/footnote.el: Convert to utf-8 encoding.
15275 (footnote-unicode-string, footnote-unicode-regexp): New variable.
15276 (Footnote-unicode): New function.
15277 (footnote-style-alist): Add unicode style to the list.
15278 (footnote-style): Doc fix.
15279
15280 2011-05-10 Jim Meyering <meyering@redhat.com>
15281
15282 Fix doubled-word typos.
15283 * international/quail.el (quail-insert-kbd-layout): and and -> and
15284 * kermit.el: and and -> and
15285 * net/ldap.el (ldap-search-internal): to to -> to
15286 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
15287 * progmodes/js.el (js-mode): and and -> and
15288 * textmodes/artist.el (artist-move-to-xy): at at -> at
15289 (artist-draw-region-trim-line-endings): if if -> if
15290 And Safetyc -> Safety.
15291 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
15292
15293 2011-05-10 Glenn Morris <rgm@gnu.org>
15294 Stefan Monnier <monnier@iro.umontreal.ca>
15295
15296 * files.el (hack-one-local-variable-eval-safep):
15297 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
15298
15299 2011-05-10 Glenn Morris <rgm@gnu.org>
15300
15301 * calendar/diary-lib.el (diary-list-entries-hook)
15302 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
15303 (diary-nongregorian-marking-hook, diary-list-entries)
15304 (diary-include-other-diary-files, diary-mark-entries)
15305 (diary-mark-included-diary-files): Doc fixes.
15306
15307 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
15308
15309 * misc.el: Require tabulated-list.el during compilation.
15310
15311 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
15312
15313 * progmodes/compile.el (compilation-start):
15314 Run compilation-filter-hook for the async case too.
15315 (compilation-filter-hook): Doc fix.
15316
15317 2011-05-09 Deniz Dogan <deniz@dogan.se>
15318
15319 * wdired.el: Remove outdated installation comment. Fix usage
15320 comment.
15321
15322 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
15323
15324 * misc.el: Implement new command `list-dynamic-libraries'.
15325 (list-dynamic-libraries--loaded-only-p): New variable.
15326 (list-dynamic-libraries--refresh): New function.
15327 (list-dynamic-libraries): New command.
15328
15329 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
15330
15331 * progmodes/compile.el (compilation-error-regexp-alist-alist):
15332 Fix the ant regexp to handle end-line and end-column info from jikes.
15333 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
15334 higher priority to avoid clobbering by gnu.
15335
15336 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
15337
15338 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
15339 if the face has existing theme settings (Bug#8454).
15340
15341 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
15342
15343 * progmodes/perl-mode.el (perl-imenu-generic-expression):
15344 Only match variables declared via `my' or `our' (Bug#8261).
15345
15346 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
15347 special file names `.' and `..' (Bug#8259).
15348
15349 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
15350
15351 * progmodes/grep.el (grep-mode-font-lock-keywords):
15352 Remove buffer-changing entries.
15353 (grep-filter): New function.
15354 (grep-mode): Add it to compilation-filter-hook.
15355
15356 * progmodes/compile.el (compilation-filter-hook)
15357 (compilation-filter-start): New defvars.
15358 (compilation-filter): Call compilation-filter-hook prior to
15359 updating the process mark.
15360
15361 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
15362
15363 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
15364
15365 2011-05-07 Eli Zaretskii <eliz@gnu.org>
15366
15367 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
15368 mailclient-send-it even if window-system is nil. (Bug#8595)
15369
15370 * term/w32console.el (terminal-init-w32console):
15371 Call get-screen-color and use its output to set the frame
15372 background-mode. (Bug#8597)
15373
15374 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
15375
15376 Make bytecomp.el understand that defmethod defines funs (bug#8631).
15377 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
15378 New functions.
15379 (defgeneric, eieio--defmethod): Use them.
15380 (eieio-defgeneric): Remove.
15381 (defmethod): Call defgeneric in a way visible to the byte-compiler.
15382
15383 2011-05-07 Glenn Morris <rgm@gnu.org>
15384
15385 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
15386 Use let rather than let*.
15387 (timeclock-find-discrep): Remove unused local.
15388
15389 * calendar/diary-lib.el (diary-comment-start): Doc fix.
15390
15391 * calendar/appt.el (appt-time-msg-list): Doc fix.
15392
15393 2011-05-06 Noah Friedman <friedman@splode.com>
15394
15395 * apropos.el (apropos-print-doc): Only use
15396 emacs-lisp-docstring-fill-column when it is bound to an integer,
15397 per that variable's documentation.
15398
15399 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
15400
15401 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
15402 and warnings are not silently discarded (e.g. use -d instead of -P).
15403
15404 2011-05-06 Glenn Morris <rgm@gnu.org>
15405
15406 * calendar/appt.el (appt-message-warning-time): Doc fix.
15407 (appt-warning-time-regexp): New option.
15408 (appt-make-list): Respect appt-message-warning-time.
15409
15410 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
15411 New options.
15412 (diary-add-to-list): Strip comments from the displayed string.
15413 (diary-mode): Set comment-start and comment-end.
15414
15415 * vc/diff-mode.el (smerge-refine-subst): Declare.
15416 (diff-refine-hunk): Don't require smerge-mode when compiling.
15417
15418 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
15419
15420 * simple.el (list-processes): Return nil as the docstring says.
15421
15422 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
15423
15424 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
15425 to "".
15426 (ange-ftp-write-region, ange-ftp-insert-file-contents)
15427 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
15428 determining of binary transfer. (Bug#7383)
15429
15430 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
15431
15432 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
15433 Fix port computation bug. (Bug#8618)
15434
15435 2011-05-05 Glenn Morris <rgm@gnu.org>
15436
15437 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
15438
15439 * simple.el (shell-dynamic-complete-functions)
15440 (comint-dynamic-complete-functions): Declare.
15441
15442 * net/network-stream.el (gnutls-negotiate):
15443 * simple.el (tabulated-list-print): Fix declarations.
15444
15445 * progmodes/gud.el (syntax-symbol, syntax-point):
15446 Remove unnecessary and incorrect declarations.
15447
15448 * emacs-lisp/check-declare.el (check-declare-scan):
15449 Handle byte-compile-initial-macro-environment in bytecomp.el
15450
15451 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
15452
15453 Fix earlier half-done eieio-defmethod change (bug#8338).
15454 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
15455 Streamline and change calling convention.
15456 (defmethod): Adjust accordingly and simplify.
15457 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
15458 new eieio--defmethod.
15459 (slot-boundp): Minor CSE simplification.
15460
15461 2011-05-05 Milan Zamazal <pdm@zamazal.org>
15462
15463 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
15464 (glasses-make-readable): Use glasses-separate-capital-groups.
15465
15466 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
15467
15468 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
15469 (warning-series): Doc fix.
15470 (display-warning): Don't try to create the buffer if we just found it.
15471
15472 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
15473
15474 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
15475 (autoload-find-generated-file): New function.
15476 (generate-file-autoloads): Bind generated-autoload-file to
15477 buffer-file-name.
15478 (update-file-autoloads, update-directory-autoloads):
15479 Use autoload-find-generated-file. If called interactively, prompt for
15480 output file (Bug#7989).
15481 (batch-update-autoloads): Doc fix.
15482
15483 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
15484
15485 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
15486
15487 2011-05-04 Glenn Morris <rgm@gnu.org>
15488
15489 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
15490 function, so it follows changes in calendar-date-style.
15491 (diary-fancy-date-matcher): New function.
15492 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
15493 (diary-fancy-font-lock-fontify-region-function):
15494 Use diary-fancy-date-pattern as a function.
15495
15496 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
15497 non-numbers for `year' etc pseudo-variables. (Bug#8583)
15498
15499 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
15500
15501 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
15502 instead of positional arguments. Allow :keylist and :crlfiles
15503 arguments.
15504 (open-gnutls-stream): Call it.
15505
15506 * net/network-stream.el (network-stream-open-starttls): Adjust to
15507 call `gnutls-negotiate' with :process and :hostname arguments.
15508
15509 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
15510
15511 * minibuffer.el (completion--message): New function.
15512 (completion--do-completion, minibuffer-complete)
15513 (minibuffer-force-complete, minibuffer-complete-word): Use it.
15514 (completion--do-completion): Don't ignore completion-auto-help when in
15515 icomplete-mode.
15516
15517 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
15518 internal encoding (e.g. tibetan zero is not whitespace).
15519 (global-whitespace-mode): Prefer save-current-buffer.
15520 (whitespace-trailing-regexp): Remove useless save-match-data.
15521 (whitespace-empty-at-bob-regexp): Minor simplification.
15522
15523 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
15524
15525 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
15526
15527 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
15528
15529 * textmodes/ispell.el (ispell-add-per-file-word-list):
15530 Use `concat' to create string for insertion.
15531
15532 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
15533
15534 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
15535 Avoid open-line which runs post-self-insert-hook.
15536 (bibtex-fill-entry): Remove unused `end' var.
15537
15538 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
15539
15540 * textmodes/ispell.el (ispell-add-per-file-word-list):
15541 Protect against `nil' value of `comment-start' (Bug#8579).
15542
15543 2011-05-03 Leo Liu <sdl.web@gmail.com>
15544
15545 * isearch.el (isearch-yank-pop): New command.
15546 (isearch-mode-map): Bind it to `M-y'.
15547 (isearch-forward): Mention it.
15548
15549 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
15550
15551 * simple.el (minibuffer-complete-shell-command): Remove.
15552 (minibuffer-local-shell-command-map): Use completion-at-point.
15553 (read-shell-command): Setup completion vars here instead.
15554 (read-expression-map): Bind TAB to symbol completion.
15555
15556 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
15557 error directly rather via storing it into `results'.
15558
15559 2011-05-02 Leo Liu <sdl.web@gmail.com>
15560
15561 * vc/diff.el: Fix description.
15562
15563 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
15564
15565 * server.el (server-eval-at): New function.
15566
15567 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
15568
15569 * net/network-stream.el (open-network-stream): Take a :nowait
15570 parameter and pass it on to `make-network-process'.
15571 (network-stream-open-plain): Ditto.
15572
15573 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
15574
15575 * faces.el (face-spec-set-match-display): Don't match toolkit
15576 options on terminal frames.
15577
15578 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
15579
15580 * progmodes/pascal.el: Use lexical binding.
15581 (pascal-mode-map): Remove author preferences.
15582
15583 * pcomplete.el (pcomplete-std-complete): Don't abuse
15584 completion-at-point.
15585
15586 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
15587
15588 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
15589 removing code that has been dead since 1991 or so.
15590
15591 * startup.el (command-line): When warning about "_emacs", use a
15592 delayed warning to allow the user to filter it out.
15593
15594 2011-04-28 Deniz Dogan <deniz@dogan.se>
15595
15596 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
15597 user has not joined.
15598
15599 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
15600
15601 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
15602 aren't any completions at point.
15603
15604 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
15605
15606 * subr.el (display-delayed-warnings): New function.
15607 (delayed-warnings-hook): New variable.
15608
15609 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
15610
15611 * minibuffer.el (completion-at-point, completion-help-at-point):
15612 Don't presume that a given completion-at-point-function will always
15613 use the same calling convention.
15614
15615 * pcomplete.el (pcomplete-completions-at-point):
15616 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
15617 pcomplete-seen is non-nil.
15618 (pcomplete-comint-setup): Also recognize the new comint/shell
15619 completion functions.
15620 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
15621 pcomplete-seen is non-nil.
15622
15623 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
15624
15625 * calendar/icalendar.el (diary-lib): Add require statement.
15626 (icalendar--create-uid): Read out a uid from a text-property on
15627 the first character in the entry. This allows for code to add its
15628 own uid to the entry.
15629 (icalendar--convert-float-to-ical): Add export of
15630 `diary-float'-entries save for those with the optional DAY
15631 argument.
15632
15633 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
15634
15635 * subr.el (shell-quote-argument): Use alternate escaping strategy
15636 when we spot a variable reference in a string.
15637
15638 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
15639
15640 * cus-start.el (all): Define customization for debug-on-event.
15641
15642 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
15643
15644 * subr.el (shell-quote-argument): Escape correctly under Windows.
15645
15646 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
15647
15648 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
15649
15650 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
15651
15652 * net/tramp.el (tramp-process-actions): Add POS argument.
15653 Delete region between POS and (pos).
15654
15655 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
15656 Use `nil' position in `tramp-process-actions' call.
15657 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
15658
15659 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
15660 position in `tramp-process-actions' call.
15661
15662 * net/trampver.el: Update release number.
15663
15664 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
15665
15666 * custom.el (defcustom): Obey lexical-binding.
15667
15668 Fix octave-inf completion problems reported by Alexander Klimov.
15669 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
15670 Inherit from octave-mode-syntax-table.
15671 (inferior-octave-mode): Set info-lookup-mode.
15672 (inferior-octave-completion-at-point): New function.
15673 (inferior-octave-complete): Use it and completion-in-region.
15674 (inferior-octave-dynamic-complete-functions): Use it as well, and use
15675 comint-filename-completion.
15676 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
15677 symbol elements which shouldn't be word elements.
15678 (octave-font-lock-keywords, octave-beginning-of-defun)
15679 (octave-function-header-regexp): Adjust regexps accordingly.
15680 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
15681
15682 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
15683
15684 * net/gnutls.el (gnutls-errorp): Declare before first use.
15685
15686 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
15687
15688 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
15689 verify-error, and verify-hostname-error parameters. Check whether
15690 default trustfile exists before going to use it. Add missing
15691 argument to gnutls-message-maybe call. Return value.
15692 Reported by Claudio Bley <claudio.bley@gmail.com>.
15693 (open-gnutls-stream): Add usage example.
15694
15695 * net/network-stream.el (network-stream-open-starttls): Give host
15696 parameter to `gnutls-negotiate'.
15697 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
15698 * subr.el (shell-quote-argument): Escape correctly under Windows.
15699
15700 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
15701
15702 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
15703 Use correct match group (bug#8438).
15704
15705 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
15706
15707 * emacs-lisp/package.el (package-built-in-p): Fix typo.
15708 (package-menu--generate): New arg specifying packages to show.
15709 (package-menu-refresh, package-menu-execute, list-packages):
15710 Callers changed.
15711 (package-show-package-list): New function, replacing deleted
15712 package--list-packages (renamed because it is non-internal).
15713
15714 * finder.el (finder-list-matches): Use package-show-package-list
15715 instead of deleted package--list-packages.
15716
15717 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
15718 Based on a previous implementation by Juanma Barranquero (Bug#8366).
15719 (vc-annotate-mode-map): Bind it to RET.
15720
15721 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
15722
15723 * progmodes/etags.el (next-file): Don't use set-buffer to change
15724 buffers (Bug#8478).
15725
15726 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
15727
15728 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
15729
15730 * apropos.el (apropos-label-face): Avoid variable-pitch face.
15731 (apropos-accumulator): Doc fix.
15732 (apropos-function, apropos-macro, apropos-command)
15733 (apropos-variable, apropos-face, apropos-group, apropos-widget)
15734 (apropos-plist): Add face property.
15735 (apropos-symbols-internal): Fix indentation.
15736 (apropos-print): Simplify help, and recognize apropos-multi-type.
15737 (apropos-print-doc): Use button-type-get to extract the button's
15738 face property. Fill docstring (Bug#8352).
15739
15740 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
15741
15742 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
15743
15744 * play/mpuz.el (mpuz-silent): Doc fix.
15745 (mpuz-mode-map): Use mapc.
15746 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
15747 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
15748 Fix typos in docstrings.
15749
15750 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
15751 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
15752
15753 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
15754
15755 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
15756
15757 * minibuffer.el (completion--do-completion): Avoid the "Next char
15758 not unique" prompt if icomplete-mode is enabled (Bug#5849).
15759
15760 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
15761 mouse-2 into unread-command-events, it is interpreted correctly.
15762
15763 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
15764 (image-toggle-display): Doc fix.
15765
15766 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
15767
15768 * textmodes/page.el (what-page): Use line-number-at-pos to
15769 calculate line number (Bug#6825).
15770
15771 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
15772
15773 * eshell/esh-mode.el (find-tag-interactive): Declare function.
15774 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
15775 Pass argument NO-DEFAULT to `find-tag-interactive'.
15776
15777 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
15778
15779 Lexical-binding cleanup.
15780
15781 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
15782 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
15783 * progmodes/ada-prj.el (ada-prj-initialize-values)
15784 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
15785 (ada-prj-show-value):
15786 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
15787 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
15788 (antlr-invalidate-context-cache, antlr-options-menu-filter)
15789 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
15790 * progmodes/bug-reference.el (bug-reference-push-button):
15791 * progmodes/fortran.el (fortran-line-length):
15792 * progmodes/glasses.el (glasses-change):
15793 * progmodes/octave-mod.el (octave-fill-paragraph):
15794 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
15795 (python-pdbtrack-grub-for-buffer, python-sentinel):
15796 * progmodes/sql.el (sql-save-connection):
15797 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
15798 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
15799 Mark unused parameters.
15800
15801 * progmodes/compile.el (compilation--flush-directory-cache)
15802 (compilation--flush-parse, compile-internal): Mark unused parameters.
15803 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
15804 (compilation-next-error-function): Remove unused variable `timestamp'.
15805
15806 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
15807 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
15808
15809 * progmodes/dcl-mode.el (dcl-end-of-command):
15810 Remove unused variable `start'.
15811 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
15812 (dcl-option-value-basic, dcl-option-value-offset)
15813 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
15814 Mark unused parameters.
15815 (dcl-save-local-variable): Remove unused variable `val'.
15816 (mode): Declare.
15817
15818 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
15819 Mark unused parameters.
15820 (delphi-ignore-changes): Move before first use.
15821 (delphi-charset-token-at): Remove unused variable `start'.
15822 (delphi-else-start): Remove unused variable `if-count'.
15823 (delphi-comment-block-start, delphi-comment-block-end):
15824 Remove unused variable `kind'.
15825 (delphi-indent-line): Remove unused variable `new-point'.
15826
15827 * progmodes/ebrowse.el (ebrowse-files-list)
15828 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
15829 Mark unused parameters. Don't quote `lambda'.
15830 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
15831 Don't quote `lambda'.
15832 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
15833 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
15834 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
15835 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
15836 Use `ignore-errors'.
15837 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
15838 (ebrowse-view/find-file-and-search-pattern)
15839 (ebrowse-view/find-member-declaration/definition):
15840 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
15841 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
15842 Rename parameter PREFIX-ARG to PREFIX.
15843 (ebrowse-tags-read-name): Remove unused variables `start' and
15844 `member-info'.
15845 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
15846 to `tags-file'.
15847
15848 * progmodes/etags.el (local-find-tag-hook): Declare.
15849 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
15850 Mark unused parameters.
15851
15852 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
15853 (executable-interpret): Mark unused parameter.
15854
15855 * progmodes/flymake.el (flymake-process-sentinel)
15856 (flymake-after-change-function)
15857 (flymake-create-temp-with-folder-structure)
15858 (flymake-get-include-dirs-dot): Mark unused parameters.
15859 (flymake-safe-delete-directory): Remove unused variable `err'.
15860
15861 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
15862 (speedbar-timer-fn, speedbar-line-text)
15863 (speedbar-change-expand-button-char, speedbar-delete-subblock)
15864 (speedbar-center-buffer-smartly): Declare functions.
15865 (gdb-find-watch-expression): Remove unused variable `array'.
15866 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
15867 (gdb-starting): Mark unused parameters.
15868 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
15869 (gdb-table-string): Remove unused variable `res'.
15870 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
15871 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
15872 (gdb-display-buffer): Remove unused variable `cur-size'.
15873
15874 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
15875 allow lexical-binding compilation.
15876 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
15877 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
15878 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
15879 Mark unused parameters.
15880 (gud-gdb-marker-filter): Remove unused variable `match'.
15881 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
15882 lambda expressions and funcall them, instead of using `fset'.
15883
15884 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
15885 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
15886
15887 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
15888 variable `header-beg'; use `let'.
15889
15890 * progmodes/icon.el (indent-icon-exp): Remove unused variables
15891 `restart', `last-sexp' and `at-do'.
15892
15893 * progmodes/js.el (js--debug): Mark unused parameter.
15894 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
15895 (js--splice-into-items): Remove unused variable `item'.
15896 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
15897
15898 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
15899 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
15900 (makefile-complete): Remove unused variable `try'.
15901 (makefile-fill-paragraph, makefile-match-function-end):
15902 Mark unused parameters.
15903
15904 * progmodes/octave-inf.el (inferior-octave-complete):
15905 Remove unused variable `proc'.
15906 (inferior-octave-output-digest): Mark unused parameter.
15907
15908 * progmodes/perl-mode.el (perl-calculate-indent):
15909 Remove unused variable `err'.
15910
15911 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
15912 (prolog-indent-line): Mark unused parameters.
15913 (prolog-indent-line): Remove unused variable `beg'.
15914
15915 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
15916 (reporter-dont-compact-list): Declare.
15917
15918 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
15919 Remove unused variable `char'.
15920 (sh-debug): Mark unused parameter.
15921 (sh-get-indent-info): Remove unused variable `start'.
15922 (sh-calculate-indent): Remove unused variable `var'.
15923
15924 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
15925 (simula-electric-keyword): Remove unused variable `null'.
15926 (simula-search-backward, simula-search-forward): Remove unused
15927 variables `begin' and `end'.
15928
15929 * progmodes/vera-mode.el (vera-guess-basic-syntax):
15930 Remove unused variable `pos'.
15931 (vera-electric-tab, vera-comment-uncomment-region):
15932 Mark unused parameters.
15933 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
15934
15935 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
15936
15937 * emacs-lisp/package.el (package--builtins, package-alist)
15938 (package-load-descriptor, package-built-in-p, package-activate)
15939 (define-package, package-installed-p)
15940 (package-compute-transaction, package-buffer-info)
15941 (package--push): Doc fix. Distinguish more clearly between
15942 version strings and version lists.
15943
15944 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
15945
15946 Lexical-binding cleanup.
15947
15948 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
15949 (5x5-make-mutate-best):
15950 * play/fortune.el (fortune-in-buffer):
15951 * play/gomoku.el (gomoku-init-display):
15952 * play/solitaire.el (solitaire, solitaire-do-check):
15953 * play/tetris.el (tetris-default-update-speed-function):
15954 Mark unused parameters.
15955
15956 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
15957 (bubbles--shift): Remove unused variable `char-org'.
15958 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
15959 (bubbles--show-images): Remove unused variable `char'.
15960
15961 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
15962 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
15963 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
15964 (decipher-analyze-buffer): Use ?\s.
15965 (decipher-make-checkpoint): Remove unused variable `mapping'.
15966
15967 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
15968
15969 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
15970 Remove unused variable `result'; use `let'.
15971
15972 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
15973 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
15974 (gametree-children-shown-p, gametree-compute-reduced-score):
15975 Use `ignore-errors'.
15976
15977 * play/handwrite.el (ps-lpr-switches): Declare.
15978 (handwrite): Remove unused variables `pmin' and `lastp'.
15979
15980 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
15981
15982 * play/landmark.el (landmark-init-display)
15983 (landmark-update-naught-weights): Mark unused parameters.
15984 (landmark-y): Remove unused variable `noise'. Simplify.
15985 (landmark-human-plays): Remove unused variable `score'.
15986
15987 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
15988 (mpuz-try-proposal): Remove unused variable `game'.
15989
15990 * play/zone.el (life-patterns): Declare.
15991
15992 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
15993
15994 * vc/vc.el (ediff-vc-internal): Declare function.
15995
15996 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
15997
15998 * shell.el: Use lexical-binding and std completion UI.
15999 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
16000 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
16001 comint-preoutput-filter-functions rather than on
16002 comint-output-filter-functions.
16003 (shell-command-completion, shell--command-completion-data)
16004 (shell-filename-completion, shell-environment-variable-completion)
16005 (shell-c-a-p-replace-by-expanded-directory): New functions.
16006 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
16007 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
16008 (shell-dynamic-complete-environment-variable): Use them.
16009 (shell-dynamic-complete-as-environment-variable)
16010 (shell-dynamic-complete-as-command): Remove.
16011 (shell-match-partial-variable): Match past point.
16012 * comint.el: Clean up use of completion-at-point-functions.
16013 (comint-completion-at-point): New function.
16014 (comint-mode): Use it completion-at-point-functions.
16015 (comint-dynamic-complete): Make it obsolete.
16016 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
16017 (comint-c-a-p-replace-by-expanded-history): New function.
16018 (comint-dynamic-complete-functions)
16019 (comint-replace-by-expanded-history): Use it.
16020 * minibuffer.el (completion-table-with-terminator): Allow dynamic
16021 termination strings. Try harder to avoid second try-completion.
16022 (completion-in-region-mode-map): Disable bindings that don't work yet.
16023
16024 * comint.el: Use lexical-binding. Require CL.
16025 (comint-dynamic-complete-functions): Use comint-filename-completion.
16026 (comint-completion-addsuffix): Tweak custom type.
16027 (comint-filename-completion, comint--common-suffix)
16028 (comint--common-quoted-suffix, comint--table-subvert)
16029 (comint--complete-file-name-data): New functions.
16030 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
16031 (comint-dynamic-list-filename-completions): Use them.
16032 (comint-dynamic-simple-complete): Make obsolete.
16033
16034 * minibuffer.el (completion-in-region-mode):
16035 Keep completion-in-region-mode--predicate global.
16036 (completion-in-region--postch):
16037 Assume completion-in-region-mode--predicate is not null.
16038
16039 * progmodes/flymake.el (flymake-start-syntax-check-process):
16040 Obey `dir'. Simplify.
16041
16042 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
16043 we're in VC after all.
16044
16045 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
16046
16047 * vc/vc.el (vc-diff-build-argument-list-internal)
16048 (vc-version-ediff, vc-ediff): New commands.
16049 (vc-version-diff): Use vc-diff-build-argument-list-internal.
16050
16051 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
16052
16053 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
16054 add sanity check.
16055
16056 * obsolete/erc-hecomplete.el: Make obsolete.
16057 * obsolete/: Standardize obsolescence info in the header.
16058
16059 2011-04-20 Glenn Morris <rgm@gnu.org>
16060
16061 * calendar/solar.el (solar-horizontal-coordinates):
16062 Use the longitude argument rather than `calendar-longitude'.
16063 (solar-date-next-longitude): Remove unused locals.
16064
16065 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
16066
16067 * whitespace.el: New version 13.2.1.
16068
16069 2011-04-20 felix <EmacsWiki> (tiny change)
16070
16071 * whitespace.el (global-whitespace-mode): Keep highlight when
16072 switching between major modes on a file.
16073
16074 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
16075
16076 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
16077 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
16078 multi-line comments as well.
16079
16080 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
16081
16082 Lexical-binding cleanup.
16083
16084 * arc-mode.el (archive-mode-revert):
16085 * cmuscheme.el (scheme-interactively-start-process):
16086 * custom.el (custom-initialize-delay):
16087 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
16088 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
16089 * emacs-lock.el (emacs-lock-clear-sentinel):
16090 * ezimage.el (defezimage):
16091 * follow.el (follow-avoid-tail-recenter):
16092 * fringe.el (set-fringe-mode-1):
16093 * generic-x.el (bat-generic-mode-compile):
16094 * help-mode.el (help-info-variable, help-do-xref)
16095 (help-mode-revert-buffer):
16096 * help.el (view-emacs-todo):
16097 * iswitchb.el (iswitchb-completion-help):
16098 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
16099 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
16100 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
16101 * locate.el (locate-update):
16102 * longlines.el (longlines-encode-region)
16103 (longlines-after-change-function):
16104 * outline.el (outline-isearch-open-invisible):
16105 * ps-def.el (declare-function, charset-dimension, char-width)
16106 (encode-char):
16107 * ps-mule.el (ps-mule-plot-string):
16108 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
16109 (recentf-edit-list-select, recentf-edit-list-validate)
16110 (recentf-open-files-action):
16111 * rect.el (delete-whitespace-rectangle-line)
16112 (rectangle-number-line-callback):
16113 * register.el (window-configuration-to-register)
16114 (frame-configuration-to-register):
16115 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
16116 * select.el (xselect-convert-to-string, xselect-convert-to-length)
16117 (xselect-convert-to-targets, xselect-convert-to-delete)
16118 (xselect-convert-to-filename, xselect-convert-to-charpos)
16119 (xselect-convert-to-lineno, xselect-convert-to-colno)
16120 (xselect-convert-to-os, xselect-convert-to-host)
16121 (xselect-convert-to-user, xselect-convert-to-class)
16122 (xselect-convert-to-name, xselect-convert-to-integer)
16123 (xselect-convert-to-atom, xselect-convert-to-identity):
16124 * subr.el (declare, ignore, process-kill-without-query)
16125 (text-clone-maintain):
16126 * terminal.el (te-get-char, te-tic-sentinel):
16127 * tool-bar.el (tool-bar-make-keymap):
16128 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
16129 * type-break.el (type-break-mode, type-break-noninteractive-query):
16130 * view.el (View-back-to-mark):
16131 * wid-browse.el (widget-browse-action, widget-browse-widget)
16132 (widget-browse-widgets, widget-browse-sexp):
16133 * widget.el (define-widget-keywords):
16134 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
16135 Mark unused parameters.
16136
16137 * align.el (align-adjust-col-for-rule): Mark unused parameter.
16138 (align-areas): Remove unused variable `look'.
16139 (align-region): Remove unused variables `real-end' and `pos-list'.
16140
16141 * apropos.el (apropos-score-doc): Remove unused variable `i'.
16142
16143 * bindings.el (mode-line-modified, mode-line-remote):
16144 Mark unused parameters.
16145 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
16146
16147 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
16148 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
16149
16150 * comint.el (comint-history-isearch-pop-state)
16151 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
16152 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
16153 (comint-substitute-in-file-name): Doc fix.
16154
16155 * completion.el (cmpl-statistics-block): Mark unused parameter.
16156 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
16157 (save-completions-to-file, load-completions-from-file):
16158 Remove unused local variable `e'.
16159
16160 * composite.el (compose-chars): Remove unused variable `len'.
16161 (lgstring-insert-glyph): Remove unused variable `g'.
16162 (compose-glyph-string): Remove unused variables `ascent',
16163 `descent', `lbearing' and `rbearing'.
16164 (compose-glyph-string-relative): Remove unused variables
16165 `lbearing', `rbearing' and `wadjust'.
16166 (compose-gstring-for-graphic): Remove unused variables `header',
16167 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
16168 (compose-gstring-for-terminal): Remove unused variables `header'
16169 and `nchars'. Use `let', not `let*'.
16170
16171 * cus-edit.el (Custom-set, Custom-save, custom-reset)
16172 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
16173 (Custom-buffer-done, custom-buffer-create-internal)
16174 (custom-browse-visibility-action, custom-browse-group-tag-action)
16175 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
16176 (widget-magic-mouse-down-action, custom-toggle-parent)
16177 (custom-add-parent-links, custom-toggle-hide-variable)
16178 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
16179 (custom-toggle-hide-face, face, hook, custom-group-link-action)
16180 (custom-face-menu-create, custom-variable-menu-create, get)
16181 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
16182 (custom-reset-standard-save-and-update): Remove unused variable `value'.
16183 (customize-apropos): Remove unused variable `tests'.
16184 (custom-group-value-create): Remove unused variable `hidden-p'.
16185 (sort-fold-case): Declare.
16186
16187 * cus-theme.el (custom-reset-standard-faces-list)
16188 (custom-reset-standard-variables-list): Declare.
16189 (customize-create-theme, custom-theme-revert, custom-theme-write)
16190 (custom-theme-choose-mode, customize-themes, custom-theme-save):
16191 Mark unused parameters.
16192
16193 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
16194
16195 * delim-col.el (delimit-columns-max): Move defvar before first use.
16196
16197 * descr-text.el (describe-char-categories): Don't quote `lambda'.
16198 (describe-char): Don't quote `lambda'. Mark unused parameter.
16199
16200 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
16201 (auto-insert): Declare.
16202 (desktop-restore-file-buffer): Rename desktop-* parameters;
16203 mark unused ones.
16204 (desktop-create-buffer): Rename desktop-* parameters and bind them.
16205 (desktop-buffer): Rename desktop-* parameters.
16206
16207 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
16208 (dframe-reposition-frame-xemacs, dframe-help-echo)
16209 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
16210 Mark unused parameters.
16211
16212 * dired-aux.el (backup-extract-version-start, overwrite-query)
16213 (overwrite-backup-query, rename-regexp-query)
16214 (rename-non-directory-query): Declare.
16215 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
16216 (dired-add-entry): Remove unused variable `orig-file-name'.
16217 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
16218 Use parameter PRESERVE-TIME instead of accessing dynamic variable
16219 `dired-copy-preserve-time' directly.
16220 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
16221 (dired-insert-subdir-newpos): Rename unused variable `pos'.
16222
16223 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
16224 (dired-virtual-revert, dired-make-relative-symlink):
16225 Mark unused parameters.
16226 (manual-program): Declare.
16227 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
16228 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
16229 wrapped in `with-no-warnings' to avoid replacing one warning by another.
16230
16231 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
16232
16233 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
16234
16235 * echistory.el (electric-history-in-progress, Helper-return-blurb):
16236 Declare.
16237
16238 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
16239
16240 * electric.el (Electric-command-loop): Rename parameter
16241 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
16242
16243 * expand.el (expand-in-literal): Remove unused variable `here'.
16244
16245 * facemenu.el (facemenu-add-new-color):
16246 Remove unused variable `docstring'.
16247
16248 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
16249 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
16250 (face-attr-construct): Mark unused parameter. Doc fix.
16251 (read-color): Remove unused variable `hex-string'.
16252
16253 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
16254 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
16255 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
16256 (display-buffer-other-frame): Remove unused variable `old-window'.
16257 (kill-buffer-hook): Declare.
16258 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
16259 Mark unused parameters.
16260 (after-find-file): Pass 1 to `auto-save-mode', not t.
16261
16262 * files-x.el (auto-insert): Declare.
16263 (modify-file-local-variable-prop-line): Remove unused variable `val'.
16264
16265 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
16266 variable `buf'. Mark unused parameter.
16267 (find-lisp-insert-directory): Mark unused parameter.
16268
16269 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
16270 (format-encode-region): Remove unused variables `cur-buf' and `result'.
16271 (format-common-tail): Remove, unused.
16272 (format-deannotate-region): Remove unused variable `loc'.
16273 (format-annotate-region): Remove unused variable `p'.
16274 (format-annotate-single-property-change): Remove unused variables
16275 `default' and `tail'.
16276
16277 * forms.el (read-file-filter): Declare.
16278 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
16279
16280 * frame.el (frame-creation-function-alist): Mark unused parameter.
16281 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
16282
16283 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
16284 Remove unused parameters.
16285 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
16286 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
16287
16288 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
16289 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
16290 (hfy-prepare-tag-map): Mark unused parameters.
16291 (htmlfontify-buffer): Use `called-interactively-p'.
16292
16293 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
16294 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
16295 (ibuffer-do-occur): Mark unused parameters.
16296 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
16297 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
16298
16299 * ibuffer.el: Don't quote `lambda'.
16300 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
16301 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
16302 Mark unused parameters.
16303
16304 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
16305 (ido-completing-read): Mark unused parameters.
16306 (ido-copy-current-word): Mark unused parameters;
16307 remove unused variable `name'.
16308 (ido-sort-merged-list): Remove unused parameter `dirs'.
16309
16310 * ielm.el (ielm-input-sender): Mark unused parameter.
16311 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
16312 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
16313 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
16314 `ielm-string' as a dynamic variable accessible from the IELM prompt.
16315 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
16316
16317 * image-dired.el (image-dired-display-thumbs): Remove unused
16318 variables `curr-file' and `count'.
16319 (image-dired-remove-tag): Remove unused variable `start'.
16320 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
16321 variable `curr-file'
16322 (image-dired-rotate-original): Remove unused variable `temp-file'.
16323 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
16324 Remove unused variable `file'.
16325 (image-dired-gallery-generate): Remove unused variable `curr'.
16326 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
16327
16328 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
16329
16330 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
16331
16332 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
16333
16334 * isearch.el (minibuffer-history-symbol): Declare.
16335 (isearch-edit-string): Remove unused variable `err'.
16336 (isearch-message-prefix, isearch-message-suffix):
16337 Mark unused parameters.
16338
16339 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
16340
16341 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
16342
16343 * makesum.el (double-column): Remove unused variable `cnt'.
16344
16345 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
16346 (ido-ignore-item-temp-list): Declare.
16347
16348 * mouse-drag.el (mouse-drag-throw): Remove unused variables
16349 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
16350 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
16351 (mouse-drag-drag): Remove unused variables `mouse-delta' and
16352 `mouse-col-delta'.
16353
16354 * mouse-sel.el (mouse-extend-internal):
16355 Remove unused variable `orig-window-frame'.
16356
16357 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
16358 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
16359 Move declarations before first use.
16360 (pcomplete-opt): Mark unused parameters; doc fix.
16361
16362 * proced.el (proced-revert): Mark unused parameter.
16363 (proced-send-signal): Remove unused variable `err'.
16364
16365 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
16366 Rename parameter PREFIX-ARG to ARG.
16367 (ps-basic-plot-string, ps-basic-plot-whitespace):
16368 Mark unused parameters.
16369
16370 * replace.el (replace-count): Define.
16371 (occur-revert-function): Mark unused parameters.
16372 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
16373 (isearch-case-fold-search, isearch-string): Declare.
16374 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
16375 bind `case-fold-search'. Remove unused variables `beg' and `end',
16376 and simplify.
16377 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
16378 COUNT and bind `replace-count'.
16379 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
16380 to COUNT.
16381
16382 * savehist.el (print-readably, print-string-length): Declare.
16383
16384 * shadowfile.el (shadow-expand-cluster-in-file-name):
16385 Remove unused variable `cluster'.
16386 (shadow-copy-file): Remove unused variable `i'.
16387 (shadow-noquery, shadow-clusters, shadow-site-cluster)
16388 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
16389 (shadow-define-literal-group, shadow-define-regexp-group)
16390 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
16391
16392 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
16393 (shell): Use `called-interactively-p'.
16394 (shell-directory-tracker): Remove unused variable `chdir-failure'.
16395
16396 * simple.el (compilation-context-lines, comint-file-name-quote-list)
16397 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
16398 (delete-backward-char): Remove unused variable `ocol'.
16399 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
16400 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
16401 (event-apply-hyper-modifier, event-apply-shift-modifier)
16402 (event-apply-control-modifier, event-apply-meta-modifier):
16403 Mark unused parameters.
16404 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
16405 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
16406
16407 * speedbar.el (speedbar-ignored-directory-expressions)
16408 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
16409 (speedbar-find-file, speedbar-dir-follow)
16410 (speedbar-directory-buttons-follow, speedbar-tag-find)
16411 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
16412 (speedbar-buffers-line-directory, speedbar-buffer-click):
16413 Mark unused parameters.
16414 (speedbar-tag-file): Remove unused variable `mode'.
16415 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
16416
16417 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
16418
16419 * talk.el (talk): Remove unused variable `display'.
16420
16421 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
16422 (tar-write-region-annotate): Mark unused parameter.
16423
16424 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
16425 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
16426 Declare them, wrapped in `with-no-warnings' to avoid replacing one
16427 warning by another.
16428
16429 * time-stamp.el (time-stamp-string-preprocess):
16430 Remove unused variable `require-padding'.
16431
16432 * tree-widget.el (widget-glyph-enable): Declare.
16433 (tree-widget-action): Mark unused parameter.
16434
16435 * w32-fns.el (x-get-selection): Mark unused parameter.
16436 (autoload-make-program, generated-autoload-file): Declare.
16437
16438 * wdired.el (wdired-revert): Mark unused parameters.
16439 (wdired-xcase-word): Remove unused variable `err'.
16440
16441 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
16442 (whitespace-help-scroll): Remove unused variable `data-help'.
16443
16444 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
16445 (widget-image-insert, widget-after-change, default)
16446 (widget-default-format-handler, widget-default-notify)
16447 (widget-default-prompt-value, widget-info-link-action)
16448 (widget-url-link-action, widget-function-link-action)
16449 (widget-variable-link-action, widget-file-link-action)
16450 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
16451 (widget-field-prompt-internal, widget-field-action, widget-field-match)
16452 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
16453 (widget-insert-button-action, widget-delete-button-action, visibility)
16454 (widget-documentation-link-action, widget-documentation-string-action)
16455 (widget-const-prompt-value, widget-regexp-match, symbol)
16456 (widget-coding-system-prompt-value)
16457 (widget-key-sequence-value-to-external, sexp)
16458 (widget-sexp-value-to-internal, character, vector, cons)
16459 (widget-choice-prompt-value, widget-boolean-prompt-value)
16460 (widget-color--choose-action): Mark unused parameters.
16461 (widget-item-match-inline, widget-choice-match-inline)
16462 (widget-checklist-match, widget-checklist-match-inline)
16463 (widget-group-match): Rename parameter VALUES to VALS.
16464 (widget-field-value-set): Remove unused variable `size'.
16465 (widget-color-action): Remove unused variables `value' and `start'.
16466
16467 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
16468 variable `dir'. Doc fix.
16469 (windmove-find-other-window): Don't pass it.
16470
16471 * window.el (count-windows): Mark unused parameter.
16472 (bw-adjust-window): Remove unused variable `err'.
16473
16474 * woman.el (woman-file-name): Remove unused variable `default'.
16475 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
16476 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
16477 (global-font-lock-mode): Declare.
16478 (woman-decode-region): Mark unused parameter.
16479 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
16480
16481 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
16482 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
16483 (x-dnd-handle-moz-url): Remove unused variable `title'.
16484 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
16485
16486 * xml.el (xml-parse-tag, xml-parse-attlist):
16487 Remove unused variable `pos'.
16488
16489 2011-04-19 Glenn Morris <rgm@gnu.org>
16490
16491 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
16492 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
16493 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
16494 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
16495 * calendar/cal-html.el (cal-html-insert-minical):
16496 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
16497 (calendar-mark-date-pattern):
16498 Prefix "unused" locals.
16499
16500 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
16501 optional argument `style'.
16502
16503 * calendar/appt.el (appt-make-list):
16504 * calendar/cal-china.el (calendar-chinese-date-string):
16505 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
16506 (diary-hebrew-yahrzeit):
16507 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
16508 * calendar/calendar.el (calendar-generate-window):
16509 * calendar/time-date.el (time-to-days):
16510 Remove unused local variables.
16511
16512 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
16513
16514 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
16515 glyphless-char-display table.
16516 (tabulated-list-glyphless-char-display): New var.
16517
16518 2011-04-18 Sam Steingold <sds@gnu.org>
16519
16520 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
16521 to acknowledgments.
16522
16523 2011-04-17 Glenn Morris <rgm@gnu.org>
16524
16525 * calendar/diary-lib.el (diary-sexp-entry):
16526 * calendar/holidays.el (holiday-sexp):
16527 Set debug-on-error rather than the removed stack-trace-on-error.
16528
16529 2011-04-16 Glenn Morris <rgm@gnu.org>
16530
16531 * progmodes/f90.el: Use lexical-binding.
16532 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
16533
16534 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
16535
16536 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
16537 (mail-mode): Setup mailalias completion here instead.
16538 * mail/mailalias.el: Use lexical-binding.
16539 (pattern, mailalias-done): Declare dynamic.
16540 (mail-completion-at-point-function): New function, from mail-complete.
16541 (mail-complete): Use it.
16542 (mail-completion-expand): New function.
16543 (mail-get-names): Use it.
16544 (mail-directory, mail-directory-process, mail-directory-stream):
16545 Don't use `pattern' for lexically bound arg.
16546
16547 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
16548
16549 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
16550 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
16551 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
16552
16553 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
16554 (byte-save-window-excursion, byte-temp-output-buffer-setup)
16555 (byte-interactive-p): Define them again, for use when inlining
16556 old code.
16557
16558 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
16559
16560 * loadup.el: Use `string-to-number', not `string-to-int'.
16561
16562 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
16563
16564 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
16565 gud-gdb-complete-command.
16566 (gud-gdb-completions): New function, from gud-gdb-complete-command.
16567 (gud-gdb-completion-at-point): New function.
16568 (gud-gdb-completions): Remove.
16569
16570 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
16571
16572 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
16573 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
16574 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
16575 whether `executable-find' is bound.
16576
16577 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
16578
16579 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
16580
16581 * minibuffer.el (completion-in-region-mode-predicate)
16582 (completion-in-region-mode--predicate): New vars.
16583 (completion-in-region, completion-in-region--postch)
16584 (completion-in-region-mode): Use them.
16585 (completion--capf-wrapper): Also return the hook function.
16586 (completion-at-point, completion-help-at-point):
16587 Adjust and provide a predicate.
16588
16589 Preserve arg names for advice of subr and lexical functions (bug#8457).
16590 * help-fns.el (help-function-arglist): Consolidate the subr and
16591 new-byte-code cases. Add argument `preserve-names' to extract names
16592 from the docstring when needed.
16593 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
16594 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
16595 (ad-arglist): Use help-function-arglist's new arg.
16596 (ad-definition-type): Use cond.
16597
16598 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
16599
16600 * autorevert.el (auto-revert-handler):
16601 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
16602 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
16603 Don't quote lambda.
16604
16605 * image-mode.el (image-transform-set-scale):
16606 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
16607
16608 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
16609
16610 * net/network-stream.el (network-stream-open-starttls): Only do
16611 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
16612 Upgrades via gnutls-cli are too slow to be done opportunistically.
16613
16614 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
16615
16616 * dframe.el (dframe-current-frame): Remove spurious quote.
16617
16618 2011-04-12 Glenn Morris <rgm@gnu.org>
16619
16620 * calendar/cal-tex.el (cal-tex-end-document):
16621 Try to automatically use latin1 input if needed.
16622
16623 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
16624 Don't try to cons a mark onto an empty element.
16625
16626 2011-04-11 Leo Liu <sdl.web@gmail.com>
16627
16628 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
16629 buffers.
16630 (ido-kill-buffer-at-head): Support killing virtual buffers.
16631
16632 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
16633
16634 * minibuffer.el (completion-show-inline-help): New var.
16635 (completion--do-completion, minibuffer-complete)
16636 (minibuffer-force-complete, minibuffer-complete-word):
16637 Inhibit minibuffer messages if completion-show-inline-help is nil.
16638
16639 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
16640 to avoid interference from inline help (Bug#5849).
16641
16642 2011-04-10 Leo Liu <sdl.web@gmail.com>
16643
16644 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
16645 Fix typo.
16646
16647 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
16648
16649 * image-mode.el (image-toggle-display-image): Signal an error if
16650 not in Image mode.
16651 (image-transform-mode, image-transform-resize)
16652 (image-transform-set-rotation): Doc fix.
16653 (image-transform-set-resize): Delete.
16654 (image-transform-set-scale, image-transform-fit-to-height)
16655 (image-transform-fit-to-width): Handle image-toggle-display-image
16656 and image-transform-resize directly.
16657
16658 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
16659
16660 * doc-view.el (doc-view-fit-width-to-window)
16661 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
16662 New functions for fitting the shown image to the Emacs window size.
16663 (doc-view-mode-map): Add bindings for the new functions.
16664
16665 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
16666
16667 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
16668 Fix typo in docstring.
16669
16670 2011-04-08 Eli Zaretskii <eliz@gnu.org>
16671
16672 * files.el (file-size-human-readable): Produce one digit after
16673 decimal, like "ls -lh" does.
16674
16675 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
16676 the file size representation.
16677
16678 * simple.el (list-processes): If async subprocesses are not
16679 available, error out with a clear error message.
16680
16681 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
16682
16683 * help.el (help-form-show): New function, to be called from C.
16684 Put help-form output in a buffer named differently than *Help*.
16685
16686 2011-04-08 Eli Zaretskii <eliz@gnu.org>
16687
16688 * files.el (file-size-human-readable): New function.
16689
16690 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
16691 computing the representation inline. Don't require `cl'.
16692
16693 2011-04-08 Glenn Morris <rgm@gnu.org>
16694
16695 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
16696
16697 * net/browse-url.el (browse-url-firefox):
16698 Test system-type, not system-configuration.
16699
16700 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
16701 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
16702 Use log-edit-empty-buffer-p. (Bug#7598)
16703
16704 * net/rlogin.el (rlogin-process-connection-type): Simplify.
16705 (rlogin-mode-map): Initialize in the defvar.
16706 (rlogin): Use ignore-errors.
16707
16708 * replace.el (occur-mode-map): Some fixes for menu items.
16709
16710 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
16711
16712 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
16713
16714 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
16715
16716 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
16717 issuing unused warnings.
16718
16719 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
16720 macro directly.
16721
16722 * simple.el: Lisp reimplement of list-processes. Based on an
16723 earlier reimplementation by Leo Liu, but using tabulated-list.el.
16724 (process-menu-mode): New major mode.
16725 (list-processes--refresh, list-processes):
16726 (process-menu-visit-buffer): New functions.
16727
16728 * files.el (save-buffers-kill-emacs): Don't assume any return
16729 value of list-processes, which is undocumented anyway.
16730
16731 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
16732
16733 * emacs-lisp/tabulated-list.el: New file.
16734
16735 * emacs-lisp/package.el: Use Tabulated List mode.
16736 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
16737 (package-menu-mode): Derive from tabulated-list-mode. Set up the
16738 table format using Tabulated List mode variables.
16739 (package--push): New macro, replacing package-list-maybe-add.
16740 (package-menu--generate): Use package--push. Renamed from
16741 package--generate-package-list.
16742 (package-menu-refresh, list-packages): Use it.
16743 (package-menu--print-info): Rename from package-print-package.
16744 Return insertion data instead of inserting it directly.
16745 (package-menu-describe-package, package-menu-execute):
16746 Use tabulated-list-get-id.
16747 (package-menu-mark-delete, package-menu-mark-install)
16748 (package-menu-mark-unmark, package-menu-backup-unmark)
16749 (package-menu-mark-obsolete-for-deletion):
16750 Use tabulated-list-put-tag.
16751 (package--list-packages, package-menu-revert)
16752 (package-menu-get-package, package-menu-get-version)
16753 (package-menu-sort-by-column): Functions deleted.
16754 (package-menu-package-list, package-menu-sort-key): Vars deleted.
16755 (package-menu--status-predicate, package-menu--version-predicate)
16756 (package-menu--name-predicate)
16757 (package-menu--description-predicate): Handle arguments in the
16758 Tabulated List format.
16759 (package-list-packages-no-fetch): Call list-packages.
16760
16761 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
16762
16763 * files.el (after-find-file-from-revert-buffer): Remove variable.
16764 (after-find-file): Don't bind it.
16765 (revert-buffer-in-progress-p): New variable.
16766 (revert-buffer): Bind it.
16767 Pass nil for `after-find-file-from-revert-buffer'.
16768
16769 * saveplace.el (save-place-find-file-hook): Use new variable
16770 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
16771
16772 2011-04-06 Glenn Morris <rgm@gnu.org>
16773
16774 * Makefile.in (AUTOGEN_VCS): New variable.
16775 (autoloads): Use $AUTOGEN_VCS.
16776
16777 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
16778 * calendar/calendar.el (calendar-mode-map):
16779 Check for toolkit scroll bars. (Bug#8305)
16780
16781 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
16782
16783 * minibuffer.el (completion-in-region--postch)
16784 (completion-in-region-mode): Remove unnecessary messages.
16785
16786 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
16787
16788 * font-lock.el (font-lock-refresh-defaults):
16789 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
16790 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
16791
16792 * info.el (Info-directory-list, Info-read-node-name-2)
16793 (Info-split-parameter-string): Doc fixes.
16794 (Info-virtual-nodes): Reflow docstring.
16795 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
16796 (Info-apropos-toc-nodes, info-finder, Info-get-token)
16797 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
16798 Fix typos in docstrings.
16799 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
16800 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
16801 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
16802 (Info-restore-desktop-buffer): Mark unused parameters.
16803 (Info-directory-find-file, Info-directory-find-node)
16804 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
16805 (Info-virtual-index-find-node, Info-apropos-find-file)
16806 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
16807 Mark unused parameters; fix typos in docstrings.
16808 (Info-virtual-index): Remove unused local variable `nodename'.
16809
16810 2011-04-05 Deniz Dogan <deniz@dogan.se>
16811
16812 * net/rcirc.el: Update my e-mail address.
16813 (rcirc-mode-map): Remove M-o binding.
16814
16815 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
16816
16817 * startup.el (command-line): Save the cursor's theme-face
16818 directly, instead of using face-override-spec.
16819
16820 * custom.el (load-theme): Minor optimization in assigning faces.
16821
16822 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
16823
16824 * help-fns.el (describe-variable): Complete all variables having
16825 documentation, including keywords.
16826 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
16827
16828 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
16829
16830 Convert to lexical-binding.
16831
16832 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
16833 (bs--get-marked-string, bs--get-modified-string)
16834 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
16835 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
16836 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
16837
16838 * ehelp.el (electric-help-execute-extended)
16839 (electric-help-ctrl-x-prefix):
16840 * hexl.el (hexl-revert-buffer-function):
16841 * linum.el (linum-after-change, linum-after-scroll):
16842 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
16843
16844 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
16845
16846 2011-04-04 Daiki Ueno <ueno@unixuser.org>
16847
16848 * epa-dired.el:
16849 * epa-mail.el:
16850 * epa-hook.el:
16851 * epa-file.el:
16852 * epa.el:
16853 * epg.el: Use lexical binding.
16854
16855 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
16856
16857 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
16858
16859 * textmodes/flyspell.el (flyspell-word): Recognize default
16860 dictionary case for flyspell-mark-duplications-exceptions.
16861 Use regexp matching for languages.
16862 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
16863 default dictionary (Bug#7926).
16864
16865 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
16866
16867 * emacs-lisp/package.el (package--with-work-buffer):
16868 Recognize https URLs.
16869
16870 * net/network-stream.el: Move from gnus/proto-stream.el.
16871 Change prefix to network-stream throughout.
16872 (open-protocol-stream): Merge into open-network-stream, leaving
16873 open-protocol-stream as an alias. Handle nil BUFFER args.
16874
16875 * subr.el (open-network-stream): Move to net/network-stream.el.
16876
16877 2011-04-02 Glenn Morris <rgm@gnu.org>
16878
16879 * find-dired.el (find-exec-terminator): New option.
16880 (find-ls-option): Test for -ls support.
16881 (find-ls-subdir-switches): Test for -b in find-ls-option.
16882 (find-dired, find-grep-dired): Doc fixes.
16883 (find-dired): Use find-exec-terminator.
16884
16885 * find-dired.el (find-ls-option, find-ls-subdir-switches)
16886 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
16887 (find-name-arg): Remove purecopy.
16888
16889 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
16890 (grep-compute-defaults): Check for `-exec COMMAND +' support.
16891 Set grep-find-use-xargs, grep-find-command, and grep-find-template
16892 accordingly. Don't add the null-device if not needed.
16893
16894 * files.el (save-some-buffers): Doc fix.
16895
16896 2011-04-02 Eli Zaretskii <eliz@gnu.org>
16897
16898 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
16899
16900 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
16901
16902 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
16903 Use `dolist' rather than `mapcar'.
16904
16905 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
16906
16907 Add lexical binding.
16908
16909 * subr.el (apply-partially): Use new closures rather than CL.
16910 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
16911 (dolist, dotimes): Use slightly different expansion for lexical code.
16912 (functionp): Move to C.
16913 (letrec): New macro.
16914 (with-wrapper-hook): Use it and apply-partially instead of CL.
16915 (eval-after-load): Preserve lexical-binding.
16916 (save-window-excursion, with-output-to-temp-buffer): Turn them
16917 into macros.
16918
16919 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
16920
16921 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
16922 than the arglist.
16923 (help-add-fundoc-usage): Don't add `Not documented'.
16924 (help-function-arglist): Handle closures, subroutines, and new
16925 byte-code-functions.
16926 (help-make-usage): Remove leading underscores.
16927 (describe-function-1): Handle closures.
16928 (describe-variable): Use special-variable-p for completion.
16929
16930 * files.el (lexical-binding): Declare safe.
16931
16932 * emacs-lisp/pcase.el: Don't use destructuring-bind.
16933 (pcase--memoize): Rename from pcase-memoize. Change weakness.
16934 (pcase): Add `let' pattern.
16935 Change memoization so it actually works.
16936 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
16937 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
16938 <let>: New case.
16939
16940 * emacs-lisp/macroexp.el: Use lexical binding.
16941 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
16942 Don't convert ' to #' without checking that it's indeed quoting
16943 a lambda.
16944
16945 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
16946 Use eval-sexp-add-defvars.
16947 (eval-sexp-add-defvars): New fun.
16948
16949 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
16950
16951 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
16952 Don't autoload.
16953 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
16954 than the internal `byte-compile-lambda'.
16955 (defmethod): Don't hide code under quotes.
16956 (eieio-defmethod): New `code' argument.
16957
16958 * emacs-lisp/eieio-comp.el: Remove.
16959
16960 * emacs-lisp/edebug.el (edebug-eval-defun)
16961 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
16962 (edebug-toggle): Avoid `eval'.
16963
16964 * emacs-lisp/disass.el (disassemble-internal): Handle new
16965 `closure' objects.
16966 (disassemble-1): Handle new byte codes.
16967
16968 * emacs-lisp/cl.el (pushnew): Silence warning.
16969
16970 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
16971 (cl-byte-compile-throw): Remove.
16972 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
16973
16974 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
16975 closures.
16976
16977 * emacs-lisp/cconv.el: New file.
16978
16979 * emacs-lisp/bytecomp.el: Use lexical binding instead of
16980 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
16981 (byte-compile-initial-macro-environment):
16982 Handle declare-function here.
16983 (byte-compile--lexical-environment): New var.
16984 (byte-stack-ref, byte-stack-set, byte-discardN)
16985 (byte-discardN-preserve-tos): New lap codes.
16986 (byte-interactive-p): Don't use any more.
16987 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
16988 New macros.
16989 (byte-compile-lapcode): Use them and handle new lap codes.
16990 (byte-compile-obsolete): Remove.
16991 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
16992 (byte-compile-arglist-warn): Check late def of inlinable funs.
16993 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
16994 since they should have been expanded by now.
16995 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
16996 (byte-compile-from-buffer): Remove unused second arg.
16997 (byte-compile-preprocess): New function.
16998 (byte-compile-toplevel-file-form): New function to distinguish
16999 file-form calls from outside from file-form calls from hunk-handlers.
17000 (byte-compile-file-form): Simplify.
17001 (byte-compile-file-form-defsubst): Remove.
17002 (byte-compile-file-form-defmumble): Simplify now that
17003 byte-compile-lambda always returns a byte-code-function.
17004 (byte-compile): Preprocess.
17005 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
17006 Remove, not used any more.
17007 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
17008 (byte-compile-make-args-desc): New funs.
17009 (byte-compile-lambda): Handle lexical functions. Always return
17010 a byte-code-function.
17011 (byte-compile-reserved-constants): New var, to make up room for
17012 closed-over variables.
17013 (byte-compile-constants-vector): Obey it.
17014 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
17015 (byte-compile-macroexpand-declare-function): New function.
17016 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
17017 byte-code-functions.
17018 (byte-compile-form): Check obsolescence here.
17019 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
17020 (byte-compile-variable-ref): Remove.
17021 (byte-compile-dynamic-variable-op): New fun.
17022 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
17023 (byte-compile-variable-set): New funs.
17024 (byte-compile-discard): Add 2 args.
17025 (byte-compile-stack-ref, byte-compile-stack-set)
17026 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
17027 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
17028 macroexpand-all instead.
17029 (byte-compile-quote-form): Remove.
17030 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
17031 (byte-compile-bind, byte-compile-unbind): New funs.
17032 (byte-compile-let): Handle let* and lexical binding.
17033 (byte-compile-let*): Remove.
17034 (byte-compile-catch, byte-compile-unwind-protect)
17035 (byte-compile-track-mouse, byte-compile-condition-case):
17036 Handle a new :fun-body form, used for lexical scoping.
17037 (byte-compile-save-window-excursion)
17038 (byte-compile-with-output-to-temp-buffer): Remove.
17039 (byte-compile-defun): Simplify.
17040 (byte-compile-stack-adjustment): New fun.
17041 (byte-compile-out): Use it.
17042 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
17043
17044 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
17045 handler any more.
17046
17047 * emacs-lisp/byte-opt.el: Use lexical binding.
17048 (byte-inline-lapcode): Remove (to bytecomp).
17049 (byte-compile-inline-expand): Pay attention to inlining to/from
17050 lexically bound code.
17051 (byte-compile-unfold-lambda): Don't handle byte-code-functions
17052 any more.
17053 (byte-optimize-form-code-walker): Don't handle save-window-excursion
17054 any more and don't call compiler-macros.
17055 (byte-compile-splice-in-already-compiled-code): Remove.
17056 (byte-code): Don't inline any more.
17057 (disassemble-offset): Receive `bytes' as argument rather than via
17058 dynamic scoping.
17059 (byte-compile-tag-number): Declare before first use.
17060 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
17061 `return' even if make-spliceable.
17062 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
17063 obsolete interactive-p.
17064 (byte-optimize-lapcode): Optimize new lap-codes.
17065 Don't trip up on new form of `byte-constant' lap code.
17066
17067 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
17068
17069 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
17070
17071 * custom.el (custom-initialize-default, custom-declare-variable):
17072 Use `defvar'.
17073
17074 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
17075 New variables.
17076 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
17077 (COMPILE_FIRST): Add macroexp and cconv.
17078 * makefile.w32-in: Mirror changes in Makefile.in.
17079
17080 * vc/cvs-status.el:
17081 * vc/diff-mode.el:
17082 * vc/log-edit.el:
17083 * vc/log-view.el:
17084 * vc/smerge-mode.el:
17085 * textmodes/bibtex-style.el:
17086 * textmodes/css-mode.el:
17087 * startup.el:
17088 * uniquify.el:
17089 * minibuffer.el:
17090 * newcomment.el:
17091 * reveal.el:
17092 * server.el:
17093 * mpc.el:
17094 * emacs-lisp/smie.el:
17095 * doc-view.el:
17096 * dired.el:
17097 * abbrev.el: Use lexical binding.
17098
17099 2011-04-01 Eli Zaretskii <eliz@gnu.org>
17100
17101 * info.el (info-display-manual): New function.
17102
17103 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
17104
17105 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
17106
17107 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
17108
17109 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
17110 an entry for that server in rcirc-authinfo. (Bug#8385)
17111
17112 2011-03-31 Glenn Morris <rgm@gnu.org>
17113
17114 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
17115
17116 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
17117
17118 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
17119
17120 * progmodes/python.el (python-default-interpreter)
17121 (python-python-command-args, python-jython-command-args)
17122 (python-which-shell, python-which-args, python-which-bufname)
17123 (python-file-queue, python-comint-output-filter-function)
17124 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
17125 variables and functions.
17126
17127 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
17128
17129 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
17130 (completion-in-region-mode): New minor mode.
17131 (completion-in-region): Use it.
17132 (completion-in-region--data, completion-in-region-mode-map): New vars.
17133 (completion-in-region--postch): New function.
17134 (completion--capf-misbehave-funs, completion--capf-safe-funs):
17135 New vars.
17136 (completion--capf-wrapper): New function.
17137 (completion-at-point): Use it to track well-behavedness of
17138 hook functions.
17139 (completion-help-at-point): New command.
17140
17141 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
17142
17143 * vc/add-log.el (add-change-log-entry): Don't use whitespace
17144 syntax class to search for whitespace on a single line
17145 (Message-ID: <4D938140.4030905@redhat.com>).
17146
17147 2011-03-30 Leo Liu <sdl.web@gmail.com>
17148
17149 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
17150 New commands.
17151 (edit-abbrevs-map): Bind them here.
17152 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
17153
17154 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
17155
17156 * allout.el (allout-hide-by-annotation, allout-flag-region):
17157 Reduce possibility of overlay leakage by making them volatile.
17158
17159 * allout-widgets.el (allout-widgets-tally): Define as nil so the
17160 hash is not shared between buffers. Mode initialization is
17161 responsible for giving it a useful starting value.
17162 (allout-item-span): Reduce possibility of overlay leakage by
17163 making them volatile.
17164 (allout-widgets-count-buttons-in-region): Add diagnostic function
17165 for tracking down button overlay leaks.
17166
17167 2011-03-29 Leo Liu <sdl.web@gmail.com>
17168
17169 * ido.el (ido-read-internal): Use the default history var
17170 minibuffer-history if no HISTORY is specified.
17171
17172 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
17173
17174 * net/imap.el (imap-shell-open, imap-process-connection-type):
17175 Use imap-process-connection-type for 'shell' streams as well as
17176 Kerberos, SSL, other subprocesses.
17177
17178 2011-03-28 Leo Liu <sdl.web@gmail.com>
17179
17180 * abbrev.el (abbrev-table-empty-p): New function.
17181 (prepare-abbrev-list-buffer): Place empty abbrev tables after
17182 nonempty ones. (Bug#5937)
17183
17184 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
17185
17186 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
17187
17188 2011-03-27 Leo Liu <sdl.web@gmail.com>
17189
17190 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
17191 for foreground and background colors.
17192 (ansi-color-make-color-map): Adapt.
17193
17194 2011-03-25 Leo Liu <sdl.web@gmail.com>
17195
17196 * midnight.el (midnight-time-float): Remove. Note it calculates
17197 the microsecond component incorrectly and seconds-to-time does the
17198 same job.
17199 Remove redundant (require 'timer).
17200
17201 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
17202 (ido-completions): Remove unused arguments. (Bug#8329)
17203
17204 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
17205
17206 * minibuffer.el (completion--flush-all-sorted-completions):
17207 Remove itself from hook.
17208 (completion-at-point): Let the functions perform the completion
17209 immediately and return nil or t.
17210 * comint.el (comint-dynamic-complete-functions): Now identical to
17211 completion-at-point-functions.
17212 (comint-dynamic-list-input-ring): Remove unused var `index'.
17213 (comint--match-partial-filename, comint--unquote&expand-filename):
17214 New funs, split from comint-match-partial-filename.
17215 (comint-dynamic-complete): Use completion-at-point.
17216 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
17217
17218 2011-03-24 Drew Adams <drew.adams@oracle.com>
17219
17220 * thingatpt.el: Support `defun'.
17221
17222 2011-03-23 Leo Liu <sdl.web@gmail.com>
17223
17224 * abbrevlist.el: Move to obsolete/abbrevlist.el.
17225
17226 * help-mode.el (help-mode-finish): Tweak regexp.
17227
17228 2011-03-23 Glenn Morris <rgm@gnu.org>
17229
17230 * eshell/esh-opt.el (eshell-eval-using-options):
17231 Do not bind unused local variable `eshell-option-stub'.
17232
17233 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
17234
17235 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
17236
17237 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
17238 keymap variable in `with-no-warnings' to avoid a warning when the
17239 keymap has been already `defconst'ed.
17240
17241 2011-03-22 Leo Liu <sdl.web@gmail.com>
17242
17243 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
17244 encode all chars in abbrevs; otherwise use emacs-mule or
17245 utf-8-emacs. (Bug#8308)
17246
17247 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
17248
17249 * simple.el (backward-delete-char-untabify):
17250 Avoid warning about using `delete-backward-char'.
17251
17252 * image.el (image-type-file-name-regexps): Make it variable.
17253 `imagemagick-register-types' modifies it, and the user may want
17254 to add new extensions for known image types.
17255 (imagemagick-register-types): Throw error if not using ImageMagick.
17256
17257 2011-03-22 Leo Liu <sdl.web@gmail.com>
17258
17259 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
17260 located before rcirc-prompt-end-marker.
17261 (rcirc-complete): Error if point is not after rcirc prompt.
17262 Handle the case when table is nil.
17263 (rcirc-user-authenticated): Define to fix compiler warning.
17264
17265 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
17266
17267 * custom.el (custom--inhibit-theme-enable): Make it affect only
17268 custom-theme-set-variables and custom-theme-set-faces.
17269 (provide-theme): Ignore custom--inhibit-theme-enable.
17270 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
17271 (custom-enabling-themes): Delete variable.
17272 (enable-theme): Accept only loaded themes as arguments.
17273 Ignore the special custom-enabled-themes variable.
17274 (custom-enabled-themes): Forbid themes from setting this.
17275 Eliminate use of custom-enabling-themes.
17276 (custom-push-theme): Quote "changed" custom var entry.
17277
17278 2011-03-21 Leo Liu <sdl.web@gmail.com>
17279
17280 * ido.el (ido-read-internal): Add ido-selected to history instead
17281 of user input.
17282
17283 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
17284
17285 * subr.el (deferred-action-list, deferred-action-function):
17286 Mark obsolete.
17287
17288 2011-03-21 Leo Liu <sdl.web@gmail.com>
17289
17290 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
17291 change on 2011-02-13 (bug#8309).
17292
17293 * minibuffer.el (read-file-name-function): Change default value.
17294 (read-file-name--defaults): Rename from read-file-name-defaults.
17295 (read-file-name-default): Rename from read-file-name.
17296 (read-file-name): Call read-file-name-function.
17297
17298 2011-03-21 Glenn Morris <rgm@gnu.org>
17299
17300 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
17301 Doc fixes.
17302
17303 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
17304
17305 * cus-theme.el: Add missing provide statement.
17306 (customize-create-theme): Extract theme value correctly.
17307 (custom-theme-visit-theme): Autoload.
17308 (customize-create-theme): Prompt before inserting default faces.
17309
17310 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
17311
17312 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
17313 units and musical notes.
17314
17315 2011-03-20 Leo Liu <sdl.web@gmail.com>
17316
17317 * ido.el (ido-read-internal): Use completing-read-default.
17318 (ido-completing-read): Fix compatibility with completing-read.
17319
17320 2011-03-20 Christian Ohler <ohler@gnu.org>
17321
17322 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
17323 (ert-delete-all-tests): Use `called-interactively-p' rather than
17324 `interactive-p'.
17325 (ert--make-xrefs-region): Respect END.
17326
17327 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
17328
17329 * dired-aux.el (dired-create-directory): Signal an error if the
17330 directory already exists (Bug#8246).
17331
17332 * facemenu.el (list-colors-display): Call list-faces-display
17333 inside with-help-window.
17334 (list-colors-print): Use display property to align the final
17335 column, instead of checking window-width.
17336
17337 2011-03-19 Eli Zaretskii <eliz@gnu.org>
17338
17339 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
17340 windows-nt systems.
17341 (emerge-protect-metachars): Quote correctly for ms-dos and
17342 windows-nt systems.
17343
17344 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
17345
17346 * info.el (info-initialize): Replace all uses of `:' with
17347 path-separator for compatibility with non-Unix systems.
17348 Cache quoting of path-separator. (Bug#8258)
17349
17350 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
17351
17352 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
17353 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
17354 (mouse-avoidance-mode): Fix typos in docstrings.
17355
17356 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
17357
17358 * startup.el (package-subdirectory-regexp): Move from package.el.
17359 Omit \\` and \\', and let callers add them.
17360
17361 * emacs-lisp/package.el (package-strip-version)
17362 (package-load-all-descriptors): Add \\` and \\' to
17363 package-subdirectory-regexp before using it.
17364 (package-untar-buffer): New arg DIR; ensure that file untars only
17365 into this expected directory. Remove superfluous delete-region.
17366 (package-unpack): Caller changed.
17367 (package-tar-file-info): Use package-subdirectory-regexp.
17368
17369 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
17370
17371 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
17372 diff-mode-shared-map (bug#8284).
17373 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
17374
17375 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
17376
17377 * calendar/time-date.el (format-seconds): Use assoc instead of
17378 assoc-string, since assoc-string doesn't exist in XEmacs.
17379
17380 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
17381
17382 * custom.el (custom-known-themes): Reflow docstring.
17383 (custom-theme-load-path): Fix typo in docstring.
17384 (load-theme): Fix typo in error message.
17385 (custom-available-themes, custom-variable-theme-value):
17386 Use `let', not `let*'.
17387
17388 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
17389
17390 * calc/README: Mention inclusion of musical notes.
17391
17392 * calc/calc-units.el (calc-lu-quant): Rename from
17393 `calc-logunits-quantity'.
17394 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
17395 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
17396 (calc-db): Rename from `calc-dblevel'.
17397 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
17398 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
17399 (calc-np): Rename from `calc-nplevel'.
17400 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
17401 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
17402 (calc-lu-plus): Rename from `calc-logunits-add'.
17403 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
17404 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
17405 (calc-lu-minus): Rename from `calc-logunits-sub'.
17406 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
17407 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
17408 (calc-lu-times): Rename from `calc-logunits-mul'.
17409 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
17410 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
17411 (calc-lu-divide): Rename from `calc-logunits-div'.
17412 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
17413 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
17414
17415 * calc/calc-ext.el (calc-init-extensions): Update the names of the
17416 functions being autoloaded.
17417
17418 * calc/calc.el (calc-lu-power-reference): Rename from
17419 `calc-logunits-power-reference'.
17420 (calc-lu-field-reference): Rename from
17421 `calc-logunits-field-reference'.
17422
17423 * calc/calc-help.el (calc-l-prefix-help):
17424 Mention musical note functions.
17425
17426 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
17427
17428 * minibuffer.el (completion-all-sorted-completions):
17429 Use :completion-cycle-penalty text property if present.
17430
17431 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
17432
17433 * allout.el (allout-yank-processing): Adjust for new rebulleting
17434 regime so bullet being yanked is used without prompting the user
17435 for a choice.
17436
17437 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
17438
17439 * startup.el (command-line): Warn the user that _emacs is deprecated.
17440
17441 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
17442
17443 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
17444 (delphi-verbose, delphi-comment-face, delphi-string-face)
17445 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
17446 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
17447 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
17448 (delphi-new-comment-line, delphi-font-lock-defaults)
17449 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
17450 Fix typos in docstrings.
17451
17452 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
17453
17454 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
17455 Invert the roles of character and string values for INSTEAD, so a
17456 string is used for the more common case of a defaulting prompt.
17457
17458 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
17459
17460 * progmodes/ruby-mode.el (ruby-backward-sexp):
17461 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
17462 * play/gamegrid.el (gamegrid-make-face):
17463 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
17464 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
17465 * notifications.el (notifications-notify):
17466 * net/xesam.el (xesam-search-engines):
17467 * net/quickurl.el (quickurl-list-insert):
17468 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
17469
17470 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
17471
17472 * startup.el (command-line): Update package subdirectory regexp.
17473
17474 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
17475
17476 * allout.el (allout-abbreviate-flattened-numbering)
17477 (allout-mode-deactivate-hook): Fix up obsolescence "date".
17478
17479 * subr.el (read-char-choice): Only show the cursor after the prompt,
17480 not after the answer.
17481
17482 2011-03-15 Kevin Ryde <user42@zip.com.au>
17483
17484 * help-fns.el (variable-at-point): Skip leading quotes, if any
17485 (bug#8253).
17486
17487 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
17488
17489 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
17490 warning message.
17491
17492 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
17493
17494 * shell.el (shell): When called interactively, offer to change the
17495 shell file name on remote hosts.
17496
17497 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
17498
17499 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
17500 integration for LDAP parameters. The host, base, user or binddn,
17501 and secret tokens can be specified in a netrc file, for instance.
17502 This is optional because an `auth-source' parameter must be
17503 specified in the search attributes.
17504
17505 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
17506
17507 * help.el (describe-mode): Link to the mode's definition (bug#8185).
17508
17509 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
17510
17511 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
17512 into declaration. Remove redundant and harmful binding.
17513
17514 2011-03-12 Eli Zaretskii <eliz@gnu.org>
17515
17516 * files.el (file-ownership-preserved-p): Pass `integer' as an
17517 explicit 2nd argument to `file-attributes'. If the file's owner
17518 is the Administrators group on Windows, and the current user is
17519 Administrator, consider that a match.
17520
17521 * server.el (server-ensure-safe-dir): Consider server directory
17522 safe on MS-Windows if its owner is the Administrators group while
17523 the current Emacs user is Administrator. Use `=' to compare
17524 numerical UIDs, since they could be integers or floats.
17525
17526 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
17527
17528 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
17529
17530 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
17531
17532 Sync with Tramp 2.2.1.
17533
17534 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
17535
17536 * net/trampver.el: Update release number.
17537
17538 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
17539
17540 * progmodes/compile.el (compilation--previous-directory): Fix up
17541 various nil/dead-marker mismatches (bug#8014).
17542 (compilation-directory-properties, compilation-error-properties):
17543 Don't call it at a position past the one we're about to change.
17544
17545 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
17546 Disable obsolescence warnings in the file that declares it.
17547
17548 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
17549
17550 * allout-widgets.el (allout-widgets-tally):
17551 Initialize allout-widgets-tally as a hash table rather than nil to
17552 prevent mode-line redisplay warnings. Also, clarify the module
17553 description and fix a comment typo.
17554
17555 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
17556
17557 * help-fns.el (describe-variable): Don't complete keywords.
17558 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
17559
17560 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
17561
17562 * emacs-lisp/package.el (package-version-join): Impose a standard
17563 string representation for pre/alpha/beta version lists.
17564 (package-unpack-single): Standardize the directory name by passing
17565 it through package-version-join.
17566 (package-strip-rcs-id): Accept any version string that does not
17567 signal an error in version-to-list.
17568
17569 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
17570
17571 * simple.el (delete-trailing-whitespace): Return nil for the
17572 benefit of `write-file-functions'.
17573
17574 2011-03-10 Glenn Morris <rgm@gnu.org>
17575
17576 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
17577
17578 * vc/vc-git.el (vc-git-program): New option.
17579 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
17580 (vc-git--call): Use it.
17581
17582 * eshell/esh-util.el (eshell-condition-case): Doc fix.
17583
17584 * cus-edit.el (Custom-newline): If no button at point, look
17585 for a subgroup button at start-of-line. (Bug#2298)
17586
17587 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
17588
17589 2011-03-10 Julien Danjou <julien@danjou.info>
17590
17591 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
17592 `cursor-type' is nil.
17593
17594 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
17595
17596 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
17597
17598 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
17599
17600 * allout.el: Change so yank of distinctive-bullet items
17601 preserves the existing header prefix, rebulleting it if necessary,
17602 rather than replacing it. This is necessary for proper operation
17603 of cooperative addons like allout-widgets.
17604 (allout-make-topic-prefix, allout-rebullet-heading):
17605 Change SOLICIT arg to INSTEAD, and interpret additionally a string
17606 value as alternate bullet to be used, instead of prompting the user
17607 for a bullet character.
17608
17609 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
17610
17611 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
17612 Do not use `tramp-file-name-port', because this returns also
17613 `tramp-default-port'.
17614
17615 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
17616
17617 * net/rcirc.el (rcirc-handler-001): Remove useless
17618 with-rcirc-process-buffer.
17619 (rcirc-check-auth-status): Swap arguments to string-match.
17620
17621 2011-03-09 Glenn Morris <rgm@gnu.org>
17622
17623 * shell.el (shell-mode):
17624 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
17625
17626 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
17627 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
17628
17629 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
17630
17631 * emacs-lisp/package.el (package-refresh-contents)
17632 (package-menu-execute): Use condition-case-no-debug.
17633
17634 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
17635
17636 * simple.el (shell-command-to-string): Use `process-file'.
17637
17638 * emacs-lisp/package.el (package-tar-file-info): Handle also
17639 remote files.
17640
17641 * emacs-lisp/package-x.el (package-upload-buffer-internal):
17642 Use `equal' for upload base check.
17643
17644 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
17645
17646 * textmodes/texinfo.el (texinfo-environments):
17647 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
17648
17649 2011-03-08 Glenn Morris <rgm@gnu.org>
17650
17651 * cus-start.el (cursor-in-non-selected-windows):
17652 Fix :set quoting oddness. (Bug#8192)
17653
17654 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
17655 in some setf expressions. (Bug#2159)
17656
17657 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
17658
17659 * custom.el (custom-available-themes): Return themes in
17660 alphabetical order.
17661
17662 See ChangeLog.15 for earlier changes.
17663
17664 ;; Local Variables:
17665 ;; coding: utf-8
17666 ;; End:
17667
17668 Copyright (C) 2011-2012 Free Software Foundation, Inc.
17669
17670 This file is part of GNU Emacs.
17671
17672 GNU Emacs is free software: you can redistribute it and/or modify
17673 it under the terms of the GNU General Public License as published by
17674 the Free Software Foundation, either version 3 of the License, or
17675 (at your option) any later version.
17676
17677 GNU Emacs is distributed in the hope that it will be useful,
17678 but WITHOUT ANY WARRANTY; without even the implied warranty of
17679 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17680 GNU General Public License for more details.
17681
17682 You should have received a copy of the GNU General Public License
17683 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.