]> code.delx.au - gnu-emacs/blob - lisp/ChangeLog
Implement ANSI SGR parameters 22-27.
[gnu-emacs] / lisp / ChangeLog
1 2012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
2
3 Implement ANSI SGR parameters 22-27 (bug#12146).
4 * ansi-color.el (ansi-colors): Doc fix.
5 (ansi-color-context, ansi-color-context-region): Doc fix.
6 (ansi-color--find-face): New function.
7 (ansi-color-apply, ansi-color-apply-on-region): Use it.
8 Rename the local variable `face' to `codes' since it is now a list of
9 ansi codes. Doc fix.
10 (ansi-color-get-face): Remove.
11 (ansi-color-parse-sequence): New function, derived from
12 ansi-color-get-face.
13 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
14 codes 22-27.
15
16 2012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
17
18 * subr.el (read-passwd): Allow use from a minibuffer.
19
20 2012-08-14 Eli Zaretskii <eliz@gnu.org>
21
22 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
23 inside comments and strings as identifiers.
24
25 * progmodes/gud.el (gud-tooltip-print-command): Quote the
26 expression to evaluate. This allows to evaluate expressions with
27 embedded whitespace.
28 (gud-tooltip-tips): Add a blank before the newline in the
29 message-box text, for the benefit of message-box emulation on
30 MS-Windows.
31
32 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
33 messages from GDB, pop them up in a tooltip to give feedback to
34 user.
35 (gdb-tooltip-print-1): Quote the expression to evaluate.
36 This allows to evaluate expressions with embedded whitespace.
37 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
38 if the TTY name is nil or empty (which happens when communicating
39 with the inferior via pipes, e.g. on MS-Windows).
40 (gdb-internals): If GDB sends a "&\n" empty debugging message,
41 don't send that to the GUD buffer.
42
43 2012-08-14 Glenn Morris <rgm@gnu.org>
44
45 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
46 Optimize away setq-default with no args, as for setq. (Bug#12195)
47
48 2012-08-14 Chong Yidong <cyd@gnu.org>
49
50 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
51
52 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
53 (Bug#12085).
54
55 2012-08-14 Glenn Morris <rgm@gnu.org>
56
57 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
58
59 2012-08-14 Michael Albinus <michael.albinus@gmx.de>
60
61 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
62 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
63 Use cached shell name.
64
65 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
66
67 * progmodes/python.el (python-shell-send-string):
68 (python-shell-send-setup-code): Do not use `format' with `message'.
69
70 2012-08-14 Dmitry Gutov <dgutov@yandex.ru>
71
72 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
73 (ruby-percent-literal-beg-re): New constant.
74 (ruby-syntax-general-delimiters-goto-beg): Rename to
75 `ruby-syntax-enclosing-percent-literal', improve literal type check.
76 (ruby-syntax-propertize-general-delimiters): Rename to
77 `ruby-syntax-propertize-percent-literal', it's a shorter and more
78 popular term. Adjust comments everywhere.
79 (ruby-syntax-propertize-percent-literal): Only propertize when not
80 inside a simple string or comment. When the literal is unclosed,
81 leave the text after it unpropertized.
82 (ruby-syntax-methods-before-regexp): New constant.
83 (ruby-syntax-propertize-function): Use it to recognize regexps.
84 Don't look at the text after regexp, just use the whitelist.
85
86 2012-08-14 Andreas Schwab <schwab@linux-m68k.org>
87
88 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
89 non-nil always load the compiled file if it exists. (Bug#12197)
90
91 2012-08-14 Chong Yidong <cyd@gnu.org>
92
93 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
94 (hi-lock-set-pattern): When deciding whether to use font lock or
95 overlays, look at font-lock-mode instead of font-lock-fontified
96 (Bug#12168).
97 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
98 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
99
100 2012-08-14 Daiki Ueno <ueno@unixuser.org>
101
102 * subr.el (internal--after-with-selected-window): Fix typo
103 (Bug#12193).
104
105 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
106
107 Use `completion-table-dynamic' for completion functions.
108 * progmodes/python.el
109 (python-shell-completion--do-completion-at-point)
110 (python-shell-completion--get-completions):
111 Remove functions.
112 (python-shell-completion-complete-at-point): New function.
113 (python-completion-complete-at-point): Use it.
114
115 2012-08-13 Jambunathan K <kjambunathan@gmail.com>
116
117 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
118 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
119
120 2012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
121
122 * subr.el (function-get): Refine `autoload' arg so it can also
123 autoload functions for gv.el (bug#12191).
124 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
125 autoloads macros.
126
127 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
128 Prefer pcase-let over destructuring-bind.
129 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
130 Also, remove whitespace as we go, rather than after accumulating the
131 various places.
132
133 * subr.el (internal--before-with-selected-window)
134 (internal--after-with-selected-window): Fix typo seleted->selected.
135 (with-selected-window): Adjust callers.
136 Reported by Dmitry Gutov <dgutov@yandex.ru>.
137
138 2012-08-13 Bastien Guerry <bzg@gnu.org>
139
140 * window.el (special-display-popup-frame): Small docstring
141 enhancement. (Bug#12172)
142
143 2012-08-13 Andreas Schwab <schwab@linux-m68k.org>
144
145 * tar-mode.el (tar-header-data-end): Only ignore size for files of
146 type 1-6.
147 (tar-header-block-summarize, tar-get-descriptor): Handle pax
148 extended headers.
149
150 * files.el (hack-local-variables-filter): Remove useless eval.
151
152 2012-08-13 Martin Rudalics <rudalics@gmx.at>
153
154 * subr.el (with-selected-window): Fix last change.
155
156 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
157
158 * subr.el (internal--before-with-seleted-window)
159 (internal--after-with-seleted-window): New functions.
160 (with-selected-window): Use them, to replace dependency on
161 tty-top-frame.
162
163 2012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
164
165 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
166 binding for `newline'.
167 (ruby-move-to-block): When moving backward, stop at block opening,
168 not indentation.
169 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
170 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
171 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
172 `ruby-toggle-block'.
173
174 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
175
176 * ibuffer.el (ibuffer-do-toggle-read-only):
177 * dired.el (dired-toggle-read-only):
178 * buff-menu.el (Buffer-menu-toggle-read-only):
179 * bindings.el (mode-line-toggle-read-only):
180 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
181
182 2012-08-12 Andreas Schwab <schwab@linux-m68k.org>
183
184 * descr-text.el (describe-char): Put the overlays over the
185 "displayed as" character.
186
187 2012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
188
189 * calc/calc-units.el (math-default-units-table): Give an
190 initial value.
191 (math-put-default-units): Add options to put composite units and
192 unit systems in the default units table.
193 (calc-convert-units): Send composite units to
194 `math-put-default-units' when appropriate.
195
196 2012-08-11 Glenn Morris <rgm@gnu.org>
197
198 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
199
200 * tutorial.el (help-with-tutorial):
201 * emacs-lisp/copyright.el (copyright-update-directory):
202 * emacs-lisp/autoload.el (autoload-find-generated-file)
203 (autoload-find-file): Disable local eval: (for insurance).
204
205 * files.el (hack-local-variables-filter): If an eval: form is not
206 known to be safe, and enable-local-variables is :safe, then ignore
207 the form totally, as is done for non-eval forms. (Bug#12155)
208
209 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
210
211 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
212 (rx-form): Simplify.
213
214 2012-08-09 Dmitry Gutov <dgutov@yandex.ru>
215
216 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
217 ?, _, and : are symbol constituents, ! is not (but kinda should be).
218 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
219 (ruby-syntax-propertize-function): Adjust for changes in
220 `ruby-syntax-propertize-heredoc'.
221
222 2012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
223
224 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
225 binding (use `M-;' instead).
226 (ruby-singleton-class-p): New function.
227 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
228
229 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
230
231 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
232
233 2012-08-10 Chong Yidong <cyd@gnu.org>
234
235 * progmodes/python.el (python-shell-get-process-name): Don't mess
236 with same-window-buffer-names.
237
238 * eshell/eshell.el (eshell-add-to-window-buffer-names)
239 (eshell-remove-from-window-buffer-names): Make obsolete.
240 (eshell-buffer-name, eshell-unload-hook): Don't use them.
241 (eshell): Just use pop-to-buffer-same-window instead.
242
243 2012-08-10 Chong Yidong <cyd@gnu.org>
244
245 * bindings.el: Bind M-= back to count-words-region.
246
247 * simple.el (count-words-region): Accept a prefix arg for acting
248 on the entire buffer.
249 (count-words--buffer-message): New helper function.
250
251 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
252
253 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
254 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
255 (event-start, event-end): Use posn-at-point to return a more
256 informative posn.
257 (posnp): New function.
258 * mouse.el (popup-menu-normalize-position): Use it.
259
260 2012-08-10 Masatake YAMATO <yamato@redhat.com>
261
262 * mouse.el (popup-menu-normalize-position): New function.
263 (popup-menu): Use `popup-menu-normalize-position' to normalize
264 the form for POSITION argument.
265
266 * term/x-win.el (x-menu-bar-open):
267 Use the value returend from (posn-at-point) as position
268 passed to `popup-menu'.
269
270 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
271
272 * calc/calccomp.el (math-compose-expr): Add extra argument
273 indicating that parentheses should be put around products in
274 denominators. Give multiplication precedence over division during
275 composition.
276
277 2012-08-09 Chong Yidong <cyd@gnu.org>
278
279 * man.el (Man-switches, Man-sed-command, Man-awk-command)
280 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
281 (Man-untabify-command, manual-program): Convert to defcustom
282 (Bug#10429).
283
284 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
285
286 * descr-text.el (describe-char): Don't insert extra newlines
287 (Bug#10127).
288
289 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
290 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
291
292 * align.el (align-region): Delete temporary markers (Bug#10047).
293 Plus some code cleanups.
294
295 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
296
297 * progmodes/python.el (python-pdbtrack-tracked-buffer)
298 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
299 (python-shell-internal-last-output): Use make-local-variable
300 instead of make-variable-buffer-local.
301
302 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
303
304 * progmodes/python.el: Enhancements to forward-sexp.
305 (python-nav-forward-sexp): Rename from
306 python-nav-forward-sexp-function.
307 (python-nav--forward-sexp, python-nav--backward-sexp):
308 New functions.
309
310 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
311
312 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
313 modes and simplification modes.
314
315 2012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
316
317 * delsel.el (delete-selection-pre-hook): Don't propagate the
318 file-supersession signals (bug#12161).
319
320 2012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
321
322 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
323 (cl-map-extents): Add compatibility aliases (bug#12135).
324
325 2012-08-08 Michael Albinus <michael.albinus@gmx.de>
326
327 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
328 tests by `ignore-error'.
329 (tramp-find-shell): Open also a new shell, when cache is already
330 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
331
332 2012-08-08 Juri Linkov <juri@jurta.org>
333
334 * bookmark.el: Add `defaults' property to the bookmark record.
335 (bookmark-current-buffer): Doc fix.
336 (bookmark-make-record): Add `defaults' property with default values
337 to the bookmark record.
338 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
339 with `bookmark-insert-current-bookmark'.
340 (bookmark-set): Get `defaults' property from the bookmark record
341 and use it in `read-from-minibuffer'.
342 (bookmark-insert-current-bookmark): Remove function.
343
344 * info.el (Info-bookmark-make-record): Add `defaults' property
345 with values of canonical Info node name, the current Info file
346 name and the current Info node name. (Bug#12107)
347
348 2012-08-08 Juri Linkov <juri@jurta.org>
349
350 * files.el (basic-save-buffer): Use `buffer-name' as the default
351 of `read-file-name' when buffer is not visiting a file (bug#12128).
352
353 2012-08-08 Juri Linkov <juri@jurta.org>
354
355 * info.el (Info-isearch-search): Doc fix.
356 (Info-search): Change search-failed message from "initial node" to
357 "end of node" (bug#12078).
358 (Info-isearch-search): Change `isearch-string-state' to
359 `isearch--state-string'.
360
361 2012-08-08 Glenn Morris <rgm@gnu.org>
362
363 * language/persian.el: Remove file.
364 * language/misc-lang.el: Move unique part of persian.el here.
365 * loadup.el: Remove language/persian.
366
367 2012-08-08 Óscar Fuentes <ofv@wanadoo.es>
368
369 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
370
371 2012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
372
373 * progmodes/python.el Fixed defsubst warning.
374 (python-syntax-context) Rename from python-info-ppss-context.
375 (python-syntax-context-type): Rename from
376 python-info-ppss-context-type.
377 (python-syntax-comment-or-string-p): Rename from
378 python-info-ppss-comment-or-string-p.
379
380 2012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
381
382 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
383
384 2012-08-07 Andreas Schwab <schwab@linux-m68k.org>
385
386 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
387 a defcustom that is quoted with backquote.
388
389 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
390 Fix handling of interactive spec when the body uses return.
391 (math-do-arg-check, math-define-function-body): Use backquote forms.
392 * calc/calc-ext.el (math-defcache): Likewise.
393 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
394 * allout.el (allout-new-exposure): Likewise.
395 * calc/calcalg2.el (math-tracing-integral): Likewise.
396 * info.el (Info-last-menu-item): Likewise.
397 * emulation/vip.el (vip-loop): Likewise.
398 * textmodes/artist.el (artist-funcall): Likewise.
399 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
400 Construct menu-item directly.
401
402 * progmodes/autoconf.el (font-lock-syntactic-keywords):
403 Don't declare.
404
405 2012-08-07 Chong Yidong <cyd@gnu.org>
406
407 * simple.el (deactivate-mark): Preserve text properties when
408 saving the primary selection (Bug#8384).
409
410 2012-08-07 Kevin Ryde <user42@zip.com.au>
411
412 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
413 (woman-parse-numeric-value): On a bad .IP line, issue a warning
414 and continue processing (Bug#12110).
415
416 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
417
418 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
419 syntax-propertize-function (bug#10095).
420
421 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
422
423 * help-fns.el (help-fns--key-bindings, help-fns--signature)
424 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
425 describe-function-1.
426 (describe-function-1): Use them. Move compiler macro after sig.
427 (help-fns--compiler-macro): Use function-get. Assume we're already in
428 standard-output. Adjust layout to new call order.
429
430 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
431 re-binding a symbol that has a symbol-macro (bug#12119).
432
433 2012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
434
435 * language/persian.el: New file. (Bug#11812)
436 * loadup.el: Add language/persian.el.
437
438 2012-08-06 Chong Yidong <cyd@gnu.org>
439
440 * window.el (window--maybe-raise-frame): New function.
441 (window--display-buffer): Split off from here.
442 (display-buffer-reuse-window, display-buffer-pop-up-frame)
443 (display-buffer-pop-up-window, display-buffer-use-some-window):
444 Obey an inhibit-switch-frame action alist entry.
445 (display-buffer): Update doc.
446
447 * replace.el (occur-after-change-function): Avoid losing focus by
448 using the inhibit-switch-frame display parameter (Bug#12139).
449
450 2012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
451
452 Make internal shell process buffer names start with space.
453 * progmodes/python.el (python-shell-make-comint): Add optional
454 argument INTERNAL.
455 (run-python-internal): Use it.
456 (python-shell-internal-get-or-create-process): Check for new
457 internal buffer names.
458
459 2012-08-06 Glenn Morris <rgm@gnu.org>
460
461 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
462 Do less getting and setting of environment variables.
463
464 2012-08-05 Chong Yidong <cyd@gnu.org>
465
466 * proced.el (proced): Add substitution string to docstring to
467 trigger autoloading of the proced library on C-h f (Bug#1768).
468
469 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
470 Don't show defvars which have no second argument (Bug#8638).
471
472 * imenu.el (imenu-generic-expression): Move documentation here
473 from imenu--generic-function.
474 (imenu--generic-function): Refer to imenu-generic-expression.
475
476 2012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
477
478 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
479 indentation declaration.
480 (viper-loop): Add indentation declaration (Bug#7025).
481
482 2012-08-05 Chong Yidong <cyd@gnu.org>
483
484 * help-fns.el (describe-variable): Add hyperlink for
485 directory-local variables files. Improve buffer-local and
486 permanent-local reporting; suggested by MON KEY (Bug#6644).
487
488 * help-mode.el (help-dir-local-var-def): New button type.
489
490 * files.el (kill-buffer-hook): Provide a defvar.
491
492 2012-08-05 Glenn Morris <rgm@gnu.org>
493
494 * eshell/esh-ext.el (eshell/addpath):
495 Also update eshell-path-env. (Bug#12013)
496
497 2012-08-05 Chong Yidong <cyd@gnu.org>
498
499 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
500
501 * fringe.el (fringe-styles): Add docstring.
502 (fringe--check-mode): New function.
503 (set-fringe-mode, set-fringe-style): Use it.
504 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
505
506 * files.el (set-auto-mode): Fix invalid setq call.
507
508 2012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
509
510 * isearch.el: Misc simplification; use defstruct.
511 (isearch-mode-map): Dense maps now work like sparse ones.
512 (isearch--state): New defstruct.
513 (isearch-string-state, isearch-message-state, isearch-point-state)
514 (isearch-success-state, isearch-forward-state)
515 (isearch-other-end-state, isearch-word-state, isearch-error-state)
516 (isearch-wrapped-state, isearch-barrier-state)
517 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
518 replaced by defstruct's accessors.
519 (isearch--set-state): Rename from isearch-top-state and change
520 calling convention.
521 (isearch-push-state): Use new isearch--get-state.
522 (isearch-toggle-word): Disable regexp when enabling word.
523 (isearch-message-prefix): Remove unused arg _c-q-hack.
524 (isearch-message-suffix): Remove unused arg _ellipsis.
525
526 2012-08-04 Andreas Schwab <schwab@linux-m68k.org>
527
528 * simple.el (list-processes--refresh): For a server use :host or
529 :local as the address.
530 (list-processes): Doc fix.
531
532 2012-08-04 Michal Nazarewicz <mina86@mina86.com> (tiny change)
533
534 * lisp/mpc.el: Support password in host argument.
535 (mpc--proc-connect): Parse and use new password element.
536 Set mpc-proc variable instead of returning process.
537 (mpc-proc): Adjust accordingly.
538
539 2012-08-03 Eli Zaretskii <eliz@gnu.org>
540
541 * whitespace.el (whitespace-display-mappings): Use Unicode
542 codepoints, instead of emacs-mule codepoints. See
543 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
544 for the details.
545
546 * files.el (file-truename): Don't skip symlink-chasing part on
547 windows-nt. Incorporate the resolution of 8+3 short aliases on
548 Windows into the loop that recursively chases symlinks.
549 Compare directory and its parent case-insensitively on MS-Windows and
550 MS-DOS.
551
552 2012-08-03 Chong Yidong <cyd@gnu.org>
553
554 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
555
556 * sort.el (sort-regexp-fields): Doc fix.
557
558 2012-08-03 Tassilo Horn <tsdh@gnu.org>
559
560 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
561 labels regex position point at the expected place.
562
563 2012-08-03 MON KEY <monkey@sandpframing.com>
564
565 * net/imap.el (imap-interactive-login, imap-authenticate)
566 (imap-mailbox-lsub, imap-mailbox-list)
567 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
568 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
569 (imap-parse-response): Doc fix.
570
571 2012-08-03 João Távora <joaotavora@gmail.com>
572
573 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
574 if sexp scanning does not move point (Bug#5734).
575
576 2012-08-02 Tassilo Horn <tsdh@gnu.org>
577
578 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
579 Add listings, minted, and ctable packages.
580 (reftex-label-alist-builtin): Move listings, minted, and ctable
581 entries before LaTeX.
582 (reftex-label-alist): Docfix.
583
584 2012-08-02 Bastien Guerry <bzg@gnu.org>
585
586 * replace.el (occur): Fix docstring (bug#12122).
587
588 2012-08-02 Glenn Morris <rgm@gnu.org>
589
590 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
591
592 2012-08-02 Paul Eggert <eggert@cs.ucla.edu>
593
594 Obsolete alias inactivate-current-input-method-function (Bug#10150).
595 * international/mule-cmds.el: Create
596 inactivate-current-input-method-function as an obsolete alias for
597 deactivate-current-input-method-function. See Katsumi Yamaoka in
598 <http://bugs.gnu.org/10150#46>.
599
600 2012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
601
602 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
603 of nested `if's.
604
605 2012-08-01 Glenn Morris <rgm@gnu.org>
606
607 * progmodes/autoconf.el (autoconf-definition-regexp):
608 Add AH_TEMPLATE, adjust submatch numbering.
609 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
610 (autoconf-current-defun-function): Update for above change.
611 (autoconf-current-defun-function): First skip to end of current word.
612
613 2012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
614
615 * calendar/cal-html.el (cal-html-insert-agenda-days):
616 Fix typo. (Bug#12018)
617
618 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
619
620 Shell processes: enhancements to startup and CEDET compatibility.
621 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
622 (python-shell-make-comint): accept-process-output at startup.
623 (run-python-internal): Set inferior-python-mode-hook to nil.
624 (python-shell-internal-get-or-create-process): call sit-for.
625 (python-preoutput-result): Add obsolete alias.
626 (python-shell-internal-send-string): Use it.
627 (python-shell-send-setup-code): Remove call to
628 accept-process-output.
629
630 2012-07-31 Andreas Schwab <schwab@linux-m68k.org>
631
632 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
633 (Bug#12108)
634
635 2012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
636
637 * calc-mode.el (calc-basic-simplification-mode): Rename from
638 `calc-limited-simplification-mode'.
639 (calc-alg-simplification-mode): New function.
640 (calc-set-simplify-mode): Adjust message.
641
642 * calc.el (calc-set-mode-line): Adjust mode line display for
643 basic simplification mode.
644
645 * calc-help.el (calc-m-prefix-help): Update help message.
646
647 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
648 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
649
650 2012-07-31 Bastien Guerry <bzg@gnu.org>
651
652 * man.el (man): Fix comment. (bug#12101)
653
654 2012-07-31 Martin Rudalics <rudalics@gmx.at>
655
656 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
657 Don't return a non-nil value when no suitable buffer was found.
658
659 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
660
661 * progmodes/python.el (run-python-internal): Disable font lock for
662 internal shells.
663
664 2012-07-30 Stefan Merten <smerten@oekonux.de>
665
666 * rst.el: Silence `checkdoc-ispell'.
667 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
668 (rst-official-version, rst-official-cvs-rev)
669 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
670 (rst-mode-map): New key binding.
671
672 2012-07-30 Paul Eggert <eggert@cs.ucla.edu>
673
674 Update .PHONY listings in makefiles.
675 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
676 autoloads, update-subdirs, updates, bzr-update, update-authors,
677 compile-onefile, compile-calc, backup-compiled-files,
678 compile-after-backup, compile-one-process, mh-autoloads,
679 bootstrap-clean, distclean, maintainer-clean.
680
681 2012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
682
683 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
684 (calc-set-mode-line): Don't display "AlgSimp ".
685
686 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
687 (calc-lim-simplify-mode): New function.
688 (calc-set-simplify-mode): Default to 'alg.
689 (calc-default-simplify-mode): Make algebraic simplifications
690 the default.
691
692 * calc/calc-ext.el (calc-init-extensions): Remove binding for
693 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
694
695 * calc/calc-help.el (calc-m-prefix-help): Change messages to
696 indicate new simplification modes.
697
698 * calc/README: Mention new default simplification mode.
699
700 * calc/calc.el (math-normalize-error): New variable.
701 (math-normalize): Set `math-normalize-error' to t
702 when there's an error.
703
704 * calc/calc-alg.el (math-simplify): Don't simplify when
705 `math-normalize' returns an error.
706
707 2012-07-29 Eli Zaretskii <eliz@gnu.org>
708
709 * international/mule-cmds.el (set-locale-environment): Revert last
710 change, since display-graphic-p returns nil when this function is
711 called during startup. Instead...
712
713 * term/w32console.el (terminal-init-w32console): ...setup the
714 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
715
716 2012-07-29 Juri Linkov <juri@jurta.org>
717
718 * simple.el (goto-line): Don't display default line number in the
719 prompt because it should be displayed by `read-number' (bug#9952).
720 Add the current line number to the defaults of `goto-line' to
721 allow its easier modification by users with `M-n' (bug#9201).
722
723 * subr.el (read-number): Support multiple default values like in
724 other minibuffer reading functions. Replace `read' with
725 `string-to-number' for consistency with `number-to-string'.
726
727 2012-07-29 Paul Eggert <eggert@cs.ucla.edu>
728
729 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
730 * emulation/viper-init.el (viper-deactivate-input-method-action):
731 Rename from viper-inactivate-input-method-action.
732 (viper-deactivate-input-method):
733 Rename from viper-inactivate-input-method.
734 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
735 * international/mule-cmds.el (deactivate-input-method):
736 Rename from inactivate-input-method.
737 Also run input-method-deactivate-hook.
738 (deactivate-current-input-method-function):
739 Rename from inactivate-current-input-method-function.
740 (input-method-deactivate-hook): New hook.
741 (input-method-inactivate-hook): Mark obsolete.
742 (inactivate-input-method): Mark obsolete.
743
744 * international/quail.el (quail-activate):
745 Also run quail-deactivate-hook.
746 (quail-deactivate): Rename from quail-inactivate.
747 * international/robin.el (robin-activate):
748 Also run robin-deactivate-hook.
749 (robin-deactivate): Rename from robin-inactivate.
750
751 2012-07-29 Chong Yidong <cyd@gnu.org>
752
753 * simple.el (indicate-copied-region): New function.
754 (kill-ring-save): Split off from here.
755
756 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
757 (kill-rectangle): Set deactivate-mark to t on read-only error.
758
759 * register.el (copy-to-register, copy-rectangle-to-register):
760 Deactivate the mark, and use indicate-copied-region (Bug#10056).
761 (append-to-register, prepend-to-register):
762 Call 2012-07-29 Juri Linkov <juri@jurta.org>
763
764 * simple.el (async-shell-command-buffer): New defcustom.
765 (shell-command): Use it. (Bug#4719)
766
767 2012-07-28 Eli Zaretskii <eliz@gnu.org>
768
769 * international/mule-cmds.el (set-locale-environment): In a
770 console session on MS-Windows, set up keyboard and terminal
771 encoding from the OEM codepage, not the ANSI codepage.
772 (Bug#12055)
773
774 2012-07-28 Chong Yidong <cyd@gnu.org>
775
776 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
777 gdb-get-location.
778
779 2012-07-28 Leo Liu <sdl.web@gmail.com>
780
781 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
782 the alist (bug#12029).
783
784 2012-07-28 Eli Zaretskii <eliz@gnu.org>
785
786 * makefile.w32-in (custom-deps, finder-data, updates, compile)
787 (compile-always, compile-first)
788 ($(lisp)/calendar/cal-loaddefs.el)
789 ($(lisp)/calendar/diary-loaddefs.el)
790 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
791 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
792 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
793 instead of on update-subdirs.
794 (bootstrap-clean): Delete $(lisp)/subdirs.el.
795
796 2012-07-28 Chong Yidong <cyd@gnu.org>
797
798 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
799 directory if vc-deduce-backend returns nil (Bug#7350).
800
801 * simple.el (delete-trailing-lines): New option.
802 (delete-trailing-whitespace): Obey it (Bug#11879).
803
804 2012-07-28 David Engster <deng@randomsample.de>
805
806 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
807 Explanation of new 'symbol-qnames feature in doc-strings.
808 (xml-maybe-do-ns): Return expanded names as plain symbols if
809 'symbol-qnames was provided in XML-NS argument (Bug#11916).
810 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
811
812 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
813
814 Consistent completion in inferior python with emacs -nw.
815 * progmodes/python.el (inferior-python-mode): replace "<tab>"
816 binding in inferior-python-mode-map with "\t".
817 (python-shell-completion-complete-at-point)
818 (python-completion-complete-at-point): Remove interactive spec.
819
820 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
821
822 * calc/calccomp.el (math-compose-expr): Undo previous change.
823
824 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
825
826 * progmodes/python.el (python-mode-map): Add keybinding for
827 run-python.
828 (python-shell-make-comint): Fix pop-to-buffer call.
829 (run-python): Autoload. New arg SHOW.
830 (python-shell-get-or-create-process): Do not pop python process
831 buffer.
832
833 2012-07-27 Michael Albinus <michael.albinus@gmx.de>
834
835 * notifications.el (notifications-on-action-signal)
836 (notifications-on-closed-signal): Use also the bus address for the map.
837 (notifications-notify, notifications-close-notification)
838 (notifications-get-capabilities): Add optional argument BUS.
839
840 2012-07-27 Tassilo Horn <tsdh@gnu.org>
841
842 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
843 Add support for the lstlisting and minted environments, and for the
844 ctable macro.
845 * textmodes/reftex.el (reftex-compile-variables): Also recognize
846 labels written in keyvals syntax.
847
848 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
849
850 * calc/calccomp.el (math-compose-expr): Use parentheses when
851 there is a product in the denominator of a fraction.
852
853 2012-07-26 Eli Zaretskii <eliz@gnu.org>
854
855 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
856 ($(lisp)/calendar/diary-loaddefs.el)
857 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
858 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
859 Fixes failures in parallel bootstrap because subdirs.el is being
860 rewritten while the autoload files are built at the same time,
861 which needs to load subdirs.el.
862
863 2012-07-26 Martin Rudalics <rudalics@gmx.at>
864
865 * mouse.el (popup-menu): Fix doc-string and re-indent code.
866 (mouse-drag-line): Don't exit tracking when a switch-frame or
867 switch-window event occurs (Bug#12006).
868
869 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
870
871 * mouse.el (popup-menu): Fix last change.
872
873 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
874
875 Autoload from Lisp with more care. Follow aliases when looking for
876 function properties.
877 * subr.el (autoloadp): New function.
878 (symbol-file): Use it.
879 (function-get): New function.
880 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
881 autoload-do-load.
882 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
883 (lisp-indent-function):
884 * emacs-lisp/gv.el (gv-get):
885 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
886 * emacs-lisp/byte-opt.el (byte-optimize-form):
887 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
888 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
889 Use function-get.
890 * emacs-lisp/cl.el: Don't propagate function properties any more.
891
892 * speedbar.el (speedbar-add-localized-speedbar-support):
893 * emacs-lisp/disass.el (disassemble-internal):
894 * desktop.el (desktop-load-file):
895 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
896 (describe-function-1):
897 * emacs-lisp/find-func.el (find-function-noselect):
898 * emacs-lisp/elp.el (elp-instrument-function):
899 * emacs-lisp/advice.el (ad-has-proper-definition):
900 * apropos.el (apropos-safe-documentation, apropos-macrop):
901 * emacs-lisp/debug.el (debug-on-entry):
902 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
903 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
904 * calc/calc.el (name): Use autoloadp & autoload-do-load.
905
906 2012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
907
908 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
909 function, not an obsolete variable (Bug#12046).
910
911 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
912
913 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
914
915 2012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
916
917 * emacs-lisp/pp.el (pp-display-expression): Select old selected
918 window only if it is still live (Bug#12034).
919
920 2012-07-25 Martin Rudalics <rudalics@gmx.at>
921
922 * subr.el (redirect-frame-focus): Add advertised calling
923 convention (Bug#12030).
924
925 2012-07-25 Paul Eggert <eggert@cs.ucla.edu>
926
927 Prefer typical American spelling for "acknowledgment".
928 * vc/add-log.el (change-log-acknowledgment): Rename from
929 change-log-acknowledgement, with an alias for the old name.
930
931 2012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
932
933 * calc-alg.el (math-simplify-divide): Don't cross multiply
934 in an equation when the lhs is a variable.
935
936 2012-07-24 Julien Danjou <julien@danjou.info>
937
938 * net/netrc.el (netrc-find-service-number, netrc-store-data):
939 Remove, unused.
940
941 2012-07-23 Eli Zaretskii <eliz@gnu.org>
942
943 * startup.el (command-line): Don't display an empty user name in
944 the error message about non-existent home directory, when
945 init-file-user was set to an empty string. See
946 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
947 for the details and context.
948
949 2012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
950
951 * ses.el (ses-cell-formula-aset): New macro.
952 (ses-cell-references-aset): New macro.
953 (ses-cell-p): New function.
954 (ses-rename-cell): Do no longer rely on complex operations like
955 ses-cell-set-formula or ses-set-cell to change the cell and handle
956 the undo at the same time, but rather use lower level new macros
957 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
958 the undo directly. Refresh the mode line.
959
960 2012-07-21 Leo Liu <sdl.web@gmail.com>
961
962 * progmodes/cc-cmds.el (c-defun-name):
963 Use match-string-no-properties instead for consistency.
964
965 2012-07-20 Leo Liu <sdl.web@gmail.com>
966
967 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
968 (Bug#7879)
969
970 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
971
972 2012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
973
974 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
975 * progmodes/bug-reference.el, misearch.el: Provide themselves
976 (bug#11915).
977
978 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
979 of narrowed buffer (bug#11966).
980
981 2012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
982
983 * ses.el (ses-rename-cell): Set new name also in reference list of
984 cells of which the renamed cell depends.
985
986 2012-07-20 Masatake YAMATO <yamato@redhat.com>
987
988 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
989 to check whether menu-bar is shown or not. If not shown,
990 show the menu-bar as a popup menu instead of using tmm.
991 * mouse.el (popup-menu): Accept `point' as `position' argument.
992
993 2012-07-20 Dmitry Gutov <dgutov@yandex.ru>
994
995 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
996 up inside string symbol literal (bug#11923).
997
998 2012-07-20 Eli Zaretskii <eliz@gnu.org>
999
1000 * startup.el (fancy-startup-text): Read the whole tutorial, not
1001 just its first 256 bytes. Prevents gibberish in display of the
1002 tutorial title.
1003
1004 2012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
1005
1006 Drop idle buffer compaction due to an absence of the
1007 proved efficiency.
1008 * compact.el: Remove.
1009
1010 2012-07-19 Sam Steingold <sds@gnu.org>
1011
1012 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
1013 vc-bzr-pull & vc-bzr-merge-branch.
1014 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
1015 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
1016 for consistency with compilation-error-regexp-alist.
1017 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
1018 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
1019 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
1020 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
1021
1022 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
1023
1024 * emacs-lisp/chart.el: Use lexical-binding.
1025 (chart-emacs-storage): Don't hardcode the list of entries.
1026
1027 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
1028
1029 Next round of tweaks caused by Fgarbage_collect changes.
1030 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
1031
1032 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
1033
1034 Compact buffers when idle.
1035 * compact.el: New file.
1036
1037 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
1038
1039 * subr.el (eventp): Presume that if it looks vaguely like an event,
1040 it's an event (bug#10190).
1041
1042 2012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
1043
1044 Enhancements to ppss related code (thanks Stefan).
1045 * progmodes/python.el (python-indent-context)
1046 (python-indent-calculate-indentation, python-indent-dedent-line)
1047 (python-indent-electric-colon, python-nav-forward-block)
1048 (python-mode-abbrev-table)
1049 (python-info-assignment-continuation-line-p): Simplify checks
1050 for ppss context.
1051 (python-info-continuation-line-p): Cleanup.
1052 (python-info-ppss-context): Do not catch 'quote.
1053 (python-info-ppss-context-type)
1054 (python-info-ppss-comment-or-string-p): Simplify.
1055
1056 2012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
1057
1058 * progmodes/python.el: Enhancements to eldoc support.
1059 (python-info-current-symbol): New function.
1060 (python-eldoc-at-point): Use python-info-current-symbol.
1061 (python-info-current-defun): Fix cornercase on first defun scan.
1062 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
1063 and signal error when no inferior python process is available.
1064
1065 2012-07-18 Dmitry Gutov <dgutov@yandex.ru>
1066
1067 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
1068 assume it's always t.
1069 (vc-git-registered): Remove caching, the function is only called
1070 once.
1071 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
1072
1073 2012-07-18 Chong Yidong <cyd@gnu.org>
1074
1075 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
1076
1077 * simple.el (count-words): Report on narrowing (Bug#9959).
1078
1079 * bindings.el: Bind M-= to count-words.
1080
1081 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
1082
1083 2012-07-18 Masatake YAMATO <yamato@redhat.com>
1084
1085 * progmodes/sh-script.el (sh-imenu-generic-expression):
1086 Capture a function with `function' keyword and without parentheses
1087 like "function FOO" (bug#11856).
1088
1089 2012-07-18 Tassilo Horn <tassilo@member.fsf.org>
1090
1091 * window.el (split-window-sensibly): Make WINDOW argument
1092 optional.
1093
1094 2012-07-18 Chong Yidong <cyd@gnu.org>
1095
1096 * subr.el (keyboard-translate): Doc fix (Bug#7261).
1097
1098 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
1099 and make C-x 8 RET exit isearch (Bug#11439).
1100
1101 * international/iso-transl.el: Move isearch-mode-map key
1102 definitions to isearch.el.
1103
1104 2012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
1105
1106 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
1107 (eieio-defclass): Use gv-define-setter when possible.
1108
1109 2012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
1110
1111 Reflect recent changes in Fgarbage_collect.
1112 * emacs-lisp/chart.el (chart-emacs-storage): Change to
1113 reflect new format of data returned by Fgarbage_collect.
1114
1115 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
1116
1117 New utility functions + python-info-ppss-context fix (Bug#11910).
1118 * progmodes/python.el (python-info-beginning-of-block-statement-p)
1119 (python-info-ppss-comment-or-string-p): New functions.
1120 (python-info-ppss-context): Small fix for string check.
1121
1122 2012-07-17 Juri Linkov <juri@jurta.org>
1123
1124 * dired-aux.el (dired-do-async-shell-command): Doc fix.
1125 (dired-do-async-shell-command): Don't add `*' at the end of the
1126 command (Bug#11815).
1127 (dired-do-shell-command): Doc fix.
1128 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
1129 Join the individual commands using either "&" or ";" as the
1130 separator depending on the values of these trailing characters.
1131 At the end re-add the trailing "&". (Bug#10598)
1132
1133 * simple.el (async-shell-command): Sync the interactive spec with
1134 `shell-command'. Doc fix.
1135 (shell-command): Doc fix.
1136
1137 2012-07-17 Juri Linkov <juri@jurta.org>
1138
1139 * descr-text.el (describe-char): Fix format args. (Bug#10129)
1140
1141 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
1142
1143 Final renames and doc fixes for movement commands (bug#11899).
1144 * progmodes/python.el (python-nav-beginning-of-statement):
1145 Rename from python-nav-statement-start.
1146 (python-nav-end-of-statement): Rename from
1147 python-nav-statement-end.
1148 (python-nav-beginning-of-block): Rename from
1149 python-nav-block-start.
1150 (python-nav-end-of-block): Rename from python-nav-block-end.
1151
1152 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
1153
1154 * progmodes/python.el (python-shell-send-string-no-output):
1155 Allow accept-process-output to quit, keeping shell process ready for
1156 future interactions (Bug#11868).
1157
1158 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
1159
1160 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
1161
1162 * emacs-lisp/elint.el (elint-find-args-in-code):
1163 Use help-function-arglist, so as to handle lexical byte-code.
1164
1165 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
1166 change (bug#11826).
1167
1168 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
1169
1170 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
1171 Avoid spuriously marking the buffer as modified because of c-is-sws.
1172
1173 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
1174 as not-a-comment (bug#11946).
1175
1176 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
1177 for uninterned vars.
1178
1179 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
1180 Use read-event since we don't really want to read chars but bytes.
1181
1182 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
1183 $$..$$ but also $..$ using regexps (bug#11953).
1184 Use tex-verbatim for \url and \path.
1185 (tex-font-lock-keywords): Define as defconst like the others.
1186 (tex-common-initialization): Don't use font-lock-syntax-table any more.
1187
1188 2012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
1189
1190 * international/mule-cmds.el (ucs-insert): Make it an obsolete
1191 alias for insert-char.
1192
1193 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
1194
1195 * progmodes/python.el: Simplified imenu implementation.
1196 (python-nav-jump-to-defun): Remove command.
1197 (python-mode-map): Use `imenu' instead.
1198 (python-nav-list-defun-positions-cache)
1199 (python-imenu-include-defun-type, python-imenu-make-tree)
1200 (python-imenu-subtree-root-label, python-imenu-index-alist):
1201 Remove vars.
1202 (python-nav-list-defun-positions, python-nav-read-defun)
1203 (python-imenu-tree-assoc, python-imenu-make-element-tree)
1204 (python-imenu-make-tree, python-imenu-create-index):
1205 Remove functions.
1206 (python-mode): Update to interact with imenu by setting
1207 `imenu-extract-index-name-function' only.
1208
1209 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
1210
1211 * progmodes/python.el: Enhancements to navigation commands.
1212 (python-nav-backward-sentence)
1213 (python-nav-forward-sentence): Remove.
1214 (python-nav-backward-statement, python-nav-forward-statement)
1215 (python-nav-statement-start, python-nav-statement-end)
1216 (python-nav-backward-block, python-nav-forward-block)
1217 (python-nav-block-start, python-nav-block-end)
1218 (python-nav-forward-sexp-function)
1219 (python-info-current-line-comment-p)
1220 (python-info-current-line-empty-p): New functions.
1221 (python-indent-context): Use `python-nav-statement-start'.
1222
1223 2012-07-16 Michael Albinus <michael.albinus@gmx.de>
1224
1225 * eshell/em-ls.el (eshell/ls): Use `apply'.
1226
1227 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
1228 multi-hops, instead of Tramp internals.
1229
1230 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
1231
1232 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
1233 when F1 and F2 are located on different hosts.
1234
1235 2012-07-14 Chong Yidong <cyd@gnu.org>
1236
1237 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
1238 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
1239 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
1240 (xterm-mouse--read-event-sequence-1000)
1241 (xterm-mouse--read-event-sequence-1006): New functions. For old
1242 mouse protocol, handle M-mouse-X events correctly.
1243 (xterm-mouse-event): New arg specifying mouse protocol.
1244 (turn-on-xterm-mouse-tracking-on-terminal)
1245 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
1246 sequence to toggle extended coordinates on newer XTerms.
1247 This appears to be harmless on terminals which do not support this.
1248
1249 2012-07-14 Leo Liu <sdl.web@gmail.com>
1250
1251 Add fringe bitmap indicators for flymake. (Bug#11253)
1252 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
1253 (flymake-make-overlay): New arg BITMAP.
1254 (flymake-error-bitmap, flymake-warning-bitmap)
1255 (flymake-fringe-indicator-position): New user variables.
1256
1257 * fringe.el: New bitmap exclamation-mark.
1258
1259 2012-07-14 Jan Djärv <jan.h.d@swipnet.se>
1260
1261 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
1262 also (Bug#7879).
1263
1264 2012-07-14 Chong Yidong <cyd@gnu.org>
1265
1266 * electric.el (electric-pair-post-self-insert-function): Fix pair
1267 insertion in empty-region case (Bug#11520).
1268
1269 2012-07-14 Chong Yidong <cyd@gnu.org>
1270
1271 * bindings.el: Consolidate ctl-x-r-map bindings.
1272 Bind copy-rectangle-as-kill to C-x r w.
1273
1274 * rect.el, register.el: Move bindings to bindings.el.
1275
1276 2012-07-14 Reuben Thomas <rrt@sc3d.org>
1277
1278 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
1279
1280 2012-07-13 Andreas Schwab <schwab@linux-m68k.org>
1281
1282 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
1283
1284 2012-07-13 Juanma Barranquero <lekktu@gmail.com>
1285
1286 * bindings.el (top): Use `mapc' instead of `mapcar'.
1287
1288 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
1289
1290 2012-07-13 Michael Albinus <michael.albinus@gmx.de>
1291
1292 * progmodes/sql.el (sql-comint): Suppress the check for program on
1293 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
1294 (Bug#11908)
1295
1296 2012-07-13 Chong Yidong <cyd@gnu.org>
1297
1298 * bindings.el: Assign a non-nil permanent-local property to
1299 per-buffer variables which lack a default value (Bug#11930).
1300
1301 * help-fns.el (describe-variable): In the "automatically becomes
1302 local" notice, take note of permanent-local variables.
1303
1304 2012-07-13 Chong Yidong <cyd@gnu.org>
1305
1306 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
1307 to allow printing the message when called from Lisp.
1308
1309 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
1310 Remove toggle-read-only.
1311
1312 * bs.el (bs-toggle-readonly):
1313 * buff-menu.el (Buffer-menu-toggle-read-only):
1314 Remove with-no-warnings around toggle-read-only.
1315
1316 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
1317 Remove with-no-warnings around toggle-read-only.
1318 (ffap-read-only, ffap-read-only-other-window)
1319 (ffap-read-only-other-frame): Callers changed.
1320
1321 * help-mode.el: Don't require view package.
1322 (help-mode-finish): Set buffer-read-only instead of calling
1323 toggle-read-only.
1324
1325 * bindings.el (mode-line-toggle-read-only):
1326 * dired.el (dired-toggle-read-only):
1327 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
1328 with non-nil second arg.
1329
1330 * emacs-lisp/eieio-custom.el (eieio-customize-object):
1331 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
1332 directly.
1333
1334 2012-07-12 Eli Zaretskii <eliz@gnu.org>
1335
1336 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
1337 not incf.
1338
1339 2012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
1340
1341 More CL cleanups and reduction of use of cl.el.
1342 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
1343 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
1344 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
1345 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
1346 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
1347 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
1348 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
1349 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
1350 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
1351 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
1352 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
1353 * eshell/em-cmpl.el, eshell/em-banner.el:
1354 * calendar/parse-time.el: Use cl-lib.
1355 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
1356 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
1357 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
1358 * term/ns-win.el, term.el, shell.el, ps-samp.el:
1359 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
1360 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
1361 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
1362 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
1363 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
1364 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
1365 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
1366 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
1367 `lambda' rather than with `quote'.
1368 (eshell-do-opt): Adjust accordingly.
1369 (eshell-process-option): Simplify.
1370 * eshell/esh-var.el:
1371 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
1372 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
1373 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
1374 to `pcase--dontcare'.
1375 * emacs-lisp/cl.el (labels): Mark obsolete.
1376 (cl--letf, letf): Move to cl-lib.
1377 (cl--letf*, letf*): Remove.
1378 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
1379 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
1380 (cl-progv): Rewrite.
1381 (cl--letf, cl-letf): Move from cl.el.
1382 (cl-letf*): New macro.
1383 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
1384
1385 2012-07-11 Michael Albinus <michael.albinus@gmx.de>
1386
1387 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
1388
1389 2012-07-11 Chong Yidong <cyd@gnu.org>
1390
1391 * vc/log-edit.el (log-edit-vc-backend): New variable.
1392 (log-edit): Doc fix.
1393
1394 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
1395 argument of log-edit to set up all local variables.
1396 (vc-start-logentry): New optional arg specifying VC backend.
1397
1398 * vc/vc.el (vc-checkin): Use it.
1399 (vc-deduce-fileset): Handle Log Edit buffers.
1400 (vc-diff): Make first argument optional too.
1401
1402 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
1403
1404 2012-07-10 Michael Albinus <michael.albinus@gmx.de>
1405
1406 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
1407 command, just in case. The function is not needed anymore.
1408 (eshell-external-command): Do not call `eshell-remote-command'.
1409
1410 2012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
1411
1412 Reduce use of (require 'cl).
1413 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
1414 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
1415 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
1416 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
1417 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
1418 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
1419 * battery.el, avoid.el, abbrev.el: Use cl-lib.
1420 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
1421 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
1422 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
1423 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
1424 * calculator.el, autorevert.el, apropos.el: Don't require CL.
1425 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
1426 (byte-compile-unfold-bcf, byte-compile-check-variable):
1427 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
1428 (byte-compile-nilconstp):
1429 * emacs-lisp/autoload.el (make-autoload): Use pcase.
1430 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
1431
1432 * emacs-lisp/gv.el (cond): Make it a valid place.
1433 (if): Simplify slightly.
1434
1435 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
1436 (pcase--self-quoting-p): New function.
1437 (pcase--u1): Use it.
1438
1439 2012-07-10 Glenn Morris <rgm@gnu.org>
1440
1441 * emacs-lisp/authors.el (authors-fixed-entries):
1442 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
1443
1444 2012-07-09 Paul Eggert <eggert@cs.ucla.edu>
1445
1446 Rename configure.in to configure.ac (Bug#11603).
1447 * emacs-lisp/authors.el (authors-canonical-file-name):
1448 * progmodes/autoconf.el (autoconf-mode):
1449 Prefer configure.ac to configure.in.
1450
1451 2012-07-08 Chong Yidong <cyd@gnu.org>
1452
1453 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
1454 Implement the mouse-1-click-follows-link handling properly.
1455
1456 * info.el (Info-link-keymap): Use follow-link mechanism for
1457 header-line links (Bug#374).
1458
1459 * simple.el (deactivate-mark): Do not set the primary selection
1460 if another program has acquired it (Bug#11772).
1461
1462 2012-07-07 Kevin Ryde <user42@zip.com.au>
1463
1464 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
1465 (woman-decode-region): Replace escaped-escapes without destroying
1466 bold or underline (Bug#11552).
1467 (woman2-process-escapes): Handle nofill regions (Bug#11591).
1468
1469 2012-07-07 Chong Yidong <cyd@gnu.org>
1470
1471 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
1472 (interprogram-cut-function, interprogram-paste-function):
1473 Mention that we typically mean the clipboard.
1474
1475 2012-07-06 Glenn Morris <rgm@gnu.org>
1476
1477 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
1478
1479 * files.el (toggle-read-only): Restrict message to interactive use.
1480
1481 2012-07-06 Michael Albinus <michael.albinus@gmx.de>
1482
1483 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
1484
1485 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
1486
1487 2012-07-06 Glenn Morris <rgm@gnu.org>
1488
1489 * Makefile.in (compile-one-process): Rename from "recompile".
1490
1491 * Makefile.in (bzr-update): "compile" is the same as "recompile
1492 autoloads", but parallelizable, so use that instead.
1493
1494 2012-07-06 Dmitry Gutov <dgutov@yandex.ru>
1495
1496 * window.el (quit-window): Always restore window height when
1497 it's saved in quit-restore parameter (Bug#11810).
1498
1499 2012-07-06 Glenn Morris <rgm@gnu.org>
1500
1501 * simple.el (kill-whole-line): Doc tweak.
1502
1503 2012-07-06 Eli Zaretskii <eliz@gnu.org>
1504
1505 * files.el (file-relative-name): Compare file names
1506 case-insensitively if on MS-Windows or MS-DOS, or if
1507 read-file-name-completion-ignore-case is non-nil. Don't use
1508 case-fold-search for this purpose. (Bug#11827)
1509
1510 2012-07-17 Andreas Schwab <schwab@linux-m68k.org>
1511
1512 * calendar/cal-dst.el (calendar-current-time-zone):
1513 Return calendar-current-time-zone-cache if non-nil.
1514
1515 2012-07-17 Masatake YAMATO <yamato@redhat.com>
1516 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
1517
1518 * calendar/cal-dst.el (calendar-current-time-zone):
1519 Return calendar-current-time-zone-cache if non-nil.
1520
1521 2012-07-06 Glenn Morris <rgm@gnu.org>
1522
1523 * Makefile.in (cvs-update): Remove old alias.
1524
1525 2012-07-05 Michael Albinus <michael.albinus@gmx.de>
1526
1527 Sync with Tramp 2.2.6-pre.
1528
1529 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
1530 compatible declaration.
1531
1532 * net/tramp-cmds.el (tramp-append-tramp-buffers):
1533 Protect `list-load-path-shadows' call.
1534
1535 * net/tramp-compat.el (top): Require packages, which aren't
1536 autoloaded anymore for XEmacs. Protect call of
1537 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
1538 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
1539 it hurts at least for SXEmacs.
1540 (tramp-compat-temporary-file-directory): In XEmacs, there is no
1541 standard-value for `temporary-file-directory'.
1542
1543 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
1544 Redirect stderr to /dev/null.
1545 (tramp-sh-handle-write-region): uid and gid can be floats.
1546 Reported by Russell Sim <russell.sim@gmail.com>.
1547 (tramp-sh-handle-vc-registered): Hide errors.
1548 (tramp-vc-file-name-handler): Use dummy results for `process-file'
1549 and `start-file-process'.
1550 (tramp-maybe-open-connection): Check also whether `non-essential'
1551 is bound.
1552
1553 2012-07-04 Chong Yidong <cyd@gnu.org>
1554
1555 * xml.el (xml--parse-buffer): Use xml-syntax-table.
1556 (xml-parse-tag): Likewise, and avoid changing entity tables.
1557 (xml-syntax-table): Define from scratch, making sure not to give
1558 x2000 and other Unicode spaces whitespace syntax, since those are
1559 not spaces in XML.
1560 (xml-parse-fragment): Delete unused function.
1561 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
1562 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
1563 (xml-entity-ref, xml-pe-reference-re)
1564 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
1565 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
1566 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
1567 (xml-entity-value-re): Use syntax references in regexps where
1568 possible; no need to define inside a let-binding.
1569 (xml-parse-dtd): Use xml-pe-reference-re.
1570 (xml-entity-or-char-ref-re): New defconst.
1571 (xml-parse-string, xml-substitute-special): Use it.
1572
1573 2012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
1574
1575 * files.el (locate-dominating-file): Allow `name' to be a predicate.
1576 (find-file--read-only): New function.
1577 (find-file-read-only, find-file-read-only-other-window)
1578 (find-file-read-only-other-frame): Use it.
1579 (insert-file-contents-literally): Don't `fset'.
1580 (get-free-disk-space): Use locate-dominating-file.
1581
1582 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
1583 function is already compiled.
1584
1585 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
1586
1587 2012-07-03 Michael Albinus <michael.albinus@gmx.de>
1588
1589 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
1590 files on the same host.
1591
1592 2012-07-03 Andreas Schwab <schwab@linux-m68k.org>
1593
1594 * help-fns.el (describe-function-1): Only call
1595 help-fns--autoloaded-p when we have a file name. (Bug#11848)
1596
1597 2012-07-03 Chong Yidong <cyd@gnu.org>
1598
1599 * xml.el: Protect parser against XML bombs.
1600 (xml-entity-expansion-limit): New variable.
1601 (xml-parse-string, xml-substitute-special): Use it.
1602 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
1603
1604 2012-07-03 Glenn Morris <rgm@gnu.org>
1605
1606 * progmodes/bug-reference.el (bug-reference-bug-regexp):
1607 Allow linking to specific messages in debbugs reports (eg 123#5).
1608
1609 2012-07-02 Chong Yidong <cyd@gnu.org>
1610
1611 * xml.el: Fix entity and character reference expansion, allowing
1612 them to expand into markup as per XML spec.
1613 (xml-default-ns): New variable.
1614 (xml-entity-alist): Use XML spec definitions for lt and amp.
1615 (xml-parse-region): Make first two arguments optional.
1616 Discard text properties.
1617 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
1618 All callers changed.
1619 (xml-parse-tag): Call xml-parse-tag-1. For backward
1620 compatibility, this function should not modify buffer contents.
1621 (xml-parse-tag-1): Fix opening-tag regexp.
1622 (xml-parse-string): Rewrite, handling entity and character
1623 references properly.
1624 (xml--entity-replacement-text): Signal an error if a parameter
1625 entity is undefined.
1626
1627 2012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
1628
1629 * comint.el (comint-output-filter): Filter out repeated prompts.
1630
1631 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
1632 and file-name-absolute-p.
1633 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
1634 internal calls.
1635
1636 2012-07-02 Paul Eggert <eggert@cs.ucla.edu>
1637
1638 Spelling fixes.
1639 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
1640 Rename from byte-compile--refiy-function. All uses changed.
1641
1642 2012-07-01 Chong Yidong <cyd@gnu.org>
1643
1644 * xml.el (xml--parse-buffer): New function. Move most of
1645 xml-parse-region here.
1646 (xml-parse-region): Copy region into a temporary buffer, since
1647 parameter entity substitution requires changing buffer contents.
1648 Use xml--parse-buffer.
1649 (xml-parse-file): Use xml--parse-buffer.
1650 (xml-parse-dtd): Make parameter entity substitution work right.
1651 Use proper regexps for ELEMENT declarations (Bug#7172).
1652
1653 2012-06-30 Glenn Morris <rgm@gnu.org>
1654
1655 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
1656
1657 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
1658 Remove outdated and unnecessary dbus declarations.
1659
1660 2012-06-30 Eli Zaretskii <eliz@gnu.org>
1661
1662 * emacs-lisp/timer.el (timer-until): Subtract results of
1663 float-time, instead of taking float-time of the result of
1664 time-subtract, since float-time signals an error for negative time
1665 arguments.
1666
1667 2012-06-30 Chong Yidong <cyd@gnu.org>
1668
1669 * xml.el (xml-*-re): Convert defvars into defconsts, and
1670 eval-and-compile them so eval-and-compile works on derivatives.
1671 (xml--entity-replacement-text): Use eval-and-comple.
1672
1673 2012-06-30 Michael Albinus <michael.albinus@gmx.de>
1674
1675 * vc/vc-git.el (vc-git-registered): Use cache property
1676 `git-registered'.
1677 (vc-git-mode-line-string): Call `vc-working-revision' instead of
1678 `vc-git-working-revision' in order to benefit from the cache.
1679 (vc-git-root): Use cache property `git-root'. (Bug#11757)
1680
1681 2012-06-30 Dmitry Gutov <dgutov@yandex.ru>
1682
1683 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
1684 removed (likely outside Emacs). (Bug#11757)
1685
1686 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
1687
1688 * emacs-lisp/cl-lib.el: Require macroexp.
1689
1690 2012-06-30 Chong Yidong <cyd@gnu.org>
1691
1692 * xml.el: Implement XML parameter entities.
1693 (xml-parameter-entity-alist): New variable.
1694 (xml-parse-region, xml-parse-fragment): Preserve previous values
1695 of xml-entity-alist and xml-parameter-entity-alist, so that
1696 repeated calls on different documents do not change them.
1697 (xml-parse-tag): Fix doctype regexp.
1698 (xml--entity-replacement-text): New function.
1699 (xml-parse-dtd): Use it. Don't handle system entities; doing that
1700 properly requires url retrieval which is unimplemented.
1701 (xml-escape-string): Doc fix.
1702
1703 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
1704
1705 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
1706
1707 2012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
1708
1709 * fringe.el (fringe-mode): Doc fix.
1710
1711 2012-06-29 Michael Albinus <michael.albinus@gmx.de>
1712
1713 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
1714 is non-nil.
1715 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
1716 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
1717
1718 2012-06-29 Andreas Schwab <schwab@linux-m68k.org>
1719
1720 * calendar/cal-dst.el (calendar-current-time-zone):
1721 Return calendar-current-time-zone-cache if non-nil.
1722
1723 2012-06-29 Masatake YAMATO <yamato@redhat.com>
1724
1725 * progmodes/which-func.el (which-func-format):
1726 Add mouse-face. (Bug#11698)
1727
1728 2012-06-29 Leo Liu <sdl.web@gmail.com>
1729
1730 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
1731
1732 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
1733
1734 * minibuffer.el (minibuffer-confirm-exit-commands):
1735 Add completion-at-point (bug#11725).
1736
1737 2012-06-29 Glenn Morris <rgm@gnu.org>
1738
1739 * progmodes/f90.el (f90-font-lock-keywords-2):
1740 Add some preprocessor elements. (Bug#10499)
1741
1742 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
1743
1744 * progmodes/cperl-mode.el (cperl-update-syntaxification):
1745 Use syntax-propertize (bug#11739).
1746
1747 2012-06-28 Juanma Barranquero <lekktu@gmail.com>
1748
1749 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
1750
1751 2012-06-28 Julien Danjou <julien@danjou.info>
1752
1753 * term.el (term-handle-colors-array): Use a set of new faces to
1754 color the terminal. Also uses :inverse-video property.
1755 (term-default-fg-color): Set to nil by default, deprecate in favor
1756 of `term-face'.
1757 (term-default-bg-color): Set to nil by default, deprecate in favor
1758 of `term-face'.
1759 (term-current-face): Use `term-face' by default.
1760 (term-bold-attribute): Variable deleted.
1761
1762 2012-06-28 Glenn Morris <rgm@gnu.org>
1763
1764 * simple.el (completion-list-mode-finish):
1765 Don't use toggle-read-only. (Since completion-list-mode has
1766 a special mode-class, it wasn't doing anything extra anyway.)
1767
1768 2012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
1769
1770 Make inlining of other-mode interpreted functions work (bug#11799).
1771 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
1772 (byte-compile): Use it to fix compilation of lexical-binding closures.
1773 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
1774 function, if needed.
1775
1776 2012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
1777
1778 * help-mode.el (help-make-xrefs): Don't just withstand
1779 cyclic-variable-indirection but any error in documentation-property.
1780
1781 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
1782 memory use.
1783 * bindings.el (bindings--define-key): New function.
1784 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
1785 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
1786 * bindings.el: Use it to purecopy define-key bindings.
1787
1788 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
1789
1790 * emacs-lisp/cl.el (flet): Mark obsolete.
1791 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
1792 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
1793 * progmodes/js.el (js-c-fill-paragraph):
1794 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
1795 (ebrowse-switch-member-buffer-to-derived-class):
1796 * play/5x5.el (5x5-solver): Use cl-flet.
1797
1798 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
1799 (cl--symbol-function): New macro.
1800 (cl--letf, cl--letf*): Use it.
1801
1802 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
1803 Strip "toggle-" if any.
1804
1805 2012-06-27 Glenn Morris <rgm@gnu.org>
1806
1807 * info.el (Info-default-directory-list): Move here from paths.el.
1808 * paths.el: Remove file, which is now empty.
1809 * loadup.el: No longer load "paths".
1810
1811 * custom.el (custom-initialize-delay): Doc fix.
1812
1813 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
1814 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
1815 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
1816 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
1817 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
1818 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
1819 * eshell/eshell.el (eshell-defgroup): Remove alias.
1820
1821 2012-06-27 Chong Yidong <cyd@gnu.org>
1822
1823 * help.el (help-enable-auto-load): New variable.
1824
1825 * help-fns.el (help-fns--autoloaded-p): New function.
1826 (describe-function-1): Refer to a function as "autoloaded" if it
1827 was autoloaded at any time in the past. Perform autoloading if
1828 help-enable-auto-load is non-nil.
1829
1830 2012-06-26 Eli Zaretskii <eliz@gnu.org>
1831
1832 * makefile.w32-in (compile, compile-always): Depend on
1833 update-subdirs, not on subdirs.el. Otherwise, several different
1834 sub-targets of 'bootstrap' running in parallel could
1835 simultaneously write to subdirs.el, producing a garbled file.
1836
1837 2012-06-26 Sam Steingold <sds@gnu.org>
1838
1839 * files.el (file-name-base): New convenience function.
1840 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
1841 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
1842 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
1843 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
1844 * textmodes/ispell.el, textmodes/reftex-ref.el:
1845 * textmodes/tex-mode.el: Use it.
1846 Did not touch cedet and org because they are maintained elsewhere.
1847
1848 2012-06-26 Martin Rudalics <rudalics@gmx.at>
1849
1850 * calendar/calendar.el (calendar-exit): Don't try to delete or
1851 iconify last frame. See:
1852 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
1853
1854 2012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
1855
1856 * server.el (server-process-filter): Remember dir in the
1857 process's `server-client-directory' properties.
1858
1859 2012-06-24 Chong Yidong <cyd@gnu.org>
1860
1861 * xml.el (xml-parse-tag): Correctly handle comment embedded in
1862 non-tag text.
1863
1864 2012-06-23 Juanma Barranquero <lekktu@gmail.com>
1865
1866 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
1867
1868 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
1869
1870 * help-fns.el (describe-variable): Don't croak when doc is not found.
1871 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
1872 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
1873 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
1874 * emacs-lisp/smie.el (smie-next-sexp): CSE.
1875 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
1876 ((lambda ..) ..).
1877 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
1878
1879 2012-06-23 Chong Yidong <cyd@gnu.org>
1880
1881 * info.el (Info-mouse-follow-link): Accept symbol values of
1882 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
1883 (Info-fontify-node): Use Info-link-keymap for all navigation
1884 buttons, with link-args property to perform the desired action.
1885 (Info-link-keymap): Doc fix.
1886 (Info-next-link-keymap, Info-prev-link-keymap)
1887 (Info-up-link-keymap): Delete now-unused keymaps.
1888
1889 2012-06-23 Chong Yidong <cyd@gnu.org>
1890
1891 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
1892
1893 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
1894 system abbrevs.
1895
1896 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
1897
1898 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
1899
1900 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
1901 (bug#11719).
1902
1903 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
1904 the requote function doesn't work properly (bug#11714).
1905
1906 2012-06-23 Glenn Morris <rgm@gnu.org>
1907
1908 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
1909
1910 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
1911
1912 Further GV/CL cleanups.
1913 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
1914 gv-expander.
1915 (gv--defun-declaration): New function.
1916 (defun-declarations-alist): Use it.
1917 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
1918 (gv-place): Autoload.
1919 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
1920 original definition of dotimes and dolist.
1921 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
1922 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
1923 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
1924 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
1925 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
1926 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
1927 to the function's definition.
1928 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
1929 * window.el:
1930 * files.el:
1931 * faces.el:
1932 * env.el: Don't use CL.
1933
1934 2012-06-22 Paul Eggert <eggert@cs.ucla.edu>
1935
1936 Support higher-resolution time stamps (Bug#9000).
1937
1938 * calendar/time-date.el (with-decoded-time-value): New arg
1939 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
1940 (encode-time-value): New optional arg PICO. New type 3.
1941 (time-to-seconds) [!float-time]: Support the new picoseconds
1942 component if it's used.
1943 (seconds-to-time, time-subtract, time-add):
1944 Support ps-resolution time stamps as well.
1945
1946 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
1947 (timerp): Timer vectors now have length 9, not 8.
1948 (timer--time): Support new-style (4-part) time stamps.
1949 (timer-next-integral-multiple-of-time): Time stamps now have
1950 picosecond resolution, so take a bit more care about rounding.
1951 (timer-relative-time, timer-inc-time): New optional arg psecs.
1952 (timer-set-time-with-usecs): Set psecs to 0.
1953 (timer--activate): Check psecs component, too.
1954
1955 * proced.el (proced-time-lessp): Support ps-resolution stamps.
1956
1957 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
1958
1959 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
1960 Move the non-essential binding to the post/pre-command-hook where it is
1961 more obviously correct.
1962
1963 * subr.el (read-passwd): Don't use a history at all.
1964 * savehist.el (savehist-save): Remove password saved accidentally
1965 because of the above bug.
1966
1967 2012-06-22 Bastien Guerry <bzg@gnu.org>
1968
1969 * files.el (toggle-read-only): Display a message telling whether
1970 the buffer is read-only or not (bug#11726).
1971
1972 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
1973
1974 * emacs-lisp/gv.el: New file.
1975 * subr.el (push, pop): Extend to generalized variables.
1976 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
1977 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
1978 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
1979 gv-define-simple-setter, and gv-define-expander.
1980 Remove setf-methods defined in gv. Rename cl-setf -> setf.
1981 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
1982 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
1983 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
1984 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
1985 gv-letplace.
1986 (cl-defstruct): Don't define setf-method any more.
1987 * emacs-lisp/cl.el (flet): Don't autoload.
1988 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
1989 (define-setf-expander, defsetf, define-modify-macro)
1990 (cl-struct-setf-expander): Move from cl-lib.el.
1991 * emacs-lisp/syntax.el:
1992 * emacs-lisp/ewoc.el:
1993 * emacs-lisp/smie.el:
1994 * emacs-lisp/cconv.el:
1995 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
1996 (timer--time): Use gv-define-simple-setter.
1997 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
1998 to avoid coding-system problems in subr.el. Adjust all users.
1999 (macroexp--maxsize, macroexp-small-p): New functions.
2000 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
2001 * scroll-bar.el (scroll-bar-mode):
2002 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
2003 (normal-erase-is-backspace-mode): Don't use the `eq' place.
2004 * winner.el (winner-configuration, winner-make-point-alist)
2005 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
2006 * files.el (locate-file-completion-table): Avoid list*.
2007
2008 2012-06-22 Chong Yidong <cyd@gnu.org>
2009
2010 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
2011 (dired-create-files): Doc fix (Bug#11329).
2012 (dired-do-copy): Doc fix (Bug#11334).
2013 (dired-mark-read-string): Doc fix (Bug#11553).
2014
2015 * dired.el (dired-recursive-copies, dired-recursive-deletes):
2016 Doc fix (Bug#11326).
2017 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
2018 (dired-dwim-target): Doc fix.
2019
2020 * wdired.el (wdired-mode): Doc fix.
2021
2022 2012-06-22 Glenn Morris <rgm@gnu.org>
2023
2024 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
2025 (pcmpl-rpm-cache-stamp-file): New constant.
2026 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
2027 (pcmpl-rpm-packages): Optionally cache list of packages.
2028
2029 * pcmpl-rpm.el (pcmpl-rpm): New group.
2030 (pcmpl-rpm-query-options): New option.
2031 (pcmpl-rpm-packages): No need to inline it.
2032 Use pcmpl-rpm-query-options.
2033
2034 * calendar/calendar.el (calendar-in-read-only-buffer):
2035 Avoid some needless mode changes.
2036
2037 2012-06-21 Chong Yidong <cyd@gnu.org>
2038
2039 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
2040 (desktop-path): Remove . from the default value (Bug#10977).
2041 (desktop-read): Use user-emacs-directory if desktop-path is nil.
2042
2043 2012-06-20 Chong Yidong <cyd@gnu.org>
2044
2045 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
2046
2047 2012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
2048
2049 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
2050 (bug#11201).
2051
2052 2012-06-20 Chong Yidong <cyd@gnu.org>
2053
2054 * term.el (term-window-width): Handle the case of a missing right
2055 fringe (Bug#8837).
2056 (term-check-size): Use window-text-height (Bug#5445).
2057 (term-mode): Use define-derived-mode. Minor cleanups.
2058 Set font-lock-defaults (Bug#7692).
2059 (term-move-columns, term-insert-char, term-emulate-terminal)
2060 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
2061
2062 2012-06-20 Michael Albinus <michael.albinus@gmx.de>
2063
2064 * net/ange-ftp.el (ange-ftp-get-passwd):
2065 Bind `enable-recursive-minibuffers'.
2066 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
2067
2068 2012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
2069
2070 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
2071
2072 2012-06-19 Glenn Morris <rgm@gnu.org>
2073
2074 * progmodes/python.el (python-mode): Derive from prog-mode.
2075
2076 2012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
2077
2078 * emulation/edt.el (edt-default-menu-bar-update-buffers)
2079 (edt-user-menu-bar-update-buffers): New functions.
2080 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
2081
2082 2012-06-19 Chong Yidong <cyd@gnu.org>
2083
2084 * subr.el (with-selected-window): Preserve the selected window's
2085 terminal's top-frame (Bug#4702).
2086
2087 * window.el (save-selected-window): Likewise.
2088
2089 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
2090
2091 * progmodes/python.el (python-rx-constituents): Move backquote.
2092 (python-skeleton-define, python-define-auxiliary-skeleton):
2093 Use `declare'.
2094
2095 2012-06-18 Michael Albinus <michael.albinus@gmx.de>
2096
2097 * minibuffer.el (read-file-name-default): Revert the patch from
2098 2012-06-17.
2099
2100 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
2101
2102 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
2103 (pcase--u1, pcase--q1): Don't use apply-partially.
2104
2105 2012-06-18 Glenn Morris <rgm@gnu.org>
2106
2107 * progmodes/python.el (python-proc, python-buffer)
2108 (python-send-receive, python-send-string): Fix obsolete versions.
2109
2110 2012-06-18 Martin Rudalics <rudalics@gmx.at>
2111
2112 * window.el (special-display-p): Completely remove stringp
2113 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
2114
2115 2012-06-17 Michael Albinus <michael.albinus@gmx.de>
2116
2117 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
2118
2119 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
2120
2121 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
2122 * net/tramp-sh.el (tramp-maybe-open-connection):
2123 Throw if `non-essential' is non-nil.
2124
2125 2012-06-17 Martin Rudalics <rudalics@gmx.at>
2126
2127 * window.el (special-display-p): Signal an error if BUFFER-NAME
2128 is not a string (Bug#11713).
2129
2130 2012-06-17 Paul Eggert <eggert@cs.ucla.edu>
2131
2132 * progmodes/python.el (python-info-beginning-of-backslash):
2133 Rename from python-info-beginning-of-backlash, as a spelling fix.
2134
2135 2012-06-17 Chong Yidong <cyd@gnu.org>
2136
2137 * term.el (term-emulate-terminal): If term-check-size is called,
2138 move point to the process mark without resetting point (Bug#4635).
2139
2140 2012-06-17 Glenn Morris <rgm@gnu.org>
2141
2142 * international/mule-cmds.el (mule-menu-keymap)
2143 (set-language-environment, set-locale-environment): Doc tweaks.
2144
2145 2012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
2146
2147 * cus-face.el (custom-face-attributes): Add wave-style underline
2148 attribute.
2149 * faces.el (set-face-attribute): Update docstring to describe
2150 wave-style underline attribute.
2151
2152 2012-06-16 Chong Yidong <cyd@gnu.org>
2153
2154 * term/xterm.el (terminal-init-xterm): Discard input before
2155 querying background mode (Bug#10959).
2156
2157 2012-06-16 Stefan Merten <smerten@oekonux.de>
2158
2159 * textmodes/rst.el: Added and corrected some comments.
2160 (rst-re-alist-def): Improve symbol syntax.
2161 (rst-mode-syntax-table): Correct syntax entries.
2162 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
2163 (rst-official-version, rst-official-cvs-rev): Update version
2164 information.
2165
2166 2012-06-15 Juanma Barranquero <lekktu@gmail.com>
2167
2168 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
2169 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
2170
2171 2012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
2172
2173 * progmodes/python.el: New python.el merge.
2174 (python-guess-indent): Obsolete var.
2175 (python-indent-guess-indent-offset): New defcustom.
2176 (python-indent): Obsolete var.
2177 (python-indent-offset): New defcustom.
2178 (python-python-command, python-jython-command): Delete var.
2179 (python-shell-interpreter): New defcustom.
2180 (python-pdbtrack-do-tracking-p): Delete var.
2181 (python-pdbtrack-activate): New defcustom.
2182 (python-use-skeletons): Obsolete var.
2183 (python-skeleton-autoinsert): New defcustom.
2184 (inferior-python-filter-regexp, python-continuation-offset)
2185 (python-honour-comment-indentation, python-indent-string-contents)
2186 (python-jython-packages, python-mode-hook)
2187 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
2188 (python-shell-prompt-alist)
2189 (python-source-modes): Delete defcustoms.
2190 (python-check-buffer-name, python-eldoc-setup-code)
2191 (python-eldoc-string-code, python-ffap-setup-code)
2192 (python-ffap-string-code, python-fill-comment-function)
2193 (python-fill-decorator-function, python-fill-paren-function)
2194 (python-fill-string-function, python-imenu-include-defun-type)
2195 (python-imenu-make-tree, python-imenu-subtree-root-label)
2196 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
2197 (python-shell-compilation-regexp-alist)
2198 (python-shell-completion-module-string-code)
2199 (python-shell-completion-pdb-string-code)
2200 (python-shell-completion-setup-code)
2201 (python-shell-completion-string-code)
2202 (python-shell-enable-font-lock, python-shell-exec-path)
2203 (python-shell-extra-pythonpaths)
2204 (python-shell-internal-buffer-name, python-shell-interpreter-args)
2205 (python-shell-process-environment)
2206 (python-shell-prompt-block-regexp)
2207 (python-shell-prompt-output-regexp)
2208 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
2209 (python-shell-send-setup-max-wait, python-shell-setup-codes)
2210 (python-shell-virtualenv-path): New defcustoms.
2211 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
2212 (inferior-python-mode-syntax-table, python--prompt-regexp)
2213 (python-buffer, python-command python-python-command)
2214 (python-default-template, python-imports, python-indent-index)
2215 (python-indent-list, python-indent-list-length)
2216 (python-mode-running, python-pdbtrack-is-tracking-p)
2217 (python-preoutput-continuation, python-preoutput-leftover)
2218 (python-preoutput-result, python-preoutput-skip-next-prompt)
2219 (python-prev-dir/file, python-recursing)
2220 (python-saved-check-command, python-version-checked)
2221 (python-which-func-length-limit)
2222 (view-return-to-alist): Delete vars.
2223 (python-check-custom-command, python-dotty-syntax-table)
2224 (python-imenu-index-alist, python-indent-current-level)
2225 (python-indent-dedenters, python-indent-levels)
2226 (python-nav-beginning-of-defun-regexp)
2227 (python-nav-list-defun-positions-cache)
2228 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
2229 (python-shell-internal-buffer)
2230 (python-skeleton-available): New vars.
2231 (def-python-skeleton): Delete macro.
2232 (python-skeleton-define): New macro.
2233 (python-define-auxiliary-skeleton, python-rx): New macros.
2234 (python-insert-class): Delete command.
2235 (python-skeleton-class): New command.
2236 (python-insert-def): Delete command.
2237 (python-skeleton-def): New command.
2238 (python-insert-for): Delete command.
2239 (python-skeleton-for): New command.
2240 (python-insert-if): Delete command.
2241 (python-skeleton-if): New command.
2242 (python-insert-try/except, python-insert-try/finally): Delete commands.
2243 (python-skeleton-try): New command.
2244 (python-insert-while): Delete command.
2245 (python-skeleton-while): New command.
2246 (python-backspace): Delete command.
2247 (python-indent-dedent-line-backspace): New command.
2248 (python-electric-colon): Delete command.
2249 (python-indent-electric-colon): New command.
2250 (python-guess-indent): Delete command.
2251 (python-indent-guess-indent-offset): New command.
2252 (python-shift-left): Delete command.
2253 (python-indent-shift-left): New command.
2254 (python-shift-right): Delete command.
2255 (python-indent-shift-right): New command.
2256 (python-find-function): Delete command.
2257 (python-nav-jump-to-defun): New command.
2258 (python-next-statement): Delete command.
2259 (python-nav-forward-sentence): New command.
2260 (python-previous-statement): Delete command.
2261 (python-nav-backward-sentence): New command.
2262 (python-fill-paragraph): Delete command.
2263 (python-fill-paragraph-function): New command.
2264 (python-send-buffer): Delete command.
2265 (python-shell-send-buffer): New command.
2266 (python-send-defun): Delete command.
2267 (python-shell-send-defun): New command.
2268 (python-send-region, python-send-region-and-go): Delete commands.
2269 (python-shell-send-region)
2270 (python-shell-switch-to-shell): New commands.
2271 (python-send-string): Delete command.
2272 (python-shell-send-string): New command.
2273 (python-switch-to-python): Delete command.
2274 (python-shell-switch-to-shell): New command.
2275 (python-describe-symbol): Delete command.
2276 (python-eldoc-at-point): New command.
2277 (python--set-prompt-regexp, python-args-to-list)
2278 (python-after-info-look, python-check-version)
2279 (python-check-comint-prompt, python-find-imports)
2280 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
2281 (python-unload-function, python-expand-template)
2282 (python-maybe-jython, python-preoutput-filter)
2283 (python-pdbtrack-get-source-buffer)
2284 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
2285 (python-pdbtrack-toggle-stack-tracking)
2286 (python-pdbtrack-track-stack-file, python-initial-text)
2287 (python-first-word, python-comment-line-p, python-send-command)
2288 (python-setup-brm, python-sentinel, python-set-proc)
2289 (python-skip-out, python-input-filter, python-outdent-p)
2290 (python-outline-level, python-backslash-continuation-line-p)
2291 (python-end-of-block, python-end-of-statement, python-mark-block)
2292 (python-beginning-of-block, python-beginning-of-statement)
2293 (python-blank-line-p, python-beginning-of-string)
2294 (python-open-block-statement-p): Delete functions.
2295 (python-indent-line, python-indent-line-1): Delete functions.
2296 (python-indent-line): New function.
2297 (python-indentation-levels): Delete function.
2298 (python-indent-calculate-levels): New function.
2299 (python-proc): Delete function.
2300 (python-shell-get-process): New function.
2301 (python-send-receive): Delete function.
2302 (python-shell-send-string-no-output): New function.
2303 (python-module-path): Delete function.
2304 (python-ffap-module-path): New function.
2305 (python-completion-at-point)
2306 (python-symbol-completions): Delete functions.
2307 (python-completion-complete-at-point): New function.
2308 (python-load-file): Delete function.
2309 (python-shell-send-file): New function.
2310 (python-calculate-indentation): Delete function.
2311 (python-indent-calculate-indentation): New function.
2312 (python-skip-comments/blanks): Delete function.
2313 (python-util-forward-comment): New function.
2314 (python-continuation-line-p): Delete function.
2315 (python-info-continuation-line-p): New function.
2316 (python-which-func, python-current-defun): Delete function.
2317 (python-info-current-defun): New function.
2318 (python-beginning-of-defun): Delete function.
2319 (python-nav-beginning-of-defun): New function.
2320 (python-close-block-statement-p)
2321 (python-block-end-p): Delete function.
2322 (python-info-closing-block): New function.
2323 (python-comint-output-filter-function)
2324 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
2325 (python-fill-comment, python-fill-decorator, python-fill-paren)
2326 (python-fill-string, python-imenu-make-element-tree)
2327 (python-imenu-make-tree, python-imenu-tree-assoc)
2328 (python-indent-context, python-indent-dedent-line)
2329 (python-indent-line-function)
2330 (python-indent-post-self-insert-function)
2331 (python-indent-toggle-levels)
2332 (python-info-assignment-continuation-line-p)
2333 (python-info-beginning-of-backlash)
2334 (python-info-block-continuation-line-p)
2335 (python-info-closing-block-message)
2336 (python-info-line-ends-backslash-p)
2337 (python-info-looking-at-beginning-of-defun)
2338 (python-info-ppss-context, python-info-ppss-context-type)
2339 (python-nav-list-defun-positions, python-nav-read-defun)
2340 (python-nav-sentence-end, python-nav-sentence-start)
2341 (python-pdbtrack-comint-output-filter-function)
2342 (python-pdbtrack-set-tracked-buffer)
2343 (python-shell-calculate-exec-path)
2344 (python-shell-calculate-process-environment)
2345 (python-shell-completion--do-completion-at-point)
2346 (python-shell-completion--get-completions)
2347 (python-shell-completion-complete-at-point)
2348 (python-shell-completion-complete-or-indent)
2349 (python-shell-get-or-create-process)
2350 (python-shell-get-process-name)
2351 (python-shell-internal-get-or-create-process)
2352 (python-shell-internal-get-process-name)
2353 (python-shell-internal-send-string, python-shell-make-comint)
2354 (python-shell-parse-command, python-shell-send-setup-code)
2355 (python-skeleton-add-menu-items)
2356 (python-util-clone-local-variables, python-util-position)
2357 (run-python-internal, python-indentation-levels)
2358 (python-nav-beginning-of-defun)
2359 (python-completion-complete-at-point): New functions.
2360 (run-python): Change arguments. New API requirements.
2361
2362 2012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
2363
2364 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
2365 (bug#11649).
2366
2367 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
2368 (macroexp--expand-all): Use it.
2369
2370 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
2371 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
2372 Use `cl-function' instead.
2373
2374 2012-06-14 Juanma Barranquero <lekktu@gmail.com>
2375
2376 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
2377 Suggested by Stefan Monnier while discussing bug#11657.
2378
2379 2012-06-14 Sam Steingold <sds@gnu.org>
2380
2381 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
2382
2383 2012-06-14 Andreas Schwab <schwab@linux-m68k.org>
2384
2385 * play/doctor.el (doctor-doc): Remove parameter and use
2386 doctor-sent instead of sent.
2387 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
2388
2389 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
2390
2391 * files.el: Require cl-lib.
2392 (file-name-non-special): Replace case -> cl-case.
2393
2394 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
2395
2396 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
2397 mapping from #' to function*.
2398
2399 2012-06-13 Chong Yidong <cyd@gnu.org>
2400
2401 * mouse.el (mouse-drag-track): Do not set the mark if the user
2402 releases the mouse without selecting anything (Bug#11588).
2403
2404 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
2405
2406 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
2407 as well (bug#11646).
2408
2409 * loadup.el: Count byte-code functions as well.
2410
2411 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
2412 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
2413
2414 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
2415 (bug#11649). Add cl-defun and cl-defmacro.
2416
2417 2012-06-13 Drew Adams <drew.adams@oracle.com>
2418
2419 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
2420 Fix last change.
2421
2422 2012-06-13 Michael Albinus <michael.albinus@gmx.de>
2423
2424 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
2425 Otherwise, it blocks in batch mode.
2426
2427 2012-06-13 Juanma Barranquero <lekktu@gmail.com>
2428
2429 * help-mode.el (bookmark-make-record-default): Declare.
2430
2431 2012-06-13 Chong Yidong <cyd@gnu.org>
2432
2433 * emacs-lisp/package.el (list-packages): Compute a list of
2434 packages that are newly-available since the last list-packages
2435 invocation.
2436 (package-menu--new-package-list): New var.
2437 (package-menu--generate, package-menu--print-info)
2438 (package-menu--status-predicate, package-menu-mark-install):
2439 Handle new status label "new".
2440
2441 2012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
2442
2443 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
2444 conversion to backquotes.
2445
2446 2012-06-12 Chong Yidong <cyd@gnu.org>
2447
2448 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
2449 Rename from gud-inhibit-global-bindings.
2450
2451 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
2452
2453 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
2454 hook from nxml-glyph-set-hook.
2455
2456 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
2457 declaration.
2458
2459 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
2460
2461 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
2462 Convert to defcustom.
2463
2464 2012-06-12 Drew Adams <drew.adams@oracle.com>
2465
2466 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
2467 New functions.
2468 (help-mode): Use them.
2469
2470 2012-06-11 Glenn Morris <rgm@gnu.org>
2471
2472 * progmodes/fortran.el (fortran-font-lock-keywords-3):
2473 Use preprocessor face for directives.
2474 (fortran-directive-re): Doc fix.
2475
2476 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
2477
2478 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
2479 conversion to backquotes (bug#11652).
2480
2481 Fix compiler-expansion of CL's cXXr functions (bug#11673).
2482 * emacs-lisp/cl-lib.el (cl--defalias): New function.
2483 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
2484 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
2485 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
2486 (cl-ninth, cl-tenth): Mark them as inlinable.
2487 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
2488 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
2489 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
2490 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
2491 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
2492 (cl-list*, cl-adjoin): Don't put an autoload manually.
2493 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
2494 (cl--compiler-macro-list*): Add autoload cookie.
2495 (cl--compiler-macro-cXXr): New function.
2496
2497 * help-fns.el (help-fns--compiler-macro): New function extracted from
2498 describe-function-1; follow aliases and use `compiler-macro' property.
2499 (describe-function-1): Use it.
2500
2501 2012-06-11 Chong Yidong <cyd@gnu.org>
2502
2503 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
2504 is uninstalled, if imagemagick is installed.
2505
2506 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
2507
2508 * emacs-lisp/cl-lib.el: Use lexical-binding.
2509 (cl-map-extents, cl-maclisp-member): Remove.
2510 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
2511 (cl--set-substring, cl--block-wrapper, cl--block-throw)
2512 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
2513 * emacs-lisp/cl-extra.el: Use lexical-binding.
2514 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
2515 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
2516 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
2517 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
2518 * emacs-lisp/cl-seq.el: Use lexical-binding.
2519 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
2520 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
2521 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
2522 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
2523 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
2524 CL's internals.
2525
2526 2012-06-11 Michael Albinus <michael.albinus@gmx.de>
2527
2528 Sync with Tramp 2.2.6-pre.
2529
2530 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
2531 `print-length' and `print-level' to nil, in order to avoid
2532 truncation. Reported by Christopher Schmidt
2533 <christopher@ristopher.com>.
2534
2535 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
2536
2537 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
2538 New defmacro.
2539 (tramp-compat-copy-directory): Add optional argument
2540 COPY-CONTENTS. It is not handled yet.
2541
2542 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
2543 (tramp-ftp-file-name-p): Simplify.
2544
2545 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
2546 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
2547 connection vector.
2548
2549 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
2550 (tramp-methods): Do not use `tramp-password-end-of-line'.
2551 (tramp-completion-function-alist-putty): Handle UNIX case.
2552 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
2553 (tramp-do-file-attributes-with-stat)
2554 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
2555 gid as real numbers. They could run out of integer range on cygwin.
2556 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
2557 (tramp-sh-handle-expand-file-name): Handle hops.
2558 (tramp-open-connection-setup-interactive-shell):
2559 Use `tramp-cleanup'. Move check for busyboxes ...
2560 (tramp-find-shell): ... here. Simplify implementation.
2561 Set "remote-shell" property also for alternative shells.
2562 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
2563 If failing, a regular file would be written otherwise.
2564 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
2565 (tramp-find-inline-encoding): Cache the coding commands in the
2566 process cache. Apply test command on the remote side, if defined.
2567 (tramp-find-inline-compress): Cache the compress commands in the
2568 process cache.
2569 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
2570 when requested. Handle hops.
2571 (tramp-current-connection): New defvar.
2572 (tramp-maybe-open-connection): Use `tramp-cleanup'.
2573 Throw `suppress', if there was a failed connection shortly before.
2574 Handle user interrupt. (Bug#10187)
2575 (tramp-get-inline-compress, tramp-get-inline-coding):
2576 Read connection properties from the process cache.
2577
2578 * net/tramp-smb.el (tramp-smb-server-version)
2579 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
2580 New defconsts.
2581 (tramp-smb-prompt): Extend for powershell prompt.
2582 (tramp-smb-file-name-handler-alist): Add handlers for
2583 `process-file', `shell-command' and `start-file-process'.
2584 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
2585 (tramp-smb-winexe-shell-command-switch): New defcustoms.
2586 (tramp-smb-file-name-p): Simplify.
2587 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
2588 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
2589 (tramp-smb-shell-quote-argument): New defuns.
2590 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
2591 Implement using "tar". By this, time-stamps are preserved.
2592 (tramp-smb-handle-copy-file): Handle also the case of directories.
2593 (tramp-smb-do-file-attributes-with-stat)
2594 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
2595 Use `tramp-get-connection-buffer').
2596 (tramp-smb-handle-rename-file): Use "rename", when source and
2597 target are on the same share.
2598 (tramp-smb-maybe-open-connection): Handle wrong passwords.
2599 Use `tramp-smb-server-version'.
2600 (tramp-smb-wait-for-output): Remove prompt.
2601
2602 * net/tramp.el (top): Require 'cl.
2603 (tramp-methods, tramp-rsh-end-of-line):
2604 Remove `tramp-password-end-of-line' from docstring.
2605 (tramp-save-ad-hoc-proxies): New defcustom.
2606 (tramp-completion-function-alist): Adapt docstring.
2607 (tramp-default-password-end-of-line): Remove defcustom.
2608 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
2609 (tramp-user-regexp, tramp-file-name-regexp-unified)
2610 (tramp-file-name-regexp-url): Extend regexp by hop separator.
2611 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
2612 (tramp-remote-file-name-spec-regexp): New defconst.
2613 (tramp-file-name-structure): Extend structure for hops.
2614 (tramp-get-method-parameter): Move up.
2615 (tramp-file-name-p, tramp-dissect-file-name)
2616 (with-parsed-tramp-file-name): Handle hops.
2617 (tramp-file-name-hop): New defun.
2618 (tramp-make-tramp-file-name): New optional arg HOP.
2619 (tramp-message-show-progress-reporter-message): New defvar.
2620 (tramp-with-progress-reporter): Use it. We cannot use
2621 `tramp-message-show-message' here, because this suppresses also
2622 error buffers.
2623 (tramp-error-with-buffer): Suppress buffer view, if
2624 `tramp-message-show-message' is nil.
2625 Use `tramp-get-connection-buffer'.
2626 (tramp-cleanup): New defun.
2627 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
2628 (tramp-file-name-handler): If `debug-on-error' is set, propagate
2629 an error unchanged.
2630 (tramp-completion-handle-file-name-all-completions): Handle hops.
2631 Fix an error when called from ido.
2632 (tramp-completion-dissect-file-name): Use better local variable
2633 name. Add hop to the vector.
2634 (tramp-handle-insert-file-contents): Use progress-reporter for the
2635 whole scenario.
2636 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
2637 to `t'.
2638 (tramp-check-for-regexp): Simplify search.
2639 (tramp-enter-password): Remove it. Move implementation ...
2640 (tramp-action-password): ... here.
2641 (tramp-mode-string-to-int, tramp-local-host-p)
2642 (tramp-make-tramp-temp-file, tramp-read-passwd)
2643 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
2644 Set tramp-autoload cookie.
2645
2646 * net/trampver.el: Update release number.
2647
2648 2012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2649 Michael Albinus <michael.albinus@gmx.de>
2650
2651 * net/tramp.el (tramp-set-completion-function): Fix docstring.
2652 (tramp-parse-group, tramp-parse-file)
2653 (tramp-parse-shostkeys-sknownhosts): New defuns.
2654 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
2655 (tramp-parse-shosts-group, tramp-parse-sconfig)
2656 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
2657 (tramp-parse-sknownhosts, tramp-parse-hosts)
2658 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
2659 Use them.
2660 (tramp-parse-passwd-group, tramp-parse-netrc-group)
2661 (tramp-parse-putty-group): Don't narrow.
2662 (tramp-parse-putty): Make a loop.
2663 (tramp-file-name-handler): Catch the `suppress' signal.
2664
2665 2012-06-11 Chong Yidong <cyd@gnu.org>
2666
2667 * image.el (imagemagick-register-types): Put the ImageMagick entry
2668 at the end of image-type-file-name-regexps.
2669
2670 2012-06-11 Johan Bockgård <bojohan@gnu.org>
2671
2672 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
2673 (pcase, pcase-let*, pcase-dolist): Use them.
2674
2675 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
2676
2677 * emacs-lisp/pcase.el (pcase--let*): New function.
2678 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
2679 (pcase--expand): Use macroexp-let².
2680
2681 2012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
2682
2683 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
2684 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
2685 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
2686 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
2687 * emacs-lisp/derived.el: Use pcase instead of `cl'.
2688 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
2689
2690 2012-06-10 Glenn Morris <rgm@gnu.org>
2691
2692 * mail/rmail.el (rmail-yank-current-message): Leave point at
2693 correct position. (Bug#11660)
2694
2695 2012-06-10 Chong Yidong <cyd@gnu.org>
2696
2697 * allout-widgets.el: Fix code header.
2698
2699 2012-06-10 Chong Yidong <cyd@gnu.org>
2700
2701 * cus-edit.el (customize-changed-options-previous-release):
2702 Bump to 24.1.
2703
2704 2012-06-09 Andreas Schwab <schwab@linux-m68k.org>
2705
2706 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
2707
2708 2012-06-09 Chong Yidong <cyd@gnu.org>
2709
2710 * ebuff-menu.el (electric-buffer-list): Preserve header line.
2711
2712 2012-06-09 Martin Rudalics <rudalics@gmx.at>
2713
2714 * window.el (special-display-popup-frame): Don't use
2715 window--display-buffer (Bug#11651).
2716
2717 2012-06-09 Eli Zaretskii <eliz@gnu.org>
2718
2719 Fix parallel builds: make sure loaddefs.el is not being written
2720 while Lisp files are compiled.
2721 (compile): Don't depend on 'mh-autoloads'.
2722 (compile-CMD, compile-SH): Depend on 'autoloads'.
2723 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
2724
2725 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
2726
2727 2012-06-09 Chong Yidong <cyd@gnu.org>
2728
2729 * face-remap.el (face-remap-add-relative, face-remap-set-base)
2730 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
2731 Doc fixes (Bug#11225).
2732
2733 2012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
2734
2735 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
2736 a function if there's a clear indication that it has a compiler-macro.
2737 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
2738 (macro-declarations-alist): Add arglist to declaration functions.
2739 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
2740 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
2741 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
2742 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
2743 Also add autoload to find the compiler macro.
2744 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
2745 (cl--compiler-macro-member, cl--compiler-macro-assoc)
2746 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
2747 (cl--compiler-macro-get): New functions, replacing calls to
2748 cl-define-compiler-macro.
2749 (cl-typep) [compiler-macro]: Use macroexp-let².
2750
2751 2012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
2752
2753 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
2754 string properly, fixes Bug#11473.
2755
2756 2012-06-08 Chong Yidong <cyd@gnu.org>
2757
2758 * faces.el (set-face-attribute): Doc fix.
2759 (modify-face): Don't use :bold and :italic.
2760 (error, warning, success): Tweak definitions.
2761
2762 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
2763 (custom-modified, custom-set, custom-changed, custom-themed)
2764 (custom-saved, custom-button, custom-button-mouse)
2765 (custom-button-pressed, custom-state, custom-comment-tag)
2766 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
2767 (custom-group-subtitle): Use new-style face specs.
2768 (custom-invalid-face, custom-rogue-face, custom-modified-face)
2769 (custom-set-face, custom-changed-face, custom-saved-face)
2770 (custom-button-face, custom-button-pressed-face)
2771 (custom-documentation-face, custom-state-face)
2772 (custom-comment-face, custom-comment-tag-face)
2773 (custom-variable-tag-face, custom-variable-button-face)
2774 (custom-face-tag-face, custom-group-tag-face-1)
2775 (custom-group-tag-face): Remove obsolete face alias.
2776
2777 * epa.el (epa-validity-high, epa-validity-medium)
2778 (epa-validity-low, epa-mark, epa-field-name, epa-string)
2779 (epa-field-name, epa-field-body):
2780 * font-lock.el (font-lock-comment-face, font-lock-string-face)
2781 (font-lock-keyword-face, font-lock-builtin-face)
2782 (font-lock-function-name-face, font-lock-variable-name-face)
2783 (font-lock-type-face, font-lock-constant-face):
2784 * ido.el (ido-first-match, ido-only-match, ido-subdir)
2785 (ido-virtual, ido-indicator, ido-incomplete-regexp):
2786 * speedbar.el (speedbar-button-face, speedbar-file-face)
2787 (speedbar-directory-face, speedbar-tag-face)
2788 (speedbar-selected-face, speedbar-highlight-face)
2789 (speedbar-separator-face):
2790 * whitespace.el (whitespace-newline, whitespace-space)
2791 (whitespace-hspace, whitespace-tab, whitespace-trailing)
2792 (whitespace-line, whitespace-space-before-tab)
2793 (whitespace-space-after-tab, whitespace-indentation)
2794 (whitespace-empty):
2795 * emulation/cua-base.el (cua-global-mark):
2796 * eshell/em-prompt.el (eshell-prompt):
2797 * net/newst-plainview.el (newsticker-new-item-face)
2798 (newsticker-old-item-face, newsticker-immortal-item-face)
2799 (newsticker-obsolete-item-face, newsticker-date-face)
2800 (newsticker-statistics-face, newsticker-default-face):
2801 * net/newst-reader.el (newsticker-feed-face)
2802 (newsticker-extra-face, newsticker-enclosure-face):
2803 * net/newst-treeview.el (newsticker-treeview-face)
2804 (newsticker-treeview-new-face, newsticker-treeview-old-face)
2805 (newsticker-treeview-immortal-face)
2806 (newsticker-treeview-obsolete-face)
2807 (newsticker-treeview-selection-face):
2808 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
2809 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
2810 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
2811 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
2812 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
2813 (nxml-outline-active-indicator, nxml-outline-ellipsis):
2814 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
2815 (mpuz-text):
2816 * progmodes/vera-mode.el (vera-font-lock-number)
2817 (vera-font-lock-function, vera-font-lock-interface):
2818 * textmodes/table.el (table-cell): Use new-style face specs, and
2819 don't use the old :bold and :italic attributes.
2820
2821 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
2822 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
2823 (ebrowse-member-class, ebrowse-progress): Likewise.
2824 (ebrowse-tree-mark-face, ebrowse-root-class-face)
2825 (ebrowse-file-name-face, ebrowse-default-face)
2826 (ebrowse-member-attribute-face, ebrowse-member-class-face)
2827 (ebrowse-progress-face): Remove obsolete faces.
2828
2829 * progmodes/flymake.el (flymake-errline, flymake-warnline):
2830 Inherit from error and warning faces respectively.
2831
2832 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
2833 Likewise.
2834 (flyspell-incorrect-face, flyspell-duplicate-face):
2835 Remove obsolete aliases.
2836
2837 2012-06-08 Michael Albinus <michael.albinus@gmx.de>
2838
2839 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
2840 Avoid infloop.
2841
2842 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
2843
2844 * startup.el (argv, argi): Make lexically scoped.
2845 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
2846 * emacs-lisp/cl-macs.el: Use lexical-binding.
2847 Rename cl-bind-* to cl--bind-*.
2848 * files.el: Don't require `cl' since it doesn't use it.
2849 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
2850
2851 2012-06-08 Juanma Barranquero <lekktu@gmail.com>
2852
2853 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
2854 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
2855 instead of calling external sort utility.
2856 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
2857
2858 2012-06-08 Eli Zaretskii <eliz@gnu.org>
2859
2860 * descr-text.el (describe-char): Mention how to insert the
2861 character, if the current input method doesn't support it.
2862 See the discussion in this thread for the details:
2863 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
2864
2865 2012-06-08 Sam Steingold <sds@gnu.org>
2866
2867 * bindings.el (global-map): Bind XF86Forward to next-buffer and
2868 XF86Back to previous-buffer.
2869 (minibuffer-local-map): Bind them to next-history-element and
2870 previous-history-element respectively.
2871 * help-mode.el (help-mode-map): Bind them to help-go-forward and
2872 help-go-back respectively.
2873 * info.el (Info-mode-map): Bind them to Info-history-forward and
2874 Info-history-back respectively.
2875 These are the keys next to Up on the ThinkPad keyboard.
2876
2877 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
2878
2879 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
2880 * emacs-lisp/cl-macs.el: Provide itself.
2881 (cl--labels-convert-cache): New var.
2882 (cl--labels-convert): New function.
2883 (cl-flet, cl-labels): New implementation with new semantics, relying on
2884 lexical-binding.
2885 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
2886 (cl-closure-vars, cl--function-convert-cache)
2887 (cl--function-convert): Move from cl-macs.el.
2888 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
2889 rename by removing the "cl-" prefix.
2890 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
2891
2892 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
2893
2894 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
2895 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
2896 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
2897 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
2898 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
2899 (cl-hash-table-count): Add old compatibility aliases.
2900
2901 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
2902 Use macroexpand-all-environment instead.
2903 (cl--old-macroexpand): New var.
2904 (cl--sm-macroexpand): New function.
2905 (cl-symbol-macrolet): Use it during macro expansion.
2906 (cl--function-convert-cache): New var.
2907 (cl--function-convert): New function, extracted from
2908 cl-macroexpand-all.
2909 (cl-lexical-let): Use it.
2910
2911 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
2912 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
2913 (cl-member): Remove old alias.
2914
2915 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
2916 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
2917 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
2918 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
2919 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
2920 (cl-macroexpand-cmacs): Remove var.
2921 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
2922 Use macroexpand-all instead.
2923
2924 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
2925
2926 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
2927 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
2928 (macroexp-copyable-p): New functions and macros.
2929 * emacs-lisp/edebug.el (edebug-unwrap):
2930 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
2931 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
2932 (pcase--let*): Remove.
2933 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
2934 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
2935 macroexp-const-p instead.
2936 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
2937
2938 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
2939 instead of "cl-" for internal definitions. Use macroexp-const-p.
2940 (cl-old-bc-file-form): Remove var.
2941 (cl-const-exprs-p): Remove fun.
2942 (cl-labels, cl-macrolet): Use backquote.
2943 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
2944 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
2945 (cl-define-setf-expander): Rename from cl-define-setf-method.
2946 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
2947
2948 * international/mule-cmds.el: Don't require CL.
2949 (view-hello-file): Don't use `letf'.
2950
2951 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
2952
2953 * tmm.el (tmm-prompt): Use string-prefix-p.
2954 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
2955 (tmm-add-prompt): Use minibuffer-completion-help.
2956 (tmm-delete-map): Remove.
2957
2958 * subr.el (kbd): Make it its own function.
2959
2960 2012-06-07 Stefan Merten <smerten@oekonux.de>
2961
2962 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
2963 Silence compiler warnings. Fix versions.
2964 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
2965 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
2966 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
2967 (rst-package-emacs-version-alist): Correct Emacs version to
2968 represent major merge with upstream.
2969 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
2970
2971 2012-06-06 Glenn Morris <rgm@gnu.org>
2972
2973 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
2974 Only print environment variables if set.
2975
2976 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
2977
2978 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
2979 (macroexp--cons): Rename from maybe-cons.
2980 (macroexp--accumulate): Rename from macroexp-accumulate.
2981 (macroexp--all-forms): Rename from macroexpand-all-forms.
2982 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
2983 (macroexp--expand-all): Rename from macroexpand-all-1.
2984
2985 2012-06-06 Sam Steingold <sds@gnu.org>
2986
2987 * calendar/calendar.el (calendar-in-read-only-buffer):
2988 Call `special-mode' to enable the standard read-only keybindings.
2989
2990 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
2991
2992 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
2993 with "loading" messages (bug#11635).
2994
2995 2012-06-06 Michael Albinus <michael.albinus@gmx.de>
2996
2997 * files.el (enable-remote-dir-locals): New option.
2998 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
2999
3000 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
3001 Ensure, that the temp directory is local.
3002
3003 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
3004 `temporary-file-directory'.
3005
3006 * progmodes/python.el (python-send-region): Ensure, that the
3007 temporary file is created also in the remote case.
3008
3009 2012-06-06 Glenn Morris <rgm@gnu.org>
3010
3011 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
3012 (vc-rcs-update-changelog): Use it.
3013
3014 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
3015
3016 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
3017 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
3018 (vc-sccs-diff): Replace use of the external vcdiff script.
3019
3020 2012-06-05 Glenn Morris <rgm@gnu.org>
3021
3022 * ledit.el: Move to obsolete/.
3023
3024 2012-06-05 Sam Steingold <sds@gnu.org>
3025
3026 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
3027 patch (Bug#11140).
3028
3029 2012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
3030
3031 * emacs-lisp/cust-print.el: Move to obsolete.
3032
3033 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
3034 compiler-macro expansion.
3035
3036 Add native compiler-macro support.
3037 * emacs-lisp/macroexp.el (macroexpand-all-1):
3038 Support compiler-macros directly. Properly follow aliases and apply
3039 the compiler macros more thoroughly.
3040 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
3041 macroexpand now properly follows aliases.
3042 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
3043 (cl-compiler-macroexpand): Use new prop.
3044 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
3045
3046 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
3047
3048 2012-06-05 Martin Rudalics <rudalics@gmx.at>
3049
3050 * window.el (get-lru-window, get-mru-window, get-largest-window):
3051 New argument NOT-SELECTED to avoid picking the selected window.
3052 (window--display-buffer-1, window--display-buffer-2): Replace by
3053 new function window--display-buffer
3054 (display-buffer-same-window, display-buffer-reuse-window)
3055 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
3056 Use window--display-buffer.
3057 (display-buffer-use-some-window): Remove temporary dedication
3058 hack by calling get-lru-window and get-largest-window with
3059 NOT-SELECTED argument non-nil. Call window--display-buffer.
3060
3061 2012-06-05 Glenn Morris <rgm@gnu.org>
3062
3063 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
3064 Replace external vcdiff script.
3065
3066 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
3067
3068 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
3069
3070 2012-06-04 Chong Yidong <cyd@gnu.org>
3071
3072 * image.el (imagemagick-types-inhibit): Revert last change.
3073 Add INFO and M.
3074 (imagemagick-enabled-types): Remove CIN and EPS*.
3075
3076 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
3077
3078 * emacs-lisp/cl-lib.el: Rename from cl.el.
3079 * emacs-lisp/cl.el: New compatibility file.
3080 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
3081 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
3082 to obey the "cl-" prefix.
3083 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
3084
3085 2012-06-03 Glenn Morris <rgm@gnu.org>
3086
3087 * emacs-lisp/authors.el (authors-aliases): Addition.
3088
3089 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
3090 Fix :version.
3091
3092 2012-06-03 Stefan Merten <smerten@oekonux.de>
3093
3094 * textmodes/rst.el: Add comments.
3095 (rst-transition, rst-adornment): New faces.
3096 (rst-adornment-faces-alist): Make default safe to reevaluate.
3097 Fixes
3098 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
3099 Improve customization tags.
3100 (rst-define-level-faces): Clarify meaning.
3101
3102 2012-06-03 Chong Yidong <cyd@gnu.org>
3103
3104 * progmodes/compile.el (compilation-mode-line-fail)
3105 (compilation-mode-line-run, compilation-mode-line-exit):
3106 New faces.
3107 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
3108
3109 2012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
3110
3111 * progmodes/which-func.el (which-func-update-ediff-windows):
3112 New function. Use it in ediff-select-hook (Bug#11478).
3113
3114 2012-06-03 Chong Yidong <cyd@gnu.org>
3115
3116 * bindings.el: Remove explicit help text from format-mode-line.
3117 It is now supplied by mode-line-default-help-echo.
3118 (mode-line-front-space, mode-line-end-spaces)
3119 (mode-line-misc-info): New variables.
3120 (mode-line-modes, mode-line-position): Move the default value to
3121 the variable definition.
3122 (mode-line-default-help-echo): New defcustom.
3123 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
3124 (mode-line-modified-help-echo): New functions.
3125 (mode-line-mule-info, mode-line-modified): Use them.
3126 (mode-line-eol-desc, propertized-buffer-identification):
3127 Consistency fixes for help text.
3128 (mode-line-coding-system-map): Allow using mouse-3 to invoke
3129 set-buffer-file-coding-system (Bug#289).
3130 (mode-line-mule-info-help-echo): Update help text.
3131
3132 2012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
3133
3134 * simple.el (execute-extended-command): Set real-this-command
3135 (bug#11506).
3136
3137 2012-06-02 Chong Yidong <cyd@gnu.org>
3138
3139 Remove incorrect uses of "modeline" in comments, docstrings, and
3140 function/variable names (Bug#10329).
3141
3142 * cus-edit.el (mode-line):
3143 * dframe.el (dframe-mouse-hscroll):
3144 * emacs-lisp/re-builder.el:
3145 * emacs-lisp/easy-mmode.el (define-minor-mode):
3146 * frame.el (set-frame-name):
3147 * help.el (lookup-minor-mode-from-indicator):
3148 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
3149 * progmodes/cc-cmds.el (c-toggle-auto-newline)
3150 (c-toggle-hungry-state):
3151 * progmodes/antlr-mode.el (antlr-language-alist):
3152 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
3153 * progmodes/vhdl-mode.el (vhdl-mode):
3154 * progmodes/which-func.el (which-func, which-func-cleanup-function):
3155 * term/ns-win.el (ns-face-at-pos):
3156 * term/sup-mouse.el (sup-mouse-report):
3157 * textmodes/flyspell.el (flyspell-mode-line-string):
3158 * textmodes/ispell.el (ispell-highlight-face):
3159 * textmodes/reftex-global.el:
3160 * vc/vc-arch.el (vc-arch-mode-line-string):
3161 * vc/vc-cvs.el (vc-cvs-mode-line-string):
3162 * vc/vc-git.el (vc-git-mode-line-string):
3163 * vc/vc-hooks.el (vc-display-status)
3164 (vc-default-mode-line-string):
3165 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
3166
3167 * ansi-color.el (ansi-color-faces-vector): Change default faces.
3168
3169 * dired.el (dired-sort-set-mode-line): Rename from
3170 dired-sort-set-modeline. All callers changed.
3171
3172 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
3173 eshell-status-in-modeline.
3174
3175 * foldout.el (foldout-mode-line-string): Rename from
3176 foldout-modeline-string. All callers changed.
3177 (foldout-update-mode-line): Rename from foldout-update-modeline.
3178
3179 * subr.el (redraw-modeline): Make into obsolete alias.
3180
3181 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
3182 timeclock-modeline-display. Make old name an alias.
3183 (timeclock-update-mode-line): Likewise. All callers changed.
3184 (timeclock-mode-line-display): No need to check before using
3185 add-hook.
3186 (timeclock-relative, timeclock-day-over-hook)
3187 (timeclock-use-elapsed, timeclock-mode-string)
3188 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
3189
3190 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
3191 crisp-mode-modeline-string.
3192
3193 * play/solitaire.el (solitaire-build-mode-line): Rename from
3194 solitaire-build-modeline. All callers changed.
3195
3196 * play/zone.el (zone-hiding-mode-line): Rename from
3197 zone-hiding-modeline. All callers changed.
3198 (zone): Remove unusued `modeline-hidden-level' property.
3199
3200 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
3201 xscheme-modeline-initialize. All callers changed.
3202
3203 * strokes.el (strokes-lighter): Rename from
3204 strokes-modeline-string.
3205
3206 * textmodes/sgml-mode.el (html-face-tag-alist)
3207 (html-tag-face-alist): Use mode-line face instead of obsolete
3208 alias modeline.
3209
3210 2012-06-02 Stefan Merten <smerten@oekonux.de>
3211
3212 * textmodes/rst.el: Always require `cl'.
3213 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
3214
3215 2012-06-02 Chong Yidong <cyd@gnu.org>
3216
3217 * image.el (imagemagick-enabled-types): Rename from
3218 imagemagick-types-enable. Add many more types.
3219 (imagemagick-types-inhibit): Change default to nil.
3220 (imagemagick-filter-types): Caller changed.
3221
3222 2012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
3223
3224 * emacs-lisp/cl-macs.el: Use backquotes.
3225 (cl-transform-function-property): Use eval-and-compile rather than
3226 abusing `require'.
3227 (defstruct): Use declare-function instead of with-no-warnings.
3228
3229 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
3230 (byte-compile-output-docform): Re-add the print-circle bindings.
3231 (byte-compile-fix-header): Use #$ just because it's shorter.
3232 (byte-compile-output-file-form): Remove defun/defmacro.
3233
3234 2012-06-01 Martin Rudalics <rudalics@gmx.at>
3235
3236 * simple.el (choose-completion): Remove now obsolete binding for
3237 owindow.
3238
3239 2012-06-01 Michael Albinus <michael.albinus@gmx.de>
3240
3241 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
3242 in order to avoid "Stack overflow in regexp matcher".
3243
3244 2012-05-31 Glenn Morris <rgm@gnu.org>
3245
3246 * image.el: For clarity, call imagemagick-register-types at
3247 top-level, rather than relying on a custom :initialize.
3248 (imagemagick-types-enable): New option. (Bug#11557)
3249 (imagemagick-filter-types): New function. (Bug#7406)
3250 (imagemagick-register-types): Use imagemagick-filter-types.
3251 If disabling support, remove elements altogether rather
3252 than using an impossible regexp.
3253 (imagemagick-types-inhibit): Give it the default init function.
3254
3255 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
3256
3257 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
3258 Handle arbitrary file name lengths (Bug#11585).
3259
3260 2012-05-31 Martin Rudalics <rudalics@gmx.at>
3261
3262 * desktop.el (desktop-read): Clear previous and next buffers for
3263 all windows and bury *Messages* buffer (bug#11556).
3264
3265 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
3266
3267 Add `declare' for `defun'. Align `defmacro's with it.
3268 * emacs-lisp/easy-mmode.el (define-minor-mode)
3269 (define-globalized-minor-mode): Don't autoload the var definitions.
3270 * emacs-lisp/byte-run.el: Use lexical-binding.
3271 (defun-declarations-alist, macro-declarations-alist): New vars.
3272 (defmacro, defun): Use them.
3273 (make-obsolete, define-obsolete-function-alias)
3274 (make-obsolete-variable, define-obsolete-variable-alias):
3275 Use `declare'.
3276 (macro-declaration-function): Mark obsolete.
3277 * emacs-lisp/autoload.el: Use lexical-binding.
3278 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
3279
3280 2012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3281
3282 * textmodes/ispell.el (ispell-with-no-warnings):
3283 Define as a macro.
3284 (ispell-kill-ispell, ispell-change-dictionary):
3285 Use `called-interactively-p' for Emacs instead of obsolete
3286 `interactive-p'.
3287
3288 2012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
3289
3290 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
3291 (macro-declaration-function): Move var from C code.
3292 (macro-declaration-function): Define function with defalias.
3293 * emacs-lisp/macroexp.el (macroexpand-all-1):
3294 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
3295 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
3296 defun/defmacro any more.
3297 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
3298 Provide fallback for unknown arglist.
3299 (byte-compile-arglist-warn): Change calling convention.
3300 (byte-compile-output-file-form): Move print-vars binding.
3301 (byte-compile-output-docform): Simplify accordingly.
3302 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
3303 (byte-compile-defmacro-declaration): Remove.
3304 (byte-compile-file-form-defmumble): Generalize to defalias.
3305 (byte-compile-output-as-comment): Return byte-positions.
3306 Simplify callers accordingly.
3307 (byte-compile-lambda): Use `assert'.
3308 (byte-compile-defun, byte-compile-defmacro): Remove.
3309 (byte-compile-file-form-defalias):
3310 Use byte-compile-file-form-defmumble.
3311 (byte-compile-defalias-warn): Remove.
3312
3313 2012-05-29 Stefan Merten <smerten@oekonux.de>
3314
3315 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
3316 possible. Fix authors. Improve comments. Improve loading of `cl'.
3317
3318 (rst-mode-abbrev-table): Merge definition.
3319 (rst-mode): Make sure `font-lock-defaults' is buffer local.
3320 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
3321
3322 2012-05-29 Ulf Jasper <ulf.jasper@web.de>
3323
3324 * calendar/icalendar.el
3325 (icalendar-export-region): Export UID properly.
3326
3327 2012-05-29 Leo Liu <sdl.web@gmail.com>
3328 * calendar/icalendar.el (icalendar-import-format):
3329 Add `icalendar-import-format-uid' (Bug#11525).
3330 (icalendar-import-format-uid): New.
3331 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
3332 Export UID.
3333
3334 2012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
3335
3336 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
3337 different alternative patterns.
3338 (pcase-codegen): Be more careful to preserve identity.
3339 (pcase--u1): Don't forget to mark vars as used.
3340
3341 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
3342 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
3343 (byte-compile-from-buffer): ...rather than here.
3344
3345 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
3346 functions from byte-compile-function-environment.
3347
3348 2012-05-29 Troels Nielsen <bn.troels@gmail.com>
3349
3350 * window.el (window-deletable-p): Avoid deleting the root window
3351 of a frame with an active minibuffer.
3352
3353 2012-05-29 Martin Rudalics <rudalics@gmx.at>
3354
3355 * simple.el (choose-completion): Use quit-window (Bug#11567).
3356
3357 2012-05-29 Chong Yidong <cyd@gnu.org>
3358
3359 * whitespace.el (whitespace-cleanup): Fix usage of
3360 whitespace-empty-at-bob-regexp (Bug#11492).
3361
3362 2012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
3363
3364 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
3365 revert (Bug#11488).
3366
3367 2012-05-29 Juri Linkov <juri@jurta.org>
3368
3369 * isearch.el (isearch-mode-map): Bind `M-s _' to
3370 `isearch-toggle-symbol'. Bind `M-s c' to
3371 `isearch-toggle-case-fold'.
3372 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
3373 (isearch-forward): Add `M-s _' to the docstring.
3374 (isearch-forward-symbol, isearch-toggle-case-fold)
3375 (isearch-symbol-regexp): New functions. (Bug#11381)
3376
3377 2012-05-29 Juri Linkov <juri@jurta.org>
3378
3379 * isearch.el (isearch-word): Add docstring. (Bug#11381)
3380 (isearch-occur, isearch-search-and-update): If `isearch-word' is
3381 a function, call it to get the regexp.
3382 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
3383 property `isearch-message-prefix' instead of the string "word ".
3384 (isearch-search-fun-default): For the case of `isearch-word',
3385 return a lambda that calls re-search-forward/re-search-backward
3386 with a regexp returned by `word-search-regexp' or by the function
3387 in `isearch-word'.
3388
3389 2012-05-29 Juri Linkov <juri@jurta.org>
3390
3391 * isearch.el (isearch-search-fun-default): New function.
3392 (isearch-search-fun): Move default part to the new function
3393 `isearch-search-fun-default'.
3394 (isearch-search-fun-function): Set the default value to
3395 `isearch-search-fun-default'. (Bug#11381)
3396
3397 * comint.el (comint-history-isearch-end):
3398 Use `isearch-search-fun-default'.
3399 (comint-history-isearch-search): Use `isearch-search-fun-default'
3400 and remove spacial case for `isearch-word'.
3401 (comint-history-isearch-wrap): Remove spacial case for
3402 `isearch-word'.
3403
3404 * hexl.el (hexl-isearch-search-function):
3405 Use `isearch-search-fun-default'.
3406
3407 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
3408 Use `word-search-regexp' for `isearch-word'.
3409
3410 * misearch.el (multi-isearch-search-fun):
3411 Use `isearch-search-fun-default'.
3412
3413 * simple.el (minibuffer-history-isearch-search):
3414 Use `isearch-search-fun-default' and remove spacial case for
3415 `isearch-word'.
3416 (minibuffer-history-isearch-wrap): Remove spacial case for
3417 `isearch-word'.
3418
3419 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
3420 Remove spacial case for `isearch-word'.
3421 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
3422
3423 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3424
3425 Decrease XEmacs incompatibilities.
3426 * textmodes/flyspell.el (flyspell-check-pre-word-p):
3427 Use `string-match'.
3428 (flyspell-delete-region-overlays): Use alternative definition for
3429 XEmacs.
3430 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
3431 (flyspell-word): Use `process-kill-without-query' if XEmacs.
3432 (flyspell-mode-on): Use `interactive-p' if XEmacs.
3433 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
3434 `define-obsolete-face-alias' under XEmacs, but old method.
3435
3436 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
3437 `with-no-warnings' definition or Emacs alias.
3438 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
3439 (ispell-word): Do not use `region-p' if XEmacs.
3440
3441 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3442
3443 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
3444 Check for `ispell-dictionary-base-alist' instead of full
3445 `ispell-dictionary-alist'.
3446 (ispell-init-process): Show spellchecker when starting new Ispell
3447 process.
3448
3449 2012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
3450
3451 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
3452 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
3453
3454 2012-05-27 Juanma Barranquero <lekktu@gmail.com>
3455
3456 * version.el (motif-version-string, gtk-version-string)
3457 (ns-version-string): Declare.
3458
3459 2012-05-27 Juri Linkov <juri@jurta.org>
3460
3461 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
3462 after the `eval-defun-1' specialcaseing
3463 like in `edebug-eval-defun' (bug#10181).
3464
3465 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
3466 like in `eval-defun-1'.
3467
3468 2012-05-27 Eli Zaretskii <eliz@gnu.org>
3469
3470 * mail/sendmail.el (mail-yank-region):
3471 Recognize rmail-yank-current-message in addition to insert-buffer.
3472 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
3473 a *mail* buffer created through rmail-start-mail with sendmail as
3474 mail-user-agent.
3475
3476 2012-05-27 Chong Yidong <cyd@gnu.org>
3477
3478 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
3479 Default to 256 (Bug#11267).
3480
3481 * help.el (describe-mode): Doc fix.
3482
3483 2012-05-26 Glenn Morris <rgm@gnu.org>
3484
3485 * w32-fns.el (w32-init-info): Remove.
3486 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
3487
3488 * info.el (info-initialize): For self-contained NS builds, put the
3489 included info/ directory at the front. (Bug#2791)
3490
3491 * paths.el (Info-default-directory-list): Make it a defcustom,
3492 mainly so that we can use custom-initialize-delay.
3493
3494 2012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
3495
3496 * subr.el (buffer-has-markers-at): Mark obsolete.
3497
3498 * subr.el (lambda): Use declare.
3499
3500 * emacs-lisp/lisp-mode.el (lambda):
3501 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
3502
3503 2012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
3504
3505 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
3506
3507 2012-05-26 Glenn Morris <rgm@gnu.org>
3508
3509 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
3510
3511 2012-05-25 Glenn Morris <rgm@gnu.org>
3512
3513 * paths.el: Remove no-byte-compile.
3514 * loadup.el: No need to load paths.el uncompiled.
3515
3516 * image.el (imagemagick-types-inhibit): Doc fix.
3517
3518 * version.el: Remove no-byte-compile and associated formatting.
3519 * loadup.el: No need to load version.el uncompiled. AFAICS, this
3520 is ancient code from when there was an "inc-vers.el".
3521
3522 2012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
3523
3524 * progmodes/gdb-mi.el: Minor style changes.
3525 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
3526 Turn into minor modes.
3527 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
3528 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
3529 (gdb-shell): Remove unneeded let-binding.
3530 (gdb-get-many-fields): Eliminate O(n²) behavior.
3531
3532 2012-05-25 Eli Zaretskii <eliz@gnu.org>
3533
3534 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
3535 platforms that don't link in fontset.c.
3536
3537 2012-05-25 Juri Linkov <juri@jurta.org>
3538
3539 Use the same diff color scheme as in modern VCSes (bug#10181).
3540
3541 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
3542 to avoid confusion with `diff-added' that now uses green colors.
3543 (diff-removed): Use shades of red.
3544 (diff-added): Use shades of green.
3545 (diff-changed): Leave just the yellow color.
3546 (diff-use-changed-face): New variable.
3547 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
3548 how to highlight context diff changes.
3549 (diff-refine-change): Use shades of yellow.
3550 (diff-refine-removed): New face that uses shades of red.
3551 (diff-refine-added): New face that uses shades of green.
3552 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
3553 `diff-refine-removed' in the call to `smerge-refine-subst'
3554 depending on the value of `diff-use-changed-face'.
3555
3556 * vc/smerge-mode.el (smerge-mine): Use shades of red.
3557 (smerge-other): Use shades of green.
3558 (smerge-base): Use shades of yellow.
3559 (smerge-refined-change): Empty face.
3560 (smerge-refined-removed): New face that uses shades of red.
3561 (smerge-refined-added): New face that uses shades of green.
3562 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
3563 args `props-r' and `props-a', and use them. Doc fix.
3564 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
3565 on its value use different faces `smerge-refined-change',
3566 `smerge-refined-removed', `smerge-refined-added' in the call to
3567 `smerge-refine-subst'.
3568
3569 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
3570 Add face condition `min-colors 88' with shades of red.
3571 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
3572 `min-colors 88' with shades of green.
3573 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
3574 `min-colors 88' with shades of yellow.
3575
3576 2012-05-24 Glenn Morris <rgm@gnu.org>
3577
3578 * paths.el (prune-directory-list, remote-shell-program): Move to...
3579 * files.el (prune-directory-list, remote-shell-program): ...here.
3580 For the latter, delay initialization, prefer ssh, just search PATH.
3581
3582 * paths.el (term-file-prefix): Move to faces.el (the only user).
3583 * faces.el (term-file-prefix): Move here, make it a defcustom.
3584
3585 * paths.el (news-directory, news-path, news-inews-program):
3586 Move to gnus/nnspool.el.
3587
3588 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
3589
3590 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
3591 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
3592 Make the latter a defcustom, with a delayed initialization.
3593
3594 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
3595 These were deleted from Gnus itself late 2010.
3596
3597 2012-05-22 Juanma Barranquero <lekktu@gmail.com>
3598
3599 * progmodes/which-func.el (which-func-ff-hook):
3600 Check against user-error, not error.
3601
3602 * emacs-lisp/edebug.el (top): Do not load or set up loading of
3603 cl-specs.el, which no longer exists.
3604
3605 2012-05-22 Glenn Morris <rgm@gnu.org>
3606
3607 * info.el (info-emacs-bug): New command.
3608 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
3609 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
3610
3611 2012-05-21 Glenn Morris <rgm@gnu.org>
3612
3613 * makefile.w32-in (update-subdirs-SH):
3614 * Makefile.in (update-subdirs): Update for moved update-subdirs.
3615
3616 2012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
3617
3618 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
3619
3620 * progmodes/compile.el (compilation-error-regexp-alist-alist):
3621 Simplify Maven regexp, and make sure the file can't start with a space
3622 (bug#11517).
3623
3624 2012-05-21 Glenn Morris <rgm@gnu.org>
3625
3626 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
3627 Scrap superfluous subshells.
3628
3629 2012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
3630
3631 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
3632 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
3633
3634 2012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
3635
3636 * calc/calc.el (calc-ensure-consistent-units): New variable.
3637
3638 * calc/calc-units.el (math-consistent-units-p)
3639 (math-check-unit-consistency): New functions.
3640 (calc-quick-units, calc-convert-units):
3641 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
3642 is non-nil.
3643 (calc-extract-units): Fix typo.
3644
3645 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
3646
3647 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
3648
3649 * textmodes/flyspell.el: Commenting style, plus code simplifications.
3650 (flyspell-default-deplacement-commands): Don't spell check after
3651 repeated window/frame switches (e.g. triggered by mouse-movement).
3652 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
3653 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
3654 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
3655 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
3656 Remove unused vars.
3657 (flyspell-get-casechars, flyspell-get-not-casechars):
3658 Simplify; Don't bother removing a ] just to add it back.
3659 * textmodes/ispell.el (ispell-program-name): Use executable-find.
3660
3661 2012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3662
3663 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
3664 New functions.
3665 (math-function-table): Add support for more C functions.
3666
3667 2012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3668
3669 * textmodes/flyspell.el (flyspell-check-pre-word-p)
3670 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
3671 Protect delay handling for otherchars against empty otherchars.
3672
3673 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
3674
3675 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
3676 their respective macro declarations.
3677 * skeleton.el (define-skeleton):
3678 * progmodes/compile.el (define-compilation-mode):
3679 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
3680 (define-ibuffer-filter):
3681 * emacs-lisp/generic.el (define-generic-mode):
3682 * emacs-lisp/easy-mmode.el (define-minor-mode)
3683 (define-globalized-minor-mode):
3684 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
3685 * emacs-lisp/byte-run.el (defsubst):
3686 * custom.el (deftheme): Add doc-string metadata.
3687
3688 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
3689
3690 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
3691
3692 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
3693
3694 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
3695
3696 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
3697 * emacs-lisp/cl-macs.el: Idem.
3698 * emacs-lisp/cl-specs.el: Remove.
3699
3700 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
3701
3702 Minor renaming of internal CL functions and variables.
3703 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
3704 (cl--position): Rename from cl-position.
3705 (cl--delete-duplicates): Rename from cl-delete-duplicates.
3706 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
3707 (cl--random-state): Rename from *random-state*.
3708
3709 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
3710
3711 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
3712 parens around the arg list (bug#11499).
3713
3714 2012-05-17 Juri Linkov <juri@jurta.org>
3715
3716 * isearch.el (word-search-regexp, word-search-backward)
3717 (word-search-forward, word-search-backward-lax)
3718 (word-search-forward-lax): Move functions from search.c
3719 (bug#10145, bug#11381).
3720
3721 2012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3722
3723 * textmodes/flyspell.el (flyspell-check-pre-word-p)
3724 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
3725 Delay for otherchars as for normal word components.
3726
3727 2012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
3728
3729 * minibuffer.el (completion--sifn-requote): Fix last change.
3730 (minibuffer-local-must-match-filename-map):
3731 Move define-obsolete-variable-alias before its var.
3732
3733 2012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
3734
3735 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
3736
3737 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
3738 behavior.
3739 (completion--string-equal-p): New function.
3740 (completion--twq-all): Use it to get better assertion failure data.
3741
3742 Only handle ".." and '..' quoting in shell-mode (bug#11466).
3743 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
3744 (shell--requote-argument): New functions.
3745 (shell-completion-vars): Use them.
3746 (shell--parse-pcomplete-arguments): Rename from
3747 shell-parse-pcomplete-arguments.
3748 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
3749 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
3750 Obey comint-file-name-quote-list.
3751
3752 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
3753 (smie-indent-keyword): Use it.
3754
3755 2012-05-14 Stefan Merten <smerten@oekonux.de>
3756
3757 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
3758
3759 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
3760
3761 * net/rlogin.el (rlogin-mode-map): Fix last change.
3762
3763 2012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
3764
3765 * mail/smtpmail.el (smtpmail-send-command): Send the command and
3766 the following \r\n using a single `process-send-string', since the
3767 Lotus SMTP server refuses to accept any commands if they are sent
3768 with two `process-send-string's (Bug#11444).
3769
3770 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
3771
3772 * shell.el (shell-parse-pcomplete-arguments):
3773 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
3774
3775 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
3776
3777 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
3778 (image-transform-scale, image-transform-right-angle-fudge): New vars.
3779 (image-transform-width, image-transform-fit-width): New functions.
3780 (image-transform-properties): Use them.
3781 (image-transform-check-size): New function.
3782 (image-toggle-display-image): Use it (for testing).
3783 (image-transform-set-rotation): Reduce angle mod 360.
3784 Delete obsolete comment.
3785
3786 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
3787
3788 * image-mode.el: Fix scaling (bug#11399).
3789 (image-transform-resize): Doc fix.
3790 (image-transform-properties): Default scale is 1 and height should
3791 be an integer.
3792
3793 2012-05-13 Johan Bockgård <bojohan@gnu.org>
3794
3795 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
3796 than hard-coding `car', to fix misbehavior when moving forward.
3797
3798 2012-05-13 Chong Yidong <cyd@gnu.org>
3799
3800 * emacs-lisp/tabulated-list.el (tabulated-list-format)
3801 (tabulated-list-entries, tabulated-list-padding)
3802 (tabulated-list-sort-key): Make permanent-local.
3803
3804 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
3805 (electric-buffer-list): Put electric buffer menu
3806 command descriptions in this docstring, instead of the docstring
3807 of electric-buffer-menu-mode. Code cleanups.
3808 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
3809 Electric-buffer-menu-mode.
3810 (electric-buffer-update-highlight): Minor code cleanup.
3811
3812 2012-05-13 Michael Albinus <michael.albinus@gmx.de>
3813
3814 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
3815 (Bug#11447)
3816
3817 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
3818
3819 Move define-obsolete-variable-alias before the var's definition.
3820 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
3821 * tooltip.el (tooltip-hook):
3822 * textmodes/reftex-toc.el (reftex-toc-map):
3823 * textmodes/reftex-sel.el (reftex-select-label-map)
3824 (reftex-select-bib-map):
3825 * textmodes/reftex-index.el (reftex-index-map)
3826 (reftex-index-phrases-map):
3827 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
3828 * progmodes/meta-mode.el (meta-mode-map):
3829 * novice.el (disabled-command-hook):
3830 * loadhist.el (unload-hook-features-list):
3831 * frame.el (blink-cursor):
3832 * files.el (find-file-not-found-hooks, write-file-hooks)
3833 (write-contents-hooks):
3834 * emulation/tpu-edt.el (GOLD-map):
3835 * emacs-lock.el (emacs-lock-from-exiting):
3836 * emacs-lisp/generic.el (generic-font-lock-defaults):
3837 * emacs-lisp/chart.el (chart-map):
3838 * dos-fns.el (register-name-alist):
3839 * dired-x.el (dired-omit-files-p):
3840 * desktop.el (desktop-enable):
3841 * cus-edit.el (custom-mode-hook):
3842 * buff-menu.el (buffer-menu-mode-hook):
3843 * bookmark.el (bookmark-read-annotation-text-func)
3844 (bookmark-exit-hooks):
3845 * allout.el (allout-mode-deactivate-hook)
3846 (allout-exposure-change-hook, allout-structure-added-hook)
3847 (allout-structure-deleted-hook, allout-structure-shifted-hook):
3848 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
3849 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
3850 comes before the corresponding variable's definition.
3851
3852 2012-05-12 Chong Yidong <cyd@gnu.org>
3853
3854 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
3855 (Buffer-menu-mouse-select): Restore function (Bug#11459).
3856 (Buffer-menu-mode-map): Bind it.
3857 (Buffer-menu--pretty-name): Add a mouse-face property.
3858
3859 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
3860
3861 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
3862 (prolog-upper-case-string, prolog-lower-case-string)
3863 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
3864 (prolog-use-smie, prolog-smie-grammar): New vars.
3865 (prolog-smie-forward-token, prolog-smie-backward-token)
3866 (prolog-smie-rules): New funs.
3867 (prolog-comment-indent): Remove.
3868 (prolog-mode-variables): Use default comment indentation instead.
3869 Setup SMIE.
3870 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
3871 (prolog-mode): Don't call them any more.
3872 (prolog-electric-colon, prolog-electric-dash)
3873 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
3874
3875 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
3876
3877 * minibuffer.el (completion--twq-all): Again, allow case differences.
3878
3879 * term.el: Move keymap initialization code to be more idiomatic.
3880 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
3881 (term-terminal-menu): Move initialization into declaration.
3882 (term-escape-char): Let the user set it in her .emacs.
3883
3884 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
3885 Provide SMIE-based indentation (not enabled by default yet).
3886 (sh-mode-map): Don't bind electric keys.
3887 Use electric-pair-mode instead of skeleton-pair.
3888 (sh-assignment-regexp): Fit within 80 columns.
3889 (sh-indent-supported): Specify actual shell name instead of boolean.
3890 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
3891 (sh-maybe-here-document): Use it. Make obsolete.
3892 (sh-electric-here-document-mode) New minor mode.
3893 (sh-mode): Use it. Don't set sh-indent-supported-here here.
3894 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
3895 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
3896 (sh-smie-rc-grammar, sh-use-smie): New vars.
3897 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
3898 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
3899 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
3900 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
3901 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
3902 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
3903 (sh-set-shell): Use smie-setup if requested.
3904
3905 * term.el (term-set-escape-char): Properly set term-escape-char.
3906 See http://stackoverflow.com/questions/10524656.
3907
3908 2012-05-10 Chong Yidong <cyd@gnu.org>
3909
3910 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
3911 Use url-generic-parse-url, and handle host names and Windows
3912 filenames properly.
3913 (ffap-url-unwrap-remote): Use url-generic-parse-url.
3914 (ffap-url-unwrap-remote): Accept list values, specifying a list of
3915 URL schemes to work on.
3916 (ffap--toggle-read-only): New function.
3917 (ffap-read-only, ffap-read-only-other-window)
3918 (ffap-read-only-other-frame): Use it.
3919 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
3920 necessary for ffap-url-unwrap-remote.
3921
3922 2012-05-10 Dave Abrahams <dave@boostpro.com>
3923
3924 * cus-start.el (create-lockfiles): Add it.
3925
3926 2012-05-09 Chong Yidong <cyd@gnu.org>
3927
3928 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
3929 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
3930
3931 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3932
3933 * shell.el (shell-completion-vars): Fix last change (bug#11348).
3934
3935 2012-05-09 Chong Yidong <cyd@gnu.org>
3936
3937 * ansi-color.el (ansi-color-process-output): Check for validity of
3938 comint-last-output-start before using it. This avoids a bad
3939 interaction with gdb-mi's input/output buffer.
3940
3941 2012-05-09 Glenn Morris <rgm@gnu.org>
3942
3943 * files.el (dir-locals-read-from-file):
3944 Mention dir-locals in any error message.
3945
3946 2012-05-09 Chong Yidong <cyd@gnu.org>
3947
3948 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
3949 package (Bug#11410).
3950
3951 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
3952 variables into description.
3953
3954 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3955
3956 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
3957 shell-delimiter-argument-list (bug#11348).
3958 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
3959
3960 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
3961
3962 * textmodes/rst.el: Silence byte-compiler warnings.
3963 (rst-re-alist, rst-reset-section-caches): Move around.
3964 (rst-re): Use `characterp', not `char-valid-p'.
3965 (font-lock-beg, font-lock-end): Declare.
3966
3967 * progmodes/idlw-shell.el (specs): Remove reference to deleted
3968 variable `idlwave-shell-activate-alt-keybindings' and simplify.
3969
3970 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
3971
3972 2012-05-08 Glenn Morris <rgm@gnu.org>
3973
3974 * files.el (auto-mode-alist): Treat ".make" like ".mk".
3975
3976 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
3977
3978 * vc/log-edit.el: Add GNU coding standards highlighting.
3979 (log-edit-font-lock-gnu-style)
3980 (log-edit-font-lock-gnu-keywords): New vars.
3981 (log-edit-font-lock-keywords): New fun.
3982 (log-edit-mode): Don't fold case in font-lock.
3983 (log-edit-font-lock-keywords): Do not assume case-folding.
3984
3985 * imenu.el: Misc cleanup. Make docstrings out of comments.
3986 Use lexical-binding.
3987 (imenu--index-alist, imenu--last-menubar-index-alist)
3988 (imenu-menubar-modified-tick): Use defvar-local.
3989 (imenu--split-menu): Remove unused var.
3990 (imenu--cleanup-seen): Declare as global.
3991 (imenu--cleanup): Use dolist.
3992
3993 * subr.el (defvar-local): Add debug spec and doc-string position.
3994
3995 2012-05-08 Glenn Morris <rgm@gnu.org>
3996
3997 * language/burmese.el, language/cham.el, language/czech.el:
3998 * language/english.el, language/georgian.el, language/greek.el:
3999 * language/japanese.el, language/khmer.el, language/korean.el:
4000 * language/lao.el, language/misc-lang.el, language/romanian.el:
4001 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
4002 * language/thai.el, language/utf-8-lang.el:
4003 Remove no-byte-compile setting.
4004
4005 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
4006
4007 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
4008
4009 * progmodes/make-mode.el (makefile-browse):
4010 Remove unnecessary interactive. (Bug#11324)
4011
4012 2012-05-07 Glenn Morris <rgm@gnu.org>
4013
4014 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
4015
4016 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
4017
4018 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
4019
4020 * loadup.el: Preload newcomment.el.
4021 * newcomment.el: Move autoload-only code to toplevel.
4022
4023 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
4024 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
4025 Handle new :right-align column property.
4026 (tabulated-list-print-col): Idem, plus use `display' text-property to
4027 try and preserve alignment for variable pitch fonts.
4028
4029 2012-05-07 Chong Yidong <cyd@gnu.org>
4030
4031 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
4032 (tabulated-list-use-header-line): New var.
4033 (tabulated-list-init-header): Use it.
4034 (tabulated-list-print-fake-header): New function.
4035 (tabulated-list-print): Use it.
4036 (tabulated-list-sort-button-map): Add non-header-line commands.
4037 (tabulated-list-init-header): Add column name property to basic
4038 labels as well.
4039 (tabulated-list-col-sort): Handle non-header-line button case.
4040 (tabulated-list--sort-by-column-name): Fix a corner case.
4041
4042 * buff-menu.el (list-buffers--refresh):
4043 Handle Buffer-menu-use-header-line.
4044
4045 2012-05-06 Chong Yidong <cyd@gnu.org>
4046
4047 * buff-menu.el: Convert to Tabulated List mode.
4048 (Buffer-menu-buffer+size-width): Make obsolete.
4049 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
4050 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
4051 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
4052 documentation into docstring of buffer-menu.
4053 (Buffer-menu-toggle-files-only): Add an informative message.
4054 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
4055 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
4056 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
4057 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
4058 (Buffer-menu-execute, Buffer-menu-select)
4059 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
4060 (Buffer-menu-bury): Use Tabulated List machinery.
4061 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
4062 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
4063 Delete.
4064 (list-buffers--refresh): New function.
4065 (list-buffers-noselect): Use it.
4066 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
4067 (Buffer-menu--pretty-file-name): New helper functions.
4068
4069 * loadup.el: Preload tabulated-list.
4070
4071 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
4072 tabulated-list-sort-column.
4073 (tabulated-list-init-header): Add the initial aligning space even
4074 if tabulated-list-padding is zero.
4075
4076 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
4077
4078 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
4079 whose cdr is not a cons cell correctly (bug#11038).
4080
4081 2012-05-06 Chong Yidong <cyd@gnu.org>
4082
4083 * emacs-lisp/tabulated-list.el (tabulated-list-format):
4084 Accept additional plist in column descriptors.
4085 (tabulated-list-init-header): Obey it.
4086 (tabulated-list-get-entry): New function.
4087 (tabulated-list-put-tag): Use it. Use string-width instead of
4088 length.
4089 (tabulated-list--column-number): New function.
4090 (tabulated-list-print): Use it.
4091 (tabulated-list-print-col): New function.
4092 Set `tabulated-list-column-name' property on each column's text.
4093 (tabulated-list-print-entry): Use it.
4094 (tabulated-list-delete-entry, tabulated-list-set-col):
4095 New functions.
4096 (tabulated-list-sort-column): New command (Bug#11337).
4097
4098 * buff-menu.el (list-buffers): Move C-x C-b binding from
4099 buff-menu.el to bindings.el.
4100
4101 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
4102 :advertised-binding feature.
4103
4104 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
4105
4106 * progmodes/compile.el (compilation-internal-error-properties):
4107 Calculate start position correctly when end-col is set but
4108 end-line is not (Bug#11382).
4109
4110 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
4111
4112 * man.el (Man-unindent): Use text-property-default-nonsticky to
4113 prevent untabify from inheriting face properties (Bug#11408).
4114
4115 2012-05-05 Stefan Merten <smerten@oekonux.de>
4116
4117 * textmodes/rst.el: Major merge with upstream development up to
4118 Docutils SVN r7399 / rst.el V1.2.1.
4119
4120 Clarify maintainership and authors.
4121
4122 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
4123 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
4124 (rst-official-version, rst-official-cvs-rev, rst-version)
4125 (rst-package-emacs-version-alist): New functions and variables
4126 for version information.
4127
4128 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
4129 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
4130 (rst-mode-syntax-table, rst-mode): New and corrected functions
4131 and variables representing reStructuredText features.
4132
4133 (rst-re): New function for reStructuredText regexes. Use in
4134 many places.
4135
4136 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
4137 (rst-mode-map): Rebind keys.
4138
4139 (rst-mode-lazy, rst-font-lock-keywords)
4140 (rst-font-lock-extend-region)
4141 (rst-font-lock-extend-region-internal)
4142 (rst-font-lock-extend-region-extend)
4143 (rst-font-lock-find-unindented-line-limit)
4144 (rst-font-lock-find-unindented-line-match)
4145 (rst-adornment-level, rst-font-lock-adornment-level)
4146 (rst-font-lock-adornment-match)
4147 (rst-font-lock-handle-adornment-pre-match-form)
4148 (rst-font-lock-handle-adornment-matcher): Major revision of
4149 font-locking. Integrate with other code. Use `jit-lock-mode'.
4150
4151 (rst-preferred-adornments, rst-adjust-hook)
4152 (rst-new-adornment-down, rst-preferred-bullets)
4153 (rst-preferred-bullets, rst-indent, rst-indent-width)
4154 (rst-indent-field, rst-indent-literal-normal)
4155 (rst-indent-literal-minimized, rst-indent-comment): Change,
4156 extend and improve customization.
4157
4158 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
4159 (rst-normalize-cursor-position, rst-get-decoration)
4160 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
4161 (rst-rstrip, rst-toc-insert-find-delete-contents)
4162 (rst-shift-fill-region, rst-compute-bullet-tabs)
4163 (rst-debug-print-tabs, rst-debug-mark-found)
4164 (rst-shift-region-guts, rst-shift-region-right)
4165 (rst-shift-region-left, rst-use-char-classes)
4166 (rst-font-lock-keywords-function)
4167 (rst-font-lock-indentation-point)
4168 (rst-font-lock-find-unindented-line-begin)
4169 (rst-font-lock-find-unindented-line-end)
4170 (rst-font-lock-find-unindented-line)
4171 (rst-font-lock-adornment-point, rst-font-lock-level)
4172 (rst-adornment-level-alist): Remove functions and variables.
4173
4174 (rst-compare-adornments, rst-get-adornment-match)
4175 (rst-suggest-new-adornment, rst-get-adornments-around)
4176 (rst-adornment-complete-p, rst-get-next-adornment)
4177 (rst-adjust-adornment, rst-display-adornments-hierarchy)
4178 (rst-straighten-adornments): Standardize function names to
4179 use "adornment" instead of "decoration". Correct callers.
4180 Similar standardizing in many places.
4181
4182 (rst-update-section, rst-adjust, rst-promote-region)
4183 (rst-enumerate-region, rst-bullet-list-region)
4184 (rst-repeat-last-character): Correct use of `interactive'.
4185
4186 (rst-classify-adornment, rst-find-all-adornments)
4187 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
4188 (rst-find-leftmost-column, rst-repeat-last-character):
4189 Refactor functions.
4190
4191 (rst-find-title-line, rst-reset-section-caches)
4192 (rst-get-adornments-around, rst-adjust-adornment-work)
4193 (rst-arabic-to-roman, rst-roman-to-arabic)
4194 (rst-insert-list-pos, rst-insert-list-new-item)
4195 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
4196 New functions.
4197
4198 (rst-all-sections, rst-section-hierarchy)
4199 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
4200 New variables.
4201
4202 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
4203 configuration instead of only buffer. Change where necessary.
4204
4205 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
4206 (rst-shift-region, rst-adaptive-fill): New functions for
4207 indentation and filling.
4208
4209 (rst-comment-line-break, rst-comment-indent)
4210 (rst-comment-insert-comment, rst-comment-region)
4211 (rst-uncomment-region): New functions for handling comments.
4212
4213 (rst-compile): Quote shell arguments.
4214
4215 (rst-compile-pdf-preview, rst-compile-slides-preview):
4216 Delete temporary files after use.
4217
4218 2012-05-05 Glenn Morris <rgm@gnu.org>
4219
4220 * calendar/cal-html.el: Optionally include holidays in the output.
4221 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
4222 (cal-html-holidays): New option.
4223 (cal-html-css-default): Add holiday entry.
4224 (holiday-in-range): Autoload it.
4225 (cal-html-htmlify-entry): Add optional class argument.
4226 (cal-html-htmlify-list): Add optional holidays argument.
4227 (cal-html-insert-agenda-days): Include holidays in the output.
4228 (cal-html-one-month): Maybe include holidays.
4229
4230 * calendar/holidays.el (holiday-in-range):
4231 Move here from cal-tex-list-holidays.
4232 * calendar/cal-tex.el (cal-tex-list-holidays):
4233 Make it an obsolete alias for holiday-in-range. Update all callers.
4234
4235 2012-05-05 Chong Yidong <cyd@gnu.org>
4236
4237 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
4238 Nextstep.
4239
4240 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
4241
4242 * files.el (file-auto-mode-skip): New var.
4243 (set-auto-mode-1): Use it.
4244
4245 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
4246
4247 * repeat.el: Use lexical-binding.
4248 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
4249 (repeat-undo-count): Remove.
4250 (repeat):
4251 * progmodes/octave-mod.el (octave-abbrev-start):
4252 * progmodes/f90.el (f90-abbrev-start):
4253 * face-remap.el (text-scale-adjust):
4254 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
4255
4256 * emacs-lisp/pcase.el (pcase--let*): New function.
4257 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
4258 a bit more.
4259 (pcase--split-pred): Be more clever about ruling out overlap between
4260 a predicate and some constant pattern.
4261 (pcase--q1): Use `null' instead of (eq foo nil).
4262
4263 * subr.el (setq-local, defvar-local): New macros.
4264 (kbd): Redefine as an alias.
4265 (with-selected-window): Leave unrelated frames alone.
4266 (set-temporary-overlay-map): New function.
4267
4268 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
4269
4270 * subr.el (user-error): New function.
4271 * window.el (switch-to-buffer):
4272 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
4273 (smerge-match-conflict):
4274 * simple.el (previous-matching-history-element)
4275 (next-matching-history-element, goto-history-element, undo-more)
4276 (undo-start):
4277 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
4278 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
4279 (next-file, tags-loop-scan, list-tags, complete-tag):
4280 * progmodes/compile.el (compilation-loop):
4281 * mouse.el (mouse-minibuffer-check):
4282 * man.el (Man-bgproc-sentinel, Man-goto-page):
4283 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
4284 (Info-history-forward, Info-follow-reference, Info-menu)
4285 (Info-extract-menu-item, Info-extract-menu-counting)
4286 (Info-forward-node, Info-backward-node, Info-next-menu-item)
4287 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
4288 (Info-next-reference, Info-prev-reference, Info-index)
4289 (Info-index-next, Info-follow-nearest-node)
4290 (Info-copy-current-node-name):
4291 * imenu.el (imenu--make-index-alist)
4292 (imenu-default-create-index-function, imenu-add-to-menubar):
4293 * files.el (basic-save-buffer, recover-file):
4294 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
4295 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
4296 (checkdoc-message-text, checkdoc-defun):
4297 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
4298 * cus-edit.el (customize-changed-options, customize-rogue)
4299 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
4300 (custom-variable-mark-to-reset-standard)
4301 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
4302 (custom-file):
4303 * completion.el (check-completion-length):
4304 * comint.el (comint-search-arg)
4305 (comint-previous-matching-input-string-position)
4306 (comint-previous-matching-input)
4307 (comint-replace-by-expanded-history-before-point, comint-send-input)
4308 (comint-copy-old-input, comint-backward-matching-input)
4309 (comint-goto-process-mark, comint-set-process-mark):
4310 * calendar/calendar.el (calendar-cursor-to-date): Use it.
4311 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
4312
4313 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
4314
4315 * dabbrev.el (dabbrev--ignore-case-p): New function.
4316 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
4317 Use it.
4318
4319 * files.el (automount-dir-prefix): Mark as obsolete.
4320
4321 2012-05-04 Glenn Morris <rgm@gnu.org>
4322
4323 * patcomp.el, play/bruce.el: Move to obsolete/.
4324
4325 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
4326
4327 Fix minor Y10k bugs.
4328 * arc-mode.el (archive-unixdate):
4329 * autoinsert.el (auto-insert-alist):
4330 * calc/calc-forms.el (math-this-year):
4331 * emacs-lisp/copyright.el (copyright-current-year)
4332 (copyright-update-year, copyright):
4333 * tar-mode.el (tar-clip-time-string):
4334 * time.el (display-time-update):
4335 Don't assume years have 4 digits.
4336
4337 2012-05-04 Chong Yidong <cyd@gnu.org>
4338
4339 * dos-w32.el (file-name-buffer-file-type-alist)
4340 (direct-print-region-use-command-dot-com):
4341 * ffap.el (ffap-menu-regexp):
4342 * find-file.el (ff-special-constructs):
4343 * follow.el (follow-debug):
4344 * forms.el (forms--debug):
4345 * iswitchb.el (iswitchb-all-frames):
4346 * ido.el (ido-all-frames):
4347 * emacs-lisp/timer.el (timer-max-repeats):
4348 * mail/feedmail.el (feedmail-mail-send-hook)
4349 (feedmail-mail-send-hook-queued):
4350 * mail/footnote.el (footnote-signature-separator):
4351 * mail/mailabbrev.el (mail-alias-separator-string)
4352 (mail-abbrev-mode-regexp):
4353 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
4354 * progmodes/idlwave.el (idlwave-libinfo-file)
4355 (idlwave-default-completion-case-is-down)
4356 (idlwave-library-routines): Convert defvars to defcustoms.
4357
4358 * mail/rmail.el (rmail-decode-mime-charset):
4359 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
4360 (idlwave-shell-fix-inserted-breaks)
4361 (idlwave-shell-activate-alt-keybindings)
4362 (idlwave-shell-use-breakpoint-glyph):
4363 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
4364
4365 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
4366
4367 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
4368
4369 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
4370
4371 * progmodes/verilog-mode.el (font-lock-keywords):
4372 Fix mis-highligting auto. Reported by Craig Barner.
4373 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
4374 defines from global name space. Reported by Dan Dever.
4375 (verilog-auto-reset, verilog-auto-reset-widths)
4376 (verilog-auto-tieoff): Support using unbased numbers for
4377 AUTORESET and AUTOTIEOFF.
4378 (verilog-submit-bug-report): Update variable list.
4379 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
4380 parenthesis from not matching. Reported by Michael Rytting.
4381 (verilog-auto-template-lint): Fix hash error when linting modules
4382 with no used templates.
4383 (verilog-warn, verilog-warn-error)
4384 (verilog-warn-fatal): When non-interactive report multiple
4385 warnings before exiting. Suggested by Brad Dobbie.
4386 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
4387 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
4388 to report unused template errors. Reported by Brad Dobbie.
4389 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
4390 nets, bug438. Reported by Vns Blore.
4391 (verilog-auto-inout-module, verilog-auto-reg)
4392 (verilog-read-decls, verilog-read-sub-decls-sig)
4393 (verilog-signals-edit-wire-reg, verilog-signals-with):
4394 Fix passing of Verilog data types in ANSI input/output ports
4395 such as "output logic" into the AUTOs. Special case "wire" and
4396 "reg" for backwards compatibility presuming Verilog 2001.
4397 (verilog-auto-ascii-enum): Add "auto enum" as alias.
4398 (verilog-preprocess): Fix replication of preprocess output.
4399 Reported by Brad Dobbie.
4400 (verilog-auto-inst-interfaced-ports):
4401 Create verilog-auto-inst-interfaced-ports, bug429.
4402 Reported by Julian Gorfajn.
4403 (verilog-after-save-font-hook)
4404 (verilog-before-save-font-hook): New variable.
4405 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
4406 (verilog-save-font-mods): Wrap disabling fontification, reported
4407 by David Rogoff.
4408 (verilog-do-indent, verilog-pretty-declarations-auto)
4409 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
4410 Reported by Pierre-David Pfister.
4411 (verilog-set-auto-endcomments): Fix endtask auto comments outside
4412 of class declarations, bug292. Reported by Kevin Heilman.
4413 (verilog-read-decls): Fix 'parameter type' not appearing in
4414 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
4415 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
4416 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
4417 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
4418 Reported by David Kravitz.
4419
4420 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
4421
4422 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
4423 assignment with tests in ifs and for loops.
4424 (verilog-extended-complete-re, verilog-complete-reg): Change so
4425 that DPI inport functions don't look like fuction declarations.
4426 (verilog-pretty-expr): Don't line up assignment
4427 operations to the test and increment in if and for loops
4428 (verilog-extended-complete-re, verilog-complete-reg): Change so
4429 that DPI inport functions don't look like fuction declarations.
4430
4431 2012-05-03 Kenichi Handa <handa@m17n.org>
4432
4433 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
4434 decoding, and show a warning message without signaling an error
4435 (Bug#11282).
4436
4437 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
4438
4439 * emacs-lisp/bytecomp.el
4440 (byte-compile-file-form-custom-declare-variable): Compile all elements,
4441 since cconv.el might have introduced :fun-body, internal-make-closure,
4442 and friends for bytecomp to handle (bug#11391).
4443 * custom.el (defcustom): Avoid ((λ ..) ..).
4444
4445 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
4446
4447 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
4448
4449 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
4450
4451 * notifications.el (dbus-debug):
4452 * term/linux.el (gpm-mouse-enable):
4453 * term/screen.el (xterm-register-default-colors): Declare.
4454
4455 2012-05-02 Chong Yidong <cyd@gnu.org>
4456
4457 * cus-start.el (gc-cons-percentage, exec-suffixes)
4458 (dos-display-scancodes, dos-hyper-key, dos-super-key)
4459 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
4460 (make-cursor-line-fully-visible, void-text-area-pointer)
4461 (font-list-limit): Add customization data.
4462
4463 * allout.el (allout-exposure-change-functions)
4464 (allout-structure-added-functions)
4465 (allout-structure-deleted-functions)
4466 (allout-structure-shifted-functions): Rename abnormal hooks from
4467 *-hook, and convert to defcustoms.
4468 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
4469 Convert to defcustoms.
4470 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
4471
4472 * allout-widgets.el: Hook callers changed.
4473
4474 2012-05-02 Eli Zaretskii <eliz@gnu.org>
4475
4476 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
4477 the yanked message in preference to the default value of
4478 buffer-file-coding-system.
4479
4480 2012-05-02 Martin Rudalics <rudalics@gmx.at>
4481
4482 * window.el (display-buffer--action-function-custom-type):
4483 Fix entry.
4484
4485 2012-05-02 Alan Mackenzie <acm@muc.de>
4486
4487 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
4488
4489 2012-05-01 Glenn Morris <rgm@gnu.org>
4490
4491 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
4492
4493 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
4494
4495 * cus-edit.el (custom-variable-documentation): Simplify with format.
4496
4497 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
4498 Stefan Monnier <monnier@iro.umontreal.ca>
4499
4500 * simple.el (suggest-key-bindings, execute-extended-command):
4501 Move from keyboard.c.
4502
4503 2012-05-01 Chong Yidong <cyd@gnu.org>
4504
4505 * follow.el: Eliminate advice.
4506 (set-process-filter, process-filter, sit-for): Advice deleted.
4507 (follow-mode-off-hook): Obsolete hook removed.
4508 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
4509 Vars deleted.
4510 (follow-auto): Use a :set function.
4511 (follow-mode): Rewritten. Don't advise process filters.
4512 (follow-switch-to-current-buffer-all, follow-scroll-up)
4513 (follow-scroll-down): Assume follow-mode is bound.
4514 (follow-comint-scroll-to-bottom)
4515 (follow-align-compilation-windows): New functions.
4516 (follow--window-sorter): New function.
4517 (follow-all-followers): Use it to explicitly sort windows by their
4518 positions; don't make assumptions about next-window order.
4519 (follow-windows-start-end, follow-delete-other-windows-and-split)
4520 (follow-calc-win-start): Doc fix.
4521 (follow-windows-aligned-p, follow-select-if-visible): Don't call
4522 vertical-motion unnecessarily.
4523 (follow-adjust-window): New function.
4524 (follow-post-command-hook): Use it.
4525 (follow-call-set-process-filter, follow-call-process-filter)
4526 (follow-intercept-process-output, follow-tidy-process-filter-alist)
4527 (follow-stop-intercept-process-output, follow-generic-filter):
4528 Functions deleted.
4529 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
4530 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
4531 New functions, replacing advice on scroll-bar-* commands.
4532 (follow-mwheel-scroll): New function (Bug#4112).
4533
4534 * comint.el (comint-adjust-point): New function.
4535 (comint-postoutput-scroll-to-bottom): Use it.
4536 Call follow-comint-scroll-to-bottom for Follow mode buffers.
4537
4538 2012-05-01 Glenn Morris <rgm@gnu.org>
4539
4540 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
4541 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
4542 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
4543 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
4544 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
4545 Remove no-byte-compile setting.
4546
4547 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
4548
4549 * minibuffer.el (completion-table-with-quoting): Fix compatibility
4550 all-completions code to not return a number in the last cdr.
4551
4552 2012-04-30 Leo Liu <sdl.web@gmail.com>
4553
4554 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
4555 read-only error.
4556
4557 2012-04-29 Chong Yidong <cyd@gnu.org>
4558
4559 * follow.el (follow-calc-win-end): Rewrite to handle partial
4560 screen lines correctly (Bug#8390).
4561 (follow-avoid-tail-recenter): Minor cleanup.
4562
4563 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
4564
4565 Avoid the obsolete `assoc' package.
4566 * speedbar.el (speedbar-refresh): Avoid adelete.
4567 (speedbar-file-lists): Simplify and avoid aput.
4568 * man.el (Man--sections, Man--refpages): New vars, replacing
4569 Man-sections-alist and Man-refpages-alist.
4570 (Man-build-section-alist, Man-build-references-alist):
4571 Use them; avoid aput.
4572 (Man--last-section, Man--last-refpage): New vars.
4573 (Man-follow-manual-reference): Use them.
4574 Use the `default' arg of completing-read.
4575 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
4576
4577 2012-04-27 Chong Yidong <cyd@gnu.org>
4578
4579 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
4580
4581 * startup.el (x-apply-session-resources): New function.
4582
4583 * term/ns-win.el (ns-initialize-window-system):
4584 * term/w32-win.el (w32-initialize-window-system):
4585 * term/x-win.el (x-initialize-window-system): Use it to properly
4586 set menu-bar-mode and other vars from X resources, even if the
4587 initial frame is not a window-system frame (Bug#2299).
4588
4589 * subr.el (read-key): Avoid running filter function when setting
4590 up temporary tool bar entries (Bug#9922).
4591
4592 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
4593
4594 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
4595 (Bug#11344)
4596
4597 2012-04-27 Chong Yidong <cyd@gnu.org>
4598
4599 * select.el (xselect--encode-string): New function, split from
4600 xselect-convert-to-string.
4601 (xselect-convert-to-string): Use it.
4602 (xselect-convert-to-filename, xselect-convert-to-os)
4603 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
4604 returned strings are properly encoded (Bug#11315).
4605
4606 2012-04-27 Chong Yidong <cyd@gnu.org>
4607
4608 * simple.el (delete-active-region): Move to killing custom group.
4609
4610 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
4611
4612 * progmodes/which-func.el (which-func-current): Quote %
4613 characters for mode-line processing.
4614
4615 2012-04-27 Chong Yidong <cyd@gnu.org>
4616
4617 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
4618 reaching eob (Bug#11286).
4619
4620 2012-04-27 Eli Zaretskii <eliz@gnu.org>
4621
4622 * progmodes/gdb-mi.el (gdb-control-level): New variable.
4623 (gdb): Make it buffer-local and init to zero.
4624 (gdb-control-commands-regexp): New variable.
4625 (gdb-send): Don't wrap in "-interpreter-exec console" if
4626 gdb-control-level is positive. Increment gdb-control-level
4627 whenever the command matches gdb-control-commands-regexp, and
4628 decrement it each time the command is "end". (Bug#11279)
4629
4630 2012-04-27 Martin Rudalics <rudalics@gmx.at>
4631
4632 * window.el (adjust-window-trailing-edge, enlarge-window)
4633 (shrink-window, window-resize):
4634 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
4635 windows (Bug#11276).
4636
4637 2012-04-27 Chong Yidong <cyd@gnu.org>
4638
4639 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
4640 fix "missing prefix" warning. All callers changed.
4641
4642 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
4643
4644 * emacs-lisp/assoc.el: Move to obsolete/.
4645
4646 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
4647
4648 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
4649
4650 * term/ns-win.el (ns-define-service):
4651 * progmodes/pascal.el (pascal-goto-defun):
4652 * progmodes/js.el (js--read-tab):
4653 * progmodes/etags.el (tags-lazy-completion-table):
4654 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
4655 * emacs-lisp/ewoc.el (ewoc--wrap):
4656 * emacs-lisp/assoc.el (aput, adelete, amake):
4657 * doc-view.el (doc-view-convert-current-doc):
4658 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
4659
4660 2012-04-26 Chong Yidong <cyd@gnu.org>
4661
4662 * image.el (image-type-from-buffer): Only return supported image
4663 type (Bug#9045).
4664
4665 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
4666 value, for symmetry with diff-end-of-hunk.
4667 (diff-split-hunk, diff-find-source-location)
4668 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
4669 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
4670 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
4671 compute the relevant hunk or file properly (Bug#6005).
4672 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
4673
4674 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
4675
4676 * vc/vc-mtn.el:
4677 * vc/vc-hg.el:
4678 * vc/vc-git.el:
4679 * vc/vc-dir.el:
4680 * vc/vc-cvs.el:
4681 * vc/vc-bzr.el:
4682 * vc/vc-arch.el:
4683 * vc/vc.el: Replace lexical-let by lexical-binding.
4684 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
4685 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
4686 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
4687
4688 2012-04-26 Chong Yidong <cyd@gnu.org>
4689
4690 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
4691 (diff-mode-shared-map): Bind it to / and [remap undo].
4692
4693 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
4694 (ediff-window-setup-function): Use it as the default, to set up
4695 windows based on whether the current frame is graphical (Bug#2138).
4696 (ediff-choose-window-setup-function-automatically): Make obsolete.
4697
4698 * vc/ediff-init.el: Always define ediff-pixel-width/height.
4699
4700 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
4701
4702 * ffap.el: Remove old code for obsolete package.
4703 (ffap-complete-as-file-p): Remove.
4704
4705 Use completion-table-with-quoting for comint and pcomplete.
4706 * comint.el (comint--unquote&requote-argument)
4707 (comint--unquote-argument, comint--requote-argument): New functions.
4708 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
4709 (comint-quote-filename): Use regexp-opt-charset.
4710 (comint--common-suffix, comint--common-quoted-suffix)
4711 (comint--table-subvert): Remove.
4712 (comint-unquote-function, comint-requote-function): New vars.
4713 (comint--complete-file-name-data): Use them with
4714 completion-table-with-quoting.
4715 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
4716 * pcomplete.el (pcomplete-arg-quote-list)
4717 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
4718 (pcomplete-unquote-argument-function): Default to non-nil.
4719 (pcomplete-unquote-argument): Simplify.
4720 (pcomplete--common-quoted-suffix): Remove.
4721 (pcomplete-requote-argument-function): New var.
4722 (pcomplete--common-suffix): New function.
4723 (pcomplete-completions-at-point): Use completion-table-with-quoting
4724 and completion-table-subvert.
4725
4726 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
4727 (minibuffer--double-dollars): Preserve properties.
4728 (completion--sifn-requote): New function.
4729 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
4730
4731 * minibuffer.el: Add support for completion of quoted/escaped data.
4732 (completion-table-with-quoting, completion-table-subvert): New funs.
4733 (completion--twq-try, completion--twq-all): New functions.
4734 (completion--nth-completion): New function.
4735 (completion-try-completion, completion-all-completions): Use it.
4736
4737 2012-04-25 Leo Liu <sdl.web@gmail.com>
4738
4739 * progmodes/python.el (python-pdbtrack-get-source-buffer):
4740 Use compilation-message if available to find real filename.
4741
4742 2012-04-25 Chong Yidong <cyd@gnu.org>
4743
4744 * vc/diff-mode.el (diff-setup-whitespace): New function.
4745 (diff-mode): Use it.
4746
4747 * vc/diff.el (diff-sentinel):
4748 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
4749 Whitespace mode variables based on diff style (Bug#8612).
4750
4751 2012-04-25 Leo Liu <sdl.web@gmail.com>
4752
4753 * progmodes/python.el (python-send-region): Add suffix .py to the
4754 temp file.
4755
4756 * files.el (auto-mode-alist): Use javascript-mode instead.
4757
4758 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
4759
4760 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
4761
4762 * net/soap-client.el (soap-resolve-references-for-sequence-type)
4763 (soap-resolve-references-for-array-type): Hack to prevent self
4764 references, see Bug#9.
4765 (soap-parse-envelope): Report the contents of the 'detail' node
4766 when receiving a fault reply.
4767 (soap-parse-envelope): Report the contents of the entire 'detail' node.
4768
4769 * net/soap-inspect.el (soap-sample-value-for-simple-type)
4770 (soap-inspect-simple-type): New function.
4771
4772 * net/soap-client.el (soap-simple-type): New struct.
4773 (soap-default-xsd-types, soap-default-soapenc-types)
4774 (soap-decode-basic-type, soap-encode-basic-type):
4775 support unsignedInt and double basic types.
4776 (soap-resolve-references-for-simple-type)
4777 (soap-parse-simple-type, soap-encode-simple-type): New function.
4778 (soap-parse-schema): Parse xsd:simpleType declarations.
4779
4780 * net/soap-client.el (soap-default-xsd-types)
4781 (soap-default-soapenc-types): Add integer, byte and anyURI types.
4782 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
4783 the local name of "soapenc:Array".
4784 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
4785 decoding integer, byte and anyURI xsd types.
4786
4787 2012-04-25 Chong Yidong <cyd@gnu.org>
4788
4789 * cus-edit.el (custom-buffer-create-internal): Update header text.
4790
4791 2012-04-25 Eli Zaretskii <eliz@gnu.org>
4792
4793 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
4794 settings on 'system-type', not on 'window-system'. On MS-Windows,
4795 set interactive-mode on in GDB.
4796
4797 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
4798
4799 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
4800 (ruby-syntax-propertize-regexp): Remove.
4801 (ruby-syntax-propertize-function): Split regexp into chunks.
4802 Match following code directly.
4803
4804 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
4805
4806 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
4807 (ruby-syntax-propertize-regexp): New function.
4808 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
4809 by a special keyword.
4810
4811 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
4812 (ruby-syntax-general-delimiters-goto-beg)
4813 (ruby-syntax-propertize-general-delimiters): New functions.
4814 (ruby-syntax-propertize-function): Use them to handle GDL.
4815 (ruby-font-lock-keywords): Move old handling of GDL...
4816 (ruby-font-lock-syntactic-keywords): .. to here.
4817 (ruby-calculate-indent): Adjust indentation for GDL.
4818
4819 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
4820
4821 * notifications.el (top): Remove unneeded declarations.
4822 (notifications-specification-version): Change to "1.2".
4823 (notifications-interface, notifications-notify-method)
4824 (notifications-close-notification-method): Fix docstring.
4825 (notifications-get-capabilities-method): New defconst.
4826 (notifications-notify): Add :action-items, :resident and
4827 :transient hints. Change "image_data" to "image-data" and
4828 "image_path" to "image-path".
4829 (notifications-get-capabilities): New defun.
4830
4831 2012-04-24 Leo Liu <sdl.web@gmail.com>
4832
4833 * progmodes/python.el: Move hideshow setup to the end.
4834
4835 2012-04-24 Martin Rudalics <rudalics@gmx.at>
4836
4837 * window.el (handle-select-window): Clear echo area since this is
4838 no more done by read_char (Bug#11304).
4839
4840 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
4841
4842 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
4843 and `/ M' to filter-derived-mode.
4844 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
4845 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
4846 (ibuffer-mark-by-mode): Use default rather than initial-input.
4847 (ibuffer-filter-by-derived-mode): Autoload and require-match.
4848
4849 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
4850
4851 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
4852 (ibuffer-filter-by-derived-mode): New filter.
4853 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
4854
4855 2012-04-23 Andreas Politz <politza@fh-trier.de>
4856
4857 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
4858
4859 2012-04-23 Chong Yidong <cyd@gnu.org>
4860
4861 * cus-edit.el (customize-apropos, customize-apropos-options):
4862 Disable matching of non-option variables (Bug#11176).
4863 (customize-option, customize-option-other-window)
4864 (customize-changed-options): Doc fix.
4865 (customize-apropos-options, customize-apropos-faces)
4866 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
4867
4868 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
4869 Fix word list splitting (Bug#11132).
4870 (apropos-symbol, apropos-keybinding, apropos-label)
4871 (apropos-property, apropos-function-button)
4872 (apropos-variable-button, apropos-misc-button): New faces.
4873 (apropos-symbol-face, apropos-keybinding-face)
4874 (apropos-label-face, apropos-property-face, apropos-match-face):
4875 Variables removed (Bug#8396).
4876 (apropos-library-button, apropos-format-plist, apropos-print)
4877 (apropos-print-doc, apropos-describe-plist): Callers changed.
4878
4879 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
4880
4881 * net/xesam.el (xesam-mode-map): Use let-bound map in
4882 initialization. (Bug#11292)
4883
4884 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4885
4886 Preserve ispell session localwords when switching back to
4887 original buffer.
4888
4889 * textmodes/ispell.el (ispell-buffer-session-localwords):
4890 New buffer-local variable to hold buffer session localwords.
4891 (ispell-kill-ispell): Add option 'clear to delete session
4892 localwords.
4893 (ispell-command-loop, ispell-change-dictionary)
4894 (ispell-buffer-local-words): Preserve session localwords when
4895 needed.
4896
4897 * textmodes/flyspell.el (flyspell-process-localwords)
4898 (flyspell-do-correct): Preserve session localwords when needed.
4899
4900 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4901
4902 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
4903 using obsolete `translation-table-for-input'.
4904 (ispell-word, ispell-process-line, ispell-complete-word):
4905 Use plain `insert' instead of removed `ispell-insert-word'.
4906
4907 2012-04-22 Chong Yidong <cyd@gnu.org>
4908
4909 * cus-edit.el (custom-variable-menu)
4910 (custom-variable-reset-saved, custom-face-menu)
4911 (custom-face-reset-saved): If there is no saved value, make the
4912 "reset-saved" operation bring back the default (Bug#9509).
4913 (custom-face-state): Properly detect themed faces.
4914
4915 * faces.el (face-spec-set): Stop supporting deprecated form of
4916 third arg.
4917
4918 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
4919
4920 Move functions from C to Lisp. Make non-blocking method calls
4921 the default. Implement further D-Bus standard interfaces.
4922
4923 * net/dbus.el (dbus-message-internal): Declare function.
4924 Remove unneeded function declarations.
4925 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
4926 (dbus-message-type-method-return, dbus-message-type-error)
4927 (dbus-message-type-signal): Declare variables. Remove local
4928 definitions.
4929 (dbus-interface-dbus, dbus-interface-peer)
4930 (dbus-interface-introspectable, dbus-interface-properties)
4931 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
4932 Adapt docstring.
4933 (dbus-interface-objectmanager): New defconst.
4934 (dbus-call-method, dbus-call-method-asynchronously)
4935 (dbus-send-signal, dbus-method-return-internal)
4936 (dbus-method-error-internal, dbus-register-service)
4937 (dbus-register-signal, dbus-register-method): New defuns, moved
4938 from dbusbind.c
4939 (dbus-call-method-handler, dbus-setenv)
4940 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
4941 New defuns.
4942 (dbus-call-method-non-blocking): Make it an obsolete function.
4943 (dbus-unregister-object, dbus-unregister-service)
4944 (dbus-handle-event, dbus-register-property)
4945 (dbus-property-handler): Obey the new structure of
4946 `bus-registered-objects'.
4947 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
4948 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
4949 Use `dbus-call-method'.
4950
4951 2012-04-22 Chong Yidong <cyd@gnu.org>
4952
4953 * cus-edit.el (custom-commands, custom-reset-menu)
4954 (Custom-reset-standard): Tweak labels.
4955 (custom-reset-button-menu): Change default to t.
4956 (custom-buffer-create-internal): For the custom-reset-button-menu
4957 case, put the revert button first.
4958 (custom-group-subtitle): New face.
4959 (custom-group-value-create): Align docstring to a specific column.
4960
4961 * wid-edit.el (widget-documentation-link-add): Don't handle
4962 indentation in this function.
4963 (widget-documentation-string-indent-to): New function.
4964 (widget-documentation-string-value-create): Use it.
4965
4966 * autorevert.el (auto-revert):
4967 * epg-config.el (epg):
4968 * ibuffer.el (ibuffer):
4969 * mpc.el (mpc):
4970 * ses.el (ses):
4971 * eshell/eshell.el (eshell):
4972 * net/ange-ftp.el (ange-ftp):
4973 * progmodes/ebnf2ps.el (postscript):
4974 * progmodes/flymake.el (flymake):
4975 * progmodes/prolog.el (prolog):
4976 * progmodes/verilog-mode.el (verilog-mode):
4977 * progmodes/which-func.el (which-func):
4978 * term/xterm.el (xterm):
4979 * textmodes/picture.el (picture):
4980 * textmodes/tildify.el (tildify):
4981 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
4982 customization buffers.
4983
4984 2012-04-22 Alan Mackenzie <acm@muc.de>
4985
4986 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
4987 Adding a ) can hide the resulting (..) from searches. Fix it.
4988 Bound the backward search to the position of the existing (.
4989
4990 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
4991
4992 * progmodes/verilog-mode.el (verilog-mode): Check whether
4993 which-func-modes is t before adding verilog-mode.
4994 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
4995
4996 2012-04-21 Leo Liu <sdl.web@gmail.com>
4997
4998 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
4999
5000 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
5001
5002 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
5003 filling of the last column of a table (Bug#5635).
5004 (woman-find-next-control-line): New arg, specifying an additional
5005 regexp component for the control line.
5006 (woman2-roff-buffer): Use it.
5007 (woman-break-table): New function.
5008 (woman2-TS): Use it.
5009
5010 2012-04-21 Chong Yidong <cyd@gnu.org>
5011
5012 * woman.el (woman-set-buffer-display-table, woman-decode-region)
5013 (woman-horizontal-escapes, woman-negative-vertical-space)
5014 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
5015 (WoMan-warn-ignored): Use ?\s instead of ?\ .
5016
5017 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
5018
5019 * minibuffer.el (completion-file-name-table): Complete user names.
5020
5021 2012-04-20 Leo Liu <sdl.web@gmail.com>
5022
5023 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
5024 and pcase-let*.
5025
5026 2012-04-20 Chong Yidong <cyd@gnu.org>
5027
5028 * server.el (server-execute): Respect initial-buffer-choice if it
5029 is a string and there are no files to open (Bug#2825).
5030 (server-create-window-system-frame, server-create-tty-frame):
5031 Don't switch buffers here.
5032 (server-process-filter): Only try to open a window system frame if
5033 compiled with graphical support (Bug#8314).
5034
5035 2012-04-20 Dan Nicolaescu <dann@gnu.org>
5036
5037 * battery.el (battery-echo-area-format): Display remaining time
5038 for sysfs backend too (Bug#11269).
5039 (battery-linux-sysfs): Fix conditional for the charge.
5040
5041 2012-04-20 Chong Yidong <cyd@gnu.org>
5042
5043 * progmodes/gdb-mi.el (gdb): Revert previous change.
5044 (gdb-inferior-io--init-proc): New function.
5045 (gdb-init-1): Use it.
5046 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
5047 responsible for allocating a new pty and hooking it to gdb when
5048 the old pty gets an EIO due to process exit.
5049 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
5050 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
5051 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
5052
5053 2012-04-20 Eli Zaretskii <eliz@gnu.org>
5054
5055 * window.el (window-min-size, window-sizable, window-min-delta)
5056 (window-max-delta, window--resizable, window-resizable)
5057 (window-total-size, window-full-height-p, window-full-width-p)
5058 (window-in-direction, window--resize-mini-window, window-resize)
5059 (window--resize-child-windows-normal)
5060 (window--resize-child-windows, window--resize-siblings)
5061 (window--resize-this-window, adjust-window-trailing-edge)
5062 (enlarge-window, shrink-window): Doc fixes.
5063
5064 2012-04-20 Chong Yidong <cyd@gnu.org>
5065
5066 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
5067 New function to call delete-process on the gdb-inferior buffer's pty.
5068 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
5069 pty process (Bug#11273).
5070 (gdb-update): New arg to suppress talking to the gdb process.
5071 (gdb-done-or-error): Use it.
5072 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
5073 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
5074 sentinel not being called.
5075
5076 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
5077
5078 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
5079
5080 2012-04-20 Glenn Morris <rgm@gnu.org>
5081
5082 * net/network-stream.el (open-network-stream): Doc fix.
5083
5084 2012-04-20 Chong Yidong <cyd@gnu.org>
5085
5086 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
5087
5088 2012-04-20 Alan Mackenzie <acm@muc.de>
5089
5090 Ensure searching for keywords is case sensitive.
5091
5092 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
5093 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
5094 (c-defun-name, c-mark-function, c-cpp-define-name)
5095 (c-comment-indent, c-scan-conditionals, c-indent-defun)
5096 (c-context-line-break): Bind case-fold-search to nil.
5097
5098 * progmodes/cc-mode.el (c-font-lock-fontify-region):
5099 Bind case-fold-search to nil.
5100
5101 2012-04-20 Chong Yidong <cyd@gnu.org>
5102
5103 * mail/sendmail.el (mail-bury): Call return action with the right
5104 Rmail buffer (Bug#11242).
5105
5106 * server.el (server-process-filter): Handle corner case where both
5107 tty and nowait options are present (Bug#11102).
5108
5109 2012-04-20 Eli Zaretskii <eliz@gnu.org>
5110
5111 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
5112 (top level): Put into the executable the ident-style '$Id:' tag on
5113 windows-nt as well.
5114
5115 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
5116
5117 * electric.el (electric-indent-post-self-insert-function): Check that
5118 electric-indent-mode is enabled in current buffer.
5119
5120 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
5121
5122 * imenu.el (imenu-progress-message): Restore; it is "used" in
5123 erc/erc-imenu.el and net/snmp-mode.el.
5124
5125 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
5126
5127 * avoid.el (mouse-avoidance-mode): Mark unused arg.
5128 (mouse-avoidance-nudge-mouse): Remove unused binding.
5129
5130 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
5131
5132 * descr-text.el (describe-char):
5133 * progmodes/python.el (python-describe-symbol):
5134 Don't call `toggle-read-only', set `buffer-read-only'.
5135
5136 * imenu.el (imenu-default-goto-function): Mark unused args.
5137 (imenu-progress-message): Remove obsolete macro; all callers changed.
5138
5139 * subr.el (keymap-canonicalize): Remove unused binding.
5140 (read-passwd): Mark unused arg.
5141
5142 * tutorial.el (tutorial--display-changes): Remove unused binding.
5143 (tutorial--save-tutorial-to): Remove unused variable.
5144
5145 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
5146 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
5147 (package-generate-autoloads, package-menu--generate)
5148 (package-menu--find-upgrades): Remove unused bindings.
5149
5150 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
5151 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
5152 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
5153 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
5154 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
5155 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
5156 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
5157 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
5158 (cua-delete-char-rectangle): Mark unused args.
5159 (cua-align-rectangle): Remove unused binding.
5160
5161 * mail/rmail.el (compilation--message->loc)
5162 (epa--find-coding-system-for-mime-charset): Declare.
5163
5164 * net/dbus.el (dbus-register-service): Declare.
5165 (dbus-name-owner-changed-handler): Remove unused binding.
5166
5167 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
5168 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
5169 (nxml-scan-backward-within): Mark unused arg.
5170 (nxml-dynamic-markup-word): Remove unused binding.
5171
5172 * mouse.el (mouse-menu-major-mode-map):
5173 * emacs-lisp/authors.el (authors-scan-change-log)
5174 (authors-add-to-author-list):
5175 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
5176 * emacs-lisp/smie.el (smie-auto-fill):
5177 * mail/sendmail.el (mail-bury):
5178 * mail/unrmail.el (unrmail):
5179 * net/tls.el (open-tls-stream):
5180 * textmodes/picture.el (picture-mouse-set-point):
5181 Remove unused bindings.
5182
5183 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
5184
5185 * net/tramp.el (tramp-action-password): Let-bind
5186 `enable-recursive-minibuffers' to t.
5187
5188 2012-04-18 Sam Steingold <sds@gnu.org>
5189
5190 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
5191 instead of 'string to accommodate values like [f11].
5192 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
5193 * progmodes/gdb-mi.el: Likewise.
5194
5195 2012-04-18 Leo Liu <sdl.web@gmail.com>
5196
5197 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
5198 current buffer.
5199 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
5200 LOCAL is nil.
5201
5202 2012-04-18 Chong Yidong <cyd@gnu.org>
5203
5204 * simple.el (line-move): Use forward-line if in batch mode
5205 (Bug#11053).
5206
5207 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
5208
5209 * files.el (after-find-file): Do not try to add a final newline if
5210 the buffer is read-only (Bug#11156).
5211
5212 2012-04-17 Richard Stallman <rms@gnu.org>
5213
5214 * mail/rmail.el (rmail-start-mail):
5215 Pass (rmail-mail-return...) for the return-action.
5216 Pass (rmail-yank-current-message...) for the yank-action.
5217 (rmail-yank-current-message): New function.
5218 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
5219 (rmail-reply): Likewise.
5220 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
5221
5222 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
5223 buffer, not the last. Reject temp buffers. Use the rmail-mode
5224 buffer, not newbuf.
5225
5226 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
5227
5228 * server.el (server-ensure-safe-dir): Simplify.
5229
5230 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
5231
5232 * emacs-lisp/smie.el: Provide smarter auto-filling.
5233 (smie-auto-fill): New function.
5234 (smie-setup): Use it.
5235
5236 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
5237
5238 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
5239
5240 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
5241 (comment-indent): Use it.
5242
5243 2012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
5244
5245 * ses.el: The overall change is to add cell renaming, that is
5246 setting fancy names for cell symbols other than name matching
5247 "\\`[A-Z]+[0-9]+\\'" regexp .
5248 (ses-localvars): Add ses--renamed-cell-symb-list.
5249 (ses-create-cell-variable): New defun.
5250 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
5251 (ses-relocate-formula): Relocate formulas only for cells the
5252 symbols of which are not renamed, i.e. symbols whose names do not
5253 match regexp "\\`[A-Z]+[0-9]+\\'".
5254 (ses-relocate-all): Relocate values only for cells the symbols of
5255 which are not renamed.
5256 (ses-load): Create cells variables as the (ses-cell ...) are read,
5257 in order to check row col consistency with cell symbol name only
5258 for cells that are not renamed.
5259 (ses-replace-name-in-formula): New defun.
5260 (ses-rename-cell): New defun.
5261
5262 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
5263
5264 * progmodes/perl-mode.el (perl-indent-parens-as-block):
5265 New option (bug#11118).
5266 (perl-calculate-indent): Respect it.
5267
5268 2012-04-17 Glenn Morris <rgm@gnu.org>
5269
5270 * dired-aux.el (dired-mark-read-string): Doc fix.
5271
5272 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
5273
5274 * dired-aux.el (dired-mark-read-string): Offer optional completion.
5275 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
5276
5277 2012-04-17 Glenn Morris <rgm@gnu.org>
5278
5279 * mouse.el (mouse-drag-track):
5280 * speedbar.el (speedbar-frame-mode):
5281 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
5282
5283 2012-04-16 Leo Liu <sdl.web@gmail.com>
5284
5285 * progmodes/python.el: Trivial cleanup.
5286
5287 2012-04-16 Glenn Morris <rgm@gnu.org>
5288
5289 * vc/vc.el (vc-string-prefix-p):
5290 * vc/pcvs-util.el (cvs-string-prefix-p):
5291 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
5292 * mpc.el (mpc-string-prefix-p):
5293 Make all of these into obsolete aliases for string-prefix-p.
5294 Update callers.
5295 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
5296
5297 * textmodes/two-column.el: Move custom options to the start.
5298 (frame-width): Remove compat definition.
5299 (2C-associate-buffer, 2C-dissociate):
5300 Use with-current-buffer rather than save-excursion.
5301 (2C-dissociate): Force a mode-line update.
5302 (2C-autoscroll): Use ignore-errors.
5303
5304 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
5305 Autoload trivia.
5306
5307 * emacs-lisp/cl-extra.el (*random-state*):
5308 Remove unnecessary declaration.
5309
5310 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
5311
5312 * play/cookie1.el (cookie-snarf):
5313 Give an explicit error if input file cannot be read.
5314
5315 * play/yow.el (yow-file): Use expand-file-name rather than concat.
5316
5317 * progmodes/perl-mode.el (c-macro-expand):
5318 Remove unnecessary autoload (it is in loaddefs.el).
5319
5320 * textmodes/picture.el (picture-desired-column)
5321 (picture-update-desired-column): Convert comments to doc-strings.
5322 (picture-substitute): Remove function.
5323 (picture-mode-map): Initialize in the defvar.
5324
5325 * woman.el: Remove eval-after-load for tar-mode.
5326 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
5327 (woman-tar-extract-file): Autoload it.
5328
5329 * frame.el (automatic-hscrolling): Make this alias obsolete.
5330
5331 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5332
5333 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
5334 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
5335 (ispell-dictionary-base-alist): Revert to original XEmacs
5336 friendly version for default. [:alpha:] will be added in
5337 `ispell-set-spellchecker-params' if needed.
5338
5339 2012-04-16 Chong Yidong <cyd@gnu.org>
5340
5341 * image.el (imagemagick--file-regexp): New variable.
5342 (imagemagick-register-types): Use it.
5343 (imagemagick-types-inhibit): Add :set function. Allow new value
5344 of t to inhibit all types.
5345
5346 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
5347 so we can preload it.
5348
5349 * loadup.el (fboundp): Preload regexp-opt, needed by
5350 imagemagick-register-types.
5351
5352 2012-04-15 Chong Yidong <cyd@gnu.org>
5353
5354 * frame.el (scrolling): Remove nearly unused customization group.
5355
5356 * scroll-all.el (scroll-all-mode): Move to windows group.
5357
5358 2012-04-15 Chong Yidong <cyd@gnu.org>
5359
5360 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
5361
5362 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
5363
5364 Avoid the use of ((lambda ...) ...) in lexical-binding code.
5365 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
5366
5367 2012-04-15 Glenn Morris <rgm@gnu.org>
5368
5369 * simple.el (process-file-side-effects): Doc fix.
5370
5371 2012-04-15 Glenn Morris <rgm@gnu.org>
5372
5373 * international/mule-cmds.el (set-language-environment): Doc fix.
5374
5375 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
5376
5377 * server.el (server-auth-key, server-generate-key): Doc fixes.
5378 (server-get-auth-key): Doc fix. Use `string-match-p'.
5379 (server-start): Reflow docstring.
5380
5381 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
5382
5383 * server.el (server-generate-key): `called-interactively-p'
5384 requires a parameter.
5385
5386 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
5387
5388 * server.el (server-auth-key): New variable.
5389 (server-generate-key, server-get-auth-key): New function.
5390 (server-start): Use the new variable and functions to allow
5391 setting a permanent server key (bug#9423).
5392
5393 2012-04-14 Leo Liu <sdl.web@gmail.com>
5394
5395 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
5396
5397 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
5398
5399 Spelling fixes.
5400 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
5401 Emacs uses American spelling.
5402
5403 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
5404
5405 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
5406 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
5407 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
5408 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
5409
5410 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
5411
5412 * progmodes/which-func.el (which-func-modes): Change default.
5413
5414 2012-04-14 Kim F. Storm <storm@cua.dk>
5415
5416 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
5417 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
5418
5419 2012-04-14 Chong Yidong <cyd@gnu.org>
5420
5421 * custom.el (custom-theme-set-variables): Doc fix.
5422
5423 2012-04-14 Glenn Morris <rgm@gnu.org>
5424
5425 * international/mule.el (set-auto-coding-for-load): Doc fix.
5426
5427 2012-04-14 Alan Mackenzie <acm@muc.de>
5428
5429 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
5430 imenu work again for Objective C Mode. Correct the *-index values,
5431 these having been disturbed by a previous change in 2011-08.
5432
5433 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
5434 Correct two search limits.
5435
5436 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
5437
5438 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
5439
5440 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
5441
5442 * international/characters.el: Fix sorting.
5443
5444 2012-04-14 Eli Zaretskii <eliz@gnu.org>
5445
5446 * international/characters.el: Add more missing Latin case pairs.
5447
5448 2012-04-14 Glenn Morris <rgm@gnu.org>
5449
5450 * files.el (dir-locals-set-class-variables): Doc fix.
5451
5452 2012-04-14 Eli Zaretskii <eliz@gnu.org>
5453
5454 * international/characters.el: Add set-case-syntax-pair call for
5455 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
5456 counterpart. (Bug#11209)
5457
5458 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
5459
5460 2012-04-14 Glenn Morris <rgm@gnu.org>
5461
5462 * calendar/holidays.el (calendar-check-holidays): Doc fix.
5463
5464 2012-04-14 Eli Zaretskii <eliz@gnu.org>
5465
5466 * textmodes/ispell.el (ispell-dictionary-base-alist):
5467 Add data for Hebrew.
5468
5469 2012-04-14 Chong Yidong <cyd@gnu.org>
5470
5471 * net/rcirc.el (rcirc-cmd-quit):
5472 Revert 2012-03-18 change (Bug#11192).
5473
5474 2012-04-14 Glenn Morris <rgm@gnu.org>
5475
5476 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
5477
5478 2012-04-14 Eli Zaretskii <eliz@gnu.org>
5479
5480 * minibuffer.el (completion-in-region-mode-map):
5481 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
5482
5483 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
5484
5485 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
5486
5487 2012-04-13 Masatake YAMATO <yamato@redhat.com>
5488
5489 * minibuffer.el (minibuffer-local-filename-syntax): New variable
5490 to allow `C-M-f' and `C-M-b' to move to the nearest path
5491 separator (bug#9511).
5492
5493 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
5494
5495 * avoid.el: Require cl when compiling. And also move the
5496 `provide' to the end.
5497
5498 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5499
5500 * avoid.el (mouse-avoidance-banish-position): New variable.
5501 (mouse-avoidance-banish-destination): Use it (bug#10165).
5502
5503 2012-04-13 Leo Liu <sdl.web@gmail.com>
5504
5505 * progmodes/which-func.el (which-func-modes): Add objc-mode.
5506
5507 2012-04-13 Ken Brown <kbrown@cornell.edu>
5508
5509 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
5510 this is no longer needed now that cygstart understands file:// URLs.
5511 (browse-url-filename-alist): For the same reason, don't modify
5512 file:// URLs on Cygwin.
5513
5514 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
5515
5516 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
5517 the region on shift if the binding is already shifted (bug#11221).
5518
5519 2012-04-12 Glenn Morris <rgm@gnu.org>
5520
5521 * mail/mailpost.el: Move to obsolete/.
5522
5523 2012-04-12 Drew Adams <drew.adams@oracle.com>
5524
5525 * imenu.el (imenu--generic-function): Ignore invisible definitions
5526 (bug#10123).
5527
5528 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
5529
5530 * hexl.el (hexl-bits): New variable.
5531 (hexl-options): Mention the variable in the doc string.
5532 (hexl-rulerise, hexl-line-displen): New functions.
5533 (hexl-mode): Mention the new variable.
5534 (hexl-mode, hexl-current-address, hexl-current-address):
5535 Use the displen.
5536 (hexl-ascii-start-column): New function.
5537 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
5538 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
5539
5540 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5541
5542 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
5543 '("-i" ENCODING), in 2 separate command-line arguments, to specify
5544 the encoding, as expected by hunspell.
5545
5546 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
5547
5548 * battery.el (battery--linux-sysfs-regexp): New const.
5549 (battery-status-function): Use it. Remove yeeloong special case.
5550 (battery-yeeloong-sysfs): Remove.
5551 (battery-echo-area-format): Remove yeeloong special case.
5552
5553 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
5554
5555 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
5556 Reported by Noah Friedman.
5557
5558 * subr.el (read-passwd): Use read-string.
5559
5560 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
5561
5562 * vcursor.el (vcursor-move): Increase the priority of the overlay
5563 (bug#9663).
5564
5565 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
5566
5567 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
5568 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
5569
5570 2012-04-11 William Stevenson <yhvh2000@gmail.com>
5571
5572 * textmodes/artist.el (artist-mode): Convert artist-mode to use
5573 define-minor-mode (bug#10760).
5574
5575 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
5576
5577 * progmodes/grep.el (rgrep): Tweak the find command line so
5578 that directories matching `grep-find-ignored-files' won't be
5579 pruned (bug#10351).
5580
5581 2012-04-11 Chong Yidong <cyd@gnu.org>
5582
5583 * startup.el (command-line): Remove support for long-obsolete
5584 variable font-lock-face-attributes.
5585
5586 2012-04-11 Glenn Morris <rgm@gnu.org>
5587
5588 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
5589
5590 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
5591
5592 * window.el (window--state-get-1): Obey window-point-insertion-type.
5593
5594 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
5595
5596 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
5597 to previous function when point is on the first character of a
5598 function. Take care of that in `narrow-to-defun' (bug#6157).
5599
5600 2012-04-11 Glenn Morris <rgm@gnu.org>
5601
5602 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
5603 not just file-errors.
5604
5605 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
5606 (vc-bzr-sha1): Use internal sha1.
5607
5608 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
5609
5610 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
5611
5612 2012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
5613
5614 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
5615 that start in the middle of the line (bug#10496).
5616
5617 2012-04-10 Dan Nicolaescu <dann@gnu.org>
5618
5619 * battery.el (battery-linux-proc-acpi): Only one battery is
5620 discharged at a time, but that seems to confuse battery.el when
5621 computing `rate-type' for the battery not being discharged
5622 (bug#10332).
5623
5624 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
5625
5626 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
5627
5628 * international/quail.el: Use dolist and simplify.
5629 (quail-define-package, quail-update-keyboard-layout)
5630 (quail-define-rules): Use dolist.
5631 (quail-insert-kbd-layout, quail-get-translation): CSE.
5632
5633 * tmm.el: Use dolist, remove left over hook.
5634 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
5635 Use dolist.
5636 (calendar-load-hook): Don't mess with it.
5637
5638 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
5639 Use derived-mode-p. Run the diff asynchronously.
5640
5641 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
5642
5643 * obsolete/mouse-sel.el: Add an Obsolete-since header.
5644
5645 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
5646
5647 * misc.el: Display absolute path of loaded DLLs (bug#10424).
5648 (list-dynamic-libraries--loaded): New function.
5649 (list-dynamic-libraries--refresh): Use it.
5650
5651 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
5652
5653 * progmodes/python.el (python-fill-paragraph):
5654 Make python-fill-region in a multiline string work when font-lock is
5655 disabled (bug#7018).
5656
5657 2012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
5658
5659 * language/european.el (cp775): Add oem/legacy (en)coding on
5660 DOS/MS Windows for the Baltic languages. There are still plenty
5661 of texts written in this encoding/codepage (bug#6519).
5662
5663 2012-04-10 Glenn Morris <rgm@gnu.org>
5664
5665 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
5666 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
5667
5668 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
5669
5670 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
5671 next-line "n" and previous-line "p" in order to make recentf more
5672 consistent with ibuffer, dired or org-mode (bug#9387).
5673
5674 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
5675
5676 * image.el (put-image): Return the overlay created instead of the
5677 optional input string (bug#7834). Note that this may break code
5678 that is (for some reason or other) depending on `put-image'
5679 returning the string.
5680
5681 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
5682
5683 * simple.el (zap-to-char): Allow zapping using input methods
5684 (bug#1580).
5685
5686 * textmodes/fill.el (fill-region): Leave point and mark where they
5687 were before filling (bug#5399).
5688
5689 2012-04-09 Glenn Morris <rgm@gnu.org>
5690
5691 * version.el (emacs-bzr-get-version):
5692 Handle lightweight checkouts of local branches.
5693
5694 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
5695
5696 * international/characters.el: Recover lost case pairs. (Bug#11209)
5697
5698 2012-04-09 Chong Yidong <cyd@gnu.org>
5699
5700 * custom.el (custom-variable-p): Return nil for non-symbol
5701 arguments instead of signaling an error.
5702 (user-variable-p): Obsolete alias for custom-variable-p.
5703
5704 * apropos.el (apropos-variable):
5705 * files-x.el (read-file-local-variable):
5706 * simple.el (set-variable):
5707 * woman.el (woman-mini-help):
5708 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
5709
5710 2012-04-09 Glenn Morris <rgm@gnu.org>
5711
5712 * startup.el (normal-top-level): Don't look for leim-list.el
5713 in places where it will not be found. (Bug#910)
5714
5715 * international/mule-cmds.el (set-default-coding-systems):
5716 * files.el (normal-mode):
5717 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
5718 This function was removed with ucs-tables.el in 2008.
5719
5720 2012-04-08 Eli Zaretskii <eliz@gnu.org>
5721
5722 * textmodes/ispell.el (ispell-check-version): For hunspell, set
5723 ispell-encoding8-command to "-i", without a trailing space.
5724 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
5725 separate command-line arguments, to specify the encoding, since
5726 that's how hunspell expects it.
5727
5728 2012-04-08 Glenn Morris <rgm@gnu.org>
5729
5730 * loadup.el: Load bindings before cus-start.
5731 This reduces somewhat the number of "rogue" settings in emacs -Q.
5732
5733 2012-04-07 Glenn Morris <rgm@gnu.org>
5734
5735 * version.el (emacs-bzr-get-version): New function.
5736 (emacs-bzr-version): New variable.
5737 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
5738 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
5739
5740 2012-04-07 Eli Zaretskii <eliz@gnu.org>
5741
5742 * international/uni-bidi.el, international/uni-category.el:
5743 * international/uni-combining.el, international/uni-decimal.el:
5744 * international/uni-decomposition.el, international/uni-digit.el:
5745 * international/uni-lowercase.el, international/uni-mirrored.el:
5746 * international/uni-name.el, international/uni-numeric.el:
5747 * international/uni-titlecase.el, international/uni-uppercase.el:
5748 Update for Unicode 6.1.
5749
5750 2012-04-07 Eli Zaretskii <eliz@gnu.org>
5751
5752 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
5753
5754 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
5755
5756 * window.el (shrink-window): Mention the `window-min-height'
5757 variable in the doc string.
5758
5759 2012-04-05 Bastien Guerry <bzg@altern.org>
5760
5761 * color.el (color-lighten-name): Fix typo.
5762
5763 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
5764
5765 * server.el (server--on-display-p): New function.
5766 (server--on-display-p): Use it.
5767
5768 2012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
5769
5770 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
5771 (bug#11145).
5772
5773 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
5774
5775 * comint.el (comint--common-quoted-suffix): Check string boundary
5776 before comparing (bug#11158).
5777 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
5778
5779 2012-04-04 Chong Yidong <cyd@gnu.org>
5780
5781 * minibuffer.el (completion-extra-properties): Doc fix.
5782
5783 * subr.el (delayed-warnings-hook): Doc fix.
5784
5785 2012-04-04 Daiki Ueno <ueno@unixuser.org>
5786
5787 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
5788 selection (Bug#11159).
5789 (epa-insert-keys): Inform that the default public key will be
5790 exported if no key is selected.
5791
5792 2012-04-04 Richard Stallman <rms@gnu.org>
5793
5794 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
5795
5796 2012-04-03 Chong Yidong <cyd@gnu.org>
5797
5798 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
5799 mail-insert-file, not its obsolete alias mail-attach-file.
5800
5801 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
5802
5803 * notifications.el (notifications-notify): Fix docstring.
5804
5805 2012-04-02 Glenn Morris <rgm@gnu.org>
5806
5807 * emacs-lisp/authors.el (authors-aliases): Another addition.
5808
5809 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
5810
5811 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
5812 `tramp-compat-call-process' instead of `tramp-local-call-process'.
5813 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
5814
5815 2012-04-01 Chong Yidong <cyd@gnu.org>
5816
5817 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
5818 Handle root directory properly.
5819 (copy-directory): Caller changed.
5820
5821 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
5822 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
5823
5824 2012-03-31 Glenn Morris <rgm@gnu.org>
5825
5826 * term/xterm.el (xterm-extra-capabilities): Doc fix.
5827
5828 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
5829
5830 * calendar/calendar.el (calendar-window-list)
5831 (calendar-hide-window): Restore. (Bug#11140)
5832 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
5833
5834 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
5835
5836 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5837
5838 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
5839 Check if file is a symlink (Bug#10489).
5840
5841 * files.el (copy-directory): Likewise.
5842
5843 2012-03-30 Chong Yidong <cyd@gnu.org>
5844
5845 * image.el (imagemagick-types-inhibit)
5846 (imagemagick-register-types): Doc fix.
5847
5848 2012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5849
5850 * textmodes/ispell.el (ispell-get-extended-character-mode):
5851 Disable extended-char-mode for hunspell. hunspell does not support it
5852 and treats ~word as ordinary words in pipe mode.
5853
5854 2012-03-30 Glenn Morris <rgm@gnu.org>
5855
5856 * tutorial.el (help-with-tutorial): Ensure local variables don't
5857 happen to make the buffer read-only. (Bug#11127)
5858
5859 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
5860
5861 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
5862 (perl-calculate-indent): Return `noindent' in strings.
5863
5864 2012-03-28 Sam Steingold <sds@gnu.org>
5865
5866 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
5867 instead of the broken adhockery which does not prevent calendar
5868 buffers from being displayed at random after exit.
5869 (calendar-window-list, calendar-hide-window): Remove the broken
5870 adhockery.
5871
5872 2012-03-28 Glenn Morris <rgm@gnu.org>
5873
5874 * replace.el (query-replace-map): Doc fix.
5875
5876 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
5877
5878 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
5879 contents. (Bug#11109)
5880
5881 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
5882
5883 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
5884 (bug#11077).
5885 (avl-tree--check, avl-tree--check-node): New funs.
5886
5887 2012-03-27 Martin Rudalics <rudalics@gmx.at>
5888
5889 * window.el (switch-to-visible-buffer): New option.
5890 (switch-to-prev-buffer, switch-to-next-buffer):
5891 Observe switch-to-visible-buffer. Make sure that checking for a window
5892 showing a buffer already is done on the same frame.
5893
5894 2012-03-27 Glenn Morris <rgm@gnu.org>
5895
5896 * startup.el (mail-host-address): Doc fix.
5897
5898 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
5899
5900 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
5901 than 197 variables.
5902
5903 2012-03-26 Ami Fischman <ami@fischman.org>
5904
5905 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
5906
5907 2012-03-26 Glenn Morris <rgm@gnu.org>
5908
5909 * files.el (save-buffers-kill-emacs): Doc fix.
5910
5911 * startup.el (normal-top-level, command-line, command-line-1):
5912 Give them doc strings.
5913
5914 2012-03-25 Eli Zaretskii <eliz@gnu.org>
5915
5916 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
5917 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
5918
5919 2012-03-25 Chong Yidong <cyd@gnu.org>
5920
5921 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
5922 theme if it was previously enabled before (Bug#11031).
5923
5924 * cus-theme.el (custom-theme-write-faces): Retrieve current face
5925 spec with custom-face-get-current-spec if its :shown-value is not
5926 determined yet (Bug#9337).
5927 (customize-create-theme, custom-theme-revert): Doc fixes.
5928
5929 * button.el (button-at): Minor addition to docstring.
5930
5931 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
5932
5933 * vc/vc.el (vc-merge): Fix a prompt.
5934
5935 2012-03-24 Chong Yidong <cyd@gnu.org>
5936
5937 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
5938 point (Bug#9623).
5939
5940 * button.el (button-at): Minor addition to docstring.
5941
5942 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
5943
5944 * newcomment.el (comment-choose-indent): No space after BOL.
5945
5946 2012-03-22 Sam Steingold <sds@gnu.org>
5947
5948 * window.el (switch-to-prev-buffer): Revert last patch because the
5949 bug turned out to be an advertised feature (Elisp manual 28.14).
5950
5951 2012-03-22 Glenn Morris <rgm@gnu.org>
5952
5953 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
5954 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
5955
5956 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
5957
5958 * net/network-stream.el (network-stream-open-starttls): Make error
5959 message under Windows be less misleading.
5960
5961 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
5962
5963 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
5964 understands (bug#9942).
5965
5966 2012-03-22 Chong Yidong <cyd@gnu.org>
5967
5968 * simple.el (end-of-visible-line): Handle return value of
5969 next-single-property-change properly (Bug#9371).
5970
5971 2012-03-22 Kenichi Handa <handa@m17n.org>
5972
5973 * international/quail.el (quail-insert-kbd-layout): Fix previous
5974 change. To avoid unwanted bidi reordering, use
5975 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
5976
5977 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
5978
5979 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
5980 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
5981 (ruby-beginning-of-indent): Be more careful with the difference
5982 between word-boundary and symbol boundary.
5983 (ruby-mode-syntax-table): Make : a symbol constituent.
5984
5985 2012-03-21 Andreas Politz <politza@fh-trier.de>
5986
5987 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
5988
5989 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
5990
5991 * progmodes/etags.el (tags-completion-at-point-function):
5992 Improve last fix.
5993
5994 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
5995
5996 2012-03-21 Sam Steingold <sds@gnu.org>
5997
5998 * progmodes/etags.el (tags-completion-at-point-function):
5999 Avoid the error when point is inside the pattern.
6000
6001 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
6002
6003 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
6004 line (Bug#10855).
6005
6006 2012-03-21 Drew Adams <drew.adams@oracle.com>
6007
6008 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
6009
6010 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
6011
6012 * ido.el (ido-set-current-directory, ido-read-internal)
6013 (ido-choose-completion-string, ido-completion-help): Handle nil
6014 value of ido-completion-buffer (Bug#11008).
6015
6016 2012-03-21 Sam Steingold <sds@gnu.org>
6017
6018 * window.el (switch-to-prev-buffer): Do not switch to a visible
6019 window previous buffer, just like with the frame previous buffers.
6020
6021 2012-03-21 Chong Yidong <cyd@gnu.org>
6022
6023 * faces.el (make-face, make-empty-face, copy-face):
6024 * face-remap.el (face-remap-add-relative, face-remap-set-base):
6025 Doc fixes.
6026
6027 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
6028
6029 * wid-edit.el (widget-complete-field): Remove (bug#11051).
6030 (widget-complete): Remove broken use of it.
6031
6032 2012-03-20 Chong Yidong <cyd@gnu.org>
6033
6034 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
6035 Use string-width and truncate-string-width to handle arbitrary
6036 characters.
6037
6038 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
6039
6040 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
6041 to draw rectangles, not squares. (Regression introduced by revno
6042 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
6043
6044 2012-03-18 Chong Yidong <cyd@gnu.org>
6045
6046 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
6047 it is not yet defined (for temacs).
6048
6049 2012-03-18 Leo Liu <sdl.web@gmail.com>
6050
6051 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
6052
6053 2012-03-17 Eli Zaretskii <eliz@gnu.org>
6054
6055 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
6056 (ispell-choices-win-default-height, ispell-silently-savep)
6057 (ispell-dictionary-alist, ispell-encoding8-command)
6058 (ispell-check-version, ispell-aspell-find-dictionary)
6059 (ispell-valid-dictionary-list, ispell-words-keyword)
6060 (ispell-get-word, ispell-internal-change-dictionary)
6061 (ispell-region, ispell-skip-region-list)
6062 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
6063 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
6064 (ispell-message-text-end, ispell-message)
6065 (ispell-buffer-local-parsing): Doc fix.
6066
6067 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
6068
6069 * htmlfontify.el: Add support for code block fontification for ODT
6070 export (Bug #9914).
6071 (hfy-optimisations): Define new option
6072 `body-text-only'
6073 (hfy-fontify-buffer): Honor above setting.
6074 (hfy-begin-span, hfy-end-span): New routines factored out form
6075 `hfy-fontify-buffer'.
6076 (hfy-begin-span-handler, hfy-end-span-handler): New variables
6077 that permit insertion of custom tags.
6078 (hfy-fontify-buffer): Use above handlers.
6079 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
6080 (hfy-face-to-css): Re-defined to be a variable.
6081 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
6082 over multiple runs. This is made possible by having the caller let
6083 bind a special variable `hfy-user-sheet-assoc'.
6084 (htmlfontify-string): New defun.
6085 (hfy-compile-face-map): Make sure that the last char in the
6086 buffer is correctly fontified.
6087 (hfy-face-resolve-face): Whitespace only change.
6088
6089 2012-03-17 Eli Zaretskii <eliz@gnu.org>
6090
6091 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
6092 message more clear.
6093
6094 2012-03-16 Leo Liu <sdl.web@gmail.com>
6095
6096 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
6097
6098 2012-03-16 Alan Mackenzie <acm@muc.de>
6099
6100 Further optimise the handling of large macros.
6101
6102 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
6103 limit to a call of `c-literal-limits'.
6104 (c-determine-+ve-limit): New function.
6105 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
6106 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
6107 In CASE 5B, restrict a search limit to 500.
6108 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
6109
6110 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
6111 Restrict macro bounds to +-500 from after-change's BEG END.
6112
6113 2012-03-16 Leo Liu <sdl.web@gmail.com>
6114
6115 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
6116
6117 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
6118
6119 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
6120 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6121
6122 2012-03-16 Glenn Morris <rgm@gnu.org>
6123
6124 * view.el (view-buffer, view-buffer-other-window)
6125 (view-buffer-other-frame): Doc fixes re special mode-class.
6126
6127 * subr.el (eval-after-load): If named feature is provided not from
6128 a file, run after-load forms. (Bug#10946)
6129
6130 * calendar/calendar.el (calendar-insert-at-column):
6131 Handle non-unit-width characters a bit better. (Bug#10978)
6132
6133 2012-03-15 Chong Yidong <cyd@gnu.org>
6134
6135 * emacs-lisp/ring.el (ring-extend): New function.
6136 (ring-insert+extend): Extend the ring correctly (Bug#11019).
6137
6138 * comint.el (comint-read-input-ring)
6139 (comint-add-to-input-history): Grow comint-input-ring lazily.
6140
6141 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
6142
6143 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
6144 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
6145
6146 * imenu.el: Fix multiple inheritance breakage (bug#9199).
6147 (imenu-add-to-menubar): Don't add a redundant index.
6148 (imenu-update-menubar): Handle a dynamically composed keymap.
6149
6150 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
6151
6152 * mail/sendmail.el (mail-encode-header):
6153 Bind rfc2047-encode-encoded-words to nil.
6154
6155 2012-03-13 Glenn Morris <rgm@gnu.org>
6156
6157 * calendar/calendar.el (calendar-string-spread):
6158 Handle non-unit-width characters a bit better. (Bug#10978)
6159
6160 2012-03-13 Leo Liu <sdl.web@gmail.com>
6161
6162 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
6163 directory and file as argument (Bug#10822).
6164
6165 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
6166
6167 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
6168 For dynamically generated code, follow $PC.
6169 (gdb-disassembly-handler-custom): Handle no function name case.
6170
6171 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
6172
6173 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
6174 * emulation/ws-mode.el (ws-query-replace):
6175 * sort.el (sort-regexp-fields):
6176 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
6177
6178 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
6179
6180 * dabbrev.el: Fix cycle completion order (bug#10963).
6181 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
6182 (dabbrev-completion): Don't use an obarray; provide
6183 a cycle-sort-function.
6184
6185 2012-03-12 Leo Liu <sdl.web@gmail.com>
6186
6187 * simple.el (kill-new): Use equal-including-properties for comparison.
6188 (kill-do-not-save-duplicates): Doc fix.
6189
6190 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
6191
6192 * dabbrev.el: Fix cycle completion (bug#10963).
6193 Use lexical binding and wrap to 80 columns.
6194 (dabbrev-completion): Delay computing the list of completions.
6195
6196 2012-03-12 Kenichi Handa <handa@m17n.org>
6197
6198 * international/quail.el (quail-insert-kbd-layout): Surround each
6199 row by LRO and PDF instead of inserting many LRMs. Pad the left
6200 and right of each non-spacing marks. Insert invisible space
6201 between lower and upper characters to prevent composition.
6202
6203 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
6204
6205 * minibuffer.el (minibuffer-complete): Don't get confused when the
6206 function is run twice via different commands (bug#10958).
6207 (complete-with-action): Fix docstring.
6208
6209 2012-03-12 Chong Yidong <cyd@gnu.org>
6210
6211 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
6212 (nxml-completion-at-point-function): New function.
6213 (nxml-mode): Use it.
6214 (nxml-bind-meta-tab-to-complete-flag): Default to t.
6215
6216 * emacs-lisp/package.el (package-unpack, package-unpack-single):
6217 Load generated autoloads file before byte compiling (Bug#10970).
6218 (package--make-autoloads-and-compile): New helper fun.
6219
6220 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
6221
6222 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
6223
6224 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
6225
6226 * autorevert.el (auto-revert-handler): Ensure, that
6227 file-readable-p is applied only for local files or in
6228 auto-revert-tail-mode.
6229
6230 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
6231
6232 * server.el (server-eval-at): Handle non-tcp connections.
6233 Decode result string.
6234
6235 * server.el (server-msg-size): New constant.
6236 (server-reply-print): New function.
6237 (server-eval-and-print): Use it.
6238 (server-eval-at): Use server-quote-arg and server-unquote-arg.
6239 Handle -print-nonl.
6240
6241 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
6242
6243 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
6244 (Bug#10987).
6245
6246 2012-03-11 Chong Yidong <cyd@gnu.org>
6247
6248 * simple.el (goto-line): Doc fix (Bug#9938).
6249
6250 * subr.el (save-window-excursion): Doc fix (Bug#9979).
6251
6252 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
6253 when finished (Bug#10963).
6254
6255 2012-03-11 Martin Rudalics <rudalics@gmx.at>
6256
6257 * window.el (split-window-below): Fix bug in case where
6258 split-window-keep-point is nil (Bug#10971).
6259
6260 2012-03-11 Juri Linkov <juri@jurta.org>
6261
6262 * replace.el (replace-highlight): Set isearch-word to nil
6263 unconditionally. (Bug#10887)
6264
6265 2012-03-10 Eli Zaretskii <eliz@gnu.org>
6266
6267 * net/mairix.el (mairix-replace-invalid-chars): Rename from
6268 mairix-replace-illegal-chars; all callers changed. Don't remove
6269 ^, ~, and = characters: they are meaningful in mairix search specs.
6270 (mairix-widget-create-query): Add usage information about mairix
6271 search forms: negating words, searching for substrings, etc.
6272
6273 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
6274
6275 * international/fontset.el (font-encoding-alist): Add an entry for
6276 ksx1001 (Bug#5667).
6277
6278 2012-03-10 Richard Stallman <rms@gnu.org>
6279
6280 * mail/sendmail.el (mail-encode-header):
6281 Set rfc2047-encode-encoded-words.
6282
6283 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
6284
6285 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
6286 view buffer means not swapped.
6287 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
6288 (rmail-write-region-annotate): Error if real text has disappeared.
6289
6290 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
6291
6292 2012-03-10 Chong Yidong <cyd@gnu.org>
6293
6294 * emulation/cua-rect.el (cua--init-rectangles):
6295 * emulation/cua-base.el (cua--init-keymaps):
6296 Add delete-forward-char to remappings (Bug#9666).
6297
6298 2012-03-10 Martin Rudalics <rudalics@gmx.at>
6299
6300 * speedbar.el (speedbar-unhighlight-one-tag-line):
6301 Avoid unhighlighting due to frame switching (Bug#10275).
6302
6303 2012-03-10 Chong Yidong <cyd@gnu.org>
6304
6305 * minibuffer.el (completion-in-region, completion-help-at-point):
6306 Give the completion field overlay a high priority (Bug#6830).
6307
6308 * dired.el (dired-goto-file): Recognize absolute file name
6309 listings (Bug#7126).
6310 (dired-goto-file-1): New helper function.
6311 (dired-toggle-read-only): Inhibit warnings.
6312
6313 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
6314
6315 * net/dbus.el (dbus-property-handler): Return empty array if
6316 there are no properties.
6317
6318 2012-03-09 Leo Liu <sdl.web@gmail.com>
6319
6320 * savehist.el (savehist-printable): Stricter check for string
6321 value (Bug#10937).
6322
6323 2012-03-09 Eli Zaretskii <eliz@gnu.org>
6324
6325 * mail/smtpmail.el (smtpmail-send-it):
6326 Bind coding-system-for-write to *-unix, so that FCC files are kept in
6327 valid mbox format.
6328
6329 2012-03-09 Glenn Morris <rgm@gnu.org>
6330
6331 * files.el (dir-locals-find-file):
6332 Don't check result is regular, readable.
6333 (dir-locals-read-from-file): Demote errors.
6334
6335 2012-03-08 Eli Zaretskii <eliz@gnu.org>
6336
6337 * international/quail.el (quail-insert-kbd-layout):
6338 Insert invisible LRM characters before each character in a keyboard
6339 layout cell, to prevent their reordering by bidi display engine.
6340 For details, see the discussion in
6341 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
6342
6343 2012-03-08 Alan Mackenzie <acm@muc.de>
6344
6345 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
6346 the starting position; make it extend the marked region when
6347 invoked repeatedly - all under appropriate circumstances.
6348 Fixes bugs #5525, #10906.
6349
6350 2012-03-08 Glenn Morris <rgm@gnu.org>
6351
6352 * files.el (locate-dominating-file, dir-locals-find-file):
6353 Undo 2012-03-06 change.
6354
6355 2012-03-07 Eli Zaretskii <eliz@gnu.org>
6356
6357 * international/quail.el (quail-help):
6358 Force bidi-paragraph-direction be left-to-right. See discussion in
6359 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
6360 for the reason.
6361
6362 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
6363
6364 Avoid superfluous registering of signals. (Bug#10807)
6365
6366 * notifications.el (notifications-on-action-object)
6367 (notifications-on-close-object): New defvars.
6368 (notifications-on-action-signal, notifications-on-closed-signal):
6369 Unregister the signal if not needed any longer.
6370 (notifications-notify): Register `notifications-action-signal' or
6371 `notifications-closed-signal', if :on-action or :on-close has been
6372 passed as argument.
6373
6374 2012-03-07 Chong Yidong <cyd@gnu.org>
6375
6376 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
6377 non-X platforms.
6378
6379 2012-03-06 Glenn Morris <rgm@gnu.org>
6380
6381 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
6382 (x-disown-selection-internal, x-get-selection-internal):
6383 Doc fix (add arglist signatures). (Bug#10783)
6384
6385 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
6386
6387 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
6388 Handle breakpoints with no "type".
6389
6390 2012-03-06 Glenn Morris <rgm@gnu.org>
6391
6392 * files.el (locate-dominating-file): Add optional predicate argument.
6393 (dir-locals-find-file): Make use of above change.
6394
6395 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
6396
6397 * info.el (Info-insert-dir): Also try "dir.gz".
6398
6399 2012-03-06 Glenn Morris <rgm@gnu.org>
6400
6401 * files.el (dir-locals-find-file):
6402 Ignore non-readable or non-regular files. (Bug#10928)
6403
6404 * files.el (locate-dominating-file): Doc fix.
6405
6406 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
6407
6408 * calendar/calendar.el (calendar-set-mode-line):
6409 `getenv' returns a string. (Bug#10951)
6410
6411 2012-03-05 Leo Liu <sdl.web@gmail.com>
6412
6413 * simple.el (backward-delete-char-untabify): Constrain point to
6414 field (Bug#10939).
6415
6416 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
6417
6418 2012-03-05 Chong Yidong <cyd@gnu.org>
6419
6420 * simple.el (count-words): If called from Lisp, return the word
6421 count, for symmetry with `count-lines'. Arglist changed.
6422 (count-words--message): Args changed. Consolidate counting code
6423 from count-words and count-words-region.
6424 (count-words-region): Caller changed.
6425 (count-lines-region): Make it an obsolete alias.
6426
6427 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
6428
6429 * saveplace.el (save-place-to-alist)
6430 (save-place-ignore-files-regexp): Allow value nil to disable this
6431 feature.
6432
6433 2012-03-04 Chong Yidong <cyd@gnu.org>
6434
6435 * faces.el (face-spec-reset-face): For the default face, reset the
6436 attributes to default values (Bug#10748).
6437
6438 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
6439
6440 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
6441 previous patch: Check `message-send-mail-function', and not the
6442 default function (bug#10897).
6443
6444 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
6445
6446 * notifications.el (notifications-on-action-signal)
6447 (notifications-on-closed-signal): Check for unique service name of
6448 incoming event. Fix error in removing entry.
6449 (top): Register for signals with wildcard service name.
6450 (notifications-notify): Use daemon unique service name for map entries.
6451
6452 2012-03-04 Chong Yidong <cyd@gnu.org>
6453
6454 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
6455
6456 2012-03-04 Glenn Morris <rgm@gnu.org>
6457
6458 * abbrev.el (copy-abbrev-table, abbrev-table-p)
6459 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
6460 (expand-abbrev, define-abbrev-table): Doc fixes.
6461
6462 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
6463
6464 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
6465 `message-default-send-mail-function' and not `send-mail-function'
6466 when doing the prompting for `sendmail-query-once' before sending
6467 in Message buffers (bug#10897).
6468
6469 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
6470 This is inconsistent with all the other stream functions, which leave
6471 the setting up to the higher levels (if so wanted) (bug#10931).
6472
6473 2012-03-02 Alan Mackenzie <acm@muc.de>
6474
6475 Depessimize the handling of very large macros.
6476
6477 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
6478 (c-macro-cache-syntactic): New variables to implement a one
6479 element macro cache.
6480 (c-invalidate-macro-cache): New function.
6481 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
6482 Adapt to use the new cache.
6483 (c-state-safe-place): Use better the cache of safe positions.
6484 (c-state-semi-nonlit-pos-cache)
6485 (c-state-semi-nonlit-pos-cache-limit):
6486 New variables for...
6487 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
6488 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
6489 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
6490 Use c-state-semi-safe-place.
6491
6492 * progmodes/cc-langs.el (c-get-state-before-change-functions):
6493 Add c-invalidate-macro-cache to the C, C++, Obj entries.
6494
6495 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
6496
6497 * jka-compr.el (jka-compr-call-process):
6498 Apply `file-accessible-directory-p' only when the default directory is
6499 not remote.
6500
6501 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
6502
6503 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
6504 access of FILE2, if FILE1 does not exist.
6505
6506 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
6507 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
6508
6509 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
6510 Add "PAGER=" to `process-environment'.
6511
6512 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
6513
6514 * progmodes/sql.el: Bug fix
6515 (sql-get-login-ext): Save login values in globals.
6516 (sql-get-login): Use new version of `sql-get-login-ext'.
6517 (sql-interactive-mode): Set global `sql-connection' to nil.
6518 (sql-connect): Set global values for connection.
6519 (sql-product-interactive): Save global values as buffer local.
6520
6521 2012-02-29 Leo Liu <sdl.web@gmail.com>
6522
6523 * abbrev.el (define-abbrevs): Reset sys to nil.
6524
6525 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6526
6527 * files.el (file-equal-p): Rename from `files-equal-p'.
6528 Return nil when one or both files don't exist.
6529 (file-subdir-of-p): Now only top directory must exists,
6530 return nil if it doesn't.
6531 (copy-directory): No need to test with `file-subdir-of-p' after
6532 creating dir.
6533 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
6534 to `file-equal-p'.
6535
6536 2012-02-28 Glenn Morris <rgm@gnu.org>
6537
6538 * shell.el (shell-mode):
6539 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
6540 * play/landmark.el (landmark-font-lock-face-O):
6541 * play/handwrite.el (handwrite):
6542 * play/gomoku.el (gomoku-O):
6543 * net/browse-url.el (browse-url-browser-display):
6544 * international/mule.el (define-charset):
6545 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
6546 * filesets.el (filesets-find-file-delay):
6547 * eshell/em-xtra.el (eshell-xtra):
6548 * eshell/em-unix.el (eshell-grep):
6549 * emulation/viper.el (viper-mode):
6550 * emacs-lisp/regexp-opt.el (regexp-opt-group):
6551 * emacs-lisp/easymenu.el (easy-menu-define):
6552 * calendar/timeclock.el (timeclock-use-display-time):
6553 * bs.el (bs-mode):
6554 * bookmark.el (bookmark-save-flag):
6555 Doc fix (standardize possessive apostrophe usage).
6556
6557 2012-02-27 Chong Yidong <cyd@gnu.org>
6558
6559 * emulation/viper-cmd.el (viper-intercept-ESC-key):
6560 Fix key-binding lookup for ESC key (Bug#9146).
6561
6562 * font-lock.el (font-lock-specified-p): Rename from
6563 font-lock-spec-present. Callers changed.
6564
6565 2012-02-27 Daniel Hackney <dan@haxney.org>
6566
6567 * emacs-lisp/package.el (package-compute-transaction):
6568 Handle holding a package version to t in package-load-list.
6569
6570 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
6571
6572 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
6573 (tramp-get-inode, tramp-get-device): Use cached values.
6574
6575 2012-02-26 Alan Mackenzie <acm@muc.de>
6576
6577 Check there is a font-lock specification before doing initial
6578 fontification.
6579
6580 * font-core.el (font-lock-mode): Move the conditional from
6581 :after-hook to font-lock-initial-fontify.
6582 (font-lock-default-function): Move the check for a specification
6583 to font-lock-spec-present.
6584
6585 * font-lock.el (font-lock-initial-fontify): Call ...
6586 (font-lock-spec-present): New function.
6587
6588 2012-02-26 Jim Blandy <jimb@red-bean.com>
6589
6590 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
6591 (gdb-send): Apply it to the operand of the '-interpreter-exec
6592 console' command, so that we can pass arguments with (say) quotes
6593 in them. Store exact string sent in gdb-debug-log (Bug#10765).
6594
6595 2012-02-26 Chong Yidong <cyd@gnu.org>
6596
6597 * help-fns.el (describe-function-1): Clarify description of
6598 remapping (Bug#10844).
6599
6600 * files.el (files-equal-p): Doc fix.
6601 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
6602 and quit the loop once a mismatch is found.
6603
6604 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
6605
6606 * bs.el (bs--show-with-configuration): Don't throw an error
6607 if the window cannot be split; otherwise, subsequent calls to
6608 bs-show fail, restoring a stale window config. (Bug#10882)
6609
6610 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
6611
6612 * term/ns-win.el (global-map): Bind ns-drag-file to
6613 ns-find-file (Bug#5855, Bug#10050).
6614
6615 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
6616
6617 * calendar/parse-time.el (parse-time-string): Allow extractor to
6618 return nil.
6619
6620 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
6621
6622 * net/tramp.el (tramp-file-name-for-operation):
6623 Add `files-equal-p' and `file-subdir-of-p'.
6624
6625 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
6626 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
6627 Add COPY-CONTENTS argument.
6628
6629 2012-02-25 Chong Yidong <cyd@gnu.org>
6630
6631 Add custom groups for VC backends, for consistency with vc-bzr.
6632
6633 * vc/vc-arch.el (vc-arch):
6634 * vc/vc-cvs.el (vc-cvs):
6635 * vc/vc-git.el (vc-git):
6636 * vc/vc-hg.el (vc-hg):
6637 * vc/vc-mtn.el (vc-mtn):
6638 * vc/vc-rcs.el (vc-rcs):
6639 * vc/vc-sccs.el (vc-sccs):
6640 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
6641 All relevant defcustoms reassigned.
6642
6643 2012-02-25 Chong Yidong <cyd@gnu.org>
6644
6645 * newcomment.el (comment-styles): Add autoload (Bug#10868).
6646
6647 * term/x-win.el (x-initialize-window-system): Reduce default for
6648 x-selection-timeout to 5 seconds (Bug#8869).
6649
6650 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6651
6652 * files.el (files-equal-p, file-subdir-of-p): New functions.
6653 (copy-directory): Error when trying to copy a directory on itself.
6654 Add missing copy-contents arg to tramp handler.
6655 * dired-aux.el (dired-copy-file-recursive): Same.
6656 (dired-create-files): Modify destination when source is equal to
6657 dest when copying files.
6658 Return also when dest is a subdir of source. (Bug#10489)
6659
6660 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
6661
6662 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
6663 (Bug#10874)
6664
6665 2012-02-23 Alan Mackenzie <acm@muc.de>
6666
6667 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
6668 parameter "after-hook:" to allow the expansion to run code after
6669 the execution of the mode hooks.
6670
6671 * font-lock.el (font-lock-initial-fontify): New function extracted
6672 from font-lock-mode-internal.
6673
6674 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
6675 :after-hook.
6676
6677 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
6678
6679 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
6680 (completion--cache-all-sorted-completions): New function.
6681 (completion-all-sorted-completions): Use it.
6682 (completion--do-completion, minibuffer-force-complete):
6683 Use it to re-instate the flush hook.
6684
6685 * icomplete.el (icomplete-completions): Replace last fix with a better
6686 one (bug#10850).
6687
6688 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
6689
6690 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
6691 when it might call us back infinitely (bug#10797).
6692
6693 2012-02-23 Glenn Morris <rgm@gnu.org>
6694
6695 * minibuffer.el (completion-category-overrides): Doc fix.
6696
6697 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
6698
6699 * minibuffer.el (completion-table-with-context): Fix inf-loop.
6700 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
6701
6702 2012-02-23 Glenn Morris <rgm@gnu.org>
6703
6704 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
6705 (authors-obsolete-files-regexps, authors-ignored-files)
6706 (authors-ambiguous-files, authors-renamed-files-alist):
6707 Add more entries.
6708
6709 2012-02-23 Juri Linkov <juri@jurta.org>
6710
6711 * isearch.el (isearch-occur): Sync interactive spec with occur's
6712 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
6713
6714 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
6715
6716 2012-02-22 Juri Linkov <juri@jurta.org>
6717
6718 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
6719 (ucs-insert): Doc fix. Check for hex digits in the string.
6720 Don't display `nil' in the error message. (Bug#10857)
6721
6722 2012-02-22 Alan Mackenzie <acm@muc.de>
6723
6724 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
6725
6726 2012-02-22 Glenn Morris <rgm@gnu.org>
6727
6728 * ffap.el (ffap-c-path):
6729 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
6730
6731 2012-02-22 Chong Yidong <cyd@gnu.org>
6732
6733 * custom.el (load-theme): Doc fix.
6734
6735 2012-02-22 Glenn Morris <rgm@gnu.org>
6736
6737 * dired-x.el (dired-guess-shell-alist-default):
6738 Remove escape sequences from nroff output. (Bug#172)
6739
6740 2012-02-21 Glenn Morris <rgm@gnu.org>
6741
6742 * vc/emerge.el (emerge-defvar-local):
6743 Set `permanent-local' property rather than unused `preserved'.
6744
6745 * textmodes/picture.el (picture-delete-char): New alias.
6746 (picture-mode-map): Use it. (Bug#10860)
6747 (picture-mode): Doc fix.
6748
6749 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
6750
6751 * newcomment.el (uncomment-region-default): Remove unused binding.
6752
6753 2012-02-21 Glenn Morris <rgm@gnu.org>
6754
6755 * textmodes/picture.el (picture-motion, picture-motion-reverse)
6756 (picture-self-insert, picture-tab-chars): Doc fix.
6757 (picture-mode-map): Fix C-a, C-e.
6758
6759 2012-02-20 Glenn Morris <rgm@gnu.org>
6760
6761 * emacs-lisp/authors.el (authors-aliases): Add another entry.
6762
6763 2012-02-20 Leo Liu <sdl.web@gmail.com>
6764
6765 * icomplete.el (icomplete-completions): Check FROM arg before
6766 passing to substring (Bug#10850).
6767
6768 2012-02-19 Chong Yidong <cyd@gnu.org>
6769
6770 * comint.el: Require ansi-color.
6771 (comint-output-filter-functions): Add ansi-color-process-output.
6772
6773 * ansi-color.el: Don't set comint-output-filter-functions; it is
6774 now in the initial value defined in comint.el.
6775 (ansi-color-apply-face-function): New variable.
6776 (ansi-color-apply-on-region): Use it.
6777 (ansi-color-apply-overlay-face): New function.
6778
6779 * shell.el (shell): No need to require ansi-color.
6780 (shell-mode): Use ansi-color-apply-face-function to highlight
6781 color escapes using font-lock-face property (Bug#10835).
6782
6783 2012-02-19 Chong Yidong <cyd@gnu.org>
6784
6785 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
6786 mode-line formats (Bug#10839).
6787
6788 2012-02-18 Glenn Morris <rgm@gnu.org>
6789
6790 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
6791
6792 * mail/undigest.el (unforward-rmail-message): Doc fix.
6793
6794 * saveplace.el (save-place-ignore-files-regexp): Add :version.
6795
6796 2012-02-18 Eli Zaretskii <eliz@gnu.org>
6797
6798 * international/characters.el (script-list): Sync with the latest
6799 Unicode Character Database.
6800
6801 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
6802
6803 * international/titdic-cnv.el: Remove duplicate coding tag.
6804 * language/cham.el: Likewise.
6805 * language/tai-viet.el: Likewise.
6806
6807 2012-02-18 Glenn Morris <rgm@gnu.org>
6808
6809 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
6810 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
6811 (calendar-bahai-all-holidays-flag, calendar-other-dates):
6812 * calendar/diary-lib.el (diary-abbreviated-year-flag):
6813 * calendar/holidays.el (holiday-bahai-holidays)
6814 (calendar-holidays, list-holidays):
6815 Use utf-8 Bahá'í in doc-strings, menus, etc.
6816
6817 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
6818
6819 * saveplace.el (save-place-ignore-files-regexp): New variable
6820 allowing for excluding files from saving their location of point.
6821 The default value matches the temporary commit message editing
6822 files from Git, SVN, Bazaar, and Mercurial.
6823 (save-place-to-alist): Use it.
6824
6825 2012-02-17 Lawrence Mitchell <wence@gmx.li>
6826 Stefan Monnier <monnier@iro.umontreal.ca>
6827
6828 * newcomment.el (uncomment-region-default): Don't leave extra space
6829 when an arg is provided (bug#8150).
6830
6831 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
6832
6833 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
6834
6835 2012-02-17 Glenn Morris <rgm@gnu.org>
6836
6837 * net/socks.el: Require network-stream. (Bug#10599)
6838
6839 2012-02-17 Kenichi Handa <handa@m17n.org>
6840
6841 * international/charprop.el:
6842 * international/uni-name.el:
6843 * international/uni-old-name.el:
6844 * international/uni-comment.el: Regenerate.
6845
6846 2012-02-16 Glenn Morris <rgm@gnu.org>
6847
6848 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
6849 Interactively in calendar buffer, give an error if not on a date.
6850
6851 2012-02-15 Glenn Morris <rgm@gnu.org>
6852
6853 * shell.el (shell-delimiter-argument-list):
6854 Revert 2011-02-17 change. (Bug#8027)
6855
6856 2012-02-15 Chong Yidong <cyd@gnu.org>
6857
6858 * minibuffer.el (completion-at-point-functions): Doc fix.
6859
6860 * custom.el (defcustom): Doc fix; note use of defvar.
6861
6862 2012-02-15 Glenn Morris <rgm@gnu.org>
6863
6864 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
6865 Doc fixes.
6866
6867 2012-02-14 Glenn Morris <rgm@gnu.org>
6868
6869 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
6870
6871 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
6872
6873 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
6874 way the ports list is computed.
6875 (smtpmail-query-smtp-server): Prompt the user for a port number if
6876 we can't connect to any of the standard ports (bug#10810).
6877
6878 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
6879
6880 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
6881
6882 2012-02-13 Glenn Morris <rgm@gnu.org>
6883
6884 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
6885
6886 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
6887
6888 * net/gnutls.el (gnutls-trustfiles): New variable.
6889 (gnutls-negotiate): Use it.
6890
6891 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
6892
6893 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
6894 does its stuff if Gnus is running.
6895
6896 2012-02-13 Alan Mackenzie <acm@muc.de>
6897
6898 Fix a loop in c-set-fl-decl-start.
6899
6900 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
6901 c-backward-syntactic-ws actually moves backwards.
6902
6903 2012-02-13 Leo Liu <sdl.web@gmail.com>
6904
6905 * net/rcirc.el (rcirc-markup-attributes): Move point to the
6906 beginning so that all \C-o chars are removed.
6907
6908 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
6909
6910 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
6911
6912 2012-02-12 Alan Mackenzie <acm@muc.de>
6913
6914 Fix infinite loop with long macros.
6915 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
6916
6917 2012-02-12 Chong Yidong <cyd@gnu.org>
6918
6919 * window.el (display-buffer): Doc fix (Bug#10785).
6920
6921 2012-02-12 Glenn Morris <rgm@gnu.org>
6922
6923 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
6924 (x-disown-selection-internal, x-get-selection-internal):
6925 Sync docs with the xselect.c versions.
6926
6927 * allout-widgets.el: Add missing license notice.
6928
6929 2012-02-11 Glenn Morris <rgm@gnu.org>
6930
6931 * select.el (x-get-selection-internal, x-own-selection-internal)
6932 (x-disown-selection-internal):
6933 * x-dnd.el (x-get-selection-internal): Update declarations.
6934
6935 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
6936
6937 * window.el (window-sides-slots):
6938 * tool-bar.el (tool-bar-position):
6939 * term/xterm.el (xterm-extra-capabilities):
6940 * ses.el (ses-self-reference-early-detection):
6941 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
6942 (verilog-auto-wire-type)
6943 (verilog-auto-delete-trailing-whitespace)
6944 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
6945 (verilog-auto-tieoff-declaration):
6946 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
6947 (sql-oracle-statement-starters, sql-oracle-scan-on):
6948 * progmodes/prolog.el (prolog-align-comments-flag)
6949 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
6950 (prolog-left-indent-regexp, prolog-paren-indent-p)
6951 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
6952 (prolog-types, prolog-mode-specificators)
6953 (prolog-determinism-specificators, prolog-directives)
6954 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
6955 (prolog-electric-dot-flag)
6956 (prolog-electric-dot-full-predicate-template)
6957 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
6958 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
6959 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
6960 (prolog-program-switches, prolog-prompt-regexp)
6961 (prolog-debug-on-string, prolog-debug-off-string)
6962 (prolog-trace-on-string, prolog-trace-off-string)
6963 (prolog-zip-on-string, prolog-zip-off-string)
6964 (prolog-use-standard-consult-compile-method-flag)
6965 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
6966 (prolog-imenu-max-lines, prolog-info-predicate-index)
6967 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
6968 (prolog-char-quote-workaround):
6969 * progmodes/cc-vars.el (c-defun-tactic):
6970 * net/tramp.el (tramp-encoding-command-interactive)
6971 (tramp-local-end-of-line):
6972 * net/soap-client.el (soap-client):
6973 * net/netrc.el (netrc-file):
6974 * net/gnutls.el (gnutls):
6975 * minibuffer.el (completion-category-overrides)
6976 (completion-cycle-threshold)
6977 (completion-pcm-complete-word-inserts-delimiters):
6978 * man.el (Man-name-local-regexp):
6979 * mail/feedmail.el (feedmail-display-full-frame):
6980 * international/characters.el (glyphless-char-display-control):
6981 * eshell/em-ls.el (eshell-ls-date-format):
6982 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
6983 (lisp-lambda-list-keyword-parameter-indentation)
6984 (lisp-lambda-list-keyword-parameter-alignment):
6985 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
6986 * dired-x.el (dired-omit-verbose):
6987 * cus-theme.el (custom-theme-allow-multiple-selections):
6988 * calc/calc.el (calc-highlight-selections-with-faces)
6989 (calc-lu-field-reference, calc-lu-power-reference)
6990 (calc-note-threshold):
6991 * battery.el (battery-mode-line-limit):
6992 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
6993 (archive-7z-update):
6994 * allout.el (allout-prefixed-keybindings)
6995 (allout-unprefixed-keybindings)
6996 (allout-inhibit-auto-fill-on-headline)
6997 (allout-flattened-numbering-abbreviation):
6998 * allout-widgets.el (allout-widgets-auto-activation)
6999 (allout-widgets-icons-dark-subdir)
7000 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
7001 (allout-widgets-theme-dark-background)
7002 (allout-widgets-theme-light-background)
7003 (allout-widgets-item-image-properties-emacs)
7004 (allout-widgets-item-image-properties-xemacs)
7005 (allout-widgets-run-unit-tests-on-load)
7006 (allout-widgets-time-decoration-activity)
7007 (allout-widgets-hook-error-post-time)
7008 (allout-widgets-track-decoration):
7009 Add missing :version tags to new defcustoms and defgroups.
7010
7011 * progmodes/sql.el (sql-ansi-statement-starters)
7012 (sql-oracle-statement-starters): Add custom type.
7013
7014 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
7015 (prolog-system-version): Give it a type.
7016
7017 2012-02-11 Eli Zaretskii <eliz@gnu.org>
7018
7019 * term/pc-win.el (x-select-text, x-selection-owner-p)
7020 (x-own-selection-internal, x-disown-selection-internal)
7021 (x-get-selection-internal): Sync doc strings and argument lists
7022 with xselect.c, common-win.el and x-win.el. (Bug#10783)
7023
7024 2012-02-11 Leo Liu <sdl.web@gmail.com>
7025
7026 * progmodes/python.el (python-end-of-statement): Fix infinite
7027 loop. (Bug#10788)
7028
7029 2012-02-10 Glenn Morris <rgm@gnu.org>
7030
7031 * international/mule-cmds.el (unify-8859-on-encoding-mode)
7032 (unify-8859-on-decoding-mode): Properly mark as obsolete.
7033
7034 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
7035
7036 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
7037 about SMTP before checking the From header.
7038
7039 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
7040 into own function for reuse by emacsbug.el.
7041
7042 2012-02-10 Leo Liu <sdl.web@gmail.com>
7043
7044 * subr.el (condition-case-unless-debug): Rename from
7045 condition-case-no-debug. All callers changed.
7046 (with-demoted-errors): Fix caller.
7047
7048 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
7049 * nxml/rng-valid.el (rng-do-some-validation):
7050 * emacs-lisp/package.el (package-refresh-contents)
7051 (package-menu-execute):
7052 * desktop.el (desktop-create-buffer):
7053 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
7054
7055 2012-02-10 Glenn Morris <rgm@gnu.org>
7056
7057 * textmodes/bibtex.el:
7058 Add missing :version tags for new/changed defcustoms.
7059
7060 * files.el (remote-file-name-inhibit-cache): Doc fixes.
7061
7062 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
7063
7064 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
7065 (smtpmail-via-smtp): Use it, or fall back on the From address.
7066 (smtpmail-send-it): Ditto.
7067
7068 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
7069
7070 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
7071 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
7072 (byte-compile-tmp-var): New const.
7073 (byte-compile-defvar): Use it to minimize .elc size.
7074 Just use `defvar' rather than simulate it (bug#10761).
7075
7076 2012-02-09 Glenn Morris <rgm@gnu.org>
7077
7078 * files.el (rename-uniquely): Doc fix. (Bug#3806)
7079
7080 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
7081 Add :version tags.
7082
7083 * progmodes/compile.el (compilation-error-screen-columns)
7084 (compilation-first-column, compilation-filter-start): Doc fixes.
7085
7086 * vc/log-view.el (log-view-toggle-entry-display):
7087 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
7088
7089 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
7090 (report-emacs-bug-can-use-xdg-email):
7091 (report-emacs-bug-insert-to-mailer): Doc fixes.
7092 (report-emacs-bug): Message fix.
7093
7094 * net/browse-url.el (browse-url-can-use-xdg-open)
7095 (browse-url-xdg-open): Doc fixes.
7096
7097 * electric.el (electric-indent-mode, electric-pair-mode)
7098 (electric-layout-rules, electric-layout-mode): Doc fixes.
7099 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
7100
7101 2012-02-08 Martin Rudalics <rudalics@gmx.at>
7102
7103 * server.el (server-unselect-display): Don't inadvertently kill
7104 the current buffer. (Bug#10729)
7105
7106 2012-02-08 Glenn Morris <rgm@gnu.org>
7107
7108 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
7109 (sql-list-table): Doc fixes.
7110
7111 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
7112 Comment out (does nothing).
7113
7114 * completion.el (dynamic-completion-mode):
7115 * dirtrack.el (dirtrack-debug-mode):
7116 * electric.el (electric-layout-mode):
7117 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
7118 * face-remap.el (text-scale-mode, buffer-face-mode):
7119 * iimage.el (iimage-mode):
7120 * image-mode.el (image-transform-mode):
7121 * minibuffer.el (completion-in-region-mode):
7122 * scroll-lock.el (scroll-lock-mode):
7123 * simple.el (next-error-follow-minor-mode):
7124 * tar-mode.el (tar-subfile-mode):
7125 * tooltip.el (tooltip-mode):
7126 * vcursor.el (vcursor-use-vcursor-map):
7127 * wid-browse.el (widget-minor-mode):
7128 * emulation/tpu-edt.el (tpu-edt-mode):
7129 * emulation/tpu-extras.el (tpu-cursor-free-mode):
7130 * international/iso-ascii.el (iso-ascii-mode):
7131 * language/thai-util.el (thai-word-mode):
7132 * mail/supercite.el (sc-minor-mode):
7133 * net/goto-addr.el (goto-address-mode):
7134 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
7135 * progmodes/cwarn.el (cwarn-mode):
7136 * progmodes/flymake.el (flymake-mode):
7137 * progmodes/glasses.el (glasses-mode):
7138 * progmodes/hideshow.el (hs-minor-mode):
7139 * progmodes/pascal.el (pascal-outline-mode):
7140 * textmodes/enriched.el (enriched-mode):
7141 * vc/smerge-mode.el (smerge-mode):
7142 Doc fixes (minor mode argument).
7143
7144 2012-02-07 Eli Zaretskii <eliz@gnu.org>
7145
7146 * ls-lisp.el (ls-lisp-sanitize): New function.
7147 (ls-lisp-insert-directory): Use it to fix or remove any elements
7148 in file-alist with missing attributes. (Bug#4673)
7149
7150 2012-02-07 Alan Mackenzie <acm@muc.de>
7151
7152 Fix spurious recognition of c-in-knr-argdecl.
7153
7154 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
7155 putative K&R region.
7156
7157 2012-02-07 Alan Mackenzie <acm@muc.de>
7158
7159 * progmodes/cc-engine.el (c-forward-objc-directive):
7160 Prevent looping in "#pragma mark @implementation".
7161
7162 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
7163
7164 * notifications.el (notifications-on-closed-signal): Make `reason'
7165 optional. (Bug#10744)
7166
7167 2012-02-07 Glenn Morris <rgm@gnu.org>
7168
7169 * emacs-lisp/easy-mmode.el (define-minor-mode):
7170 Doc fixes for the macro and the mode it defines.
7171
7172 * image.el (imagemagick-types-inhibit): Doc fix.
7173
7174 * cus-start.el (imagemagick-render-type): Add it.
7175
7176 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
7177
7178 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
7179 Set the default at load time, too, so that `font-lock-fontify-buffer'
7180 can be called without setting up the entire mode first. This fixes
7181 a bug in `mm-inline-text' with C MIME parts.
7182
7183 2012-02-06 Chong Yidong <cyd@gnu.org>
7184
7185 * simple.el (list-processes--refresh): Delete exited processes
7186 (Bug#8094).
7187
7188 * comint.el (comint-next-prompt): next-single-char-property-change
7189 and prev-single-char-property-change never return nil (Bug#8657).
7190
7191 * custom.el (defcustom): Doc fix (Bug#9711).
7192
7193 2012-02-05 Chong Yidong <cyd@gnu.org>
7194
7195 * cus-edit.el (custom-variable-reset-backup): Quote the value
7196 before storing it in the customized-value property (Bug#6712).
7197 (custom-display): Add a customization type tag.
7198 (custom-buffer-create-internal): Improve tooltip message.
7199
7200 * wid-edit.el (widget-field-value-get): New optional arg to
7201 suppress trailing whitespace truncation.
7202 (character): Use it (Bug#2689).
7203
7204 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
7205
7206 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
7207 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
7208
7209 2012-02-05 Chong Yidong <cyd@gnu.org>
7210
7211 * cus-edit.el (custom-variable-value-create): For mismatched
7212 types, show the current value (Bug#7600).
7213
7214 * custom.el (defcustom): Doc fix.
7215
7216 2012-02-05 Glenn Morris <rgm@gnu.org>
7217
7218 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
7219
7220 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
7221
7222 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
7223 (pp-buffer): Use `ignore-errors', `looking-at-p'.
7224 (pp-last-sexp): Use `looking-at-p'.
7225
7226 2012-02-04 Glenn Morris <rgm@gnu.org>
7227
7228 * files.el (revert-buffer):
7229 Doc fix (mention revert-buffer-in-progress-p).
7230
7231 * emacs-lisp/ert-x.el (ert-simulate-command):
7232 Check deferred-action-list (which is obsolete) is bound.
7233
7234 * subr.el (with-wrapper-hook): Doc fixes.
7235
7236 * simple.el (filter-buffer-substring-functions)
7237 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
7238
7239 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
7240
7241 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
7242 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
7243
7244 2012-02-04 Leo Liu <sdl.web@gmail.com>
7245
7246 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
7247
7248 2012-02-04 Glenn Morris <rgm@gnu.org>
7249
7250 * image.el (image-extension-data): Add obsolete alias.
7251
7252 * isearch.el (isearch-update): Doc fix.
7253
7254 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
7255
7256 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
7257
7258 2012-02-03 Glenn Morris <rgm@gnu.org>
7259
7260 * image.el (image-animated-p): Doc fix. Use image-animated-types.
7261 (image-animate-timeout): Doc fix.
7262
7263 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
7264
7265 2012-02-02 Glenn Morris <rgm@gnu.org>
7266
7267 * server.el (server-auth-dir): Doc fix.
7268 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
7269
7270 * subr.el (run-mode-hooks): Doc fix.
7271
7272 2012-02-02 Juri Linkov <juri@jurta.org>
7273
7274 * image-mode.el (image-toggle-display-image): Remove tautological
7275 `major-mode' from the `derived-mode-p' test.
7276
7277 2012-02-02 Kenichi Handa <handa@m17n.org>
7278
7279 * composite.el (compose-region): Cancel previous change.
7280
7281 2012-02-02 Kenichi Handa <handa@m17n.org>
7282
7283 * composite.el (compose-region, compose-string): Signal error for
7284 a null string component (Bug#6988).
7285
7286 2012-02-01 Chong Yidong <cyd@gnu.org>
7287
7288 * view.el (view-buffer-other-window, view-buffer-other-frame):
7289 Handle special modes like view-buffer (Bug#10650).
7290 (view-buffer): Simplify.
7291
7292 * frame.el (set-frame-font): Tweak meaning of third argument.
7293
7294 * dynamic-setting.el (font-setting-change-default-font):
7295 Use set-frame-font (Bug#9982).
7296
7297 2012-02-01 Glenn Morris <rgm@gnu.org>
7298
7299 * progmodes/compile.el (compilation-internal-error-properties):
7300 Respect compilation-first-column in the "*compilation*" buffer.
7301
7302 * emacs-lisp/easy-mmode.el (define-minor-mode):
7303 Relax :variable's test for a named function.
7304
7305 2012-01-31 Alan Mackenzie <acm@muc.de>
7306
7307 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
7308 off by one error.
7309
7310 2012-01-31 Chong Yidong <cyd@gnu.org>
7311
7312 * frame.el (set-frame-font): New arg ALL-FRAMES.
7313
7314 * menu-bar.el (menu-set-font): Use set-frame-font.
7315
7316 * faces.el (face-spec-reset-face): Don't apply unspecified
7317 attribute values to the default face.
7318
7319 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
7320
7321 * progmodes/cwarn.el (cwarn): Remove dead link.
7322 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
7323 Remove * from defcustom docstrings.
7324 (turn-on-cwarn-mode): Make obsolete.
7325 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
7326 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
7327
7328 2012-01-31 Glenn Morris <rgm@gnu.org>
7329
7330 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
7331 Fix :variable handling of mode a symbol not equal to modefun.
7332 Allow named functions to be used as the cdr of :variable.
7333
7334 2012-01-30 Glenn Morris <rgm@gnu.org>
7335
7336 * emacs-lisp/authors.el (authors-fixed-entries):
7337 Remove reference to deleted file rnewspost.el.
7338
7339 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
7340
7341 * window.el (window-with-parameter): Remove unused variable `windows'.
7342 (window--side-check): Remove unused variable `code'.
7343 (window--resize-siblings): Remove unused variable `first'.
7344 (adjust-window-trailing-edge): Remove unused variable `failed'.
7345 (window-deletable-p, window--delete): Remove unused variable `buffer'.
7346 Use `let', not `let*'.
7347 (balance-windows-2): Remove unused variable `found'.
7348 (window--state-put-2): Remove unused variable `splits'.
7349 (window-state-put): Remove unused variable `selected'.
7350 (same-window-p): Use `string-match-p'.
7351 (display-buffer-assq-regexp): Remove unused variable `value'.
7352 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
7353 Mark argument ALIST as ignored.
7354 (pop-to-buffer): Remove unused variable `old-window'.
7355
7356 2012-01-29 Eli Zaretskii <eliz@gnu.org>
7357
7358 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
7359 and .lzma compressed files.
7360
7361 2012-01-29 Chong Yidong <cyd@gnu.org>
7362
7363 * frame.el (window-system-default-frame-alist): Doc fix.
7364
7365 * dynamic-setting.el (font-setting-change-default-font): Don't
7366 change the default face if SET-FONT argument is non-nil (Bug#9982).
7367
7368 2012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
7369
7370 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
7371
7372 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
7373
7374 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
7375 breakpoints in files outside current directory (Bug#6098).
7376
7377 2012-01-29 Chong Yidong <cyd@gnu.org>
7378
7379 * progmodes/python.el: Require ansi-color at top-level.
7380
7381 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
7382 Define and use in Emacs Lisp mode (Bug#9360).
7383 (lisp-mode-abbrev-table): Add doc.
7384 (lisp-mode-variables): Don't set local-abbrev-table.
7385 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
7386
7387 2012-01-28 Roland Winkler <winkler@gnu.org>
7388
7389 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
7390
7391 2012-01-28 Roland Winkler <winkler@gnu.org>
7392
7393 * textmodes/bibtex.el (bibtex-entry-alist): New function.
7394 (bibtex-set-dialect): Use it. Either set global values of
7395 dialect-dependent variables or bind these variables buffer-locally
7396 (Bug#10254).
7397 (bibtex-mode): Call bibtex-set-dialect via
7398 hack-local-variables-hook.
7399 (bibtex-dialect): Update docstring.
7400 Add safe-local-variable predicate.
7401 (bibtex-entry-alist, bibtex-field-alist): Initialize via
7402 bibtex-set-dialect.
7403 (bibtex-mode-map): Define menu for each dialect.
7404 (bibtex-entry): Fix docstring.
7405
7406 2012-01-28 Chong Yidong <cyd@gnu.org>
7407
7408 * eshell/esh-arg.el (eshell-quote-argument): New function.
7409
7410 * eshell/esh-ext.el (eshell-invoke-batch-file):
7411 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
7412 first arg to eshell-parse-command (Bug#10523).
7413
7414 2012-01-28 Drew Adams <drew.adams@oracle.com>
7415
7416 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
7417 `default-directory' is non-nil.
7418
7419 2012-01-28 Eli Zaretskii <eliz@gnu.org>
7420
7421 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
7422 line that displays system-configuration-options. (Bug#9924)
7423
7424 2012-01-28 Drew Adams <drew.adams@oracle.com>
7425
7426 * descr-text.el (describe-char): Show information about POS, in
7427 addition to information about the character at POS. Improve and
7428 update the doc string. Change "code point" to "code point in
7429 charset", to avoid confusion with the character's Unicode code
7430 point shown above that. (Bug#10129)
7431
7432 2012-01-28 Eli Zaretskii <eliz@gnu.org>
7433
7434 * descr-text.el (describe-char): Show the raw character, not only
7435 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
7436 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
7437 for the reasons.
7438
7439 2012-01-28 Phil Hagelberg <phil@hagelb.org>
7440
7441 * emacs-lisp/package.el (package-install):
7442 Run package-refresh-contents if there is no archive yet (Bug#9798).
7443
7444 2012-01-28 Chong Yidong <cyd@gnu.org>
7445
7446 * emacs-lisp/package.el (package-maybe-load-descriptor):
7447 New function, split from package-maybe-load-descriptor.
7448 (package-maybe-load-descriptor): Use it.
7449 (package-download-transaction): Fully load required packages
7450 inside the loop, so that `require' calls work (Bug#10593).
7451 (package-install): No need to call package-initialize now.
7452
7453 2012-01-28 Chong Yidong <cyd@gnu.org>
7454
7455 * simple.el (deactivate-mark): Doc fix (Bug#8614).
7456
7457 * tooltip.el (tooltip-mode): Doc fix.
7458 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
7459
7460 * frame.el (set-cursor-color): Doc fix (Bug#352).
7461
7462 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
7463 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
7464
7465 * cus-edit.el (custom-buffer-create-internal): Fix search button
7466 action (Bug#10542).
7467 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
7468
7469 2012-01-27 Eduard Wiebe <usenet@pusto.de>
7470
7471 * dired.el (dired-mark-files-regexp):
7472 Include any subdirectory components. (Bug#10445)
7473
7474 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
7475
7476 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
7477 Handle [host]:port syntax. (Bug#10533)
7478
7479 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
7480
7481 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
7482
7483 2012-01-26 Glenn Morris <rgm@gnu.org>
7484
7485 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
7486 * term.el (term-raw-escape-map): Use Control-X-prefix.
7487 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
7488
7489 2012-01-25 Martin Rudalics <rudalics@gmx.at>
7490
7491 * window.el (window-state-get, window--state-get-1): Don't deal
7492 with fixed-sizeness of windows. Simplify code.
7493
7494 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
7495
7496 * window.el (window--state-get-1, window--state-put-2):
7497 Don't save and restore the mark.
7498
7499 2012-01-25 Chong Yidong <cyd@gnu.org>
7500
7501 * custom.el (custom-variable-p): Doc fix.
7502
7503 2012-01-25 Glenn Morris <rgm@gnu.org>
7504
7505 * dired.el (dired-goto-file): Handle some of the more common
7506 characters that `ls -b' escapes. (Bug#10596)
7507
7508 * progmodes/compile.el (compilation-next-error-function):
7509 Respect compilation-first-column in the "*compilation*" buffer.
7510 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
7511
7512 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
7513
7514 2012-01-24 Glenn Morris <rgm@gnu.org>
7515
7516 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
7517
7518 2012-01-24 Julien Danjou <julien@danjou.info>
7519
7520 * color.el (color-rgb-to-hsl): Fix value computing.
7521 (color-hue-to-rgb): New function.
7522 (color-hsl-to-rgb): New function.
7523 (color-clamp, color-saturate-hsl, color-saturate-name)
7524 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
7525 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
7526
7527 2012-01-24 Glenn Morris <rgm@gnu.org>
7528
7529 * vc/vc-rcs.el (vc-rcs-create-tag):
7530 * vc/vc-sccs.el (vc-sccs-create-tag):
7531 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
7532
7533 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
7534
7535 * eshell/esh-util.el (eshell-read-hosts-file):
7536 Skip comment lines. (Bug#10549)
7537
7538 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
7539
7540 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
7541
7542 * subr.el (display-delayed-warnings): Doc fix.
7543 (collapse-delayed-warnings): New function to collapse identical
7544 adjacent warnings.
7545 (delayed-warnings-hook): Add it.
7546
7547 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
7548
7549 * net/tramp.el (tramp-action-login): Set connection property "login-as".
7550
7551 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
7552 (tramp-default-user-alist): Don't add "pscp".
7553 (tramp-do-copy-or-rename-file-out-of-band): Use connection
7554 property "login-as", if set. (Bug#10530)
7555
7556 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
7557
7558 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
7559 "plink1" and "psftp". (Bug#10530)
7560
7561 2012-01-21 Kenichi Handa <handa@m17n.org>
7562
7563 * international/mule-cmds.el (prefer-coding-system): Show a
7564 warning message if the default value of file-name-coding-system
7565 was not changed.
7566
7567 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
7568
7569 * windmove.el (windmove-reference-loc):
7570 Fix windmove-reference-loc miscalculation.
7571
7572 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
7573
7574 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
7575 default unit.
7576
7577 2012-01-21 Glenn Morris <rgm@gnu.org>
7578
7579 * international/mule.el (auto-coding-alist): Add .tbz.
7580
7581 * files.el (local-enable-local-variables): Doc fix.
7582 (inhibit-local-variables-regexps): Rename from
7583 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
7584 Doc fix. Add some extensions from auto-coding-alist.
7585 (inhibit-local-variables-suffixes):
7586 Rename from inhibit-first-line-modes-suffixes. Doc fix.
7587 (inhibit-local-variables-p):
7588 New function, extracted from set-auto-mode-1.
7589 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
7590 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
7591 (hack-local-variables): Doc fix. Make the mode-only case
7592 respect enable-local-variables and friends.
7593 Respect inhibit-local-variables-regexps for file-locals, but
7594 not for directory-locals.
7595 (set-visited-file-name):
7596 Take account of inhibit-local-variables-regexps.
7597 Whether it applies may change as the file name is changed.
7598 * jka-cmpr-hook.el (jka-compr-install):
7599 * jka-compr.el (jka-compr-uninstall):
7600 Update for inhibit-first-line-modes-suffixes name change.
7601
7602 2012-01-20 Martin Rudalics <rudalics@gmx.at>
7603
7604 * help-macro.el (make-help-screen): Temporarily restore original
7605 binding for minor-mode-map-alist (Bug#10454).
7606
7607 2012-01-19 Julien Danjou <julien@danjou.info>
7608
7609 * color.el (color-name-to-rgb): Use the white color to find the max
7610 color component value and return correctly computed values.
7611 (color-name-to-rgb): Add missing float conversion for max value.
7612
7613 2012-01-19 Martin Rudalics <rudalics@gmx.at>
7614
7615 * window.el (window--state-get-1, window-state-get): Do not use
7616 special state value for window-persistent-parameters.
7617 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
7618 (window--state-put-2): Reset all window parameters to nil before
7619 assigning values of persistent parameters.
7620
7621 2012-01-18 Alan Mackenzie <acm@muc.de>
7622
7623 Eliminate sluggishness and hangs in fontification of "semicolon
7624 deserts".
7625
7626 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
7627 Change value 10000 -> 3000.
7628 (c-state-safe-place): Reformulate so it doesn't stack up an
7629 infinite number of wrong entries in c-state-nonlit-pos-cache.
7630 (c-determine-limit-get-base, c-determine-limit): New functions to
7631 determine backward search limits disregarding literals.
7632 (c-find-decl-spots): Amend commenting.
7633 (c-cheap-inside-bracelist-p): New function which detects "={".
7634
7635 * progmodes/cc-fonts.el
7636 (c-make-font-lock-BO-decl-search-function): Give a limit to a
7637 backward search.
7638 (c-font-lock-declarations): Fix an occurrence of point being
7639 undefined. Check additionally for point being in a bracelist or
7640 near a macro invocation without a semicolon so as to avoid a
7641 fruitless time consuming search for a declarator. Give a more
7642 precise search limit for declarators using the new
7643 c-determine-limit.
7644
7645 2012-01-18 Glenn Morris <rgm@gnu.org>
7646
7647 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
7648 (set-auto-mode): Doc fixes.
7649
7650 2012-01-17 Glenn Morris <rgm@gnu.org>
7651
7652 * isearch.el (search-nonincremental-instead): Fix doc typo.
7653
7654 * dired.el (dired-insert-directory): Handle newlines in directory name.
7655 (dired-build-subdir-alist): Unescape newlines in directory name.
7656
7657 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
7658
7659 * net/tramp.el (tramp-local-end-of-line): New defcustom.
7660 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
7661 (tramp-action-terminal): Use it. (Bug#10530)
7662
7663 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
7664
7665 * minibuffer.el (completion--replace): Strip properties (bug#10062).
7666
7667 2012-01-16 Martin Rudalics <rudalics@gmx.at>
7668
7669 * window.el (window-state-ignored-parameters): Remove variable.
7670 (window--state-get-1): Rename argument MARKERS to IGNORE.
7671 Handle persistent window parameters. Make copy of clone-of
7672 parameter only if requested. (Bug#10348)
7673 (window--state-put-2): Install a window parameter only if it has
7674 a non-nil value or an existing parameter shall be overwritten.
7675
7676 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
7677
7678 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
7679
7680 2012-01-14 Eli Zaretskii <eliz@gnu.org>
7681
7682 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
7683 don't pass the (nil) value of `upnode' to string-match.
7684
7685 2012-01-14 Chong Yidong <cyd@gnu.org>
7686
7687 * startup.el (command-line): Fix X resource class for cursorColor.
7688 Fix values recognized by the cursorBlink resource.
7689
7690 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
7691
7692 * epg.el (epg--make-temp-file): Avoid permission race condition
7693 when running on old Emacs versions (bug#10403).
7694
7695 2012-01-14 Glenn Morris <rgm@gnu.org>
7696
7697 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
7698
7699 2012-01-13 Alan Mackenzie <acm@muc.de>
7700
7701 Fix filling for when filladapt mode is enabled.
7702
7703 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
7704 c-mask-paragraph, pass in `fill-paragraph' rather than
7705 `fill-region-as-paragraph'. (This is a reversion of a previous
7706 change.)
7707 * progmodes/cc-mode.el (c-basic-common-init):
7708 Make fill-paragraph-handle-comment buffer local and set it to nil.
7709
7710 2012-01-13 Glenn Morris <rgm@gnu.org>
7711
7712 * dired.el (dired-switches-escape-p): New function.
7713 (dired-insert-directory): Use dired-switches-escape-p.
7714 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
7715
7716 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
7717
7718 2012-01-12 Glenn Morris <rgm@gnu.org>
7719
7720 * mail/sendmail.el (mail-mode): Update paragraph-separate for
7721 changes in adaptive-fill-regexp. (Bug#10276)
7722
7723 2012-01-11 Alan Mackenzie <acm@muc.de>
7724
7725 Fix Emacs bug #10463 - put `widen's around the critical spots.
7726
7727 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
7728 widen around each invocation of c-state-pp-to-literal. Remove an
7729 unused let variable.
7730
7731 2012-01-11 Glenn Morris <rgm@gnu.org>
7732
7733 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
7734 Doc fix.
7735
7736 2012-01-10 Chong Yidong <cyd@gnu.org>
7737
7738 * net/network-stream.el (network-stream-open-starttls):
7739 Avoid emitting a confusing error message when the server gives a bad
7740 response to the capability command.
7741
7742 2012-01-10 Glenn Morris <rgm@gnu.org>
7743
7744 * mail/unrmail.el (unrmail): Tweak previous change.
7745
7746 2012-01-09 Chong Yidong <cyd@gnu.org>
7747
7748 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
7749
7750 2012-01-08 Alan Mackenzie <acm@muc.de>
7751
7752 Optimise font locking in long enum definitions.
7753
7754 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
7755 arm to a cond form to handle enums.
7756 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
7757 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
7758
7759 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
7760
7761 * files.el (move-file-to-trash): Preserve default file modes on error.
7762 (Bug#10401)
7763
7764 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
7765
7766 * faces.el (set-face-attribute): Clarify the meaning of the nil
7767 frame (bug#10294).
7768
7769 * subr.el (with-selected-frame): Mention that the selected frame
7770 is restored (bug#9980).
7771
7772 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
7773 (bug#9759).
7774
7775 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
7776 (password-read): Don't autoload unused function.
7777
7778 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
7779
7780 * progmodes/which-func.el (which-func-mode): Turn into a
7781 non-interactive function and mark as obsolete (bug#10428).
7782
7783 2012-01-06 Chong Yidong <cyd@gnu.org>
7784
7785 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
7786 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
7787 functions, along with 1 and -1.
7788
7789 2012-01-06 Eli Zaretskii <eliz@gnu.org>
7790
7791 * time.el (display-time-load-average)
7792 (display-time-default-load-average): Doc fixes. See the thread
7793 starting at
7794 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
7795 for the details.
7796
7797 2012-01-06 Glenn Morris <rgm@gnu.org>
7798
7799 * mail/unrmail.el (unrmail): Give an explicit error if the input file
7800 has no messages. (Bug#10377)
7801
7802 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
7803 than Info-edit. (Bug#10385)
7804
7805 * time.el (display-time-load-average, display-time-next-load-average):
7806 Doc fixes.
7807
7808 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
7809 local setting of buffer-read-only to the input buffer. (Bug#10419)
7810
7811 * calendar/calendar.el (calendar-mode):
7812 Locally set scroll-margin to 0. (Bug#10379)
7813
7814 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
7815
7816 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
7817
7818 2012-01-05 Glenn Morris <rgm@gnu.org>
7819
7820 * eshell/em-unix.el (diff-no-select): Autoload it.
7821 (eshell/diff): Use diff-no-select. (Bug#10420)
7822
7823 2012-01-05 Chong Yidong <cyd@gnu.org>
7824
7825 * shell.el (shell-dynamic-complete-functions): Revert last change.
7826 (shell-command-completion-function): New function.
7827 (shell-completion-vars): Use it to implement
7828 shell-completion-execonly (Bug#10417).
7829
7830 * custom.el (enable-theme): Don't set custom-safe-themes.
7831
7832 * cus-theme.el (custom-theme-merge-theme):
7833 Ignore custom-enabled-themes and custom-safe-themes.
7834
7835 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
7836
7837 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
7838 first prompt in `sql-interacive-mode'.
7839 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
7840 keywords.
7841 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
7842 (sql-product-interactive): Bug fix: Set `sql-buffer' in
7843 context of original buffer. Invoke `sql-login-hook'.
7844
7845 2012-01-04 Eli Zaretskii <eliz@gnu.org>
7846
7847 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
7848 letters in cite-prefix.
7849
7850 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7851
7852 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
7853
7854 2012-01-03 Chong Yidong <cyd@gnu.org>
7855
7856 * shell.el (shell-dynamic-complete-functions):
7857 Put pcomplete-completions-at-point, so as to try
7858 comint-filename-completion first (Bug#10417).
7859
7860 2012-01-02 Richard Stallman <rms@gnu.org>
7861
7862 * battery.el (battery-status-function):
7863 Detect when to use battery-yeeloong-sysfs.
7864 (battery-echo-area-format): Add string for Yeeloong.
7865 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
7866 (battery-yeeloong-sysfs): New function.
7867
7868 2012-01-02 Chong Yidong <cyd@gnu.org>
7869
7870 * dirtrack.el (dirtrack-list): Eliminate unused third element.
7871 (dirtrack): Merge code for handling relative filenames in prompt
7872 from shell-dir-cookie-watcher.
7873 (dirtrack-debug-message): New arg to avoid excess format calls.
7874
7875 * shell.el (shell-dir-cookie-re): Variable deleted.
7876 (shell-dir-cookie-watcher): Function deleted.
7877 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
7878 with dirtrack-mode.
7879
7880 2012-01-01 Eli Zaretskii <eliz@gnu.org>
7881
7882 * term/w32-win.el (dynamic-library-alist) <gnutls>:
7883 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
7884 libgnutls-26.dll.
7885
7886 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
7887
7888 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
7889
7890 2011-12-31 Eli Zaretskii <eliz@gnu.org>
7891
7892 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
7893 headers of non-MIME messages, when rmail-enable-mime is non-nil.
7894
7895 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
7896
7897 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
7898 also for alternative shells.
7899 (tramp-open-connection-setup-interactive-shell): Check, whether
7900 the shell is a busybox.
7901 (tramp-send-command): Don't suppress multiple prompts for
7902 busyboxes, it hurts.
7903
7904 2011-12-28 Chong Yidong <cyd@gnu.org>
7905
7906 * progmodes/gdb-mi.el (gdb-get-source-file-list)
7907 (gdb-get-source-file): Move mode line update to
7908 gdb-get-source-file (Bug#10087).
7909
7910 2011-12-25 Chong Yidong <cyd@gnu.org>
7911
7912 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
7913 gud-gdb-marker-filter without taking it as an argument.
7914 (gud-gdb-run-command-fetch-lines): Caller changed.
7915 (gud-gdb-completion-function): New variable.
7916 (gud-gdb-completion-at-point): Use it.
7917 (gud-gdb-completions-1): Split from gud-gdb-completions.
7918
7919 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
7920 function as separate arguments.
7921 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
7922 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
7923 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
7924 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
7925 (gdb-stopped, def-gdb-auto-update-trigger)
7926 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
7927 (gdb-get-changed-registers, gdb-get-main-selected-frame):
7928 Callers changed.
7929 (gud-gdbmi-completions): New function.
7930 (gdb): Use it for generating the completion table.
7931
7932 2011-12-24 Alan Mackenzie <acm@muc.de>
7933
7934 Introduce a mechanism to widen the region used in context font
7935 locking. Use this to protect declarations from losing their contexts.
7936
7937 * progmodes/cc-langs.el (c-before-font-lock-functions):
7938 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
7939 (c-before-context-fontification-functions): New defvar, a list of
7940 functions to be run just before context (etc.) font locking.
7941
7942 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
7943 New, functionality extracted from
7944 c-neutralize-syntax-in-and-mark-CPP.
7945 (c-in-after-change-fontification): New variable.
7946 (c-after-change): Set c-in-after-change-fontification.
7947 (c-set-fl-decl-start): Rejig its interface, so it can be called
7948 from both after-change and context fontifying.
7949 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
7950 New functions.
7951 (c-standard-font-lock-fontify-region-function): New variable.
7952 (c-font-lock-fontify-region): New function.
7953
7954 2011-12-24 Juri Linkov <juri@jurta.org>
7955
7956 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
7957 (Bug#10348)
7958
7959 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
7960
7961 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
7962 existence of source file. (Bug#10325)
7963
7964 2011-12-23 Alan Mackenzie <acm@muc.de>
7965
7966 Fix unstable fontification inside templates.
7967
7968 * progmodes/cc-langs.el (c-before-font-lock-functions):
7969 Newly created from the singular version. The (c c++ objc) entry now
7970 additionally has c-set-fl-decl-start. The other languages (apart
7971 from AWK) have that as a single entry.
7972
7973 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
7974 The functionality for "local" declarations has been extracted to
7975 c-set-fl-decl-start.
7976
7977 * progmodes/cc-mode.el (c-common-init, c-after-change):
7978 Changes due to pluralisation of c-before-font-lock-functions.
7979 (c-set-fl-decl-start): New function, extracted from
7980 c-font-lock-enclosing-decls and enhanced.
7981
7982 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
7983
7984 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
7985
7986 2011-12-22 Juri Linkov <juri@jurta.org>
7987
7988 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
7989
7990 2011-12-22 Chong Yidong <cyd@gnu.org>
7991
7992 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
7993
7994 2011-12-21 Drew Adams <drew.adams@oracle.com>
7995
7996 * files.el (file-remote-p): Fix docstring. (Bug#10319)
7997
7998 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
7999
8000 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
8001
8002 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
8003
8004 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
8005 highlighting and support. Fix up comments for capitalization.
8006 (cfengine-mode-debug): New var.
8007 (cfengine3-mode): Change the modeline indicator to "CFE3".
8008 (cfengine3-font-lock-keywords): Improve defun highlighting.
8009 (cfengine2-actions): Rename from `cfengine-actions'.
8010 (cfengine2-font-lock-keywords): Rename from
8011 `cfengine-font-lock-keywords'.
8012 (cfengine2-imenu-expression): Rename from
8013 `cfengine-imenu-expression'.
8014 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
8015 (cfengine2-beginning-of-defun): Rename from
8016 `cfengine-beginning-of-defun'.
8017 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
8018 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
8019 (cfengine2-mode): Rename from `cfengine-mode'. Change the
8020 modeline indicator to "CFE2".
8021 (cfengine-mode): Defalias to `cfengine-auto-mode'.
8022 (cfengine-mode-abbrevs): Mark obsolete.
8023
8024 2011-12-21 Chong Yidong <cyd@gnu.org>
8025
8026 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
8027 filename argument.
8028
8029 2011-12-20 Martin Rudalics <rudalics@gmx.at>
8030
8031 * window.el (window-normalize-buffer-to-display): Remove.
8032 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
8033
8034 2011-12-19 Chong Yidong <cyd@gnu.org>
8035
8036 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
8037 Don't signal an error in a predicate function; return non-nil.
8038 (vc-dir-mark-file): Move the error here.
8039 (vc-dir-mark-unmark): If acting on the region, keep going if one
8040 of the entries cannot be marked/unmarked.
8041 (vc-dir-mark-all-files): If current entry is a directory, mark
8042 only child files, as documented.
8043
8044 2011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
8045
8046 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
8047 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
8048 addition.
8049
8050 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
8051
8052 * term/ns-win.el (ns-get-selection-internal)
8053 (ns-store-selection-internal): Declare.
8054 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
8055 Declare as obsolete.
8056 (ns-get-pasteboard, ns-paste-secondary):
8057 Use ns-get-selection-internal.
8058 (ns-set-pasteboard, ns-copy-including-secondary):
8059 Use ns-store-selection-internal.
8060
8061 2011-12-17 Chong Yidong <cyd@gnu.org>
8062
8063 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
8064 (vc-deduce-fileset): Doc fix.
8065
8066 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
8067
8068 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
8069
8070 2011-12-13 Sam Steingold <sds@gnu.org>
8071
8072 * man.el (Man-getpage-in-background): When running under a
8073 window-system, ignore $MANWIDTH and $COLUMNS.
8074
8075 2011-12-15 Kenichi Handa <handa@m17n.org>
8076
8077 * language/ethio-util.el: Change coding tag to utf-8-emacs.
8078 (setup-ethiopic-environment-internal): Comment out key-binding for
8079 ethio-toggle-punctuation.
8080
8081 2011-12-13 Alan Mackenzie <acm@muc.de>
8082
8083 Add the switch statement to AWK Mode.
8084
8085 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
8086 "default" to the keywords regexp.
8087
8088 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
8089 expression as the rest.
8090 (c-nonlabel-token-key): Allow string literals for AWK.
8091 Refactor for the other modes.
8092
8093 Large brace-block initialisation makes CC Mode slow: Fix.
8094 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
8095 routines. Limit backward searching in c-font-lock-enclosing.decl.
8096
8097 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
8098 pp-state and literal type in addition to the limits.
8099 (c-state-safe-place): New defun, extracted from c-state-literal-at.
8100 (c-state-literal-at): Use the above new defun.
8101 (c-slow-in-literal, c-fast-in-literal): Remove.
8102 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
8103
8104 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
8105 being in a literal. Add a limit for backward searching.
8106
8107 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
8108 c-slow-in-literal.
8109
8110 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
8111
8112 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
8113
8114 2011-12-13 Martin Rudalics <rudalics@gmx.at>
8115
8116 * window.el (delete-other-windows): Use correct frame in call to
8117 window-with-parameter.
8118
8119 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
8120
8121 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
8122 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
8123 (makefile-gmake-statements, makefile-makepp-statements):
8124 Use it and add new makepp keywords.
8125 (makefile-makepp-font-lock-keywords): Add new patterns.
8126 (makefile-match-function-end): Match new [...] and [[...]].
8127
8128 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
8129
8130 * ses.el (ses-call-printer-return, ses-cell-property-get)
8131 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
8132 (ses-create-cell-variable, ses-reset-header-string)
8133 (ses-cell-set-formula, ses-repair-cell-reference-all)
8134 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
8135 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
8136 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
8137 (ses-aset-with-undo, ses-load, ses-truncate-cell)
8138 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
8139 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
8140 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
8141 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
8142 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
8143 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
8144 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
8145 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
8146
8147 2011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
8148
8149 * ses.el: The overall change is to add cell renaming, that is
8150 setting fancy names for cell symbols other than name matching
8151 "\\`[A-Z]+[0-9]+\\'" regexp .
8152 (ses-create-cell-variable): New defun.
8153 (ses-relocate-formula): Relocate formulas only for cells the
8154 symbols of which are not renamed, i.e. symbols whose names do not
8155 match regexp "\\`[A-Z]+[0-9]+\\'".
8156 (ses-relocate-all): Relocate values only for cells the symbols of
8157 which are not renamed.
8158 (ses-load): Create cells variables as the (ses-cell ...) are read,
8159 in order to check row col consistency with cell symbol name only
8160 for cells that are not renamed.
8161 (ses-replace-name-in-formula): New defun.
8162 (ses-rename-cell): New defun.
8163
8164 2011-12-11 Chong Yidong <cyd@gnu.org>
8165
8166 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
8167 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
8168
8169 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
8170
8171 * window.el (other-window): Fix docstring.
8172
8173 2011-12-10 Eli Zaretskii <eliz@gnu.org>
8174
8175 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
8176 `from' or `to' address before taking its substring.
8177 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
8178 encoded name is chopped in the middle of the encoded string, and
8179 thus displayed encoded.
8180
8181 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
8182
8183 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
8184
8185 2011-12-10 Eli Zaretskii <eliz@gnu.org>
8186
8187 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
8188 to use texinfo-update-node and commands that call it if the
8189 Texinfo file uses @node lines without next/prev/up pointers.
8190 Correct outdated description about texinfo-master-menu.
8191 (texinfo-all-menus-update, texinfo-master-menu)
8192 (texinfo-update-node, texinfo-every-node-update)
8193 (texinfo-multiple-files-update): Doc fix. Warn against updating
8194 all the @node lines.
8195 (texinfo-master-menu): Only call texinfo-update-node if the prefix
8196 argument is numeric. Explain better in the doc string what the
8197 function really does.
8198 (texinfo-insert-master-menu-list): Improve the error message
8199 displayed if there's no menu in the Top node.
8200 (Bug#2975) See also this thread:
8201 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
8202
8203 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
8204
8205 * speedbar.el (speedbar-supported-extension-expressions):
8206 Add .adb and .ads, commonly used for Ada source code (bug#10256).
8207
8208 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
8209
8210 * printing.el (pr-mode-alist):
8211 * simple.el (filter-buffer-substring-functions)
8212 (completion-list-insert-choice-function):
8213 * window.el (window-with-parameter, window-atom-root)
8214 (window-sides-slots, window-size-fixed, window-min-delta)
8215 (window-max-delta, window--resize-mini-window)
8216 (window--resize-child-windows-normal, window-tree)
8217 (delete-other-windows, quit-window, split-window)
8218 (display-buffer-record-window, special-display-buffer-names)
8219 (special-display-regexps, special-display-popup-frame)
8220 (same-window-p, split-window-sensibly)
8221 (display-buffer-overriding-action, display-buffer-alist)
8222 (display-buffer-base-action, display-buffer, switch-to-buffer)
8223 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
8224 (fit-window-to-buffer, recenter-positions)
8225 (mouse-autoselect-window-state, mouse-autoselect-window-select):
8226 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
8227 and remove unneeded backslashes in docstrings.
8228
8229 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
8230
8231 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
8232
8233 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
8234 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
8235 end in ".mk".
8236 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
8237 when reading the makefile (bug#10116).
8238
8239 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
8240
8241 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
8242 (bug#10116).
8243
8244 2011-12-06 Glenn Morris <rgm@gnu.org>
8245
8246 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
8247
8248 2011-12-06 Chong Yidong <cyd@gnu.org>
8249
8250 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
8251
8252 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
8253
8254 * textmodes/table.el (table-shorten-cell): Fix typo.
8255
8256 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
8257
8258 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
8259
8260 2011-12-05 Eli Zaretskii <eliz@gnu.org>
8261
8262 * descr-text.el (describe-char): Fix display of strong
8263 right-to-left characters and directional embeddings and overrides.
8264
8265 * simple.el (what-cursor-position): Fix display of codepoints of
8266 strong right-to-left characters.
8267
8268 2011-12-05 Chong Yidong <cyd@gnu.org>
8269
8270 * faces.el (read-color): Doc fix.
8271
8272 2011-12-05 Glenn Morris <rgm@gnu.org>
8273
8274 * align.el (align--set-marker): Add doc-string.
8275 Don't try to move something that is not a marker. (Bug#10216)
8276
8277 2011-12-04 Glenn Morris <rgm@gnu.org>
8278
8279 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
8280 overly zealous deletion of trailing whitespace.
8281
8282 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
8283
8284 * server.el (server-delete-client): On Windows, do not try to delete
8285 the only terminal.
8286 (server-process-filter): On Windows, treat requests for a tty frame as
8287 if they were for a GUI frame if the running server is in GUI mode.
8288
8289 2011-12-03 Glenn Morris <rgm@gnu.org>
8290
8291 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
8292
8293 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
8294
8295 * electric.el: Streamline electric-indent's hook.
8296 (electric-indent-chars): Revert to simple list.
8297 (electric-indent-functions): New var.
8298 (electric-indent-post-self-insert-function): Use it.
8299
8300 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
8301 there's no inferior buffer (bug#10196).
8302 (prolog-consult-compile): Don't use toggle-read-only.
8303
8304 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
8305
8306 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
8307 interrupt. (Bug#10187)
8308
8309 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
8310
8311 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
8312 (bug#9160).
8313
8314 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
8315 (bug#10191).
8316
8317 2011-12-02 Juri Linkov <juri@jurta.org>
8318
8319 * info.el (Info-search): Display "end of manual" when Isearch
8320 reaches the end of single-file Info manual. (Bug#9918)
8321
8322 2011-12-02 Eli Zaretskii <eliz@gnu.org>
8323
8324 * isearch.el (isearch-message-prefix): Run the input method part
8325 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
8326
8327 2011-12-02 Juri Linkov <juri@jurta.org>
8328
8329 * isearch.el (isearch-occur): Use `word-search-regexp' for
8330 `isearch-word'.
8331 (isearch-search-and-update): Add condition for `isearch-word' and
8332 call `word-search-regexp'. (Bug#10145)
8333
8334 2011-12-01 Glenn Morris <rgm@gnu.org>
8335
8336 * eshell/em-hist.el (eshell-hist-initialize):
8337 Handle eshell-history-size nil and HISTSIZE set or unset.
8338 (eshell-history-file-name, eshell-history-size): Fix custom type.
8339
8340 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
8341
8342 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
8343
8344 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
8345
8346 * progmodes/verilog-mode.el (verilog-pretty-expr):
8347 Rework verilog-pretty-expr to handle new assignment operators in system
8348 verilog, such as += *= and the like.
8349 (verilog-assignment-operator-re): Regular expression to find the
8350 assigment operator in a verilog assignment.
8351 (verilog-assignment-operation-re): Regular expression to find an
8352 assignment statement for pretty-expr.
8353 (verilog-in-attribute-p): Query returns true if point is in an
8354 attribute context; used to skip these for expression line up from
8355 pretty-expr.
8356 (verilog-in-parameter-p): Query returns true if point is in an
8357 parameter definition context; used to skip these for expression
8358 line up from pretty-expr.
8359 (verilog-in-parenthesis-p): Query returns true if point is in a
8360 parenthetical expression, specifically ( ) but not [ ] or { };
8361 used by pretty-expr.
8362 (verilog-just-one-space): If there is no space, don't add one.
8363 (verilog-get-lineup-indent-2): Specifically skip just attribute
8364 contexts for expression lineup, rather than skipping all
8365 parenthetical expressions.
8366 (verilog-calculate-indent): Fix comment, and fix indent.
8367 (verilog-do-indent): Indent declarations in lists (suggested by
8368 Joachim Lechner).
8369 (verilog-mode-abbrev-table): Populate abbrev mode with the various
8370 skeleton items.
8371 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
8372 by Alain Mellan).
8373
8374 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
8375
8376 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
8377 parameters with embedded comments. Reported by Ray Stevens.
8378 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
8379 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
8380 Reported by Tim Holt.
8381 (verilog-auto): Fix AUTOing a upper module then AUTOing module
8382 instantiated by upper module causing wrong expansion until AUTOed a
8383 second time. Reported by K C Buckenmaier.
8384 (verilog-diff-auto): Fix showing .* as a difference when
8385 `verilog-auto-star-save' off. Reported by Dan Dever.
8386 (verilog-auto-reset, verilog-read-always-signals)
8387 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
8388 temporary signals in reset list if
8389 verilog-auto-reset-blocking-in-non is nil, and match assignment
8390 style to each signal's assignment type, bug381.
8391 Reported by Thomas Esposito.
8392 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
8393 (verilog-uvm-statement-re): Support UVM indentation and
8394 highlighting, with old OVM keywords only.
8395 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
8396 Support AUTOTIEOFF creating non-wire data types.
8397 Suggested by Jonathan Greenlaw.
8398 (verilog-auto-insert-lisp, verilog-delete-to-paren)
8399 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
8400 (verilog-inject-sense, verilog-read-inst-pins)
8401 (verilog-read-sub-decls, verilog-read-sub-decls-line):
8402 Fix mismatching parenthesis inside commented out code when deleting
8403 AUTOINST, bug383. Reported by Jonathan Greenlaw.
8404 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
8405 non-numeric vector width. Reported by Alex Reed.
8406 (verilog-auto-ascii-enum): Add "onehot" option to work around not
8407 detecting signals with parameter widths. Reported by Alex Reed.
8408 (verilog-auto-delete-trailing-whitespace):
8409 With `verilog-auto-delete-trailing-whitespace' remove trailing
8410 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
8411 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
8412 Fix verilog-scan-cache corruption when running user AUTO expansion
8413 hooks that call indentation routines.
8414 (verilog-simplify-range-expression): Fix typo ignoring lower case
8415 identifiers.
8416 (verilog-delete-auto): Fix delete-autos to also remove user created
8417 automatics, as long as they start with AUTO.
8418 (verilog-batch-diff-auto, verilog-diff-auto)
8419 (verilog-diff-function): Add `verilog-diff-auto' and bind to
8420 "C-c?" to report differences in AUTO expansion, ignoring spaces.
8421 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
8422 (verilog-in-paren-quick, verilog-re-search-backward-quick)
8423 (verilog-re-search-forward-quick, verilog-syntax-ppss):
8424 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
8425 is disabled and its cache will get corrupt, causing AUTOS not to
8426 expand. Instead use only -quick functions.
8427 (verilog-scan-region): Fix scanning over escaped quotes.
8428 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
8429 (verilog-re-search-backward-quick)
8430 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
8431 related functions now ignore strings, to fix misparsing of strings
8432 with magic comments embedded in them.
8433 (verilog-read-auto-template):
8434 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
8435 Reported by Brad Dobbie.
8436 (verilog-read-auto-template):
8437 Fix 'verilog-auto-inst-template-numbers' with comments.
8438 Reported by Brad Dobbie.
8439 (verilog-auto-inst, verilog-auto-inst-param)
8440 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
8441 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
8442 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
8443 debugging templates without merge conflicts, bug357.
8444 Reported by Brad Dobbie.
8445 (verilog-read-auto-template):
8446 Fix verilog-auto-inst-template-numbers with multiple templates.
8447 Reported by Brad Dobbie.
8448 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
8449 abbrevs so user won't be asked to save.
8450 (verilog-read-auto-lisp-present): Fix to start at beginning of
8451 buffer in case called outside of verilog-auto.
8452 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
8453 to "X-2". Reported by Matthew Myers.
8454 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
8455 all inputs from module templates. Reported by Leith Johnson.
8456 (verilog-module-inside-filename-p): Fix locating programs as with
8457 modules.
8458 (verilog-auto-inst-port): Fix vl-width expressions when using
8459 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
8460 (verilog-decls-get-regs, verilog-decls-get-signals,
8461 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
8462 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
8463 verilog-read-decls): Combine reg and wire structures into one var
8464 structure to represent SystemVerilog concepts.
8465 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
8466 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
8467 (verilog-auto-wire-type, verilog-insert-definition):
8468 Add verilog-auto-wire-type and AUTOLOGIC to support using
8469 SystemVerilog "logic" keyword instead of "wire"/"reg".
8470 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
8471 to declares outputs that also have assignments (presumably in an
8472 ifdef or generate if so there's not a driver conflict).
8473 Reported by Matthew Myers.
8474 (verilog-auto-declare-nettype, verilog-insert-definition):
8475 Add verilog-auto-declare-nettype to fix declarations using
8476 `default_nettype none. Reported by Julian Gorfajn.
8477 (verilog-read-always-signals-recurse, verilog-read-decls)
8478 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
8479 malformed end statement, bug325. Reported by Joshua Wise and
8480 Andrew Drake.
8481 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
8482 (verilog-inst-comment-re): Fix not deleting Interfaced comment
8483 when expanding .* in interfaces, bug320.
8484 Reported by Pierre-David Pfister.
8485 (verilog-read-module-name): Fix import statements between module
8486 name and open parenthesis, bug317.
8487 Reported by Pierre-David Pfister.
8488 (verilog-simplify-range-expression): Fix simplification of
8489 multiplications inside AUTOWIRE connections, bug303.
8490 (verilog-auto-inst-port): Support parameter expansion in
8491 multidimensional arrays.
8492 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
8493 after "assert property". Reported by Julian Gorfajn.
8494 (verilog-simplify-range-expression): Fix "couldn't merge" errors
8495 with multiplication, bug303.
8496 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
8497 Reported by Jan Frode Lonnum.
8498
8499 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
8500
8501 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
8502 (hfy-shell-file-name, hfy-shell):
8503 * international/fontset.el (x-decompose-font-name): Fix typos.
8504
8505 2011-11-29 Ken Brown <kbrown@cornell.edu>
8506
8507 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
8508 (gdb-version): Remove defvar.
8509 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
8510 (gdb-gud-context-command, gdb-non-stop-handler)
8511 (gdb-current-context-command, gdb-stopped): Use it.
8512 (gdb-init-1): Enable pretty printing here.
8513 (gdb-non-stop-handler): Don't enable pretty-printing here.
8514 Check to see if the target supports non-stop mode; if not, turn off
8515 non-stop mode. Use the following.
8516 (gdb-check-target-async): New defun.
8517 (gud-watch, gdb-stopped): Fix whitespace.
8518 (gdb-get-source-file): Don't try to display the source file if
8519 `gdb-main-file' is nil.
8520
8521 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
8522
8523 * align.el: Try to generate fewer markers (bug#10047).
8524 (align--set-marker): New macro.
8525 (align-region): Use it.
8526
8527 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
8528
8529 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
8530
8531 2011-11-29 Chong Yidong <cyd@gnu.org>
8532
8533 * indent.el (indent-for-tab-command, indent-according-to-mode):
8534 Doc fix.
8535 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
8536
8537 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
8538
8539 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
8540 aware of remote file names. (Bug#10124)
8541
8542 2011-11-29 Chong Yidong <cyd@gnu.org>
8543
8544 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
8545
8546 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
8547
8548 * files.el (find-file): Don't use force-same-window (bug#10144).
8549 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
8550 use pop-to-buffer if the selected window can't be used.
8551 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
8552
8553 2011-11-28 Eli Zaretskii <eliz@gnu.org>
8554
8555 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
8556 special-mode-map.
8557
8558 2011-11-28 Chong Yidong <cyd@gnu.org>
8559
8560 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
8561
8562 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
8563
8564 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
8565 gdb-get-source-file-list on gdb-create-source-file-list.
8566
8567 2011-11-26 Eli Zaretskii <eliz@gnu.org>
8568
8569 * whitespace.el (whitespace-newline): Use a different foreground
8570 color for 16-color light-background displays.
8571
8572 2011-11-24 Chong Yidong <cyd@gnu.org>
8573
8574 * window.el (display-buffer--special-action): Doc fix.
8575
8576 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
8577
8578 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
8579 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
8580 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
8581 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
8582 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
8583 (avl-tree-stack-first):
8584 * emacs-lisp/cconv.el (cconv--analyse-use):
8585 * net/gnutls.el (gnutls-negotiate): Fix typos.
8586
8587 2011-11-24 Glenn Morris <rgm@gnu.org>
8588
8589 * lpr.el (lpr-windows-system, lpr-lp-system):
8590 * mail/binhex.el (binhex-begin-line):
8591 * progmodes/grep.el (grep-history, grep-find-history):
8592 * textmodes/flyspell.el:
8593 * vc/pcvs-defs.el (cvs-global-menu):
8594 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
8595 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
8596 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
8597
8598 * net/tls.el: Fix case of "GnuTLS".
8599
8600 * paths.el (rmail-file-name): Format doc-string for make-docfile.
8601
8602 * version.el (emacs-build-system): Give it a doc-string.
8603
8604 2011-11-24 Juri Linkov <juri@jurta.org>
8605
8606 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
8607
8608 2011-11-24 Glenn Morris <rgm@gnu.org>
8609
8610 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
8611 if called on a non-mime message just toggle the headers. (Bug#8006)
8612
8613 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
8614
8615 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
8616 (allout-lead-with-comment-string, allout-structure-deleted-hook)
8617 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
8618 (allout-rebullet-heading, allout-open-sibtopic)
8619 (allout-toggle-current-subtree-encryption)
8620 (allout-toggle-subtree-encryption, allout-encrypt-string)
8621 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
8622 (allout-distinctive-bullets-string, allout-auto-activation):
8623 * window.el (window-normalize-buffer-to-display):
8624 * progmodes/verilog-mode.el (verilog-batch-indent):
8625 * textmodes/bibtex.el (bibtex-field-braces-opt)
8626 (bibtex-field-strings-opt):
8627 * vc/cvs-status.el (cvs-tree-merge):
8628 Fix typos.
8629
8630 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
8631
8632 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
8633 `non-essential' to t, in order to avoid remote connections.
8634
8635 2011-11-23 Eli Zaretskii <eliz@gnu.org>
8636
8637 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
8638 On MS-DOS and MS-Windows, compare with loaddefs.el
8639 case-insensitively.
8640
8641 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
8642
8643 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
8644
8645 2011-11-23 Glenn Morris <rgm@gnu.org>
8646
8647 * paths.el (rmail-file-name): Reformat the doc-string so that it
8648 is picked up.
8649
8650 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
8651 (rmail-auto-file): Ignore case in the "special" field names,
8652 as mail-fetch-field does for all others.
8653
8654 * mail/rmail.el (rmail-forward):
8655 * mail/rmailkwd.el (rmail-set-label):
8656 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
8657 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
8658
8659 * mail/rmail.el (rmail-current-message): Doc fix.
8660
8661 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
8662
8663 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
8664
8665 * server.el (server-eval-and-print): Allow C-g (bug#6585).
8666
8667 2011-11-22 Glenn Morris <rgm@gnu.org>
8668
8669 * mail/rmailmm.el (test-rmail-mime-handler)
8670 (test-rmail-mime-bulk-handler)
8671 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
8672
8673 2011-11-21 Juri Linkov <juri@jurta.org>
8674
8675 * calc/calc.el (calc-read-key-sequence):
8676 Let-bind `input-method-function' to nil. (Bug#10018)
8677
8678 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
8679
8680 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
8681 Tell the caller that the next line needs recomputation, even
8682 though it doesn't start a sexp (bug#10094).
8683
8684 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
8685
8686 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
8687
8688 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
8689
8690 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
8691 Use force-same-window.
8692
8693 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
8694
8695 * descr-text.el (describe-char-unicode-data):
8696 * json.el (json-string-escape):
8697 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
8698 (Footnote-unicode, Footnote-style-p):
8699 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
8700
8701 2011-11-20 Chong Yidong <cyd@gnu.org>
8702
8703 * window.el (replace-buffer-in-windows): Restore interactive spec.
8704
8705 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
8706
8707 * electric.el (electric-indent-mode): Fix last change (too optimistic).
8708
8709 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
8710 (byte-compile-global-not-obsolete-vars): New var.
8711 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
8712 Use it.
8713 (byte-compile-warn-obsolete): Align text with the one in *Help*.
8714
8715 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
8716
8717 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
8718 * progmodes/pascal.el (electric-pascal-equal):
8719 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
8720 * xml.el (xml-substitute-special): Fix typos.
8721
8722 2011-11-20 Glenn Morris <rgm@gnu.org>
8723
8724 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
8725 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
8726 Doc fixes.
8727 (rmail-decode-mime-charset): Mark as obsolete.
8728
8729 * mail/rmailsum.el (rmail-message-regexp-p-1):
8730 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
8731 Before using mime functions, check they are set. (Bug#10077)
8732
8733 2011-11-19 Juri Linkov <juri@jurta.org>
8734
8735 * info.el (Info-finder-find-node): Use `package--builtins' instead
8736 of `package-alist'. Use node names formed by the pattern "Keyword "
8737 and the keyword name.
8738
8739 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
8740
8741 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
8742
8743 2011-11-19 Juri Linkov <juri@jurta.org>
8744
8745 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
8746 that calls `revert-buffer' on all Info buffers. (Bug#9915)
8747 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
8748 `old-history', `old-history-forward'. Add let-binding
8749 `window-selected'. Remove calls to `kill-buffer',
8750 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
8751 before calling `Info-find-node', so `Info-find-node-2' will reread
8752 the Info file. Restore window positions only when `window-selected'
8753 is non-nil.
8754
8755 2011-11-19 Juri Linkov <juri@jurta.org>
8756
8757 * isearch.el (isearch-lazy-highlight-new-loop):
8758 Remove condition `(not isearch-error)'. (Bug#9918)
8759
8760 * misearch.el (multi-isearch-search-fun): Add condition
8761 `(not bound)' to ignore lazy-highlighting search.
8762 Add the search-failed message "end of multi" when the end of
8763 multi-sequence is reached. Uncapitalize the search-failed
8764 message "Repeat for next buffer".
8765
8766 * info.el (Info-search): Add the search-failed message
8767 "end of the manual" when the end of the manual is reached
8768 in Isearch mode.
8769
8770 2011-11-19 Juri Linkov <juri@jurta.org>
8771
8772 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
8773 Use non-destructive `remove' instead of `delete' because
8774 `Info-history-list' stored to `Info-isearch-initial-history-list' in
8775 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
8776
8777 2011-11-19 Juri Linkov <juri@jurta.org>
8778
8779 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
8780 to nil instead of binding `search-ring' and `regexp-search-ring'.
8781 (Bug#9185)
8782
8783 2011-11-19 Eli Zaretskii <eliz@gnu.org>
8784
8785 * simple.el (line-move): Force movement by logical lines for any
8786 hscrolled window, not only when auto-hscroll-mode is on.
8787 (line-move-visual): Update doc string to that effect. (Bug#10076)
8788
8789 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
8790
8791 * language/european.el (macintosh): Define as alias for mac-roman.
8792
8793 2011-11-19 Eli Zaretskii <eliz@gnu.org>
8794
8795 * mail/rmailmm.el (rmail-mime-display-header)
8796 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
8797 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
8798 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
8799 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
8800 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
8801 of a raw aref.
8802 (rmail-mime-entity-segment): To get past the tagline, move forward
8803 2 more lines, to account for the 2 empty lines that precede and
8804 follow the line with the buttons.
8805 (rmail-mime-update-tagline): Move one more line, to get past the
8806 empty line that follows the buttons in the tagline. (Bug#9520)
8807
8808 2011-11-19 Martin Rudalics <rudalics@gmx.at>
8809
8810 * window.el (window-max-delta-1, window-min-delta-1)
8811 (window-min-size-1, window-state-get-1, window-state-put-1)
8812 (window-state-put-2): Use "window--" prefix.
8813
8814 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
8815
8816 * emacs-lisp/smie.el: Improve warnings and conflict detection.
8817 (smie-warning-count): New var.
8818 (smie-set-prec2tab): Use it.
8819 (smie-bnf->prec2): Improve warnings. Add docstring.
8820 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
8821 (smie-bnf--set-class): New function.
8822 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
8823 corner case.
8824
8825 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
8826 (compilation-error-properties, compilation-move-to-column):
8827 Handle compilation-first-column while in the target buffer.
8828
8829 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
8830 Don't hardcode point-min==1.
8831
8832 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
8833 (eshell-rewrite-for-command): Remove workaround.
8834 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
8835 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
8836 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
8837
8838 * files-x.el (modify-file-local-variable): Obey commenting conventions.
8839
8840 2011-11-17 Glenn Morris <rgm@gnu.org>
8841
8842 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
8843 Ignore buffer-local generated-autoload-file if it is the same
8844 as the global value. (Bug#10049)
8845
8846 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
8847
8848 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
8849 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
8850 (reftex-toc-previous-heading, reftex-toc-max-level)
8851 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
8852 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
8853 (reftex-toc-do-promote, reftex-toc-promote-prepare)
8854 (reftex-toc-promote-action, reftex-toc-extract-section-number)
8855 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
8856 (reftex-toc-rename-label, reftex-toc-visit-location)
8857 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
8858 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
8859 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
8860 leaving "*toc*" only for references to the buffer.
8861
8862 2011-11-17 Martin Rudalics <rudalics@gmx.at>
8863
8864 * window.el (window-resize, delete-window, split-window):
8865 Replace window-splits by window-combination-resize.
8866 * cus-start.el (window-splits): Replace by window-combination-resize.
8867
8868 2011-11-17 Glenn Morris <rgm@gnu.org>
8869
8870 * progmodes/sh-script.el (sh-font-lock-keywords-var):
8871 Make bash entry derive from sh entry, not shell entry.
8872
8873 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
8874
8875 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
8876 local file name.
8877
8878 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
8879
8880 * menu-bar.el (menu-bar-file-menu):
8881 * printing.el (pr-ps-utility):
8882 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
8883 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
8884 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
8885 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
8886 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
8887 (icalendar--convert-cyclic-to-ical)
8888 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
8889 (icalendar--convert-ical-to-diary)
8890 (icalendar--convert-recurring-to-diary)
8891 (icalendar--convert-non-recurring-all-day-to-diary)
8892 (icalendar-import-format-sample):
8893 * progmodes/idlw-shell.el (idlwave-shell-mode):
8894 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
8895 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
8896 (vhdl-ps-print-init): Fix typos.
8897
8898 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
8899
8900 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
8901 FSF and collapse date sequence, obscure author/maintainer email address
8902 better, remove extra version line, track relocation of author's webpage.
8903
8904 * progmodes/python.el (python-pdbtrack-input-prompt)
8905 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
8906 regular python pdb prompts. Adjustments shamelessly taken exactly as
8907 suggested in EmacsWiki page (tiny change):
8908 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8909
8910 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
8911
8912 * expand.el (expand-pos, expand-index, expand-point):
8913 Remove redundant info from docstring.
8914 (expand-add-abbrevs): Doc fix.
8915 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
8916 (expand-sample-perl-mode-expand-list): Fix typos.
8917
8918 * net/dbus.el (dbus-event-member-name):
8919 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
8920 * term/pc-win.el (msdos-create-frame-with-faces):
8921 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
8922
8923 2011-11-16 Martin Rudalics <rudalics@gmx.at>
8924
8925 * window.el (split-window, window-state-get-1)
8926 (window-state-put-1, window-state-put-2): Rename occurrences of
8927 window-nest to window-combination-limit.
8928 * cus-start.el (window-nest): Rename to window-combination-limit.
8929
8930 2011-11-16 Chong Yidong <cyd@gnu.org>
8931
8932 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
8933 regexp (Bug#10033).
8934
8935 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
8936
8937 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
8938 `completing-read' will remove *Completions* and will preserve
8939 current-buffer for us.
8940 (tmm-add-prompt): Users of *Completions* will always (re)set its
8941 major mode.
8942 (tmm-old-comp-map): Remove.
8943
8944 2011-11-16 Glenn Morris <rgm@gnu.org>
8945
8946 * mail/rmailedit.el: Require rmailmm when compiling.
8947 (rmail-old-mime-state): New declaration.
8948 (rmail-edit-current-message): If editing a mime message,
8949 edit the "raw" message from the mbox buffer.
8950 (rmail-cease-edit): Handle mime messages. (Bug#9840)
8951
8952 2011-11-15 Glenn Morris <rgm@gnu.org>
8953
8954 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
8955 which wasn't being used. Add optional arg to force given state.
8956 (rmail-mime): Add optional arg to force given state.
8957
8958 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
8959
8960 * allout.el (allout-encryption-plaintext-sanitization-regexps):
8961 * frame.el (display-mm-dimensions-alist):
8962 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
8963 (outline-move-subtree-down):
8964 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
8965 (newsticker--treeview-do-get-node):
8966 * net/quickurl.el (quickurl-list-buffer-name):
8967 * progmodes/dcl-mode.el (dcl-mode):
8968 * progmodes/gdb-mi.el (gdb-mapcar*):
8969 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
8970
8971 2011-11-15 Glenn Morris <rgm@gnu.org>
8972
8973 * mail/rmail.el (rmail-file-coding-system): It's only ever used
8974 in a boolean sense, so just make it a boolean, and fix the doc.
8975 (rmail-show-mime-function, rmail-mime-feature)
8976 (rmail-require-mime-maybe): Doc fixes.
8977 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
8978
8979 * mail/rmailmm.el (rmail-show-mime): Doc fix.
8980
8981 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
8982
8983 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
8984 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
8985 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
8986 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
8987
8988 2011-11-15 Glenn Morris <rgm@gnu.org>
8989
8990 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
8991 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
8992 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
8993 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
8994 (rmail-mime, rmail-show-mime): Doc fixes.
8995
8996 * term/ns-win.el (mode-line-frame-identification):
8997 Leave it alone. (Bug#10051)
8998
8999 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
9000
9001 * mail/rmailout.el (rmail-output-to-rmail-buffer):
9002 Handle empty buffers. (Bug#9978)
9003
9004 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
9005
9006 * international/mule.el (define-charset):
9007 * mail/rmailmm.el (rmail-mime-find-header-encoding):
9008 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
9009 * progmodes/verilog-mode.el (verilog-backward-token):
9010 * textmodes/ispell.el (lookup-words):
9011 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
9012
9013 2011-11-14 Glenn Morris <rgm@gnu.org>
9014
9015 * progmodes/executable.el
9016 (executable-make-buffer-file-executable-if-script-p):
9017 Handle file-modes returning nil.
9018
9019 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
9020 message - not necessary, and causes problems. (Bug#9831)
9021
9022 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
9023
9024 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
9025
9026 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
9027 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
9028 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
9029
9030 2011-11-12 Martin Rudalics <rudalics@gmx.at>
9031
9032 * window.el (window-resize, delete-window): Use window-splits
9033 variable instead of function.
9034 (window-state-get-1, window-state-put-2, window-state-put):
9035 Don't deal with windows' splits status.
9036
9037 2011-11-12 Glenn Morris <rgm@gnu.org>
9038
9039 * apropos.el (apropos-do-all, apropos-library, apropos-value)
9040 (apropos-documentation): Doc fixes.
9041
9042 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
9043
9044 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
9045 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
9046
9047 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
9048
9049 * electric.el (electric-indent-post-self-insert-function): Make it
9050 possible for a char to only indent in some circumstances.
9051 (electric-indent-mode): Simplify.
9052
9053 2011-11-11 Martin Rudalics <rudalics@gmx.at>
9054
9055 * window.el (windows-with-parameter): Remove unused function.
9056 (windows-at-side): Rename to window-at-side-list.
9057 (window-check, window-atom-check, window-atom-check-1)
9058 (window-side-check, window-size-ignore, window-size-fixed-1)
9059 (window-in-direction-2): Prefix with "window--".
9060 (window-tree-1): Rename to window--subtree, fix doc-string.
9061
9062 2011-11-11 Glenn Morris <rgm@gnu.org>
9063
9064 * subr.el (eval-after-load): If FILE is already loaded,
9065 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
9066
9067 2011-11-10 Glenn Morris <rgm@gnu.org>
9068
9069 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
9070 Call svn via vc-svn-command rather than vc-do-command.
9071 (vc-svn-command): Add --non-interactive. (Bug#9993)
9072 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
9073
9074 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
9075 Add toggle-read-only. (Bug#7292)
9076 * files.el (toggle-read-only): Mention that it should only
9077 be used interactively. (Bug#10006)
9078
9079 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
9080
9081 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9082 Adjust regexp for OCaml warnings.
9083
9084 * electric.el (electric-pair-post-self-insert-function): Let user
9085 turn it off buffer-locally (bug#9932).
9086
9087 * progmodes/python.el (python-beginning-of-statement):
9088 Rewrite (bug#2703).
9089
9090 * progmodes/compile.el: Better handle TABs (bug#9749).
9091 (compilation-internal-error-properties)
9092 (compilation-next-error-function): Obey the target buffer's
9093 compilation-error-screen-columns.
9094
9095 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
9096
9097 * progmodes/meta-mode.el: Remove obsolete comments.
9098 (meta-right-comment-regexp, meta-ignore-comment-regexp):
9099 Fix typos in docstrings.
9100
9101 2011-11-09 Martin Rudalics <rudalics@gmx.at>
9102
9103 * window.el (window-size-fixed-p): Rewrite doc-string.
9104 (window-resizable-p): Rename to window--resizable-p. Update callers.
9105 (window--resizable): New function. Make all callers of
9106 window-resizable call window--resizable instead.
9107 (window-resizable): Rewrite in terms of window--resizable.
9108
9109 2011-11-08 Glenn Morris <rgm@gnu.org>
9110
9111 * progmodes/delphi.el (delphi-mode-syntax-table):
9112 Let define-derived-mode define a proper syntax table. (Bug#9994)
9113
9114 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
9115
9116 * window.el: Stay away from defsubst.
9117 (window-list-no-nils): Remove.
9118 (window-state-get-1, window-state-get): Use backquote instead.
9119
9120 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9121
9122 * emacs-lisp/find-func.el (find-function-read):
9123 Fix incorrect use of default argument in `completing-read'.
9124
9125 2011-11-08 Martin Rudalics <rudalics@gmx.at>
9126
9127 * window.el (display-buffer-function, special-display-function):
9128 Mention display-buffer-record-window but do not mention
9129 help-setup parameter in doc-strings.
9130 (window-min-delta): Fix doc-string typo.
9131
9132 2011-11-08 Chong Yidong <cyd@gnu.org>
9133
9134 * window.el (window-total-height, window-total-width): Doc fix.
9135 (window-body-size): Move from C.
9136 (window-body-height, window-body-width): Move to C.
9137
9138 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
9139
9140 * window.el: Make special-display like display-buffer-alist (bug#9532).
9141 (display-buffer--special-action): New function, morphed
9142 from display-buffer--special.
9143 (display-buffer): Use it to handle special-display-buffers at higher
9144 priority (just after display-buffer-alist).
9145 (display-buffer-fallback-action, display-buffer--other-frame-action)
9146 (pop-to-buffer-same-window): Remove display-buffer--special.
9147
9148 2011-11-07 Glenn Morris <rgm@gnu.org>
9149
9150 * calendar/cal-menu.el (cal-menu-set-date-title):
9151 Do nothing if not in a calendar. (Bug#9976)
9152
9153 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
9154
9155 * files.el (find-file): Always use selected-window.
9156
9157 2011-11-07 Martin Rudalics <rudalics@gmx.at>
9158
9159 * window.el (window-combinations): Make WINDOW argument
9160 mandatory. Rewrite doc-string.
9161 (walk-window-subtree, window-atom-check, window-min-delta)
9162 (window-max-delta, window--resize-this-window)
9163 (window--resize-root-window-vertically, window-tree)
9164 (balance-windows, window-state-put): Rewrite doc-strings as to
9165 not mention the term "subwindow".
9166 (window--resize-subwindows-skip-p): Rename to
9167 window--resize-child-windows-skip-p.
9168 (window--resize-subwindows-normal): Rename to
9169 window--resize-child-windows-normal.
9170 (window--resize-subwindows): Rename to
9171 window--resize-child-windows.
9172 (window-or-subwindow-p): Rename to window--in-subtree-p.
9173
9174 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
9175
9176 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
9177 Ensure that mbox format messages end in two newlines (Bug#9974).
9178
9179 2011-11-06 Chong Yidong <cyd@gnu.org>
9180
9181 * window.el (window-combination-p): Function deleted; its
9182 side-effect is not used in any existing code.
9183 (window-combinations, window-combined-p): Call window-*-child
9184 directly.
9185
9186 2011-11-05 Chong Yidong <cyd@gnu.org>
9187
9188 * window.el (window-valid-p): Rename from window-any-p.
9189 (window-size-ignore, window-state-get): Callers changed.
9190 (window-normalize-window): Rename from window-normalize-any-window.
9191 New arg LIVE-ONLY, replacing window-normalize-live-window.
9192 (window-normalize-live-window): Delete.
9193 (window-combination-p, window-combined-p, window-combinations)
9194 (walk-window-subtree, window-atom-root, window-min-size)
9195 (window-sizable, window-sizable-p, window-size-fixed-p)
9196 (window-min-delta, window-max-delta, window-resizable)
9197 (window-resizable-p, window-full-height-p, window-full-width-p)
9198 (window-current-scroll-bars, window-point-1, set-window-point-1)
9199 (window-at-side-p, window-in-direction, window-resize)
9200 (adjust-window-trailing-edge, maximize-window, minimize-window)
9201 (window-deletable-p, delete-window, delete-other-windows)
9202 (record-window-buffer, unrecord-window-buffer)
9203 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
9204 (quit-window, split-window, window-state-put)
9205 (set-window-text-height, fit-window-to-buffer)
9206 (shrink-window-if-larger-than-buffer): Callers changed.
9207
9208 2011-11-04 Eli Zaretskii <eliz@gnu.org>
9209
9210 * mail/rmail.el (rmail-simplified-subject): Decode subject with
9211 rfc2047-decode-string.
9212 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
9213 warnings.
9214
9215 * window.el (window-body-height, window-body-width): Mention in
9216 the doc string that the return values are in frame's canonical
9217 units. (Bug#9949)
9218
9219 2011-11-03 Alan Mackenzie <acm@muc.de>
9220
9221 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
9222 change in cc-engine.el.
9223
9224 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
9225
9226 * window.el (switch-to-buffer): Use `force-same-window' interactively.
9227
9228 2011-11-02 Martin Rudalics <rudalics@gmx.at>
9229
9230 * window.el (quit-window): Call unrecord-window-buffer after
9231 showing another buffer in the window. (Bug#9937)
9232 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
9233
9234 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
9235
9236 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
9237 Accept status with more than 9 shelves. (Bug#9935)
9238 Reported by Colin D Bennett <colin@gibibit.com>.
9239
9240 2011-11-01 Martin Rudalics <rudalics@gmx.at>
9241
9242 * help.el (with-help-window): Don't reference
9243 temp-buffer-show-specifiers in doc-string.
9244
9245 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
9246
9247 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
9248 menu-item.
9249
9250 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
9251
9252 * whitespace.el: New version 13.2.2.
9253 (whitespace-newline-mode): Disable properly. Reported by Sarah
9254 <EmacsWiki>.
9255
9256 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
9257
9258 * net/newst-treeview.el: Remove "Time-stamp".
9259 (newsticker--group-manage-orphan-feeds): Do not call
9260 newsticker--treeview-tree-update.
9261 (newsticker-treeview-update, newsticker-treeview):
9262 Call newsticker--treeview-tree-update if necessary.
9263
9264 2011-10-30 Martin Rudalics <rudalics@gmx.at>
9265
9266 * window.el (window-iso-combination-p, window-iso-combined-p)
9267 (window-iso-combinations): Remove "iso-" infix.
9268 Suggested by Chong Yidong.
9269 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
9270 (window-max-delta-1, window-resize, window--resize-siblings)
9271 (window--resize-this-window, adjust-window-trailing-edge)
9272 (split-window, balance-windows-1)
9273 (shrink-window-if-larger-than-buffer):
9274 * calendar/calendar.el (calendar-generate-window):
9275 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
9276
9277 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
9278
9279 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
9280 in place (bug#9907).
9281 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
9282 (eshell-rewrite-if-command, eshell-rewrite-for-command)
9283 (eshell-structure-basic-command, eshell-rewrite-while-command)
9284 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
9285 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
9286 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
9287 (eshell-do-pipelines-synchronously, eshell-eval-command):
9288 Use backquotes and prefer setq to set.
9289 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
9290 (eshell-macrop): Use functionp.
9291 (eshell-do-eval): Handle multiple expressions in `while' body.
9292
9293 2011-10-30 Chong Yidong <cyd@gnu.org>
9294
9295 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
9296 instead of set-mark (Bug#9810).
9297
9298 2011-10-30 Chong Yidong <cyd@gnu.org>
9299
9300 * window.el (split-window-below, split-window-right): Rename from
9301 split-window-above-each-other and split-window-side-by-side
9302 respectively. All callers changed.
9303 (split-window-sensibly, split-window-sensibly): Use them.
9304 (split-window-keep-point): Doc fix.
9305
9306 * isearch.el: Add isearch-scroll property to split-window-below
9307 and split-window-right.
9308
9309 * follow.el (follow-mode):
9310 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
9311 * progmodes/ada-xref.el (ada-gdb-application):
9312 * emulation/vip.el (vip-buffer-in-two-windows):
9313 * image-dired.el (image-dired-dired-with-window-configuration):
9314 * dired-x.el (dired-do-find-marked-files):
9315 * dired.el (dired-pop-to-buffer):
9316 * bs.el (bs--show-with-configuration):
9317 * vc/emerge.el (emerge-setup-windows):
9318 * textmodes/two-column.el (2C-two-columns):
9319 * textmodes/reftex-toc.el (reftex-toc):
9320 * progmodes/gdb-mi.el (gdb-setup-windows):
9321 * progmodes/fortran.el (fortran-window-create):
9322 * net/newst-treeview.el (newsticker--treeview-window-init):
9323 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
9324 * emulation/tpu-edt.el (tpu-gold-map):
9325 * emulation/crisp.el (crisp-mode-map):
9326 * calendar/calendar.el (calendar-basic-setup): Callers changed.
9327
9328 2011-10-29 Chong Yidong <cyd@gnu.org>
9329
9330 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
9331
9332 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
9333
9334 * textmodes/flyspell.el (flyspell-word): Fix char offset for
9335 forged Ispell output (Bug#7904).
9336
9337 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
9338
9339 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
9340
9341 * doc-view.el: Avoid ugly errors about not finding nil.
9342 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
9343 (doc-view-dvipdf-program, doc-view-unoconv-program)
9344 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
9345 Avoid nil or absolute file name as default value.
9346 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
9347
9348 2011-10-28 Alan Mackenzie <acm@muc.de>
9349
9350 * progmodes/cc-defs.el (c-version): -> 5.32.2.
9351
9352 2011-10-28 Alan Mackenzie <acm@muc.de>
9353
9354 Amend the handling of c-beginning/end-of-defun in nested declaration
9355 scopes.
9356
9357 * progmodes/cc-vars.el (c-defun-tactic): Move here from
9358 cc-langs.el. Change it to a defcustom.
9359
9360 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
9361 cc-vars.el.
9362
9363 * progmodes/cc-engine.el (c-beginning-of-statement-1):
9364 Prevent "class foo : bar" being spuriously recognized as a label.
9365
9366 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
9367 Add parameter `inclusive' (to include enclosing braces in the region).
9368 (c-widen-to-enclosing-decl-scope): New function.
9369 (c-while-widening-to-decl-block): New macro.
9370 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
9371 outward for defun boundaries, and correspondingly change symbol
9372 `respect-enclosure' to `go-outward'.
9373 (c-declaration-limits): Change algorithm to report only the "innermost"
9374 defun's boundaries.
9375
9376 2011-10-28 Deniz Dogan <deniz@dogan.se>
9377
9378 * net/rcirc.el (rcirc-mode): Use hard newlines.
9379
9380 2011-10-28 Alan Mackenzie <acm@muc.de>
9381
9382 Amend to indent and fontify macros "which include their own semicolon"
9383 correctly, using the "virtual semicolon" mechanism.
9384
9385 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
9386
9387 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
9388 Recode to scan one line at a time rather than having \n and \r
9389 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
9390 (c-forward-label): Amend for virtual semicolons.
9391 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
9392
9393 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
9394 of the new C macros.
9395
9396 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
9397 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
9398 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
9399 (c-opt-cpp-macro-define): Make into a full language variable.
9400 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
9401 AWK Mode (including \n, \r) removed, no longer needed.
9402
9403 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
9404 Invoke c-make-macro-with-semi-re.
9405
9406 * progmodes/cc-vars.el (c-macro-with-semi-re):
9407 (c-macro-names-with-semicolon): New variables.
9408 (c-make-macro-with-semi-re): New function.
9409
9410 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
9411
9412 * vc/log-edit.el: Fill empty field rather than adding new one.
9413 (log-edit-add-field): New function.
9414 (log-edit-insert-changelog): Use it.
9415
9416 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
9417
9418 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
9419
9420 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
9421
9422 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
9423 (gdb--check-interpreter): New function.
9424 (gdb): Use it.
9425
9426 2011-10-27 Glenn Morris <rgm@gnu.org>
9427
9428 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
9429 (least-positive-float, least-negative-float)
9430 (least-positive-normalized-float, least-negative-normalized-float)
9431 (float-epsilon, float-negative-epsilon):
9432 Remove unnecessary declarations.
9433
9434 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
9435 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
9436 (least-positive-float, least-negative-float)
9437 (least-positive-normalized-float, least-negative-normalized-float)
9438 (float-epsilon, float-negative-epsilon): Add doc-strings,
9439 based on those in cl.texi.
9440
9441 * files.el (set-visited-file-name): If the major-mode changed,
9442 reload the local variables. (Bug#9796)
9443
9444 2011-10-27 Chong Yidong <cyd@gnu.org>
9445
9446 * subr.el (change-major-mode-after-body-hook): New hook.
9447 (run-mode-hooks): Run it.
9448
9449 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
9450 Use change-major-mode-before-body-hook.
9451
9452 * simple.el (fundamental-mode):
9453 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
9454 change introducing fundamental-mode-hook.
9455
9456 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
9457
9458 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
9459
9460 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
9461
9462 * ido.el (ido-file-name-all-completions-1): Do not require
9463 tramp.el explicitly. (Bug#7583)
9464
9465 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
9466
9467 * progmodes/octave-mod.el:
9468 * progmodes/octave-inf.el: Update maintainer.
9469
9470 2011-10-26 Chong Yidong <cyd@gnu.org>
9471
9472 * subr.el (with-wrapper-hook): Rewrite doc.
9473
9474 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
9475
9476 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
9477 filenames "/method:foo:". (Bug#9793)
9478
9479 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
9480
9481 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
9482 (bug#9865).
9483
9484 2011-10-24 Glenn Morris <rgm@gnu.org>
9485
9486 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
9487
9488 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
9489
9490 * notifications.el: Add the requirement of a running D-Bus session
9491 bus to the Commentary.
9492
9493 2011-10-24 Juri Linkov <juri@jurta.org>
9494
9495 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
9496 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
9497 (Bug#9364)
9498
9499 2011-10-24 Juri Linkov <juri@jurta.org>
9500
9501 * info.el (Info-following-node-name-re): Add newline to the list
9502 of allowed characters for leading space. (Bug#9824)
9503
9504 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
9505
9506 * progmodes/octave-inf.el (inferior-octave-mode-map):
9507 Fix C-c C-h binding.
9508 * progmodes/octave-mod.el (octave-help): Remove.
9509
9510 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
9511
9512 Sync with Tramp 2.2.3.
9513
9514 * net/tramp-cache.el (top): Pacify byte-compiler using
9515 `init-file-user' and `site-run-file'.
9516
9517 * net/trampver.el: Update release number.
9518
9519 2011-10-23 Chong Yidong <cyd@gnu.org>
9520
9521 * files.el (toggle-read-only): Remove obsolete comment about
9522 version control.
9523
9524 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
9525 for toggle-read-only. Note that this hasn't called vc-next-action
9526 since 2008-05-02, though it wasn't documented at the time.
9527
9528 * vc/ediff-init.el (ediff-toggle-read-only-function):
9529 Use toggle-read-only.
9530
9531 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
9532
9533 Fix bug #9560, sporadic wrong indentation; improve instrumentation
9534 of c-parse-state.
9535
9536 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
9537 correct faulty logical expression.
9538 (c-parse-state-state, c-record-parse-state-state):
9539 (c-replay-parse-state-state): New defvar/defuns.
9540 (c-debug-parse-state): Use new functions.
9541
9542 2011-10-22 Martin Rudalics <rudalics@gmx.at>
9543
9544 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
9545 last fix. Use window-in-direction correctly.
9546
9547 2011-10-21 Chong Yidong <cyd@gnu.org>
9548
9549 * progmodes/idlwave.el (idlwave-mode):
9550 * progmodes/vera-mode.el (vera-mode): No need to set
9551 require-final-newline; that's done in prog-mode.
9552 Suggested by Stefan Monnier.
9553
9554 2011-10-21 Martin Rudalics <rudalics@gmx.at>
9555
9556 * mouse.el (mouse-drag-window-above)
9557 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
9558 (mouse-drag-mode-line-1, mouse-drag-header-line)
9559 (mouse-drag-vertical-line-rightward-window): Remove.
9560 (mouse-drag-line): New function.
9561 (mouse-drag-mode-line, mouse-drag-header-line)
9562 (mouse-drag-vertical-line): Call mouse-drag-line.
9563 * window.el (window-at-side-p, windows-at-side): New functions.
9564
9565 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
9566
9567 * tar-mode.el (tar-grind-file-mode):
9568 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
9569
9570 2011-10-21 Chong Yidong <cyd@gnu.org>
9571
9572 * progmodes/idlwave.el (idlwave-mode):
9573 * progmodes/vera-mode.el (vera-mode):
9574 Use mode-require-final-newline.
9575
9576 2011-10-20 Glenn Morris <rgm@gnu.org>
9577
9578 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
9579
9580 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
9581
9582 * emulation/cua-base.el (cua-set-mark): Fix case of string.
9583
9584 2011-10-20 Chong Yidong <cyd@gnu.org>
9585
9586 * emulation/cua-base.el (cua-mode):
9587 * mail/footnote.el (footnote-mode):
9588 * mail/mailabbrev.el (mail-abbrevs-mode):
9589 * net/xesam.el (xesam-minor-mode):
9590 * progmodes/bug-reference.el (bug-reference-mode):
9591 * progmodes/cap-words.el (capitalized-words-mode):
9592 * progmodes/compile.el (compilation-minor-mode)
9593 (compilation-shell-minor-mode):
9594 * progmodes/gud.el (gud-tooltip-mode):
9595 * progmodes/hideif.el (hide-ifdef-mode):
9596 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
9597 * progmodes/subword.el (subword-mode):
9598 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
9599 * progmodes/which-func.el (which-function-mode):
9600 * term/tvi970.el (tvi970-set-keypad-mode):
9601 * term/vt100.el (vt100-wide-mode):
9602 * textmodes/flyspell.el (flyspell-mode):
9603 * textmodes/ispell.el (ispell-minor-mode):
9604 * textmodes/nroff-mode.el (nroff-electric-mode):
9605 * textmodes/paragraphs.el (use-hard-newlines):
9606 * textmodes/refill.el (refill-mode):
9607 * textmodes/reftex.el (reftex-mode):
9608 * textmodes/rst.el (rst-minor-mode):
9609 * textmodes/sgml-mode.el (html-autoview-mode)
9610 (sgml-electric-tag-pair-mode):
9611 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
9612 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
9613 * emulation/crisp.el (crisp-mode):
9614 * emacs-lisp/eldoc.el (eldoc-mode):
9615 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
9616 minor mode behavior.
9617
9618 2011-10-19 Juri Linkov <juri@jurta.org>
9619
9620 * descr-text.el (describe-char): Add #x2010 and #x2011 to
9621 the list of hard-coded chars with escape-glyph face.
9622
9623 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
9624
9625 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
9626
9627 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
9628
9629 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
9630 running process.
9631
9632 2011-10-19 Glenn Morris <rgm@gnu.org>
9633
9634 * vc/vc-bzr.el (vc-bzr-after-dir-status):
9635 Ignore ignored files. (Bug#9726)
9636
9637 2011-10-19 Chong Yidong <cyd@gnu.org>
9638
9639 Doc fix for minor modes, stating that an omitted argument enables
9640 the mode unconditionally when called from Lisp.
9641
9642 * abbrev.el (abbrev-mode):
9643 * allout.el (allout-mode):
9644 * autoinsert.el (auto-insert-mode):
9645 * autoarg.el (autoarg-mode, autoarg-kp-mode):
9646 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
9647 (global-auto-revert-mode):
9648 * battery.el (display-battery-mode):
9649 * composite.el (global-auto-composition-mode)
9650 (auto-composition-mode):
9651 * delsel.el (delete-selection-mode):
9652 * desktop.el (desktop-save-mode):
9653 * dired-x.el (dired-omit-mode):
9654 * dirtrack.el (dirtrack-mode):
9655 * doc-view.el (doc-view-minor-mode):
9656 * double.el (double-mode):
9657 * electric.el (electric-indent-mode, electric-pair-mode):
9658 * emacs-lock.el (emacs-lock-mode):
9659 * epa-hook.el (auto-encryption-mode):
9660 * follow.el (follow-mode):
9661 * font-core.el (font-lock-mode):
9662 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
9663 * help.el (temp-buffer-resize-mode):
9664 * hilit-chg.el (highlight-changes-mode)
9665 (highlight-changes-visible-mode):
9666 * hi-lock.el (hi-lock-mode):
9667 * hl-line.el (hl-line-mode, global-hl-line-mode):
9668 * icomplete.el (icomplete-mode):
9669 * ido.el (ido-everywhere):
9670 * image-file.el (auto-image-file-mode):
9671 * image-mode.el (image-minor-mode):
9672 * iswitchb.el (iswitchb-mode):
9673 * jka-cmpr-hook.el (auto-compression-mode):
9674 * linum.el (linum-mode):
9675 * longlines.el (longlines-mode):
9676 * master.el (master-mode):
9677 * mb-depth.el (minibuffer-depth-indicate-mode):
9678 * menu-bar.el (menu-bar-mode):
9679 * minibuf-eldef.el (minibuffer-electric-default-mode):
9680 * mouse-sel.el (mouse-sel-mode):
9681 * msb.el (msb-mode):
9682 * mwheel.el (mouse-wheel-mode):
9683 * outline.el (outline-minor-mode):
9684 * paren.el (show-paren-mode):
9685 * recentf.el (recentf-mode):
9686 * reveal.el (reveal-mode, global-reveal-mode):
9687 * rfn-eshadow.el (file-name-shadow-mode):
9688 * ruler-mode.el (ruler-mode):
9689 * savehist.el (savehist-mode):
9690 * scroll-all.el (scroll-all-mode):
9691 * scroll-bar.el (scroll-bar-mode):
9692 * server.el (server-mode):
9693 * shell.el (shell-dirtrack-mode):
9694 * simple.el (auto-fill-mode, transient-mark-mode)
9695 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
9696 (line-number-mode, column-number-mode, size-indication-mode)
9697 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
9698 * strokes.el (strokes-mode):
9699 * time.el (display-time-mode):
9700 * t-mouse.el (gpm-mouse-mode):
9701 * tool-bar.el (tool-bar-mode):
9702 * tooltip.el (tooltip-mode):
9703 * type-break.el (type-break-mode-line-message-mode)
9704 (type-break-query-mode):
9705 * view.el (view-mode):
9706 * whitespace.el (whitespace-mode, whitespace-newline-mode)
9707 (global-whitespace-mode, global-whitespace-newline-mode):
9708 * xt-mouse.el (xterm-mouse-mode): Doc fix.
9709
9710 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
9711 Fix autogenerated docstring.
9712
9713 2011-10-19 Juri Linkov <juri@jurta.org>
9714
9715 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
9716 by checking environment variables "DESKTOP_SESSION" and
9717 "XDG_CURRENT_DESKTOP". (Bug#9779)
9718
9719 2011-10-19 Juri Linkov <juri@jurta.org>
9720
9721 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
9722 (browse-url-chromium-program, browse-url-chromium-arguments):
9723 New defcustoms.
9724 (browse-url-default-browser): Check for `browse-url-chromium' and
9725 call `browse-url-chromium-program'.
9726 (browse-url-chromium): New command. (Bug#9779)
9727
9728 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
9729
9730 * facemenu.el (list-colors-duplicates): On Windows, detect more
9731 duplicates by assuming that only colors matching "^System" are
9732 special "system colors". (Bug#9722)
9733
9734 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
9735
9736 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
9737 to distinguish the author from the committer.
9738
9739 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
9740
9741 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
9742
9743 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
9744
9745 * international/mule.el (sgml-html-meta-auto-coding-function):
9746 Add support for detecting encoding in HTML5 specified only as
9747 <meta charset="UTF-8">. Implementation just makes http-equiv and
9748 content-type parts from HTML4 encoding string optional. (Bug#9716)
9749
9750 2011-10-18 Glenn Morris <rgm@gnu.org>
9751
9752 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
9753
9754 2011-10-18 Chong Yidong <cyd@gnu.org>
9755
9756 * faces.el (cursor): Doc fix.
9757
9758 2011-10-17 Chong Yidong <cyd@gnu.org>
9759
9760 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
9761
9762 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
9763
9764 * dirtrack.el (dirtrack): Support shell buffers with path
9765 prefixes, e.g. tramp-based remote shells. (Bug#9647)
9766
9767 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
9768
9769 * json.el: Bump version to 1.3 and note change in History.
9770 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
9771
9772 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
9773
9774 * comint.el (comint-insert-input, comint-send-input)
9775 (comint-get-old-input-default, comint-backward-matching-input)
9776 (comint-next-prompt): Use nil instead of `input' for field property of
9777 past user input (bug#114).
9778
9779 * minibuffer.el (completion--replace): Inherit surrounding properties
9780 (bug#114).
9781 (minibuffer-complete-and-exit): Use it.
9782
9783 * comint.el (comint--table-subvert): Quote the all-completions output
9784 (bug#9160).
9785
9786 2011-10-17 Martin Rudalics <rudalics@gmx.at>
9787
9788 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
9789
9790 * menu-bar.el (menu-bar-file-menu): Add entry for making new
9791 window on right of selected. (Bug#9350) Reword other window
9792 entries and separate them from frame entries.
9793
9794 2011-10-15 Glenn Morris <rgm@gnu.org>
9795
9796 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
9797 Doc fixes.
9798
9799 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
9800
9801 * net/network-stream.el (network-stream-open-starttls):
9802 Improve detection of failure due to lack of TLS support.
9803
9804 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
9805 putting the input text in front and in bold.
9806
9807 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
9808
9809 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
9810
9811 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
9812 empty buffer.
9813
9814 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
9815 unread-command-events rather than pushing yet-another event.
9816
9817 2011-10-14 Eli Zaretskii <eliz@gnu.org>
9818
9819 * mail/sendmail.el (sendmail-query-once): Improve the wording of
9820 the explanation of the possible choices. Make the options passed
9821 to completing-read shorter.
9822
9823 2011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9824
9825 * textmodes/flyspell.el (flyspell-large-region): Make sure
9826 extended character mode is used if defined (Bug#1339).
9827
9828 2011-10-13 Eli Zaretskii <eliz@gnu.org>
9829
9830 * simple.el (what-cursor-position): Fix the display of the
9831 character info for LRE, LRO, RLE, and RLO characters by appending
9832 an invisible PDF.
9833
9834 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
9835
9836 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
9837 even in case of error; add debug spec; simplify data flow.
9838 (with-timeout-handler): Remove.
9839
9840 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
9841
9842 Fix Bug#6019, Bug#9315.
9843
9844 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
9845 complete `buffer-file-name', the local file name part could look
9846 remotely (for example on VMS).
9847
9848 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
9849 `tramp-run-real-handler'.
9850 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
9851 already quoted by '"'.
9852
9853 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
9854 Let `file-name-handler-alist' be nil, the local file name part
9855 could look remotely (for example on VMS).
9856
9857 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
9858
9859 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
9860 from here...
9861 (flyspell-post-command-hook): ...to here.
9862
9863 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
9864
9865 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
9866 if not needed.
9867 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
9868 using completion. Protect against "slow" callers.
9869 Remove the "message hack".
9870
9871 2011-10-11 Juri Linkov <juri@jurta.org>
9872
9873 * isearch.el (isearch-lazy-highlight-word): New variable.
9874 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
9875 Use it. (Bug#9727)
9876
9877 2011-10-11 Glenn Morris <rgm@gnu.org>
9878
9879 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
9880 like f90-previous-statement does.
9881
9882 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9883
9884 * eshell/eshell.el (eshell-command): History should be saved
9885 only in interactive use, to avoid error.
9886
9887 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
9888
9889 * minibuffer.el (completion-file-name-table): Fix last change,
9890 i.e. ignore normal errors but not the other ones.
9891
9892 2011-10-10 Martin Rudalics <rudalics@gmx.at>
9893
9894 * window.el (special-display-buffer-names)
9895 (special-display-regexps): Remove some remnants of earlier
9896 changes from doc-strings.
9897 (quit-windows-on): New function.
9898
9899 * vc/vc.el (vc-revert, vc-rollback):
9900 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
9901 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9902 (Bug#6183) (Bug#7074) (Bug#7447)
9903
9904 2011-10-09 Martin Rudalics <rudalics@gmx.at>
9905
9906 * window.el (frame-auto-hide-function): Add version tag.
9907 (Bug#9699)
9908
9909 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
9910
9911 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
9912 condition.
9913
9914 2011-10-09 Leo Liu <sdl.web@gmail.com>
9915
9916 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
9917 (Bug#9701)
9918
9919 2011-10-08 Glenn Morris <rgm@gnu.org>
9920
9921 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
9922 before the first code statement zero indent. (Bug#9690)
9923
9924 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
9925
9926 * simple.el (count-words-region): Always count in the region.
9927 Report the number of lines and characters too.
9928 (count-words): New command, which counts in the buffer if the
9929 region is inactive, as count-words-region used to.
9930 (count-words--message): New function. Handle plurals.
9931 (count-lines-region): Make it an alias for count-words-region.
9932
9933 * bindings.el (esc-map): Replace count-lines-region with
9934 count-words-region.
9935
9936 2011-10-08 Martin Rudalics <rudalics@gmx.at>
9937
9938 * window.el (window--delete): Delete dedicated frame
9939 unconditionally when argument KILL is non-nil. (Bug#9699)
9940 (switch-to-buffer): Fix doc-string typo.
9941
9942 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9943
9944 * eshell/eshell.el (eshell-command): Avoid using hooks.
9945
9946 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
9947
9948 * bindings.el ([M-left],[M-right]): Bind to left-word and
9949 right-word respectively.
9950
9951 2011-10-07 Glenn Morris <rgm@gnu.org>
9952
9953 * cus-start.el (debug-on-quit): Fix custom type.
9954
9955 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
9956
9957 * subr.el (define-key-after): Clarify that the function is not
9958 useful for non-menu keymaps.
9959
9960 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
9961
9962 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9963
9964 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
9965 in current minibuffer (Fix bug with recursive minibuffers).
9966
9967 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
9968
9969 * progmodes/gdb-mi.el (gdb): Doc fix.
9970
9971 2011-10-05 Martin Rudalics <rudalics@gmx.at>
9972
9973 * window.el (frame-auto-hide-function): New option replacing
9974 frame-auto-delete. Suggested by Stefan Monnier.
9975 (window--delete): Call frame-auto-hide-function instead of
9976 investigating frame-auto-delete.
9977 (window-point-1, set-window-point-1): New functions.
9978 (window-in-direction, record-window-buffer, window-state-get-1)
9979 (display-buffer-record-window): Use window-point-1 instead of
9980 window-point.
9981 (set-window-buffer-start-and-point): Use set-window-point-1.
9982
9983 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
9984
9985 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
9986
9987 2011-10-05 Glenn Morris <rgm@gnu.org>
9988
9989 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
9990 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
9991
9992 2011-10-05 Leo Liu <sdl.web@gmail.com>
9993
9994 * subr.el (read-char-choice): Fix argument to buffer-live-p which
9995 works with buffer object.
9996
9997 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
9998
9999 * mpc.el (mpc-tool-bar-map): Add labels.
10000
10001 2011-10-04 Glenn Morris <rgm@gnu.org>
10002
10003 * calendar/holidays.el (calendar-check-holidays): Doc fix.
10004
10005 2011-10-04 Martin Rudalics <rudalics@gmx.at>
10006
10007 * window.el (window--delete): New function.
10008 (frame-auto-delete): Resuscitate option.
10009 (bury-buffer, replace-buffer-in-windows)
10010 (quit-window): Rewrite using window--delete.
10011 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
10012 Pass display-buffer-mark-dedicated to window--display-buffer-2
10013 (Bug#9639).
10014
10015 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
10016
10017 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
10018 returns a list (bug#9554). Add remote file name completion.
10019 * comint.el (comint--table-subvert): Curry and get quote&unquote
10020 functions as arguments.
10021 (comint--complete-file-name-data): Adjust call accordingly.
10022 * pcomplete.el (pcomplete--table-subvert): Remove.
10023 (pcomplete-completions-at-point): Use comint--table-subvert instead.
10024
10025 * minibuffer.el (completion-table-case-fold): Use currying.
10026 (completion--styles-type, completion--cycling-threshold-type):
10027 New constants.
10028 (completion-styles, completion-category-overrides)
10029 (completion-cycle-threshold): Use them.
10030 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
10031 completion-table-case-fold.
10032
10033 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
10034
10035 * minibuffer.el (completion-category-overrides): Fix type of styles
10036 and add more user friendly tags (bug#9660).
10037
10038 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
10039
10040 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
10041 (mule-input-method-string): New widget.
10042 (default-input-method, language-info-custom-alist): Use it.
10043
10044 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
10045
10046 * pcomplete.el: Require comint.
10047 (pcomplete--common-suffix): Remove.
10048 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
10049 (pcomplete--table-subvert): Sync with comint--table-subvert.
10050 (pcomplete--entries): Use comint-completion-file-name-table.
10051 * comint.el (comint-unquote-filename): Simplify.
10052 (comint-completion-file-name-table): New function (bug#9616).
10053 (comint--complete-file-name-data): Use it.
10054
10055 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
10056 (pcmpl-gnu-tar-buffer): Remove.
10057 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
10058 around. Make sure pcomplete-suffix-list is only changed temporarily.
10059 Don't look inside the tar's file if it's too large.
10060
10061 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
10062
10063 * cus-edit.el (custom-mode-map):
10064 * epa.el (epa-key-list-mode-map):
10065 * man.el (Man-mode-map):
10066 * startup.el (splash-screen-keymap):
10067 * simple.el (special-mode-map): Use scroll-up-command and
10068 scroll-down-command.
10069
10070 * progmodes/idlw-help.el (idlwave-help-mode-map):
10071 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
10072 * net/newst-plainview.el (newsticker-mode-map):
10073 * emulation/ws-mode.el (wordstar-mode-map):
10074 * emulation/vi.el (vi-com-map):
10075 * calc/calc-graph.el (calc-graph-show-dumb):
10076 * term/sun.el (terminal-init-sun):
10077 * term/ns-win.el (global-map):
10078 * progmodes/grep.el (grep-mode-map):
10079 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
10080 * mail/rmail.el (rmail-mode-map):
10081 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
10082
10083 * custom.el (custom-safe-themes, load-theme): Treat value of t for
10084 custom-safe-themes as special.
10085
10086 2011-10-01 Julien Danjou <julien@danjou.info>
10087
10088 * notifications.el (notifications-notify): Fix docstring.
10089
10090 2011-10-01 Per Starbäck <per@starback.se>
10091
10092 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
10093
10094 2011-09-30 Martin Rudalics <rudalics@gmx.at>
10095
10096 * startup.el (command-line-1): Fix last fix by inserting
10097 initial-scratch-message into *scratch* before displaying it.
10098 (Bug#9605) and (Bug#9636)
10099
10100 2011-09-29 Eli Zaretskii <eliz@gnu.org>
10101
10102 * simple.el (line-move): If auto-hscroll-mode is disabled and the
10103 window is hscrolled, move by logical lines. (Bug#9607)
10104 (line-move-visual): Update the doc string to the above effect.
10105
10106 2011-09-29 Martin Rudalics <rudalics@gmx.at>
10107
10108 * window.el (display-buffer-record-window): When WINDOW is the
10109 selected window use `point' instead of `window-point'. (Bug#9626)
10110
10111 * startup.el (command-line-1): Use insert-before-markers when
10112 inserting initial-scratch-message. (Bug#9605)
10113
10114 * help.el (help-window): Remove variable.
10115
10116 2011-09-29 Glenn Morris <rgm@gnu.org>
10117
10118 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
10119
10120 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
10121
10122 * descr-text.el (describe-char-categories): Accept category
10123 descriptions more than one line long.
10124
10125 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
10126
10127 * simple.el (delete-trailing-whitespace): Fix last change.
10128
10129 * progmodes/perl-mode.el (perl-syntax-propertize-function):
10130 Don't confuse "y => 3" as the beginning of a `y' operation.
10131
10132 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
10133 object has more than 4 slots (bug#9613).
10134
10135 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
10136
10137 * subr.el (with-output-to-temp-buffer):
10138 * net/quickurl.el (quickurl, quickurl-browse-url):
10139 Fix typos in docstrings.
10140
10141 2011-09-27 Eli Zaretskii <eliz@gnu.org>
10142
10143 * minibuffer.el (completion-styles)
10144 (completion-category-overrides): Cross reference each other in doc
10145 strings.
10146
10147 2011-09-27 Glenn Morris <rgm@gnu.org>
10148
10149 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
10150 to split-string. (Bug#9606)
10151
10152 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
10153
10154 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
10155 (bug#9615).
10156
10157 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
10158
10159 * emacs-lisp/package.el (list-packages): Fix echo area message.
10160
10161 2011-09-27 Leo Liu <sdl.web@gmail.com>
10162
10163 * ido.el (ido-read-internal): Accept cons cell HIST arg.
10164
10165 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
10166
10167 * net/dbus.el (dbus-unregister-object): Don't release services for
10168 registered signals. (Bug#9581)
10169
10170 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
10171
10172 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
10173 function that picks between cfengine 2 and 3 support
10174 automatically. Update docs accordingly.
10175
10176 2011-09-22 Kenichi Handa <handa@m17n.org>
10177
10178 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
10179 ZERO.
10180 (indian-itrans-v5-table-for-tamil): New variable.
10181 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
10182
10183 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
10184
10185 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
10186 that's true if the current command involved collapsing of text.
10187 It's reset to false at the beginning of the next command.
10188 (allout-post-command-business): Move the cursor to the beginning
10189 of entry if the cursor is hidden and collapsing activity just
10190 happened.
10191
10192 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
10193
10194 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
10195 tracking (Bug#9541).
10196
10197 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
10198
10199 * net/newst-reader.el (newsticker-html-renderer)
10200 (newsticker-show-news): Automatically load html rendering package
10201 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
10202 because w3m-fill-column is let-bound" and the error "Symbol's value
10203 as variable is void: w3m-fill-column".
10204
10205 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
10206
10207 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
10208 Release services only if they are defined. (Bug#9581)
10209
10210 2011-09-23 Richard Stallman <rms@gnu.org>
10211
10212 * textmodes/paragraphs.el (forward-sentence): For backwards case,
10213 distinguish start of paragraph from start of its text.
10214
10215 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
10216
10217 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
10218 (rmail-generate-viewer-buffer): Put that hook on view buffer.
10219 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
10220
10221 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
10222
10223 * international/mule-diag.el (mule-diag): Insert a newline after
10224 each fontset description.
10225
10226 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
10227
10228 * simple.el (delete-trailing-whitespace):
10229 Document last change; simplify.
10230
10231 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
10232
10233 * simple.el (delete-trailing-whitespace): Also delete
10234 extra newlines at the end of the buffer.
10235
10236 * textmodes/picture.el: Make motion commands obey shift-select-mode.
10237 (picture-newline): Use forward-line so as to ignore fields.
10238
10239 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
10240
10241 * subr.el (with-wrapper-hook): Fix edebug spec.
10242
10243 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
10244
10245 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
10246 (bug#4538).
10247
10248 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
10249
10250 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
10251 Fix nasty bug using wrong cached values.
10252
10253 2011-09-23 Alan Mackenzie <acm@muc.de>
10254
10255 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
10256
10257 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
10258
10259 * window.el (pop-to-buffer): Ensure right window is selected if we
10260 chose another frame.
10261
10262 2011-09-22 Eli Zaretskii <eliz@gnu.org>
10263
10264 * simple.el (what-cursor-position): Use get-char-property-change
10265 and next-single-char-property-change, to be able to show display
10266 properties that come from overlays as well as text properties.
10267
10268 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
10269
10270 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
10271
10272 * cmuscheme.el (run-scheme, switch-to-scheme):
10273 * cus-edit.el (customize-group, custom-buffer-create)
10274 (customize-browse):
10275 * info.el (info):
10276 * shell.el (shell):
10277 * mail/sendmail.el (mail):
10278 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
10279
10280 2011-09-22 Richard Stallman <rms@gnu.org>
10281
10282 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
10283 move back only to line beg, don't move back over blank lines.
10284
10285 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
10286
10287 * files.el (copy-directory): Set directory attributes only in case
10288 they could be retrieved from the source directory. (Bug#9565)
10289
10290 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
10291
10292 * progmodes/hideshow.el (hs-looking-at-block-start-p)
10293 (hs-find-block-beginning, hs-hide-level-recursive):
10294 Ignore strings as well as comments. (Bug#9502)
10295
10296 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
10297
10298 * progmodes/sql.el (sql-comint-postgres):
10299 Convert port number to a string. (Bug#9566)
10300
10301 2011-09-22 Martin Rudalics <rudalics@gmx.at>
10302
10303 * window.el (quit-window): Undedicate window when switching to
10304 previous buffer. Reported by Thierry Volpiatto
10305 <thierry.volpiatto@gmail.com>.
10306 (special-display-popup-frame): When popping up a new frame reset
10307 its previous buffers to nil. Simplify code.
10308
10309 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
10310
10311 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
10312 and process filter, as done also in `shell-command'.
10313
10314 2011-09-21 Martin Rudalics <rudalics@gmx.at>
10315
10316 * window.el (set-window-buffer-start-and-point):
10317 Call set-window-start with NOFORCE argument t.
10318 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
10319 (quit-window): Reword doc-string. Handle new format of
10320 quit-restore parameter. Don't delete window if it has a
10321 previous buffer we can show instead of the present one.
10322 (display-buffer-record-window): Rewrite using a new format for
10323 the quit-restore window parameter
10324 (special-display-popup-frame, display-buffer-same-window)
10325 (display-buffer-reuse-window, display-buffer-pop-up-frame)
10326 (display-buffer-pop-up-window, display-buffer-use-some-window):
10327 Adapt symbol passed to display-buffer-record-window.
10328 * help.el (help-window-setup): Handle new format of quit-restore
10329 parameter.
10330
10331 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
10332
10333 * faces.el (face-list): Fix docstring (bug#9564).
10334
10335 * window.el (display-buffer--action-function-custom-type):
10336 Don't include internal functions in the Custom interface.
10337
10338 2011-09-20 Juri Linkov <juri@jurta.org>
10339
10340 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
10341 (Info-forward-node, Info-backward-node, Info-next-preorder)
10342 (Info-last-preorder): Use it. (Bug#9528)
10343
10344 2011-09-20 Juri Linkov <juri@jurta.org>
10345
10346 * info.el (Info-last-preorder): Visit last menu item only when
10347 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
10348
10349 2011-09-20 Julien Danjou <julien@danjou.info>
10350
10351 * password-cache.el (password-cache-remove): Remove entries even if the
10352 value is nil, so that password with a nil value (negative caching) is
10353 possible to invalidate.
10354
10355 2011-09-20 Lawrence Mitchell <wence@gmx.li>
10356
10357 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
10358 all whitespace around breakpoint. (Bug#9553)
10359 (f90-find-breakpoint): Only break at whitespace inside a comment.
10360
10361 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
10362
10363 * minibuffer.el (completion-file-name-table): Keep track of errors.
10364 (completion-table-with-predicate): Handle the case where pred1 is nil.
10365 * pcomplete.el (pcomplete-completions-at-point): Simplify.
10366
10367 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
10368
10369 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
10370 (debugger-return-value): Signal an error if the debugging context does
10371 not await any return value.
10372
10373 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
10374 * image-mode.el (image-toggle-display-text)
10375 (image-toggle-display-image): Stay away from evil `intangible'.
10376
10377 2011-09-19 Leo Liu <sdl.web@gmail.com>
10378
10379 * replace.el (occur-revert-arguments): Make it permanent-local.
10380 (occur-mode): Don't call font-lock-defontify.
10381
10382 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
10383
10384 * net/ldap.el (ldap-search-internal): Don't push empty search
10385 result (Bug#9508).
10386
10387 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
10388
10389 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
10390
10391 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
10392
10393 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
10394 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
10395
10396 2011-09-18 Juri Linkov <juri@jurta.org>
10397
10398 * buff-menu.el (Buffer-menu-mode-map):
10399 * dired.el (dired-mode-map):
10400 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
10401 (lisp-interaction-mode-map):
10402 * emacs-lisp/package.el (package-menu-mode-map):
10403 * epa.el (epa-key-list-mode-map):
10404 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
10405 (menu-bar-options-menu):
10406 * outline.el (outline-mode-menu-bar-map):
10407 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
10408 * vc/vc-dir.el (vc-dir-menu-map):
10409 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
10410 Capitalize non-function content words in menu item strings.
10411
10412 * dired.el (dired-mode-map): Add menu item for
10413 `image-dired-dired-toggle-marked-thumbs'.
10414
10415 2011-09-18 Juri Linkov <juri@jurta.org>
10416
10417 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
10418 to `isearch-case-fold-search' and restore its original value
10419 after the `isearch-mode' call.
10420
10421 2011-09-18 Juri Linkov <juri@jurta.org>
10422
10423 * progmodes/grep.el (grep-process-setup): Don't check code for 1
10424 because `zgrep' returns 1 for successful matches (bug#9226).
10425
10426 2011-09-18 Juri Linkov <juri@jurta.org>
10427
10428 * info.el (Info-extract-menu-node-name): Check the second match
10429 for empty string (second test-case of bug#9528).
10430 (Info-last-preorder): Let-bind `Info-history' to nil to not add
10431 intermediate nodes to the history (first test-case of bug#9528).
10432
10433 2011-09-18 Juri Linkov <juri@jurta.org>
10434
10435 * info.el (Info-mode-syntax-table): New variable.
10436 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
10437
10438 2011-09-18 Juri Linkov <juri@jurta.org>
10439
10440 * info.el (Info-file-supports-index-cookies):
10441 Increment line-beginning-position's arg from 3 to 4 because makeinfo
10442 outputs one more line for long file names (bug#4142).
10443
10444 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
10445
10446 * newcomment.el (comment-normalize-vars): If prompting for
10447 comment-start, set comment-start-skip too (Bug#8424).
10448
10449 2011-09-18 Johan Bockgård <bojohan@gnu.org>
10450
10451 * icomplete.el: Fix previous fix of Bug#5849.
10452 (icomplete-mode): Don't set completion-show-inline-help.
10453 (icomplete-minibuffer-setup): Set completion-show-inline-help
10454 locally during icompletion.
10455
10456 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
10457
10458 * woman.el (woman2-process-escapes): Don't delete unrecognized
10459 escapes (Bug#7843).
10460
10461 * files.el (inhibit-first-line-modes-regexps): Add image files.
10462 (hack-local-variables-prop-line): Return nil for malformed
10463 prop-lines (Bug#9044).
10464
10465 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
10466
10467 * net/tramp.el (top): Don't require 'shell.
10468 (tramp-methods): Fix docstring.
10469 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
10470 Return complete remote file name. Handle "smb" case.
10471 Use `tramp-tmpdir', if defined for the respective method.
10472 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
10473
10474 * net/tramp-compat.el (top): Require 'shell.
10475
10476 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
10477 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
10478 `tramp-current-host'.
10479 (tramp-get-remote-tmpdir): Remove.
10480
10481 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
10482 `tramp-tmpdir' entries.
10483 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
10484 (tramp-smb-handle-file-attributes): Ignore errors.
10485 (tramp-smb-wait-for-output): Check also for process end.
10486
10487 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
10488
10489 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
10490 when sending QUIT (bug#9312).
10491
10492 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
10493
10494 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
10495 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
10496 occur-mode-display-occurrence.
10497 (occur-edit-mode): Add usage message.
10498 (occur-cease-edit): New command.
10499 (occur-after-change-function): Use text properties to find the
10500 position of the prefix text.
10501 (occur-engine): Set stickiness of prefix text properties.
10502
10503 2011-09-17 Glenn Morris <rgm@gnu.org>
10504
10505 * progmodes/etags.el (complete-tag):
10506 Fix call to completion-in-region. (Bug#9526)
10507
10508 2011-09-17 Juri Linkov <juri@jurta.org>
10509
10510 * textmodes/ispell.el (ispell-word): Add to the error message
10511 the word, ispell program name and current dictionary (bug#9121).
10512 (ispell-tex-arg-end): Capitalize "error" in the error message.
10513
10514 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
10515
10516 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
10517 check. (Bug#4251)
10518
10519 2011-09-17 Juri Linkov <juri@jurta.org>
10520
10521 * window.el (window-safe-min-height, window-safe-min-width):
10522 Fix typos (followup to bug#9522).
10523
10524 2011-09-17 Sven Joachim <svenjoac@gmx.de>
10525
10526 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
10527
10528 2011-09-16 Eli Zaretskii <eliz@gnu.org>
10529
10530 * simple.el (line-move): If goal-column is set, move by logical
10531 lines, not by display lines. (Bug#971)
10532 (next-line, previous-line, goal-column, line-move-visual): Doc fix
10533 to reflect the above change.
10534
10535 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
10536
10537 * image.el (imagemagick-register-types): Use regexp-opt.
10538
10539 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
10540
10541 * window.el (display-buffer-base-action): Rename from
10542 display-buffer-default-action. Make default value empty.
10543 (display-buffer-overriding-action): Convert to defvar.
10544 (display-buffer-fallback-action): New var.
10545
10546 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
10547
10548 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
10549 declaration.
10550 (package--add-to-archive-contents): If there is a duplicate entry
10551 with an older version, remove it.
10552 (package-menu-mark-delete, package-menu-mark-install)
10553 (package-menu-mark-unmark): Make unused args optional.
10554 (package-menu-mark-obsolete-for-deletion):
10555 Use package-menu-get-status instead of a regexp search.
10556 (package-menu-get-status): Use tabulated-list-entry.
10557 (package-menu-mark-upgrades): New command.
10558 (package-menu-mode-map): Bind it to U. Add it to menu bar.
10559 (package-menu-execute): Do installation before deletion.
10560 (package-menu-refresh, package-menu-execute): Use derived-mode-p
10561 instead of checking major-mode.
10562 (package-menu--find-upgrades): New function.
10563
10564 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
10565
10566 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
10567 passwords in the log buffer.
10568 (smtpmail-process-filter): Update the process marker so that the
10569 "broken by peer" status message is inserted in the right place.
10570
10571 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
10572
10573 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
10574 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
10575 bibtex-completion-at-point-function.
10576 (bibtex-completion-at-point-function): Use them.
10577
10578 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
10579
10580 * mpc.el (mpc-constraints-tag-lookup): New function.
10581 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
10582 also to browser "album|playlist".
10583
10584 2011-09-14 Juri Linkov <juri@jurta.org>
10585
10586 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
10587 (isearch-edit-string): Use length of `isearch-string' when
10588 `isearch-fail-pos' returns nil.
10589 (isearch-message): Remove duplicate code and call
10590 `isearch-fail-pos' with arg `t'.
10591
10592 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
10593
10594 * replace.el (occur-mode-goto-occurrence): Don't force using other
10595 window (Bug#9499).
10596
10597 * dired-aux.el (dired-do-chmod): Don't provide initial input.
10598
10599 2011-09-14 Martin Rudalics <rudalics@gmx.at>
10600
10601 * window.el (display-buffer-window): Remove.
10602 (display-buffer-record-window): Use help-setup window parameter
10603 instead of variable display-buffer-window.
10604 (display-buffer-function, special-display-buffer-names)
10605 (special-display-function): Mention help-setup parameter instead
10606 of display-buffer-window in doc-string.
10607 * help.el (help-window-setup): New argument help-window.
10608 Use help-window-setup parameter instead of display-buffer-window.
10609 Reword some messages.
10610 (with-help-window): Pass window used for displaying the buffer
10611 to help-window-setup. Don't set display-buffer-window.
10612
10613 2011-09-13 Glenn Morris <rgm@gnu.org>
10614
10615 * emacs-lisp/debug.el (debugger-make-xrefs):
10616 Preserve point. (Bug#9462)
10617
10618 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
10619
10620 * window.el (window-deletable-p): Use next-frame.
10621
10622 2011-09-13 Martin Rudalics <rudalics@gmx.at>
10623
10624 * window.el (window-auto-delete): Remove.
10625 (window-deletable-p): Remove argument FORCE. Don't deal with
10626 dedication and previous buffers.
10627 (switch-to-prev-buffer): Don't delete window.
10628 (delete-windows-on): Delete a window's frame if and only if the
10629 window is dedicated.
10630 (replace-buffer-in-windows): Delete buffer's window or frame if
10631 and only if window is dedicated.
10632 (quit-window): Handle quit-restore as before last change.
10633 (bury-buffer): Delete window only if window-deletable-p returns t.
10634
10635 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
10636
10637 * window.el (window-deletable-p): Never delete the last frame on a
10638 given terminal.
10639
10640 2011-09-13 Glenn Morris <rgm@gnu.org>
10641
10642 * help.el (describe-key-briefly): Copy previous standard-output change.
10643
10644 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
10645
10646 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
10647
10648 2011-09-13 Glenn Morris <rgm@gnu.org>
10649
10650 * emacs-lisp/lisp-mode.el (lisp-indent-function):
10651 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
10652
10653 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
10654
10655 * dired-aux.el (dired-mark-read-string): Don't return default
10656 value on empty input (Bug#9361).
10657 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
10658 Omit initial minibuffer contents.
10659 (dired-do-chmod): Signal an error on empty input.
10660 (dired-mark-read-string): Don't return default on empty input.
10661
10662 * files.el (file-modes-symbolic-to-number): Doc fix.
10663
10664 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
10665
10666 * international/mule-cmds.el (ucs-completions): Remove.
10667 (read-char-by-name): Use complete-with-action instead; add metadata.
10668
10669 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
10670
10671 * window.el (display-buffer--action-function-custom-type)
10672 (display-buffer--action-custom-type): New vars.
10673 (display-buffer-alist, display-buffer-default-action)
10674 (display-buffer-overriding-action): Add defcustom types.
10675
10676 * frame.el (delete-other-frames): Doc fix (Bug#276).
10677
10678 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
10679
10680 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
10681
10682 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
10683
10684 Change modes that used same-window-* vars to use switch-to-buffer.
10685
10686 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
10687 Use switch-to-buffer.
10688
10689 * cus-edit.el (customize-group, custom-buffer-create)
10690 (customize-browse, custom-buffer-create-other-window):
10691 Use switch-to-buffer or switch-to-buffer-other-window.
10692
10693 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
10694 (Info-prev, Info-up, Info-speedbar-goto-node)
10695 (info-display-manual): Use switch-to-buffer.
10696 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
10697
10698 * mail/sendmail.el (mail): Use switch-to-buffer.
10699 (mail-recover): Use switch-to-buffer-other-window.
10700
10701 * cmuscheme.el (run-scheme, switch-to-scheme):
10702 * ielm.el (ielm):
10703 * shell.el (shell):
10704 * net/rlogin.el (rlogin):
10705 * net/telnet.el (telnet, rsh):
10706 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
10707
10708 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
10709
10710 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
10711
10712 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
10713
10714 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
10715 so don't mention it (bug#9301).
10716 (dired-sort-toggle-or-edit): Clarify string further.
10717
10718 * faces.el (face-spec-set-match-display): Make `(type graphic)'
10719 match `x', `w32' and `ns', like the manual says (bug#9029).
10720
10721 * subr.el (eval-after-load): Doc string clarification (bug#9125).
10722 (process-kill-buffer-query-function): Mention the buffer name in
10723 the query.
10724
10725 * image-mode.el (image-next-line): The line parameter is mandatory
10726 (bug#9258).
10727
10728 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
10729 which can be useful (bug#9301).
10730
10731 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
10732
10733 * subr.el (match-string): Mention that the current buffer should
10734 be the same as the search was done in (bug#9282).
10735
10736 * facemenu.el: Disable the remove-* commands if the mark isn't
10737 active (bug#9162).
10738
10739 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
10740
10741 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
10742 of display-buffer.
10743 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
10744
10745 * replace.el (occur-mode-goto-occurrence)
10746 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
10747 and display-buffer.
10748
10749 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
10750 display-buffer.
10751
10752 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
10753 special-display and same-window variables.
10754 (mail-other-window): Use switch-to-buffer-other-window.
10755 (mail-other-frame): USe switch-to-buffer-other-frame.
10756
10757 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
10758 Use display-buffer-other-frame.
10759 (gdb-display-gdb-buffer): Use pop-to-buffer.
10760
10761 * progmodes/gud.el (gud-goto-info): Use info-other-window.
10762
10763 * progmodes/python.el: Don't set same-window-buffer-names.
10764
10765 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
10766
10767 * window.el (display-buffer-alist): Add *Python*.
10768
10769 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
10770
10771 * window.el (display-buffer-alist): Add entry for buffers
10772 previously handled same-window-*.
10773 (display-buffer-alist, display-buffer-default-action)
10774 (display-buffer-overriding-action): Mark as risky.
10775 (display-buffer-alist): Document action function changes.
10776 (display-buffer--same-window-action)
10777 (display-buffer--other-frame-action): New variables.
10778 (switch-to-buffer, display-buffer-other-frame): Use them.
10779 (display-buffer): Rename reuse-frame entry to reusable-frames.
10780 (display-buffer-reuse-selected-window): Function deleted.
10781 (display-buffer-reuse-window): Handle reusable-frames alist entry.
10782 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
10783 (display-buffer-special): New function.
10784 (display-buffer--maybe-pop-up-frame-or-window): Rename from
10785 display-buffer-reuse-or-pop-window. Split off special-display
10786 part into display-buffer-special.
10787 (display-buffer-use-some-window): Don't perform any special
10788 pop-up-frames handling.
10789 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
10790 (display-buffer--maybe-same-window): Rename from
10791 display-buffer-maybe-same-window.
10792
10793 * info.el: Don't set same-window-regexps.
10794 (info-setup): New function.
10795 (info-other-window, info): Call it.
10796
10797 * cus-edit.el: Don't set same-window-regexps.
10798 (customize-group): New argument.
10799 (customize-group-other-window): Use it.
10800 (customize-face, customize-face-other-window): Likewise.
10801 (custom-buffer-create-other-window): Use pop-to-buffer directly.
10802
10803 * net/rlogin.el:
10804 * net/telnet.el:
10805 * progmodes/gud.el: Don't set same-window-regexps.
10806
10807 * cmuscheme.el:
10808 * ielm.el:
10809 * shell.el:
10810 * mail/sendmail.el:
10811 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
10812
10813 2011-09-10 Juri Linkov <juri@jurta.org>
10814
10815 * isearch.el (isearch-edit-string): Remove obsolete mention of
10816 `C-w' (`isearch-yank-word-or-char') from docstring.
10817 (isearch-query-replace): Fix typo in docstring (bug#9466).
10818
10819 2011-09-10 Juri Linkov <juri@jurta.org>
10820
10821 * paren.el (show-paren-function): Don't show escaped parens.
10822 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
10823
10824 2011-09-10 Eli Zaretskii <eliz@gnu.org>
10825
10826 * mail/sendmail.el (mml-to-mime, mml-attach-file)
10827 (mm-default-file-encoding): Remove autoload forms, they are
10828 replaced with autoload cookies in mml.el and mm-encode.el.
10829 (mail-add-attachment): New command.
10830 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
10831 (mail-mode): Mention mail-insert-file and mail-add-attachment in
10832 the doc string.
10833 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
10834
10835 2011-09-10 Reuben Thomas <rrt@sc3d.org>
10836
10837 * simple.el (count-words-region): Use buffer if there's no region
10838 (bug#9429).
10839
10840 2011-09-09 Juri Linkov <juri@jurta.org>
10841
10842 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
10843 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
10844 (wdired-isearch-filter-read-only): New function. (Bug#6362)
10845
10846 2011-09-09 Alan Mackenzie <acm@muc.de>
10847
10848 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
10849 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
10850
10851 2011-09-09 Eli Zaretskii <eliz@gnu.org>
10852
10853 Fix for Savannah bug#9392.
10854 * simple.el (mail-encode-mml): New defvar.
10855
10856 * mail/rmail.el (mail-encode-mml): Add a defvar.
10857 (rmail-enable-mime-composing): Default to t.
10858 (rmail-forward): Use MIME method of forwarding only if both
10859 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
10860 Set mail-encode-mml non-nil if the MIME method was used.
10861
10862 * mail/sendmail.el (mml-to-mime): Add autoload form.
10863 (mail-encode-mml): Add a defvar.
10864 (mail-mode): Make mail-encode-mml buffer-local and initialize it
10865 to nil.
10866 (mail-send): If mail-encode-mml is non-nil, run the outgoing
10867 message through mml-to-mime, and reset mail-encode-mml to nil.
10868
10869 2011-09-09 Glenn Morris <rgm@gnu.org>
10870
10871 * woman.el (woman-if-body): When processing an .el block,
10872 do not delete the next .el block as well. (Bug#9447)
10873 (woman-special-characters): Add oq, cq, and hy characters.
10874
10875 2011-09-08 Martin Rudalics <rudalics@gmx.at>
10876
10877 * window.el (window-deletable-p): Make sure window is live before
10878 invoking window-prev-buffers.
10879
10880 2011-09-08 Leo Liu <sdl.web@gmail.com>
10881
10882 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
10883
10884 2011-09-08 Juri Linkov <juri@jurta.org>
10885
10886 * progmodes/compile.el (compilation-environment): Make it
10887 a defcustom (bug#8340).
10888
10889 2011-09-08 Martin Rudalics <rudalics@gmx.at>
10890
10891 * window.el (frame-auto-delete): Rename to window-auto-delete.
10892 Make it control auto-deletion of windows and/or frames.
10893 (window-deletable-p): New argument FORCE. Rewrite conditions
10894 for deleting window/frame. (Bug#9419)
10895 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
10896 Rewrite handling of case when window/frame can be deleted.
10897 (delete-windows-on): Call window-deletable-p with new FORCE
10898 argument t. (Bug#9456)
10899
10900 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
10901
10902 * help-mode.el (help-mode): Restore autoload.
10903
10904 2011-09-07 Juri Linkov <juri@jurta.org>
10905
10906 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
10907 `compilation-environment'. Set buffer-local
10908 `compilation-environment' to `thisenv' later after (funcall mode).
10909 (Bug#8340)
10910
10911 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
10912 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
10913 instead of replacing its value. (Bug#8340)
10914
10915 2011-09-07 Juri Linkov <juri@jurta.org>
10916
10917 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
10918 based on text properties put by `grep-filter' instead of matching
10919 escape sequences.
10920 (grep-mode): Set buffer-local `compilation-error-screen-columns'
10921 to the value of `grep-error-screen-columns' (bug#9438).
10922
10923 2011-09-07 Juri Linkov <juri@jurta.org>
10924
10925 * simple.el (next-error-highlight, next-error-highlight-no-select):
10926 Doc fix (bug#9432).
10927
10928 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
10929
10930 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
10931 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
10932
10933 2011-09-07 Leo Liu <sdl.web@gmail.com>
10934
10935 * net/rcirc.el (rcirc-mode): Conditionally initialize
10936 rcirc-input-ring.
10937
10938 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
10939
10940 * emacs-lisp/find-func.el (find-function-C-source): Only set
10941 find-function-C-source-directory after checking that we found a source
10942 file there (bug#9440).
10943
10944 2011-09-06 Alan Mackenzie <acm@muc.de>
10945
10946 * isearch.el (isearch-other-meta-char): Wherever a key list is
10947 unread, "unread" the prefix arg, too. This fixes bug #8901.
10948
10949 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
10950
10951 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
10952
10953 2011-09-05 Juri Linkov <juri@jurta.org>
10954
10955 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
10956
10957 2011-09-05 Juri Linkov <juri@jurta.org>
10958
10959 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
10960 keeping point where processing of grep matches begins, and
10961 continue to delete remaining escape sequences from the same point.
10962 (grep-filter): Make leading zero optional in "0?1;31m" because
10963 git-grep emits "\033[1;31m" escape sequences unlike expected
10964 "\033[01;31m" as GNU Grep does (bug#9408).
10965 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
10966
10967 2011-09-05 Juri Linkov <juri@jurta.org>
10968
10969 * subr.el (y-or-n-p): Capitalize "yes".
10970
10971 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
10972
10973 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
10974 `tramp-cache-unload-hook' where appropriate.
10975 (tramp-methods): Rename `tramp-remote-sh' to
10976 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
10977 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
10978
10979 * net/tramp-sh.el (top): Don't require 'shell.
10980 (tramp-methods): Add `tramp-remote-shell' and
10981 `tramp-remote-shell-args' entries.
10982 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
10983 (tramp-sh-handle-shell-command): Remove.
10984 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
10985 Use `tramp-remote-shell'.
10986
10987 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
10988
10989 * mail/sendmail.el (sendmail-query-once-function): Delete.
10990 (sendmail-query-once): Save directly to send-mail-function.
10991 Update message-send-mail-function too.
10992
10993 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
10994
10995 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
10996
10997 * progmodes/python.el (python-mode-map): Use correct function to
10998 start python interpreter from menu-bar (as reported by Geert
10999 Kloosterman).
11000 (inferior-python-mode-map): Fix typo.
11001 (python-shell-map): Remove.
11002
11003 2011-09-03 Deniz Dogan <deniz@dogan.se>
11004
11005 * net/rcirc.el (rcirc-print): Simplify code for
11006 rcirc-scroll-show-maximum-output. There is no need to walk
11007 through all windows to find the right one.
11008
11009 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
11010
11011 * help.el (help-return-method): Doc fix.
11012
11013 2011-09-03 Martin Rudalics <rudalics@gmx.at>
11014
11015 * window.el (window-deletable-p): Don't return a non-nil value
11016 when there's a buffer that was shown in the window before.
11017 (Bug#9419)
11018 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
11019 Set window's previous buffers to nil.
11020
11021 2011-09-03 Eli Zaretskii <eliz@gnu.org>
11022
11023 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
11024 newline before and after the tag line, so it doesn't interfere
11025 with determining the paragraph direction of bidirectional text.
11026
11027 2011-09-03 Leo Liu <sdl.web@gmail.com>
11028
11029 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
11030
11031 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
11032
11033 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
11034 (pop-to-buffer): Change interactive spec. Pass second argument
11035 directly to display-buffer.
11036 (display-buffer): Fix interactive spec. Use functionp to
11037 distinguish between a function and a list of functions.
11038
11039 * abbrev.el (edit-abbrevs):
11040 * arc-mode.el (archive-extract):
11041 * autoinsert.el (auto-insert):
11042 * bookmark.el (bookmark-bmenu-list):
11043 * files.el (find-file):
11044 * view.el (view-buffer):
11045 * progmodes/compile.el (compilation-goto-locus):
11046 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
11047
11048 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
11049
11050 * window.el (display-buffer-alist): Doc fix.
11051 (display-buffer): Add docstring. Don't treat
11052 display-buffer-default specially.
11053 (display-buffer-reuse-selected-window)
11054 (display-buffer-same-window, display-buffer-maybe-same-window)
11055 (display-buffer-reuse-window, display-buffer-pop-up-frame)
11056 (display-buffer-pop-up-window)
11057 (display-buffer-reuse-or-pop-window)
11058 (display-buffer-use-some-window): New functions.
11059 (display-buffer-default-action): Use them.
11060 (display-buffer-default): Delete.
11061 (pop-to-buffer-1): Fix choice of actions.
11062
11063 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
11064
11065 * minibuffer.el (completion--insert-strings): Don't get confused by
11066 completion entries that end with an LF char.
11067
11068 2011-09-01 Eli Zaretskii <eliz@gnu.org>
11069
11070 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
11071
11072 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
11073
11074 * window.el (display-buffer): Restore interactive spec.
11075 (display-buffer-same-window, display-buffer-other-window):
11076 New functions.
11077 (pop-to-buffer-1): New function. Use the above.
11078 (pop-to-buffer, pop-to-buffer-same-window): Use it.
11079 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
11080
11081 * view.el (view-buffer-other-window, view-buffer-other-frame):
11082 Just use pop-to-buffer.
11083
11084 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11085
11086 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
11087
11088 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
11089
11090 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
11091
11092 2011-08-31 Richard Stallman <rms@gnu.org>
11093
11094 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
11095 of the separation of rmail-view-buffer from rmail-buffer.
11096 If you say no to "replace original", the decrypt is in the
11097 view buffer. If you say yes, the decrypt goes into the
11098 rmail buffer also.
11099
11100 2011-08-31 Martin Rudalics <rudalics@gmx.at>
11101
11102 * window.el (display-buffer-window): Rewrite doc-string.
11103 (display-buffer-record-window): New function.
11104 (display-buffer-macro-specifiers)
11105 (display-buffer-even-window-sizes, display-buffer-set-height)
11106 (display-buffer-set-width, display-buffer-in-window)
11107 (display-buffer-reuse-window, display-buffer-split-specifiers)
11108 (display-buffer-side-specifiers, display-buffer-split-window-1)
11109 (display-buffer-split-window, display-buffer-split-atom-window)
11110 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
11111 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
11112 (display-buffer-other-window-means-other-frame)
11113 (display-buffer-normalize-special)
11114 (display-buffer-normalize-default)
11115 (display-buffer-normalize-argument)
11116 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
11117 (display-buffer-normalize-specifiers, display-buffer-frame)
11118 (display-buffer-same-window, display-buffer-same-frame)
11119 (display-buffer-other-window)
11120 (display-buffer-same-frame-other-window)
11121 (display-buffer-other-frame, pop-to-buffer-same-window)
11122 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
11123 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
11124 (switch-to-buffer-same-frame)
11125 (switch-to-buffer-other-window-same-frame)
11126 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
11127 (display-buffer-alist-set-1, display-buffer-alist-set-2)
11128 (display-buffer-alist-set): Remove.
11129 (display-buffer-function, special-display-buffer-names)
11130 (special-display-regexps, special-display-function):
11131 In doc-string refer to display-buffer-window and quit-restore
11132 parameter.
11133 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
11134 (special-display-frame-alist, special-display-popup-frame)
11135 (same-window-buffer-names, same-window-regexps, same-window-p)
11136 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
11137 (split-window-preferred-function, split-height-threshold)
11138 (split-width-threshold, window-splittable-p)
11139 (split-window-sensibly, window--try-to-split-window)
11140 (window--frame-usable-p, even-window-heights)
11141 (window--even-window-heights, window--display-buffer-1)
11142 (window--display-buffer-2, display-buffer-other-frame):
11143 Restore old Emacs 23 code, order and doc-strings where applicable.
11144 (display-buffer-default, display-buffer-assq-regexp): New functions.
11145 (display-buffer-alist): Rewrite doc-string.
11146 (display-buffer-default-action)
11147 (display-buffer-overriding-action): New variables.
11148 (display-buffer, switch-to-buffer): Rewrite.
11149 (pop-to-buffer): Restore Emacs 23 behavior but use
11150 window-normalize-buffer-to-display.
11151 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
11152 Restore Emacs 23 behavior but use
11153 window-normalize-buffer-to-switch-to.
11154 (pop-to-buffer-same-window): Rewrite.
11155 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
11156 Rewrite using Emacs 23 options.
11157
11158 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
11159
11160 * net/tramp.el (tramp-root-regexp): Remove.
11161 (tramp-completion-file-name-regexp-unified)
11162 (tramp-completion-file-name-regexp-separate)
11163 (tramp-completion-file-name-regexp-url): Don't use leading volume
11164 letter on w32 systems. (Bug#5303, Bug#9311)
11165 (tramp-drop-volume-letter): Simplify definition.
11166 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
11167
11168 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
11169
11170 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
11171 (bug#9356).
11172
11173 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
11174
11175 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
11176
11177 2011-08-29 Juri Linkov <juri@jurta.org>
11178
11179 * isearch.el (isearch-done): Don't display message "Mark saved"
11180 when arg `edit' is non-nil to prevent its flicker in the echo area.
11181
11182 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
11183
11184 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
11185 obsolete packages for deletion.
11186
11187 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
11188
11189 * help-mode.el (help-mode-map): Add special-mode-map to parent.
11190 (help-mode): Derive help-mode from special-mode. Don't invoke
11191 view-mode from help-mode.
11192 (help-xref-override-view-map): Remove.
11193 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
11194 view-mode is not used anymore.
11195
11196 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
11197
11198 * server.el (server-port): Doc fix.
11199
11200 * cus-theme.el (custom-theme-choose-mode): Inherit from
11201 special-mode (Bug#9124).
11202 (custom-theme-choose-mode-map): Add special-mode to parent.
11203
11204 2011-08-28 Alan Mackenzie <acm@muc.de>
11205
11206 * progmodes/cc-fonts.el
11207 (c-make-font-lock-BO-decl-search-function): New function.
11208 (c-basic-matchers-after - "Fontify the clauses after various
11209 keywords"): Extract the three keyword lists for the 3 erroneous
11210 constructs from the list of four, and use the new function above
11211 in place of an old one.
11212
11213 2011-08-28 Deniz Dogan <deniz@dogan.se>
11214
11215 * net/rcirc.el (rcirc-insert-prev-input)
11216 (rcirc-insert-next-input): Remove unused argument.
11217
11218 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
11219
11220 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
11221
11222 2011-08-27 Alan Mackenzie <acm@muc.de>
11223
11224 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
11225 handle function pointer parameters properly.
11226
11227 2011-08-27 Martin Rudalics <rudalics@gmx.at>
11228
11229 * window.el (display-buffer-reuse-window): Fix case where
11230 selected window was reused with non-nil OTHER-WINDOW argument.
11231 (Bug#9381)
11232
11233 2011-08-27 Deniz Dogan <deniz@dogan.se>
11234
11235 * net/rcirc.el (rcirc-check-auth-status): Adding support for
11236 oftc's NickServ messages.
11237
11238 2011-08-27 Glenn Morris <rgm@gnu.org>
11239
11240 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
11241
11242 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
11243
11244 * emacs-lisp/package.el (package-install): Call package-initialize
11245 if called interactively.
11246
11247 2011-08-26 Leo Liu <sdl.web@gmail.com>
11248
11249 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
11250
11251 2011-08-25 Juri Linkov <juri@jurta.org>
11252
11253 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
11254 `search-whitespace-regexp' (bug#9364).
11255
11256 2011-08-25 Juri Linkov <juri@jurta.org>
11257
11258 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
11259 `regexp-search-ring' to their global values to protect from
11260 updating by `read-from-minibuffer' (bug#9185).
11261
11262 2011-08-25 Juri Linkov <juri@jurta.org>
11263
11264 * textmodes/ispell.el (ispell-command-loop): Add newline
11265 at the end of the "Use option `i'..." line.
11266
11267 2011-08-25 Juri Linkov <juri@jurta.org>
11268
11269 * battery.el (display-battery-mode): If `battery-status-function'
11270 or `battery-mode-line-format' is nil, display the message and set
11271 `display-battery-mode' to nil (bug#9363).
11272
11273 2011-08-25 Eli Zaretskii <eliz@gnu.org>
11274
11275 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
11276 bidi-string-mark-left-to-right; they are unnecessary now.
11277
11278 2011-08-25 Deniz Dogan <deniz@dogan.se>
11279
11280 * net/quickurl.el: Documentation typo fixes.
11281
11282 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
11283
11284 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
11285
11286 2011-08-25 Glenn Morris <rgm@gnu.org>
11287
11288 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
11289
11290 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
11291 (smtpmail-via-smtp): Handle nil response from smtp.
11292
11293 2011-08-24 Juri Linkov <juri@jurta.org>
11294
11295 * proced.el (proced-marked): Inherit from `error' instead of
11296 `font-lock-warning-face'.
11297
11298 * ibuffer.el (ibuffer-marked-face): Change default face from
11299 `font-lock-warning-face' to `warning'.
11300 (ibuffer-deletion-face): Change default face from
11301 `font-lock-type-face' to `error'.
11302
11303 * battery.el (battery-update): Use the face `error' instead of
11304 `font-lock-warning-face' (bug#6117).
11305
11306 2011-08-24 Juri Linkov <juri@jurta.org>
11307
11308 * faces.el (success): Change face color from "Green3" to
11309 "ForestGreen" on light background (bug#9353).
11310
11311 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
11312
11313 * window.el (quit-window): Rename from quit-restore-window.
11314 Use same arglist as old quit-window.
11315 (frame-auto-delete): Doc fix.
11316
11317 * view.el (view-mode-exit): Use quit-window.
11318
11319 2011-08-24 Juri Linkov <juri@jurta.org>
11320
11321 * isearch.el (isearch-ring-adjust1): Start visiting previous
11322 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
11323 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
11324 for empty search string (when the last search string is reused
11325 automatically) to adjust the isearch ring to the last element and
11326 prepare the correct index for further M-p commands (bug#9185).
11327
11328 2011-08-24 Kenichi Handa <handa@m17n.org>
11329
11330 * international/ucs-normalize.el: If decomposition property of
11331 CHAR is the default one (i.e. a list of CHAR itself), treat it as
11332 nil.
11333 (nfd, nfkd): Likewise.
11334
11335 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
11336
11337 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
11338 from process filters aren't reliably transmitted to the surrounding
11339 accept-process-output.
11340 (mpc-proc-check): New function.
11341 (mpc-proc-sync): Use it (bug#8293)
11342
11343 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
11344
11345 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
11346 Add compatibility functions (bug#9313).
11347
11348 2011-08-23 Eli Zaretskii <eliz@gnu.org>
11349
11350 * cus-start.el (all): Add entry for bidi-paragraph-direction.
11351
11352 * international/uni-bidi.el: Regenerate.
11353
11354 2011-08-23 Kenichi Handa <handa@m17n.org>
11355
11356 * international/charprop.el:
11357 * international/uni-bidi.el:
11358 * international/uni-category.el:
11359 * international/uni-combining.el:
11360 * international/uni-comment.el:
11361 * international/uni-decimal.el:
11362 * international/uni-decomposition.el:
11363 * international/uni-digit.el:
11364 * international/uni-lowercase.el:
11365 * international/uni-mirrored.el:
11366 * international/uni-name.el:
11367 * international/uni-numeric.el:
11368 * international/uni-old-name.el:
11369 * international/uni-titlecase.el:
11370 * international/uni-uppercase.el: Regenerate.
11371
11372 2011-08-23 Martin Rudalics <rudalics@gmx.at>
11373
11374 * help.el (help-window-setup): Fix message displayed when other
11375 window is reused. (Bug#9341)
11376
11377 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
11378
11379 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
11380 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
11381
11382 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
11383 Mark obsolete.
11384 * shell.el (shell-parse-pcomplete-arguments): New function.
11385 (shell-completion-vars): Use it instead (bug#9160).
11386
11387 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
11388
11389 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
11390 strings and comments (bug#9333).
11391
11392 * emacs-lisp/debug.el (debug-arglist): New function.
11393 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
11394 (debug-on-entry-1): Handle interpreted closures (bug#9120).
11395
11396 2011-08-22 Juri Linkov <juri@jurta.org>
11397
11398 * progmodes/compile.el (compilation-mode-font-lock-keywords):
11399 Revert regexp that highlights output switches to its old
11400 pre-2010-10-28 value and remove one `?' from it (bug#9319).
11401
11402 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
11403 to check for empty output (bug#9226).
11404
11405 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
11406
11407 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
11408 symbol-constituent as the default, as that stops font-lock from
11409 working properly (Bug#8843).
11410
11411 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
11412
11413 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
11414 `coding-system-for-*' around the process open call to avoid
11415 auth-source side effects.
11416 (smtpmail-try-auth-methods): Expand the secret password.
11417 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
11418 probe hangs.
11419
11420 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
11421
11422 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
11423
11424 * emacs-lisp/find-func.el (find-function-noselect): New arg
11425 lisp-only.
11426
11427 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
11428 signal an error for built-in functions (Bug#6664).
11429
11430 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
11431
11432 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
11433 (smtpmail-try-auth-methods): Use it.
11434
11435 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
11436
11437 * font-lock.el (font-lock-fontify-region)
11438 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
11439 (font-lock-default-unfontify-buffer)
11440 (font-lock-default-fontify-region)
11441 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
11442
11443 * progmodes/compile.el (compilation-error-properties):
11444 Fix confusion between file struct and message struct (Bug#9319).
11445 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
11446 `ant' regexp.
11447
11448 * net/browse-url.el (browse-url-firefox): Don't call
11449 browse-url-firefox-sentinel unless using -remote (Bug#9328).
11450
11451 2011-08-20 Glenn Morris <rgm@gnu.org>
11452
11453 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
11454
11455 * tutorial.el (tutorial--default-keys): Update some default bindings.
11456
11457 * files.el (hack-local-variables): Fully ignore case for "mode:".
11458
11459 2011-08-20 Alan Mackenzie <acm@muc.de>
11460
11461 Resolve invalid use of a regexp in regexp-opt.
11462
11463 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
11464 detection for a java annotation.
11465
11466 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
11467 detection for a java annotation.
11468
11469 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
11470 handling for java.
11471 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
11472
11473 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
11474
11475 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
11476 (Bug#9274).
11477
11478 2011-08-20 Alan Mackenzie <acm@muc.de>
11479
11480 Fontify CPP expressions correctly when starting in the middle of
11481 such a construct. Mainly for when jit-lock etc. starts a chunk
11482 here.
11483
11484 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
11485 variable.
11486 (c-make-font-lock-search-form): New function, extracted from
11487 c-make-font-lock-search-function.
11488 (c-make-font-lock-search-function): Use the above function.
11489 (c-make-font-lock-context-search-function): New function.
11490 (c-cpp-matchers): Enhance the preprocessor expression case with
11491 the above function
11492 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
11493 which takes an expression.
11494
11495 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
11496
11497 2011-08-20 Martin Rudalics <rudalics@gmx.at>
11498
11499 * window.el (display-buffer-reuse-window)
11500 (display-buffer-pop-up-window): Don't reuse or split a side
11501 window.
11502
11503 2011-08-19 Glenn Morris <rgm@gnu.org>
11504
11505 * files.el (hack-local-variables-prop-line, hack-local-variables):
11506 Downcase "Mode:". (Bug#9331)
11507
11508 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
11509
11510 * international/characters.el: Add L and R categories.
11511
11512 * subr.el (bidi-string-mark-left-to-right): Rename from
11513 string-mark-left-to-right. Use category search.
11514
11515 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
11516
11517 2011-08-18 Juri Linkov <juri@jurta.org>
11518
11519 * faces.el (error, warning, success): New faces with definitions
11520 copied from old default values of `font-lock-warning-face',
11521 `compilation-warning', `compilation-info' (bug#6117).
11522
11523 * font-lock.el (font-lock-warning-face): Inherit from `error'.
11524
11525 * progmodes/compile.el (compilation-error): Inherit from `error'.
11526 (compilation-warning): Inherit from `warning'.
11527 (compilation-info): Inherit from `success'.
11528
11529 * dired.el (dired-marked): Inherit from `warning'.
11530 (dired-flagged): Inherit from `error'.
11531
11532 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
11533
11534 * mail/smtpmail.el (auth-source): Require to avoid problems with
11535 binding variables (bug#9298). Also clean up some unused
11536 autoloads.
11537
11538 * net/network-stream.el (network-stream-open-starttls):
11539 Support using starttls.el without using gnutls-cli.
11540
11541 2011-08-17 Juri Linkov <juri@jurta.org>
11542
11543 * progmodes/grep.el (rgrep): Handle the case when
11544 `grep-find-command' is a cons cell (bug#9278).
11545
11546 2011-08-17 Martin Rudalics <rudalics@gmx.at>
11547
11548 * window.el (display-buffer-pop-up-frame): Run frame creation
11549 function with BUFFER current (as special-display-popup-frame
11550 does). Reported by Drew Adams.
11551
11552 2011-08-17 Daiki Ueno <ueno@unixuser.org>
11553
11554 * epa-mail.el: Simplify GnuPG group expansion using
11555 epg-expand-group.
11556 (epa-mail-group-alist, epa-mail-group-modtime)
11557 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
11558 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
11559 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
11560 Remove.
11561
11562 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
11563
11564 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
11565
11566 2011-08-16 Alan Mackenzie <acm@muc.de>
11567
11568 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
11569 Correct, to avoid the inside of macros.
11570
11571 2011-08-16 Richard Stallman <rms@gnu.org>
11572
11573 * epa-mail.el: Handle GnuPG group definitions.
11574 (epa-mail-group-alist, epa-mail-group-modtime)
11575 (epa-mail-gnupg-conf-file): New variables.
11576 (epa-mail-parse-groups, epa-mail-sync-groups)
11577 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
11578 (epa-mail-expand-recipients): New functions.
11579 (epa-mail-encrypt): Call epa-mail-expand-recipients.
11580
11581 * mail/rmail.el (rmail-epa-decrypt): New command.
11582
11583 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
11584 Don't bind buffer-read-only, just inhibit-read-only.
11585 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
11586 (epa-decrypt-armor-in-region): Make error message clearer.
11587
11588 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
11589
11590 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
11591 and "a2b" to "ab" for `prefix'.
11592
11593 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
11594
11595 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
11596 filter groups.
11597 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
11598 Fourquet (Bug#8804).
11599
11600 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
11601
11602 * startup.el (argi): Declare as global variable (bug#9275).
11603
11604 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
11605
11606 * subr.el (string-mark-left-to-right): Search the entire string
11607 for RTL script, not just the terminating character. Doc fix.
11608
11609 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
11610
11611 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
11612 New function.
11613 (js--regexp-literal, js-syntax-propertize-function): Remove.
11614 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
11615 (js-mode-map): Don't rebind electric keys.
11616 (js-insert-and-indent): Remove.
11617 (js-mode): Setup electric-layout and electric-indent instead.
11618
11619 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
11620
11621 2011-08-12 Daiki Ueno <ueno@unixuser.org>
11622
11623 * epa.el (epa-progress-callback-function): Fix the logic of
11624 displaying progress.
11625 * epa-file.el (epa-file-insert-file-contents): Make progress
11626 display more user-friendly.
11627 (epa-file-write-region): Ditto.
11628
11629 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
11630
11631 * subr.el (string-mark-left-to-right): New function.
11632
11633 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
11634 Use string-mark-left-to-right.
11635 (list-buffers-noselect): Caller changed.
11636
11637 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
11638 Use string-mark-left-to-right.
11639 (tabulated-list-print): Recenter after moving point.
11640
11641 2011-08-10 Juri Linkov <juri@jurta.org>
11642
11643 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
11644 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
11645 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
11646
11647 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
11648
11649 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
11650 (Bug#7554).
11651
11652 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
11653
11654 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
11655 character. (Bug#6594)
11656
11657 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
11658
11659 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
11660 (image-dired--with-db-file): New macro.
11661 (image-dired-write-tags, image-dired-remove-tag)
11662 (image-dired-create-gallery-lists, image-dired-write-comments)
11663 (image-dired-get-comment, image-dired-mark-tagged-files)
11664 (image-dired-list-tags, image-dired-gallery-generate): Use it.
11665 (image-dired-gallery-generate): Use insert-file-contents.
11666
11667 * time.el (display-time-world-list, display-time-world-display):
11668 * time-stamp.el (time-stamp-string):
11669 * vc/add-log.el (add-change-log-entry): Use setenv instead of
11670 set-time-zone-rule (Bug#7337).
11671
11672 2011-08-08 Daiki Ueno <ueno@unixuser.org>
11673
11674 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
11675 (epg-error-to-string, epg-errors-to-string): New function.
11676 (epg-wait-for-completion): Reverse errors list.
11677 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
11678 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
11679 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
11680 (epg-sign-keys, epg-generate-key-from-file)
11681 (epg-generate-key-from-string): Format errors by using
11682 epg-errors-to-string (bug#9255).
11683 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
11684
11685 2011-08-07 Juri Linkov <juri@jurta.org>
11686
11687 * faces.el (list-faces-display): Remove extra angle bracket
11688 from `help-mode-map'.
11689
11690 * info.el (Info-history-toc-nodes): Doc fix.
11691
11692 * longlines.el (longlines-mode): Doc fix.
11693
11694 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
11695
11696 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
11697 of statements and in a few more cases (bug#9183).
11698
11699 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
11700 New functions.
11701 (cl-transform-lambda): Use them (bug#9239).
11702
11703 2011-08-05 Martin Rudalics <rudalics@gmx.at>
11704
11705 * window.el (display-buffer-same-window)
11706 (display-buffer-same-frame, display-buffer-other-window)
11707 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
11708 (pop-to-buffer-other-window)
11709 (pop-to-buffer-same-frame-other-window)
11710 (pop-to-buffer-other-frame): Make them defuns.
11711 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
11712
11713 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
11714
11715 * subr.el (make-composed-keymap): Move from C. Change calling
11716 convention, and improve docstring to bring attention to a subtle point.
11717 * minibuffer.el (completing-read-default): Adjust accordingly.
11718
11719 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
11720
11721 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
11722 (tramp-open-shell): Use `tramp-shell-quote-argument'.
11723
11724 * net/trampver.el: Update release number.
11725
11726 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
11727
11728 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
11729 "in" (bug#9190).
11730
11731 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
11732
11733 * mail/sendmail.el (sendmail-query-once): Restore the current
11734 buffer after querying (bug#9074).
11735
11736 * dired.el (dired-flagged): Use different faces for marked and
11737 flagged files (bug#6117).
11738
11739 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
11740 (bug#4433).
11741
11742 * ido.el (ido-mode): Switch off the message if called
11743 non-interactively.
11744
11745 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
11746 before 587, since it appears that that's more likely to work for
11747 more people.
11748
11749 * cus-edit.el (custom-file): When running under emacs -q, always
11750 refuse to save the customizations, even if the .emacs file doesn't
11751 exist.
11752
11753 * info.el: Remove the `Info-beginning-of-buffer' function
11754 (bug#8325).
11755
11756 * net/network-stream.el (network-stream-open-starttls):
11757 Use `starttls-available-p' to see whether starttls.el can be used.
11758
11759 2011-08-01 Martin Rudalics <rudalics@gmx.at>
11760
11761 * window.el (display-buffer-in-window): Don't set dedicated status
11762 of window here (Bug#9215).
11763 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
11764 (display-buffer-pop-up-side-window)
11765 (display-buffer-in-side-window): Set dedicated status of window here.
11766
11767 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
11768
11769 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
11770 before binding generated-autoload-file.
11771
11772 2011-08-01 Deniz Dogan <deniz@dogan.se>
11773
11774 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
11775
11776 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
11777
11778 Sync with Tramp 2.2.2.
11779
11780 * net/trampver.el: Update release number.
11781
11782 2011-07-30 Juri Linkov <juri@jurta.org>
11783
11784 * dired-aux.el (dired-touch-initial): Remove function.
11785 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
11786 current time, and `default' to the last modification time of the
11787 current marked file (bug#6887).
11788
11789 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
11790
11791 * simple.el (goto-line): Use string-to-number to provide a
11792 numeric argument to read-number (bug#9163).
11793
11794 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
11795
11796 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
11797 connection process, it could be nil.
11798
11799 2011-07-27 Leo Liu <sdl.web@gmail.com>
11800
11801 Simplify url handling in rcirc-mode.
11802
11803 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
11804 (rcirc-browse-url-at-mouse): Remove.
11805 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
11806
11807 2011-07-26 Alan Mackenzie <acm@muc.de>
11808
11809 Fontify bitfield declarations properly.
11810
11811 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
11812 (c-symbol-chars): Now exported as a lang variable.
11813 (c-not-primitive-type-keywords): New lang variable.
11814
11815 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
11816 QT keyword "more" to prevent "more slots: ...." being spuriously
11817 parsed as a bitfield declaration.
11818
11819 * progmodes/cc-engine.el (c-beginning-of-statement-1):
11820 Refactor and enhance to handle bitfield declarations.
11821 (c-punctuation-in): New function.
11822 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
11823 declarations properly.
11824
11825 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
11826
11827 * calendar/icalendar.el (icalendar--all-events): Take care of
11828 multiple vcalendars in a single file.
11829 (icalendar--convert-float-to-ical): Checkdoc fixes.
11830
11831 2011-07-25 Deniz Dogan <deniz@dogan.se>
11832
11833 * image.el (insert-image): Clarifying docstring.
11834
11835 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
11836
11837 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
11838 `tramp-send-command-and-check' if there is no error.
11839 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
11840
11841 2011-07-22 Alan Mackenzie <acm@muc.de>
11842
11843 Prevent cc-langs.elc being loaded at run time.
11844
11845 * progmodes/cc-mode.el: Remove two autoload forms which loaded
11846 cc-langs.
11847
11848 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
11849 "(require 'cc-langs)". Quote a form so it will evaluate at
11850 (cc-mode's) compilation time.
11851
11852 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
11853
11854 * net/tramp.el (tramp-file-name-handler): Avoid recursive
11855 loading. (Bug#9114)
11856
11857 2011-07-21 Martin Rudalics <rudalics@gmx.at>
11858
11859 * window.el (display-buffer-pop-up-window)
11860 (display-buffer-pop-up-side-window)
11861 (display-buffer-in-side-window): Call display-buffer-set-height
11862 and display-buffer-set-width after setting the new window's
11863 buffer so `fit-window-to-buffer' and friends work on the right buffer.
11864
11865 2011-07-20 Sam Steingold <sds@gnu.org>
11866
11867 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
11868 (etags-tags-included-tables): Call `convert-standard-filename' on
11869 the file names contained in TAGS so that windows Emacs can handle
11870 TAGS files created by cygwin ctags.
11871
11872 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
11873
11874 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
11875 which apparently didn't work.
11876
11877 2011-07-19 Roland Winkler <winkler@gnu.org>
11878
11879 * proced.el (proced-send-signal): For *Marked Processes* buffer
11880 put point at beginning of buffer.
11881
11882 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
11883
11884 * proced.el (proced-format): Make header lines align with the text
11885 (bug#1779).
11886
11887 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
11888
11889 * view.el (view-buffer): Allow running in `special' modes if we're
11890 visiting a file (bug#8615).
11891
11892 2011-07-19 Martin Rudalics <rudalics@gmx.at>
11893
11894 * window.el (display-buffer-alist-of-strings-p)
11895 (display-buffer-alist-set-1, display-buffer-alist-set-2):
11896 New functions.
11897 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
11898 more accurately.
11899
11900 2011-07-18 Alan Mackenzie <acm@muc.de>
11901
11902 Fontify declarators properly when, e.g., a jit-lock chunk begins
11903 inside a declaration.
11904
11905 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
11906
11907 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
11908 New function.
11909 (c-complex-decl-matchers): Insert reference to
11910 c-font-lock-enclosing-decls.
11911
11912 * progmodes/cc-engine.el (c-backward-single-comment):
11913 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
11914 to nil around calls to (forward-comment -1).
11915
11916 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
11917
11918 * image.el (put-image): Doc typo fix.
11919
11920 * progmodes/etags.el (tags-search): Doc typo fix.
11921
11922 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
11923 password if we get errors 550 to 554.
11924
11925 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
11926
11927 * net/gnutls.el (gnutls-log-level): Remove.
11928
11929 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
11930 indentation character (bug#6380).
11931
11932 * files.el (buffer-offer-save): Made permanently local (bug#6241).
11933
11934 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
11935 to clarify what the problem is (bug#4291).
11936
11937 * simple.el (current-kill): Clarify what
11938 `interprogram-paste-function' does (bug#7500).
11939 (auto-fill-mode): Document `auto-fill-function' in relation to
11940 `auto-fill-mode' (bug#2470).
11941
11942 2011-07-16 Lawrence Mitchell <wence@gmx.li>
11943
11944 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
11945 method if slot is read-only (bug#9035).
11946
11947 2011-07-16 Martin Rudalics <rudalics@gmx.at>
11948
11949 * frame.el (select-frame-set-input-focus): New argument NORECORD.
11950 * window.el (pop-to-buffer): Select window used even if it was
11951 selected before, see discussion of (Bug#8615), (Bug#6954).
11952 Pass argument NORECORD on to select-frame-set-input-focus.
11953
11954 2011-07-15 Glenn Morris <rgm@gnu.org>
11955
11956 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
11957 Respect help-form.
11958
11959 2011-07-09 Lawrence Mitchell <wence@gmx.li>
11960
11961 * net/gnutls.el (gnutls-min-prime-bits): New variable.
11962 (gnutls-negotiate): Use it.
11963
11964 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
11965
11966 * net/gnutls.el (gnutls-negotiate):
11967 Upcase `gnutls-algorithm-priority'.
11968
11969 2011-07-15 Glenn Morris <rgm@gnu.org>
11970
11971 * jka-compr.el (jka-compr-verbose): Move from here...
11972 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
11973 Add missing :version tag.
11974 * info.el: No need to require jka-compr when compiling.
11975
11976 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
11977
11978 * net/gnutls.el (gnutls-algorithm-priority): New variable.
11979 (gnutls-negotiate): Use it.
11980
11981 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
11982
11983 * info.el (Info-beginning-of-buffer): New command.
11984 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
11985 announcing `b' as the key (bug#8325).
11986 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
11987
11988 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
11989
11990 * international/mule-cmds.el
11991 (describe-specified-language-support): Make the error message
11992 clearer (bug#8905).
11993
11994 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
11995
11996 * isearch.el (isearch-barrier): Add a doc string, since it's
11997 mentioned in a function doc string (bug#8678).
11998
11999 2011-07-15 Martin Rudalics <rudalics@gmx.at>
12000
12001 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
12002 buffer argument (Bug#9083) and self-identifying label argument.
12003
12004 2011-07-15 Glenn Morris <rgm@gnu.org>
12005
12006 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
12007
12008 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
12009
12010 * man.el (Man-fontify-manpage): Fix message when formatting the
12011 man page (bug#7929).
12012
12013 2011-07-14 Eli Zaretskii <eliz@gnu.org>
12014
12015 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
12016 argument LRM; if non-nil, append an invisible LRM character to the
12017 buffer name.
12018 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
12019 last argument non-nil, when formatting buffer names.
12020 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
12021 paragraph direction.
12022
12023 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
12024
12025 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
12026 the man page name (bug#7929).
12027
12028 * image.el (put-image): Mention the `put-image' overlay property
12029 (bug#7834).
12030
12031 * scroll-bar.el (set-scroll-bar-mode): Mention that
12032 `scroll-bar-mode' lists the values (bug#7772).
12033
12034 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
12035 command (bug#7729).
12036
12037 * rect.el (apply-on-rectangle): Return the point after the last
12038 operation.
12039 (string-rectangle): Go to the point after the last operation
12040 (bug#7522).
12041
12042 * printing.el (pr-toggle-region): Clarify the documentation
12043 slightly (bug#7493).
12044
12045 * time.el (display-time-update):
12046 Allow `display-time-mail-function' to return nil (bug#7158).
12047 Fix suggested by Detlev Zundel.
12048
12049 * vc/diff.el (diff): Clarify the order the file names are read
12050 (bug#7111).
12051
12052 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
12053 the doc string (bug#7015).
12054
12055 * font-lock.el (font-lock-maximum-decoration): Mention what
12056 numeric levels mean (bug#6935).
12057
12058 * startup.el (initial-buffer-choice): Don't mention the `none'
12059 selection, which is against policy.
12060
12061 2011-07-14 Martin Rudalics <rudalics@gmx.at>
12062
12063 * window.el (display-buffer-normalize-special):
12064 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
12065
12066 2011-07-14 Eli Zaretskii <eliz@gnu.org>
12067
12068 * subr.el (version<, version<=, version=): Mention "-CVS" and
12069 "-12345" alpha version numbers.
12070
12071 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
12072
12073 * bindings.el: Add advertised binding for set-mark-command
12074 (Bug#5772).
12075
12076 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
12077
12078 * bindings.el (mode-line-other-buffer):
12079 * bookmark.el (bookmark-bmenu-2-window):
12080 * bs.el (bs-cycle-next, bs-cycle-previous):
12081 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
12082 switch-to-buffer.
12083
12084 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
12085 Delete.
12086
12087 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
12088
12089 * follow.el (follow-debug-message, follow-redisplay):
12090 * jka-cmpr-hook.el (with-auto-compression-mode):
12091 Fix typos in docstrings.
12092
12093 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
12094
12095 * subr.el (with-silent-modifications): Clarify somewhat what the
12096 macro inhibits (bug#6525).
12097
12098 * simple.el (eval-expression): Note what it does if called
12099 interactively (bug#6495).
12100
12101 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
12102
12103 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
12104 Use pop-to-buffer buffer-or-name if it is nil.
12105
12106 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
12107 Remove switch-to-buffer.
12108
12109 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
12110
12111 * files.el (make-directory): Clarify that an error will be raised
12112 if there's an error (bug#6397).
12113
12114 * startup.el (initial-buffer-choice): Add `none' as a choice
12115 (bug#6234).
12116
12117 * subr.el (add-hook): Clarify section about buffer-local hooks
12118 (bug#6218).
12119
12120 * dired.el (dired-flagged): Clarify doc string (bug#6117).
12121
12122 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
12123
12124 * tabify.el (untabify): Preserve the current column so that point
12125 doesn't move (bug#6032).
12126
12127 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
12128
12129 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
12130 Rewrite to avoid awkward possessive "s" (bug#5986).
12131
12132 2011-07-13 Glenn Morris <rgm@gnu.org>
12133
12134 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
12135 (dired-insert-directory): Give a message the first time
12136 if ls is found not to support --dired.
12137
12138 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
12139
12140 * simple.el (toggle-truncate-lines): Clarify what is toggled
12141 (bug#5580). Text by Drew Adams.
12142
12143 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
12144
12145 * simple.el (blink-matching-open): Make the error message from the
12146 last change less verbose.
12147
12148 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
12149
12150 * font-lock.el (font-lock-comment-face): Use the high contrast
12151 "yellow" color for font-lock-comment-face on low color terminals
12152 using a dark background color (bug#4221).
12153
12154 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
12155
12156 * dired.el (dired-insert-set-properties): Make the doc string
12157 reflect what it does now (bug#5325).
12158
12159 * simple.el (blink-matching-open): Say that we were unable to find
12160 the match within the limit, if we're limited (bug#5122).
12161
12162 * international/mule-cmds.el (prefer-coding-system): Add an
12163 example (bug#4869).
12164
12165 * progmodes/etags.el (tags-search): Document `file-list-form'
12166 (bug#4731).
12167
12168 2011-07-13 Lawrence Mitchell <wence@gmx.li>
12169
12170 * net/browse-url.el (browse-url-default-browser)
12171 (browse-url-browser-function): Make the default browser choice a
12172 bit more logical (bug#4300). Also clean up the doc string.
12173
12174 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
12175
12176 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
12177 binary endings (bug#4440).
12178
12179 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
12180
12181 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
12182 which can be pretty annoying (bug#8971).
12183
12184 * jka-compr.el (jka-compr-verbose): New variable, and use
12185 throughout (bug#8971).
12186
12187 * info.el (Info-find-file): Fall back on the installation
12188 directory if we can't find the info node anywhere else.
12189
12190 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
12191
12192 * vc/vc.el (vc-revert-file):
12193 Don't set file time-stamp in the past. (Bug#5181)
12194
12195 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
12196
12197 * files.el (after-find-file): Give a better error message when
12198 trying to find a symlink that points to a file that doesn't exist
12199 (bug#4398).
12200
12201 * progmodes/cc-vars.el: Remove (probably) misleading comment
12202 (bug#4396).
12203
12204 2011-07-12 Johan Bockgård <bojohan@gnu.org>
12205
12206 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
12207
12208 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
12209
12210 * mouse-sel.el: Hack restoring functionality, while keeping
12211 compatibility with 2010-07-03 changes to mouse selection.
12212 (mouse-sel-primary-overlay): New var.
12213 (mouse-sel-selection-alist): Use it.
12214 (mouse-sel-mode): Doc fix; remove points that are default features
12215 of mouse.el.
12216
12217 2011-07-12 Johan Bockgård <bojohan@gnu.org>
12218
12219 * progmodes/compile.el (compilation-error-regexp-alist-alist):
12220 Fix previous fix (bug#2490).
12221
12222 2011-07-12 Roland Winkler <winkler@gnu.org>
12223
12224 * textmodes/bibtex.el (bibtex-initialize):
12225 Use pop-to-buffer-same-window.
12226 (bibtex-search-entries): Fix interactive call.
12227
12228 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
12229
12230 * progmodes/compile.el (compilation-error-regexp-alist-alist):
12231 Fontise bytecomp Error lines more correctly (bug#2490).
12232 Fix suggested by Johan Bockgård.
12233
12234 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
12235
12236 * dired-x.el (dired-guess-default): Use `delete-dups'.
12237
12238 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
12239
12240 * dired.el (dired-mark-prompt):
12241 * dired-aux.el (dired-read-shell-command): Doc fix.
12242
12243 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
12244
12245 * mail/sendmail.el (sendmail-query-once):
12246 Use `customize-save-variable' unconditionally, now that it works under
12247 emacs -Q.
12248
12249 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
12250
12251 * cus-edit.el (custom-file): Take an optional no-error variable.
12252 (customize-save-variable): Set the variable, and give a warning if
12253 running under "emacs -q".
12254
12255 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
12256
12257 * loadhist.el (unload-feature-special-hooks):
12258 Add `auto-coding-functions', `fill-nobreak-predicate' and
12259 `find-directory-functions' (bug#5327).
12260
12261 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
12262
12263 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
12264
12265 * cus-edit.el (custom-guess-name-alist): -alist variables should
12266 use the `alist' type (bug#3120). Suggested by Drew Adams.
12267
12268 * printing.el: Add documentation to all the `pr-toggle-' commands.
12269
12270 2011-07-11 Leo Liu <sdl.web@gmail.com>
12271
12272 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
12273 backends where it makes sense (bug#2623).
12274
12275 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
12276
12277 * dired-x.el (dired-guess-default): Remove duplicate shell command
12278 entries (bug#2028).
12279 (dired-guess-default): Fix grammar in doc string (bug#2028).
12280 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
12281
12282 * subr.el (remove-duplicates): New conveniency function.
12283
12284 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
12285
12286 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
12287 (bug#1526).
12288
12289 2011-07-10 Martin Rudalics <rudalics@gmx.at>
12290
12291 * window.el (display-buffer-normalize-default): Don't invert
12292 meaning of even-window-heights. Reported by Eli Zaretskii
12293 <eliz@gnu.org>.
12294
12295 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
12296
12297 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
12298
12299 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
12300
12301 * window.el (display-buffer): Fix arguments to
12302 display-buffer-reuse-window in last change.
12303
12304 * faces.el (link): Use a less saturated blue on light backgrounds.
12305
12306 * startup.el (fancy-startup-text, fancy-about-text)
12307 (fancy-startup-tail): Use font-lock faces, for background safety.
12308
12309 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
12310
12311 * emulation/viper-cmd.el (viper-change-state-to-vi):
12312 Limit triggering of abbrev expansion (Bug#9038).
12313
12314 2011-07-09 Martin Rudalics <rudalics@gmx.at>
12315
12316 * window.el (display-buffer-default-specifiers): Remove.
12317 (display-buffer-macro-specifiers): Remove default specifiers.
12318 (display-buffer-alist): Default to nil.
12319 (display-buffer-reuse-window): New optional argument other-window.
12320 (display-buffer-pop-up-window): Allow splitting internal
12321 windows. Check whether a live window was created.
12322 (display-buffer-other-window-means-other-frame)
12323 (display-buffer-normalize-arguments): Rename to
12324 display-buffer-normalize-argument and rewrite. Set the
12325 other-window specifier.
12326 (display-buffer-normalize-special): New function.
12327 (display-buffer-normalize-options): Rename to
12328 display-buffer-normalize-default and rewrite.
12329 (display-buffer-normalize-options-inhibit): Remove.
12330 (display-buffer-normalize-specifiers): Rewrite.
12331 (display-buffer): Process other-window specifier and call
12332 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
12333 more faithfully.
12334 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
12335 (display-buffer-alist-set): Don't handle 'unset default values.
12336 (display-buffer-in-window, display-buffer-alist-set):
12337 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
12338 <tassilo@member.fsf.org>.
12339
12340 2011-07-09 Leo Liu <sdl.web@gmail.com>
12341
12342 * register.el (insert-register): Restore accidental change on
12343 2011-06-26. (Bug#9028)
12344
12345 2011-07-09 Glenn Morris <rgm@gnu.org>
12346
12347 * subr.el (remq): Handle the empty list. (Bug#9024)
12348
12349 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
12350
12351 * mail/sendmail.el (send-mail-function): No longer delay custom
12352 initialization.
12353 * custom.el (custom-initialize-delay): Doc fix.
12354
12355 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
12356
12357 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
12358
12359 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
12360
12361 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
12362 human-friendly prompt.
12363
12364 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
12365
12366 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
12367 provided by a particular plugin.
12368
12369 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
12370
12371 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
12372 save customizations (with "emacs -Q"), just set the variable
12373 instead of erroring out.
12374
12375 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
12376
12377 2011-07-08 Juri Linkov <juri@jurta.org>
12378
12379 * arc-mode.el (archive-zip-expunge, archive-zip-update)
12380 (archive-zip-update-case): Use 7z if found by `executable-find'.
12381 The order of searching the available programs is the same as in
12382 `archive-zip-extract' (bug#8968).
12383
12384 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
12385
12386 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
12387 (menu-bar-options-menu): Tweak descriptions.
12388
12389 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
12390
12391 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
12392 menu items into verb phrases (bug#1421). Also refill to fit under
12393 80 columns.
12394
12395 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
12396
12397 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
12398 (Info-read-node-name): Doc fix (Bug#1084).
12399
12400 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
12401 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
12402 (end-of-sexp, beginning-of-sexp)
12403 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
12404 (forward-symbol, forward-same-syntax, word-at-point)
12405 (sentence-at-point): Doc fix (Bug#1144).
12406
12407 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
12408
12409 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
12410 should cover it (bug#1281).
12411
12412 * cus-edit.el (custom-show): Mark as obsolete.
12413
12414 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12415 negotiation fails, then possibly try again with a non-encrypted
12416 connection (bug#9017).
12417
12418 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
12419 be used.
12420
12421 2011-07-07 Richard Stallman <rms@gnu.org>
12422
12423 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
12424 property, and handle its changed format.
12425 Look for the correct line number.
12426 Use file's line contents (but not past first =) to find
12427 correct line in message.
12428
12429 2011-07-07 Kenichi Handa <handa@m17n.org>
12430
12431 * international/characters.el (build-unicode-category-table):
12432 Delete it.
12433 (unicode-category-table): Set it by unicode-property-table-internal.
12434
12435 * international/mule-cmds.el (char-code-property-alist): Move to
12436 to src/chartab.c.
12437 (get-char-code-property): Call unicode-property-table-internal to
12438 load a file. Call get-unicode-property-internal where necessary.
12439 (put-char-code-property): Call unicode-property-table-internal to
12440 load a file. Call put-unicode-property-internal where necessary.
12441 put-unicode-property-internal where necessary.
12442 (char-code-property-description):
12443 Call unicode-property-table-internal to load a file.
12444
12445 * international/charprop.el:
12446 * international/uni-bidi.el:
12447 * international/uni-category.el:
12448 * international/uni-combining.el:
12449 * international/uni-comment.el:
12450 * international/uni-decimal.el:
12451 * international/uni-decomposition.el:
12452 * international/uni-digit.el:
12453 * international/uni-lowercase.el:
12454 * international/uni-mirrored.el:
12455 * international/uni-name.el:
12456 * international/uni-numeric.el:
12457 * international/uni-old-name.el:
12458 * international/uni-titlecase.el:
12459 * international/uni-uppercase.el: Regenerate.
12460
12461 * loadup.el: Load international/charprop.el before
12462 international/characters.
12463
12464 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
12465
12466 * window.el (next-buffer, previous-buffer): Signal an error if
12467 called from a minibuffer window.
12468
12469 * bindings.el: Revert 2011-07-04 change.
12470
12471 2011-07-06 Richard Stallman <rms@gnu.org>
12472
12473 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
12474 (rmail-mime-insert-bulk, rmail-mime-insert-text):
12475 Treat markers like ints.
12476 (rmail-mime-entity): Doc fix.
12477
12478 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
12479
12480 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
12481 defcustom again for backwards compatibility.
12482
12483 * simple.el (shell-command-on-region): Fill.
12484
12485 * dired-aux.el (dired-kill-line): Add a doc string.
12486
12487 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
12488 to "\\sw\\|\\s_" (bug#358).
12489
12490 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
12491 (dired-unmark-backward): Ditto.
12492 (dired-flag-backup-files): Ditto.
12493
12494 * dired-x.el (dired-mark-sexp): Ditto.
12495
12496 2011-07-06 Richard Stallman <rms@gnu.org>
12497
12498 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
12499 (rmail-mime-entity): New arg TRUNCATED.
12500 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
12501 New functions.
12502 (rmail-mime-save): Warn if entity is truncated.
12503 (rmail-mime-toggle-hidden): Likewise, for showing.
12504 (rmail-mime-process-multipart): Record when an entity is truncated.
12505
12506 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
12507 if ENTITY is a string.
12508
12509 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
12510
12511 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
12512 of faces when `M-C-x'-ing their definitions (bug#8378).
12513 Also clean up the code slightly.
12514
12515 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
12516 because that makes the colors go away.
12517
12518 * mail/sendmail.el (send-mail-function): Change the default to
12519 `sendmail-query-once'.
12520 (sendmail-query-once): Add an autoload cookie.
12521
12522 * net/network-stream.el (network-stream-open-starttls): Try using
12523 a plain connection even if the server offered STARTTLS, and we
12524 kinda wanted to use it, if Emacs doesn't have any STARTTLS
12525 capability. This should make smtpmail.el work in slightly more
12526 configurations.
12527
12528 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
12529
12530 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
12531 New defun.
12532 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
12533
12534 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
12535
12536 * progmodes/sql.el: Version 3.0
12537 (sql-product-alist): Add product :completion-object,
12538 :completion-column, and :statement attributes.
12539 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
12540 (sql-mode-syntax-table): Mark all punctuation.
12541 (sql-font-lock-keywords-builder): Temporarily remove fallback on
12542 ansi keywords.
12543 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
12544 (sql-mode-oracle-font-lock-keywords): Improve.
12545 (sql-oracle-show-reserved-words): New function for development.
12546 (sql-product-font-lock): Simplify for source code buffers.
12547 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
12548 New functions.
12549 (sql-highlight-product): Set product specific syntax table.
12550 (sql-mode-map): Add statement movement functions.
12551 (sql-ansi-statement-starters, sql-oracle-statement-starters):
12552 New variable.
12553 (sql-statement-regexp, sql-beginning-of-statement)
12554 (sql-end-of-statement, sql-signum): New functions.
12555 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
12556 (sql-show-sqli-buffer): Bug fix.
12557 (sql-interactive-mode): Store connection data as buffer local.
12558 (sql-connect): Add NEW-NAME parameter. Redesign interaction
12559 with sql-interactive-mode.
12560 (sql-save-connection): Save buffer local settings.
12561 (sql-connection-menu-filter): Change menu entry name.
12562 (sql-product-interactive): Bug fix.
12563 (sql-preoutput-hold): New variable.
12564 (sql-interactive-remove-continuation-prompt): Bug fixes.
12565 (sql-debug-redirect): New variable.
12566 (sql-str-literal): New function.
12567 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
12568 Redesign.
12569 (sql-oracle-save-settings, sql-oracle-restore-settings)
12570 (sql-oracle-list-all, sql-oracle-list-table): New functions.
12571 (sql-completion-object, sql-completion-column)
12572 (sql-completion-sqlbuf): New variables.
12573 (sql-build-completions-1, sql-build-completions)
12574 (sql-try-completion): New functions.
12575 (sql-read-table-name): Use them.
12576 (sql-contains-names): New buffer local variable.
12577 (sql-list-all, sql-list-table): Use it.
12578 (sql-oracle-completion-types): New variable.
12579 (sql-oracle-completion-object, sql-sqlite-completion-object)
12580 (sql-postgres-completion-object): New functions.
12581
12582 2011-07-06 Glenn Morris <rgm@gnu.org>
12583
12584 * window.el (pop-to-buffer): Doc fix.
12585
12586 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
12587
12588 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
12589
12590 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
12591
12592 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
12593
12594 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
12595
12596 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
12597
12598 * button.el (button): Inherit from link face. Suggested by Dan
12599 Nicolaescu.
12600
12601 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
12602
12603 * progmodes/gdb-mi.el: Fit in 80 columns.
12604 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
12605 switch-to-buffer.
12606
12607 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
12608 if imenu is simply not configured (bug#8941).
12609
12610 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
12611
12612 * allout.el (allout-post-undo-hook): New allout outline-change
12613 event hook to signal undo activity.
12614 (allout-post-command-business): Run allout-post-undo-hook if an
12615 undo just occurred.
12616 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
12617 * allout-widgets.el (allout-widgets-after-undo-function):
12618 Ensure the integrity of the current item's decoration after it has been
12619 in the vicinity of an undo.
12620 (allout-widgets-mode): Include allout-widgets-after-undo-function
12621 on the new allout-post-undo-hook.
12622
12623 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
12624
12625 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
12626 Let define-derived-mode define it.
12627 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
12628 cycles of abbrev-table inheritance (bug#8998).
12629
12630 2011-07-05 Roland Winkler <winkler@gnu.org>
12631
12632 * textmodes/bibtex.el: Add support for biblatex.
12633 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
12634 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
12635 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
12636 (bibtex-entry-alist, bibtex-field-alist): New variables.
12637 (bibtex-entry-field-alist): Obsolete alias for
12638 bibtex-BibTeX-entry-alist.
12639 (bibtex-entry-alist, bibtex-field-alist): New widgets.
12640 (bibtex-set-dialect): New command.
12641 (bibtex-entry-type, bibtex-entry-head)
12642 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
12643 Bind via bibtex-set-dialect.
12644 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
12645 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
12646 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
12647 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
12648 Define via bibtex-set-dialect.
12649 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
12650 Obey bibtex-no-opt-remove-re.
12651 (bibtex-vec-push, bibtex-vec-incr): New functions.
12652 (bibtex-format-entry, bibtex-field-list)
12653 (bibtex-print-help-message, bibtex-validate)
12654 (bibtex-search-entries): Use new format of bibtex-entry-alist.
12655
12656 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
12657
12658 * progmodes/compile.el (compilation-goto-locus):
12659 * net/tramp-cmds.el (tramp-append-tramp-buffers):
12660 * bs.el (bs-cycle-next, bs-cycle-previous):
12661 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
12662 * bindings.el (mode-line-other-buffer):
12663 * autoinsert.el (auto-insert):
12664 * arc-mode.el (archive-extract):
12665 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
12666
12667 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
12668
12669 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
12670 Fix check of `emacs-lock-unlockable-modes'.
12671 Coerce true values of `emacs-lock--try-unlocking' to t.
12672
12673 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
12674
12675 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
12676 * emacs-lock.el: New file.
12677
12678 2011-07-05 Julien Danjou <julien@danjou.info>
12679
12680 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
12681 than `boundp' to check if face is set.
12682
12683 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
12684
12685 * register.el (registerv-make):
12686 * window.el (window-min-height): Fix typos in docstrings.
12687
12688 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
12689
12690 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
12691 Update doc string.
12692
12693 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
12694
12695 * server.el (server-execute): Catch quit and call
12696 `server-return-error' to pass the error back to emacsclient and
12697 close the connection (bug#8942).
12698
12699 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
12700
12701 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
12702 insecure exception for current topic. Also note that auto-saves
12703 are handled differently.
12704
12705 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
12706 State variables for tracking auto-save inhibition situation.
12707
12708 (allout-write-contents-hook-handler): Rename from
12709 'allout-write-file-hook-handler', and describe how it depends on
12710 write-contents-functions sensitivity to non-nil value to prevent
12711 file write.
12712
12713 (allout-auto-save-hook-handler): Remove. auto-save does not check
12714 this in individual buffers, only in the starting buffer, so this
12715 is not the right way for us to inhibit auto-save in a buffer
12716 according to its condition.
12717
12718 (allout-mode): Use new allout-write-contents-hook-handler, and
12719 only with write-contents-functions. Remove auto-save provisions -
12720 they're implemented elsewhere.
12721
12722 (allout-before-change-handler): If undo is in progress, note that
12723 for attention of allout-post-command-business.
12724
12725 (allout-post-command-business): If the command we're following was
12726 an undo, check for change in the status of encrypted items and
12727 adjust auto-save inhibitions accordingly.
12728
12729 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
12730 according to whether there are or aren't any plain-text topics
12731 pending encryption.
12732
12733 (allout-inhibit-auto-save-info-for-decryption):
12734 Adjust buffer-saved-size and some allout state to inhibit auto-saves
12735 if there are plain-text topics pending encryption.
12736
12737 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
12738 buffer-saved-size and some allout state to not inhibit auto-saves
12739 if there are no longer any plain-text topics pending encryption.
12740
12741 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
12742 No longer provide for exemption of the current topic.
12743
12744 2011-07-04 Juri Linkov <juri@jurta.org>
12745
12746 Add 7z operations to delete and save changed members (bug#8968).
12747 * arc-mode.el (archive-7z-expunge, archive-7z-update):
12748 New defcustoms.
12749 (archive-7z-write-file-member): New function.
12750 (archive-7z-summarize): Fix the number of dashes in the
12751 listing output.
12752
12753 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
12754
12755 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
12756 (bug#8958).
12757
12758 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
12759
12760 * bindings.el: Ignore next-buffer and previous-buffer in
12761 minibuffer-local-map.
12762
12763 * font-lock.el (font-lock-builtin-face): Change light background
12764 color to dark slate blue (Bug#6693).
12765
12766 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
12767
12768 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
12769
12770 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
12771
12772 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
12773 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
12774 Add switch-to-buffer.
12775
12776 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
12777
12778 * isearch.el (isearch-search-fun-function): Clarify further the
12779 meaning of the function returned.
12780
12781 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
12782
12783 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
12784
12785 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
12786 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
12787 Use it.
12788 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
12789 `tramp-default-remote-path' does not exist.
12790 (tramp-send-command-and-read): New optional argument NOERROR.
12791 (tramp-open-connection-setup-interactive-shell)
12792 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
12793 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
12794 (tramp-process-sentinel): Flush also process' connection property.
12795 (tramp-sh-handle-start-file-process): Do not set process
12796 sentinel. It is done now ...
12797 (tramp-maybe-open-connection): ... here. (Bug#8929)
12798
12799 2011-07-04 MON KEY <monkey@sandpframing.com>
12800
12801 * play/animate.el (animate-string): Doc fixes and allow changing
12802 the buffer name (bug#5417).
12803
12804 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
12805
12806 * play/animate.el (animation-buffer-name): Rename from *animate*.
12807
12808 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
12809
12810 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
12811 This is simpler and helps future-proof the code.
12812 (timer-until): Use time-subtract and float-time.
12813 (timer--time-less-p): Use time-less-p.
12814
12815 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
12816
12817 * type-break.el (timep): Use the value of `float-time' to avoid a
12818 byte-compiler warning.
12819
12820 * server.el (server-eval-and-print): Return any result, even nil.
12821
12822 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
12823
12824 * type-break.el: Accept time formats that the builtins accept.
12825 (timep, type-break-time-difference): Accept any format that
12826 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
12827 This is simpler and helps future-proof the code.
12828 (type-break-time-difference): Round rather than ignoring
12829 subseconds components.
12830
12831 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12832
12833 * info.el (Info-apropos-matches): Make non-interactive, since it
12834 doesn't seem to do anything useful as a command (bug#8829).
12835
12836 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
12837
12838 * frame.el (frame-background-mode, frame-set-background-mode):
12839 Move from faces.el.
12840 (frame-default-terminal-background): New function.
12841
12842 * custom.el (custom-push-theme): Don't record faces in `changed'
12843 theme; this doesn't work correctly for per-frame face settings.
12844 (disable-theme): Use face-set-after-frame-default to reset faces.
12845 (custom--frame-color-default): New function.
12846
12847 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12848
12849 * dired.el (dired-flagging-regexp): Remove unused variable
12850 (bug#8769).
12851
12852 2011-03-29 Kevin Ryde <user42@zip.com.au>
12853
12854 * progmodes/compile.el (compilation-error-regexp-alist-alist):
12855 `perl-Test2' extend to match possible "fail #N" rep count
12856 (bug#8377).
12857
12858 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12859
12860 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
12861 `smtpmail-via-smtp' now returns the error instead of nil.
12862
12863 * isearch.el (isearch-search-fun-function): Clarify the doc string
12864 (bug#8101).
12865
12866 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
12867
12868 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
12869 unnecessary spaces (bug#8987).
12870
12871 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12872
12873 * net/network-stream.el (open-network-stream): Use the
12874 :end-of-capability command thoughout.
12875
12876 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
12877
12878 * net/network-stream.el (open-network-stream): Add the
12879 :end-of-capability command parameter, used by pop3.el.
12880
12881 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12882
12883 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
12884
12885 * fringe.el (fringe-query-style): Remove redundant text " (type ?
12886 for list)" (bug#6475).
12887
12888 * files.el (file-expand-wildcards): Ignore non-readable
12889 sub-directories while trying to find matches instead of signaling
12890 an error (bug#6297).
12891
12892 * man.el (Man-reference-regexp): Allow matching possible
12893 word-wrapped references (bug#6289).
12894
12895 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
12896 for consistency with the other vc buffers (bug#6197).
12897 (vc-checkin): Ditto.
12898
12899 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
12900
12901 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
12902
12903 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
12904
12905 * custom.el (defcustom): Clarify that :set is only used in the
12906 Customize user interface (bug#6089).
12907
12908 * progmodes/flymake.el (flymake-mode): If the buffer isn't
12909 associated with a file, refuse to run instead of erroring out
12910 (bug#6084).
12911
12912 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
12913 the doc string, since it appears that using `fill-column' always
12914 controls the width (bug#7845).
12915
12916 * simple.el (shell-command-on-region): Say where the error output
12917 went if `shell-command-default-error-buffer' is set (bug#6857).
12918
12919 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
12920
12921 * allout.el (allout-yank-processing): Adjust cursor position for
12922 backwards-deleted space.
12923
12924 (allout-rebullet-heading): Register changes with
12925 allout-exposure-changed-hook, so the modified topic is properly
12926 decorated.
12927
12928 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
12929
12930 * minibuffer.el (completion-in-region): Document PREDICATE
12931 (bug#7136).
12932
12933 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
12934 of keyword/argument pairs (bug#6904).
12935
12936 * replace.el (multi-occur):
12937 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
12938
12939 2011-07-02 Drew Adams <drew.adams@oracle.com>
12940
12941 * dired.el (dired-mark-if): Make the message about whether it's
12942 marking or unmarking clearer (bug#8523).
12943
12944 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
12945
12946 * disp-table.el (display-table-print-array): New function.
12947 (describe-display-table): Use it to print the vectors more pretty
12948 (Bug#8859).
12949
12950 2011-07-02 Martin Rudalics <rudalics@gmx.at>
12951
12952 * window.el (window-state-get-1): Don't assign clone numbers.
12953 Add clone-of item to list of window parameters.
12954 (window-state-put-2): Don't process clone numbers.
12955 (display-buffer-alist): Fix doc-string.
12956
12957 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
12958
12959 * subr.el (remq): Don't allocate if it's not needed.
12960 (keymap--menu-item-binding, keymap--menu-item-with-binding)
12961 (keymap--merge-bindings): New functions.
12962 (keymap-canonicalize): Use them to refine the canonicalization.
12963 * minibuffer.el (minibuffer-local-completion-map)
12964 (minibuffer-local-must-match-map): Move initialization from C.
12965 (minibuffer-local-filename-completion-map): Move initialization from C;
12966 don't inherit from anything here.
12967 (minibuffer-local-filename-must-match-map): Make obsolete.
12968 (completing-read-default): Use make-composed-keymap to combine
12969 minibuffer-local-filename-completion-map with either
12970 minibuffer-local-must-match-map or
12971 minibuffer-local-filename-completion-map.
12972
12973 2011-07-01 Glenn Morris <rgm@gnu.org>
12974
12975 * type-break.el (type-break-time-sum): Use dolist.
12976
12977 * textmodes/flyspell.el (flyspell-word-search-backward):
12978 Replace CL function.
12979
12980 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
12981
12982 * mouse.el (mouse--strip-first-event): New function.
12983 (function-key-map): Use it to map fringe clicks to normal clicks
12984 by default.
12985
12986 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
12987 (vc-bzr-revision-completion-table): Add support for annotate and date.
12988
12989 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
12990 inherit from parent.
12991
12992 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
12993
12994 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
12995 (dired-show-file-type): Doc fixup (bug#8818).
12996
12997 * dired.el (dired-mode): Fix up the doc string as suggested by
12998 Drew Adams (bug#8817).
12999
13000 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
13001 cookie, since the manual says that it should be possible to add
13002 this function to `find-file-hook' (bug#8709).
13003
13004 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
13005
13006 * progmodes/cfengine.el: Moved all cfengine3.el functionality
13007 here. Noted Ted Zlatanov as the maintainer.
13008 (cfengine-common-settings, cfengine-common-syntax): New functions
13009 to set up common things between `cfengine-mode' and
13010 `cfengine3-mode'.
13011 (cfengine3-mode): New mode.
13012 (cfengine3-defuns cfengine3-defuns-regex
13013 (cfengine3-class-selector-regex cfengine3-category-regex)
13014 (cfengine3-vartypes cfengine3-font-lock-keywords)
13015 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
13016 (cfengine3-indent-line): Add from cfengine3.el.
13017
13018 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
13019
13020 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
13021
13022 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
13023
13024 2011-07-01 Martin Rudalics <rudalics@gmx.at>
13025
13026 * window.el (same-window-buffer-names, same-window-regexps)
13027 (same-window-p, special-display-frame-alist)
13028 (special-display-popup-frame, special-display-function)
13029 (special-display-buffer-names, special-display-regexps)
13030 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
13031 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
13032 (split-window-preferred-function, split-height-threshold)
13033 (split-width-threshold, even-window-heights)
13034 (display-buffer-mark-dedicated, window-splittable-p)
13035 (split-window-sensibly, window-safely-shrinkable-p):
13036 Un-obsolete.
13037 (display-buffer): Don't spread args with function specifier
13038 because special-display-popup-frame won't like it.
13039
13040 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
13041
13042 Time-stamp simplifications and fixes.
13043 These improve accuracy slightly, and future-proof the code
13044 against some potential changes to current-time format.
13045
13046 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
13047 by using time-since and float-time.
13048
13049 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
13050 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
13051 + NNN microseconds".
13052
13053 * type-break.el (type-break-time-sum): Rewrite using time-add.
13054
13055 * play/hanoi.el (hanoi-current-time-float): Remove.
13056 All uses replaced by float-time.
13057
13058 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
13059 This yields a more-accurate answer.
13060 (rng-time-to-float): Remove; no longer needed.
13061
13062 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
13063
13064 * calendar/timeclock.el (timeclock-seconds-to-time):
13065 Defalias to seconds-to-time, since they're the same thing.
13066
13067 * emacs-lisp/elp.el (elp-elapsed-time):
13068 * emacs-lisp/benchmark.el (benchmark-elapse):
13069 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
13070
13071 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
13072
13073 * window.el (bury-buffer): Don't iconify the only frame.
13074 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
13075 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
13076
13077 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
13078
13079 * eshell/em-smart.el (eshell-smart-display-navigate-list):
13080 Add mouse-yank-primary.
13081
13082 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
13083
13084 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
13085
13086 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
13087
13088 * emacs-lisp/find-func.el (find-library--load-name): New fun.
13089 (find-library-name): Use it to find relative load names when provided
13090 absolute file name (bug#8803).
13091
13092 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
13093
13094 * textmodes/flyspell.el (flyspell-word): Consider words that
13095 differ only in case as potential doublons (bug#5687).
13096
13097 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
13098 Remove two rather uninteresting debugging-like messages to make
13099 debbugs.el more silent.
13100
13101 * comint.el (comint-password-prompt-regexp): Accept "Response" as
13102 a password-like phrase.
13103
13104 2011-06-30 Masatake YAMATO <yamato@redhat.com>
13105
13106 * progmodes/cc-guess.el: New file.
13107
13108 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
13109
13110 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
13111 derived from `c-basic-common-init'.
13112
13113 * progmodes/cc-mode.el (top-level): Require cc-guess.
13114 (c-basic-common-init): Use `cc-choose-style-for-mode'.
13115
13116 2011-06-30 Lawrence Mitchell <wence@gmx.li>
13117
13118 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
13119
13120 2011-06-30 Alan Mackenzie <acm@muc.de>
13121
13122 * progmodes/cc-engine.el (c-guess-continued-construct):
13123 Correct the handling of template-args-cont, particularly for when font
13124 lock is disabled. Name this case as "CASE G".
13125
13126 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
13127
13128 * allout.el (allout-yank-processing): Fix injection of extra space
13129 between bullet and non-whitespace character in first topic when
13130 pasting, ensuring that the actual spacing in the pasted topic
13131 following the bullet char is preserved. This extra space was
13132 causing pasted encrypted topics to get a decrypted status even
13133 when the content was actually still encrypted. Now the decryption
13134 status from before the paste is preserved.
13135
13136 (allout-flag-region): Set all allout overlays so they evaporate
13137 when reduced to zero length (evanescent), to prevent overlay
13138 leakage.
13139
13140 2011-06-30 Glenn Morris <rgm@gnu.org>
13141
13142 * w32-fns.el (w32-charset-info-alist): Declare.
13143
13144 * find-dired.el (find-grep-options): Simplify.
13145
13146 * term/ns-win.el (ns-set-resource): Declare.
13147
13148 * ses.el (row, col): Declare dynamic variables honestly.
13149
13150 * textmodes/reftex-parse.el (index-tags): Declare.
13151
13152 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
13153
13154 * cus-edit.el (customize-push-and-save): New function.
13155
13156 * files.el (hack-local-variables-confirm): Use it.
13157
13158 * custom.el (load-theme): New arg NO-CONFIRM.
13159 Use customize-push-and-save (Bug#8720).
13160 (custom-enabled-themes): Doc fix.
13161
13162 * cus-theme.el (customize-create-theme)
13163 (custom-theme-merge-theme): Callers to load-theme changed.
13164
13165 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
13166
13167 * thingatpt.el (thing-at-point-short-url-regexp): Require that
13168 short URLs have at least one dot in them (bug #7614).
13169
13170 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
13171 nil, because using a pty is apparently too slow (bug #895).
13172
13173 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
13174
13175 * mail/sendmail.el (sendmail-query-once): New function.
13176 (sendmail-query-once-function): New variable.
13177
13178 2011-06-29 Glenn Morris <rgm@gnu.org>
13179
13180 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
13181
13182 * ses.el (top-level): Require cl when compiling.
13183 (ses-set-localvars): Fix error statement.
13184 Call it at compile time to silence a storm of warnings.
13185
13186 2011-06-29 Martin Rudalics <rudalics@gmx.at>
13187
13188 * window.el (normalize-live-buffer): Rename to
13189 window-normalize-buffer.
13190 (normalize-live-frame): Rename to window-normalize-frame.
13191 (normalize-any-window): Rename to window-normalize-any-window.
13192 (normalize-live-window): Rename to window-normalize-live-window.
13193 (make-window-atom): Rename to window-make-atom.
13194 (window-resize-reset): Rename to window--resize-reset.
13195 (window-resize-reset-1): Rename to window--resize-reset-1.
13196 (resize-mini-window): Rename to window--resize-mini-window.
13197 (resize-subwindows-skip-p): Rename to
13198 window--resize-subwindows-skip-p.
13199 (resize-subwindows-normal): Rename to
13200 window--resize-subwindows-normal.
13201 (resize-subwindows): Rename to window--resize-subwindows.
13202 (resize-other-windows): Rename to window--resize-siblings.
13203 (resize-this-window): Rename to window--resize-this-window.
13204 (resize-root-window): Rename to window--resize-root-window.
13205 (resize-root-window-vertically): Rename to
13206 window--resize-root-window-vertically.
13207 (normalize-buffer-to-display): Rename to
13208 window-normalize-buffer-to-display.
13209 (normalize-buffer-to-switch-to): Rename to
13210 window-normalize-buffer-to-switch-to.
13211 Correspondingly update all callers of the functions listed
13212 above.
13213 (display-buffer-alist, display-buffer-normalize-arguments)
13214 (display-buffer-normalize-options, display-buffer)
13215 (display-buffer-alist-set): Use "function" instead of
13216 "fun-with-args".
13217
13218 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
13219
13220 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
13221 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
13222 debbugs.gnu.org. Mention acknowledgment email.
13223
13224 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
13225
13226 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
13227 buffer multibyteness, since it shouldn't matter.
13228
13229 2011-06-28 Martin Rudalics <rudalics@gmx.at>
13230
13231 * window.el (display-buffer-in-side-window): Handle dedicated
13232 windows as in display-buffer-reuse-window.
13233 (display-buffer-normalize-alist): Use value of override
13234 specifier.
13235 (display-buffer-normalize-specifiers): Use value of
13236 other-window-means-other-frame specifier.
13237 (display-buffer-alist): Rewrite some texts in widgets.
13238 (display-buffer): Spread arguments when calling function
13239 specified by fun-with-args.
13240
13241 2011-06-28 Deniz Dogan <deniz@dogan.se>
13242
13243 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
13244 Unnest `let'.
13245
13246 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
13247 selectors (Bug#5732).
13248 (css-proprietary-nmstart-re): Use `regexp-opt'.
13249
13250 2011-06-27 Jari Aalto <jari.aalto@cante.net>
13251
13252 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
13253 (eshell-ls-date-format): New defcustom.
13254 (eshell-ls-file): Use it.
13255
13256 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
13257
13258 * help-fns.el (describe-variable): Fix message for terminal-local vars.
13259
13260 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
13261
13262 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
13263 (ange-ftp-make-tmp-name): New arg.
13264 (ange-ftp-file-local-copy): Use it.
13265
13266 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
13267
13268 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
13269 no-conversion (Bug#8870).
13270
13271 2011-06-27 Martin Rudalics <rudalics@gmx.at>
13272
13273 * window.el (window-right, window-left, window-child)
13274 (window-child-count, window-last-child)
13275 (window-iso-combination-p, walk-window-tree-1)
13276 (window-atom-check-1, window-tree-1, delete-window)
13277 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
13278 new naming conventions - window-vchild, window-hchild,
13279 window-next and window-prev are now called window-top-child,
13280 window-left-child, window-next-sibling and window-prev-sibling
13281 respectively.
13282 (resize-window-reset): Rename to window-resize-reset.
13283 (resize-window-reset-1): Rename to window-resize-reset-1.
13284 (resize-window): Rename to window-resize.
13285 (window-min-height, window-min-width)
13286 (resize-mini-window, resize-this-window, resize-root-window)
13287 (resize-root-window-vertically, adjust-window-trailing-edge)
13288 (enlarge-window, shrink-window, maximize-window)
13289 (minimize-window, delete-window, quit-restore-window)
13290 (split-window, balance-windows, balance-windows-area-adjust)
13291 (balance-windows-area, window-state-put-2)
13292 (display-buffer-even-window-sizes, display-buffer-set-height)
13293 (display-buffer-set-width, set-window-text-height)
13294 (fit-window-to-buffer): Rename all "resize-window" prefixed
13295 calls to use the "window-resize" prefix convention.
13296 (display-buffer-alist): Fix symbol for label specifier.
13297 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
13298 corresponding specifier.
13299 Reported by Juanma Barranquero <lekktu@gmail.com>.
13300
13301 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
13302
13303 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
13304 convention.
13305 (ses-call-printer): Does not pass an empty string to formatter when the
13306 cell is empty to keep from barking printer Calc math-format-value.
13307
13308 2011-06-27 Richard Stallman <rms@gnu.org>
13309
13310 * battery.el (battery-mode-line-limit): New variable.
13311 (battery-update): Handle it.
13312
13313 * mail/rmailmm.el (rmail-mime-process-multipart):
13314 Handle truncated messages.
13315
13316 2011-06-27 Glenn Morris <rgm@gnu.org>
13317
13318 * progmodes/flymake.el (flymake-err-line-patterns):
13319 Allow for column numbers in the ant/javac pattern. (Bug#8866)
13320
13321 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
13322
13323 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
13324 (ses--clean-!, ses--clean-_): New functions.
13325 (ses-range): Add configurability of readout order, and conversion
13326 to Calc vector.
13327
13328 * ses.el (ses-repair-cell-reference-all): New function.
13329 (ses-cell-symbol): Set macro as safe, so that it can be used in
13330 formulas.
13331
13332 * ses.el: Update cycle detection algorithm.
13333 (ses-localvars): Add ses--Dijkstra-attempt-nb and
13334 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
13335 (ses-set-localvars): New function.
13336 (ses-make-cell): Add property-list as a cell element.
13337 (ses-cell-property-get-fun, ses-cell-property-get)
13338 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
13339 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
13340 New functions.
13341 (ses-cell-property-set, ses-cell-property-pop)
13342 (ses-cell-property-get-handle): New macro.
13343 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
13344 New aliases, used for code readability.
13345 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
13346 cycle detection.
13347 (ses-self-reference-early-detection): New defcustom.
13348 (ses-formula-references): Robustify against self-referring cells.
13349 (ses-mode): Use ses-set-localvars.
13350 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
13351 before lauching the update processing.
13352 (ses-initialize-Dijkstra-attempt): New function.
13353 (ses-recalculate-cell): Update for cycle detection based on
13354 Dijkstra algorithm.
13355
13356 * ses.el: Fix commenting and indenting convention.
13357
13358 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
13359
13360 * bs.el (bs-cycle-next): Complete last change.
13361
13362 2011-06-27 Drew Adams <drew.adams@oracle.com>
13363
13364 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
13365
13366 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
13367
13368 * net/network-stream.el (network-stream-open-starttls):
13369 Don't re-get capabilities unless we've reestablished connection.
13370 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
13371
13372 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
13373 to binary to possibly avoid line encoding issues on Windows (among
13374 other things).
13375
13376 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
13377
13378 * net/network-stream.el (open-network-stream): Return an :error
13379 saying what the problem was, if possible.
13380
13381 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
13382 server.
13383
13384 * net/network-stream.el (network-stream-open-starttls): If we
13385 wanted to use STARTTLS, and the server offered it, but we weren't
13386 able to because we had no STARTTLS support, then close the connection.
13387 (open-network-stream): Return an :error element, if present.
13388
13389 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
13390
13391 * hl-line.el (hl-line-sticky-flag): Doc fix.
13392 (global-hl-line-sticky-flag): New option (Bug#8323).
13393 (global-hl-line-highlight): Obey it.
13394
13395 * vc/vc.el (vc-revert-show-diff): Default to t.
13396
13397 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
13398
13399 * allout-widgets.el (allout-widgets-post-command-business):
13400 Stop decorating intermediate isearch matches. They're not being
13401 undecorated when an isearch is continued past, and isearch
13402 automatically collapses them. This leads to "widget leaks", where
13403 decorated items accumulate in collapsed areas. Lines with lots of
13404 hidden widgets can slow down cursor travel, substantially.
13405 Too much complicated machinery would be needed to ensure undecoration,
13406 so we're doing without this nicety.
13407
13408 (allout-widgets-tally-string): Don't try to do a hash-table-count
13409 of allout-widgets-tally when it's nil. This eliminates spurious "Error
13410 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
13411 *Messages* when allout-widgets-maintain-tally is t.
13412
13413 2011-06-26 Martin Rudalics <rudalics@gmx.at>
13414
13415 * window.el (display-buffer-normalize-argument): Rename to
13416 display-buffer-normalize-arguments. Handle special meaning of
13417 LABEL argument. Respect special-display-function when popping up
13418 a new frame. Fix code searching for a window showing the buffer
13419 on another frame.
13420 (display-buffer-normalize-specifiers):
13421 Call display-buffer-normalize-arguments.
13422 (display-buffer-in-window): Don't undedicate the window if its
13423 buffer remains the same.
13424 Reported by Drew Adams <drew.adams@oracle.com>.
13425 (display-buffer-alist): Add choice for same-window macro
13426 specfier.
13427 (display-buffer): Mention special meaning of LABEL argument in
13428 doc-string. Fix quoting. Don't pop up a new frame even as
13429 fallback.
13430
13431 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
13432
13433 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
13434 avoid deleting the current window in some cases (bug#8911).
13435
13436 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
13437
13438 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
13439 (Bug#8934)
13440
13441 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
13442
13443 * net/network-stream.el (network-stream-open-starttls):
13444 Use built-in TLS support if `gnutls-available-p' is true.
13445 (network-stream-open-tls): Ditto.
13446
13447 2011-06-26 Leo Liu <sdl.web@gmail.com>
13448
13449 * register.el (registerv): New struct.
13450 (registerv-make): New function.
13451 (jump-to-register, describe-register-1, insert-register):
13452 Support the jump-func, print-func and insert-func slot of a registerv
13453 struct. (Bug#8415)
13454
13455 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
13456
13457 * vc/vc.el (vc-revert-show-diff): New defcustom.
13458 (vc-diff-internal): New arg specifying diff buffer.
13459 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
13460 reuse an existing *vc-diff* buffer (Bug#8927).
13461
13462 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
13463
13464 2011-06-26 Glenn Morris <rgm@gnu.org>
13465
13466 * progmodes/f90.el (f90-critical-indent): New option.
13467 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
13468 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
13469 (f90-mode): Doc fix.
13470 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
13471 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
13472 (f90-beginning-of-block, f90-next-block, f90-indent-region)
13473 (f90-match-end): Handle block, critical.
13474
13475 2011-06-25 Glenn Morris <rgm@gnu.org>
13476
13477 * calendar/diary-lib.el (diary-included-files): Doc fix.
13478 (diary-include-files): New function, extracted from
13479 diary-include-other-diary-files and diary-mark-included-diary-files.
13480 (diary-include-other-diary-files, diary-mark-included-diary-files):
13481 Just call diary-include-files.
13482 (diary-mark-entries): Reset diary-included-files on first call.
13483
13484 * calendar/diary-lib.el (diary-mark-entries)
13485 (diary-mark-included-diary-files):
13486 Visit included diary-files in temp buffers.
13487
13488 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
13489 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
13490 (f90-start-block-re, f90-imenu-generic-expression)
13491 (f90-looking-at-program-block-start, f90-no-block-limit):
13492 Add support for submodules.
13493
13494 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
13495 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
13496
13497 2011-06-25 Eli Zaretskii <eliz@gnu.org>
13498
13499 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
13500 buffer-file-type before setting its value, to avoid disastrous
13501 global effects on decoding files for DOS/Windows systems. (Bug#8780)
13502
13503 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
13504
13505 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
13506
13507 * ses.el (ses-unload-function):
13508 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
13509
13510 * proced.el (proced-unload-function):
13511 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
13512
13513 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
13514
13515 * server.el (server-create-window-system-frame): Add parameters arg.
13516 (server-process-filter): Doc fix. Handle frame-parameters.
13517
13518 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
13519
13520 Fix bug#8730, bug#8781.
13521
13522 * loadhist.el (unload--set-major-mode): New function.
13523 (unload-feature): Use it.
13524
13525 * progmodes/python.el (python-after-info-look): Add autoload cookie.
13526 (python-unload-function): New function.
13527
13528 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
13529
13530 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
13531
13532 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
13533
13534 * net/browse-url.el (browse-url-firefox-program): Add icecat to
13535 the candidates list.
13536
13537 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
13538
13539 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
13540
13541 2011-06-23 Richard Stallman <rms@gnu.org>
13542
13543 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
13544 (rmail-variables): Set next-error-move-function.
13545 (rmail-what-message): Take argument POS.
13546 (rmail-next-error-move): New function.
13547
13548 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
13549
13550 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
13551 messages for adjacent non-terminals.
13552
13553 2011-06-23 Richard Stallman <rms@gnu.org>
13554
13555 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
13556 (rmail-show-message-1): Preserve buffer modified flag.
13557 (rmail-start-mail): Don't specify use of rmail-mail-return;
13558 that's done by mail-bury now.
13559 (rmail-mail-return): Handle arg NEWBUF.
13560
13561 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
13562
13563 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
13564 SIZE is a number.
13565
13566 2011-06-23 Martin Rudalics <rudalics@gmx.at>
13567
13568 * window.el (get-lru-window, get-mru-window)
13569 (get-largest-window): Never return a minibuffer window.
13570 (display-buffer-pop-up-window): Fix a bug that could lead to
13571 reusing the minibuffer window.
13572 (display-buffer): Pass original specifier argument to
13573 display-buffer-function instead of the normalized one.
13574 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
13575
13576 2011-06-22 Leo Liu <sdl.web@gmail.com>
13577
13578 * minibuffer.el (completing-read-function)
13579 (completing-read-default): Move from minibuf.c
13580
13581 2011-06-22 Richard Stallman <rms@gnu.org>
13582
13583 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
13584 to Rmail even if not started by a special Rmail command.
13585
13586 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
13587 Copy the buffer currently showing just one message.
13588
13589 2011-06-22 Roland Winkler <winkler@gnu.org>
13590
13591 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
13592 (bibtex-clean-entry): First delete the old key so that a
13593 customized algorithm for generating the new key does not get
13594 confused by the old key.
13595 (bibtex-url): Obey regexp of first step.
13596 (bibtex-search-entries): Do not use add-to-list with local
13597 list-var.
13598
13599 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
13600
13601 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
13602 stored a user name, then query for the password first, instead of
13603 waiting for SMTP to give an error message and the trying again.
13604
13605 2011-06-22 Lawrence Mitchell <wence@gmx.li>
13606
13607 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
13608 BUFFER in call-process.
13609
13610 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
13611
13612 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
13613 QUIT twice.
13614 (smtpmail-try-auth-methods): Require user name and password from
13615 auth-source.
13616
13617 2011-06-22 Martin Rudalics <rudalics@gmx.at>
13618
13619 * window.el (display-buffer-default-specifiers)
13620 (display-buffer-alist): Remove entries for pop-up-frame-alist.
13621 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
13622 (split-window): Normalize SIDE argument (Bug#8916).
13623
13624 * frame.el (pop-up-frame-alist, pop-up-frame-function)
13625 (special-display-frame-alist, special-display-popup-frame):
13626 Remove duplicate declarations. These are now in window.el.
13627
13628 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
13629
13630 * mail/smtpmail.el (smtpmail-via-smtp):
13631 Set :use-starttls-if-possible so that we always use STARTTLS if the
13632 server supports it. SMTP servers that support STARTTLS commonly
13633 require it.
13634
13635 * net/network-stream.el (network-stream-open-starttls): Support
13636 upgrading to STARTTLS always, even if we don't have built-in support.
13637 (open-network-stream): Add the :always-query-capabilities keyword.
13638
13639 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
13640 upgrades with `open-network-stream', and rely solely on
13641 auth-source for all credentials. Big changes throughout the file,
13642 but in particular:
13643 (smtpmail-auth-credentials): Remove.
13644 (smtpmail-starttls-credentials): Remove.
13645 (smtpmail-via-smtp): Check for servers saying they want AUTH after
13646 MAIL FROM, too.
13647
13648 * net/network-stream.el (network-stream-open-starttls):
13649 Provide support for client certificates both for external and built-in
13650 STARTTLS.
13651 (auth-source): Require.
13652 (open-network-stream): Document the :client-certificate keyword.
13653 (network-stream-certificate): Change cert-cert to cert and
13654 cert-key to key.
13655
13656 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
13657
13658 * net/tramp-cache.el (top): Don't load the persistency file when
13659 "emacs -Q" has been called.
13660
13661 2011-06-21 Tim Harper <timcharper@gmail.com>
13662
13663 * term/ns-win.el (ns-initialize-window-system):
13664 Set application-specific `ApplePressAndHoldEnabled' system
13665 resource to NO as it is not yet supported by the NS port.
13666
13667 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
13668
13669 * misc.el (list-dynamic-libraries--refresh): Compute header here...
13670 (list-dynamic-libraries): ...not here.
13671
13672 2011-06-21 Leo Liu <sdl.web@gmail.com>
13673
13674 * subr.el (sha1): Implement sha1 using secure-hash.
13675
13676 2011-06-21 Martin Rudalics <rudalics@gmx.at>
13677
13678 * window.el (display-buffer-alist): In default value do not
13679 enforce searching a window on any but the selected frame.
13680 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
13681 (display-buffer-select-window): Remove function.
13682 (display-buffer-in-window): When a window on another frame gets
13683 reused, do not select it any more but just raise its frame if
13684 necessary (Bug#8851) and (Bug#8856).
13685 (display-buffer-normalize-options): Handle pop-up-frames related
13686 options more faithfully.
13687 (pop-to-buffer): Don't rely on `display-buffer' selecting the
13688 window if it is on another frame.
13689 (display-buffer-alist, display-buffer-default-specifiers):
13690 Don't make new frame unsplittable by default.
13691 (display-buffer-normalize-argument): Fix doc-string typo and use
13692 'same-frame-other-window instead of 'other-window when associating
13693 with display-buffer-macro-specifiers.
13694
13695 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
13696
13697 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
13698 New functions.
13699 (5x5-mode-map, 5x5-mode-menu): Bind them.
13700 (5x5-draw-grid): Tweak the solver's rendering.
13701
13702 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
13703
13704 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
13705 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
13706
13707 2011-06-21 Drew Adams <drew.adams@oracle.com>
13708
13709 * menu-bar.el: Use function variable instead of switch-to-buffer.
13710 (menu-bar-select-buffer-function): New variable.
13711 (menu-bar-update-buffers): Use it (bug#8876).
13712
13713 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
13714
13715 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
13716 variable's status.
13717
13718 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
13719
13720 * x-dnd.el (x-dnd-version-from-flags)
13721 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
13722 and long as number (Bug#8899).
13723 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
13724
13725 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
13726
13727 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
13728 (completion-try-completion, completion-all-completions): Compute the
13729 metadata argument if it's missing; make it optional (bug#8795).
13730
13731 * wid-edit.el: Use lex-bind and move towards completion-at-point.
13732 (widget-complete): Use new :completion-function property.
13733 (widget-completions-at-point): New function.
13734 (default): Use :completion-function instead of :complete.
13735 (widget-default-completions): Rename from widget-default-complete;
13736 Rewrite.
13737 (widget-string-complete, widget-file-complete, widget-color-complete):
13738 Remove functions.
13739 (file, symbol, function, variable, coding-system, color):
13740 * international/mule-cmds.el (default-input-method, charset)
13741 (language-info-custom-alist):
13742 * cus-edit.el (face): Use new property :completions.
13743
13744 * progmodes/pascal.el (pascal-completions-at-point): New function.
13745 (pascal-mode): Use it.
13746 (pascal-mode-map): Use completion-at-point.
13747 (pascal-toggle-completions): Make obsolete.
13748 (pascal-complete-word, pascal-show-completions):
13749 * progmodes/octave-mod.el (octave-complete-symbol):
13750 Redefine as obsolete alias.
13751 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
13752 Signal absence of completion info for old Octave,
13753 (inferior-octave-complete): Redefine as obsolete alias.
13754 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
13755 (meta-completions-at-point): Rename from meta-complete-symbol and
13756 adapt it for use on completion-at-point-functions.
13757 (meta-common-mode): Use it.
13758 (meta-looking-at-backward, meta-match-buffer): Remove.
13759 (meta-complete-symbol): Redefine as obsolete alias.
13760 (meta-common-mode-map): Use completion-at-point.
13761 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
13762 (makefile-mode-map): Use completion-at-point.
13763 (makefile-completions-at-point): Rename from makefile-complete and
13764 adapt it for use on completion-at-point-functions.
13765 (makefile-mode): Use it.
13766 (makefile-complete): Redefine as obsolete alias.
13767
13768 2011-06-20 Deniz Dogan <deniz@dogan.se>
13769
13770 * net/rcirc.el: Delete trailing whitespaces once and for all.
13771
13772 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
13773
13774 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
13775
13776 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
13777
13778 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
13779
13780 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
13781
13782 2011-06-19 Martin Rudalics <rudalics@gmx.at>
13783
13784 * window.el (display-buffer-other-window-means-other-frame):
13785 Call display-buffer-normalize-alist.
13786 (display-buffer-normalize-specifiers-1): Rename to
13787 display-buffer-normalize-argument. New argument other-frame.
13788 Rewrite.
13789 (display-buffer-normalize-specifiers-2): Rename to
13790 display-buffer-normalize-options.
13791 (display-buffer-normalize-alist-1): New function.
13792 (display-buffer-normalize-specifiers-3): Rename to
13793 display-buffer-normalize-alist.
13794 Call display-buffer-normalize-alist-1.
13795 (display-buffer-normalize-options-inhibit): New variable.
13796 (display-buffer-normalize-specifiers): Rewrite calling
13797 display-buffer-normalize-alist,
13798 display-buffer-normalize-argument, and
13799 display-buffer-normalize-options. Don't call the latter if
13800 display-buffer-normalize-options-inhibit is non-nil.
13801 (frame-auto-delete): New option.
13802 (window-deletable-p): Use frame-auto-delete.
13803 (window-list-no-nils, window-state-ignored-parameters)
13804 (window-state-get-1, window-state-get, window-state-put-list)
13805 (window-state-put-1, window-state-put-2, window-state-put):
13806 New functions.
13807 (display-buffer-normalize-options): Move special-display-p group
13808 after pop-up-frame group (Bug#8851) and (Bug#8856).
13809
13810 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
13811
13812 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
13813 groups (Bug#8776).
13814 (rx-submatch-n): New function.
13815 (rx): Document it.
13816
13817 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
13818 (Bug#8768).
13819
13820 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
13821
13822 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
13823
13824 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
13825 anytime existing face settings are present (Bug#8889).
13826
13827 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
13828 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
13829 Remove unused argument.
13830
13831 2011-06-18 Martin Rudalics <rudalics@gmx.at>
13832
13833 * window.el (display-buffer-default-specifiers):
13834 Remove pop-up-frame. Add pop-up-window-min-height,
13835 pop-up-window-min-width, and another reuse-window specifier
13836 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
13837 (display-buffer-normalize-specifiers-2):
13838 Handle split-height-threshold and split-width-threshold also when
13839 pop-up-windows is unset. Add a reuse-window specifier for the
13840 case popping up a new window fails.
13841 (special-display-popup-frame): Remove double quoting.
13842 (display-buffer-normalize-specifiers-1): Fix thinko.
13843
13844 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
13845
13846 * shell.el (shell-completion-vars): Set pcomplete-termination-string
13847 according to comint-completion-addsuffix.
13848
13849 * pcomplete.el: Convert to lexical binding and fix bug#8819.
13850 (pcomplete-suffix-list): Mark as obsolete.
13851 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
13852 pcomplete-seen in the closure.
13853 (pcomplete-comint-setup): Setup completion-at-point as well.
13854 (pcomplete--entries): New function.
13855 (pcomplete--env-regexp): New var.
13856 (pcomplete-entries): Rewrite to work with partial-completion and
13857 without relying on pcomplete-suffix-list.
13858 (pcomplete-pare-list): Remove, unused.
13859
13860 2011-06-17 Martin Rudalics <rudalics@gmx.at>
13861
13862 * window.el (display-buffer-alist): Set pop-up-window-min-height
13863 and pop-up-window-min-width in default value. Reported by
13864 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
13865 other-window-means-other-frame.
13866 (display-buffer-macro-specifiers): Comment out entry for
13867 other-window specifier.
13868 (display-buffer-other-window-means-other-frame): New function.
13869 (display-buffer-normalize-specifiers-1): New arguments
13870 buffer-name and label. Treat other-window case specially.
13871 (display-buffer-normalize-specifiers-2): Treat other-window case
13872 specially.
13873 (display-buffer-normalize-specifiers-3): New function.
13874 (display-buffer-normalize-specifiers):
13875 Call display-buffer-normalize-specifiers-3.
13876
13877 2011-06-17 Martin Rudalics <rudalics@gmx.at>
13878
13879 * window.el (same-window-p): Fix two typos introduced when
13880 adding with-no-warnings.
13881 (display-buffer-normalize-specifiers-1): Don't check
13882 pop-up-frames for 'unset initialization.
13883 (display-buffer-normalize-specifiers-2): Major rewrite using
13884 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
13885 (pop-up-frames, display-buffer-reuse-frames)
13886 (display-buffer-mark-dedicated): Don't initialize to 'unset.
13887 Suggested by David Engster <deng@randomsample.de>.
13888 (even-window-heights): Initialize to 'unset.
13889 (display-buffer-alist-set): Handle new 'unset initializations.
13890 (display-buffer-macro-specifiers): Don't pop up a new frame in the
13891 other window case.
13892
13893 2011-06-16 Martin Rudalics <rudalics@gmx.at>
13894
13895 * window.el (display-buffer-normalize-specifiers-1):
13896 Respect current value of pop-up-frames for most reasonable values of
13897 second argument of display-buffer (Bug#8865).
13898 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
13899 (switch-to-buffer-other-window-same-frame)
13900 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
13901 Adams (Bug#8875).
13902 (display-buffer): Don't check noninteractive when calling
13903 display-buffer-pop-up-frame.
13904 (display-buffer-pop-up-frame): Never pop up a frame in
13905 noninteractive mode (Bug#8857).
13906 (enlarge-window, shrink-window): Don't report an error when the
13907 window can't be resized as requested (Bug#8862).
13908
13909 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
13910
13911 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
13912
13913 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
13914
13915 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
13916
13917 2011-06-15 Alan Mackenzie <acm@muc.de>
13918
13919 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
13920 for declarators, disable knr checking to speed up for normal files.
13921 2: Refactor, replacing a sequence of nested if forms by a cond form.
13922
13923 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
13924
13925 * net/network-stream.el (open-network-stream): Add the keyword
13926 :always-query-capabilities for the case where you want to force a
13927 `plain' network connection, but the protocol still requires the
13928 capabilitiy command (i.e., SMTP and EHLO).
13929
13930 * subr.el (process-live-p): Rename from `process-alive-p' for
13931 consistency with other `-live-p' functions.
13932
13933 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
13934
13935 * window.el (same-window-buffer-names, same-window-regexps)
13936 (special-display-frame-alist, special-display-popup-frame)
13937 (special-display-function, special-display-buffer-names)
13938 (special-display-regexps, pop-up-frame-alist)
13939 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
13940 (pop-up-windows, split-window-preferred-function)
13941 (split-height-threshold, split-width-threshold, even-window-heights)
13942 (display-buffer-mark-dedicated): Don't encourage the use of
13943 display-buffer-alist from Elisp code.
13944
13945 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
13946
13947 * progmodes/python.el (python-mode): Derive from prog-mode.
13948 * progmodes/ps-mode.el (ps-mode):
13949 * progmodes/mixal-mode.el (mixal-mode):
13950 * progmodes/cfengine.el (cfengine-mode):
13951 * progmodes/ld-script.el (ld-script-mode): Likewise.
13952
13953 2011-06-15 Martin Rudalics <rudalics@gmx.at>
13954
13955 * window.el (display-buffer-alist): Trim default value to avoid
13956 popping up a new frame (Bug#8857) or reusing an arbitrary window
13957 on another frame.
13958 (display-buffer): Do not fall back on popping up a new frame in
13959 batch mode (Bug#8857).
13960
13961 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
13962
13963 * cus-theme.el (describe-theme-1): Use custom-theme-p.
13964 (custom-theme-summary): New function.
13965 (customize-themes): Use it.
13966
13967 2011-06-13 Glenn Morris <rgm@gnu.org>
13968
13969 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
13970
13971 2011-06-13 Martin Rudalics <rudalics@gmx.at>
13972
13973 * help.el (help-window): Remove variable.
13974 (help-window-point-marker, temp-buffer-max-height)
13975 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
13976 (help-print-return-message): Don't set help-window.
13977 (resize-temp-buffer-window): Rewrite cod eand doc-string.
13978 (help-window-setup-finish): Remove.
13979 (help-window-display-message, help-window-setup)
13980 (with-help-window): Major rewrite based on new
13981 display-buffer-window variable.
13982
13983 * help-mode.el (help-mode-finish): Remove help-window related
13984 code.
13985
13986 * view.el (view-exits-all-viewing-windows): Remove reference to
13987 view-return-to-alist in doc-string.
13988 (view-return-to-alist): Make obsolete.
13989 (view-buffer): Call pop-to-buffer-same-window and remove
13990 undo-window code.
13991 (view-buffer-other-window): Call pop-to-buffer-other-window and
13992 simplify code. Ignore second argument.
13993 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
13994 simplify code. Ignore second argument.
13995 (view-return-to-alist-update): Make obsolete.
13996 (view-mode-enter): Rename second argument to QUIT-RESTORE.
13997 Rewrite using quit-restore window parameters.
13998 (view-mode-exit): Rename second argument to EXIT-ONLY.
13999 Rewrite using quit-restore-window.
14000 (View-exit, View-exit-and-edit, View-leave, View-quit)
14001 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
14002 appropriate arguments.
14003 (view-end-message): Use quit-restore window parameter.
14004
14005 * window.el (display-buffer-function): Rewrite doc-string.
14006 (display-buffer-window, display-buffer-alist): New variables.
14007 (display-buffer-split-specifiers)
14008 (display-buffer-side-specifiers)
14009 (display-buffer-macro-specifiers): New constants.
14010 (display-buffer-even-window-sizes, display-buffer-set-height)
14011 (display-buffer-set-width, display-buffer-select-window)
14012 (display-buffer-in-window, display-buffer-reuse-window)
14013 (display-buffer-split-window-1, display-buffer-split-window)
14014 (display-buffer-split-atom-window, display-buffer-pop-up-window)
14015 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
14016 (display-buffer-in-side-window, normalize-buffer-to-display)
14017 (display-buffer-normalize-specifiers-1)
14018 (display-buffer-normalize-specifiers-2)
14019 (display-buffer-normalize-specifiers, display-buffer-frame):
14020 New functions.
14021 (display-buffer): Major rewrite.
14022 (display-buffer-other-window, display-buffer-other-frame)
14023 (pop-to-buffer, switch-to-buffer-other-window)
14024 (switch-to-buffer-other-frame): Rewrite.
14025 (display-buffer-same-window, display-buffer-same-frame)
14026 (display-buffer-same-frame-other-window)
14027 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
14028 (pop-to-buffer-other-window)
14029 (pop-to-buffer-same-frame-other-window)
14030 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
14031 (switch-to-buffer-other-window-same-frame): New functions.
14032 (same-window-p, special-display-p): Rewrite disabling warnings.
14033 Make obsolete.
14034 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
14035 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
14036 Make obsolete
14037 (same-window-buffer-names, same-window-regexps)
14038 (special-display-frame-alist, special-display-popup-frame)
14039 (special-display-function, special-display-buffer-names)
14040 (special-display-regexps, pop-up-frame-alist)
14041 (pop-up-frame-function, split-window-preferred-function)
14042 (split-height-threshold, split-width-threshold)
14043 (even-window-heights): Make obsolete.
14044
14045 2011-06-12 Glenn Morris <rgm@gnu.org>
14046
14047 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
14048 Misc simplifications.
14049
14050 2011-06-12 Martin Rudalics <rudalics@gmx.at>
14051
14052 * window.el (window-safely-shrinkable-p): Restore function which
14053 was inadvertently removed in change from 2011-06-11. Declare as
14054 obsolete.
14055
14056 * calendar/calendar.el (calendar-generate-window):
14057 Use window-iso-combined-p instead of combination of one-window-p and
14058 window-safely-shrinkable-p.
14059
14060 2011-06-12 Glenn Morris <rgm@gnu.org>
14061
14062 * progmodes/fortran.el (fortran-mode-syntax-table):
14063 * progmodes/f90.el (f90-mode-syntax-table):
14064 Set % to punctuation. (Bug#8820)
14065 (f90-find-tag-default): Remove, no longer needed.
14066
14067 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
14068
14069 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
14070
14071 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
14072
14073 * image.el (image-animated-p): Return animation delay in seconds.
14074 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
14075 (image-animate-timeout): Remove DELAY argument. Don't assume
14076 every subimage has the same delay; get it from image-animated-p.
14077 (image-animate): Caller changed.
14078
14079 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
14080
14081 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
14082 to ignored backtrace functions.
14083
14084 2011-06-11 Glenn Morris <rgm@gnu.org>
14085
14086 * calendar/appt.el (appt-disp-window-function): Doc fix.
14087 (appt-check): Handle overlapping appointments. (Bug#8337)
14088
14089 2011-06-11 Martin Rudalics <rudalics@gmx.at>
14090
14091 * window.el (window-tree-1, window-tree): New functions, moving
14092 the latter to window.el.
14093 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
14094 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
14095 (bw-refresh-edges): Remove.
14096 (balance-windows-1, balance-windows-2): New functions.
14097 (balance-windows): Rewrite in terms of window tree functions,
14098 balance-windows-1 and balance-windows-2.
14099 (bw-adjust-window): Remove.
14100 (balance-windows-area-adjust): New function with functionality of
14101 bw-adjust-window but using resize-window.
14102 (set-window-text-height): Rewrite doc-string.
14103 Use normalize-live-window and resize-window.
14104 (enlarge-window-horizontally, shrink-window-horizontally):
14105 Rename argument to DELTA.
14106 (window-buffer-height): New function.
14107 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
14108 Rewrite using new window resize routines.
14109 (kill-buffer-and-window, mouse-autoselect-window-select):
14110 Use ignore-errors instead of condition-case.
14111 (quit-window): Call delete-frame instead of delete-windows-on
14112 for the only buffer on frame.
14113
14114 2011-06-10 Martin Rudalics <rudalics@gmx.at>
14115
14116 * loadup.el (top-level): Load window before files for the sake
14117 of replace-buffer-in-windows.
14118
14119 * files.el (read-buffer-to-switch)
14120 (switch-to-buffer-other-window)
14121 (switch-to-buffer-other-frame, display-buffer-other-frame):
14122 Move to window.el.
14123
14124 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
14125 (previous-buffer): Move to window.el.
14126
14127 * bindings.el (unbury-buffer): Move to window.el.
14128
14129 * window.el (delete-other-windows-vertically): Move after
14130 definition of delete-other-windows.
14131 (other-window, delete-windows-on, replace-buffer-in-windows):
14132 Move here from window.c.
14133 (record-window-buffer, unrecord-window-buffer)
14134 (set-window-buffer-start-and-point, switch-to-prev-buffer)
14135 (switch-to-next-buffer): New functions.
14136 (get-next-valid-buffer, last-buffer, next-buffer): Move here
14137 from simple.el. Call switch-to-next-buffer.
14138 (previous-buffer): Move here from simple.el.
14139 Call switch-to-prev-buffer.
14140 (bury-buffer): Move here from buffer.c. Switch to previous
14141 buffer when window cannot be deleted.
14142 (unbury-buffer): Move here from bindings.el.
14143 (ctl-x-map): Move binding for other-window from window.c to
14144 here.
14145 (read-buffer-to-switch, switch-to-buffer-other-window)
14146 (switch-to-buffer-other-frame): Move here from files.el.
14147 (normalize-buffer-to-switch-to): New functions.
14148 (switch-to-buffer): Move here from buffer.c.
14149 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
14150
14151 2011-06-10 Martin Rudalics <rudalics@gmx.at>
14152
14153 * window.el (window-min-height, window-min-width): Move here
14154 from window.c. Add defcustoms and rewrite doc-strings.
14155 (resize-mini-window, resize-window): New functions.
14156 (adjust-window-trailing-edge, enlarge-window, shrink-window):
14157 Move here from window.c.
14158 (maximize-window, minimize-window): New functions.
14159 (delete-window, delete-other-windows, split-window): Move here
14160 from window.c.
14161 (window-split-min-size): New function.
14162 (split-window-keep-point): Mention split-window-above-each-other
14163 instead of split-window-vertically.
14164 (split-window-above-each-other, split-window-vertically):
14165 Rename split-window-vertically to split-window-above-each-other
14166 and provide defalias for old definition.
14167 (split-window-side-by-side, split-window-horizontally):
14168 Rename split-window-horizontally to split-window-side-by-side
14169 and provide defalias for the old definition.
14170 (ctl-x-map): Move bindings for delete-window,
14171 delete-other-windows and enlarge-window here from window.c.
14172 Replace bindings for split-window-vertically and
14173 split-window-horizontally by bindings for
14174 split-window-above-each-other and split-window-side-by-side.
14175
14176 * cus-start.el (all): Remove entries for window-min-height and
14177 window-min-width. Add entries for window-splits and
14178 window-nest.
14179
14180 2011-06-09 Glenn Morris <rgm@gnu.org>
14181
14182 * calendar/appt.el (appt-mode-line): New function.
14183 (appt-check, appt-disp-window): Use it.
14184
14185 * files.el (hack-one-local-variable-eval-safep):
14186 Allow minor-modes with explicit +/-1 arguments.
14187
14188 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
14189
14190 * term/xterm.el (xterm): Add defgroup.
14191 (xterm-extra-capabilities): Add defcustom to supply known xterm
14192 capabilities, skip querying them, or query them (default).
14193 (terminal-init-xterm): Use it.
14194 (terminal-init-xterm-modify-other-keys): New function to set up
14195 modifyOtherKeys support to simplify `terminal-init-xterm'.
14196
14197 2011-06-09 Martin Rudalics <rudalics@gmx.at>
14198
14199 * window.el (resize-window-reset, resize-window-reset-1)
14200 (resize-subwindows-skip-p, resize-subwindows-normal)
14201 (resize-subwindows, resize-other-windows, resize-this-window)
14202 (resize-root-window, resize-root-window-vertically)
14203 (window-deletable-p, window-or-subwindow-p)
14204 (frame-root-window-p): New functions.
14205
14206 2011-06-09 Glenn Morris <rgm@gnu.org>
14207
14208 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
14209 (ange-ftp-get-files): Use it.
14210
14211 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
14212
14213 * mail/sendmail.el (mail-recover-1, mail-recover):
14214 * files.el (recover-file, recover-session):
14215 Handle dired-listing-switches not being just a single short option.
14216
14217 2011-06-09 Glenn Morris <rgm@gnu.org>
14218
14219 * calendar/appt.el (appt-display-message, appt-disp-window):
14220 Handle lists of appointments.
14221
14222 2011-06-08 Martin Rudalics <rudalics@gmx.at>
14223
14224 * window.el (one-window-p): Move down in code.
14225 Rewrite doc-string.
14226 (window-current-scroll-bars): Rewrite doc-string.
14227 Normalize live window argument.
14228 (walk-windows, get-window-with-predicate, count-windows):
14229 Rewrite doc-string. Use window-list-1.
14230 (window-in-direction-2, window-in-direction, get-mru-window):
14231 New functions.
14232
14233 2011-06-08 Reuben Thomas <rrt@sc3d.org>
14234
14235 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
14236 Doc fix (Bug#8713).
14237
14238 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
14239
14240 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
14241
14242 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
14243
14244 * loadhist.el (unload-feature-special-hooks):
14245 Add `comint-output-filter-functions'.
14246
14247 2011-06-08 Ivan Kanis <gnu@kanis.fr>
14248
14249 * calendar/appt.el (appt-check): Move some initializations into the let.
14250
14251 2011-06-08 Martin Rudalics <rudalics@gmx.at>
14252
14253 * window.el (window-height): Defalias to window-total-height.
14254 (window-width): Defalias to window-body-width.
14255
14256 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
14257
14258 * image-mode.el (image-toggle-animation): New command.
14259 (image-mode-map): Bind it to RET.
14260 (image-mode): Update message.
14261 (image-toggle-display-image): Avoid a spurious cache flush.
14262 (image-transform-rotation): Doc fix.
14263 (image-transform-properties): Return quickly in the normal case.
14264 (image-animate-loop): Rename from image-animate-max-time.
14265
14266 * image.el (image-animate-max-time): Move to image-mode.el.
14267 (create-animated-image): Remove unnecessary function.
14268 (image-animate): Rename from image-animate-start. New arg.
14269 (image-animate-stop): Remove; just use image-animate-timer.
14270 (image-animate-timer): Use car-safe.
14271 (image-animate-timeout): Rename argument.
14272
14273 2011-06-07 Martin Rudalics <rudalics@gmx.at>
14274
14275 * window.el (get-lru-window, get-largest-window): Move here from
14276 window.c. Rename first argument to ALL-FRAMES.
14277 Rephrase doc-strings.
14278 (get-buffer-window-list): Rewrite using window-list-1.
14279 Rephrase doc-string.
14280 (window-safe-min-height, window-safe-min-width): New constants.
14281 (window-size-ignore, window-min-size, window-min-size-1)
14282 (window-sizable, window-sizable-p, window-size-fixed-1)
14283 (window-size-fixed-p, window-min-delta-1, window-min-delta)
14284 (window-max-delta-1, window-max-delta, window-resizable)
14285 (window-resizable-p, window-total-height, window-total-width)
14286 (window-body-width): New functions.
14287 (window-full-height-p, window-full-width-p): Rewrite using
14288 window-total-size.
14289 (window-body-height): Rewrite using window-body-size.
14290
14291 2011-06-06 Martin Rudalics <rudalics@gmx.at>
14292
14293 * window.el (window-right, window-left, window-child)
14294 (window-child-count, window-last-child, window-any-p)
14295 (normalize-live-buffer, normalize-live-frame)
14296 (normalize-any-window, normalize-live-window)
14297 (window-iso-combination-p, window-iso-combined-p)
14298 (window-iso-combinations)
14299 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
14300 (windows-with-parameter, window-with-parameter)
14301 (window-atom-root, make-window-atom, window-atom-check-1)
14302 (window-atom-check, window-side-check, window-check):
14303 New functions.
14304 (ignore-window-parameters, window-sides, window-sides-vertical)
14305 (window-sides-slots): New variables.
14306 (window-size-fixed): Move down in code. Minor doc-string fix.
14307
14308 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
14309
14310 * comint.el (comint-dynamic-complete-as-filename)
14311 (comint-dynamic-complete-filename): Correctly call
14312 completion-in-region.
14313
14314 2011-06-05 Deniz Dogan <deniz@dogan.se>
14315
14316 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
14317 in last change.
14318
14319 2011-06-05 Deniz Dogan <deniz@dogan.se>
14320
14321 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
14322 (rcirc): Use it to prompt for encryption.
14323
14324 2011-06-05 Roland Winkler <winkler@gnu.org>
14325
14326 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
14327 (bibtex-search-entries): New command bound to C-c C-a.
14328 (bibtex-display-entries): New function.
14329
14330 2011-06-05 Roland Winkler <winkler@gnu.org>
14331
14332 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
14333 (bibtex-insert-kill): After yanking insert newline if necessary.
14334 (bibtex-initialize): Call bibtex-string-files-init only once.
14335 (bibtex-mode): Do not call easy-menu-add.
14336 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
14337 (bibtex-yank): Set arg properly if nil.
14338
14339 2011-06-05 Roland Winkler <winkler@gnu.org>
14340
14341 * textmodes/bibtex.el (bibtex-search-entry-globally):
14342 New variable.
14343 (bibtex-search-entry): Use it.
14344
14345 2011-06-05 Roland Winkler <winkler@gnu.org>
14346
14347 * textmodes/bibtex.el (bibtex-entry-format): New option
14348 sort-fields.
14349 (bibtex-format-entry, bibtex-reformat): Honor this option.
14350 (bibtex-parse-entry): Return fields in proper order.
14351
14352 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
14353
14354 * doc-view.el (doc-view-remove-if): Move computation of result out
14355 of `dolist' to silence misleading lexical-binding warning.
14356
14357 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
14358
14359 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
14360 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
14361
14362 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
14363
14364 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
14365 "SunOS 5.10".
14366
14367 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
14368
14369 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
14370 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
14371 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
14372 (tramp-parse-putty):
14373 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
14374 (tramp-completion-function-alist-ssh)
14375 (tramp-completion-function-alist-telnet)
14376 (tramp-completion-function-alist-su)
14377 (tramp-completion-function-alist-putty): Set `tramp-autoload'
14378 cookie.
14379
14380 * net/tramp-ftp.el:
14381 * net/tramp-sh.el:
14382 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
14383 load "tramp.el" `tramp-set-completion-function'.
14384
14385 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
14386
14387 * shell.el: Require and use pcomplete.
14388 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
14389 (shell-completion-vars): Set pcomplete-default-completion-function.
14390
14391 2011-06-04 Deniz Dogan <deniz@dogan.se>
14392
14393 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
14394 `memq' (Bug#8799).
14395
14396 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
14397
14398 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
14399
14400 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
14401
14402 * bs.el (bs--mark-unmark, bs--nth-wrapper):
14403 * mpc.el (mpc-select-extend, mpc-songpointer-context):
14404 * vc/log-view.el (log-view-beginning-of-defun):
14405 * vc/smerge-mode.el (smerge-apply-resolution-patch)
14406 (smerge-refine-forward, smerge-refine-chopup-region):
14407 Silence warning for unused `dotimes' counter variables.
14408
14409 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
14410
14411 * net/tramp.el (tramp-with-progress-reporter): Rename from
14412 with-progress-reporter. Use `declare'.
14413 * net/tramp-smb.el:
14414 * net/tramp-sh.el:
14415 * net/tramp-gvfs.el: Update all uses.
14416
14417 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
14418
14419 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
14420 buffer isn't killed before making it current.
14421
14422 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
14423
14424 Silence various byte-compiler warnings.
14425 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
14426 `access-type' and new obsolescence format.
14427 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
14428 new format.
14429 (byte-compile-check-variable): New `access-type' argument.
14430 Only warn if the access-type is obsolete.
14431 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
14432 (byte-compile-variable-set): Adjust callers.
14433 * help-fns.el (describe-variable): Adjust to new obsolescence format.
14434 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
14435 setting it as obsolete.
14436 * simple.el (minibuffer-completing-symbol):
14437 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
14438 access as obsolete.
14439 * minibuffer.el (minibuffer-completing-file-name): Don't make it
14440 obsolete yet.
14441 * international/quail.el (quail-mouse-choose-completion): Remove unused
14442 code referring to obsolete var.
14443 (quail-choose-completion-string): Remove.
14444 * server.el (server-clients-with, server-kill-buffer-query-function)
14445 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
14446 * proced.el (proced-send-signal):
14447 * emacs-lisp/lisp.el (lisp-complete-symbol):
14448 Replace completion-annotate-function with completion-extra-properties.
14449
14450 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
14451
14452 * simple.el (goto-line): Use read-number.
14453 (overriding-map-is-bound): Remove.
14454 (saved-overriding-map): Change default.
14455 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
14456 Take the map as argument.
14457 (universal-argument, negative-argument, digit-argument): Use it.
14458 (restore-overriding-map): Adjust.
14459 (do-auto-fill): Use fill-forward-paragraph.
14460 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
14461
14462 * minibuffer.el (minibuffer-inactive-mode-map): New var.
14463 (minibuffer-inactive-mode): New major mode.
14464 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
14465 the *Messages* buffer" hack.
14466 (mouse-popup-menubar): Don't burp if the event is a normal key.
14467
14468 Miscellaneous tweaks.
14469 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
14470 lexical scoping as in subr.el's dolist and dotimes.
14471 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
14472 Silence compiler warning.
14473 * thingatpt.el (forward-whitespace): Trivial coding style fix.
14474 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
14475 * international/ccl.el (ccl-compile): Trivial simplification.
14476 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
14477 * emacs-lisp/testcover.el (testcover-end): Remove spurious
14478 `printflag' argument.
14479 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
14480 Purecopy the whole obsolescence data.
14481
14482 2011-06-01 Leo Liu <sdl.web@gmail.com>
14483
14484 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
14485 improve doc-string as suggested by Marco Pessotto
14486 <melmothx@gmail.com>.
14487 (rcirc-print): Fix last change.
14488
14489 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
14490
14491 * minibuffer.el (complete-with-action): Return nil for the metadata and
14492 boundaries of non-functional tables.
14493 (completion-table-dynamic): Return nil for the metadata.
14494 (completion-table-with-terminator): Add default case, using
14495 complete-with-action.
14496 (completion--metadata): New function.
14497 (completion-all-sorted-completions, minibuffer-completion-help): Use it
14498 to try and avoid pathological performance problems.
14499 (completion--embedded-envvar-table): Return `category' metadata.
14500
14501 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
14502
14503 * subr.el (process-alive-p): New tiny convenience function.
14504
14505 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
14506
14507 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
14508 content but also its previous major mode.
14509
14510 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
14511
14512 * emacs-lisp/debug.el (debug): Restore the previous content of the
14513 *Backtrace* buffer when we exit with C-M-c.
14514
14515 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
14516
14517 * minibuffer.el: Add metadata method to completion tables.
14518 (completion-category-overrides): New defcustom.
14519 (completion-metadata, completion--field-metadata)
14520 (completion-metadata-get, completion--styles)
14521 (completion--cycle-threshold): New functions.
14522 (completion-try-completion, completion-all-completions):
14523 Add `metadata' argument to choose completion-styles.
14524 (completion--do-completion): Use metadata to choose cycling.
14525 (completion-all-sorted-completions): Use metadata for sorting.
14526 Remove :completion-cycle-penalty which is not needed any more.
14527 (completion--try-word-completion): Add `metadata' argument.
14528 (minibuffer-completion-help): Check metadata for annotation function
14529 and sorting.
14530 (completion-file-name-table): Return `category' metadata.
14531 (minibuffer-completing-file-name): Make obsolete.
14532 * simple.el (minibuffer-completing-symbol): Make obsolete.
14533 * icomplete.el (icomplete-completions): Pass new `metadata' param to
14534 completion-try-completion.
14535
14536 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
14537
14538 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
14539
14540 2011-05-30 Leo Liu <sdl.web@gmail.com>
14541
14542 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
14543 (rcirc-print): Decode all incoming messages (bug#8744).
14544 (rcirc-decode-coding-system): Allow value nil for automatic coding
14545 system detection.
14546
14547 2011-06-01 Glenn Morris <rgm@gnu.org>
14548
14549 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
14550
14551 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
14552
14553 * image.el (image-animate-max-time): Allow nil and t values.
14554 Default to nil.
14555 (create-animated-image): Doc fix.
14556 (image-animate-start): Remove second arg; just use
14557 image-animate-max-time.
14558 (image-animate-timeout): Doc fix. Args changed.
14559
14560 * image-mode.el (image-toggle-display-image): Ensure that the
14561 image spec passed to the animate timer is the same object as in
14562 the buffer's display property (Bug#6981).
14563 (image-transform-properties): Doc fix.
14564
14565 * image.el (image-animate-max-time): Default to nil.
14566
14567 2011-05-29 Martin Rudalics <rudalics@gmx.at>
14568
14569 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
14570 entire buffer list (Bug#8184).
14571
14572 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
14573
14574 * image.el (imagemagick-types-inhibit)
14575 (imagemagick-register-types): Doc fix.
14576
14577 2011-05-29 Deniz Dogan <deniz@dogan.se>
14578
14579 * net/rcirc.el (rcirc): Use the user's stored encryption method by
14580 default.
14581
14582 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
14583
14584 * select.el: Don't perform clipboard-manager saving in hooks;
14585 leave the hooks empty.
14586
14587 2011-05-28 Leo Liu <sdl.web@gmail.com>
14588
14589 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
14590 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
14591 (occur-edit-mode): New major mode (Bug#8463).
14592 (occur-after-change-function): New function.
14593 (occur-engine): Give Occur tags a read-only property.
14594
14595 2011-05-28 Kevin Ryde <user42@zip.com.au>
14596
14597 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
14598
14599 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
14600
14601 * bindings.el (help-echo): Make the initial non-indicator dash
14602 empty on graphical terminals (Bug#7295).
14603
14604 * files.el (auto-mode-alist): Move config rule after the
14605 in-stripping one (Bug#8547).
14606
14607 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
14608
14609 * startup.el (normal-splash-screen): Remove gratuitous mode-line
14610 setting (Bug#8740).
14611
14612 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
14613
14614 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
14615 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
14616 (Bug#8539).
14617
14618 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
14619
14620 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
14621
14622 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
14623
14624 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
14625 (hs-hide-block-at-point, hs-find-block-beginning)
14626 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
14627 (Bug#8279).
14628
14629 2011-05-28 Glenn Morris <rgm@gnu.org>
14630
14631 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
14632
14633 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
14634
14635 * help-fns.el (describe-function-1): If the function is a derived
14636 major mode, print the parent mode.
14637
14638 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
14639 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
14640
14641 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
14642
14643 * minibuffer.el (completion--capf-wrapper): Check applicability before
14644 returning non-nil for non-exclusive completion data.
14645 * progmodes/etags.el (tags-completion-at-point-function):
14646 * info-look.el (info-lookup-completions-at-point): Mark as
14647 non-exclusive.
14648 (info-complete): Adjust accordingly.
14649
14650 * info-look.el: Convert to lexical-binding and completion-at-point.
14651 (info-lookup-completions-at-point): New function.
14652 (info-complete): Use it and completion-in-region.
14653
14654 2011-05-28 Drew Adams <drew.adams@oracle.com>
14655
14656 * isearch.el: Let M-e start with point at the first mismatched char.
14657 (isearch-fail-pos): New function.
14658 (isearch-edit-string): Use it.
14659
14660 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
14661
14662 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
14663
14664 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
14665
14666 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
14667 traversal functions for avl-trees.
14668 (avl-tree--stack): New struct.
14669 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
14670 (avl-tree-enter): Add optional `updatefun' arg.
14671 (avl-tree--do-enter): Add optional `updatefun' arg.
14672 Change return value.
14673 (avl-tree-delete): Add optional `test' and `nilflag' args.
14674 (avl-tree--do-delete): Add `test' and `nilflag' args.
14675 Change return value.
14676 (avl-tree-member): Add optional `nilflag'
14677 (avl-tree-member-p): New function.
14678 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
14679 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
14680 (avl-tree-stack-empty-p): New functions.
14681
14682 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
14683 avl-tree--del-balance1 and make it work both ways.
14684 (avl-tree--del-balance2): Remove.
14685 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
14686 make it work both ways.
14687 (avl-tree--enter-balance2): Remove.
14688 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
14689 New macros.
14690 (avl-tree--mapc, avl-tree-map): Add direction argument.
14691
14692 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
14693
14694 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
14695
14696 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
14697
14698 * select.el: Support clipboard managers with built-in function
14699 x-clipboard-manager-save, via delete-frame-functions and
14700 kill-emacs-hook.
14701 (xselect-convert-to-targets): Add MULTIPLE target to list.
14702 (xselect-convert-to-save-targets): New function.
14703
14704 2011-05-27 Kenichi Handa <handa@m17n.org>
14705
14706 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
14707 let-binding rfc2047-encode-encoded-words to nil.
14708
14709 2011-05-27 Glenn Morris <rgm@gnu.org>
14710
14711 * mail/emacsbug.el: Don't require url-util.
14712
14713 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
14714
14715 * files.el (set-auto-mode):
14716 Also respect mode: entries at the end of the file. (Bug#8586)
14717
14718 2011-05-26 Glenn Morris <rgm@gnu.org>
14719
14720 * files.el (hack-local-variables-prop-line, hack-local-variables):
14721 Downcase mode names, as seems to be traditional.
14722 (hack-local-variables, hack-local-variables-apply): Doc fixes.
14723
14724 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
14725 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
14726
14727 2011-05-25 Julien Danjou <julien@danjou.info>
14728
14729 * textmodes/rst.el (rst-define-level-faces): Do not define face
14730 symbol if it is already defined.
14731
14732 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
14733
14734 * play/5x5.el (5x5-new-game, 5x5-randomize):
14735 Reset 5x5-solver-output to nil when a new grid is cast.
14736 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
14737 these debugging traces, as defmacro breaks the compiled code.
14738
14739 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
14740
14741 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
14742
14743 2011-05-24 Leo Liu <sdl.web@gmail.com>
14744
14745 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
14746 (vc-bzr-sha1): Adapt.
14747
14748 * sha1.el: Remove. Function `sha1' is now builtin.
14749
14750 * bindings.el: Provide sha1 feature.
14751
14752 2011-05-24 Kenichi Handa <handa@m17n.org>
14753
14754 * mail/sendmail.el: Require `rfc2047'.
14755 (mail-insert-from-field): Do not perform RFC2047 encoding.
14756 (mail-encode-header): New function.
14757 (sendmail-send-it): Set buffer-file-coding-system of the work
14758 buffer to the return value of select-message-coding-system.
14759 Call mail-encode-header.
14760
14761 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
14762
14763 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
14764
14765 * mail/supercite.el (sc-default-cite-frame):
14766 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
14767
14768 2011-05-24 Glenn Morris <rgm@gnu.org>
14769
14770 * progmodes/python.el (brm-menu): Declare.
14771
14772 * emulation/viper.el (viper-set-hooks): Declare.
14773
14774 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
14775 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
14776 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
14777 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
14778 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
14779 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
14780
14781 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
14782
14783 Add an :exit-function for completion-at-point.
14784
14785 * minibuffer.el (completion--done): New fun.
14786 (completion--do-completion): Use it. New arg `expect-exact'.
14787 (minibuffer-complete, minibuffer-complete-word): Don't output message,
14788 since completion--do-completion does it for us now.
14789 (minibuffer-force-complete): Use completion--done and
14790 completion--replace. Handle sole-completion case with more care.
14791 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
14792 (completion-extra-properties): New var.
14793 (completion-annotate-function): Make obsolete.
14794 (minibuffer-completion-help): Adjust accordingly.
14795 Use completion-list-insert-choice-function.
14796 (completion-at-point, completion-help-at-point):
14797 Bind completion-extra-properties.
14798 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
14799 * simple.el (completion-list-insert-choice-function): New var.
14800 (completion-setup-function): Preserve it.
14801 (choose-completion): Pay attention to it, shuffle the code a bit.
14802 (choose-completion-string): New arg `insert-function'.
14803
14804 * textmodes/bibtex.el: Convert to lexical binding.
14805 (bibtex-mode-map): Use completion-at-point.
14806 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
14807 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
14808 (bibtex-complete): Define as obsolete alias.
14809 (bibtex-complete-internal): Remove.
14810 (bibtex-format-entry): Remove unused sub-group in regexp.
14811 * shell.el (shell--command-completion-data)
14812 (shell-environment-variable-completion):
14813 * pcomplete.el (pcomplete-completions-at-point):
14814 * comint.el (comint--complete-file-name-data): Use :exit-function
14815 instead of completion-table-with-terminator so it also works for
14816 choose-completion.
14817
14818 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
14819
14820 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
14821
14822 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
14823 (bug#8710).
14824
14825 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
14826
14827 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
14828
14829 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
14830 customization variable and implement: If non-nil, auto-fill will
14831 be inhibited while on topic's header line.
14832
14833 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
14834
14835 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
14836 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
14837 always have a solution in grid size = 5 cases.
14838 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
14839 (5x5-solver-output, 5x5-log-buffer): New vars.
14840 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
14841 Make these variables buffer local to achieve 5x5 multi-session-ness.
14842 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
14843 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
14844 (5x5-solve-suggest): New funs.
14845 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
14846 randomize a grid so that we ensure that there is always a solution.
14847 (5x5-make-random-grid): Allow other movement than flipping.
14848
14849 2011-05-23 Kevin Ryde <user42@zip.com.au>
14850
14851 * emacs-lisp/advice.el (ad-read-advised-function):
14852 Use `function-called-at-point' as the default, if it has
14853 advice and passes PREDICATE.
14854
14855 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
14856
14857 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
14858 byte-compile-lambda if it's actually a lambda.
14859
14860 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
14861 Fix function quoting. Use backquote better.
14862
14863 2011-05-22 Yuanle Song <sylecn@gmail.com>
14864
14865 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
14866 matching (Bug#8516).
14867
14868 2011-01-22 Jari Aalto <jari.aalto@cante.net>
14869
14870 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
14871 different face (Bug#8178).
14872
14873 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
14874
14875 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
14876 defface (Bug#8144).
14877
14878 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
14879
14880 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
14881 funcall as well (bug#8712). Warn when performing those conversions.
14882 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
14883
14884 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
14885
14886 2011-05-22 Glenn Morris <rgm@gnu.org>
14887
14888 * files.el (hack-local-variables-prop-line): Small simplifications.
14889 (hack-local-variables, hack-local-variables-prop-line):
14890 If MODE-ONLY, return the mode, rather than just `t'.
14891
14892 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
14893
14894 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
14895
14896 2011-05-21 Glenn Morris <rgm@gnu.org>
14897
14898 * files.el (hack-local-variables-prop-line, hack-local-variables):
14899 If only interested in the mode, don't bother doing the other stuff.
14900
14901 * image-mode.el (image-after-revert-hook):
14902 Redraw all frames on which the image is visible. (Bug#8567)
14903
14904 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
14905
14906 * wid-edit.el (widget-checklist-match-inline):
14907 Fix 2011-04-19 change. (Bug#8649)
14908
14909 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
14910
14911 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
14912 Also allow singlespace after single-letter capitals followed by a dot.
14913
14914 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
14915 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
14916
14917 2011-05-20 Nix <nix@esperi.org.uk>
14918
14919 * files.el (basic-save-buffer-2):
14920 Fix handling of break-hardlink-on-save with non-existent files.
14921
14922 2011-05-19 Deniz Dogan <deniz@dogan.se>
14923
14924 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
14925 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
14926
14927 2011-05-19 Glenn Morris <rgm@gnu.org>
14928
14929 * progmodes/f90.el (f90-type-def-re):
14930 Handle "type, bind(c)". (Bug#8691)
14931
14932 * emacs-lisp/autoload.el (batch-update-autoloads):
14933 Set autoload-excludes by parsing loadup.el rather than Makefiles.
14934
14935 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
14936
14937 * net/tramp.el (tramp-process-actions): Set "first-password-request"
14938 property for the correct connection in case of multihops.
14939
14940 2011-05-18 Glenn Morris <rgm@gnu.org>
14941
14942 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
14943 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
14944
14945 Rationalize calendar handling of day and month abbrev-arrays.
14946 * calendar/calendar.el (calendar-customized-p): New function.
14947 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
14948 (calendar-day-name-array, calendar-month-name-array): Doc fix.
14949 Add :set function.
14950 (calendar-abbrev-length, calendar-day-abbrev-array)
14951 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
14952 (calendar-day-abbrev-array, calendar-month-abbrev-array):
14953 Elements may no longer be nil.
14954 (calendar-day-name, calendar-month-name):
14955 Update for changed nature of abbrev arrays.
14956 * calendar/diary-lib.el (diary-name-pattern):
14957 Update for changed nature of abbrev arrays.
14958 (diary-mark-entries-1): Update calendar-make-alist calls.
14959 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
14960 * calendar/cal-html.el (cal-html-day-abbrev-array):
14961 Simply inherit from calendar-day-abbrev-array.
14962
14963 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
14964
14965 * progmodes/grep.el (grep-mode): Disable default
14966 compilation-directory-matcher setting (bug#8684).
14967
14968 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
14969
14970 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
14971 instead of "head" and "tail". There were problems with SunOS 5.9,
14972 and it performs better.
14973
14974 2011-05-17 Glenn Morris <rgm@gnu.org>
14975
14976 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
14977
14978 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
14979 Replace obsolete function.
14980
14981 * shell.el (pcomplete-parse-arguments-function): Declare.
14982
14983 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
14984 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
14985 (appt-check): Doc fixes.
14986 (appt-disp-window-function, appt-delete-window-function):
14987 Remove needless special case in custom :type.
14988 (appt-display-count): Default to 0, not nil.
14989 (appt-check): Reset appt-display-count to 0, not nil.
14990
14991 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
14992
14993 * progmodes/python.el (python-font-lock-keywords):
14994 Add the Python 3.X keyword "nonlocal" (bug#8639).
14995
14996 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
14997
14998 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
14999
15000 2011-05-16 Kevin Ryde <user42@zip.com.au>
15001
15002 * info-look.el (makefile-automake-mode): New setups, looking in
15003 automake manual, then makefile-mode.
15004 (makefile-mode): Remove automake manual, have it just in
15005 makefile-automake-mode since there's various things different or
15006 not relevant to plain make.
15007 (makefile-mode): Remove "other-modes" non-existent automake-mode,
15008 believe a hypothetical automake-mode would go to makefile-mode,
15009 not the other way around.
15010
15011 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
15012
15013 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
15014 hunk-end tags (Bug#8672).
15015
15016 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
15017 vc-annotate-show-diff-revision-at-line (Bug#8671).
15018
15019 2011-05-14 Glenn Morris <rgm@gnu.org>
15020
15021 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
15022 in the middle of an existing one with multiple authors. (Bug#8645)
15023 (change-log-font-lock-keywords): Also handle multiple author lines
15024 with leading tabs. (Bug#8644)
15025
15026 * calendar/appt.el (appt-check): Rename some local variables.
15027 Some simplification/reordering.
15028
15029 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
15030 (feedmail-sendmail-f-doesnt-sell-me-out)
15031 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
15032 (feedmail-debug-sit-for, feedmail-queue-express-hook)
15033 (feedmail-queue-runner-message-sender): Set :version.
15034 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
15035 (bbdb-dwim-net-address, vm-mail): Declare.
15036 (feedmail-binmail-gnulinuxish-template):
15037 Rename from feedmail-binmail-linuxish-template.
15038 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
15039 Use insert-buffer-substring.
15040
15041 2011-05-14 Bill Carpenter <bill@carpenter.org>
15042
15043 * mail/feedmail.el (feedmail-patch-level): Increase.
15044 (feedmail-debug): New custom group.
15045 (feedmail-confirm-outgoing-timeout)
15046 (feedmail-sendmail-f-doesnt-sell-me-out)
15047 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
15048 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
15049 (feedmail-sender-line, feedmail-from-line)
15050 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
15051 (feedmail-spray-this-address)
15052 (feedmail-spray-address-fiddle-plex-list)
15053 (feedmail-queue-use-send-time-for-date)
15054 (feedmail-queue-use-send-time-for-message-id)
15055 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
15056 (feedmail-buffer-eating-function):
15057 Doc fixes.
15058 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
15059 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
15060 (feedmail-message-action-scroll-down): New functions.
15061 (feedmail-queue-directory, feedmail-queue-draft-directory):
15062 Use expand-file-name.
15063 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
15064 Remove C-v help entry.
15065 (feedmail-queue-buffer-file-name): New variable.
15066 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
15067 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
15068 (feedmail-message-action-send-strong, feedmail-message-action-edit)
15069 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
15070 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
15071 (feedmail-message-action-toggle-spray)
15072 (feedmail-run-the-queue-no-prompts)
15073 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
15074 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
15075 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
15076 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
15077 (feedmail-envelope-deducer, feedmail-fiddle-from)
15078 (feedmail-fiddle-sender, feedmail-default-date-generator)
15079 (feedmail-fiddle-date, feedmail-fiddle-message-id)
15080 (feedmail-fiddle-spray-address)
15081 (feedmail-fiddle-list-of-spray-fiddle-plexes)
15082 (feedmail-fiddle-list-of-fiddle-plexes)
15083 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
15084 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
15085 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
15086 Change default. Doc fix.
15087 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
15088 (feedmail-binmail-linuxish-template): New constant.
15089 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
15090 Respect feedmail-sendmail-f-doesnt-sell-me-out.
15091 (feedmail-send-it): Add debug call.
15092 Use feedmail-queue-buffer-file-name, and
15093 feedmail-send-it-immediately-wrapper.
15094 (feedmail-message-action-send): Add debug call.
15095 Use feedmail-send-it-immediately-wrapper.
15096 (feedmail-queue-express-to-queue): Add debug call.
15097 Run feedmail-queue-express-hook.
15098 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
15099 (feedmail-message-action-help-blat):
15100 Rename from feedmail-queue-send-edit-prompt-help-first.
15101 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
15102 Check line-endings. Handle errors better.
15103 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
15104 Doc fix. Add debug call.
15105 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
15106 Use feedmail-queue-send-edit-prompt-inner.
15107 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
15108 (feedmail-queue-send-edit-prompt-inner): New function, extracted
15109 from feedmail-queue-send-edit-prompt.
15110 (feedmail-queue-send-edit-prompt-help)
15111 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
15112 (feedmail-tidy-up-slug): Add debug call.
15113 Respect feedmail-queue-slug-suspect-regexp.
15114 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
15115 (feedmail-dump-message-to-queue): Add debug call.
15116 Expand queue-directory.
15117 (feedmail-dump-message-to-queue): Change message slightly.
15118 Use feedmail-say-chatter.
15119 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
15120 (feedmail-send-it-immediately-wrapper): New function.
15121 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
15122 Insert empty string rather than newline. Handle full-frame case.
15123 Use catch/throw. Use feedmail-say-chatter.
15124 (feedmail-fiddle-from): Try mail-host-address.
15125 (feedmail-default-message-id-generator): Doc fix.
15126 Bind system-time-locale. Handle missing end.
15127 (feedmail-fiddle-x-mailer): Add debug call.
15128 Handle feedmail-x-mailer-line being nil.
15129 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
15130 Add debug call. Use buffer-substring-no-properties.
15131 (feedmail-say-debug, feedmail-say-chatter): New functions.
15132 (feedmail-find-eoh): Give an explicit error.
15133
15134 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
15135
15136 * net/newst-treeview.el (newsticker-treeview-face): Change default
15137 family from helvetica to sans.
15138 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
15139 etc/images/newsticker.
15140
15141 * net/newst-reader.el (newsticker-feed-face): Change default
15142 family from helvetica to sans.
15143
15144 * net/newst-plainview.el (newsticker-new-item-face)
15145 (newsticker-old-item-face, newsticker-immortal-item-face)
15146 (newsticker-obsolete-item-face, newsticker-date-face)
15147 (newsticker-statistics-face): Change default family from
15148 helvetica to sans.
15149 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
15150 etc/images/newsticker.
15151
15152 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
15153 (newsticker--process-auto-mark-filter-match): Tell user about
15154 auto-marking.
15155
15156 2011-05-13 Didier Verna <didier@xemacs.org>
15157
15158 Common Lisp indentation improvements on defmethod and lambda-lists.
15159 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
15160 TODO entries.
15161 (lisp-lambda-list-keyword-parameter-indentation)
15162 (lisp-lambda-list-keyword-parameter-alignment)
15163 (lisp-lambda-list-keyword-alignment): New customizable user options.
15164 (lisp-indent-defun-method): Improve docstring.
15165 (extended-loop-p): Fix comment.
15166 (lisp-indent-lambda-list-keywords-regexp): New variable.
15167 (lisp-indent-lambda-list): New function.
15168 (lisp-indent-259): Use it.
15169 (lisp-indent-defmethod): Support for more than one
15170 method qualifier and properly indent methods lambda-lists.
15171 (defgeneric): Provide a missing common-lisp-indent-function property.
15172
15173 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
15174
15175 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
15176 bounds for the empty string (bug#8667).
15177
15178 2011-05-13 Glenn Morris <rgm@gnu.org>
15179
15180 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
15181
15182 * mail/sendmail.el (sendmail-program): Try executable-find first.
15183 (sendmail-send-it): `sendmail-program' cannot be unbound.
15184
15185 * calendar/appt.el (appt-make-list): Simplify.
15186 (appt-time-msg-list): Doc fix.
15187 (appt-check): Change mode-line message at the time of the appointment.
15188
15189 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
15190
15191 * progmodes/ld-script.el (ld-script-keywords)
15192 (ld-script-builtins): Update keywords list.
15193
15194 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
15195
15196 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
15197
15198 * shell.el (shell-completion-vars): New function.
15199 (shell-mode):
15200 * simple.el (read-shell-command): Use it.
15201 (blink-matching-open): No need for " [...]" in minibuffer-message.
15202
15203 2011-05-12 Glenn Morris <rgm@gnu.org>
15204
15205 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
15206 (appt-check): Simplify.
15207
15208 2011-05-12 Eli Zaretskii <eliz@gnu.org>
15209
15210 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
15211 literal "/dev/null".
15212
15213 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
15214
15215 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
15216 Fix typo.
15217
15218 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
15219
15220 * progmodes/which-func.el (which-function):
15221 Use add-log-current-defun instead of add-log-current-defun-function,
15222 which might not be defined (Bug#8260).
15223
15224 2011-05-12 Glenn Morris <rgm@gnu.org>
15225
15226 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
15227 Let byte-compile-initial-macro-environment always take precedence.
15228
15229 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
15230
15231 * net/rcirc.el: Add support for SSL/TLS connections.
15232 (rcirc-server-alist): New field `encryption'.
15233 (rcirc): Check `encryption' settings.
15234 (rcirc-connect): New arg `encryption'. Use open-network-stream.
15235 Merge make-local-variable into `set'.
15236 (rcirc--connection-open-p): New function.
15237 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
15238 the process is not a network process (e.g. running gnutls-cli).
15239 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
15240 Make rcirc-(en|de)code-coding-system local here.
15241 (rcirc-mode): Merge make-local-variable into `set'.
15242 (rcirc-parent-buffer): Make permanent buffer-local.
15243 (rcirc-multiline-minor-mode): Don't do it here.
15244 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
15245 there's no server buffer.
15246
15247 2011-05-11 Glenn Morris <rgm@gnu.org>
15248
15249 * newcomment.el (comment-kill): Prefix "unused" local.
15250
15251 * term/w32console.el (get-screen-color): Declare.
15252
15253 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
15254 Handle symbol elements of byte-compile-initial-macro-environment.
15255
15256 2011-05-10 Leo Liu <sdl.web@gmail.com>
15257
15258 * bookmark.el (bookmark-bmenu-mode-map):
15259 Bind bookmark-bmenu-search to `/'.
15260
15261 * mail/footnote.el: Convert to utf-8 encoding.
15262 (footnote-unicode-string, footnote-unicode-regexp): New variable.
15263 (Footnote-unicode): New function.
15264 (footnote-style-alist): Add unicode style to the list.
15265 (footnote-style): Doc fix.
15266
15267 2011-05-10 Jim Meyering <meyering@redhat.com>
15268
15269 Fix doubled-word typos.
15270 * international/quail.el (quail-insert-kbd-layout): and and -> and
15271 * kermit.el: and and -> and
15272 * net/ldap.el (ldap-search-internal): to to -> to
15273 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
15274 * progmodes/js.el (js-mode): and and -> and
15275 * textmodes/artist.el (artist-move-to-xy): at at -> at
15276 (artist-draw-region-trim-line-endings): if if -> if
15277 And Safetyc -> Safety.
15278 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
15279
15280 2011-05-10 Glenn Morris <rgm@gnu.org>
15281 Stefan Monnier <monnier@iro.umontreal.ca>
15282
15283 * files.el (hack-one-local-variable-eval-safep):
15284 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
15285
15286 2011-05-10 Glenn Morris <rgm@gnu.org>
15287
15288 * calendar/diary-lib.el (diary-list-entries-hook)
15289 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
15290 (diary-nongregorian-marking-hook, diary-list-entries)
15291 (diary-include-other-diary-files, diary-mark-entries)
15292 (diary-mark-included-diary-files): Doc fixes.
15293
15294 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
15295
15296 * misc.el: Require tabulated-list.el during compilation.
15297
15298 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
15299
15300 * progmodes/compile.el (compilation-start):
15301 Run compilation-filter-hook for the async case too.
15302 (compilation-filter-hook): Doc fix.
15303
15304 2011-05-09 Deniz Dogan <deniz@dogan.se>
15305
15306 * wdired.el: Remove outdated installation comment. Fix usage
15307 comment.
15308
15309 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
15310
15311 * misc.el: Implement new command `list-dynamic-libraries'.
15312 (list-dynamic-libraries--loaded-only-p): New variable.
15313 (list-dynamic-libraries--refresh): New function.
15314 (list-dynamic-libraries): New command.
15315
15316 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
15317
15318 * progmodes/compile.el (compilation-error-regexp-alist-alist):
15319 Fix the ant regexp to handle end-line and end-column info from jikes.
15320 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
15321 higher priority to avoid clobbering by gnu.
15322
15323 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
15324
15325 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
15326 if the face has existing theme settings (Bug#8454).
15327
15328 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
15329
15330 * progmodes/perl-mode.el (perl-imenu-generic-expression):
15331 Only match variables declared via `my' or `our' (Bug#8261).
15332
15333 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
15334 special file names `.' and `..' (Bug#8259).
15335
15336 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
15337
15338 * progmodes/grep.el (grep-mode-font-lock-keywords):
15339 Remove buffer-changing entries.
15340 (grep-filter): New function.
15341 (grep-mode): Add it to compilation-filter-hook.
15342
15343 * progmodes/compile.el (compilation-filter-hook)
15344 (compilation-filter-start): New defvars.
15345 (compilation-filter): Call compilation-filter-hook prior to
15346 updating the process mark.
15347
15348 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
15349
15350 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
15351
15352 2011-05-07 Eli Zaretskii <eliz@gnu.org>
15353
15354 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
15355 mailclient-send-it even if window-system is nil. (Bug#8595)
15356
15357 * term/w32console.el (terminal-init-w32console):
15358 Call get-screen-color and use its output to set the frame
15359 background-mode. (Bug#8597)
15360
15361 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
15362
15363 Make bytecomp.el understand that defmethod defines funs (bug#8631).
15364 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
15365 New functions.
15366 (defgeneric, eieio--defmethod): Use them.
15367 (eieio-defgeneric): Remove.
15368 (defmethod): Call defgeneric in a way visible to the byte-compiler.
15369
15370 2011-05-07 Glenn Morris <rgm@gnu.org>
15371
15372 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
15373 Use let rather than let*.
15374 (timeclock-find-discrep): Remove unused local.
15375
15376 * calendar/diary-lib.el (diary-comment-start): Doc fix.
15377
15378 * calendar/appt.el (appt-time-msg-list): Doc fix.
15379
15380 2011-05-06 Noah Friedman <friedman@splode.com>
15381
15382 * apropos.el (apropos-print-doc): Only use
15383 emacs-lisp-docstring-fill-column when it is bound to an integer,
15384 per that variable's documentation.
15385
15386 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
15387
15388 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
15389 and warnings are not silently discarded (e.g. use -d instead of -P).
15390
15391 2011-05-06 Glenn Morris <rgm@gnu.org>
15392
15393 * calendar/appt.el (appt-message-warning-time): Doc fix.
15394 (appt-warning-time-regexp): New option.
15395 (appt-make-list): Respect appt-message-warning-time.
15396
15397 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
15398 New options.
15399 (diary-add-to-list): Strip comments from the displayed string.
15400 (diary-mode): Set comment-start and comment-end.
15401
15402 * vc/diff-mode.el (smerge-refine-subst): Declare.
15403 (diff-refine-hunk): Don't require smerge-mode when compiling.
15404
15405 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
15406
15407 * simple.el (list-processes): Return nil as the docstring says.
15408
15409 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
15410
15411 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
15412 to "".
15413 (ange-ftp-write-region, ange-ftp-insert-file-contents)
15414 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
15415 determining of binary transfer. (Bug#7383)
15416
15417 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
15418
15419 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
15420 Fix port computation bug. (Bug#8618)
15421
15422 2011-05-05 Glenn Morris <rgm@gnu.org>
15423
15424 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
15425
15426 * simple.el (shell-dynamic-complete-functions)
15427 (comint-dynamic-complete-functions): Declare.
15428
15429 * net/network-stream.el (gnutls-negotiate):
15430 * simple.el (tabulated-list-print): Fix declarations.
15431
15432 * progmodes/gud.el (syntax-symbol, syntax-point):
15433 Remove unnecessary and incorrect declarations.
15434
15435 * emacs-lisp/check-declare.el (check-declare-scan):
15436 Handle byte-compile-initial-macro-environment in bytecomp.el
15437
15438 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
15439
15440 Fix earlier half-done eieio-defmethod change (bug#8338).
15441 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
15442 Streamline and change calling convention.
15443 (defmethod): Adjust accordingly and simplify.
15444 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
15445 new eieio--defmethod.
15446 (slot-boundp): Minor CSE simplification.
15447
15448 2011-05-05 Milan Zamazal <pdm@zamazal.org>
15449
15450 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
15451 (glasses-make-readable): Use glasses-separate-capital-groups.
15452
15453 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
15454
15455 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
15456 (warning-series): Doc fix.
15457 (display-warning): Don't try to create the buffer if we just found it.
15458
15459 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
15460
15461 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
15462 (autoload-find-generated-file): New function.
15463 (generate-file-autoloads): Bind generated-autoload-file to
15464 buffer-file-name.
15465 (update-file-autoloads, update-directory-autoloads):
15466 Use autoload-find-generated-file. If called interactively, prompt for
15467 output file (Bug#7989).
15468 (batch-update-autoloads): Doc fix.
15469
15470 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
15471
15472 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
15473
15474 2011-05-04 Glenn Morris <rgm@gnu.org>
15475
15476 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
15477 function, so it follows changes in calendar-date-style.
15478 (diary-fancy-date-matcher): New function.
15479 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
15480 (diary-fancy-font-lock-fontify-region-function):
15481 Use diary-fancy-date-pattern as a function.
15482
15483 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
15484 non-numbers for `year' etc pseudo-variables. (Bug#8583)
15485
15486 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
15487
15488 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
15489 instead of positional arguments. Allow :keylist and :crlfiles
15490 arguments.
15491 (open-gnutls-stream): Call it.
15492
15493 * net/network-stream.el (network-stream-open-starttls): Adjust to
15494 call `gnutls-negotiate' with :process and :hostname arguments.
15495
15496 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
15497
15498 * minibuffer.el (completion--message): New function.
15499 (completion--do-completion, minibuffer-complete)
15500 (minibuffer-force-complete, minibuffer-complete-word): Use it.
15501 (completion--do-completion): Don't ignore completion-auto-help when in
15502 icomplete-mode.
15503
15504 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
15505 internal encoding (e.g. tibetan zero is not whitespace).
15506 (global-whitespace-mode): Prefer save-current-buffer.
15507 (whitespace-trailing-regexp): Remove useless save-match-data.
15508 (whitespace-empty-at-bob-regexp): Minor simplification.
15509
15510 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
15511
15512 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
15513
15514 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
15515
15516 * textmodes/ispell.el (ispell-add-per-file-word-list):
15517 Use `concat' to create string for insertion.
15518
15519 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
15520
15521 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
15522 Avoid open-line which runs post-self-insert-hook.
15523 (bibtex-fill-entry): Remove unused `end' var.
15524
15525 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
15526
15527 * textmodes/ispell.el (ispell-add-per-file-word-list):
15528 Protect against `nil' value of `comment-start' (Bug#8579).
15529
15530 2011-05-03 Leo Liu <sdl.web@gmail.com>
15531
15532 * isearch.el (isearch-yank-pop): New command.
15533 (isearch-mode-map): Bind it to `M-y'.
15534 (isearch-forward): Mention it.
15535
15536 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
15537
15538 * simple.el (minibuffer-complete-shell-command): Remove.
15539 (minibuffer-local-shell-command-map): Use completion-at-point.
15540 (read-shell-command): Setup completion vars here instead.
15541 (read-expression-map): Bind TAB to symbol completion.
15542
15543 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
15544 error directly rather via storing it into `results'.
15545
15546 2011-05-02 Leo Liu <sdl.web@gmail.com>
15547
15548 * vc/diff.el: Fix description.
15549
15550 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
15551
15552 * server.el (server-eval-at): New function.
15553
15554 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
15555
15556 * net/network-stream.el (open-network-stream): Take a :nowait
15557 parameter and pass it on to `make-network-process'.
15558 (network-stream-open-plain): Ditto.
15559
15560 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
15561
15562 * faces.el (face-spec-set-match-display): Don't match toolkit
15563 options on terminal frames.
15564
15565 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
15566
15567 * progmodes/pascal.el: Use lexical binding.
15568 (pascal-mode-map): Remove author preferences.
15569
15570 * pcomplete.el (pcomplete-std-complete): Don't abuse
15571 completion-at-point.
15572
15573 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
15574
15575 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
15576 removing code that has been dead since 1991 or so.
15577
15578 * startup.el (command-line): When warning about "_emacs", use a
15579 delayed warning to allow the user to filter it out.
15580
15581 2011-04-28 Deniz Dogan <deniz@dogan.se>
15582
15583 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
15584 user has not joined.
15585
15586 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
15587
15588 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
15589 aren't any completions at point.
15590
15591 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
15592
15593 * subr.el (display-delayed-warnings): New function.
15594 (delayed-warnings-hook): New variable.
15595
15596 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
15597
15598 * minibuffer.el (completion-at-point, completion-help-at-point):
15599 Don't presume that a given completion-at-point-function will always
15600 use the same calling convention.
15601
15602 * pcomplete.el (pcomplete-completions-at-point):
15603 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
15604 pcomplete-seen is non-nil.
15605 (pcomplete-comint-setup): Also recognize the new comint/shell
15606 completion functions.
15607 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
15608 pcomplete-seen is non-nil.
15609
15610 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
15611
15612 * calendar/icalendar.el (diary-lib): Add require statement.
15613 (icalendar--create-uid): Read out a uid from a text-property on
15614 the first character in the entry. This allows for code to add its
15615 own uid to the entry.
15616 (icalendar--convert-float-to-ical): Add export of
15617 `diary-float'-entries save for those with the optional DAY
15618 argument.
15619
15620 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
15621
15622 * subr.el (shell-quote-argument): Use alternate escaping strategy
15623 when we spot a variable reference in a string.
15624
15625 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
15626
15627 * cus-start.el (all): Define customization for debug-on-event.
15628
15629 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
15630
15631 * subr.el (shell-quote-argument): Escape correctly under Windows.
15632
15633 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
15634
15635 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
15636
15637 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
15638
15639 * net/tramp.el (tramp-process-actions): Add POS argument.
15640 Delete region between POS and (pos).
15641
15642 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
15643 Use `nil' position in `tramp-process-actions' call.
15644 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
15645
15646 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
15647 position in `tramp-process-actions' call.
15648
15649 * net/trampver.el: Update release number.
15650
15651 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
15652
15653 * custom.el (defcustom): Obey lexical-binding.
15654
15655 Fix octave-inf completion problems reported by Alexander Klimov.
15656 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
15657 Inherit from octave-mode-syntax-table.
15658 (inferior-octave-mode): Set info-lookup-mode.
15659 (inferior-octave-completion-at-point): New function.
15660 (inferior-octave-complete): Use it and completion-in-region.
15661 (inferior-octave-dynamic-complete-functions): Use it as well, and use
15662 comint-filename-completion.
15663 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
15664 symbol elements which shouldn't be word elements.
15665 (octave-font-lock-keywords, octave-beginning-of-defun)
15666 (octave-function-header-regexp): Adjust regexps accordingly.
15667 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
15668
15669 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
15670
15671 * net/gnutls.el (gnutls-errorp): Declare before first use.
15672
15673 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
15674
15675 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
15676 verify-error, and verify-hostname-error parameters. Check whether
15677 default trustfile exists before going to use it. Add missing
15678 argument to gnutls-message-maybe call. Return value.
15679 Reported by Claudio Bley <claudio.bley@gmail.com>.
15680 (open-gnutls-stream): Add usage example.
15681
15682 * net/network-stream.el (network-stream-open-starttls): Give host
15683 parameter to `gnutls-negotiate'.
15684 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
15685 * subr.el (shell-quote-argument): Escape correctly under Windows.
15686
15687 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
15688
15689 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
15690 Use correct match group (bug#8438).
15691
15692 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
15693
15694 * emacs-lisp/package.el (package-built-in-p): Fix typo.
15695 (package-menu--generate): New arg specifying packages to show.
15696 (package-menu-refresh, package-menu-execute, list-packages):
15697 Callers changed.
15698 (package-show-package-list): New function, replacing deleted
15699 package--list-packages (renamed because it is non-internal).
15700
15701 * finder.el (finder-list-matches): Use package-show-package-list
15702 instead of deleted package--list-packages.
15703
15704 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
15705 Based on a previous implementation by Juanma Barranquero (Bug#8366).
15706 (vc-annotate-mode-map): Bind it to RET.
15707
15708 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
15709
15710 * progmodes/etags.el (next-file): Don't use set-buffer to change
15711 buffers (Bug#8478).
15712
15713 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
15714
15715 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
15716
15717 * apropos.el (apropos-label-face): Avoid variable-pitch face.
15718 (apropos-accumulator): Doc fix.
15719 (apropos-function, apropos-macro, apropos-command)
15720 (apropos-variable, apropos-face, apropos-group, apropos-widget)
15721 (apropos-plist): Add face property.
15722 (apropos-symbols-internal): Fix indentation.
15723 (apropos-print): Simplify help, and recognize apropos-multi-type.
15724 (apropos-print-doc): Use button-type-get to extract the button's
15725 face property. Fill docstring (Bug#8352).
15726
15727 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
15728
15729 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
15730
15731 * play/mpuz.el (mpuz-silent): Doc fix.
15732 (mpuz-mode-map): Use mapc.
15733 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
15734 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
15735 Fix typos in docstrings.
15736
15737 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
15738 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
15739
15740 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
15741
15742 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
15743
15744 * minibuffer.el (completion--do-completion): Avoid the "Next char
15745 not unique" prompt if icomplete-mode is enabled (Bug#5849).
15746
15747 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
15748 mouse-2 into unread-command-events, it is interpreted correctly.
15749
15750 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
15751 (image-toggle-display): Doc fix.
15752
15753 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
15754
15755 * textmodes/page.el (what-page): Use line-number-at-pos to
15756 calculate line number (Bug#6825).
15757
15758 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
15759
15760 * eshell/esh-mode.el (find-tag-interactive): Declare function.
15761 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
15762 Pass argument NO-DEFAULT to `find-tag-interactive'.
15763
15764 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
15765
15766 Lexical-binding cleanup.
15767
15768 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
15769 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
15770 * progmodes/ada-prj.el (ada-prj-initialize-values)
15771 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
15772 (ada-prj-show-value):
15773 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
15774 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
15775 (antlr-invalidate-context-cache, antlr-options-menu-filter)
15776 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
15777 * progmodes/bug-reference.el (bug-reference-push-button):
15778 * progmodes/fortran.el (fortran-line-length):
15779 * progmodes/glasses.el (glasses-change):
15780 * progmodes/octave-mod.el (octave-fill-paragraph):
15781 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
15782 (python-pdbtrack-grub-for-buffer, python-sentinel):
15783 * progmodes/sql.el (sql-save-connection):
15784 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
15785 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
15786 Mark unused parameters.
15787
15788 * progmodes/compile.el (compilation--flush-directory-cache)
15789 (compilation--flush-parse, compile-internal): Mark unused parameters.
15790 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
15791 (compilation-next-error-function): Remove unused variable `timestamp'.
15792
15793 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
15794 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
15795
15796 * progmodes/dcl-mode.el (dcl-end-of-command):
15797 Remove unused variable `start'.
15798 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
15799 (dcl-option-value-basic, dcl-option-value-offset)
15800 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
15801 Mark unused parameters.
15802 (dcl-save-local-variable): Remove unused variable `val'.
15803 (mode): Declare.
15804
15805 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
15806 Mark unused parameters.
15807 (delphi-ignore-changes): Move before first use.
15808 (delphi-charset-token-at): Remove unused variable `start'.
15809 (delphi-else-start): Remove unused variable `if-count'.
15810 (delphi-comment-block-start, delphi-comment-block-end):
15811 Remove unused variable `kind'.
15812 (delphi-indent-line): Remove unused variable `new-point'.
15813
15814 * progmodes/ebrowse.el (ebrowse-files-list)
15815 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
15816 Mark unused parameters. Don't quote `lambda'.
15817 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
15818 Don't quote `lambda'.
15819 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
15820 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
15821 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
15822 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
15823 Use `ignore-errors'.
15824 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
15825 (ebrowse-view/find-file-and-search-pattern)
15826 (ebrowse-view/find-member-declaration/definition):
15827 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
15828 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
15829 Rename parameter PREFIX-ARG to PREFIX.
15830 (ebrowse-tags-read-name): Remove unused variables `start' and
15831 `member-info'.
15832 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
15833 to `tags-file'.
15834
15835 * progmodes/etags.el (local-find-tag-hook): Declare.
15836 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
15837 Mark unused parameters.
15838
15839 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
15840 (executable-interpret): Mark unused parameter.
15841
15842 * progmodes/flymake.el (flymake-process-sentinel)
15843 (flymake-after-change-function)
15844 (flymake-create-temp-with-folder-structure)
15845 (flymake-get-include-dirs-dot): Mark unused parameters.
15846 (flymake-safe-delete-directory): Remove unused variable `err'.
15847
15848 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
15849 (speedbar-timer-fn, speedbar-line-text)
15850 (speedbar-change-expand-button-char, speedbar-delete-subblock)
15851 (speedbar-center-buffer-smartly): Declare functions.
15852 (gdb-find-watch-expression): Remove unused variable `array'.
15853 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
15854 (gdb-starting): Mark unused parameters.
15855 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
15856 (gdb-table-string): Remove unused variable `res'.
15857 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
15858 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
15859 (gdb-display-buffer): Remove unused variable `cur-size'.
15860
15861 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
15862 allow lexical-binding compilation.
15863 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
15864 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
15865 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
15866 Mark unused parameters.
15867 (gud-gdb-marker-filter): Remove unused variable `match'.
15868 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
15869 lambda expressions and funcall them, instead of using `fset'.
15870
15871 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
15872 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
15873
15874 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
15875 variable `header-beg'; use `let'.
15876
15877 * progmodes/icon.el (indent-icon-exp): Remove unused variables
15878 `restart', `last-sexp' and `at-do'.
15879
15880 * progmodes/js.el (js--debug): Mark unused parameter.
15881 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
15882 (js--splice-into-items): Remove unused variable `item'.
15883 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
15884
15885 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
15886 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
15887 (makefile-complete): Remove unused variable `try'.
15888 (makefile-fill-paragraph, makefile-match-function-end):
15889 Mark unused parameters.
15890
15891 * progmodes/octave-inf.el (inferior-octave-complete):
15892 Remove unused variable `proc'.
15893 (inferior-octave-output-digest): Mark unused parameter.
15894
15895 * progmodes/perl-mode.el (perl-calculate-indent):
15896 Remove unused variable `err'.
15897
15898 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
15899 (prolog-indent-line): Mark unused parameters.
15900 (prolog-indent-line): Remove unused variable `beg'.
15901
15902 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
15903 (reporter-dont-compact-list): Declare.
15904
15905 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
15906 Remove unused variable `char'.
15907 (sh-debug): Mark unused parameter.
15908 (sh-get-indent-info): Remove unused variable `start'.
15909 (sh-calculate-indent): Remove unused variable `var'.
15910
15911 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
15912 (simula-electric-keyword): Remove unused variable `null'.
15913 (simula-search-backward, simula-search-forward): Remove unused
15914 variables `begin' and `end'.
15915
15916 * progmodes/vera-mode.el (vera-guess-basic-syntax):
15917 Remove unused variable `pos'.
15918 (vera-electric-tab, vera-comment-uncomment-region):
15919 Mark unused parameters.
15920 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
15921
15922 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
15923
15924 * emacs-lisp/package.el (package--builtins, package-alist)
15925 (package-load-descriptor, package-built-in-p, package-activate)
15926 (define-package, package-installed-p)
15927 (package-compute-transaction, package-buffer-info)
15928 (package--push): Doc fix. Distinguish more clearly between
15929 version strings and version lists.
15930
15931 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
15932
15933 Lexical-binding cleanup.
15934
15935 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
15936 (5x5-make-mutate-best):
15937 * play/fortune.el (fortune-in-buffer):
15938 * play/gomoku.el (gomoku-init-display):
15939 * play/solitaire.el (solitaire, solitaire-do-check):
15940 * play/tetris.el (tetris-default-update-speed-function):
15941 Mark unused parameters.
15942
15943 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
15944 (bubbles--shift): Remove unused variable `char-org'.
15945 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
15946 (bubbles--show-images): Remove unused variable `char'.
15947
15948 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
15949 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
15950 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
15951 (decipher-analyze-buffer): Use ?\s.
15952 (decipher-make-checkpoint): Remove unused variable `mapping'.
15953
15954 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
15955
15956 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
15957 Remove unused variable `result'; use `let'.
15958
15959 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
15960 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
15961 (gametree-children-shown-p, gametree-compute-reduced-score):
15962 Use `ignore-errors'.
15963
15964 * play/handwrite.el (ps-lpr-switches): Declare.
15965 (handwrite): Remove unused variables `pmin' and `lastp'.
15966
15967 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
15968
15969 * play/landmark.el (landmark-init-display)
15970 (landmark-update-naught-weights): Mark unused parameters.
15971 (landmark-y): Remove unused variable `noise'. Simplify.
15972 (landmark-human-plays): Remove unused variable `score'.
15973
15974 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
15975 (mpuz-try-proposal): Remove unused variable `game'.
15976
15977 * play/zone.el (life-patterns): Declare.
15978
15979 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
15980
15981 * vc/vc.el (ediff-vc-internal): Declare function.
15982
15983 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
15984
15985 * shell.el: Use lexical-binding and std completion UI.
15986 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
15987 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
15988 comint-preoutput-filter-functions rather than on
15989 comint-output-filter-functions.
15990 (shell-command-completion, shell--command-completion-data)
15991 (shell-filename-completion, shell-environment-variable-completion)
15992 (shell-c-a-p-replace-by-expanded-directory): New functions.
15993 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
15994 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
15995 (shell-dynamic-complete-environment-variable): Use them.
15996 (shell-dynamic-complete-as-environment-variable)
15997 (shell-dynamic-complete-as-command): Remove.
15998 (shell-match-partial-variable): Match past point.
15999 * comint.el: Clean up use of completion-at-point-functions.
16000 (comint-completion-at-point): New function.
16001 (comint-mode): Use it completion-at-point-functions.
16002 (comint-dynamic-complete): Make it obsolete.
16003 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
16004 (comint-c-a-p-replace-by-expanded-history): New function.
16005 (comint-dynamic-complete-functions)
16006 (comint-replace-by-expanded-history): Use it.
16007 * minibuffer.el (completion-table-with-terminator): Allow dynamic
16008 termination strings. Try harder to avoid second try-completion.
16009 (completion-in-region-mode-map): Disable bindings that don't work yet.
16010
16011 * comint.el: Use lexical-binding. Require CL.
16012 (comint-dynamic-complete-functions): Use comint-filename-completion.
16013 (comint-completion-addsuffix): Tweak custom type.
16014 (comint-filename-completion, comint--common-suffix)
16015 (comint--common-quoted-suffix, comint--table-subvert)
16016 (comint--complete-file-name-data): New functions.
16017 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
16018 (comint-dynamic-list-filename-completions): Use them.
16019 (comint-dynamic-simple-complete): Make obsolete.
16020
16021 * minibuffer.el (completion-in-region-mode):
16022 Keep completion-in-region-mode--predicate global.
16023 (completion-in-region--postch):
16024 Assume completion-in-region-mode--predicate is not null.
16025
16026 * progmodes/flymake.el (flymake-start-syntax-check-process):
16027 Obey `dir'. Simplify.
16028
16029 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
16030 we're in VC after all.
16031
16032 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
16033
16034 * vc/vc.el (vc-diff-build-argument-list-internal)
16035 (vc-version-ediff, vc-ediff): New commands.
16036 (vc-version-diff): Use vc-diff-build-argument-list-internal.
16037
16038 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
16039
16040 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
16041 add sanity check.
16042
16043 * obsolete/erc-hecomplete.el: Make obsolete.
16044 * obsolete/: Standardize obsolescence info in the header.
16045
16046 2011-04-20 Glenn Morris <rgm@gnu.org>
16047
16048 * calendar/solar.el (solar-horizontal-coordinates):
16049 Use the longitude argument rather than `calendar-longitude'.
16050 (solar-date-next-longitude): Remove unused locals.
16051
16052 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
16053
16054 * whitespace.el: New version 13.2.1.
16055
16056 2011-04-20 felix <EmacsWiki> (tiny change)
16057
16058 * whitespace.el (global-whitespace-mode): Keep highlight when
16059 switching between major modes on a file.
16060
16061 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
16062
16063 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
16064 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
16065 multi-line comments as well.
16066
16067 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
16068
16069 Lexical-binding cleanup.
16070
16071 * arc-mode.el (archive-mode-revert):
16072 * cmuscheme.el (scheme-interactively-start-process):
16073 * custom.el (custom-initialize-delay):
16074 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
16075 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
16076 * emacs-lock.el (emacs-lock-clear-sentinel):
16077 * ezimage.el (defezimage):
16078 * follow.el (follow-avoid-tail-recenter):
16079 * fringe.el (set-fringe-mode-1):
16080 * generic-x.el (bat-generic-mode-compile):
16081 * help-mode.el (help-info-variable, help-do-xref)
16082 (help-mode-revert-buffer):
16083 * help.el (view-emacs-todo):
16084 * iswitchb.el (iswitchb-completion-help):
16085 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
16086 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
16087 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
16088 * locate.el (locate-update):
16089 * longlines.el (longlines-encode-region)
16090 (longlines-after-change-function):
16091 * outline.el (outline-isearch-open-invisible):
16092 * ps-def.el (declare-function, charset-dimension, char-width)
16093 (encode-char):
16094 * ps-mule.el (ps-mule-plot-string):
16095 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
16096 (recentf-edit-list-select, recentf-edit-list-validate)
16097 (recentf-open-files-action):
16098 * rect.el (delete-whitespace-rectangle-line)
16099 (rectangle-number-line-callback):
16100 * register.el (window-configuration-to-register)
16101 (frame-configuration-to-register):
16102 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
16103 * select.el (xselect-convert-to-string, xselect-convert-to-length)
16104 (xselect-convert-to-targets, xselect-convert-to-delete)
16105 (xselect-convert-to-filename, xselect-convert-to-charpos)
16106 (xselect-convert-to-lineno, xselect-convert-to-colno)
16107 (xselect-convert-to-os, xselect-convert-to-host)
16108 (xselect-convert-to-user, xselect-convert-to-class)
16109 (xselect-convert-to-name, xselect-convert-to-integer)
16110 (xselect-convert-to-atom, xselect-convert-to-identity):
16111 * subr.el (declare, ignore, process-kill-without-query)
16112 (text-clone-maintain):
16113 * terminal.el (te-get-char, te-tic-sentinel):
16114 * tool-bar.el (tool-bar-make-keymap):
16115 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
16116 * type-break.el (type-break-mode, type-break-noninteractive-query):
16117 * view.el (View-back-to-mark):
16118 * wid-browse.el (widget-browse-action, widget-browse-widget)
16119 (widget-browse-widgets, widget-browse-sexp):
16120 * widget.el (define-widget-keywords):
16121 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
16122 Mark unused parameters.
16123
16124 * align.el (align-adjust-col-for-rule): Mark unused parameter.
16125 (align-areas): Remove unused variable `look'.
16126 (align-region): Remove unused variables `real-end' and `pos-list'.
16127
16128 * apropos.el (apropos-score-doc): Remove unused variable `i'.
16129
16130 * bindings.el (mode-line-modified, mode-line-remote):
16131 Mark unused parameters.
16132 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
16133
16134 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
16135 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
16136
16137 * comint.el (comint-history-isearch-pop-state)
16138 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
16139 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
16140 (comint-substitute-in-file-name): Doc fix.
16141
16142 * completion.el (cmpl-statistics-block): Mark unused parameter.
16143 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
16144 (save-completions-to-file, load-completions-from-file):
16145 Remove unused local variable `e'.
16146
16147 * composite.el (compose-chars): Remove unused variable `len'.
16148 (lgstring-insert-glyph): Remove unused variable `g'.
16149 (compose-glyph-string): Remove unused variables `ascent',
16150 `descent', `lbearing' and `rbearing'.
16151 (compose-glyph-string-relative): Remove unused variables
16152 `lbearing', `rbearing' and `wadjust'.
16153 (compose-gstring-for-graphic): Remove unused variables `header',
16154 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
16155 (compose-gstring-for-terminal): Remove unused variables `header'
16156 and `nchars'. Use `let', not `let*'.
16157
16158 * cus-edit.el (Custom-set, Custom-save, custom-reset)
16159 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
16160 (Custom-buffer-done, custom-buffer-create-internal)
16161 (custom-browse-visibility-action, custom-browse-group-tag-action)
16162 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
16163 (widget-magic-mouse-down-action, custom-toggle-parent)
16164 (custom-add-parent-links, custom-toggle-hide-variable)
16165 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
16166 (custom-toggle-hide-face, face, hook, custom-group-link-action)
16167 (custom-face-menu-create, custom-variable-menu-create, get)
16168 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
16169 (custom-reset-standard-save-and-update): Remove unused variable `value'.
16170 (customize-apropos): Remove unused variable `tests'.
16171 (custom-group-value-create): Remove unused variable `hidden-p'.
16172 (sort-fold-case): Declare.
16173
16174 * cus-theme.el (custom-reset-standard-faces-list)
16175 (custom-reset-standard-variables-list): Declare.
16176 (customize-create-theme, custom-theme-revert, custom-theme-write)
16177 (custom-theme-choose-mode, customize-themes, custom-theme-save):
16178 Mark unused parameters.
16179
16180 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
16181
16182 * delim-col.el (delimit-columns-max): Move defvar before first use.
16183
16184 * descr-text.el (describe-char-categories): Don't quote `lambda'.
16185 (describe-char): Don't quote `lambda'. Mark unused parameter.
16186
16187 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
16188 (auto-insert): Declare.
16189 (desktop-restore-file-buffer): Rename desktop-* parameters;
16190 mark unused ones.
16191 (desktop-create-buffer): Rename desktop-* parameters and bind them.
16192 (desktop-buffer): Rename desktop-* parameters.
16193
16194 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
16195 (dframe-reposition-frame-xemacs, dframe-help-echo)
16196 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
16197 Mark unused parameters.
16198
16199 * dired-aux.el (backup-extract-version-start, overwrite-query)
16200 (overwrite-backup-query, rename-regexp-query)
16201 (rename-non-directory-query): Declare.
16202 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
16203 (dired-add-entry): Remove unused variable `orig-file-name'.
16204 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
16205 Use parameter PRESERVE-TIME instead of accessing dynamic variable
16206 `dired-copy-preserve-time' directly.
16207 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
16208 (dired-insert-subdir-newpos): Rename unused variable `pos'.
16209
16210 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
16211 (dired-virtual-revert, dired-make-relative-symlink):
16212 Mark unused parameters.
16213 (manual-program): Declare.
16214 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
16215 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
16216 wrapped in `with-no-warnings' to avoid replacing one warning by another.
16217
16218 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
16219
16220 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
16221
16222 * echistory.el (electric-history-in-progress, Helper-return-blurb):
16223 Declare.
16224
16225 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
16226
16227 * electric.el (Electric-command-loop): Rename parameter
16228 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
16229
16230 * expand.el (expand-in-literal): Remove unused variable `here'.
16231
16232 * facemenu.el (facemenu-add-new-color):
16233 Remove unused variable `docstring'.
16234
16235 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
16236 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
16237 (face-attr-construct): Mark unused parameter. Doc fix.
16238 (read-color): Remove unused variable `hex-string'.
16239
16240 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
16241 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
16242 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
16243 (display-buffer-other-frame): Remove unused variable `old-window'.
16244 (kill-buffer-hook): Declare.
16245 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
16246 Mark unused parameters.
16247 (after-find-file): Pass 1 to `auto-save-mode', not t.
16248
16249 * files-x.el (auto-insert): Declare.
16250 (modify-file-local-variable-prop-line): Remove unused variable `val'.
16251
16252 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
16253 variable `buf'. Mark unused parameter.
16254 (find-lisp-insert-directory): Mark unused parameter.
16255
16256 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
16257 (format-encode-region): Remove unused variables `cur-buf' and `result'.
16258 (format-common-tail): Remove, unused.
16259 (format-deannotate-region): Remove unused variable `loc'.
16260 (format-annotate-region): Remove unused variable `p'.
16261 (format-annotate-single-property-change): Remove unused variables
16262 `default' and `tail'.
16263
16264 * forms.el (read-file-filter): Declare.
16265 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
16266
16267 * frame.el (frame-creation-function-alist): Mark unused parameter.
16268 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
16269
16270 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
16271 Remove unused parameters.
16272 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
16273 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
16274
16275 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
16276 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
16277 (hfy-prepare-tag-map): Mark unused parameters.
16278 (htmlfontify-buffer): Use `called-interactively-p'.
16279
16280 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
16281 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
16282 (ibuffer-do-occur): Mark unused parameters.
16283 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
16284 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
16285
16286 * ibuffer.el: Don't quote `lambda'.
16287 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
16288 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
16289 Mark unused parameters.
16290
16291 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
16292 (ido-completing-read): Mark unused parameters.
16293 (ido-copy-current-word): Mark unused parameters;
16294 remove unused variable `name'.
16295 (ido-sort-merged-list): Remove unused parameter `dirs'.
16296
16297 * ielm.el (ielm-input-sender): Mark unused parameter.
16298 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
16299 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
16300 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
16301 `ielm-string' as a dynamic variable accessible from the IELM prompt.
16302 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
16303
16304 * image-dired.el (image-dired-display-thumbs): Remove unused
16305 variables `curr-file' and `count'.
16306 (image-dired-remove-tag): Remove unused variable `start'.
16307 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
16308 variable `curr-file'
16309 (image-dired-rotate-original): Remove unused variable `temp-file'.
16310 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
16311 Remove unused variable `file'.
16312 (image-dired-gallery-generate): Remove unused variable `curr'.
16313 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
16314
16315 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
16316
16317 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
16318
16319 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
16320
16321 * isearch.el (minibuffer-history-symbol): Declare.
16322 (isearch-edit-string): Remove unused variable `err'.
16323 (isearch-message-prefix, isearch-message-suffix):
16324 Mark unused parameters.
16325
16326 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
16327
16328 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
16329
16330 * makesum.el (double-column): Remove unused variable `cnt'.
16331
16332 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
16333 (ido-ignore-item-temp-list): Declare.
16334
16335 * mouse-drag.el (mouse-drag-throw): Remove unused variables
16336 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
16337 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
16338 (mouse-drag-drag): Remove unused variables `mouse-delta' and
16339 `mouse-col-delta'.
16340
16341 * mouse-sel.el (mouse-extend-internal):
16342 Remove unused variable `orig-window-frame'.
16343
16344 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
16345 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
16346 Move declarations before first use.
16347 (pcomplete-opt): Mark unused parameters; doc fix.
16348
16349 * proced.el (proced-revert): Mark unused parameter.
16350 (proced-send-signal): Remove unused variable `err'.
16351
16352 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
16353 Rename parameter PREFIX-ARG to ARG.
16354 (ps-basic-plot-string, ps-basic-plot-whitespace):
16355 Mark unused parameters.
16356
16357 * replace.el (replace-count): Define.
16358 (occur-revert-function): Mark unused parameters.
16359 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
16360 (isearch-case-fold-search, isearch-string): Declare.
16361 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
16362 bind `case-fold-search'. Remove unused variables `beg' and `end',
16363 and simplify.
16364 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
16365 COUNT and bind `replace-count'.
16366 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
16367 to COUNT.
16368
16369 * savehist.el (print-readably, print-string-length): Declare.
16370
16371 * shadowfile.el (shadow-expand-cluster-in-file-name):
16372 Remove unused variable `cluster'.
16373 (shadow-copy-file): Remove unused variable `i'.
16374 (shadow-noquery, shadow-clusters, shadow-site-cluster)
16375 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
16376 (shadow-define-literal-group, shadow-define-regexp-group)
16377 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
16378
16379 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
16380 (shell): Use `called-interactively-p'.
16381 (shell-directory-tracker): Remove unused variable `chdir-failure'.
16382
16383 * simple.el (compilation-context-lines, comint-file-name-quote-list)
16384 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
16385 (delete-backward-char): Remove unused variable `ocol'.
16386 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
16387 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
16388 (event-apply-hyper-modifier, event-apply-shift-modifier)
16389 (event-apply-control-modifier, event-apply-meta-modifier):
16390 Mark unused parameters.
16391 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
16392 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
16393
16394 * speedbar.el (speedbar-ignored-directory-expressions)
16395 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
16396 (speedbar-find-file, speedbar-dir-follow)
16397 (speedbar-directory-buttons-follow, speedbar-tag-find)
16398 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
16399 (speedbar-buffers-line-directory, speedbar-buffer-click):
16400 Mark unused parameters.
16401 (speedbar-tag-file): Remove unused variable `mode'.
16402 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
16403
16404 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
16405
16406 * talk.el (talk): Remove unused variable `display'.
16407
16408 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
16409 (tar-write-region-annotate): Mark unused parameter.
16410
16411 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
16412 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
16413 Declare them, wrapped in `with-no-warnings' to avoid replacing one
16414 warning by another.
16415
16416 * time-stamp.el (time-stamp-string-preprocess):
16417 Remove unused variable `require-padding'.
16418
16419 * tree-widget.el (widget-glyph-enable): Declare.
16420 (tree-widget-action): Mark unused parameter.
16421
16422 * w32-fns.el (x-get-selection): Mark unused parameter.
16423 (autoload-make-program, generated-autoload-file): Declare.
16424
16425 * wdired.el (wdired-revert): Mark unused parameters.
16426 (wdired-xcase-word): Remove unused variable `err'.
16427
16428 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
16429 (whitespace-help-scroll): Remove unused variable `data-help'.
16430
16431 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
16432 (widget-image-insert, widget-after-change, default)
16433 (widget-default-format-handler, widget-default-notify)
16434 (widget-default-prompt-value, widget-info-link-action)
16435 (widget-url-link-action, widget-function-link-action)
16436 (widget-variable-link-action, widget-file-link-action)
16437 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
16438 (widget-field-prompt-internal, widget-field-action, widget-field-match)
16439 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
16440 (widget-insert-button-action, widget-delete-button-action, visibility)
16441 (widget-documentation-link-action, widget-documentation-string-action)
16442 (widget-const-prompt-value, widget-regexp-match, symbol)
16443 (widget-coding-system-prompt-value)
16444 (widget-key-sequence-value-to-external, sexp)
16445 (widget-sexp-value-to-internal, character, vector, cons)
16446 (widget-choice-prompt-value, widget-boolean-prompt-value)
16447 (widget-color--choose-action): Mark unused parameters.
16448 (widget-item-match-inline, widget-choice-match-inline)
16449 (widget-checklist-match, widget-checklist-match-inline)
16450 (widget-group-match): Rename parameter VALUES to VALS.
16451 (widget-field-value-set): Remove unused variable `size'.
16452 (widget-color-action): Remove unused variables `value' and `start'.
16453
16454 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
16455 variable `dir'. Doc fix.
16456 (windmove-find-other-window): Don't pass it.
16457
16458 * window.el (count-windows): Mark unused parameter.
16459 (bw-adjust-window): Remove unused variable `err'.
16460
16461 * woman.el (woman-file-name): Remove unused variable `default'.
16462 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
16463 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
16464 (global-font-lock-mode): Declare.
16465 (woman-decode-region): Mark unused parameter.
16466 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
16467
16468 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
16469 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
16470 (x-dnd-handle-moz-url): Remove unused variable `title'.
16471 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
16472
16473 * xml.el (xml-parse-tag, xml-parse-attlist):
16474 Remove unused variable `pos'.
16475
16476 2011-04-19 Glenn Morris <rgm@gnu.org>
16477
16478 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
16479 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
16480 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
16481 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
16482 * calendar/cal-html.el (cal-html-insert-minical):
16483 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
16484 (calendar-mark-date-pattern):
16485 Prefix "unused" locals.
16486
16487 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
16488 optional argument `style'.
16489
16490 * calendar/appt.el (appt-make-list):
16491 * calendar/cal-china.el (calendar-chinese-date-string):
16492 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
16493 (diary-hebrew-yahrzeit):
16494 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
16495 * calendar/calendar.el (calendar-generate-window):
16496 * calendar/time-date.el (time-to-days):
16497 Remove unused local variables.
16498
16499 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
16500
16501 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
16502 glyphless-char-display table.
16503 (tabulated-list-glyphless-char-display): New var.
16504
16505 2011-04-18 Sam Steingold <sds@gnu.org>
16506
16507 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
16508 to acknowledgments.
16509
16510 2011-04-17 Glenn Morris <rgm@gnu.org>
16511
16512 * calendar/diary-lib.el (diary-sexp-entry):
16513 * calendar/holidays.el (holiday-sexp):
16514 Set debug-on-error rather than the removed stack-trace-on-error.
16515
16516 2011-04-16 Glenn Morris <rgm@gnu.org>
16517
16518 * progmodes/f90.el: Use lexical-binding.
16519 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
16520
16521 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
16522
16523 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
16524 (mail-mode): Setup mailalias completion here instead.
16525 * mail/mailalias.el: Use lexical-binding.
16526 (pattern, mailalias-done): Declare dynamic.
16527 (mail-completion-at-point-function): New function, from mail-complete.
16528 (mail-complete): Use it.
16529 (mail-completion-expand): New function.
16530 (mail-get-names): Use it.
16531 (mail-directory, mail-directory-process, mail-directory-stream):
16532 Don't use `pattern' for lexically bound arg.
16533
16534 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
16535
16536 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
16537 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
16538 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
16539
16540 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
16541 (byte-save-window-excursion, byte-temp-output-buffer-setup)
16542 (byte-interactive-p): Define them again, for use when inlining
16543 old code.
16544
16545 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
16546
16547 * loadup.el: Use `string-to-number', not `string-to-int'.
16548
16549 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
16550
16551 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
16552 gud-gdb-complete-command.
16553 (gud-gdb-completions): New function, from gud-gdb-complete-command.
16554 (gud-gdb-completion-at-point): New function.
16555 (gud-gdb-completions): Remove.
16556
16557 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
16558
16559 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
16560 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
16561 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
16562 whether `executable-find' is bound.
16563
16564 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
16565
16566 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
16567
16568 * minibuffer.el (completion-in-region-mode-predicate)
16569 (completion-in-region-mode--predicate): New vars.
16570 (completion-in-region, completion-in-region--postch)
16571 (completion-in-region-mode): Use them.
16572 (completion--capf-wrapper): Also return the hook function.
16573 (completion-at-point, completion-help-at-point):
16574 Adjust and provide a predicate.
16575
16576 Preserve arg names for advice of subr and lexical functions (bug#8457).
16577 * help-fns.el (help-function-arglist): Consolidate the subr and
16578 new-byte-code cases. Add argument `preserve-names' to extract names
16579 from the docstring when needed.
16580 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
16581 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
16582 (ad-arglist): Use help-function-arglist's new arg.
16583 (ad-definition-type): Use cond.
16584
16585 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
16586
16587 * autorevert.el (auto-revert-handler):
16588 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
16589 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
16590 Don't quote lambda.
16591
16592 * image-mode.el (image-transform-set-scale):
16593 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
16594
16595 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
16596
16597 * net/network-stream.el (network-stream-open-starttls): Only do
16598 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
16599 Upgrades via gnutls-cli are too slow to be done opportunistically.
16600
16601 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
16602
16603 * dframe.el (dframe-current-frame): Remove spurious quote.
16604
16605 2011-04-12 Glenn Morris <rgm@gnu.org>
16606
16607 * calendar/cal-tex.el (cal-tex-end-document):
16608 Try to automatically use latin1 input if needed.
16609
16610 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
16611 Don't try to cons a mark onto an empty element.
16612
16613 2011-04-11 Leo Liu <sdl.web@gmail.com>
16614
16615 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
16616 buffers.
16617 (ido-kill-buffer-at-head): Support killing virtual buffers.
16618
16619 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
16620
16621 * minibuffer.el (completion-show-inline-help): New var.
16622 (completion--do-completion, minibuffer-complete)
16623 (minibuffer-force-complete, minibuffer-complete-word):
16624 Inhibit minibuffer messages if completion-show-inline-help is nil.
16625
16626 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
16627 to avoid interference from inline help (Bug#5849).
16628
16629 2011-04-10 Leo Liu <sdl.web@gmail.com>
16630
16631 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
16632 Fix typo.
16633
16634 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
16635
16636 * image-mode.el (image-toggle-display-image): Signal an error if
16637 not in Image mode.
16638 (image-transform-mode, image-transform-resize)
16639 (image-transform-set-rotation): Doc fix.
16640 (image-transform-set-resize): Delete.
16641 (image-transform-set-scale, image-transform-fit-to-height)
16642 (image-transform-fit-to-width): Handle image-toggle-display-image
16643 and image-transform-resize directly.
16644
16645 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
16646
16647 * doc-view.el (doc-view-fit-width-to-window)
16648 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
16649 New functions for fitting the shown image to the Emacs window size.
16650 (doc-view-mode-map): Add bindings for the new functions.
16651
16652 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
16653
16654 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
16655 Fix typo in docstring.
16656
16657 2011-04-08 Eli Zaretskii <eliz@gnu.org>
16658
16659 * files.el (file-size-human-readable): Produce one digit after
16660 decimal, like "ls -lh" does.
16661
16662 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
16663 the file size representation.
16664
16665 * simple.el (list-processes): If async subprocesses are not
16666 available, error out with a clear error message.
16667
16668 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
16669
16670 * help.el (help-form-show): New function, to be called from C.
16671 Put help-form output in a buffer named differently than *Help*.
16672
16673 2011-04-08 Eli Zaretskii <eliz@gnu.org>
16674
16675 * files.el (file-size-human-readable): New function.
16676
16677 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
16678 computing the representation inline. Don't require `cl'.
16679
16680 2011-04-08 Glenn Morris <rgm@gnu.org>
16681
16682 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
16683
16684 * net/browse-url.el (browse-url-firefox):
16685 Test system-type, not system-configuration.
16686
16687 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
16688 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
16689 Use log-edit-empty-buffer-p. (Bug#7598)
16690
16691 * net/rlogin.el (rlogin-process-connection-type): Simplify.
16692 (rlogin-mode-map): Initialize in the defvar.
16693 (rlogin): Use ignore-errors.
16694
16695 * replace.el (occur-mode-map): Some fixes for menu items.
16696
16697 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
16698
16699 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
16700
16701 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
16702
16703 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
16704 issuing unused warnings.
16705
16706 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
16707 macro directly.
16708
16709 * simple.el: Lisp reimplement of list-processes. Based on an
16710 earlier reimplementation by Leo Liu, but using tabulated-list.el.
16711 (process-menu-mode): New major mode.
16712 (list-processes--refresh, list-processes):
16713 (process-menu-visit-buffer): New functions.
16714
16715 * files.el (save-buffers-kill-emacs): Don't assume any return
16716 value of list-processes, which is undocumented anyway.
16717
16718 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
16719
16720 * emacs-lisp/tabulated-list.el: New file.
16721
16722 * emacs-lisp/package.el: Use Tabulated List mode.
16723 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
16724 (package-menu-mode): Derive from tabulated-list-mode. Set up the
16725 table format using Tabulated List mode variables.
16726 (package--push): New macro, replacing package-list-maybe-add.
16727 (package-menu--generate): Use package--push. Renamed from
16728 package--generate-package-list.
16729 (package-menu-refresh, list-packages): Use it.
16730 (package-menu--print-info): Rename from package-print-package.
16731 Return insertion data instead of inserting it directly.
16732 (package-menu-describe-package, package-menu-execute):
16733 Use tabulated-list-get-id.
16734 (package-menu-mark-delete, package-menu-mark-install)
16735 (package-menu-mark-unmark, package-menu-backup-unmark)
16736 (package-menu-mark-obsolete-for-deletion):
16737 Use tabulated-list-put-tag.
16738 (package--list-packages, package-menu-revert)
16739 (package-menu-get-package, package-menu-get-version)
16740 (package-menu-sort-by-column): Functions deleted.
16741 (package-menu-package-list, package-menu-sort-key): Vars deleted.
16742 (package-menu--status-predicate, package-menu--version-predicate)
16743 (package-menu--name-predicate)
16744 (package-menu--description-predicate): Handle arguments in the
16745 Tabulated List format.
16746 (package-list-packages-no-fetch): Call list-packages.
16747
16748 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
16749
16750 * files.el (after-find-file-from-revert-buffer): Remove variable.
16751 (after-find-file): Don't bind it.
16752 (revert-buffer-in-progress-p): New variable.
16753 (revert-buffer): Bind it.
16754 Pass nil for `after-find-file-from-revert-buffer'.
16755
16756 * saveplace.el (save-place-find-file-hook): Use new variable
16757 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
16758
16759 2011-04-06 Glenn Morris <rgm@gnu.org>
16760
16761 * Makefile.in (AUTOGEN_VCS): New variable.
16762 (autoloads): Use $AUTOGEN_VCS.
16763
16764 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
16765 * calendar/calendar.el (calendar-mode-map):
16766 Check for toolkit scroll bars. (Bug#8305)
16767
16768 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
16769
16770 * minibuffer.el (completion-in-region--postch)
16771 (completion-in-region-mode): Remove unnecessary messages.
16772
16773 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
16774
16775 * font-lock.el (font-lock-refresh-defaults):
16776 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
16777 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
16778
16779 * info.el (Info-directory-list, Info-read-node-name-2)
16780 (Info-split-parameter-string): Doc fixes.
16781 (Info-virtual-nodes): Reflow docstring.
16782 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
16783 (Info-apropos-toc-nodes, info-finder, Info-get-token)
16784 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
16785 Fix typos in docstrings.
16786 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
16787 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
16788 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
16789 (Info-restore-desktop-buffer): Mark unused parameters.
16790 (Info-directory-find-file, Info-directory-find-node)
16791 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
16792 (Info-virtual-index-find-node, Info-apropos-find-file)
16793 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
16794 Mark unused parameters; fix typos in docstrings.
16795 (Info-virtual-index): Remove unused local variable `nodename'.
16796
16797 2011-04-05 Deniz Dogan <deniz@dogan.se>
16798
16799 * net/rcirc.el: Update my e-mail address.
16800 (rcirc-mode-map): Remove M-o binding.
16801
16802 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
16803
16804 * startup.el (command-line): Save the cursor's theme-face
16805 directly, instead of using face-override-spec.
16806
16807 * custom.el (load-theme): Minor optimization in assigning faces.
16808
16809 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
16810
16811 * help-fns.el (describe-variable): Complete all variables having
16812 documentation, including keywords.
16813 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
16814
16815 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
16816
16817 Convert to lexical-binding.
16818
16819 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
16820 (bs--get-marked-string, bs--get-modified-string)
16821 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
16822 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
16823 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
16824
16825 * ehelp.el (electric-help-execute-extended)
16826 (electric-help-ctrl-x-prefix):
16827 * hexl.el (hexl-revert-buffer-function):
16828 * linum.el (linum-after-change, linum-after-scroll):
16829 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
16830
16831 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
16832
16833 2011-04-04 Daiki Ueno <ueno@unixuser.org>
16834
16835 * epa-dired.el:
16836 * epa-mail.el:
16837 * epa-hook.el:
16838 * epa-file.el:
16839 * epa.el:
16840 * epg.el: Use lexical binding.
16841
16842 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
16843
16844 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
16845
16846 * textmodes/flyspell.el (flyspell-word): Recognize default
16847 dictionary case for flyspell-mark-duplications-exceptions.
16848 Use regexp matching for languages.
16849 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
16850 default dictionary (Bug#7926).
16851
16852 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
16853
16854 * emacs-lisp/package.el (package--with-work-buffer):
16855 Recognize https URLs.
16856
16857 * net/network-stream.el: Move from gnus/proto-stream.el.
16858 Change prefix to network-stream throughout.
16859 (open-protocol-stream): Merge into open-network-stream, leaving
16860 open-protocol-stream as an alias. Handle nil BUFFER args.
16861
16862 * subr.el (open-network-stream): Move to net/network-stream.el.
16863
16864 2011-04-02 Glenn Morris <rgm@gnu.org>
16865
16866 * find-dired.el (find-exec-terminator): New option.
16867 (find-ls-option): Test for -ls support.
16868 (find-ls-subdir-switches): Test for -b in find-ls-option.
16869 (find-dired, find-grep-dired): Doc fixes.
16870 (find-dired): Use find-exec-terminator.
16871
16872 * find-dired.el (find-ls-option, find-ls-subdir-switches)
16873 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
16874 (find-name-arg): Remove purecopy.
16875
16876 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
16877 (grep-compute-defaults): Check for `-exec COMMAND +' support.
16878 Set grep-find-use-xargs, grep-find-command, and grep-find-template
16879 accordingly. Don't add the null-device if not needed.
16880
16881 * files.el (save-some-buffers): Doc fix.
16882
16883 2011-04-02 Eli Zaretskii <eliz@gnu.org>
16884
16885 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
16886
16887 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
16888
16889 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
16890 Use `dolist' rather than `mapcar'.
16891
16892 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
16893
16894 Add lexical binding.
16895
16896 * subr.el (apply-partially): Use new closures rather than CL.
16897 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
16898 (dolist, dotimes): Use slightly different expansion for lexical code.
16899 (functionp): Move to C.
16900 (letrec): New macro.
16901 (with-wrapper-hook): Use it and apply-partially instead of CL.
16902 (eval-after-load): Preserve lexical-binding.
16903 (save-window-excursion, with-output-to-temp-buffer): Turn them
16904 into macros.
16905
16906 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
16907
16908 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
16909 than the arglist.
16910 (help-add-fundoc-usage): Don't add `Not documented'.
16911 (help-function-arglist): Handle closures, subroutines, and new
16912 byte-code-functions.
16913 (help-make-usage): Remove leading underscores.
16914 (describe-function-1): Handle closures.
16915 (describe-variable): Use special-variable-p for completion.
16916
16917 * files.el (lexical-binding): Declare safe.
16918
16919 * emacs-lisp/pcase.el: Don't use destructuring-bind.
16920 (pcase--memoize): Rename from pcase-memoize. Change weakness.
16921 (pcase): Add `let' pattern.
16922 Change memoization so it actually works.
16923 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
16924 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
16925 <let>: New case.
16926
16927 * emacs-lisp/macroexp.el: Use lexical binding.
16928 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
16929 Don't convert ' to #' without checking that it's indeed quoting
16930 a lambda.
16931
16932 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
16933 Use eval-sexp-add-defvars.
16934 (eval-sexp-add-defvars): New fun.
16935
16936 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
16937
16938 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
16939 Don't autoload.
16940 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
16941 than the internal `byte-compile-lambda'.
16942 (defmethod): Don't hide code under quotes.
16943 (eieio-defmethod): New `code' argument.
16944
16945 * emacs-lisp/eieio-comp.el: Remove.
16946
16947 * emacs-lisp/edebug.el (edebug-eval-defun)
16948 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
16949 (edebug-toggle): Avoid `eval'.
16950
16951 * emacs-lisp/disass.el (disassemble-internal): Handle new
16952 `closure' objects.
16953 (disassemble-1): Handle new byte codes.
16954
16955 * emacs-lisp/cl.el (pushnew): Silence warning.
16956
16957 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
16958 (cl-byte-compile-throw): Remove.
16959 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
16960
16961 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
16962 closures.
16963
16964 * emacs-lisp/cconv.el: New file.
16965
16966 * emacs-lisp/bytecomp.el: Use lexical binding instead of
16967 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
16968 (byte-compile-initial-macro-environment):
16969 Handle declare-function here.
16970 (byte-compile--lexical-environment): New var.
16971 (byte-stack-ref, byte-stack-set, byte-discardN)
16972 (byte-discardN-preserve-tos): New lap codes.
16973 (byte-interactive-p): Don't use any more.
16974 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
16975 New macros.
16976 (byte-compile-lapcode): Use them and handle new lap codes.
16977 (byte-compile-obsolete): Remove.
16978 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
16979 (byte-compile-arglist-warn): Check late def of inlinable funs.
16980 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
16981 since they should have been expanded by now.
16982 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
16983 (byte-compile-from-buffer): Remove unused second arg.
16984 (byte-compile-preprocess): New function.
16985 (byte-compile-toplevel-file-form): New function to distinguish
16986 file-form calls from outside from file-form calls from hunk-handlers.
16987 (byte-compile-file-form): Simplify.
16988 (byte-compile-file-form-defsubst): Remove.
16989 (byte-compile-file-form-defmumble): Simplify now that
16990 byte-compile-lambda always returns a byte-code-function.
16991 (byte-compile): Preprocess.
16992 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
16993 Remove, not used any more.
16994 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
16995 (byte-compile-make-args-desc): New funs.
16996 (byte-compile-lambda): Handle lexical functions. Always return
16997 a byte-code-function.
16998 (byte-compile-reserved-constants): New var, to make up room for
16999 closed-over variables.
17000 (byte-compile-constants-vector): Obey it.
17001 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
17002 (byte-compile-macroexpand-declare-function): New function.
17003 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
17004 byte-code-functions.
17005 (byte-compile-form): Check obsolescence here.
17006 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
17007 (byte-compile-variable-ref): Remove.
17008 (byte-compile-dynamic-variable-op): New fun.
17009 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
17010 (byte-compile-variable-set): New funs.
17011 (byte-compile-discard): Add 2 args.
17012 (byte-compile-stack-ref, byte-compile-stack-set)
17013 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
17014 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
17015 macroexpand-all instead.
17016 (byte-compile-quote-form): Remove.
17017 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
17018 (byte-compile-bind, byte-compile-unbind): New funs.
17019 (byte-compile-let): Handle let* and lexical binding.
17020 (byte-compile-let*): Remove.
17021 (byte-compile-catch, byte-compile-unwind-protect)
17022 (byte-compile-track-mouse, byte-compile-condition-case):
17023 Handle a new :fun-body form, used for lexical scoping.
17024 (byte-compile-save-window-excursion)
17025 (byte-compile-with-output-to-temp-buffer): Remove.
17026 (byte-compile-defun): Simplify.
17027 (byte-compile-stack-adjustment): New fun.
17028 (byte-compile-out): Use it.
17029 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
17030
17031 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
17032 handler any more.
17033
17034 * emacs-lisp/byte-opt.el: Use lexical binding.
17035 (byte-inline-lapcode): Remove (to bytecomp).
17036 (byte-compile-inline-expand): Pay attention to inlining to/from
17037 lexically bound code.
17038 (byte-compile-unfold-lambda): Don't handle byte-code-functions
17039 any more.
17040 (byte-optimize-form-code-walker): Don't handle save-window-excursion
17041 any more and don't call compiler-macros.
17042 (byte-compile-splice-in-already-compiled-code): Remove.
17043 (byte-code): Don't inline any more.
17044 (disassemble-offset): Receive `bytes' as argument rather than via
17045 dynamic scoping.
17046 (byte-compile-tag-number): Declare before first use.
17047 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
17048 `return' even if make-spliceable.
17049 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
17050 obsolete interactive-p.
17051 (byte-optimize-lapcode): Optimize new lap-codes.
17052 Don't trip up on new form of `byte-constant' lap code.
17053
17054 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
17055
17056 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
17057
17058 * custom.el (custom-initialize-default, custom-declare-variable):
17059 Use `defvar'.
17060
17061 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
17062 New variables.
17063 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
17064 (COMPILE_FIRST): Add macroexp and cconv.
17065 * makefile.w32-in: Mirror changes in Makefile.in.
17066
17067 * vc/cvs-status.el:
17068 * vc/diff-mode.el:
17069 * vc/log-edit.el:
17070 * vc/log-view.el:
17071 * vc/smerge-mode.el:
17072 * textmodes/bibtex-style.el:
17073 * textmodes/css-mode.el:
17074 * startup.el:
17075 * uniquify.el:
17076 * minibuffer.el:
17077 * newcomment.el:
17078 * reveal.el:
17079 * server.el:
17080 * mpc.el:
17081 * emacs-lisp/smie.el:
17082 * doc-view.el:
17083 * dired.el:
17084 * abbrev.el: Use lexical binding.
17085
17086 2011-04-01 Eli Zaretskii <eliz@gnu.org>
17087
17088 * info.el (info-display-manual): New function.
17089
17090 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
17091
17092 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
17093
17094 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
17095
17096 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
17097 an entry for that server in rcirc-authinfo. (Bug#8385)
17098
17099 2011-03-31 Glenn Morris <rgm@gnu.org>
17100
17101 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
17102
17103 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
17104
17105 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
17106
17107 * progmodes/python.el (python-default-interpreter)
17108 (python-python-command-args, python-jython-command-args)
17109 (python-which-shell, python-which-args, python-which-bufname)
17110 (python-file-queue, python-comint-output-filter-function)
17111 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
17112 variables and functions.
17113
17114 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
17115
17116 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
17117 (completion-in-region-mode): New minor mode.
17118 (completion-in-region): Use it.
17119 (completion-in-region--data, completion-in-region-mode-map): New vars.
17120 (completion-in-region--postch): New function.
17121 (completion--capf-misbehave-funs, completion--capf-safe-funs):
17122 New vars.
17123 (completion--capf-wrapper): New function.
17124 (completion-at-point): Use it to track well-behavedness of
17125 hook functions.
17126 (completion-help-at-point): New command.
17127
17128 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
17129
17130 * vc/add-log.el (add-change-log-entry): Don't use whitespace
17131 syntax class to search for whitespace on a single line
17132 (Message-ID: <4D938140.4030905@redhat.com>).
17133
17134 2011-03-30 Leo Liu <sdl.web@gmail.com>
17135
17136 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
17137 New commands.
17138 (edit-abbrevs-map): Bind them here.
17139 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
17140
17141 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
17142
17143 * allout.el (allout-hide-by-annotation, allout-flag-region):
17144 Reduce possibility of overlay leakage by making them volatile.
17145
17146 * allout-widgets.el (allout-widgets-tally): Define as nil so the
17147 hash is not shared between buffers. Mode initialization is
17148 responsible for giving it a useful starting value.
17149 (allout-item-span): Reduce possibility of overlay leakage by
17150 making them volatile.
17151 (allout-widgets-count-buttons-in-region): Add diagnostic function
17152 for tracking down button overlay leaks.
17153
17154 2011-03-29 Leo Liu <sdl.web@gmail.com>
17155
17156 * ido.el (ido-read-internal): Use the default history var
17157 minibuffer-history if no HISTORY is specified.
17158
17159 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
17160
17161 * net/imap.el (imap-shell-open, imap-process-connection-type):
17162 Use imap-process-connection-type for 'shell' streams as well as
17163 Kerberos, SSL, other subprocesses.
17164
17165 2011-03-28 Leo Liu <sdl.web@gmail.com>
17166
17167 * abbrev.el (abbrev-table-empty-p): New function.
17168 (prepare-abbrev-list-buffer): Place empty abbrev tables after
17169 nonempty ones. (Bug#5937)
17170
17171 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
17172
17173 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
17174
17175 2011-03-27 Leo Liu <sdl.web@gmail.com>
17176
17177 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
17178 for foreground and background colors.
17179 (ansi-color-make-color-map): Adapt.
17180
17181 2011-03-25 Leo Liu <sdl.web@gmail.com>
17182
17183 * midnight.el (midnight-time-float): Remove. Note it calculates
17184 the microsecond component incorrectly and seconds-to-time does the
17185 same job.
17186 Remove redundant (require 'timer).
17187
17188 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
17189 (ido-completions): Remove unused arguments. (Bug#8329)
17190
17191 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
17192
17193 * minibuffer.el (completion--flush-all-sorted-completions):
17194 Remove itself from hook.
17195 (completion-at-point): Let the functions perform the completion
17196 immediately and return nil or t.
17197 * comint.el (comint-dynamic-complete-functions): Now identical to
17198 completion-at-point-functions.
17199 (comint-dynamic-list-input-ring): Remove unused var `index'.
17200 (comint--match-partial-filename, comint--unquote&expand-filename):
17201 New funs, split from comint-match-partial-filename.
17202 (comint-dynamic-complete): Use completion-at-point.
17203 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
17204
17205 2011-03-24 Drew Adams <drew.adams@oracle.com>
17206
17207 * thingatpt.el: Support `defun'.
17208
17209 2011-03-23 Leo Liu <sdl.web@gmail.com>
17210
17211 * abbrevlist.el: Move to obsolete/abbrevlist.el.
17212
17213 * help-mode.el (help-mode-finish): Tweak regexp.
17214
17215 2011-03-23 Glenn Morris <rgm@gnu.org>
17216
17217 * eshell/esh-opt.el (eshell-eval-using-options):
17218 Do not bind unused local variable `eshell-option-stub'.
17219
17220 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
17221
17222 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
17223
17224 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
17225 keymap variable in `with-no-warnings' to avoid a warning when the
17226 keymap has been already `defconst'ed.
17227
17228 2011-03-22 Leo Liu <sdl.web@gmail.com>
17229
17230 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
17231 encode all chars in abbrevs; otherwise use emacs-mule or
17232 utf-8-emacs. (Bug#8308)
17233
17234 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
17235
17236 * simple.el (backward-delete-char-untabify):
17237 Avoid warning about using `delete-backward-char'.
17238
17239 * image.el (image-type-file-name-regexps): Make it variable.
17240 `imagemagick-register-types' modifies it, and the user may want
17241 to add new extensions for known image types.
17242 (imagemagick-register-types): Throw error if not using ImageMagick.
17243
17244 2011-03-22 Leo Liu <sdl.web@gmail.com>
17245
17246 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
17247 located before rcirc-prompt-end-marker.
17248 (rcirc-complete): Error if point is not after rcirc prompt.
17249 Handle the case when table is nil.
17250 (rcirc-user-authenticated): Define to fix compiler warning.
17251
17252 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
17253
17254 * custom.el (custom--inhibit-theme-enable): Make it affect only
17255 custom-theme-set-variables and custom-theme-set-faces.
17256 (provide-theme): Ignore custom--inhibit-theme-enable.
17257 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
17258 (custom-enabling-themes): Delete variable.
17259 (enable-theme): Accept only loaded themes as arguments.
17260 Ignore the special custom-enabled-themes variable.
17261 (custom-enabled-themes): Forbid themes from setting this.
17262 Eliminate use of custom-enabling-themes.
17263 (custom-push-theme): Quote "changed" custom var entry.
17264
17265 2011-03-21 Leo Liu <sdl.web@gmail.com>
17266
17267 * ido.el (ido-read-internal): Add ido-selected to history instead
17268 of user input.
17269
17270 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
17271
17272 * subr.el (deferred-action-list, deferred-action-function):
17273 Mark obsolete.
17274
17275 2011-03-21 Leo Liu <sdl.web@gmail.com>
17276
17277 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
17278 change on 2011-02-13 (bug#8309).
17279
17280 * minibuffer.el (read-file-name-function): Change default value.
17281 (read-file-name--defaults): Rename from read-file-name-defaults.
17282 (read-file-name-default): Rename from read-file-name.
17283 (read-file-name): Call read-file-name-function.
17284
17285 2011-03-21 Glenn Morris <rgm@gnu.org>
17286
17287 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
17288 Doc fixes.
17289
17290 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
17291
17292 * cus-theme.el: Add missing provide statement.
17293 (customize-create-theme): Extract theme value correctly.
17294 (custom-theme-visit-theme): Autoload.
17295 (customize-create-theme): Prompt before inserting default faces.
17296
17297 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
17298
17299 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
17300 units and musical notes.
17301
17302 2011-03-20 Leo Liu <sdl.web@gmail.com>
17303
17304 * ido.el (ido-read-internal): Use completing-read-default.
17305 (ido-completing-read): Fix compatibility with completing-read.
17306
17307 2011-03-20 Christian Ohler <ohler@gnu.org>
17308
17309 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
17310 (ert-delete-all-tests): Use `called-interactively-p' rather than
17311 `interactive-p'.
17312 (ert--make-xrefs-region): Respect END.
17313
17314 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
17315
17316 * dired-aux.el (dired-create-directory): Signal an error if the
17317 directory already exists (Bug#8246).
17318
17319 * facemenu.el (list-colors-display): Call list-faces-display
17320 inside with-help-window.
17321 (list-colors-print): Use display property to align the final
17322 column, instead of checking window-width.
17323
17324 2011-03-19 Eli Zaretskii <eliz@gnu.org>
17325
17326 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
17327 windows-nt systems.
17328 (emerge-protect-metachars): Quote correctly for ms-dos and
17329 windows-nt systems.
17330
17331 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
17332
17333 * info.el (info-initialize): Replace all uses of `:' with
17334 path-separator for compatibility with non-Unix systems.
17335 Cache quoting of path-separator. (Bug#8258)
17336
17337 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
17338
17339 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
17340 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
17341 (mouse-avoidance-mode): Fix typos in docstrings.
17342
17343 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
17344
17345 * startup.el (package-subdirectory-regexp): Move from package.el.
17346 Omit \\` and \\', and let callers add them.
17347
17348 * emacs-lisp/package.el (package-strip-version)
17349 (package-load-all-descriptors): Add \\` and \\' to
17350 package-subdirectory-regexp before using it.
17351 (package-untar-buffer): New arg DIR; ensure that file untars only
17352 into this expected directory. Remove superfluous delete-region.
17353 (package-unpack): Caller changed.
17354 (package-tar-file-info): Use package-subdirectory-regexp.
17355
17356 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
17357
17358 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
17359 diff-mode-shared-map (bug#8284).
17360 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
17361
17362 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
17363
17364 * calendar/time-date.el (format-seconds): Use assoc instead of
17365 assoc-string, since assoc-string doesn't exist in XEmacs.
17366
17367 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
17368
17369 * custom.el (custom-known-themes): Reflow docstring.
17370 (custom-theme-load-path): Fix typo in docstring.
17371 (load-theme): Fix typo in error message.
17372 (custom-available-themes, custom-variable-theme-value):
17373 Use `let', not `let*'.
17374
17375 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
17376
17377 * calc/README: Mention inclusion of musical notes.
17378
17379 * calc/calc-units.el (calc-lu-quant): Rename from
17380 `calc-logunits-quantity'.
17381 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
17382 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
17383 (calc-db): Rename from `calc-dblevel'.
17384 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
17385 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
17386 (calc-np): Rename from `calc-nplevel'.
17387 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
17388 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
17389 (calc-lu-plus): Rename from `calc-logunits-add'.
17390 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
17391 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
17392 (calc-lu-minus): Rename from `calc-logunits-sub'.
17393 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
17394 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
17395 (calc-lu-times): Rename from `calc-logunits-mul'.
17396 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
17397 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
17398 (calc-lu-divide): Rename from `calc-logunits-div'.
17399 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
17400 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
17401
17402 * calc/calc-ext.el (calc-init-extensions): Update the names of the
17403 functions being autoloaded.
17404
17405 * calc/calc.el (calc-lu-power-reference): Rename from
17406 `calc-logunits-power-reference'.
17407 (calc-lu-field-reference): Rename from
17408 `calc-logunits-field-reference'.
17409
17410 * calc/calc-help.el (calc-l-prefix-help):
17411 Mention musical note functions.
17412
17413 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
17414
17415 * minibuffer.el (completion-all-sorted-completions):
17416 Use :completion-cycle-penalty text property if present.
17417
17418 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
17419
17420 * allout.el (allout-yank-processing): Adjust for new rebulleting
17421 regime so bullet being yanked is used without prompting the user
17422 for a choice.
17423
17424 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
17425
17426 * startup.el (command-line): Warn the user that _emacs is deprecated.
17427
17428 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
17429
17430 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
17431 (delphi-verbose, delphi-comment-face, delphi-string-face)
17432 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
17433 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
17434 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
17435 (delphi-new-comment-line, delphi-font-lock-defaults)
17436 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
17437 Fix typos in docstrings.
17438
17439 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
17440
17441 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
17442 Invert the roles of character and string values for INSTEAD, so a
17443 string is used for the more common case of a defaulting prompt.
17444
17445 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
17446
17447 * progmodes/ruby-mode.el (ruby-backward-sexp):
17448 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
17449 * play/gamegrid.el (gamegrid-make-face):
17450 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
17451 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
17452 * notifications.el (notifications-notify):
17453 * net/xesam.el (xesam-search-engines):
17454 * net/quickurl.el (quickurl-list-insert):
17455 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
17456
17457 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
17458
17459 * startup.el (command-line): Update package subdirectory regexp.
17460
17461 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
17462
17463 * allout.el (allout-abbreviate-flattened-numbering)
17464 (allout-mode-deactivate-hook): Fix up obsolescence "date".
17465
17466 * subr.el (read-char-choice): Only show the cursor after the prompt,
17467 not after the answer.
17468
17469 2011-03-15 Kevin Ryde <user42@zip.com.au>
17470
17471 * help-fns.el (variable-at-point): Skip leading quotes, if any
17472 (bug#8253).
17473
17474 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
17475
17476 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
17477 warning message.
17478
17479 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
17480
17481 * shell.el (shell): When called interactively, offer to change the
17482 shell file name on remote hosts.
17483
17484 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
17485
17486 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
17487 integration for LDAP parameters. The host, base, user or binddn,
17488 and secret tokens can be specified in a netrc file, for instance.
17489 This is optional because an `auth-source' parameter must be
17490 specified in the search attributes.
17491
17492 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
17493
17494 * help.el (describe-mode): Link to the mode's definition (bug#8185).
17495
17496 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
17497
17498 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
17499 into declaration. Remove redundant and harmful binding.
17500
17501 2011-03-12 Eli Zaretskii <eliz@gnu.org>
17502
17503 * files.el (file-ownership-preserved-p): Pass `integer' as an
17504 explicit 2nd argument to `file-attributes'. If the file's owner
17505 is the Administrators group on Windows, and the current user is
17506 Administrator, consider that a match.
17507
17508 * server.el (server-ensure-safe-dir): Consider server directory
17509 safe on MS-Windows if its owner is the Administrators group while
17510 the current Emacs user is Administrator. Use `=' to compare
17511 numerical UIDs, since they could be integers or floats.
17512
17513 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
17514
17515 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
17516
17517 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
17518
17519 Sync with Tramp 2.2.1.
17520
17521 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
17522
17523 * net/trampver.el: Update release number.
17524
17525 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
17526
17527 * progmodes/compile.el (compilation--previous-directory): Fix up
17528 various nil/dead-marker mismatches (bug#8014).
17529 (compilation-directory-properties, compilation-error-properties):
17530 Don't call it at a position past the one we're about to change.
17531
17532 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
17533 Disable obsolescence warnings in the file that declares it.
17534
17535 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
17536
17537 * allout-widgets.el (allout-widgets-tally):
17538 Initialize allout-widgets-tally as a hash table rather than nil to
17539 prevent mode-line redisplay warnings. Also, clarify the module
17540 description and fix a comment typo.
17541
17542 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
17543
17544 * help-fns.el (describe-variable): Don't complete keywords.
17545 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
17546
17547 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
17548
17549 * emacs-lisp/package.el (package-version-join): Impose a standard
17550 string representation for pre/alpha/beta version lists.
17551 (package-unpack-single): Standardize the directory name by passing
17552 it through package-version-join.
17553 (package-strip-rcs-id): Accept any version string that does not
17554 signal an error in version-to-list.
17555
17556 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
17557
17558 * simple.el (delete-trailing-whitespace): Return nil for the
17559 benefit of `write-file-functions'.
17560
17561 2011-03-10 Glenn Morris <rgm@gnu.org>
17562
17563 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
17564
17565 * vc/vc-git.el (vc-git-program): New option.
17566 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
17567 (vc-git--call): Use it.
17568
17569 * eshell/esh-util.el (eshell-condition-case): Doc fix.
17570
17571 * cus-edit.el (Custom-newline): If no button at point, look
17572 for a subgroup button at start-of-line. (Bug#2298)
17573
17574 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
17575
17576 2011-03-10 Julien Danjou <julien@danjou.info>
17577
17578 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
17579 `cursor-type' is nil.
17580
17581 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
17582
17583 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
17584
17585 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
17586
17587 * allout.el: Change so yank of distinctive-bullet items
17588 preserves the existing header prefix, rebulleting it if necessary,
17589 rather than replacing it. This is necessary for proper operation
17590 of cooperative addons like allout-widgets.
17591 (allout-make-topic-prefix, allout-rebullet-heading):
17592 Change SOLICIT arg to INSTEAD, and interpret additionally a string
17593 value as alternate bullet to be used, instead of prompting the user
17594 for a bullet character.
17595
17596 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
17597
17598 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
17599 Do not use `tramp-file-name-port', because this returns also
17600 `tramp-default-port'.
17601
17602 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
17603
17604 * net/rcirc.el (rcirc-handler-001): Remove useless
17605 with-rcirc-process-buffer.
17606 (rcirc-check-auth-status): Swap arguments to string-match.
17607
17608 2011-03-09 Glenn Morris <rgm@gnu.org>
17609
17610 * shell.el (shell-mode):
17611 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
17612
17613 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
17614 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
17615
17616 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
17617
17618 * emacs-lisp/package.el (package-refresh-contents)
17619 (package-menu-execute): Use condition-case-no-debug.
17620
17621 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
17622
17623 * simple.el (shell-command-to-string): Use `process-file'.
17624
17625 * emacs-lisp/package.el (package-tar-file-info): Handle also
17626 remote files.
17627
17628 * emacs-lisp/package-x.el (package-upload-buffer-internal):
17629 Use `equal' for upload base check.
17630
17631 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
17632
17633 * textmodes/texinfo.el (texinfo-environments):
17634 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
17635
17636 2011-03-08 Glenn Morris <rgm@gnu.org>
17637
17638 * cus-start.el (cursor-in-non-selected-windows):
17639 Fix :set quoting oddness. (Bug#8192)
17640
17641 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
17642 in some setf expressions. (Bug#2159)
17643
17644 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
17645
17646 * custom.el (custom-available-themes): Return themes in
17647 alphabetical order.
17648
17649 See ChangeLog.15 for earlier changes.
17650
17651 ;; Local Variables:
17652 ;; coding: utf-8
17653 ;; End:
17654
17655 Copyright (C) 2011-2012 Free Software Foundation, Inc.
17656
17657 This file is part of GNU Emacs.
17658
17659 GNU Emacs is free software: you can redistribute it and/or modify
17660 it under the terms of the GNU General Public License as published by
17661 the Free Software Foundation, either version 3 of the License, or
17662 (at your option) any later version.
17663
17664 GNU Emacs is distributed in the hope that it will be useful,
17665 but WITHOUT ANY WARRANTY; without even the implied warranty of
17666 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17667 GNU General Public License for more details.
17668
17669 You should have received a copy of the GNU General Public License
17670 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.