NEWS markup for ImageMagick.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
af008560
GM
12012-02-07 Glenn Morris <rgm@gnu.org>
2
dd605cc4
GM
3 * image.el (imagemagick-types-inhibit): Doc fix.
4
af008560
GM
5 * cus-start.el (imagemagick-render-type): Add it.
6
5cc59a37
LI
72012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
8
9 * progmodes/cc-mode.el
10 (c-standard-font-lock-fontify-region-function): Set the default at
11 load time, too, so that `font-lock-fontify-buffer' can be called
12 without setting up the entire mode first. This fixes a bug in
13 `mm-inline-text' with C MIME parts.
14
9a6dd747
CY
152012-02-06 Chong Yidong <cyd@gnu.org>
16
2d16b285
CY
17 * simple.el (list-processes--refresh): Delete exited processes
18 (Bug#8094).
19
171e9b6e
CY
20 * comint.el (comint-next-prompt): next-single-char-property-change
21 and prev-single-char-property-change never return nil (Bug#8657).
22
9a6dd747
CY
23 * custom.el (defcustom): Doc fix (Bug#9711).
24
aa4589a7
CY
252012-02-05 Chong Yidong <cyd@gnu.org>
26
5c2a252f
CY
27 * cus-edit.el (custom-variable-reset-backup): Quote the value
28 before storing it in the customized-value property (Bug#6712).
4aab9006 29 (custom-display): Add a customization type tag.
983b9602 30 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 31
aa4589a7
CY
32 * wid-edit.el (widget-field-value-get): New optional arg to
33 suppress trailing whitespace truncation.
34 (character): Use it (Bug#2689).
35
1ff980ae
AS
362012-02-05 Andreas Schwab <schwab@linux-m68k.org>
37
38 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
39 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
40
03988c98
CY
412012-02-05 Chong Yidong <cyd@gnu.org>
42
eeb6cc88
CY
43 * cus-edit.el (custom-variable-value-create): For mismatched
44 types, show the current value (Bug#7600).
45
03988c98
CY
46 * custom.el (defcustom): Doc fix.
47
f8cdeef0
GM
482012-02-05 Glenn Morris <rgm@gnu.org>
49
50 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
51
0696d255
JB
522012-02-05 Juanma Barranquero <lekktu@gmail.com>
53
54 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
55 (pp-buffer): Use `ignore-errors', `looking-at-p'.
56 (pp-last-sexp): Use `looking-at-p'.
57
34c99998
GM
582012-02-04 Glenn Morris <rgm@gnu.org>
59
8f05da42
GM
60 * files.el (revert-buffer):
61 Doc fix (mention revert-buffer-in-progress-p).
62
f160676e
GM
63 * emacs-lisp/ert-x.el (ert-simulate-command):
64 Check deferred-action-list (which is obsolete) is bound.
65
c7291ad9
GM
66 * subr.el (with-wrapper-hook): Doc fixes.
67
34c99998
GM
68 * simple.el (filter-buffer-substring-functions)
69 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
70
6283a7d3
LL
712012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
72
73 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
74 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
75
e96e3013
LL
762012-02-04 Leo Liu <sdl.web@gmail.com>
77
78 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
79
8ded50f2
GM
802012-02-04 Glenn Morris <rgm@gnu.org>
81
82ff1d13
GM
82 * image.el (image-extension-data): Add obsolete alias.
83
987a0a16
GM
84 * isearch.el (isearch-update): Doc fix.
85
ea32ef46
GM
86 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
87
8ded50f2
GM
88 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
89
eea14f31
GM
902012-02-03 Glenn Morris <rgm@gnu.org>
91
92 * image.el (image-animated-p): Doc fix. Use image-animated-types.
93 (image-animate-timeout): Doc fix.
94
95 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
96
12f381b7
GM
972012-02-02 Glenn Morris <rgm@gnu.org>
98
953cebf5
GM
99 * server.el (server-auth-dir): Doc fix.
100 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
101
12f381b7
GM
102 * subr.el (run-mode-hooks): Doc fix.
103
953a8c3b
JL
1042012-02-02 Juri Linkov <juri@jurta.org>
105
106 * image-mode.el (image-toggle-display-image): Remove tautological
107 `major-mode' from the `derived-mode-p' test.
108
c5d3843c
KH
1092012-02-02 Kenichi Handa <handa@m17n.org>
110
9f6e692e 111 * composite.el (compose-region): Cancel previous change.
c5d3843c 112
159462d4 1132012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
114
115 * composite.el (compose-region, compose-string): Signal error for
116 a null string component (Bug#6988).
117
9f562668
CY
1182012-02-01 Chong Yidong <cyd@gnu.org>
119
e2cef717
CY
120 * view.el (view-buffer-other-window, view-buffer-other-frame):
121 Handle special modes like view-buffer (Bug#10650).
122 (view-buffer): Simplify.
123
9f562668
CY
124 * frame.el (set-frame-font): Tweak meaning of third argument.
125
9f6e692e
JB
126 * dynamic-setting.el (font-setting-change-default-font):
127 Use set-frame-font (Bug#9982).
9f562668 128
781acb9f
GM
1292012-02-01 Glenn Morris <rgm@gnu.org>
130
6035be52
GM
131 * progmodes/compile.el (compilation-internal-error-properties):
132 Respect compilation-first-column in the "*compilation*" buffer.
133
781acb9f
GM
134 * emacs-lisp/easy-mmode.el (define-minor-mode):
135 Relax :variable's test for a named function.
136
abbceb00
AM
1372012-01-31 Alan Mackenzie <acm@muc.de>
138
139 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
140 off by one error.
141
fce3fdeb
CY
1422012-01-31 Chong Yidong <cyd@gnu.org>
143
144 * frame.el (set-frame-font): New arg ALL-FRAMES.
145
146 * menu-bar.el (menu-set-font): Use set-frame-font.
147
148 * faces.el (face-spec-reset-face): Don't apply unspecified
149 attribute values to the default face.
150
47893581
JB
1512012-01-31 Juanma Barranquero <lekktu@gmail.com>
152
153 * progmodes/cwarn.el (cwarn): Remove dead link.
154 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
155 Remove * from defcustom docstrings.
156 (turn-on-cwarn-mode): Make obsolete.
157 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
158 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
159
e58e988a
GM
1602012-01-31 Glenn Morris <rgm@gnu.org>
161
60dc2671 162 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 163 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 164 Allow named functions to be used as the cdr of :variable.
e58e988a 165
7a3f511d
GM
1662012-01-30 Glenn Morris <rgm@gnu.org>
167
168 * emacs-lisp/authors.el (authors-fixed-entries):
169 Remove reference to deleted file rnewspost.el.
170
cb882333
JB
1712012-01-29 Juanma Barranquero <lekktu@gmail.com>
172
173 * window.el (window-with-parameter): Remove unused variable `windows'.
174 (window--side-check): Remove unused variable `code'.
175 (window--resize-siblings): Remove unused variable `first'.
176 (adjust-window-trailing-edge): Remove unused variable `failed'.
177 (window-deletable-p, window--delete): Remove unused variable `buffer'.
178 Use `let', not `let*'.
179 (balance-windows-2): Remove unused variable `found'.
180 (window--state-put-2): Remove unused variable `splits'.
181 (window-state-put): Remove unused variable `selected'.
182 (same-window-p): Use `string-match-p'.
183 (display-buffer-assq-regexp): Remove unused variable `value'.
184 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
185 Mark argument ALIST as ignored.
186 (pop-to-buffer): Remove unused variable `old-window'.
187
907201af
EZ
1882012-01-29 Eli Zaretskii <eliz@gnu.org>
189
190 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
191 and .lzma compressed files.
192
ea162670
CY
1932012-01-29 Chong Yidong <cyd@gnu.org>
194
5b95ee8a
CY
195 * frame.el (window-system-default-frame-alist): Doc fix.
196
ea162670
CY
197 * dynamic-setting.el (font-setting-change-default-font): Don't
198 change the default face if SET-FONT argument is non-nil (Bug#9982).
199
d6e6f4b1
SB
2002012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
201
202 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
203
0f29fa41 2042012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
205
206 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
207 breakpoints in files outside current directory (Bug#6098).
208
db174434
CY
2092012-01-29 Chong Yidong <cyd@gnu.org>
210
6b25e4e2
SE
211 * progmodes/python.el: Require ansi-color at top-level.
212
6df6ae42
JB
213 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
214 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
215 (lisp-mode-abbrev-table): Add doc.
216 (lisp-mode-variables): Don't set local-abbrev-table.
217 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
218
e70ee681
RW
2192012-01-28 Roland Winkler <winkler@gnu.org>
220
221 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
222
ace88aa2
RW
2232012-01-28 Roland Winkler <winkler@gnu.org>
224
225 * textmodes/bibtex.el (bibtex-entry-alist): New function.
226 (bibtex-set-dialect): Use it. Either set global values of
227 dialect-dependent variables or bind these variables buffer-locally
228 (Bug#10254).
229 (bibtex-mode): Call bibtex-set-dialect via
230 hack-local-variables-hook.
231 (bibtex-dialect): Update docstring. Add
232 safe-local-variable predicate.
233 (bibtex-entry-alist, bibtex-field-alist): Initialize via
234 bibtex-set-dialect.
235 (bibtex-mode-map): Define menu for each dialect.
236 (bibtex-entry): Fix docstring.
237
93376c5b
CY
2382012-01-28 Chong Yidong <cyd@gnu.org>
239
240 * eshell/esh-arg.el (eshell-quote-argument): New function.
241
242 * eshell/esh-ext.el (eshell-invoke-batch-file):
243 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
244 first arg to eshell-parse-command (Bug#10523).
245
4372494f
DA
2462012-01-28 Drew Adams <drew.adams@oracle.com>
247
248 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
249 `default-directory' is non-nil.
250
4d4ec1f8
EZ
2512012-01-28 Eli Zaretskii <eliz@gnu.org>
252
253 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
254 line that displays system-configuration-options. (Bug#9924)
255
7c188927
DA
2562012-01-28 Drew Adams <drew.adams@oracle.com>
257
258 * descr-text.el (describe-char): Show information about POS, in
259 addition to information about the character at POS. Improve and
260 update the doc string. Change "code point" to "code point in
261 charset", to avoid confusion with the character's Unicode code
262 point shown above that. (Bug#10129)
263
e0da685a
EZ
2642012-01-28 Eli Zaretskii <eliz@gnu.org>
265
266 * descr-text.el (describe-char): Show the raw character, not only
267 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
268 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
269 for the reasons.
270
70550acf
PH
2712012-01-28 Phil Hagelberg <phil@hagelb.org>
272
273 * emacs-lisp/package.el (package-install): Run
80ed5304 274 package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 275
0ce8e868
CY
2762012-01-28 Chong Yidong <cyd@gnu.org>
277
cb882333
JB
278 * emacs-lisp/package.el (package-maybe-load-descriptor):
279 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
280 (package-maybe-load-descriptor): Use it.
281 (package-download-transaction): Fully load required packages
282 inside the loop, so that `require' calls work (Bug#10593).
283 (package-install): No need to call package-initialize now.
284
2e7f3bea
CY
2852012-01-28 Chong Yidong <cyd@gnu.org>
286
6e9bad14
CY
287 * simple.el (deactivate-mark): Doc fix (Bug#8614).
288
f823b8ca
CY
289 * tooltip.el (tooltip-mode): Doc fix.
290 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
291
2680c309
CY
292 * frame.el (set-cursor-color): Doc fix (Bug#352).
293
d7a9e63b
CY
294 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
295 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
296
2e7f3bea
CY
297 * cus-edit.el (custom-buffer-create-internal): Fix search button
298 action (Bug#10542).
2ae01800 299 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 300
fc4f7a23
EW
3012012-01-27 Eduard Wiebe <usenet@pusto.de>
302
303 * dired.el (dired-mark-files-regexp):
304 Include any subdirectory components. (Bug#10445)
305
7dd37071
ML
3062012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
307
308 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
309 Handle [host]:port syntax. (Bug#10533)
310
a268160b
AH
3112012-01-27 Alex Harsanyi <harsanyi@mac.com>
312
313 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
314
e43273ef
GM
3152012-01-26 Glenn Morris <rgm@gnu.org>
316
317 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
318 * term.el (term-raw-escape-map): Use Control-X-prefix.
319 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
320
1edf595d
MR
3212012-01-25 Martin Rudalics <rudalics@gmx.at>
322
323 * window.el (window-state-get, window--state-get-1): Don't deal
324 with fixed-sizeness of windows. Simplify code.
325
fa8eafef
JC
3262012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
327
6df6ae42
JB
328 * window.el (window--state-get-1, window--state-put-2):
329 Don't save and restore the mark.
fa8eafef 330
0b21c100
CY
3312012-01-25 Chong Yidong <cyd@gnu.org>
332
333 * custom.el (custom-variable-p): Doc fix.
334
5ae1a6c8
GM
3352012-01-25 Glenn Morris <rgm@gnu.org>
336
40047858
GM
337 * dired.el (dired-goto-file): Handle some of the more common
338 characters that `ls -b' escapes. (Bug#10596)
339
5ddce96c
GM
340 * progmodes/compile.el (compilation-next-error-function):
341 Respect compilation-first-column in the "*compilation*" buffer.
342 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
343
5ae1a6c8
GM
344 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
345
b559f1a9
GM
3462012-01-24 Glenn Morris <rgm@gnu.org>
347
348 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
349
6725d21a
JD
3502012-01-24 Julien Danjou <julien@danjou.info>
351
352 * color.el (color-rgb-to-hsl): Fix value computing.
353 (color-hue-to-rgb): New function.
354 (color-hsl-to-rgb): New function.
355 (color-clamp, color-saturate-hsl, color-saturate-name)
356 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
357 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
358
70df4bbe
GM
3592012-01-24 Glenn Morris <rgm@gnu.org>
360
361 * vc/vc-rcs.el (vc-rcs-create-tag):
362 * vc/vc-sccs.el (vc-sccs-create-tag):
363 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
364
802a2ae2
ML
3652012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
366
367 * eshell/esh-util.el (eshell-read-hosts-file):
368 Skip comment lines. (Bug#10549)
369
d7128bb1
ML
370 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
371
d1a5c3b4
JB
3722012-01-23 Juanma Barranquero <lekktu@gmail.com>
373
2724d9c7
JB
374 * subr.el (display-delayed-warnings): Doc fix.
375 (collapse-delayed-warnings): New function to collapse identical
376 adjacent warnings.
377 (delayed-warnings-hook): Add it.
d1a5c3b4 378
a5509865
MA
3792012-01-22 Michael Albinus <michael.albinus@gmx.de>
380
381 * net/tramp.el (tramp-action-login): Set connection property "login-as".
382
383 * net/tramp-cache.el (tramp-dump-connection-properties): Do not dump
384 properties, when "login-as" is set.
385
386 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
387 (tramp-default-user-alist): Don't add "pscp".
388 (tramp-do-copy-or-rename-file-out-of-band): Use connection
389 property "login-as", if set. (Bug#10530)
390
cc6d5805
MA
3912012-01-21 Michael Albinus <michael.albinus@gmx.de>
392
393 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
394 "plink1" and "psftp". (Bug#10530)
395
3962012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
397
398 * international/mule-cmds.el (prefer-coding-system): Show a
399 warning message if the default value of file-name-coding-system
400 was not changed.
401
f0960428
JC
4022012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
403
cb882333
JB
404 * windmove.el (windmove-reference-loc):
405 Fix windmove-reference-loc miscalculation.
f0960428 406
dd6f2a63
JB
4072012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
408
409 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
410 default unit.
411
7b447e9b
GM
4122012-01-21 Glenn Morris <rgm@gnu.org>
413
117a9ea1
GM
414 * international/mule.el (auto-coding-alist): Add .tbz.
415
7b447e9b
GM
416 * files.el (local-enable-local-variables): Doc fix.
417 (inhibit-local-variables-regexps): Rename from
418 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
419 Doc fix. Add some extensions from auto-coding-alist.
420 (inhibit-local-variables-suffixes):
421 Rename from inhibit-first-line-modes-suffixes. Doc fix.
422 (inhibit-local-variables-p):
423 New function, extracted from set-auto-mode-1.
424 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
425 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
426 (hack-local-variables): Doc fix. Make the mode-only case
427 respect enable-local-variables and friends.
428 Respect inhibit-local-variables-regexps for file-locals, but
429 not for directory-locals.
430 (set-visited-file-name):
431 Take account of inhibit-local-variables-regexps.
432 Whether it applies may change as the file name is changed.
433 * jka-cmpr-hook.el (jka-compr-install):
434 * jka-compr.el (jka-compr-uninstall):
435 Update for inhibit-first-line-modes-suffixes name change.
436
dd6e3cdd
MR
4372012-01-20 Martin Rudalics <rudalics@gmx.at>
438
439 * help-macro.el (make-help-screen): Temporarily restore original
440 binding for minor-mode-map-alist (Bug#10454).
441
0d0deb38
JD
4422012-01-19 Julien Danjou <julien@danjou.info>
443
444 * color.el (color-name-to-rgb): Use the white color to find the max
445 color component value and return correctly computed values.
446 (color-name-to-rgb): Add missing float conversion for max value.
447
34a02f46
MR
4482012-01-19 Martin Rudalics <rudalics@gmx.at>
449
450 * window.el (window--state-get-1, window-state-get): Do not use
451 special state value for window-persistent-parameters. Rename
452 argument IGNORE to WRITABLE. Rewrite doc-string.
453 (window--state-put-2): Reset all window parameters to nil before
454 assigning values of persistent parameters.
455
606c44c4
AM
4562012-01-18 Alan Mackenzie <acm@muc.de>
457
458 Eliminate sluggishness and hangs in fontification of "semicolon
459 deserts".
460
cb882333
JB
461 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
462 Change value 10000 -> 3000.
606c44c4
AM
463 (c-state-safe-place): Reformulate so it doesn't stack up an
464 infinite number of wrong entries in c-state-nonlit-pos-cache.
465 (c-determine-limit-get-base, c-determine-limit): New functions to
466 determine backward search limits disregarding literals.
467 (c-find-decl-spots): Amend commenting.
468 (c-cheap-inside-bracelist-p): New function which detects "={".
469
470 * progmodes/cc-fonts.el
471 (c-make-font-lock-BO-decl-search-function): Give a limit to a
472 backward search.
473 (c-font-lock-declarations): Fix an occurrence of point being
474 undefined. Check additionally for point being in a bracelist or
475 near a macro invocation without a semicolon so as to avoid a
476 fruitless time consuming search for a declarator. Give a more
477 precise search limit for declarators using the new
478 c-determine-limit.
479
f3860cea
GM
4802012-01-18 Glenn Morris <rgm@gnu.org>
481
482 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
483 (set-auto-mode): Doc fixes.
484
1db03b16
GM
4852012-01-17 Glenn Morris <rgm@gnu.org>
486
0e6038be
GM
487 * isearch.el (search-nonincremental-instead): Fix doc typo.
488
1db03b16
GM
489 * dired.el (dired-insert-directory): Handle newlines in directory name.
490 (dired-build-subdir-alist): Unescape newlines in directory name.
491
4cb0aa75
MA
4922012-01-17 Michael Albinus <michael.albinus@gmx.de>
493
494 * net/tramp.el (tramp-local-end-of-line): New defcustom.
495 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
496 (tramp-action-terminal): Use it. (Bug#10530)
497
1d00653d
SM
4982012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
499
500 * minibuffer.el (completion--replace): Strip properties (bug#10062).
501
6a6ee00d
MR
5022012-01-16 Martin Rudalics <rudalics@gmx.at>
503
504 * window.el (window-state-ignored-parameters): Remove variable.
505 (window--state-get-1): Rename argument MARKERS to IGNORE.
506 Handle persistent window parameters. Make copy of clone-of
507 parameter only if requested. (Bug#10348)
508 (window--state-put-2): Install a window parameter only if it has
509 a non-nil value or an existing parameter shall be overwritten.
510
97912def
MA
5112012-01-15 Michael Albinus <michael.albinus@gmx.de>
512
513 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
514
688070a5
EZ
5152012-01-14 Eli Zaretskii <eliz@gnu.org>
516
517 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
518 don't pass the (nil) value of `upnode' to string-match.
519
301afadc
CY
5202012-01-14 Chong Yidong <cyd@gnu.org>
521
522 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 523 Fix values recognized by the cursorBlink resource.
301afadc 524
9e5788aa
PE
5252012-01-14 Paul Eggert <eggert@cs.ucla.edu>
526
527 * epg.el (epg--make-temp-file): Avoid permission race condition
528 when running on old Emacs versions (bug#10403).
529
3cdb7f5a
GM
5302012-01-14 Glenn Morris <rgm@gnu.org>
531
532 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
533
8c82b1b4
AM
5342012-01-13 Alan Mackenzie <acm@muc.de>
535
536 Fix filling for when filladapt mode is enabled.
537
538 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
539 c-mask-paragraph, pass in `fill-paragraph' rather than
540 `fill-region-as-paragraph'. (This is a reversion of a previous
541 change.)
542 * progmodes/cc-mode.el (c-basic-common-init): Make
543 fill-paragraph-handle-comment buffer local and set it to nil.
544
e517eda4
GM
5452012-01-13 Glenn Morris <rgm@gnu.org>
546
1498536e
GM
547 * dired.el (dired-switches-escape-p): New function.
548 (dired-insert-directory): Use dired-switches-escape-p.
549 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
550
e517eda4
GM
551 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
552
328f984d
GM
5532012-01-12 Glenn Morris <rgm@gnu.org>
554
555 * mail/sendmail.el (mail-mode): Update paragraph-separate for
556 changes in adaptive-fill-regexp. (Bug#10276)
557
2cc769a8
AM
5582012-01-11 Alan Mackenzie <acm@muc.de>
559
560 Fix Emacs bug #10463 - put `widen's around the critical spots.
561
1d00653d 562 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
563 widen around each invocation of c-state-pp-to-literal. Remove an
564 unused let variable.
565
e52c37fa
GM
5662012-01-11 Glenn Morris <rgm@gnu.org>
567
568 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 569 Doc fix.
e52c37fa 570
96f8741e
CY
5712012-01-10 Chong Yidong <cyd@gnu.org>
572
1d00653d
SM
573 * net/network-stream.el (network-stream-open-starttls):
574 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
575 response to the capability command.
576
b09a806e
GM
5772012-01-10 Glenn Morris <rgm@gnu.org>
578
579 * mail/unrmail.el (unrmail): Tweak previous change.
580
7655cb66
CY
5812012-01-09 Chong Yidong <cyd@gnu.org>
582
583 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
584
9d5a8f0b
AM
5852012-01-08 Alan Mackenzie <acm@muc.de>
586
587 Optimise font locking in long enum definitions.
588
589 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
590 arm to a cond form to handle enums.
591 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
592 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
593
9a0115ab 5942012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
595
596 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 597 (Bug#10401)
6bb72cbd 598
f186bb95
LMI
5992012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
600
29232a68
LMI
601 * faces.el (set-face-attribute): Clarify the meaning of the nil
602 frame (bug#10294).
603
4e5d086d
LMI
604 * subr.el (with-selected-frame): Mention that the selected frame
605 is restored (bug#9980).
606
8e66aebe
LMI
607 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
608 (bug#9759).
609
cd394be1 610 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
611 (password-read): Don't autoload unused function.
612
adf4e762
JB
6132012-01-07 Juanma Barranquero <lekktu@gmail.com>
614
615 * progmodes/which-func.el (which-func-mode): Turn into a
616 non-interactive function and mark as obsolete (bug#10428).
617
89bd9ccd
CY
6182012-01-06 Chong Yidong <cyd@gnu.org>
619
620 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
621 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
622 functions, along with 1 and -1.
623
4afee9d5
EZ
6242012-01-06 Eli Zaretskii <eliz@gnu.org>
625
626 * time.el (display-time-load-average)
627 (display-time-default-load-average): Doc fixes. See the thread
628 starting at
629 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
630 for the details.
631
536aea70
GM
6322012-01-06 Glenn Morris <rgm@gnu.org>
633
665ae865
GM
634 * mail/unrmail.el (unrmail): Give an explicit error if the input file
635 has no messages. (Bug#10377)
636
c869783d
GM
637 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
638 than Info-edit. (Bug#10385)
639
2bb4227e
GM
640 * time.el (display-time-load-average, display-time-next-load-average):
641 Doc fixes.
642
7d5944b9
GM
643 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
644 local setting of buffer-read-only to the input buffer. (Bug#10419)
645
536aea70
GM
646 * calendar/calendar.el (calendar-mode):
647 Locally set scroll-margin to 0. (Bug#10379)
648
7dccca16
UM
6492012-01-06 Ulrich Mueller <ulm@gentoo.org>
650
651 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
652
afbb7930
GM
6532012-01-05 Glenn Morris <rgm@gnu.org>
654
655 * eshell/em-unix.el (diff-no-select): Autoload it.
656 (eshell/diff): Use diff-no-select. (Bug#10420)
657
04482335
CY
6582012-01-05 Chong Yidong <cyd@gnu.org>
659
7baca3bc
CY
660 * shell.el (shell-dynamic-complete-functions): Revert last change.
661 (shell-command-completion-function): New function.
662 (shell-completion-vars): Use it to implement
663 shell-completion-execonly (Bug#10417).
664
04482335
CY
665 * custom.el (enable-theme): Don't set custom-safe-themes.
666
1d00653d
SM
667 * cus-theme.el (custom-theme-merge-theme):
668 Ignore custom-enabled-themes and custom-safe-themes.
04482335 669
bb5aa5d6
MM
6702012-01-05 Michael R. Mauger <mmaug@yahoo.com>
671
672 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
673 first prompt in `sql-interacive-mode'.
674 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 675 keywords.
6df6ae42 676 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
677 (sql-product-interactive): Bug fix: Set `sql-buffer' in
678 context of original buffer. Invoke `sql-login-hook'.
679
a7183d7c
EZ
6802012-01-04 Eli Zaretskii <eliz@gnu.org>
681
682 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
683 letters in cite-prefix.
684
a1eacd1e
LMI
6852012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
686
687 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
688
787cdb34
CY
6892012-01-03 Chong Yidong <cyd@gnu.org>
690
1d00653d
SM
691 * shell.el (shell-dynamic-complete-functions):
692 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
693 comint-filename-completion first (Bug#10417).
694
30710442
RS
6952012-01-02 Richard Stallman <rms@gnu.org>
696
697 * battery.el (battery-status-function):
698 Detect when to use battery-yeeloong-sysfs.
699 (battery-echo-area-format): Add string for Yeeloong.
700 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
701 (battery-yeeloong-sysfs): New function.
702
f75bfc33
CY
7032012-01-02 Chong Yidong <cyd@gnu.org>
704
705 * dirtrack.el (dirtrack-list): Eliminate unused third element.
706 (dirtrack): Merge code for handling relative filenames in prompt
707 from shell-dir-cookie-watcher.
708 (dirtrack-debug-message): New arg to avoid excess format calls.
709
710 * shell.el (shell-dir-cookie-re): Variable deleted.
711 (shell-dir-cookie-watcher): Function deleted.
712 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
713 with dirtrack-mode.
714
651e947e
EZ
7152012-01-01 Eli Zaretskii <eliz@gnu.org>
716
1d00653d
SM
717 * term/w32-win.el (dynamic-library-alist) <gnutls>:
718 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
719 libgnutls-26.dll.
720
94d4c7dc
AS
7212011-12-31 Andreas Schwab <schwab@linux-m68k.org>
722
723 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
724
8d43f3cd
EZ
7252011-12-31 Eli Zaretskii <eliz@gnu.org>
726
727 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
728 headers of non-MIME messages, when rmail-enable-mime is non-nil.
729
98c8795a
MA
7302011-12-29 Michael Albinus <michael.albinus@gmx.de>
731
732 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
733 also for alternative shells.
734 (tramp-open-connection-setup-interactive-shell): Check, whether
735 the shell is a busybox.
736 (tramp-send-command): Don't suppress multiple prompts for
737 busyboxes, it hurts.
738
51281b32
CY
7392011-12-28 Chong Yidong <cyd@gnu.org>
740
741 * progmodes/gdb-mi.el (gdb-get-source-file-list)
742 (gdb-get-source-file): Move mode line update to
743 gdb-get-source-file (Bug#10087).
744
2170cb53
CY
7452011-12-25 Chong Yidong <cyd@gnu.org>
746
747 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
748 gud-gdb-marker-filter without taking it as an argument.
749 (gud-gdb-run-command-fetch-lines): Caller changed.
750 (gud-gdb-completion-function): New variable.
751 (gud-gdb-completion-at-point): Use it.
752 (gud-gdb-completions-1): Split from gud-gdb-completions.
753
754 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
755 function as separate arguments.
756 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
757 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
758 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
759 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
760 (gdb-stopped, def-gdb-auto-update-trigger)
761 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
762 (gdb-get-changed-registers, gdb-get-main-selected-frame):
763 Callers changed.
2170cb53
CY
764 (gud-gdbmi-completions): New function.
765 (gdb): Use it for generating the completion table.
766
be8b11bb
AM
7672011-12-24 Alan Mackenzie <acm@muc.de>
768
769 Introduce a mechanism to widen the region used in context font
1d00653d 770 locking. Use this to protect declarations from losing their contexts.
be8b11bb 771
1d00653d
SM
772 * progmodes/cc-langs.el (c-before-font-lock-functions):
773 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 774 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
775 functions to be run just before context (etc.) font locking.
776
777 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 778 New, functionality extracted from
be8b11bb 779 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 780 (c-in-after-change-fontification): New variable.
be8b11bb
AM
781 (c-after-change): Set c-in-after-change-fontification.
782 (c-set-fl-decl-start): Rejig its interface, so it can be called
783 from both after-change and context fontifying.
b81d40f0
JB
784 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
785 New functions.
786 (c-standard-font-lock-fontify-region-function): New variable.
787 (c-font-lock-fontify-region): New function.
be8b11bb 788
341cf6ac
JL
7892011-12-24 Juri Linkov <juri@jurta.org>
790
791 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
792 (Bug#10348)
793
bffcee0a
MA
7942011-12-23 Michael Albinus <michael.albinus@gmx.de>
795
796 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
797 existence of source file. (Bug#10325)
798
cb5e207c
AM
7992011-12-23 Alan Mackenzie <acm@muc.de>
800
801 Fix unstable fontification inside templates.
802
b81d40f0
JB
803 * progmodes/cc-langs.el (c-before-font-lock-functions):
804 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
805 additionally has c-set-fl-decl-start. The other languages (apart
806 from AWK) have that as a single entry.
807
b81d40f0
JB
808 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
809 The functionality for "local" declarations has been extracted to
cb5e207c
AM
810 c-set-fl-decl-start.
811
b81d40f0
JB
812 * progmodes/cc-mode.el (c-common-init, c-after-change):
813 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
814 (c-set-fl-decl-start): New function, extracted from
815 c-font-lock-enclosing-decls and enhanced.
816
60ff536c
JB
8172011-12-23 Juanma Barranquero <lekktu@gmail.com>
818
819 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
820
1c4757d6
JL
8212011-12-22 Juri Linkov <juri@jurta.org>
822
823 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
824
d031f2c7
CY
8252011-12-22 Chong Yidong <cyd@gnu.org>
826
827 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
828
bace743a
DA
8292011-12-21 Drew Adams <drew.adams@oracle.com>
830
831 * files.el (file-remote-p): Fix docstring. (Bug#10319)
832
728a1f2b
JC
8332011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
834
835 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
836
0d373f73
TZ
8372011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
838
fec0aaa4
TZ
839 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
840 highlighting and support. Fix up comments for capitalization.
841 (cfengine-mode-debug): New var.
842 (cfengine3-mode): Change the modeline indicator to "CFE3".
843 (cfengine3-font-lock-keywords): Improve defun highlighting.
844 (cfengine2-actions): Rename from `cfengine-actions'.
845 (cfengine2-font-lock-keywords): Rename from
846 `cfengine-font-lock-keywords'.
847 (cfengine2-imenu-expression): Rename from
848 `cfengine-imenu-expression'.
849 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
850 (cfengine2-beginning-of-defun): Rename from
851 `cfengine-beginning-of-defun'.
852 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
853 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
854 (cfengine2-mode): Rename from `cfengine-mode'. Change the
855 modeline indicator to "CFE2".
856 (cfengine-mode): Defalias to `cfengine-auto-mode'.
857 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 858
bc86f573
CY
8592011-12-21 Chong Yidong <cyd@gnu.org>
860
861 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
862 filename argument.
863
d45ba96b
MR
8642011-12-20 Martin Rudalics <rudalics@gmx.at>
865
866 * window.el (window-normalize-buffer-to-display): Remove.
867 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
868
a6198c90
CY
8692011-12-19 Chong Yidong <cyd@gnu.org>
870
871 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
872 Don't signal an error in a predicate function; return non-nil.
873 (vc-dir-mark-file): Move the error here.
874 (vc-dir-mark-unmark): If acting on the region, keep going if one
875 of the entries cannot be marked/unmarked.
876 (vc-dir-mark-all-files): If current entry is a directory, mark
877 only child files, as documented.
878
34c5fb55
VB
8792011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
880
881 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
882 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
883 addition.
884
c803b2b7
JD
8852011-12-18 Jan Djärv <jan.h.d@swipnet.se>
886
887 * term/ns-win.el (ns-get-selection-internal)
888 (ns-store-selection-internal): Declare.
1154d12e
JB
889 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
890 Declare as obsolete.
891 (ns-get-pasteboard, ns-paste-secondary):
892 Use ns-get-selection-internal.
893 (ns-set-pasteboard, ns-copy-including-secondary):
894 Use ns-store-selection-internal.
c803b2b7 895
9cff91f8 8962011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
897
898 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 899 (vc-deduce-fileset): Doc fix.
99a289d9 900
f16c898a
AS
9012011-12-16 Andreas Schwab <schwab@linux-m68k.org>
902
903 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
904
763237c4
SS
9052011-12-13 Sam Steingold <sds@gnu.org>
906
907 * man.el (Man-getpage-in-background): When running under a
908 window-system, ignore $MANWIDTH and $COLUMNS.
909
5fc1c122
KH
9102011-12-15 Kenichi Handa <handa@m17n.org>
911
912 * language/ethio-util.el: Change coding tag to utf-8-emacs.
913 (setup-ethiopic-environment-internal): Comment out key-binding for
914 ethio-toggle-punctuation.
915
13d49cbb
AM
9162011-12-13 Alan Mackenzie <acm@muc.de>
917
898169a2
AM
918 Add the switch statement to AWK Mode.
919
920 * progmodes/cc-awk (awk-font-lock-keywords): Add "switch", "case",
921 "default" to the keywords regexp.
922
923 * progmodes/cc-langs (c-label-kwds): Let AWK take the same
924 expression as the rest.
1d00653d
SM
925 (c-nonlabel-token-key): Allow string literals for AWK.
926 Refactor for the other modes.
898169a2 927
13d49cbb 928 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 929 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
930 routines. Limit backward searching in c-font-lock-enclosing.decl.
931
932 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
933 pp-state and literal type in addition to the limits.
1d00653d 934 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 935 (c-state-literal-at): Use the above new defun.
1d00653d
SM
936 (c-slow-in-literal, c-fast-in-literal): Remove.
937 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
938
939 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
940 being in a literal. Add a limit for backward searching.
941
942 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
943 c-slow-in-literal.
944
15e0efc7
SM
9452011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
946
947 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
948
454592a6
MR
9492011-12-13 Martin Rudalics <rudalics@gmx.at>
950
951 * window.el (delete-other-windows): Use correct frame in call to
952 window-with-parameter.
953
87393f26
DP
9542011-12-12 Daniel Pfeiffer <occitan@t-online.de>
955
956 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
957 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
958 (makefile-gmake-statements, makefile-makepp-statements):
959 Use it and add new makepp keywords.
960 (makefile-makepp-font-lock-keywords): Add new patterns.
961 (makefile-match-function-end): Match new [...] and [[...]].
962
11636b22
JB
9632011-12-11 Juanma Barranquero <lekktu@gmail.com>
964
965 * ses.el (ses-call-printer-return, ses-cell-property-get)
966 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
967 (ses-create-cell-variable, ses-reset-header-string)
968 (ses-cell-set-formula, ses-repair-cell-reference-all)
969 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
970 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
971 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
972 (ses-aset-with-undo, ses-load, ses-truncate-cell)
973 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
974 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
975 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
976 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
977 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
978 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
979 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
980 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
981
cf018193
VB
9822011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
983
984 * ses.el: The overall change is to add cell renaming, that is
985 setting fancy names for cell symbols other than name matching
986 "\\`[A-Z]+[0-9]+\\'" regexp .
987 (ses-create-cell-variable): New defun.
988 (ses-relocate-formula): Relocate formulas only for cells the
989 symbols of which are not renamed, i.e. symbols whose names do not
990 match regexp "\\`[A-Z]+[0-9]+\\'".
991 (ses-relocate-all): Relocate values only for cells the symbols of
992 which are not renamed.
993 (ses-load): Create cells variables as the (ses-cell ...) are read,
994 in order to check row col consistency with cell symbol name only
995 for cells that are not renamed.
996 (ses-replace-name-in-formula): New defun.
997 (ses-rename-cell): New defun.
998
ee957461
CY
9992011-12-11 Chong Yidong <cyd@gnu.org>
1000
1001 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
1002 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
1003
9a9e9ef0
MR
10042011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
1005
1006 * window.el (other-window): Fix docstring.
1007
92a8eba5
EZ
10082011-12-10 Eli Zaretskii <eliz@gnu.org>
1009
1010 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
1011 `from' or `to' address before taking its substring.
1012 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
1013 encoded name is chopped in the middle of the encoded string, and
1014 thus displayed encoded.
1015
e152e577
JB
10162011-12-10 Juanma Barranquero <lekktu@gmail.com>
1017
1018 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
1019
e5d84bfe
EZ
10202011-12-10 Eli Zaretskii <eliz@gnu.org>
1021
1022 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
1023 to use texinfo-update-node and commands that call it if the
1024 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 1025 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
1026 (texinfo-all-menus-update, texinfo-master-menu)
1027 (texinfo-update-node, texinfo-every-node-update)
1028 (texinfo-multiple-files-update): Doc fix. Warn against updating
1029 all the @node lines.
1030 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
1031 argument is numeric. Explain better in the doc string what the
1032 function really does.
1033 (texinfo-insert-master-menu-list): Improve the error message
1034 displayed if there's no menu in the Top node.
1035 (Bug#2975) See also this thread:
e5d84bfe
EZ
1036 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
1037
1d84e9bb
MG
10382011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
1039
1040 * speedbar.el (speedbar-supported-extension-expressions):
1041 Add .adb and .ads, commonly used for Ada source code (bug#10256).
1042
382c953b
JB
10432011-12-09 Juanma Barranquero <lekktu@gmail.com>
1044
1045 * printing.el (pr-mode-alist):
1046 * simple.el (filter-buffer-substring-functions)
1047 (completion-list-insert-choice-function):
1048 * window.el (window-with-parameter, window-atom-root)
1049 (window-sides-slots, window-size-fixed, window-min-delta)
1050 (window-max-delta, window--resize-mini-window)
1051 (window--resize-child-windows-normal, window-tree)
1052 (delete-other-windows, quit-window, split-window)
1053 (display-buffer-record-window, special-display-buffer-names)
1054 (special-display-regexps, special-display-popup-frame)
1055 (same-window-p, split-window-sensibly)
1056 (display-buffer-overriding-action, display-buffer-alist)
1057 (display-buffer-base-action, display-buffer, switch-to-buffer)
1058 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
1059 (fit-window-to-buffer, recenter-positions)
1060 (mouse-autoselect-window-state, mouse-autoselect-window-select):
1061 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
1062 and remove unneeded backslashes in docstrings.
1063
39c9faef
SM
10642011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
1065
98449af8
SM
1066 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
1067
39c9faef
SM
1068 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
1069 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
1070 end in ".mk".
1071 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
1072 when reading the makefile (bug#10116).
1073
86ed9fdc
SM
10742011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
1075
1076 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
1077 (bug#10116).
1078
5580f89d
GM
10792011-12-06 Glenn Morris <rgm@gnu.org>
1080
1081 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
1082
28d3917c
CY
10832011-12-06 Chong Yidong <cyd@gnu.org>
1084
1085 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
1086
a98edce9
JB
10872011-12-06 Juanma Barranquero <lekktu@gmail.com>
1088
1089 * textmodes/table.el (table-shorten-cell): Fix typo.
1090
e65adfac
CG
10912011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
1092
1093 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
1094
71cc0b74
EZ
10952011-12-05 Eli Zaretskii <eliz@gnu.org>
1096
1097 * descr-text.el (describe-char): Fix display of strong
1098 right-to-left characters and directional embeddings and overrides.
1099
1100 * simple.el (what-cursor-position): Fix display of codepoints of
1101 strong right-to-left characters.
1102
315bc30d
CY
11032011-12-05 Chong Yidong <cyd@gnu.org>
1104
1105 * faces.el (read-color): Doc fix.
1106
58a70b94
GM
11072011-12-05 Glenn Morris <rgm@gnu.org>
1108
1109 * align.el (align--set-marker): Add doc-string.
1110 Don't try to move something that is not a marker. (Bug#10216)
1111
5158face
GM
11122011-12-04 Glenn Morris <rgm@gnu.org>
1113
1114 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
1115 overly zealous deletion of trailing whitespace.
1116
520fca41
JB
11172011-12-04 Juanma Barranquero <lekktu@gmail.com>
1118
1119 * server.el (server-delete-client): On Windows, do not try to delete
1120 the only terminal.
1121 (server-process-filter): On Windows, treat requests for a tty frame as
1122 if they were for a GUI frame if the running server is in GUI mode.
1123
5e605a2e
GM
11242011-12-03 Glenn Morris <rgm@gnu.org>
1125
1126 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
1127
5c3fe83f
SM
11282011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
1129
6f5e57e7
SM
1130 * electric.el: Streamline electric-indent's hook.
1131 (electric-indent-chars): Revert to simple list.
1132 (electric-indent-functions): New var.
1133 (electric-indent-post-self-insert-function): Use it.
1134
5c3fe83f
SM
1135 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
1136 there's no inferior buffer (bug#10196).
1137 (prolog-consult-compile): Don't use toggle-read-only.
1138
6bdac736
MA
11392011-12-02 Michael Albinus <michael.albinus@gmx.de>
1140
1141 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
1142 interrupt. (Bug#10187)
1143
6131ba7f
SM
11442011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
1145
99c79fee
SM
1146 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
1147 (bug#9160).
1148
6131ba7f
SM
1149 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
1150 (bug#10191).
1151
cb0a02ea
JL
11522011-12-02 Juri Linkov <juri@jurta.org>
1153
1154 * info.el (Info-search): Display "end of manual" when Isearch
1155 reaches the end of single-file Info manual. (Bug#9918)
1156
66e0570c
EZ
11572011-12-02 Eli Zaretskii <eliz@gnu.org>
1158
1159 * isearch.el (isearch-message-prefix): Run the input method part
1160 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
1161
02b16839
JL
11622011-12-02 Juri Linkov <juri@jurta.org>
1163
1164 * isearch.el (isearch-occur): Use `word-search-regexp' for
1165 `isearch-word'.
1166 (isearch-search-and-update): Add condition for `isearch-word' and
1167 call `word-search-regexp'. (Bug#10145)
1168
0b950688
GM
11692011-12-01 Glenn Morris <rgm@gnu.org>
1170
1171 * eshell/em-hist.el (eshell-hist-initialize):
1172 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 1173 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 1174
9505c3c7
SM
11752011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
1176
1177 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
1178
1bbe96b2 11792011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 1180
a1beca85
SM
1181 * progmodes/verilog-mode.el (verilog-pretty-expr):
1182 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
1183 verilog, such as += *= and the like.
1184 (verilog-assignment-operator-re): Regular expression to find the
1185 assigment operator in a verilog assignment.
1186 (verilog-assignment-operation-re): Regular expression to find an
1187 assignment statement for pretty-expr.
1188 (verilog-in-attribute-p): Query returns true if point is in an
1189 attribute context; used to skip these for expression line up from
1190 pretty-expr.
1191 (verilog-in-parameter-p): Query returns true if point is in an
1192 parameter definition context; used to skip these for expression
1193 line up from pretty-expr.
1194 (verilog-in-parenthesis-p): Query returns true if point is in a
1195 parenthetical expression, specifically ( ) but not [ ] or { };
1196 used by pretty-expr.
1197 (verilog-just-one-space): If there is no space, don't add one.
1198 (verilog-get-lineup-indent-2): Specifically skip just attribute
1199 contexts for expression lineup, rather than skipping all
1200 parenthetical expressions.
1201 (verilog-calculate-indent): Fix comment, and fix indent.
1202 (verilog-do-indent): Indent declarations in lists (suggested by
1203 Joachim Lechner).
1204 (verilog-mode-abbrev-table): Populate abbrev mode with the various
1205 skeleton items.
1206 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
1207 by Alain Mellan).
1208
1bbe96b2 12092011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
1210
1211 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
1212 parameters with embedded comments. Reported by Ray Stevens.
1213 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
1214 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
1215 Reported by Tim Holt.
1216 (verilog-auto): Fix AUTOing a upper module then AUTOing module
1217 instantiated by upper module causing wrong expansion until AUTOed a
1218 second time. Reported by K C Buckenmaier.
1219 (verilog-diff-auto): Fix showing .* as a difference when
1220 `verilog-auto-star-save' off. Reported by Dan Dever.
1221 (verilog-auto-reset, verilog-read-always-signals)
1222 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
1223 temporary signals in reset list if
1224 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
1225 style to each signal's assignment type, bug381.
1226 Reported by Thomas Esposito.
6288f0ca
WS
1227 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
1228 (verilog-uvm-statement-re): Support UVM indentation and
1229 highlighting, with old OVM keywords only.
a1beca85 1230 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
1231 Support AUTOTIEOFF creating non-wire data types.
1232 Suggested by Jonathan Greenlaw.
6288f0ca
WS
1233 (verilog-auto-insert-lisp, verilog-delete-to-paren)
1234 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
1235 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
1236 (verilog-read-sub-decls, verilog-read-sub-decls-line):
1237 Fix mismatching parenthesis inside commented out code when deleting
382c953b 1238 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
1239 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
1240 non-numeric vector width. Reported by Alex Reed.
1241 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 1242 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
1243 (verilog-auto-delete-trailing-whitespace):
1244 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
1245 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
1246 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
1247 Fix verilog-scan-cache corruption when running user AUTO expansion
1248 hooks that call indentation routines.
1249 (verilog-simplify-range-expression): Fix typo ignoring lower case
1250 identifiers.
1251 (verilog-delete-auto): Fix delete-autos to also remove user created
1252 automatics, as long as they start with AUTO.
1253 (verilog-batch-diff-auto, verilog-diff-auto)
1254 (verilog-diff-function): Add `verilog-diff-auto' and bind to
1255 "C-c?" to report differences in AUTO expansion, ignoring spaces.
1256 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
1257 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
1258 (verilog-re-search-forward-quick, verilog-syntax-ppss):
1259 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
1260 is disabled and its cache will get corrupt, causing AUTOS not to
1261 expand. Instead use only -quick functions.
1262 (verilog-scan-region): Fix scanning over escaped quotes.
1263 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
1264 (verilog-re-search-backward-quick)
1265 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
1266 related functions now ignore strings, to fix misparsing of strings
1267 with magic comments embedded in them.
a1beca85
SM
1268 (verilog-read-auto-template):
1269 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
1270 Reported by Brad Dobbie.
1271 (verilog-read-auto-template):
1272 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 1273 Reported by Brad Dobbie.
6288f0ca
WS
1274 (verilog-auto-inst, verilog-auto-inst-param)
1275 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
1276 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
1277 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
1278 debugging templates without merge conflicts, bug357.
1279 Reported by Brad Dobbie.
1280 (verilog-read-auto-template):
1281 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
1282 Reported by Brad Dobbie.
1283 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
1284 abbrevs so user won't be asked to save.
1285 (verilog-read-auto-lisp-present): Fix to start at beginning of
1286 buffer in case called outside of verilog-auto.
1287 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
1288 to "X-2". Reported by Matthew Myers.
1289 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
1290 all inputs from module templates. Reported by Leith Johnson.
1291 (verilog-module-inside-filename-p): Fix locating programs as with
1292 modules.
1293 (verilog-auto-inst-port): Fix vl-width expressions when using
1294 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
1295 (verilog-decls-get-regs, verilog-decls-get-signals,
1296 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
1297 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
1298 verilog-read-decls): Combine reg and wire structures into one var
1299 structure to represent SystemVerilog concepts.
1300 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
1301 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
1302 (verilog-auto-wire-type, verilog-insert-definition):
1303 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
1304 SystemVerilog "logic" keyword instead of "wire"/"reg".
1305 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
1306 to declares outputs that also have assignments (presumably in an
a1beca85
SM
1307 ifdef or generate if so there's not a driver conflict).
1308 Reported by Matthew Myers.
1309 (verilog-auto-declare-nettype, verilog-insert-definition):
1310 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
1311 `default_nettype none. Reported by Julian Gorfajn.
1312 (verilog-read-always-signals-recurse, verilog-read-decls)
1313 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
1314 malformed end statement, bug325. Reported by Joshua Wise and
1315 Andrew Drake.
1316 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
1317 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
1318 when expanding .* in interfaces, bug320.
1319 Reported by Pierre-David Pfister.
6288f0ca 1320 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
1321 name and open parenthesis, bug317.
1322 Reported by Pierre-David Pfister.
6288f0ca
WS
1323 (verilog-simplify-range-expression): Fix simplification of
1324 multiplications inside AUTOWIRE connections, bug303.
1325 (verilog-auto-inst-port): Support parameter expansion in
1326 multidimensional arrays.
1327 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
1328 after "assert property". Reported by Julian Gorfajn.
1329 (verilog-simplify-range-expression): Fix "couldn't merge" errors
1330 with multiplication, bug303.
1331 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
1332 Reported by Jan Frode Lonnum.
1333
1bbe96b2
GM
13342011-11-30 Juanma Barranquero <lekktu@gmail.com>
1335
1336 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
1337 (hfy-shell-file-name, hfy-shell):
1338 * international/fontset.el (x-decompose-font-name): Fix typos.
1339
13402011-11-29 Ken Brown <kbrown@cornell.edu>
1341
1342 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
1343 (gdb-version): Remove defvar.
1344 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
1345 (gdb-gud-context-command, gdb-non-stop-handler)
1346 (gdb-current-context-command, gdb-stopped): Use it.
1347 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
1348 (gdb-non-stop-handler): Don't enable pretty-printing here.
1349 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
1350 non-stop mode. Use the following.
1351 (gdb-check-target-async): New defun.
1352 (gud-watch, gdb-stopped): Fix whitespace.
1353 (gdb-get-source-file): Don't try to display the source file if
1354 `gdb-main-file' is nil.
1355
13562011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
1357
1358 * align.el: Try to generate fewer markers (bug#10047).
1359 (align--set-marker): New macro.
1360 (align-region): Use it.
1361
c935221f
SM
13622011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
1363
1364 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
1365
e70b5064
CY
13662011-11-29 Chong Yidong <cyd@gnu.org>
1367
1368 * indent.el (indent-for-tab-command, indent-according-to-mode):
1369 Doc fix.
1370 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
1371
f3af92b7
MA
13722011-11-29 Michael Albinus <michael.albinus@gmx.de>
1373
1374 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
1375 aware of remote file names. (Bug#10124)
1376
ed472be9
CY
13772011-11-29 Chong Yidong <cyd@gnu.org>
1378
1379 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
1380
24510c22
SM
13812011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
1382
1383 * files.el (find-file): Don't use force-same-window (bug#10144).
1384 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
1385 use pop-to-buffer if the selected window can't be used.
1386 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
1387
c60c3703
EZ
13882011-11-28 Eli Zaretskii <eliz@gnu.org>
1389
1390 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
1391 special-mode-map.
1392
e95def75
CY
13932011-11-28 Chong Yidong <cyd@gnu.org>
1394
1395 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
1396
c3f1c606
NR
13972011-11-27 Nick Roberts <nickrob@snap.net.nz>
1398
1399 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
1400 gdb-get-source-file-list on gdb-create-source-file-list.
1401
00db469c
EZ
14022011-11-26 Eli Zaretskii <eliz@gnu.org>
1403
1404 * whitespace.el (whitespace-newline): Use a different foreground
1405 color for 16-color light-background displays.
1406
4ad3bc2a
CY
14072011-11-24 Chong Yidong <cyd@gnu.org>
1408
1409 * window.el (display-buffer--special-action): Doc fix.
1410
e9fce1ac
JB
14112011-11-25 Juanma Barranquero <lekktu@gmail.com>
1412
1413 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
1414 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
1415 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
1416 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
1417 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
1418 (avl-tree-stack-first):
1419 * emacs-lisp/cconv.el (cconv--analyse-use):
1420 * net/gnutls.el (gnutls-negotiate): Fix typos.
1421
cb825e5d
GM
14222011-11-24 Glenn Morris <rgm@gnu.org>
1423
3adbe224
GM
1424 * lpr.el (lpr-windows-system, lpr-lp-system):
1425 * mail/binhex.el (binhex-begin-line):
1426 * progmodes/grep.el (grep-history, grep-find-history):
1427 * textmodes/flyspell.el:
1428 * vc/pcvs-defs.el (cvs-global-menu):
1429 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
1430 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
1431 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
1432
321decc8
GM
1433 * net/tls.el: Fix case of "GnuTLS".
1434
420b63ad
GM
1435 * paths.el (rmail-file-name): Format doc-string for make-docfile.
1436
cb825e5d
GM
1437 * version.el (emacs-build-system): Give it a doc-string.
1438
a0649f08
JL
14392011-11-24 Juri Linkov <juri@jurta.org>
1440
1441 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
1442
c0bc0fd4
GM
14432011-11-24 Glenn Morris <rgm@gnu.org>
1444
1445 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
1446 if called on a non-mime message just toggle the headers. (Bug#8006)
1447
20db1522
JB
14482011-11-24 Juanma Barranquero <lekktu@gmail.com>
1449
1450 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
1451 (allout-lead-with-comment-string, allout-structure-deleted-hook)
1452 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
1453 (allout-rebullet-heading, allout-open-sibtopic)
1454 (allout-toggle-current-subtree-encryption)
1455 (allout-toggle-subtree-encryption, allout-encrypt-string)
1456 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
1457 (allout-distinctive-bullets-string, allout-auto-activation):
1458 * window.el (window-normalize-buffer-to-display):
1459 * progmodes/verilog-mode.el (verilog-batch-indent):
1460 * textmodes/bibtex.el (bibtex-field-braces-opt)
1461 (bibtex-field-strings-opt):
1462 * vc/cvs-status.el (cvs-tree-merge):
1463 Fix typos.
1464
7262a87c
MA
14652011-11-23 Michael Albinus <michael.albinus@gmx.de>
1466
1467 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
1468 `non-essential' to t, in order to avoid remote connections.
1469
283430a1
EZ
14702011-11-23 Eli Zaretskii <eliz@gnu.org>
1471
a1beca85
SM
1472 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
1473 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
1474 case-insensitively.
1475
d2992a38
ML
14762011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
1477
1478 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
1479
50419064
GM
14802011-11-23 Glenn Morris <rgm@gnu.org>
1481
da94eca1
GM
1482 * paths.el (rmail-file-name): Reformat the doc-string so that it
1483 is picked up.
1484
9aac4de2
GM
1485 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
1486 (rmail-auto-file): Ignore case in the "special" field names,
1487 as mail-fetch-field does for all others.
1488
8038d2d2
GM
1489 * mail/rmail.el (rmail-forward):
1490 * mail/rmailkwd.el (rmail-set-label):
1491 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
1492 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
1493
f3fe222a
GM
1494 * mail/rmail.el (rmail-current-message): Doc fix.
1495
50419064
GM
1496 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
1497
28109f49
SM
14982011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
1499
1500 * server.el (server-eval-and-print): Allow C-g (bug#6585).
1501
394c65f1
GM
15022011-11-22 Glenn Morris <rgm@gnu.org>
1503
1504 * mail/rmailmm.el (test-rmail-mime-handler)
1505 (test-rmail-mime-bulk-handler)
1506 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
1507
f2a0aa3a
JL
15082011-11-21 Juri Linkov <juri@jurta.org>
1509
1154d12e
JB
1510 * calc/calc.el (calc-read-key-sequence):
1511 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 1512
9c34a344
LMI
15132011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
1514
1515 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
1516 Tell the caller that the next line needs recomputation, even
1517 though it doesn't start a sexp (bug#10094).
1518
f04a3be9
SM
15192011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
1520
1521 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
1522
7978747f
SM
15232011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
1524
f04a3be9
SM
1525 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
1526 Use force-same-window.
7978747f 1527
fe7a3057
JB
15282011-11-20 Juanma Barranquero <lekktu@gmail.com>
1529
1530 * descr-text.el (describe-char-unicode-data):
1531 * json.el (json-string-escape):
1532 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
1533 (Footnote-unicode, Footnote-style-p):
1534 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
1535
24901d61
CY
15362011-11-20 Chong Yidong <cyd@gnu.org>
1537
1538 * window.el (replace-buffer-in-windows): Restore interactive spec.
1539
bac7ff22
SM
15402011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
1541
24f3d7b9
SM
1542 * electric.el (electric-indent-mode): Fix last change (too optimistic).
1543
bac7ff22
SM
1544 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
1545 (byte-compile-global-not-obsolete-vars): New var.
1546 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
1547 Use it.
1548 (byte-compile-warn-obsolete): Align text with the one in *Help*.
1549
cd1181db
JB
15502011-11-20 Juanma Barranquero <lekktu@gmail.com>
1551
1552 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
1553 * progmodes/pascal.el (electric-pascal-equal):
1554 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
1555 * xml.el (xml-substitute-special): Fix typos.
1556
7fb18e9e
GM
15572011-11-20 Glenn Morris <rgm@gnu.org>
1558
1559 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
1560 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
1561 Doc fixes.
1562 (rmail-decode-mime-charset): Mark as obsolete.
1563
1564 * mail/rmailsum.el (rmail-message-regexp-p-1):
1565 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
1566 Before using mime functions, check they are set. (Bug#10077)
1567
d5a6b3ba
JL
15682011-11-19 Juri Linkov <juri@jurta.org>
1569
1570 * info.el (Info-finder-find-node): Use `package--builtins' instead
1571 of `package-alist'. Use node names formed by the pattern "Keyword "
1572 and the keyword name.
1573
e981b61f
AS
15742011-11-19 Andreas Schwab <schwab@linux-m68k.org>
1575
1d00653d 1576 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 1577
3ffbc301
JL
15782011-11-19 Juri Linkov <juri@jurta.org>
1579
1580 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
1581 that calls `revert-buffer' on all Info buffers. (Bug#9915)
1582 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
1583 `old-history', `old-history-forward'. Add let-binding
1584 `window-selected'. Remove calls to `kill-buffer',
1585 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
1586 before calling `Info-find-node', so `Info-find-node-2' will reread
1587 the Info file. Restore window positions only when `window-selected'
1588 is non-nil.
1589
30c62133
JL
15902011-11-19 Juri Linkov <juri@jurta.org>
1591
1592 * isearch.el (isearch-lazy-highlight-new-loop):
1593 Remove condition `(not isearch-error)'. (Bug#9918)
1594
1595 * misearch.el (multi-isearch-search-fun): Add condition
1596 `(not bound)' to ignore lazy-highlighting search.
1597 Add the search-failed message "end of multi" when the end of
1598 multi-sequence is reached. Uncapitalize the search-failed
1599 message "Repeat for next buffer".
1600
1601 * info.el (Info-search): Add the search-failed message
1602 "end of the manual" when the end of the manual is reached
1603 in Isearch mode.
1604
645ca9cf
JL
16052011-11-19 Juri Linkov <juri@jurta.org>
1606
1607 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
1608 Use non-destructive `remove' instead of `delete' because
1609 `Info-history-list' stored to `Info-isearch-initial-history-list' in
1610 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
1611
df754f66
JL
16122011-11-19 Juri Linkov <juri@jurta.org>
1613
1614 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
1615 to nil instead of binding `search-ring' and `regexp-search-ring'.
1616 (Bug#9185)
1617
0e23d96a
EZ
16182011-11-19 Eli Zaretskii <eliz@gnu.org>
1619
1620 * simple.el (line-move): Force movement by logical lines for any
1621 hscrolled window, not only when auto-hscroll-mode is on.
1622 (line-move-visual): Update doc string to that effect. (Bug#10076)
1623
8a6ccb66
AS
16242011-11-19 Andreas Schwab <schwab@linux-m68k.org>
1625
1626 * language/european.el (macintosh): Define as alias for mac-roman.
1627
49ae5b39
EZ
16282011-11-19 Eli Zaretskii <eliz@gnu.org>
1629
1630 * mail/rmailmm.el (rmail-mime-display-header)
1631 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
1632 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
1633 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
1634 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
1635 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
1636 of a raw aref.
1637 (rmail-mime-entity-segment): To get past the tagline, move forward
1638 2 more lines, to account for the 2 empty lines that precede and
1639 follow the line with the buttons.
1640 (rmail-mime-update-tagline): Move one more line, to get past the
1641 empty line that follows the buttons in the tagline. (Bug#9520)
1642
c56cad4a
MR
16432011-11-19 Martin Rudalics <rudalics@gmx.at>
1644
1645 * window.el (window-max-delta-1, window-min-delta-1)
1646 (window-min-size-1, window-state-get-1, window-state-put-1)
1647 (window-state-put-2): Use "window--" prefix.
1648
cbe71af3
SM
16492011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
1650
2ad52c60
SM
1651 * emacs-lisp/smie.el: Improve warnings and conflict detection.
1652 (smie-warning-count): New var.
1653 (smie-set-prec2tab): Use it.
1654 (smie-bnf->prec2): Improve warnings. Add docstring.
1655 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
1656 (smie-bnf--set-class): New function.
1657 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
1658 corner case.
1659
6944dbc1
SM
1660 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
1661 (compilation-error-properties, compilation-move-to-column):
1662 Handle compilation-first-column while in the target buffer.
1663
c400c4d7
SM
1664 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
1665 Don't hardcode point-min==1.
1666
6dbe3e96
SM
1667 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
1668 (eshell-rewrite-for-command): Remove workaround.
1669 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
1670 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
1671 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
1672
cbe71af3
SM
1673 * files-x.el (modify-file-local-variable): Obey commenting conventions.
1674
a8e1496d
GM
16752011-11-17 Glenn Morris <rgm@gnu.org>
1676
1677 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
1678 Ignore buffer-local generated-autoload-file if it is the same
1679 as the global value. (Bug#10049)
1680
df85d315
JB
16812011-11-17 Juanma Barranquero <lekktu@gmail.com>
1682
1683 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
1684 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
1685 (reftex-toc-previous-heading, reftex-toc-max-level)
1686 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
1687 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
1688 (reftex-toc-do-promote, reftex-toc-promote-prepare)
1689 (reftex-toc-promote-action, reftex-toc-extract-section-number)
1690 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
1691 (reftex-toc-rename-label, reftex-toc-visit-location)
1692 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
1693 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
1694 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
1695 leaving "*toc*" only for references to the buffer.
1696
a0c2d0ae
MR
16972011-11-17 Martin Rudalics <rudalics@gmx.at>
1698
1699 * window.el (window-resize, delete-window, split-window):
1700 Replace window-splits by window-combination-resize.
1d00653d 1701 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 1702
35c0bac8
GM
17032011-11-17 Glenn Morris <rgm@gnu.org>
1704
1705 * progmodes/sh-script.el (sh-font-lock-keywords-var):
1706 Make bash entry derive from sh entry, not shell entry.
1707
d0c8fc8a
MA
17082011-11-16 Michael Albinus <michael.albinus@gmx.de>
1709
d0c8fc8a
MA
1710 * net/tramp-cache.el (tramp-flush-file-property): Flush also
1711 properties of linked files. (Bug#9879)
1712
7262a87c
MA
1713 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
1714 local file name.
1715
7877f373
JB
17162011-11-16 Juanma Barranquero <lekktu@gmail.com>
1717
1718 * menu-bar.el (menu-bar-file-menu):
1719 * printing.el (pr-ps-utility):
1720 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
1721 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
1722 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
1723 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
1724 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
1725 (icalendar--convert-cyclic-to-ical)
1726 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
1727 (icalendar--convert-ical-to-diary)
1728 (icalendar--convert-recurring-to-diary)
1729 (icalendar--convert-non-recurring-all-day-to-diary)
1730 (icalendar-import-format-sample):
1731 * progmodes/idlw-shell.el (idlwave-shell-mode):
1732 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
1733 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
1734 (vhdl-ps-print-init): Fix typos.
1735
10649b82
KM
17362011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
1737
9d0cfcd6
GM
1738 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
1739 FSF and collapse date sequence, obscure author/maintainer email address
1740 better, remove extra version line, track relocation of author's webpage.
10649b82 1741
9d0cfcd6
GM
1742 * progmodes/python.el (python-pdbtrack-input-prompt)
1743 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
1744 regular python pdb prompts. Adjustments shamelessly taken exactly as
1745 suggested in EmacsWiki page (tiny change):
1746 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 1747
58179cce
JB
17482011-11-16 Juanma Barranquero <lekktu@gmail.com>
1749
1750 * expand.el (expand-pos, expand-index, expand-point):
1751 Remove redundant info from docstring.
1752 (expand-add-abbrevs): Doc fix.
1753 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
1754 (expand-sample-perl-mode-expand-list): Fix typos.
1755
1756 * net/dbus.el (dbus-event-member-name):
1757 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
1758 * term/pc-win.el (msdos-create-frame-with-faces):
1759 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
1760
b6f67890
MR
17612011-11-16 Martin Rudalics <rudalics@gmx.at>
1762
1763 * window.el (split-window, window-state-get-1)
1764 (window-state-put-1, window-state-put-2): Rename occurrences of
1765 window-nest to window-combination-limit.
1d00653d 1766 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 1767
ce7ddba0
CY
17682011-11-16 Chong Yidong <cyd@gnu.org>
1769
1770 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
1771 regexp (Bug#10033).
1772
3ae704f4
SM
17732011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
1774
1775 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
1776 `completing-read' will remove *Completions* and will preserve
1777 current-buffer for us.
1778 (tmm-add-prompt): Users of *Completions* will always (re)set its
1779 major mode.
1780 (tmm-old-comp-map): Remove.
1781
6ad1cdde
GM
17822011-11-16 Glenn Morris <rgm@gnu.org>
1783
1784 * mail/rmailedit.el: Require rmailmm when compiling.
1785 (rmail-old-mime-state): New declaration.
1786 (rmail-edit-current-message): If editing a mime message,
1787 edit the "raw" message from the mbox buffer.
1788 (rmail-cease-edit): Handle mime messages. (Bug#9840)
1789
d20faa20
GM
17902011-11-15 Glenn Morris <rgm@gnu.org>
1791
1792 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
1793 which wasn't being used. Add optional arg to force given state.
1794 (rmail-mime): Add optional arg to force given state.
1795
c7015153
JB
17962011-11-15 Juanma Barranquero <lekktu@gmail.com>
1797
1798 * allout.el (allout-encryption-plaintext-sanitization-regexps):
1799 * frame.el (display-mm-dimensions-alist):
1800 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
1801 (outline-move-subtree-down):
1802 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
1803 (newsticker--treeview-do-get-node):
1804 * net/quickurl.el (quickurl-list-buffer-name):
1805 * progmodes/dcl-mode.el (dcl-mode):
1806 * progmodes/gdb-mi.el (gdb-mapcar*):
1807 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
1808
45261b50
GM
18092011-11-15 Glenn Morris <rgm@gnu.org>
1810
1811 * mail/rmail.el (rmail-file-coding-system): It's only ever used
1812 in a boolean sense, so just make it a boolean, and fix the doc.
1813 (rmail-show-mime-function, rmail-mime-feature)
1814 (rmail-require-mime-maybe): Doc fixes.
1815 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
1816
1817 * mail/rmailmm.el (rmail-show-mime): Doc fix.
1818
0d26e0b6
JB
18192011-11-15 Juanma Barranquero <lekktu@gmail.com>
1820
1821 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
1822 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
1823 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
1824 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
1825
447f30f6
GM
18262011-11-15 Glenn Morris <rgm@gnu.org>
1827
672b871d
GM
1828 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
1829 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
1830 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
1831 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
1832 (rmail-mime, rmail-show-mime): Doc fixes.
1833
f6aa5bb1
GM
1834 * term/ns-win.el (mode-line-frame-identification):
1835 Leave it alone. (Bug#10051)
1836
947cd66b
GM
1837 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
1838
447f30f6
GM
1839 * mail/rmailout.el (rmail-output-to-rmail-buffer):
1840 Handle empty buffers. (Bug#9978)
1841
0b381c7e
JB
18422011-11-14 Juanma Barranquero <lekktu@gmail.com>
1843
1844 * international/mule.el (define-charset):
1845 * mail/rmailmm.el (rmail-mime-find-header-encoding):
1846 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
1847 * progmodes/verilog-mode.el (verilog-backward-token):
1848 * textmodes/ispell.el (lookup-words):
1849 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
1850
71e027ac
GM
18512011-11-14 Glenn Morris <rgm@gnu.org>
1852
56632ce4
GM
1853 * progmodes/executable.el
1854 (executable-make-buffer-file-executable-if-script-p):
1855 Handle file-modes returning nil.
1856
40500957
GM
1857 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
1858 message - not necessary, and causes problems. (Bug#9831)
1859
071c2340
GM
1860 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
1861
d3cfca60
GM
1862 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
1863
71e027ac
GM
1864 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
1865 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
1866 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
1867
89d61221
MR
18682011-11-12 Martin Rudalics <rudalics@gmx.at>
1869
1870 * window.el (window-resize, delete-window): Use window-splits
1871 variable instead of function.
1872 (window-state-get-1, window-state-put-2, window-state-put):
1873 Don't deal with windows' splits status.
1874
98282f6f
GM
18752011-11-12 Glenn Morris <rgm@gnu.org>
1876
1877 * apropos.el (apropos-do-all, apropos-library, apropos-value)
1878 (apropos-documentation): Doc fixes.
1879
40a8bdf6
JB
18802011-11-11 Juanma Barranquero <lekktu@gmail.com>
1881
1882 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
1883 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
1884
65bd19ff
SM
18852011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1886
1887 * electric.el (electric-indent-post-self-insert-function): Make it
1888 possible for a char to only indent in some circumstances.
1889 (electric-indent-mode): Simplify.
1890
54f9154c
MR
18912011-11-11 Martin Rudalics <rudalics@gmx.at>
1892
1893 * window.el (windows-with-parameter): Remove unused function.
1894 (windows-at-side): Rename to window-at-side-list.
1895 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
1896 (window-side-check, window-size-ignore, window-size-fixed-1)
1897 (window-in-direction-2): Prefix with "window--".
1898 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 1899
68cbc58b
GM
19002011-11-11 Glenn Morris <rgm@gnu.org>
1901
1902 * subr.el (eval-after-load): If FILE is already loaded,
1903 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
1904
b2621720
GM
19052011-11-10 Glenn Morris <rgm@gnu.org>
1906
9a4de110
GM
1907 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
1908 Call svn via vc-svn-command rather than vc-do-command.
1909 (vc-svn-command): Add --non-interactive. (Bug#9993)
1910 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
1911
b2621720
GM
1912 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
1913 Add toggle-read-only. (Bug#7292)
1914 * files.el (toggle-read-only): Mention that it should only
1915 be used interactively. (Bug#10006)
1916
1dce7193
SM
19172011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
1918
d9ac1a1e
SM
1919 * progmodes/compile.el (compilation-error-regexp-alist-alist):
1920 Adjust regexp for OCaml warnings.
1921
0c325082
SM
1922 * electric.el (electric-pair-post-self-insert-function): Let user
1923 turn it off buffer-locally (bug#9932).
1924
90132c14
SM
1925 * progmodes/python.el (python-beginning-of-statement):
1926 Rewrite (bug#2703).
1927
1dce7193
SM
1928 * progmodes/compile.el: Better handle TABs (bug#9749).
1929 (compilation-internal-error-properties)
1930 (compilation-next-error-function): Obey the target buffer's
1931 compilation-error-screen-columns.
1932
c4e7c63a
JB
19332011-11-09 Juanma Barranquero <lekktu@gmail.com>
1934
1935 * progmodes/meta-mode.el: Remove obsolete comments.
1936 (meta-right-comment-regexp, meta-ignore-comment-regexp):
1937 Fix typos in docstrings.
1938
2cffd681
MR
19392011-11-09 Martin Rudalics <rudalics@gmx.at>
1940
1941 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 1942 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
1943 (window--resizable): New function. Make all callers of
1944 window-resizable call window--resizable instead.
1945 (window-resizable): Rewrite in terms of window--resizable.
1946
0edcba87
GM
19472011-11-08 Glenn Morris <rgm@gnu.org>
1948
1949 * progmodes/delphi.el (delphi-mode-syntax-table):
1950 Let define-derived-mode define a proper syntax table. (Bug#9994)
1951
4b0d61e3
SM
19522011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1953
1954 * window.el: Stay away from defsubst.
1955 (window-list-no-nils): Remove.
1956 (window-state-get-1, window-state-get): Use backquote instead.
1957
cd394be1 19582011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 1959
4b0d61e3 1960 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 1961 Fix incorrect use of default argument in `completing-read'.
1962
e1c2c6f2
MR
19632011-11-08 Martin Rudalics <rudalics@gmx.at>
1964
1965 * window.el (display-buffer-function, special-display-function):
1966 Mention display-buffer-record-window but do not mention
1967 help-setup parameter in doc-strings.
b3f4a882 1968 (window-min-delta): Fix doc-string typo.
e1c2c6f2 1969
105216ed
CY
19702011-11-08 Chong Yidong <cyd@gnu.org>
1971
1972 * window.el (window-total-height, window-total-width): Doc fix.
1973 (window-body-size): Move from C.
1974 (window-body-height, window-body-width): Move to C.
1975
0a9f9ab5
SM
19762011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1977
1978 * window.el: Make special-display like display-buffer-alist (bug#9532).
1979 (display-buffer--special-action): New function, morphed
1980 from display-buffer--special.
1981 (display-buffer): Use it to handle special-display-buffers at higher
1982 priority (just after display-buffer-alist).
1983 (display-buffer-fallback-action, display-buffer--other-frame-action)
1984 (pop-to-buffer-same-window): Remove display-buffer--special.
1985
a769dd15
GM
19862011-11-07 Glenn Morris <rgm@gnu.org>
1987
1988 * calendar/cal-menu.el (cal-menu-set-date-title):
1989 Do nothing if not in a calendar. (Bug#9976)
1990
05a61ee3
SM
19912011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
1992
1993 * files.el (find-file): Always use selected-window.
1994
be7f5545
MR
19952011-11-07 Martin Rudalics <rudalics@gmx.at>
1996
1997 * window.el (window-combinations): Make WINDOW argument
1998 mandatory. Rewrite doc-string.
1999 (walk-window-subtree, window-atom-check, window-min-delta)
2000 (window-max-delta, window--resize-this-window)
2001 (window--resize-root-window-vertically, window-tree)
2002 (balance-windows, window-state-put): Rewrite doc-strings as to
2003 not mention the term "subwindow".
2004 (window--resize-subwindows-skip-p): Rename to
2005 window--resize-child-windows-skip-p.
2006 (window--resize-subwindows-normal): Rename to
2007 window--resize-child-windows-normal.
2008 (window--resize-subwindows): Rename to
2009 window--resize-child-windows.
2010 (window-or-subwindow-p): Rename to window--in-subtree-p.
2011
3c6702ef
ML
20122011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
2013
2014 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
2015 Ensure that mbox format messages end in two newlines (Bug#9974).
2016
49745b39
CY
20172011-11-06 Chong Yidong <cyd@gnu.org>
2018
2019 * window.el (window-combination-p): Function deleted; its
2020 side-effect is not used in any existing code.
2021 (window-combinations, window-combined-p): Call window-*-child
2022 directly.
2023
24300f5f
CY
20242011-11-05 Chong Yidong <cyd@gnu.org>
2025
2026 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
2027 (window-size-ignore, window-state-get): Callers changed.
2028 (window-normalize-window): Rename from window-normalize-any-window.
2029 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 2030 (window-normalize-live-window): Delete.
447f16b8
CY
2031 (window-combination-p, window-combined-p, window-combinations)
2032 (walk-window-subtree, window-atom-root, window-min-size)
2033 (window-sizable, window-sizable-p, window-size-fixed-p)
2034 (window-min-delta, window-max-delta, window-resizable)
2035 (window-resizable-p, window-full-height-p, window-full-width-p)
2036 (window-current-scroll-bars, window-point-1, set-window-point-1)
2037 (window-at-side-p, window-in-direction, window-resize)
2038 (adjust-window-trailing-edge, maximize-window, minimize-window)
2039 (window-deletable-p, delete-window, delete-other-windows)
2040 (record-window-buffer, unrecord-window-buffer)
2041 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
2042 (quit-window, split-window, window-state-put)
2043 (set-window-text-height, fit-window-to-buffer)
2044 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 2045
89bd5ee1
EZ
20462011-11-04 Eli Zaretskii <eliz@gnu.org>
2047
53479029
EZ
2048 * mail/rmail.el (rmail-simplified-subject): Decode subject with
2049 rfc2047-decode-string.
2050 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
2051 warnings.
2052
89bd5ee1
EZ
2053 * window.el (window-body-height, window-body-width): Mention in
2054 the doc string that the return values are in frame's canonical
2055 units. (Bug#9949)
2056
bd17fdee
AM
20572011-11-03 Alan Mackenzie <acm@muc.de>
2058
2059 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
2060 change in cc-engine.el.
2061
acc825c5
SM
20622011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
2063
2064 * window.el (switch-to-buffer): Use `force-same-window' interactively.
2065
1885e5b8
MR
20662011-11-02 Martin Rudalics <rudalics@gmx.at>
2067
2068 * window.el (quit-window): Call unrecord-window-buffer after
2069 showing another buffer in the window. (Bug#9937)
acc825c5 2070 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 2071
ebe06da9
JB
20722011-11-02 Juanma Barranquero <lekktu@gmail.com>
2073
2074 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
2075 Accept status with more than 9 shelves. (Bug#9935)
2076 Reported by Colin D Bennett <colin@gibibit.com>.
2077
4ee88440
MR
20782011-11-01 Martin Rudalics <rudalics@gmx.at>
2079
2080 * help.el (with-help-window): Don't reference
2081 temp-buffer-show-specifiers in doc-string.
2082
08e1d82c
AS
20832011-10-31 Andreas Schwab <schwab@linux-m68k.org>
2084
2085 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
2086 menu-item.
2087
84bd6e9e
VJL
20882011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
2089
2090 * whitespace.el: New version 13.2.2.
2091 (whitespace-newline-mode): Disable properly. Reported by Sarah
2092 <EmacsWiki>.
2093
dba0634a
UJ
20942011-10-30 Ulf Jasper <ulf.jasper@web.de>
2095
2096 * net/newst-treeview.el: Remove "Time-stamp".
2097 (newsticker--group-manage-orphan-feeds): Do not call
2098 newsticker--treeview-tree-update.
db22a3c2
JB
2099 (newsticker-treeview-update, newsticker-treeview):
2100 Call newsticker--treeview-tree-update if necessary.
dba0634a 2101
3d8daefe
MR
21022011-10-30 Martin Rudalics <rudalics@gmx.at>
2103
2104 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
2105 (window-iso-combinations): Remove "iso-" infix.
2106 Suggested by Chong Yidong.
3d8daefe
MR
2107 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
2108 (window-max-delta-1, window-resize, window--resize-siblings)
2109 (window--resize-this-window, adjust-window-trailing-edge)
2110 (split-window, balance-windows-1)
2111 (shrink-window-if-larger-than-buffer):
2112 * calendar/calendar.el (calendar-generate-window):
db22a3c2 2113 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 2114
1bc4c3ae
SM
21152011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
2116
2117 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
2118 in place (bug#9907).
2119 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
2120 (eshell-rewrite-if-command, eshell-rewrite-for-command)
2121 (eshell-structure-basic-command, eshell-rewrite-while-command)
2122 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
2123 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
2124 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
2125 (eshell-do-pipelines-synchronously, eshell-eval-command):
2126 Use backquotes and prefer setq to set.
2127 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
2128 (eshell-macrop): Use functionp.
c1e2f5fa 2129 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 2130
30b65d9c
CY
21312011-10-30 Chong Yidong <cyd@gnu.org>
2132
2133 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
2134 instead of set-mark (Bug#9810).
2135
2d197ffb
CY
21362011-10-30 Chong Yidong <cyd@gnu.org>
2137
2138 * window.el (split-window-below, split-window-right): Rename from
2139 split-window-above-each-other and split-window-side-by-side
2140 respectively. All callers changed.
2141 (split-window-sensibly, split-window-sensibly): Use them.
2142 (split-window-keep-point): Doc fix.
2143
2144 * isearch.el: Add isearch-scroll property to split-window-below
2145 and split-window-right.
2146
2147 * follow.el (follow-mode):
2148 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
2149 * progmodes/ada-xref.el (ada-gdb-application):
2150 * emulation/vip.el (vip-buffer-in-two-windows):
2151 * image-dired.el (image-dired-dired-with-window-configuration):
2152 * dired-x.el (dired-do-find-marked-files):
2153 * dired.el (dired-pop-to-buffer):
2154 * bs.el (bs--show-with-configuration):
2155 * vc/emerge.el (emerge-setup-windows):
2156 * textmodes/two-column.el (2C-two-columns):
2157 * textmodes/reftex-toc.el (reftex-toc):
2158 * progmodes/gdb-mi.el (gdb-setup-windows):
2159 * progmodes/fortran.el (fortran-window-create):
2160 * net/newst-treeview.el (newsticker--treeview-window-init):
2161 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
2162 * emulation/tpu-edt.el (tpu-gold-map):
2163 * emulation/crisp.el (crisp-mode-map):
2164 * calendar/calendar.el (calendar-basic-setup): Callers changed.
2165
38bb2ca8
CY
21662011-10-29 Chong Yidong <cyd@gnu.org>
2167
aa4de341
CY
2168 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
2169
e1eb5385
CY
2170 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
2171
5d2ece3c
CY
2172 * textmodes/flyspell.el (flyspell-word): Fix char offset for
2173 forged Ispell output (Bug#7904).
2174
38bb2ca8
CY
2175 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
2176
d0af9f77
SM
21772011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
2178
2179 * doc-view.el: Avoid ugly errors about not finding nil.
2180 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
2181 (doc-view-dvipdf-program, doc-view-unoconv-program)
2182 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
2183 Avoid nil or absolute file name as default value.
2184 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
2185
52bedd34
AM
21862011-10-28 Alan Mackenzie <acm@muc.de>
2187
db22a3c2 2188 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 2189
7e43cfa5
AM
21902011-10-28 Alan Mackenzie <acm@muc.de>
2191
2192 Amend the handling of c-beginning/end-of-defun in nested declaration
2193 scopes.
2194
52bedd34
AM
2195 * progmodes/cc-vars.el (c-defun-tactic): Move here from
2196 cc-langs.el. Change it to a defcustom.
7e43cfa5 2197
52bedd34
AM
2198 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
2199 cc-vars.el.
7e43cfa5 2200
d0af9f77
SM
2201 * progmodes/cc-engine.el (c-beginning-of-statement-1):
2202 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 2203
52bedd34 2204 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 2205 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
2206 (c-widen-to-enclosing-decl-scope): New function.
2207 (c-while-widening-to-decl-block): New macro.
2208 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
2209 outward for defun boundaries, and correspondingly change symbol
2210 `respect-enclosure' to `go-outward'.
2211 (c-declaration-limits): Change algorithm to report only the "innermost"
2212 defun's boundaries.
2213
1a2ce9ee
DD
22142011-10-28 Deniz Dogan <deniz@dogan.se>
2215
2216 * net/rcirc.el (rcirc-mode): Use hard newlines.
2217
bc97a826
AM
22182011-10-28 Alan Mackenzie <acm@muc.de>
2219
2220 Amend to indent and fontify macros "which include their own semicolon"
2221 correctly, using the "virtual semicolon" mechanism.
2222
52bedd34 2223 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 2224
d0af9f77 2225 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 2226 Recode to scan one line at a time rather than having \n and \r
58179cce 2227 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 2228 (c-forward-label): Amend for virtual semicolons.
58179cce 2229 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 2230
52bedd34
AM
2231 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
2232 of the new C macros.
bc97a826 2233
52bedd34 2234 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
2235 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
2236 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
2237 (c-opt-cpp-macro-define): Make into a full language variable.
2238 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
2239 AWK Mode (including \n, \r) removed, no longer needed.
2240
d0af9f77
SM
2241 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
2242 Invoke c-make-macro-with-semi-re.
bc97a826 2243
52bedd34
AM
2244 * progmodes/cc-vars.el (c-macro-with-semi-re):
2245 (c-macro-names-with-semicolon): New variables.
58179cce 2246 (c-make-macro-with-semi-re): New function.
bc97a826 2247
7a6c0941
SM
22482011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
2249
2250 * vc/log-edit.el: Fill empty field rather than adding new one.
2251 (log-edit-add-field): New function.
2252 (log-edit-insert-changelog): Use it.
2253
b0c4cdcf
ML
22542011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
2255
2256 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
2257
ee1f1da9
SM
22582011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
2259
2260 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
2261 (gdb--check-interpreter): New function.
2262 (gdb): Use it.
2263
51bc5f8b
GM
22642011-10-27 Glenn Morris <rgm@gnu.org>
2265
416a2c45
GM
2266 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
2267 (least-positive-float, least-negative-float)
2268 (least-positive-normalized-float, least-negative-normalized-float)
2269 (float-epsilon, float-negative-epsilon):
2270 Remove unnecessary declarations.
2271
2272 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
2273 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
2274 (least-positive-float, least-negative-float)
2275 (least-positive-normalized-float, least-negative-normalized-float)
2276 (float-epsilon, float-negative-epsilon): Add doc-strings,
2277 based on those in cl.texi.
2278
51bc5f8b
GM
2279 * files.el (set-visited-file-name): If the major-mode changed,
2280 reload the local variables. (Bug#9796)
2281
15de15c6
CY
22822011-10-27 Chong Yidong <cyd@gnu.org>
2283
2284 * subr.el (change-major-mode-after-body-hook): New hook.
2285 (run-mode-hooks): Run it.
2286
ee1f1da9
SM
2287 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
2288 Use change-major-mode-before-body-hook.
15de15c6
CY
2289
2290 * simple.el (fundamental-mode):
2291 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
2292 change introducing fundamental-mode-hook.
2293
5430d399
JB
22942011-10-26 Juanma Barranquero <lekktu@gmail.com>
2295
acc825c5 2296 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 2297
ad74a69e
MA
22982011-10-26 Michael Albinus <michael.albinus@gmx.de>
2299
2300 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 2301 tramp.el explicitly. (Bug#7583)
ad74a69e 2302
71d4c2a5
SM
23032011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
2304
2305 * progmodes/octave-mod.el:
2306 * progmodes/octave-inf.el: Update maintainer.
2307
b1f6fa26
CY
23082011-10-26 Chong Yidong <cyd@gnu.org>
2309
2310 * subr.el (with-wrapper-hook): Rewrite doc.
2311
3f04efd6
MA
23122011-10-25 Michael Albinus <michael.albinus@gmx.de>
2313
2314 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 2315 filenames "/method:foo:". (Bug#9793)
3f04efd6 2316
410488d3
SM
23172011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
2318
2319 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
2320 (bug#9865).
2321
c1ebb47e
GM
23222011-10-24 Glenn Morris <rgm@gnu.org>
2323
2324 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
2325
7f5c46c7
MA
23262011-10-24 Michael Albinus <michael.albinus@gmx.de>
2327
2328 * notifications.el: Add the requirement of a running D-Bus session
2329 bus to the Commentary.
2330
db2440b6
JL
23312011-10-24 Juri Linkov <juri@jurta.org>
2332
2333 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
2334 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
2335 (Bug#9364)
2336
feecf435
JL
23372011-10-24 Juri Linkov <juri@jurta.org>
2338
2339 * info.el (Info-following-node-name-re): Add newline to the list
2340 of allowed characters for leading space. (Bug#9824)
2341
a3839de2
SM
23422011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
2343
acc825c5
SM
2344 * progmodes/octave-inf.el (inferior-octave-mode-map):
2345 Fix C-c C-h binding.
a3839de2
SM
2346 * progmodes/octave-mod.el (octave-help): Remove.
2347
09388e76
MA
23482011-10-23 Michael Albinus <michael.albinus@gmx.de>
2349
2350 Sync with Tramp 2.2.3.
2351
2352 * net/tramp-cache.el (top): Pacify byte-compiler using
2353 `init-file-user' and `site-run-file'.
2354
2355 * net/trampver.el: Update release number.
2356
86c60681
CY
23572011-10-23 Chong Yidong <cyd@gnu.org>
2358
2359 * files.el (toggle-read-only): Remove obsolete comment about
2360 version control.
2361
2362 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
2363 for toggle-read-only. Note that this hasn't called vc-next-action
2364 since 2008-05-02, though it wasn't documented at the time.
2365
a3839de2
SM
2366 * vc/ediff-init.el (ediff-toggle-read-only-function):
2367 Use toggle-read-only.
86c60681 2368
cd5495ff
AM
23692011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
2370
2371 Fix bug #9560, sporadic wrong indentation; improve instrumentation
2372 of c-parse-state.
2373
00b77525 2374 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 2375 correct faulty logical expression.
cd5495ff
AM
2376 (c-parse-state-state, c-record-parse-state-state):
2377 (c-replay-parse-state-state): New defvar/defuns.
2378 (c-debug-parse-state): Use new functions.
2379
42ee24ed
MR
23802011-10-22 Martin Rudalics <rudalics@gmx.at>
2381
2382 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 2383 last fix. Use window-in-direction correctly.
42ee24ed 2384
a7dee7e7
CY
23852011-10-21 Chong Yidong <cyd@gnu.org>
2386
2387 * progmodes/idlwave.el (idlwave-mode):
2388 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
2389 require-final-newline; that's done in prog-mode.
2390 Suggested by Stefan Monnier.
a7dee7e7 2391
e07b9a6d
MR
23922011-10-21 Martin Rudalics <rudalics@gmx.at>
2393
2394 * mouse.el (mouse-drag-window-above)
2395 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
2396 (mouse-drag-mode-line-1, mouse-drag-header-line)
2397 (mouse-drag-vertical-line-rightward-window): Remove.
2398 (mouse-drag-line): New function.
2399 (mouse-drag-mode-line, mouse-drag-header-line)
2400 (mouse-drag-vertical-line): Call mouse-drag-line.
2401 * window.el (window-at-side-p, windows-at-side): New functions.
2402
7e1361d9
UM
24032011-10-21 Ulrich Mueller <ulm@gentoo.org>
2404
2405 * tar-mode.el (tar-grind-file-mode):
2406 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
2407
30fcaf3a
CY
24082011-10-21 Chong Yidong <cyd@gnu.org>
2409
2410 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
2411 * progmodes/vera-mode.el (vera-mode):
2412 Use mode-require-final-newline.
30fcaf3a 2413
516eddb0
GM
24142011-10-20 Glenn Morris <rgm@gnu.org>
2415
db22a3c2 2416 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 2417
10d5f513
CS
24182011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
2419
2420 * emulation/cua-base.el (cua-set-mark): Fix case of string.
2421
ac6c8639
CY
24222011-10-20 Chong Yidong <cyd@gnu.org>
2423
2424 * emulation/cua-base.el (cua-mode):
2425 * mail/footnote.el (footnote-mode):
2426 * mail/mailabbrev.el (mail-abbrevs-mode):
2427 * net/xesam.el (xesam-minor-mode):
2428 * progmodes/bug-reference.el (bug-reference-mode):
2429 * progmodes/cap-words.el (capitalized-words-mode):
2430 * progmodes/compile.el (compilation-minor-mode)
2431 (compilation-shell-minor-mode):
2432 * progmodes/gud.el (gud-tooltip-mode):
2433 * progmodes/hideif.el (hide-ifdef-mode):
2434 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
2435 * progmodes/subword.el (subword-mode):
2436 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
2437 * progmodes/which-func.el (which-function-mode):
2438 * term/tvi970.el (tvi970-set-keypad-mode):
2439 * term/vt100.el (vt100-wide-mode):
2440 * textmodes/flyspell.el (flyspell-mode):
2441 * textmodes/ispell.el (ispell-minor-mode):
2442 * textmodes/nroff-mode.el (nroff-electric-mode):
2443 * textmodes/paragraphs.el (use-hard-newlines):
2444 * textmodes/refill.el (refill-mode):
2445 * textmodes/reftex.el (reftex-mode):
2446 * textmodes/rst.el (rst-minor-mode):
2447 * textmodes/sgml-mode.el (html-autoview-mode)
2448 (sgml-electric-tag-pair-mode):
2449 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
2450 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
2451 * emulation/crisp.el (crisp-mode):
2452 * emacs-lisp/eldoc.el (eldoc-mode):
2453 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
2454 minor mode behavior.
2455
aa42ab43
JL
24562011-10-19 Juri Linkov <juri@jurta.org>
2457
2458 * descr-text.el (describe-char): Add #x2010 and #x2011 to
2459 the list of hard-coded chars with escape-glyph face.
2460
89400f1d
SM
24612011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
2462
2463 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
2464
305c07f6
MA
24652011-10-19 Michael Albinus <michael.albinus@gmx.de>
2466
2467 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
2468 running process.
2469
13754b54
GM
24702011-10-19 Glenn Morris <rgm@gnu.org>
2471
2472 * vc/vc-bzr.el (vc-bzr-after-dir-status):
2473 Ignore ignored files. (Bug#9726)
2474
06e21633
CY
24752011-10-19 Chong Yidong <cyd@gnu.org>
2476
2477 Doc fix for minor modes, stating that an omitted argument enables
2478 the mode unconditionally when called from Lisp.
2479
2480 * abbrev.el (abbrev-mode):
2481 * allout.el (allout-mode):
2482 * autoinsert.el (auto-insert-mode):
2483 * autoarg.el (autoarg-mode, autoarg-kp-mode):
2484 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
2485 (global-auto-revert-mode):
2486 * battery.el (display-battery-mode):
2487 * composite.el (global-auto-composition-mode)
2488 (auto-composition-mode):
2489 * delsel.el (delete-selection-mode):
2490 * desktop.el (desktop-save-mode):
2491 * dired-x.el (dired-omit-mode):
2492 * dirtrack.el (dirtrack-mode):
2493 * doc-view.el (doc-view-minor-mode):
2494 * double.el (double-mode):
2495 * electric.el (electric-indent-mode, electric-pair-mode):
2496 * emacs-lock.el (emacs-lock-mode):
2497 * epa-hook.el (auto-encryption-mode):
2498 * follow.el (follow-mode):
2499 * font-core.el (font-lock-mode):
2500 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
2501 * help.el (temp-buffer-resize-mode):
2502 * hilit-chg.el (highlight-changes-mode)
2503 (highlight-changes-visible-mode):
2504 * hi-lock.el (hi-lock-mode):
2505 * hl-line.el (hl-line-mode, global-hl-line-mode):
2506 * icomplete.el (icomplete-mode):
2507 * ido.el (ido-everywhere):
2508 * image-file.el (auto-image-file-mode):
2509 * image-mode.el (image-minor-mode):
2510 * iswitchb.el (iswitchb-mode):
2511 * jka-cmpr-hook.el (auto-compression-mode):
2512 * linum.el (linum-mode):
2513 * longlines.el (longlines-mode):
2514 * master.el (master-mode):
2515 * mb-depth.el (minibuffer-depth-indicate-mode):
2516 * menu-bar.el (menu-bar-mode):
2517 * minibuf-eldef.el (minibuffer-electric-default-mode):
2518 * mouse-sel.el (mouse-sel-mode):
2519 * msb.el (msb-mode):
2520 * mwheel.el (mouse-wheel-mode):
2521 * outline.el (outline-minor-mode):
2522 * paren.el (show-paren-mode):
2523 * recentf.el (recentf-mode):
2524 * reveal.el (reveal-mode, global-reveal-mode):
2525 * rfn-eshadow.el (file-name-shadow-mode):
2526 * ruler-mode.el (ruler-mode):
2527 * savehist.el (savehist-mode):
2528 * scroll-all.el (scroll-all-mode):
2529 * scroll-bar.el (scroll-bar-mode):
2530 * server.el (server-mode):
2531 * shell.el (shell-dirtrack-mode):
2532 * simple.el (auto-fill-mode, transient-mark-mode)
2533 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
2534 (line-number-mode, column-number-mode, size-indication-mode)
2535 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
2536 * strokes.el (strokes-mode):
2537 * time.el (display-time-mode):
2538 * t-mouse.el (gpm-mouse-mode):
2539 * tool-bar.el (tool-bar-mode):
2540 * tooltip.el (tooltip-mode):
2541 * type-break.el (type-break-mode-line-message-mode)
2542 (type-break-query-mode):
2543 * view.el (view-mode):
2544 * whitespace.el (whitespace-mode, whitespace-newline-mode)
2545 (global-whitespace-mode, global-whitespace-newline-mode):
2546 * xt-mouse.el (xterm-mouse-mode): Doc fix.
2547
a3839de2
SM
2548 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
2549 Fix autogenerated docstring.
06e21633 2550
5214e501
JL
25512011-10-19 Juri Linkov <juri@jurta.org>
2552
2553 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
2554 by checking environment variables "DESKTOP_SESSION" and
2555 "XDG_CURRENT_DESKTOP". (Bug#9779)
2556
195f8db9
JL
25572011-10-19 Juri Linkov <juri@jurta.org>
2558
2559 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
2560 (browse-url-chromium-program, browse-url-chromium-arguments):
2561 New defcustoms.
2562 (browse-url-default-browser): Check for `browse-url-chromium' and
2563 call `browse-url-chromium-program'.
2564 (browse-url-chromium): New command. (Bug#9779)
2565
343a34ff
JB
25662011-10-18 Juanma Barranquero <lekktu@gmail.com>
2567
2568 * facemenu.el (list-colors-duplicates): On Windows, detect more
2569 duplicates by assuming that only colors matching "^System" are
2570 special "system colors". (Bug#9722)
2571
6978a151
SM
25722011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
2573
2574 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
2575 to distinguish the author from the committer.
2576
6a80b297
MA
25772011-10-18 Michael Albinus <michael.albinus@gmx.de>
2578
2579 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
2580
b31a5677
JK
25812011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
2582
2583 * international/mule.el (sgml-html-meta-auto-coding-function):
2584 Add support for detecting encoding in HTML5 specified only as
2585 <meta charset="UTF-8">. Implementation just makes http-equiv and
2586 content-type parts from HTML4 encoding string optional. (Bug#9716)
2587
80c6d77f
GM
25882011-10-18 Glenn Morris <rgm@gnu.org>
2589
2590 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
2591
08b0fee8
CY
25922011-10-18 Chong Yidong <cyd@gnu.org>
2593
2594 * faces.el (cursor): Doc fix.
2595
67e729a5
CY
25962011-10-17 Chong Yidong <cyd@gnu.org>
2597
2598 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
2599
343a34ff 26002011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
2601
2602 * dirtrack.el (dirtrack): Support shell buffers with path
2603 prefixes, e.g. tramp-based remote shells. (Bug#9647)
2604
0bc06380
TZ
26052011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
2606
2607 * json.el: Bump version to 1.3 and note change in History.
2608 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
2609
8b79f3e0
SM
26102011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
2611
5a7c536b
SM
2612 * comint.el (comint-insert-input, comint-send-input)
2613 (comint-get-old-input-default, comint-backward-matching-input)
2614 (comint-next-prompt): Use nil instead of `input' for field property of
2615 past user input (bug#114).
2616
96a8a0df
SM
2617 * minibuffer.el (completion--replace): Inherit surrounding properties
2618 (bug#114).
2619 (minibuffer-complete-and-exit): Use it.
2620
8b79f3e0
SM
2621 * comint.el (comint--table-subvert): Quote the all-completions output
2622 (bug#9160).
2623
b8f7ff0d
MR
26242011-10-17 Martin Rudalics <rudalics@gmx.at>
2625
8b79f3e0 2626 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 2627
b8f7ff0d 2628 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 2629 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
2630 entries and separate them from frame entries.
2631
c235b555
GM
26322011-10-15 Glenn Morris <rgm@gnu.org>
2633
2634 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
2635 Doc fixes.
2636
6bbfa6e1
CY
26372011-10-15 Chong Yidong <cyd@stupidchicken.com>
2638
8b79f3e0
SM
2639 * net/network-stream.el (network-stream-open-starttls):
2640 Improve detection of failure due to lack of TLS support.
ec5c990d 2641
6bbfa6e1
CY
2642 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
2643 putting the input text in front and in bold.
2644
98488977
SM
26452011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
2646
3d1337be
SM
2647 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
2648
ee0b45e4
SM
2649 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
2650 empty buffer.
2651
98488977
SM
2652 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
2653 unread-command-events rather than pushing yet-another event.
2654
186f4720
EZ
26552011-10-14 Eli Zaretskii <eliz@gnu.org>
2656
2657 * mail/sendmail.el (sendmail-query-once): Improve the wording of
2658 the explanation of the possible choices. Make the options passed
2659 to completing-read shorter.
2660
8b7a997c
AM
26612011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2662
2663 * textmodes/flyspell.el (flyspell-large-region): Make sure
2664 extended character mode is used if defined (Bug#1339).
2665
12587bbb
EZ
26662011-10-13 Eli Zaretskii <eliz@gnu.org>
2667
2668 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
2669 character info for LRE, LRO, RLE, and RLO characters by appending
2670 an invisible PDF.
12587bbb 2671
bad41229
SM
26722011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
2673
2674 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
2675 even in case of error; add debug spec; simplify data flow.
2676 (with-timeout-handler): Remove.
2677
28dbc92f
MA
26782011-10-12 Michael Albinus <michael.albinus@gmx.de>
2679
2680 Fix Bug#6019, Bug#9315.
2681
2682 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
2683 complete `buffer-file-name', the local file name part could look
2684 remotely (for example on VMS).
2685
2686 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
2687 `tramp-run-real-handler'.
2688 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
2689 already quoted by '"'.
2690
2691 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
2692 Let `file-name-handler-alist' be nil, the local file name part
2693 could look remotely (for example on VMS).
2694
e1b0b23a
SM
26952011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
2696
2697 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
2698 from here...
2699 (flyspell-post-command-hook): ...to here.
2700
a120bde9
SM
27012011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
2702
2703 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
2704 if not needed.
2705 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
2706 using completion. Protect against "slow" callers.
2707 Remove the "message hack".
2708
7ce7717b
JL
27092011-10-11 Juri Linkov <juri@jurta.org>
2710
2711 * isearch.el (isearch-lazy-highlight-word): New variable.
2712 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
2713 Use it. (Bug#9727)
2714
c02ee9d6
GM
27152011-10-11 Glenn Morris <rgm@gnu.org>
2716
2717 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
2718 like f90-previous-statement does.
2719
93e616fd 27202011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2721
1f190e73 2722 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
2723 only in interactive use, to avoid error.
2724
af7b6078
SM
27252011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
2726
2727 * minibuffer.el (completion-file-name-table): Fix last change,
2728 i.e. ignore normal errors but not the other ones.
2729
0563dae9
MR
27302011-10-10 Martin Rudalics <rudalics@gmx.at>
2731
2732 * window.el (special-display-buffer-names)
2733 (special-display-regexps): Remove some remnants of earlier
2734 changes from doc-strings.
366ca7f3
MR
2735 (quit-windows-on): New function.
2736
2737 * vc/vc.el (vc-revert, vc-rollback):
2738 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
2739 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 2740 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 2741
49677495
MR
27422011-10-09 Martin Rudalics <rudalics@gmx.at>
2743
2744 * window.el (frame-auto-hide-function): Add version tag.
2745 (Bug#9699)
2746
56f2d1e1
MA
27472011-10-09 Michael Albinus <michael.albinus@gmx.de>
2748
2749 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
2750 condition.
2751
112a6592
LL
27522011-10-09 Leo Liu <sdl.web@gmail.com>
2753
2754 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
2755 (Bug#9701)
2756
0812589b
GM
27572011-10-08 Glenn Morris <rgm@gnu.org>
2758
2759 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
2760 before the first code statement zero indent. (Bug#9690)
2761
b2b0776e
CY
27622011-10-08 Chong Yidong <cyd@stupidchicken.com>
2763
2764 * simple.el (count-words-region): Always count in the region.
2765 Report the number of lines and characters too.
2766 (count-words): New command, which counts in the buffer if the
2767 region is inactive, as count-words-region used to.
2768 (count-words--message): New function. Handle plurals.
2769 (count-lines-region): Make it an alias for count-words-region.
2770
2771 * bindings.el (esc-map): Replace count-lines-region with
2772 count-words-region.
2773
c557cd6b
MR
27742011-10-08 Martin Rudalics <rudalics@gmx.at>
2775
2776 * window.el (window--delete): Delete dedicated frame
2777 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 2778 (switch-to-buffer): Fix doc-string typo.
c557cd6b 2779
61a57ef4 27802011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2781
2782 * lisp/eshell/eshell.el (eshell-command): Avoid using hooks.
2783
c3833279
CY
27842011-10-07 Chong Yidong <cyd@stupidchicken.com>
2785
2786 * bindings.el ([M-left],[M-right]): Bind to left-word and
2787 right-word respectively.
2788
21ce8245
GM
27892011-10-07 Glenn Morris <rgm@gnu.org>
2790
2791 * cus-start.el (debug-on-quit): Fix custom type.
2792
6d823bb2
LMI
27932011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
2794
0181e193
LMI
2795 * subr.el (define-key-after): Clarify that the function is not
2796 useful for non-menu keymaps.
2797
6d823bb2
LMI
2798 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
2799
8e3459ce 28002011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2801
21ce8245 2802 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 2803 in current minibuffer (Fix bug with recursive minibuffers).
2804
a1c2d21e
CY
28052011-10-06 Chong Yidong <cyd@stupidchicken.com>
2806
2807 * progmodes/gdb-mi.el (gdb): Doc fix.
2808
5a4cf282
MR
28092011-10-05 Martin Rudalics <rudalics@gmx.at>
2810
2811 * window.el (frame-auto-hide-function): New option replacing
2812 frame-auto-delete. Suggested by Stefan Monnier.
2813 (window--delete): Call frame-auto-hide-function instead of
2814 investigating frame-auto-delete.
c96111ea
MR
2815 (window-point-1, set-window-point-1): New functions.
2816 (window-in-direction, record-window-buffer, window-state-get-1)
2817 (display-buffer-record-window): Use window-point-1 instead of
2818 window-point.
2819 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 2820
9854542e
SM
28212011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
2822
2823 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
2824
8943cfb0
GM
28252011-10-05 Glenn Morris <rgm@gnu.org>
2826
2827 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
2828 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
2829
647ab967
LL
28302011-10-05 Leo Liu <sdl.web@gmail.com>
2831
2832 * subr.el (read-char-choice): Fix argument to buffer-live-p which
2833 works with buffer object.
2834
3ddfbced
SM
28352011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
2836
2837 * mpc.el (mpc-tool-bar-map): Add labels.
2838
bdfa5dd2
GM
28392011-10-04 Glenn Morris <rgm@gnu.org>
2840
2841 * calendar/holidays.el (calendar-check-holidays): Doc fix.
2842
0e2070b5
MR
28432011-10-04 Martin Rudalics <rudalics@gmx.at>
2844
2845 * window.el (window--delete): New function.
2846 (frame-auto-delete): Resuscitate option.
2847 (bury-buffer, replace-buffer-in-windows)
2848 (quit-window): Rewrite using window--delete.
2849 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
2850 Pass display-buffer-mark-dedicated to window--display-buffer-2
2851 (Bug#9639).
2852
3dc61a09
SM
28532011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
2854
915a9b64
SM
2855 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
2856 returns a list (bug#9554). Add remote file name completion.
2857 * comint.el (comint--table-subvert): Curry and get quote&unquote
2858 functions as arguments.
2859 (comint--complete-file-name-data): Adjust call accordingly.
2860 * pcomplete.el (pcomplete--table-subvert): Remove.
2861 (pcomplete-completions-at-point): Use comint--table-subvert instead.
2862
3dc61a09
SM
2863 * minibuffer.el (completion-table-case-fold): Use currying.
2864 (completion--styles-type, completion--cycling-threshold-type):
2865 New constants.
2866 (completion-styles, completion-category-overrides)
2867 (completion-cycle-threshold): Use them.
2868 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
2869 completion-table-case-fold.
2870
8ea0a993
SB
28712011-10-03 Stephen Berman <stephen.berman@gmx.net>
2872
2873 * minibuffer.el (completion-category-overrides): Fix type of styles
2874 and add more user friendly tags (bug#9660).
2875
8c24b7f6
SM
28762011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
2877
2878 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
2879 (mule-input-method-string): New widget.
2880 (default-input-method, language-info-custom-alist): Use it.
2881
428fe61a
SM
28822011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
2883
32c1fffd
SM
2884 * pcomplete.el: Require comint.
2885 (pcomplete--common-suffix): Remove.
2886 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
2887 (pcomplete--table-subvert): Sync with comint--table-subvert.
2888 (pcomplete--entries): Use comint-completion-file-name-table.
2889 * comint.el (comint-unquote-filename): Simplify.
2890 (comint-completion-file-name-table): New function (bug#9616).
2891 (comint--complete-file-name-data): Use it.
2892
428fe61a
SM
2893 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
2894 (pcmpl-gnu-tar-buffer): Remove.
2895 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
2896 around. Make sure pcomplete-suffix-list is only changed temporarily.
2897 Don't look inside the tar's file if it's too large.
428fe61a 2898
04c52e2f
CY
28992011-10-01 Chong Yidong <cyd@stupidchicken.com>
2900
ce3cefcc
CY
2901 * cus-edit.el (custom-mode-map):
2902 * epa.el (epa-key-list-mode-map):
2903 * man.el (Man-mode-map):
2904 * startup.el (splash-screen-keymap):
2905 * simple.el (special-mode-map): Use scroll-up-command and
2906 scroll-down-command.
2907
2908 * progmodes/idlw-help.el (idlwave-help-mode-map):
2909 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
2910 * net/newst-plainview.el (newsticker-mode-map):
2911 * emulation/ws-mode.el (wordstar-mode-map):
2912 * emulation/vi.el (vi-com-map):
2913 * calc/calc-graph.el (calc-graph-show-dumb):
2914 * term/sun.el (terminal-init-sun):
2915 * term/ns-win.el (global-map):
2916 * progmodes/grep.el (grep-mode-map):
2917 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
2918 * mail/rmail.el (rmail-mode-map):
2919 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
2920
04c52e2f
CY
2921 * custom.el (custom-safe-themes, load-theme): Treat value of t for
2922 custom-safe-themes as special.
2923
79adf8c8
JD
29242011-10-01 Julien Danjou <julien@danjou.info>
2925
2926 * notifications.el (notifications-notify): Fix docstring.
2927
63bd50d3
PS
29282011-10-01 Per Starbäck <per@starback.se>
2929
2930 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
2931
199e4c7e
MR
29322011-09-30 Martin Rudalics <rudalics@gmx.at>
2933
2934 * startup.el (command-line-1): Fix last fix by inserting
2935 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 2936 (Bug#9605) and (Bug#9636)
199e4c7e 2937
fe5f08dd
EZ
29382011-09-29 Eli Zaretskii <eliz@gnu.org>
2939
2940 * simple.el (line-move): If auto-hscroll-mode is disabled and the
2941 window is hscrolled, move by logical lines. (Bug#9607)
2942 (line-move-visual): Update the doc string to the above effect.
2943
b5516bbd
MR
29442011-09-29 Martin Rudalics <rudalics@gmx.at>
2945
ccee00c0
MR
2946 * window.el (display-buffer-record-window): When WINDOW is the
2947 selected window use `point' instead of `window-point'. (Bug#9626)
2948
b5516bbd
MR
2949 * startup.el (command-line-1): Use insert-before-markers when
2950 inserting initial-scratch-message. (Bug#9605)
ccee00c0 2951
b5516bbd
MR
2952 * help.el (help-window): Remove variable.
2953
52aa0014
GM
29542011-09-29 Glenn Morris <rgm@gnu.org>
2955
2956 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
2957
df9a7357
JB
29582011-09-29 Juanma Barranquero <lekktu@gmail.com>
2959
2960 * descr-text.el (describe-char-categories): Accept category
2961 descriptions more than one line long.
2962
a8406c20
SM
29632011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
2964
88d9610c
SM
2965 * simple.el (delete-trailing-whitespace): Fix last change.
2966
a5daf810
SM
2967 * progmodes/perl-mode.el (perl-syntax-propertize-function):
2968 Don't confuse "y => 3" as the beginning of a `y' operation.
2969
a8406c20
SM
2970 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
2971 object has more than 4 slots (bug#9613).
2972
a239d4e9
JB
29732011-09-28 Juanma Barranquero <lekktu@gmail.com>
2974
2975 * subr.el (with-output-to-temp-buffer):
2976 * net/quickurl.el (quickurl, quickurl-browse-url):
2977 Fix typos in docstrings.
2978
693fbdb6
EZ
29792011-09-27 Eli Zaretskii <eliz@gnu.org>
2980
2981 * minibuffer.el (completion-styles)
2982 (completion-category-overrides): Cross reference each other in doc
2983 strings.
2984
8b457e28
GM
29852011-09-27 Glenn Morris <rgm@gnu.org>
2986
2987 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
2988 to split-string. (Bug#9606)
2989
85a16208
LMI
29902011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
2991
2992 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
2993 (bug#9615).
2994
502f9ebd
CY
29952011-09-27 Chong Yidong <cyd@stupidchicken.com>
2996
2997 * emacs-lisp/package.el (list-packages): Fix echo area message.
2998
7690bdea
LL
29992011-09-27 Leo Liu <sdl.web@gmail.com>
3000
3001 * ido.el (ido-read-internal): Accept cons cell HIST arg.
3002
e2ee6f30
MA
30032011-09-25 Michael Albinus <michael.albinus@gmx.de>
3004
3005 * net/dbus.el (dbus-unregister-object): Don't release services for
3006 registered signals. (Bug#9581)
3007
f3f98342
TZ
30082011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
3009
3010 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
3011 function that picks between cfengine 2 and 3 support
3012 automatically. Update docs accordingly.
3013
dd7aa8dd
KH
30142011-09-22 Kenichi Handa <handa@m17n.org>
3015
3016 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
3017 ZERO.
3018 (indian-itrans-v5-table-for-tamil): New variable.
3019 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
3020
3f2b07f8
KM
30212011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
3022
3023 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
3024 that's true if the current command involved collapsing of text.
3025 It's reset to false at the beginning of the next command.
3026 (allout-post-command-business): Move the cursor to the beginning
3027 of entry if the cursor is hidden and collapsing activity just
3028 happened.
3029
371d6a61
CY
30302011-09-24 Chong Yidong <cyd@stupidchicken.com>
3031
3032 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
3033 tracking (Bug#9541).
3034
2ac2721a
UJ
30352011-09-24 Ulf Jasper <ulf.jasper@web.de>
3036
3037 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
3038 (newsticker-show-news): Automatically load html rendering package
3039 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
3040 because w3m-fill-column is let-bound" and the error "Symbol's value
3041 as variable is void: w3m-fill-column".
2ac2721a 3042
fac7ae53
MA
30432011-09-24 Michael Albinus <michael.albinus@gmx.de>
3044
3045 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
3046 Release services only if they are defined. (Bug#9581)
3047
e08b633b
RS
30482011-09-23 Richard Stallman <rms@gnu.org>
3049
e488d29c
RS
3050 * textmodes/paragraphs.el (forward-sentence): For backwards case,
3051 distinguish start of paragraph from start of its text.
3052
19c38752
RS
3053 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
3054
e08b633b
RS
3055 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
3056 (rmail-generate-viewer-buffer): Put that hook on view buffer.
3057 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
3058
0a39f27e
AS
30592011-09-23 Andreas Schwab <schwab@linux-m68k.org>
3060
3061 * international/mule-diag.el (mule-diag): Insert a newline after
3062 each fontset description.
3063
db4e950d
SM
30642011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
3065
3066 * simple.el (delete-trailing-whitespace):
3067 Document last change; simplify.
3068
eca3f3ea
PW
30692011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
3070
d68e189a
PW
3071 * simple.el (delete-trailing-whitespace): Also delete
3072 extra newlines at the end of the buffer.
3073
eca3f3ea
PW
3074 * textmodes/picture.el: Make motion commands obey shift-select-mode.
3075 (picture-newline): Use forward-line so as to ignore fields.
3076
01c157cc
SM
30772011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
3078
3079 * subr.el (with-wrapper-hook): Fix edebug spec.
3080
022de23e
LMI
30812011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
3082
3083 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
3084 (bug#4538).
3085
91683089
MA
30862011-09-23 Michael Albinus <michael.albinus@gmx.de>
3087
eca3f3ea
PW
3088 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
3089 Fix nasty bug using wrong cached values.
91683089 3090
5bdd6fa4
AM
30912011-09-23 Alan Mackenzie <acm@muc.de>
3092
3093 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
3094
97adfb97
CY
30952011-09-23 Chong Yidong <cyd@stupidchicken.com>
3096
3097 * window.el (pop-to-buffer): Ensure right window is selected if we
3098 chose another frame.
3099
d4ef2b50
EZ
31002011-09-22 Eli Zaretskii <eliz@gnu.org>
3101
3102 * simple.el (what-cursor-position): Use get-char-property-change
3103 and next-single-char-property-change, to be able to show display
3104 properties that come from overlays as well as text properties.
3105
72258fe5
CY
31062011-09-22 Chong Yidong <cyd@stupidchicken.com>
3107
3108 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
3109
3110 * cmuscheme.el (run-scheme, switch-to-scheme):
3111 * cus-edit.el (customize-group, custom-buffer-create)
3112 (customize-browse):
3113 * info.el (info):
3114 * shell.el (shell):
3115 * mail/sendmail.el (mail):
3116 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
3117
8f098516
RS
31182011-09-22 Richard Stallman <rms@gnu.org>
3119
3120 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
3121 move back only to line beg, don't move back over blank lines.
3122
e74f1bb6
MA
31232011-09-22 Michael Albinus <michael.albinus@gmx.de>
3124
3125 * files.el (copy-directory): Set directory attributes only in case
3126 they could be retrieved from the source directory. (Bug#9565)
3127
bfeef8b6
DK
31282011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
3129
3130 * progmodes/hideshow.el (hs-looking-at-block-start-p)
3131 (hs-find-block-beginning, hs-hide-level-recursive):
3132 Ignore strings as well as comments. (Bug#9502)
3133
7e423bb8
AS
31342011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
3135
3136 * progmodes/sql.el (sql-comint-postgres):
3137 Convert port number to a string. (Bug#9566)
3138
b4d72fcf
MR
31392011-09-22 Martin Rudalics <rudalics@gmx.at>
3140
3141 * window.el (quit-window): Undedicate window when switching to
3142 previous buffer. Reported by Thierry Volpiatto
3143 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
3144 (special-display-popup-frame): When popping up a new frame reset
3145 its previous buffers to nil. Simplify code.
b4d72fcf 3146
a7b88dc6
MA
31472011-09-21 Michael Albinus <michael.albinus@gmx.de>
3148
3149 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
3150 and process filter, as done also in `shell-command'.
3151
cf4eacfd
MR
31522011-09-21 Martin Rudalics <rudalics@gmx.at>
3153
eca3f3ea 3154 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
3155 Call set-window-start with NOFORCE argument t.
3156 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
3157 (quit-window): Reword doc-string. Handle new format of
3158 quit-restore parameter. Don't delete window if it has a
3159 previous buffer we can show instead of the present one.
3160 (display-buffer-record-window): Rewrite using a new format for
3161 the quit-restore window parameter
3162 (special-display-popup-frame, display-buffer-same-window)
3163 (display-buffer-reuse-window, display-buffer-pop-up-frame)
3164 (display-buffer-pop-up-window, display-buffer-use-some-window):
3165 Adapt symbol passed to display-buffer-record-window.
3166 * help.el (help-window-setup): Handle new format of quit-restore
3167 parameter.
3168
8d28cb95
SM
31692011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
3170
94ab793f
SM
3171 * faces.el (face-list): Fix docstring (bug#9564).
3172
8d28cb95
SM
3173 * window.el (display-buffer--action-function-custom-type):
3174 Don't include internal functions in the Custom interface.
3175
3820edeb
JL
31762011-09-20 Juri Linkov <juri@jurta.org>
3177
3178 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
3179 (Info-forward-node, Info-backward-node, Info-next-preorder)
3180 (Info-last-preorder): Use it. (Bug#9528)
3181
5147931d
JL
31822011-09-20 Juri Linkov <juri@jurta.org>
3183
3184 * info.el (Info-last-preorder): Visit last menu item only when
3185 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
3186
cf499a1a
JD
31872011-09-20 Julien Danjou <julien@danjou.info>
3188
3189 * password-cache.el (password-cache-remove): Remove entries even if the
3190 value is nil, so that password with a nil value (negative caching) is
3191 possible to invalidate.
3192
f84e2fe2
LM
31932011-09-20 Lawrence Mitchell <wence@gmx.li>
3194
3195 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
3196 all whitespace around breakpoint. (Bug#9553)
3197 (f90-find-breakpoint): Only break at whitespace inside a comment.
3198
78054a46
SM
31992011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
3200
3201 * minibuffer.el (completion-file-name-table): Keep track of errors.
3202 (completion-table-with-predicate): Handle the case where pred1 is nil.
3203 * pcomplete.el (pcomplete-completions-at-point): Simplify.
3204
345083b2
SM
32052011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
3206
e24e27be
SM
3207 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
3208 (debugger-return-value): Signal an error if the debugging context does
3209 not await any return value.
3210
345083b2
SM
3211 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
3212 * image-mode.el (image-toggle-display-text)
3213 (image-toggle-display-image): Stay away from evil `intangible'.
3214
08d355e3
LL
32152011-09-19 Leo Liu <sdl.web@gmail.com>
3216
3217 * replace.el (occur-revert-arguments): Make it permanent-local.
3218 (occur-mode): Don't call font-lock-defontify.
3219
f01da43f
CY
32202011-09-19 Chong Yidong <cyd@stupidchicken.com>
3221
3222 * net/ldap.el (ldap-search-internal): Don't push empty search
3223 result (Bug#9508).
3224
b6072fa6
SM
32252011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
3226
3227 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
3228
443d6696
MA
32292011-09-19 Michael Albinus <michael.albinus@gmx.de>
3230
3231 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
3232 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
3233
7cc6e154
JL
32342011-09-18 Juri Linkov <juri@jurta.org>
3235
3236 * buff-menu.el (Buffer-menu-mode-map):
3237 * dired.el (dired-mode-map):
3238 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
3239 (lisp-interaction-mode-map):
3240 * emacs-lisp/package.el (package-menu-mode-map):
3241 * epa.el (epa-key-list-mode-map):
3242 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
3243 (menu-bar-options-menu):
3244 * outline.el (outline-mode-menu-bar-map):
3245 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
3246 * vc/vc-dir.el (vc-dir-menu-map):
3247 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
3248 Capitalize non-function content words in menu item strings.
3249
3250 * dired.el (dired-mode-map): Add menu item for
3251 `image-dired-dired-toggle-marked-thumbs'.
3252
80302a81
JL
32532011-09-18 Juri Linkov <juri@jurta.org>
3254
3255 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
3256 to `isearch-case-fold-search' and restore its original value
3257 after the `isearch-mode' call.
3258
46c5cf66
JL
32592011-09-18 Juri Linkov <juri@jurta.org>
3260
3261 * progmodes/grep.el (grep-process-setup): Don't check code for 1
3262 because `zgrep' returns 1 for successful matches (bug#9226).
3263
d18b513b
JL
32642011-09-18 Juri Linkov <juri@jurta.org>
3265
3266 * info.el (Info-extract-menu-node-name): Check the second match
3267 for empty string (second test-case of bug#9528).
3268 (Info-last-preorder): Let-bind `Info-history' to nil to not add
3269 intermediate nodes to the history (first test-case of bug#9528).
3270
72753f87
JL
32712011-09-18 Juri Linkov <juri@jurta.org>
3272
3273 * info.el (Info-mode-syntax-table): New variable.
1154d12e 3274 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 3275
c9384295
JL
32762011-09-18 Juri Linkov <juri@jurta.org>
3277
1154d12e
JB
3278 * info.el (Info-file-supports-index-cookies):
3279 Increment line-beginning-position's arg from 3 to 4 because makeinfo
3280 outputs one more line for long file names (bug#4142).
c9384295 3281
d473dce8
CY
32822011-09-18 Chong Yidong <cyd@stupidchicken.com>
3283
3284 * newcomment.el (comment-normalize-vars): If prompting for
3285 comment-start, set comment-start-skip too (Bug#8424).
3286
2176854d
JB
32872011-09-18 Johan Bockgård <bojohan@gnu.org>
3288
3289 * icomplete.el: Fix previous fix of Bug#5849.
3290 (icomplete-mode): Don't set completion-show-inline-help.
3291 (icomplete-minibuffer-setup): Set completion-show-inline-help
3292 locally during icompletion.
3293
3aace4e4
CY
32942011-09-18 Chong Yidong <cyd@stupidchicken.com>
3295
c940224f
CY
3296 * woman.el (woman2-process-escapes): Don't delete unrecognized
3297 escapes (Bug#7843).
3298
3aace4e4
CY
3299 * files.el (inhibit-first-line-modes-regexps): Add image files.
3300 (hack-local-variables-prop-line): Return nil for malformed
3301 prop-lines (Bug#9044).
3302
710dec63
MA
33032011-09-18 Michael Albinus <michael.albinus@gmx.de>
3304
3305 * net/tramp.el (top): Don't require 'shell.
3306 (tramp-methods): Fix docstring.
3307 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
3308 Return complete remote file name. Handle "smb" case.
3309 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
3310 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
3311
3312 * net/tramp-compat.el (top): Require 'shell.
3313
3314 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
3315 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
3316 `tramp-current-host'.
3317 (tramp-get-remote-tmpdir): Remove.
3318
3319 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
3320 `tramp-tmpdir' entries.
3321 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
3322 (tramp-smb-handle-file-attributes): Ignore errors.
3323 (tramp-smb-wait-for-output): Check also for process end.
3324
5d5ac8ec
LMI
33252011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
3326
3327 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
3328 when sending QUIT (bug#9312).
3329
8c0f49f0
CY
33302011-09-17 Chong Yidong <cyd@stupidchicken.com>
3331
3332 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
3333 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
3334 occur-mode-display-occurrence.
3335 (occur-edit-mode): Add usage message.
3336 (occur-cease-edit): New command.
3337 (occur-after-change-function): Use text properties to find the
3338 position of the prefix text.
3339 (occur-engine): Set stickiness of prefix text properties.
3340
8f1383f7
GM
33412011-09-17 Glenn Morris <rgm@gnu.org>
3342
3343 * progmodes/etags.el (complete-tag):
3344 Fix call to completion-in-region. (Bug#9526)
3345
744ba0e3
JL
33462011-09-17 Juri Linkov <juri@jurta.org>
3347
3348 * textmodes/ispell.el (ispell-word): Add to the error message
3349 the word, ispell program name and current dictionary (bug#9121).
3350 (ispell-tex-arg-end): Capitalize "error" in the error message.
3351
d9bbf400
AS
33522011-09-17 Andreas Schwab <schwab@linux-m68k.org>
3353
3354 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
3355 check. (Bug#4251)
3356
8da11505
JL
33572011-09-17 Juri Linkov <juri@jurta.org>
3358
3359 * window.el (window-safe-min-height, window-safe-min-width):
3360 Fix typos (followup to bug#9522).
3361
a91adc7e
SJ
33622011-09-17 Sven Joachim <svenjoac@gmx.de>
3363
3364 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
3365
064f328a
EZ
33662011-09-16 Eli Zaretskii <eliz@gnu.org>
3367
3368 * simple.el (line-move): If goal-column is set, move by logical
3369 lines, not by display lines. (Bug#971)
3370 (next-line, previous-line, goal-column, line-move-visual): Doc fix
3371 to reflect the above change.
3372
e69df516
SM
33732011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
3374
3375 * image.el (imagemagick-register-types): Use regexp-opt.
3376
cbb0f9ab
CY
33772011-09-15 Chong Yidong <cyd@stupidchicken.com>
3378
3379 * window.el (display-buffer-base-action): Rename from
3380 display-buffer-default-action. Make default value empty.
3381 (display-buffer-overriding-action): Convert to defvar.
3382 (display-buffer-fallback-action): New var.
3383
25322144
CY
33842011-09-15 Chong Yidong <cyd@stupidchicken.com>
3385
3386 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
3387 declaration.
3388 (package--add-to-archive-contents): If there is a duplicate entry
3389 with an older version, remove it.
3390 (package-menu-mark-delete, package-menu-mark-install)
3391 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
3392 (package-menu-mark-obsolete-for-deletion):
3393 Use package-menu-get-status instead of a regexp search.
25322144
CY
3394 (package-menu-get-status): Use tabulated-list-entry.
3395 (package-menu-mark-upgrades): New command.
d770725a 3396 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
3397 (package-menu-execute): Do installation before deletion.
3398 (package-menu-refresh, package-menu-execute): Use derived-mode-p
3399 instead of checking major-mode.
3400 (package-menu--find-upgrades): New function.
3401
7520339c
LMI
34022011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
3403
3404 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
3405 passwords in the log buffer.
65a046c4
LMI
3406 (smtpmail-process-filter): Update the process marker so that the
3407 "broken by peer" status message is inserted in the right place.
7520339c 3408
d3c30954
SM
34092011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
3410
3fe48822
SM
3411 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
3412 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
3413 bibtex-completion-at-point-function.
3414 (bibtex-completion-at-point-function): Use them.
3415
1b8b3954
SM
3416 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
3417
d3c30954
SM
3418 * mpc.el (mpc-constraints-tag-lookup): New function.
3419 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
3420 also to browser "album|playlist".
3421
72779976
JL
34222011-09-14 Juri Linkov <juri@jurta.org>
3423
3424 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
3425 (isearch-edit-string): Use length of `isearch-string' when
3426 `isearch-fail-pos' returns nil.
3427 (isearch-message): Remove duplicate code and call
3428 `isearch-fail-pos' with arg `t'.
3429
a0bf2bcd
CY
34302011-09-14 Chong Yidong <cyd@stupidchicken.com>
3431
17bb0a2d
CY
3432 * replace.el (occur-mode-goto-occurrence): Don't force using other
3433 window (Bug#9499).
3434
a0bf2bcd
CY
3435 * dired-aux.el (dired-do-chmod): Don't provide initial input.
3436
f678e0b6
MR
34372011-09-14 Martin Rudalics <rudalics@gmx.at>
3438
3439 * window.el (display-buffer-window): Remove.
3440 (display-buffer-record-window): Use help-setup window parameter
3441 instead of variable display-buffer-window.
3442 (display-buffer-function, special-display-buffer-names)
3443 (special-display-function): Mention help-setup parameter instead
3444 of display-buffer-window in doc-string.
d3c30954
SM
3445 * help.el (help-window-setup): New argument help-window.
3446 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
3447 Reword some messages.
3448 (with-help-window): Pass window used for displaying the buffer
3449 to help-window-setup. Don't set display-buffer-window.
3450
8e39b2e8
GM
34512011-09-13 Glenn Morris <rgm@gnu.org>
3452
3453 * emacs-lisp/debug.el (debugger-make-xrefs):
3454 Preserve point. (Bug#9462)
3455
85e9c04b
CY
34562011-09-13 Chong Yidong <cyd@stupidchicken.com>
3457
3458 * window.el (window-deletable-p): Use next-frame.
3459
1b36ed6a
MR
34602011-09-13 Martin Rudalics <rudalics@gmx.at>
3461
3462 * window.el (window-auto-delete): Remove.
3463 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 3464 dedication and previous buffers.
1b36ed6a
MR
3465 (switch-to-prev-buffer): Don't delete window.
3466 (delete-windows-on): Delete a window's frame if and only if the
3467 window is dedicated.
3468 (replace-buffer-in-windows): Delete buffer's window or frame if
3469 and only if window is dedicated.
3470 (quit-window): Handle quit-restore as before last change.
4d61f28d 3471 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 3472
ef8ef9fb
CY
34732011-09-13 Chong Yidong <cyd@stupidchicken.com>
3474
3475 * window.el (window-deletable-p): Never delete the last frame on a
3476 given terminal.
3477
b2cba41e
GM
34782011-09-13 Glenn Morris <rgm@gnu.org>
3479
3480 * help.el (describe-key-briefly): Copy previous standard-output change.
3481
51553db6 34822011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
3483
3484 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
3485
b7556719
GM
34862011-09-13 Glenn Morris <rgm@gnu.org>
3487
3488 * emacs-lisp/lisp-mode.el (lisp-indent-function):
3489 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
3490
64b51947
CY
34912011-09-12 Chong Yidong <cyd@stupidchicken.com>
3492
3493 * dired-aux.el (dired-mark-read-string): Don't return default
3494 value on empty input (Bug#9361).
3495 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
3496 Omit initial minibuffer contents.
3497 (dired-do-chmod): Signal an error on empty input.
3498 (dired-mark-read-string): Don't return default on empty input.
3499
3500 * files.el (file-modes-symbolic-to-number): Doc fix.
3501
393a301e
SM
35022011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
3503
3504 * international/mule-cmds.el (ucs-completions): Remove.
3505 (read-char-by-name): Use complete-with-action instead; add metadata.
3506
fa5660f9
CY
35072011-09-11 Chong Yidong <cyd@stupidchicken.com>
3508
3509 * window.el (display-buffer--action-function-custom-type)
3510 (display-buffer--action-custom-type): New vars.
3511 (display-buffer-alist, display-buffer-default-action)
3512 (display-buffer-overriding-action): Add defcustom types.
3513
4a592f66
CY
3514 * frame.el (delete-other-frames): Doc fix (Bug#276).
3515
73d56dbd
LMI
35162011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
3517
3518 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
3519
37ac18a3
CY
35202011-09-11 Chong Yidong <cyd@stupidchicken.com>
3521
3522 Change modes that used same-window-* vars to use switch-to-buffer.
3523
3524 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
3525 Use switch-to-buffer.
3526
3527 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
3528 (customize-browse, custom-buffer-create-other-window):
3529 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
3530
3531 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
3532 (Info-prev, Info-up, Info-speedbar-goto-node)
3533 (info-display-manual): Use switch-to-buffer.
3534 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
3535
3536 * mail/sendmail.el (mail): Use switch-to-buffer.
3537 (mail-recover): Use switch-to-buffer-other-window.
3538
3539 * cmuscheme.el (run-scheme, switch-to-scheme):
3540 * ielm.el (ielm):
3541 * shell.el (shell):
3542 * net/rlogin.el (rlogin):
3543 * net/telnet.el (telnet, rsh):
3544 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
3545
10195bd6
AS
35462011-09-11 Andreas Schwab <schwab@linux-m68k.org>
3547
3548 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
3549
b322f63a
LMI
35502011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
3551
39d7fed6
LMI
3552 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
3553 so don't mention it (bug#9301).
ba5a81f1 3554 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 3555
ee0e9f11
LMI
3556 * faces.el (face-spec-set-match-display): Make `(type graphic)'
3557 match `x', `w32' and `ns', like the manual says (bug#9029).
3558
0b1c89c1 3559 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
3560 (process-kill-buffer-query-function): Mention the buffer name in
3561 the query.
0b1c89c1 3562
77549ea8
LMI
3563 * image-mode.el (image-next-line): The line parameter is mandatory
3564 (bug#9258).
3565
803ef892
LMI
3566 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
3567 which can be useful (bug#9301).
3568
12980837
LMI
3569 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
3570
91054f8f
LMI
3571 * subr.el (match-string): Mention that the current buffer should
3572 be the same as the search was done in (bug#9282).
3573
b322f63a
LMI
3574 * facemenu.el: Disable the remove-* commands if the mark isn't
3575 active (bug#9162).
3576
3199b96f
CY
35772011-09-10 Chong Yidong <cyd@stupidchicken.com>
3578
3579 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
3580 of display-buffer.
3581 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
3582
3583 * replace.el (occur-mode-goto-occurrence)
3584 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
3585 and display-buffer.
3586
3587 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
3588 display-buffer.
3589
3590 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
3591 special-display and same-window variables.
3592 (mail-other-window): Use switch-to-buffer-other-window.
3593 (mail-other-frame): USe switch-to-buffer-other-frame.
3594
393a301e
SM
3595 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
3596 Use display-buffer-other-frame.
3199b96f
CY
3597 (gdb-display-gdb-buffer): Use pop-to-buffer.
3598
3599 * progmodes/gud.el (gud-goto-info): Use info-other-window.
3600
3601 * progmodes/python.el: Don't set same-window-buffer-names.
3602
3603 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
3604
3605 * window.el (display-buffer-alist): Add *Python*.
3606
8319e0bf
CY
36072011-09-10 Chong Yidong <cyd@stupidchicken.com>
3608
3609 * window.el (display-buffer-alist): Add entry for buffers
3610 previously handled same-window-*.
3611 (display-buffer-alist, display-buffer-default-action)
3612 (display-buffer-overriding-action): Mark as risky.
3613 (display-buffer-alist): Document action function changes.
3614 (display-buffer--same-window-action)
3615 (display-buffer--other-frame-action): New variables.
3616 (switch-to-buffer, display-buffer-other-frame): Use them.
3617 (display-buffer): Rename reuse-frame entry to reusable-frames.
3618 (display-buffer-reuse-selected-window): Function deleted.
3619 (display-buffer-reuse-window): Handle reusable-frames alist entry.
3620 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
3621 (display-buffer-special): New function.
3622 (display-buffer--maybe-pop-up-frame-or-window): Rename from
3623 display-buffer-reuse-or-pop-window. Split off special-display
3624 part into display-buffer-special.
3625 (display-buffer-use-some-window): Don't perform any special
3626 pop-up-frames handling.
3627 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 3628 (display-buffer--maybe-same-window): Rename from
0d3ff375 3629 display-buffer-maybe-same-window.
8319e0bf 3630
919a69aa
CY
3631 * info.el: Don't set same-window-regexps.
3632 (info-setup): New function.
3633 (info-other-window, info): Call it.
3634
3635 * cus-edit.el: Don't set same-window-regexps.
3636 (customize-group): New argument.
3637 (customize-group-other-window): Use it.
3638 (customize-face, customize-face-other-window): Likewise.
3639 (custom-buffer-create-other-window): Use pop-to-buffer directly.
3640
8319e0bf
CY
3641 * net/rlogin.el:
3642 * net/telnet.el:
3643 * progmodes/gud.el: Don't set same-window-regexps.
3644
3645 * cmuscheme.el:
3646 * ielm.el:
3647 * shell.el:
3648 * mail/sendmail.el:
3649 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
3650
25173000
JL
36512011-09-10 Juri Linkov <juri@jurta.org>
3652
3653 * isearch.el (isearch-edit-string): Remove obsolete mention of
3654 `C-w' (`isearch-yank-word-or-char') from docstring.
3655 (isearch-query-replace): Fix typo in docstring (bug#9466).
3656
056e44ef
JL
36572011-09-10 Juri Linkov <juri@jurta.org>
3658
3659 * paren.el (show-paren-function): Don't show escaped parens.
3660 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
3661
c3760c17
EZ
36622011-09-10 Eli Zaretskii <eliz@gnu.org>
3663
3664 * mail/sendmail.el (mml-to-mime, mml-attach-file)
3665 (mm-default-file-encoding): Remove autoload forms, they are
3666 replaced with autoload cookies in mml.el and mm-encode.el.
3667 (mail-add-attachment): New command.
3668 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
3669 (mail-mode): Mention mail-insert-file and mail-add-attachment in
3670 the doc string.
3671 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
3672
fece895e
RT
36732011-09-10 Reuben Thomas <rrt@sc3d.org>
3674
e69df516
SM
3675 * simple.el (count-words-region): Use buffer if there's no region
3676 (bug#9429).
fece895e 3677
5e68ce4a
JL
36782011-09-09 Juri Linkov <juri@jurta.org>
3679
3680 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
3681 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
3682 (wdired-isearch-filter-read-only): New function. (Bug#6362)
3683
0a6b9622
AM
36842011-09-09 Alan Mackenzie <acm@muc.de>
3685
3686 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
3687 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
3688
14a29deb
EZ
36892011-09-09 Eli Zaretskii <eliz@gnu.org>
3690
3691 Fix for Savannah bug#9392.
3692 * simple.el (mail-encode-mml): New defvar.
3693
3694 * mail/rmail.el (mail-encode-mml): Add a defvar.
3695 (rmail-enable-mime-composing): Default to t.
3696 (rmail-forward): Use MIME method of forwarding only if both
3697 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
3698 Set mail-encode-mml non-nil if the MIME method was used.
3699
3700 * mail/sendmail.el (mml-to-mime): Add autoload form.
3701 (mail-encode-mml): Add a defvar.
3702 (mail-mode): Make mail-encode-mml buffer-local and initialize it
3703 to nil.
3704 (mail-send): If mail-encode-mml is non-nil, run the outgoing
3705 message through mml-to-mime, and reset mail-encode-mml to nil.
3706
28c45130
GM
37072011-09-09 Glenn Morris <rgm@gnu.org>
3708
3709 * woman.el (woman-if-body): When processing an .el block,
3710 do not delete the next .el block as well. (Bug#9447)
69f4b618 3711 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 3712
9b1c252e
MR
37132011-09-08 Martin Rudalics <rudalics@gmx.at>
3714
3715 * window.el (window-deletable-p): Make sure window is live before
3716 invoking window-prev-buffers.
3717
567457e3
LL
37182011-09-08 Leo Liu <sdl.web@gmail.com>
3719
3720 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
3721
97f05794
JL
37222011-09-08 Juri Linkov <juri@jurta.org>
3723
3724 * progmodes/compile.el (compilation-environment): Make it
3725 a defcustom (bug#8340).
3726
8b0874b5
MR
37272011-09-08 Martin Rudalics <rudalics@gmx.at>
3728
3729 * window.el (frame-auto-delete): Rename to window-auto-delete.
3730 Make it control auto-deletion of windows and/or frames.
3731 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 3732 for deleting window/frame. (Bug#9419)
8b0874b5
MR
3733 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
3734 Rewrite handling of case when window/frame can be deleted.
3735 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 3736 argument t. (Bug#9456)
8b0874b5 3737
4feb6e73
CY
37382011-09-07 Chong Yidong <cyd@stupidchicken.com>
3739
3740 * help-mode.el (help-mode): Restore autoload.
3741
91ab9c13
JL
37422011-09-07 Juri Linkov <juri@jurta.org>
3743
3744 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
3745 `compilation-environment'. Set buffer-local
3746 `compilation-environment' to `thisenv' later after (funcall mode).
3747 (Bug#8340)
3748
3749 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
3750 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
3751 instead of replacing its value. (Bug#8340)
3752
0527e251
JL
37532011-09-07 Juri Linkov <juri@jurta.org>
3754
3755 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
3756 based on text properties put by `grep-filter' instead of matching
3757 escape sequences.
3758 (grep-mode): Set buffer-local `compilation-error-screen-columns'
3759 to the value of `grep-error-screen-columns' (bug#9438).
3760
249f792c
JL
37612011-09-07 Juri Linkov <juri@jurta.org>
3762
3763 * simple.el (next-error-highlight, next-error-highlight-no-select):
3764 Doc fix (bug#9432).
3765
ff7271b9
OT
37662011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
3767
3768 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
3769 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
3770
183fc730
LL
37712011-09-07 Leo Liu <sdl.web@gmail.com>
3772
3773 * net/rcirc.el (rcirc-mode): Conditionally initialize
3774 rcirc-input-ring.
3775
77694924
SM
37762011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
3777
3778 * emacs-lisp/find-func.el (find-function-C-source): Only set
3779 find-function-C-source-directory after checking that we found a source
3780 file there (bug#9440).
3781
d809b8eb
AM
37822011-09-06 Alan Mackenzie <acm@muc.de>
3783
3784 * isearch.el (isearch-other-meta-char): Wherever a key list is
3785 unread, "unread" the prefix arg, too. This fixes bug #8901.
3786
453de99f
OG
37872011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
3788
3789 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
3790
90439906
JL
37912011-09-05 Juri Linkov <juri@jurta.org>
3792
3793 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
3794
f62bd846
JL
37952011-09-05 Juri Linkov <juri@jurta.org>
3796
3797 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
3798 keeping point where processing of grep matches begins, and
3799 continue to delete remaining escape sequences from the same point.
3800 (grep-filter): Make leading zero optional in "0?1;31m" because
3801 git-grep emits "\033[1;31m" escape sequences unlike expected
3802 "\033[01;31m" as GNU Grep does (bug#9408).
3803 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
3804
045820ec
JL
38052011-09-05 Juri Linkov <juri@jurta.org>
3806
3807 * subr.el (y-or-n-p): Capitalize "yes".
3808
f5e29b9b
MA
38092011-09-04 Michael Albinus <michael.albinus@gmx.de>
3810
3811 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
3812 `tramp-cache-unload-hook' where appropriate.
3813 (tramp-methods): Rename `tramp-remote-sh' to
3814 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
3815 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
3816
3817 * net/tramp-sh.el (top): Don't require 'shell.
3818 (tramp-methods): Add `tramp-remote-shell' and
3819 `tramp-remote-shell-args' entries.
3820 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
3821 (tramp-sh-handle-shell-command): Remove.
3822 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
3823 Use `tramp-remote-shell'.
3824
2784c434
CY
38252011-09-03 Chong Yidong <cyd@stupidchicken.com>
3826
393a301e 3827 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
3828 (sendmail-query-once): Save directly to send-mail-function.
3829 Update message-send-mail-function too.
3830
3831 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
3832
464cdf56
CS
38332011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
3834
3835 * progmodes/python.el (python-mode-map): Use correct function to
3836 start python interpreter from menu-bar (as reported by Geert
3837 Kloosterman).
3838 (inferior-python-mode-map): Fix typo.
393a301e 3839 (python-shell-map): Remove.
464cdf56 3840
d37e5c87
DD
38412011-09-03 Deniz Dogan <deniz@dogan.se>
3842
3843 * net/rcirc.el (rcirc-print): Simplify code for
3844 rcirc-scroll-show-maximum-output. There is no need to walk
3845 through all windows to find the right one.
3846
f3ada0ee
CS
38472011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
3848
3849 * help.el (help-return-method): Doc fix.
3850
1f3c99ca
MR
38512011-09-03 Martin Rudalics <rudalics@gmx.at>
3852
3853 * window.el (window-deletable-p): Don't return a non-nil value
3854 when there's a buffer that was shown in the window before.
3855 (Bug#9419)
393a301e
SM
3856 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
3857 Set window's previous buffers to nil.
1f3c99ca 3858
a3cf097f
EZ
38592011-09-03 Eli Zaretskii <eliz@gnu.org>
3860
3861 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
3862 newline before and after the tag line, so it doesn't interfere
3863 with determining the paragraph direction of bidirectional text.
3864
3d03de90
LL
38652011-09-03 Leo Liu <sdl.web@gmail.com>
3866
3867 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
3868
c3313451
CY
38692011-09-02 Chong Yidong <cyd@stupidchicken.com>
3870
393a301e 3871 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
3872 (pop-to-buffer): Change interactive spec. Pass second argument
3873 directly to display-buffer.
3874 (display-buffer): Fix interactive spec. Use functionp to
3875 distinguish between a function and a list of functions.
3876
3877 * abbrev.el (edit-abbrevs):
3878 * arc-mode.el (archive-extract):
3879 * autoinsert.el (auto-insert):
3880 * bookmark.el (bookmark-bmenu-list):
3881 * files.el (find-file):
3882 * view.el (view-buffer):
3883 * progmodes/compile.el (compilation-goto-locus):
3884 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
3885
89894cd8
CY
38862011-09-02 Chong Yidong <cyd@stupidchicken.com>
3887
3888 * window.el (display-buffer-alist): Doc fix.
3889 (display-buffer): Add docstring. Don't treat
3890 display-buffer-default specially.
3891 (display-buffer-reuse-selected-window)
3892 (display-buffer-same-window, display-buffer-maybe-same-window)
3893 (display-buffer-reuse-window, display-buffer-pop-up-frame)
3894 (display-buffer-pop-up-window)
3895 (display-buffer-reuse-or-pop-window)
3896 (display-buffer-use-some-window): New functions.
3897 (display-buffer-default-action): Use them.
393a301e 3898 (display-buffer-default): Delete.
89894cd8
CY
3899 (pop-to-buffer-1): Fix choice of actions.
3900
ae0bc9fb
SM
39012011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
3902
3903 * minibuffer.el (completion--insert-strings): Don't get confused by
3904 completion entries that end with an LF char.
3905
e9d90883
EZ
39062011-09-01 Eli Zaretskii <eliz@gnu.org>
3907
3908 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
3909
437014c8
CY
39102011-09-01 Chong Yidong <cyd@stupidchicken.com>
3911
3912 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
3913 (display-buffer-same-window, display-buffer-other-window):
3914 New functions.
437014c8
CY
3915 (pop-to-buffer-1): New function. Use the above.
3916 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 3917 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
3918
3919 * view.el (view-buffer-other-window, view-buffer-other-frame):
3920 Just use pop-to-buffer.
3921
a5e063d5
TV
39222011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3923
3924 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
3925
793d32bb
WH
39262011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
3927
3928 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
3929
d65e4c15
RS
39302011-08-31 Richard Stallman <rms@gnu.org>
3931
3932 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
3933 of the separation of rmail-view-buffer from rmail-buffer.
3934 If you say no to "replace original", the decrypt is in the
3935 view buffer. If you say yes, the decrypt goes into the
3936 rmail buffer also.
3937
f818cd2a
MR
39382011-08-31 Martin Rudalics <rudalics@gmx.at>
3939
3940 * window.el (display-buffer-window): Rewrite doc-string.
3941 (display-buffer-record-window): New function.
3942 (display-buffer-macro-specifiers)
3943 (display-buffer-even-window-sizes, display-buffer-set-height)
3944 (display-buffer-set-width, display-buffer-in-window)
3945 (display-buffer-reuse-window, display-buffer-split-specifiers)
3946 (display-buffer-side-specifiers, display-buffer-split-window-1)
3947 (display-buffer-split-window, display-buffer-split-atom-window)
3948 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
3949 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
3950 (display-buffer-other-window-means-other-frame)
3951 (display-buffer-normalize-special)
3952 (display-buffer-normalize-default)
3953 (display-buffer-normalize-argument)
3954 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
3955 (display-buffer-normalize-specifiers, display-buffer-frame)
3956 (display-buffer-same-window, display-buffer-same-frame)
3957 (display-buffer-other-window)
3958 (display-buffer-same-frame-other-window)
3959 (display-buffer-other-frame, pop-to-buffer-same-window)
3960 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
3961 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
3962 (switch-to-buffer-same-frame)
3963 (switch-to-buffer-other-window-same-frame)
3964 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
3965 (display-buffer-alist-set-1, display-buffer-alist-set-2)
3966 (display-buffer-alist-set): Remove.
3967 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
3968 (special-display-regexps, special-display-function):
3969 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
3970 parameter.
3971 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
3972 (special-display-frame-alist, special-display-popup-frame)
3973 (same-window-buffer-names, same-window-regexps, same-window-p)
3974 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
3975 (split-window-preferred-function, split-height-threshold)
3976 (split-width-threshold, window-splittable-p)
3977 (split-window-sensibly, window--try-to-split-window)
3978 (window--frame-usable-p, even-window-heights)
3979 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
3980 (window--display-buffer-2, display-buffer-other-frame):
3981 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
3982 (display-buffer-default, display-buffer-assq-regexp): New functions.
3983 (display-buffer-alist): Rewrite doc-string.
3984 (display-buffer-default-action)
3985 (display-buffer-overriding-action): New variables.
3986 (display-buffer, switch-to-buffer): Rewrite.
3987 (pop-to-buffer): Restore Emacs 23 behavior but use
3988 window-normalize-buffer-to-display.
3989 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
3990 Restore Emacs 23 behavior but use
3991 window-normalize-buffer-to-switch-to.
3992 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
3993 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
3994 Rewrite using Emacs 23 options.
f818cd2a 3995
5bc3b51d
MA
39962011-08-31 Michael Albinus <michael.albinus@gmx.de>
3997
3998 * net/tramp.el (tramp-root-regexp): Remove.
3999 (tramp-completion-file-name-regexp-unified)
4000 (tramp-completion-file-name-regexp-separate)
4001 (tramp-completion-file-name-regexp-url): Don't use leading volume
4002 letter on win32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
4003 (tramp-drop-volume-letter): Simplify definition.
4004 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 4005
b1a4f8e1
SM
40062011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
4007
4008 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
4009 (bug#9356).
4010
5664fa7b
RT
40112011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
4012
b1a4f8e1 4013 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 4014
9a45d6c3
JL
40152011-08-29 Juri Linkov <juri@jurta.org>
4016
4017 * isearch.el (isearch-done): Don't display message "Mark saved"
4018 when arg `edit' is non-nil to prevent its flicker in the echo area.
4019
fb87e0fb
CY
40202011-08-28 Chong Yidong <cyd@stupidchicken.com>
4021
4022 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
4023 obsolete packages for deletion.
4024
09ac1c2a
CS
40252011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
4026
4027 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 4028 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
4029 view-mode from help-mode.
4030 (help-xref-override-view-map): Remove.
4031 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
4032 view-mode is not used anymore.
4033
7a1ff57f
CY
40342011-08-28 Chong Yidong <cyd@stupidchicken.com>
4035
4036 * server.el (server-port): Doc fix.
4037
b9696605
CY
4038 * cus-theme.el (custom-theme-choose-mode): Inherit from
4039 special-mode (Bug#9124).
4040 (custom-theme-choose-mode-map): Add special-mode to parent.
4041
ef8cdf8c
AM
40422011-08-28 Alan Mackenzie <acm@muc.de>
4043
4044 * progmodes/cc-fonts.el
4045 (c-make-font-lock-BO-decl-search-function): New function.
4046 (c-basic-matchers-after - "Fontify the clauses after various
4047 keywords"): Extract the three keyword lists for the 3 erroneous
4048 constructs from the list of four, and use the new function above
4049 in place of an old one.
4050
27de4e20
DD
40512011-08-28 Deniz Dogan <deniz@dogan.se>
4052
4053 * net/rcirc.el (rcirc-insert-prev-input)
4054 (rcirc-insert-next-input): Remove unused argument.
4055
356a3681
SM
40562011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
4057
4058 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
4059
3fc9b218
AM
40602011-08-27 Alan Mackenzie <acm@muc.de>
4061
4062 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
4063 handle function pointer parameters properly.
4064
538a061c
MR
40652011-08-27 Martin Rudalics <rudalics@gmx.at>
4066
4067 * window.el (display-buffer-reuse-window): Fix case where
4068 selected window was reused with non-nil OTHER-WINDOW argument.
4069 (Bug#9381)
4070
35b1c40c
DD
40712011-08-27 Deniz Dogan <deniz@dogan.se>
4072
4073 * net/rcirc.el (rcirc-check-auth-status): Adding support for
4074 oftc's NickServ messages.
4075
2f6a3e79
GM
40762011-08-27 Glenn Morris <rgm@gnu.org>
4077
4078 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
4079
7254299e
CY
40802011-08-26 Chong Yidong <cyd@stupidchicken.com>
4081
4082 * emacs-lisp/package.el (package-install): Call package-initialize
4083 if called interactively.
4084
f8ccf167
LL
40852011-08-26 Leo Liu <sdl.web@gmail.com>
4086
4087 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
4088
3e8cd5ce
JL
40892011-08-25 Juri Linkov <juri@jurta.org>
4090
4091 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
4092 `search-whitespace-regexp' (bug#9364).
4093
93eb7113
JL
40942011-08-25 Juri Linkov <juri@jurta.org>
4095
4096 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
4097 `regexp-search-ring' to their global values to protect from
4098 updating by `read-from-minibuffer' (bug#9185).
4099
f65d1611
JL
41002011-08-25 Juri Linkov <juri@jurta.org>
4101
4102 * textmodes/ispell.el (ispell-command-loop): Add newline
4103 at the end of the "Use option `i'..." line.
4104
f1cf7a31
JL
41052011-08-25 Juri Linkov <juri@jurta.org>
4106
4107 * battery.el (display-battery-mode): If `battery-status-function'
4108 or `battery-mode-line-format' is nil, display the message and set
4109 `display-battery-mode' to nil (bug#9363).
4110
0c95fcf7
EZ
41112011-08-25 Eli Zaretskii <eliz@gnu.org>
4112
4113 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
4114 bidi-string-mark-left-to-right; they are unnecessary now.
4115
a2ebe600
DD
41162011-08-25 Deniz Dogan <deniz@dogan.se>
4117
4118 * net/quickurl.el: Documentation typo fixes.
4119
e4ed06f1
CY
41202011-08-25 Chong Yidong <cyd@stupidchicken.com>
4121
4122 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
4123
e5f1c99e
GM
41242011-08-25 Glenn Morris <rgm@gnu.org>
4125
b2948976
GM
4126 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
4127
e5f1c99e
GM
4128 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
4129 (smtpmail-via-smtp): Handle nil response from smtp.
4130
f22f4808
JL
41312011-08-24 Juri Linkov <juri@jurta.org>
4132
4133 * proced.el (proced-marked): Inherit from `error' instead of
4134 `font-lock-warning-face'.
4135
4136 * ibuffer.el (ibuffer-marked-face): Change default face from
4137 `font-lock-warning-face' to `warning'.
4138 (ibuffer-deletion-face): Change default face from
4139 `font-lock-type-face' to `error'.
4140
4141 * battery.el (battery-update): Use the face `error' instead of
4142 `font-lock-warning-face' (bug#6117).
4143
6a93965e
JL
41442011-08-24 Juri Linkov <juri@jurta.org>
4145
4146 * faces.el (success): Change face color from "Green3" to
4147 "ForestGreen" on light background (bug#9353).
4148
1ed43b09
CY
41492011-08-24 Chong Yidong <cyd@stupidchicken.com>
4150
5664fa7b
RT
4151 * window.el (quit-window): Rename from quit-restore-window.
4152 Use same arglist as old quit-window.
1ed43b09
CY
4153 (frame-auto-delete): Doc fix.
4154
4155 * view.el (view-mode-exit): Use quit-window.
4156
11dcdbb2
JL
41572011-08-24 Juri Linkov <juri@jurta.org>
4158
4159 * isearch.el (isearch-ring-adjust1): Start visiting previous
4160 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
4161 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
4162 for empty search string (when the last search string is reused
4163 automatically) to adjust the isearch ring to the last element and
4164 prepare the correct index for further M-p commands (bug#9185).
4165
de62b4df
KH
41662011-08-24 Kenichi Handa <handa@m17n.org>
4167
4168 * international/ucs-normalize.el: If decomposition property of
4169 CHAR is the default one (i.e. a list of CHAR itself), treat it as
4170 nil.
4171 (nfd, nfkd): Likewise.
4172
963b492b
SM
41732011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
4174
4175 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
4176 from process filters aren't reliably transmitted to the surrounding
4177 accept-process-output.
4178 (mpc-proc-check): New function.
4179 (mpc-proc-sync): Use it (bug#8293)
4180
93b6b5e1
SM
41812011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
4182
4183 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
4184 Add compatibility functions (bug#9313).
4185
bca633fb
EZ
41862011-08-23 Eli Zaretskii <eliz@gnu.org>
4187
b177498a
EZ
4188 * cus-start.el (all): Add entry for bidi-paragraph-direction.
4189
6df6ae42 4190 * international/uni-bidi.el: Regenerate.
bca633fb 4191
0902a04e
KH
41922011-08-23 Kenichi Handa <handa@m17n.org>
4193
4194 * international/charprop.el:
4195 * international/uni-bidi.el:
4196 * international/uni-category.el:
4197 * international/uni-combining.el:
4198 * international/uni-comment.el:
4199 * international/uni-decimal.el:
4200 * international/uni-decomposition.el:
4201 * international/uni-digit.el:
4202 * international/uni-lowercase.el:
4203 * international/uni-mirrored.el:
4204 * international/uni-name.el:
4205 * international/uni-numeric.el:
4206 * international/uni-old-name.el:
4207 * international/uni-titlecase.el:
4208 * international/uni-uppercase.el: Regenerate.
4209
3bbf23bc
MR
42102011-08-23 Martin Rudalics <rudalics@gmx.at>
4211
4212 * help.el (help-window-setup): Fix message displayed when other
4213 window is reused. (Bug#9341)
4214
b3fd59bd
SM
42152011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
4216
1802e444
SM
4217 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
4218 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
4219
b3fd59bd
SM
4220 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
4221 Mark obsolete.
4222 * shell.el (shell-parse-pcomplete-arguments): New function.
4223 (shell-completion-vars): Use it instead (bug#9160).
4224
4eb61348
SM
42252011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
4226
867cab74
SM
4227 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
4228 strings and comments (bug#9333).
4229
4eb61348
SM
4230 * emacs-lisp/debug.el (debug-arglist): New function.
4231 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
4232 (debug-on-entry-1): Handle interpreted closures (bug#9120).
4233
262a1439
JL
42342011-08-22 Juri Linkov <juri@jurta.org>
4235
56ee679c
JL
4236 * progmodes/compile.el (compilation-mode-font-lock-keywords):
4237 Revert regexp that highlights output switches to its old
4238 pre-2010-10-28 value and remove one `?' from it (bug#9319).
4239
262a1439
JL
4240 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
4241 to check for empty output (bug#9226).
4242
f13f86fb
CY
42432011-08-22 Chong Yidong <cyd@stupidchicken.com>
4244
4245 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
4246 symbol-constituent as the default, as that stops font-lock from
4247 working properly (Bug#8843).
4248
c65c9622
LMI
42492011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
4250
4251 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
4252 `coding-system-for-*' around the process open call to avoid
4253 auth-source side effects.
e7f2c178 4254 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
4255 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
4256 probe hangs.
c65c9622 4257
23a8a5ab
CY
42582011-08-21 Chong Yidong <cyd@stupidchicken.com>
4259
ff98b2dd
CY
4260 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
4261
23a8a5ab
CY
4262 * emacs-lisp/find-func.el (find-function-noselect): New arg
4263 lisp-only.
4264
4265 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
4266 signal an error for built-in functions (Bug#6664).
4267
f5e3c598
LMI
42682011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
4269
4270 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
4271 (smtpmail-try-auth-methods): Use it.
4272
a3f2468a
CY
42732011-08-21 Chong Yidong <cyd@stupidchicken.com>
4274
2c34e8da
CY
4275 * font-lock.el (font-lock-fontify-region)
4276 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
4277 (font-lock-default-unfontify-buffer)
4278 (font-lock-default-fontify-region)
4279 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
4280
b3fd59bd
SM
4281 * progmodes/compile.el (compilation-error-properties):
4282 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
4283 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
4284 `ant' regexp.
ee31aabc 4285
a3f2468a
CY
4286 * net/browse-url.el (browse-url-firefox): Don't call
4287 browse-url-firefox-sentinel unless using -remote (Bug#9328).
4288
8e999f70
GM
42892011-08-20 Glenn Morris <rgm@gnu.org>
4290
c21a496a
GM
4291 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
4292
59ee0542
GM
4293 * tutorial.el (tutorial--default-keys): Update some default bindings.
4294
8e999f70
GM
4295 * files.el (hack-local-variables): Fully ignore case for "mode:".
4296
e3715033
AM
42972011-08-20 Alan Mackenzie <acm@muc.de>
4298
4299 Resolve invalid use of a regexp in regexp-opt.
4300
4d61f28d
JB
4301 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
4302 detection for a java annotation.
e3715033 4303
4d61f28d 4304 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
4305 detection for a java annotation.
4306
4d61f28d
JB
4307 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
4308 handling for java.
e3715033
AM
4309 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
4310
04ed2e9c
CY
43112011-08-20 Chong Yidong <cyd@stupidchicken.com>
4312
4313 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
4314 (Bug#9274).
4315
826cee64
AM
43162011-08-20 Alan Mackenzie <acm@muc.de>
4317
58179cce 4318 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
4319 such a construct. Mainly for when jit-lock etc. starts a chunk
4320 here.
4321
58179cce 4322 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 4323 variable.
58179cce 4324 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
4325 c-make-font-lock-search-function.
4326 (c-make-font-lock-search-function): Use the above function.
4327 (c-make-font-lock-context-search-function): New function.
4328 (c-cpp-matchers): Enhance the preprocessor expression case with
4329 the above function
4330 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
4331 which takes an expression.
4332
4333 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
4334
13009bd8
MR
43352011-08-20 Martin Rudalics <rudalics@gmx.at>
4336
4337 * window.el (display-buffer-reuse-window)
4338 (display-buffer-pop-up-window): Don't reuse or split a side
4339 window.
4340
9234ff7f
GM
43412011-08-19 Glenn Morris <rgm@gnu.org>
4342
4343 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 4344 Downcase "Mode:". (Bug#9331)
9234ff7f 4345
f635daa1
CY
43462011-08-18 Chong Yidong <cyd@stupidchicken.com>
4347
4348 * international/characters.el: Add L and R categories.
4349
4350 * subr.el (bidi-string-mark-left-to-right): Rename from
4351 string-mark-left-to-right. Use category search.
4352
4353 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
4354
bc987f8b
JL
43552011-08-18 Juri Linkov <juri@jurta.org>
4356
4357 * faces.el (error, warning, success): New faces with definitions
4358 copied from old default values of `font-lock-warning-face',
4359 `compilation-warning', `compilation-info' (bug#6117).
4360
4361 * font-lock.el (font-lock-warning-face): Inherit from `error'.
4362
4363 * progmodes/compile.el (compilation-error): Inherit from `error'.
4364 (compilation-warning): Inherit from `warning'.
4365 (compilation-info): Inherit from `success'.
4366
4367 * dired.el (dired-marked): Inherit from `warning'.
4368 (dired-flagged): Inherit from `error'.
4369
57173b96
LMI
43702011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
4371
3e79eb87
LMI
4372 * mail/smtpmail.el (auth-source): Require to avoid problems with
4373 binding variables (bug#9298). Also clean up some unused
4374 autoloads.
4375
b3fd59bd
SM
4376 * net/network-stream.el (network-stream-open-starttls):
4377 Support using starttls.el without using gnutls-cli.
57173b96 4378
02b404de
JL
43792011-08-17 Juri Linkov <juri@jurta.org>
4380
4381 * progmodes/grep.el (rgrep): Handle the case when
4382 `grep-find-command' is a cons cell (bug#9278).
4383
8c9177f2
MR
43842011-08-17 Martin Rudalics <rudalics@gmx.at>
4385
4386 * window.el (display-buffer-pop-up-frame): Run frame creation
4387 function with BUFFER current (as special-display-popup-frame
4388 does). Reported by Drew Adams.
4389
3644a0ab
DU
43902011-08-17 Daiki Ueno <ueno@unixuser.org>
4391
4392 * epa-mail.el: Simplify GnuPG group expansion using
4393 epg-expand-group.
4394 (epa-mail-group-alist, epa-mail-group-modtime)
4395 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
4396 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
4397 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
4398 Remove.
4399
5e617bc2 44002011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
4401
4402 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
4403
9c4aeabf
AM
44042011-08-16 Alan Mackenzie <acm@muc.de>
4405
4406 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
4407 Correct, to avoid the inside of macros.
4408
3a99bf64
RS
44092011-08-16 Richard Stallman <rms@gnu.org>
4410
04963aa8
RS
4411 * epa-mail.el: Handle GnuPG group definitions.
4412 (epa-mail-group-alist, epa-mail-group-modtime)
4413 (epa-mail-gnupg-conf-file): New variables.
4414 (epa-mail-parse-groups, epa-mail-sync-groups)
4415 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
4416 (epa-mail-expand-recipients): New functions.
4417 (epa-mail-encrypt): Call epa-mail-expand-recipients.
4418
177549d0
RS
4419 * mail/rmail.el (rmail-epa-decrypt): New command.
4420
fe38beef
RS
4421 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
4422 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
4423 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
4424 (epa-decrypt-armor-in-region): Make error message clearer.
4425
934eacb9
SM
44262011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
4427
4428 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
4429 and "a2b" to "ab" for `prefix'.
4430
d024fb4e
CY
44312011-08-14 Chong Yidong <cyd@stupidchicken.com>
4432
4433 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
4434 filter groups.
de148fee
CY
4435 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
4436 Fourquet (Bug#8804).
d024fb4e 4437
62f1ca49
JB
44382011-08-12 Juanma Barranquero <lekktu@gmail.com>
4439
4440 * startup.el (argi): Declare as global variable (bug#9275).
4441
9ccaaa4b
CY
44422011-08-12 Chong Yidong <cyd@stupidchicken.com>
4443
4444 * subr.el (string-mark-left-to-right): Search the entire string
4445 for RTL script, not just the terminating character. Doc fix.
4446
a3dae87a
SM
44472011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
4448
6cd18349
SM
4449 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
4450 New function.
4451 (js--regexp-literal, js-syntax-propertize-function): Remove.
4452 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
4453 (js-mode-map): Don't rebind electric keys.
4454 (js-insert-and-indent): Remove.
4455 (js-mode): Setup electric-layout and electric-indent instead.
4456
a3dae87a
SM
4457 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
4458
9d5cb631
DU
44592011-08-12 Daiki Ueno <ueno@unixuser.org>
4460
4461 * epa.el (epa-progress-callback-function): Fix the logic of
4462 displaying progress.
4463 * epa-file.el (epa-file-insert-file-contents): Make progress
4464 display more user-friendly.
4465 (epa-file-write-region): Ditto.
4466
3e26a4a2
CY
44672011-08-10 Chong Yidong <cyd@stupidchicken.com>
4468
4469 * subr.el (string-mark-left-to-right): New function.
4470
4471 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
4472 Use string-mark-left-to-right.
4473 (list-buffers-noselect): Caller changed.
4474
a3dae87a
SM
4475 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
4476 Use string-mark-left-to-right.
3e26a4a2
CY
4477 (tabulated-list-print): Recenter after moving point.
4478
ac8cf6e6
JL
44792011-08-10 Juri Linkov <juri@jurta.org>
4480
4481 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
4482 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
4483 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
4484
8d96c9a4
CY
44852011-08-09 Chong Yidong <cyd@stupidchicken.com>
4486
4487 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
4488 (Bug#7554).
4489
7be1c708 44902011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
4491
4492 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
4493 character. (Bug#6594)
4494
37e11a63
CY
44952011-08-08 Chong Yidong <cyd@stupidchicken.com>
4496
839dde57
CY
4497 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
4498 (image-dired--with-db-file): New macro.
4499 (image-dired-write-tags, image-dired-remove-tag)
4500 (image-dired-create-gallery-lists, image-dired-write-comments)
4501 (image-dired-get-comment, image-dired-mark-tagged-files)
4502 (image-dired-list-tags, image-dired-gallery-generate): Use it.
4503 (image-dired-gallery-generate): Use insert-file-contents.
4504
37e11a63
CY
4505 * time.el (display-time-world-list, display-time-world-display):
4506 * time-stamp.el (time-stamp-string):
4507 * vc/add-log.el (add-change-log-entry): Use setenv instead of
4508 set-time-zone-rule (Bug#7337).
4509
0b4946c4
DU
45102011-08-08 Daiki Ueno <ueno@unixuser.org>
4511
4512 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
4513 (epg-error-to-string, epg-errors-to-string): New function.
4514 (epg-wait-for-completion): Reverse errors list.
4515 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
4516 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
4517 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
4518 (epg-sign-keys, epg-generate-key-from-file)
4519 (epg-generate-key-from-string): Format errors by using
4520 epg-errors-to-string (bug#9255).
4521 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
4522
75bfc667
JL
45232011-08-07 Juri Linkov <juri@jurta.org>
4524
4525 * faces.el (list-faces-display): Remove extra angle bracket
4526 from `help-mode-map'.
4527
4528 * info.el (Info-history-toc-nodes): Doc fix.
4529
4530 * longlines.el (longlines-mode): Doc fix.
4531
673e08bb
SM
45322011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
4533
4640dd88
SM
4534 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
4535 of statements and in a few more cases (bug#9183).
4536
673e08bb
SM
4537 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
4538 New functions.
4539 (cl-transform-lambda): Use them (bug#9239).
4540
89b3f019
MR
45412011-08-05 Martin Rudalics <rudalics@gmx.at>
4542
4543 * window.el (display-buffer-same-window)
4544 (display-buffer-same-frame, display-buffer-other-window)
4545 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
4546 (pop-to-buffer-other-window)
4547 (pop-to-buffer-same-frame-other-window)
4548 (pop-to-buffer-other-frame): Make them defuns.
4549 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
4550
640c8776
SM
45512011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
4552
4553 * subr.el (make-composed-keymap): Move from C. Change calling
4554 convention, and improve docstring to bring attention to a subtle point.
4555 * minibuffer.el (completing-read-default): Adjust accordingly.
4556
63648a95
MA
45572011-08-03 Michael Albinus <michael.albinus@gmx.de>
4558
4559 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
4560 (tramp-open-shell): Use `tramp-shell-quote-argument'.
4561
4562 * net/trampver.el: Update release number.
4563
b796c9b7
SM
45642011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
4565
4566 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
4567 "in" (bug#9190).
4568
2239d7d5
LMI
45692011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
4570
e07dd7c3
LMI
4571 * mail/sendmail.el (sendmail-query-once): Restore the current
4572 buffer after querying (bug#9074).
4573
0e6a2bd7
LMI
4574 * dired.el (dired-flagged): Use different faces for marked and
4575 flagged files (bug#6117).
4576
ce887515
LMI
4577 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
4578 (bug#4433).
4579
92f2affc
LMI
4580 * ido.el (ido-mode): Switch off the message if called
4581 non-interactively.
4582
57d5aff0
LMI
4583 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
4584 before 587, since it appears that that's more likely to work for
4585 more people.
4586
98cd6c18 4587 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 4588 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
4589 exist.
4590
b96dec83
LMI
4591 * info.el: Remove the `Info-beginning-of-buffer' function
4592 (bug#8325).
4593
b796c9b7
SM
4594 * net/network-stream.el (network-stream-open-starttls):
4595 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 4596
d90e2ea0
MR
45972011-08-01 Martin Rudalics <rudalics@gmx.at>
4598
4599 * window.el (display-buffer-in-window): Don't set dedicated status
4600 of window here (Bug#9215).
4601 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
4602 (display-buffer-pop-up-side-window)
b796c9b7 4603 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 4604
cca09170
SM
46052011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
4606
4607 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
4608 before binding generated-autoload-file.
4609
027b979c
DD
46102011-08-01 Deniz Dogan <deniz@dogan.se>
4611
4612 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
4613
3c7ee4f3
MA
46142011-07-30 Michael Albinus <michael.albinus@gmx.de>
4615
4616 Sync with Tramp 2.2.2.
4617
4618 * net/trampver.el: Update release number.
4619
2cc8e51a
JL
46202011-07-30 Juri Linkov <juri@jurta.org>
4621
4622 * dired-aux.el (dired-touch-initial): Remove function.
4623 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
4624 current time, and `default' to the last modification time of the
4625 current marked file (bug#6887).
4626
a514d856
JM
46272011-07-28 Jose E. Marchesi <jemarch@gnu.org>
4628
4629 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 4630 numeric argument to read-number (bug#9163).
a514d856 4631
8a7eddd7
MA
46322011-07-27 Michael Albinus <michael.albinus@gmx.de>
4633
4634 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
4635 connection process, it could be nil.
4636
1ddd96f5
LL
46372011-07-27 Leo Liu <sdl.web@gmail.com>
4638
4639 Simplify url handling in rcirc-mode.
4640
4641 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
4642 (rcirc-browse-url-at-mouse): Remove.
4643 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
4644
b248a85d
AM
46452011-07-26 Alan Mackenzie <acm@muc.de>
4646
4647 Fontify bitfield declarations properly.
4648
4649 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
4650 (c-symbol-chars): Now exported as a lang variable.
4651 (c-not-primitive-type-keywords): New lang variable.
4652
4653 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
4654 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 4655 parsed as a bitfield declaration.
b248a85d 4656
b796c9b7
SM
4657 * progmodes/cc-engine.el (c-beginning-of-statement-1):
4658 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
4659 (c-punctuation-in): New function.
4660 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
4661 declarations properly.
4662
68575ab0
UJ
46632011-07-26 Ulf Jasper <ulf.jasper@web.de>
4664
4665 * calendar/icalendar.el (icalendar--all-events): Take care of
4666 multiple vcalendars in a single file.
b796c9b7 4667 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 4668
0f0a88b9
DD
46692011-07-25 Deniz Dogan <deniz@dogan.se>
4670
4671 * image.el (insert-image): Clarifying docstring.
4672
0b3f36df
MA
46732011-07-24 Michael Albinus <michael.albinus@gmx.de>
4674
4675 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
4676 `tramp-send-command-and-check' if there is no error.
4677 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
4678
a9901f61
AM
46792011-07-22 Alan Mackenzie <acm@muc.de>
4680
4681 Prevent cc-langs.elc being loaded at run time.
4682
4683 * progmodes/cc-mode.el: Remove two autoload forms which loaded
4684 cc-langs.
4685
4d61f28d 4686 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
4687 "(require 'cc-langs)". Quote a form so it will evaluate at
4688 (cc-mode's) compilation time.
4689
11d074b2
MA
46902011-07-22 Michael Albinus <michael.albinus@gmx.de>
4691
4692 * net/tramp.el (tramp-file-name-handler): Avoid recursive
4693 loading. (Bug#9114)
4694
938b94c8
MR
46952011-07-21 Martin Rudalics <rudalics@gmx.at>
4696
4697 * window.el (display-buffer-pop-up-window)
4698 (display-buffer-pop-up-side-window)
4699 (display-buffer-in-side-window): Call display-buffer-set-height
4700 and display-buffer-set-width after setting the new window's
b796c9b7 4701 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 4702
bfa4f190
SS
47032011-07-20 Sam Steingold <sds@gnu.org>
4704
4705 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
4706 (etags-tags-included-tables): Call `convert-standard-filename' on
4707 the file names contained in TAGS so that windows Emacs can handle
4708 TAGS files created by cygwin ctags.
4709
8ca42262
LMI
47102011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
4711
4712 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
4713 which apparently didn't work.
4714
5db2afd2 47152011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 4716
5db2afd2
RW
4717 * proced.el (proced-send-signal): For *Marked Processes* buffer
4718 put point at beginning of buffer.
4719
92e15d10
SB
47202011-07-19 Stephen Berman <stephen.berman@gmx.net>
4721
4722 * proced.el (proced-format): Make header lines align with the text
4723 (bug#1779).
4724
1bfd59e5
LMI
47252011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
4726
4727 * view.el (view-buffer): Allow running in `special' modes if we're
4728 visiting a file (bug#8615).
4729
f5aae37c
MR
47302011-07-19 Martin Rudalics <rudalics@gmx.at>
4731
4732 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
4733 (display-buffer-alist-set-1, display-buffer-alist-set-2):
4734 New functions.
f5aae37c
MR
4735 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
4736 more accurately.
4737
bf2c1571
AM
47382011-07-18 Alan Mackenzie <acm@muc.de>
4739
4740 Fontify declarators properly when, e.g., a jit-lock chunk begins
4741 inside a declaration.
4742
4743 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
4744
b796c9b7
SM
4745 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
4746 New function.
bf2c1571
AM
4747 (c-complex-decl-matchers): Insert reference to
4748 c-font-lock-enclosing-decls.
4749
4750 * progmodes/cc-engine.el (c-backward-single-comment):
4751 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
4752 to nil around calls to (forward-comment -1).
4753
4e190b80
LMI
47542011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
4755
12dc863d
LMI
4756 * image.el (put-image): Doc typo fix.
4757
a762e966
LMI
4758 * progmodes/etags.el (tags-search): Doc typo fix.
4759
4e190b80
LMI
4760 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
4761 password if we get errors 550 to 554.
4762
f019fb21
LMI
47632011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
4764
b796c9b7 4765 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 4766
81746738
LMI
4767 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
4768 indentation character (bug#6380).
4769
3ee3a1b5
LMI
4770 * files.el (buffer-offer-save): Made permanently local (bug#6241).
4771
c82f64de
LMI
4772 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
4773 to clarify what the problem is (bug#4291).
4774
f019fb21
LMI
4775 * simple.el (current-kill): Clarify what
4776 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
4777 (auto-fill-mode): Document `auto-fill-function' in relation to
4778 `auto-fill-mode' (bug#2470).
f019fb21 4779
0794775d
LM
47802011-07-16 Lawrence Mitchell <wence@gmx.li>
4781
4782 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
4783 method if slot is read-only (bug#9035).
4784
be39b8cc
MR
47852011-07-16 Martin Rudalics <rudalics@gmx.at>
4786
b796c9b7 4787 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 4788 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
4789 selected before, see discussion of (Bug#8615), (Bug#6954).
4790 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 4791
6ccf7859
GM
47922011-07-15 Glenn Morris <rgm@gnu.org>
4793
4794 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 4795 Respect help-form.
6ccf7859 4796
87e86684
LM
47972011-07-09 Lawrence Mitchell <wence@gmx.li>
4798
4799 * net/gnutls.el (gnutls-min-prime-bits): New variable.
4800 (gnutls-negotiate): Use it.
4801
d6066239
LMI
48022011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
4803
b796c9b7
SM
4804 * net/gnutls.el (gnutls-negotiate):
4805 Upcase `gnutls-algorithm-priority'.
d6066239 4806
bd23ebc0
GM
48072011-07-15 Glenn Morris <rgm@gnu.org>
4808
c65bca65
GM
4809 * jka-compr.el (jka-compr-verbose): Move from here...
4810 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
4811 Add missing :version tag.
4812 * info.el: No need to require jka-compr when compiling.
bd23ebc0 4813
478615cc
LMI
48142011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
4815
7b41decb
LMI
4816 * net/gnutls.el (gnutls-algorithm-priority): New variable.
4817 (gnutls-negotiate): Use it.
4818
dbc44fcd
LMI
4819 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
4820
06789f97
LMI
4821 * info.el (Info-beginning-of-buffer): New command.
4822 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
4823 announcing `b' as the key (bug#8325).
ab896c37 4824 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 4825
c39da690
LMI
4826 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
4827
3aa5f34b
LMI
4828 * international/mule-cmds.el
4829 (describe-specified-language-support): Make the error message
4830 clearer (bug#8905).
4831
4bf0979f
LMI
4832 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
4833
478615cc
LMI
4834 * isearch.el (isearch-barrier): Add a doc string, since it's
4835 mentioned in a function doc string (bug#8678).
4836
75c68aa1
MR
48372011-07-15 Martin Rudalics <rudalics@gmx.at>
4838
4839 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
4840 buffer argument (Bug#9083) and self-identifying label argument.
4841
a7c33da2
GM
48422011-07-15 Glenn Morris <rgm@gnu.org>
4843
4844 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
4845
2f5c6024
LMI
48462011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
4847
4848 * man.el (Man-fontify-manpage): Fix message when formatting the
4849 man page (bug#7929).
4850
0bb23927 48512011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
4852
4853 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
4854 argument LRM; if non-nil, append an invisible LRM character to the
4855 buffer name.
4856 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
4857 last argument non-nil, when formatting buffer names.
0bb23927
EZ
4858 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
4859 paragraph direction.
cce4b0a7 4860
621ef9ab
LMI
48612011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
4862
d1583c48
LMI
4863 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
4864 the man page name (bug#7929).
4865
6a57fb5f
LMI
4866 * image.el (put-image): Mention the `put-image' overlay property
4867 (bug#7834).
4868
d7956b14
LMI
4869 * scroll-bar.el (set-scroll-bar-mode): Mention that
4870 `scroll-bar-mode' lists the values (bug#7772).
4871
5b2d4a66
LMI
4872 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
4873 command (bug#7729).
4874
7509a874
LMI
4875 * rect.el (apply-on-rectangle): Return the point after the last
4876 operation.
4877 (string-rectangle): Go to the point after the last operation
4878 (bug#7522).
4879
4fe74b19
LMI
4880 * printing.el (pr-toggle-region): Clarify the documentation
4881 slightly (bug#7493).
4882
b796c9b7
SM
4883 * time.el (display-time-update):
4884 Allow `display-time-mail-function' to return nil (bug#7158).
4885 Fix suggested by Detlev Zundel.
ab283561 4886
fc233c9d
LMI
4887 * vc/diff.el (diff): Clarify the order the file names are read
4888 (bug#7111).
4889
43f5740b
LMI
4890 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
4891 the doc string (bug#7015).
4892
f2182a76
LMI
4893 * font-lock.el (font-lock-maximum-decoration): Mention what
4894 numeric levels mean (bug#6935).
4895
621ef9ab
LMI
4896 * startup.el (initial-buffer-choice): Don't mention the `none'
4897 selection, which is against policy.
4898
adc47434
MR
48992011-07-14 Martin Rudalics <rudalics@gmx.at>
4900
b796c9b7
SM
4901 * window.el (display-buffer-normalize-special):
4902 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 4903
7e5bfb8f
EZ
49042011-07-14 Eli Zaretskii <eliz@gnu.org>
4905
4906 * subr.el (version<, version<=, version=): Mention "-CVS" and
4907 "-12345" alpha version numbers.
4908
27fa387a
CY
49092011-07-14 Chong Yidong <cyd@stupidchicken.com>
4910
4911 * bindings.el: Add advertised binding for set-mark-command
4912 (Bug#5772).
4913
8bdfa064
CY
49142011-07-14 Chong Yidong <cyd@stupidchicken.com>
4915
4916 * bindings.el (mode-line-other-buffer):
4917 * bookmark.el (bookmark-bmenu-2-window):
4918 * bs.el (bs-cycle-next, bs-cycle-previous):
4919 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
4920 switch-to-buffer.
4921
4922 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 4923 Delete.
8bdfa064 4924
5eba16a3
JB
49252011-07-14 Juanma Barranquero <lekktu@gmail.com>
4926
4927 * follow.el (follow-debug-message, follow-redisplay):
4928 * jka-cmpr-hook.el (with-auto-compression-mode):
4929 Fix typos in docstrings.
4930
15853710
LMI
49312011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
4932
a28e4607
LMI
4933 * subr.el (with-silent-modifications): Clarify somewhat what the
4934 macro inhibits (bug#6525).
4935
15853710
LMI
4936 * simple.el (eval-expression): Note what it does if called
4937 interactively (bug#6495).
4938
bee0fcef
CY
49392011-07-13 Chong Yidong <cyd@stupidchicken.com>
4940
b796c9b7
SM
4941 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
4942 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
4943
4944 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
4945 Remove switch-to-buffer.
4946
58274504
LMI
49472011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
4948
bd2fcc8d
LMI
4949 * files.el (make-directory): Clarify that an error will be raised
4950 if there's an error (bug#6397).
4951
0f04b32c
LMI
4952 * startup.el (initial-buffer-choice): Add `none' as a choice
4953 (bug#6234).
4954
465c5fc8
LMI
4955 * subr.el (add-hook): Clarify section about buffer-local hooks
4956 (bug#6218).
4957
58274504
LMI
4958 * dired.el (dired-flagged): Clarify doc string (bug#6117).
4959
bead9a43
JB
49602011-07-13 Juanma Barranquero <lekktu@gmail.com>
4961
4962 * tabify.el (untabify): Preserve the current column so that point
4963 doesn't move (bug#6032).
4964
3af98a7b
LMI
49652011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
4966
b796c9b7
SM
4967 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
4968 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 4969
6240145a
GM
49702011-07-13 Glenn Morris <rgm@gnu.org>
4971
4972 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
4973 (dired-insert-directory): Give a message the first time
4974 if ls is found not to support --dired.
4975
1d8c2ccc
LMI
49762011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
4977
4978 * simple.el (toggle-truncate-lines): Clarify what is toggled
4979 (bug#5580). Text by Drew Adams.
4980
5fc4038e
CY
49812011-07-13 Chong Yidong <cyd@stupidchicken.com>
4982
4983 * simple.el (blink-matching-open): Make the error message from the
4984 last change less verbose.
4985
bf6012e5
DN
49862011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
4987
4988 * font-lock.el (font-lock-comment-face): Use the high contrast
4989 "yellow" color for font-lock-comment-face on low color terminals
4990 using a dark background color (bug#4221).
4991
343c3b5a
LMI
49922011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
4993
7e9505c5
LMI
4994 * dired.el (dired-insert-set-properties): Make the doc string
4995 reflect what it does now (bug#5325).
4996
c26fdcf5
LMI
4997 * simple.el (blink-matching-open): Say that we were unable to find
4998 the match within the limit, if we're limited (bug#5122).
4999
bb388cc5
LMI
5000 * international/mule-cmds.el (prefer-coding-system): Add an
5001 example (bug#4869).
5002
343c3b5a
LMI
5003 * progmodes/etags.el (tags-search): Document `file-list-form'
5004 (bug#4731).
5005
2a517d45
LM
50062011-07-13 Lawrence Mitchell <wence@gmx.li>
5007
5008 * net/browse-url.el (browse-url-default-browser)
5009 (browse-url-browser-function): Make the default browser choice a
5010 bit more logical (bug#4300). Also clean up the doc string.
5011
b6c78ef2
JB
50122011-07-13 Juanma Barranquero <lekktu@gmail.com>
5013
5014 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
5015 binary endings (bug#4440).
5016
1c4dd947
LMI
50172011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
5018
a2014063
LMI
5019 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
5020 which can be pretty annoying (bug#8971).
5021
9c9c2d88
LMI
5022 * jka-compr.el (jka-compr-verbose): New variable, and use
5023 throughout (bug#8971).
5024
1c4dd947
LMI
5025 * info.el (Info-find-file): Fall back on the installation
5026 directory if we can't find the info node anywhere else.
5027
a1c9f41b
SO
50282011-07-13 Sergei Organov <osv@javad.com> (tiny change)
5029
5030 * vc/vc.el (vc-revert-file):
5031 Don't set file time-stamp in the past. (Bug#5181)
5032
536f3d36
LMI
50332011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
5034
7152b011
LMI
5035 * files.el (after-find-file): Give a better error message when
5036 trying to find a symlink that points to a file that doesn't exist
5037 (bug#4398).
5038
536f3d36
LMI
5039 * progmodes/cc-vars.el: Remove (probably) misleading comment
5040 (bug#4396).
5041
460c0fba
JB
50422011-07-12 Johan Bockgård <bojohan@gnu.org>
5043
5044 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
5045
7a6bda45
CY
50462011-07-12 Chong Yidong <cyd@stupidchicken.com>
5047
5048 * mouse-sel.el: Hack restoring functionality, while keeping
5049 compatibility with 2010-07-03 changes to mouse selection.
5050 (mouse-sel-primary-overlay): New var.
5051 (mouse-sel-selection-alist): Use it.
5052 (mouse-sel-mode): Doc fix; remove points that are default features
5053 of mouse.el.
5054
c79598ef
JB
50552011-07-12 Johan Bockgård <bojohan@gnu.org>
5056
5057 * progmodes/compile.el (compilation-error-regexp-alist-alist):
5058 Fix previous fix (bug#2490).
5059
ff8be6ef
RW
50602011-07-12 Roland Winkler <winkler@gnu.org>
5061
b796c9b7
SM
5062 * textmodes/bibtex.el (bibtex-initialize):
5063 Use pop-to-buffer-same-window.
ff8be6ef
RW
5064 (bibtex-search-entries): Fix interactive call.
5065
296ba3ee
LMI
50662011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
5067
f5242a02 5068 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
5069 Fontise bytecomp Error lines more correctly (bug#2490).
5070 Fix suggested by Johan Bockgård.
f5242a02 5071
296ba3ee
LMI
5072 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
5073
5074 * dired-x.el (dired-guess-default): Use `delete-dups'.
5075
f69fd0d2
CY
50762011-07-12 Chong Yidong <cyd@stupidchicken.com>
5077
5078 * dired.el (dired-mark-prompt):
5079 * dired-aux.el (dired-read-shell-command): Doc fix.
5080
eab5dc07
LMI
50812011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
5082
b796c9b7
SM
5083 * mail/sendmail.el (sendmail-query-once):
5084 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
5085 emacs -Q.
5086
5087 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
5088
eab5dc07
LMI
5089 * cus-edit.el (custom-file): Take an optional no-error variable.
5090 (customize-save-variable): Set the variable, and give a warning if
5091 running under "emacs -q".
5092
a1e65d42
JB
50932011-07-11 Juanma Barranquero <lekktu@gmail.com>
5094
5095 * loadhist.el (unload-feature-special-hooks):
5096 Add `auto-coding-functions', `fill-nobreak-predicate' and
5097 `find-directory-functions' (bug#5327).
5098
1d52da10
LMI
50992011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
5100
be958f1d
LMI
5101 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
5102
5bedb26c
LMI
5103 * cus-edit.el (custom-guess-name-alist): -alist variables should
5104 use the `alist' type (bug#3120). Suggested by Drew Adams.
5105
1d52da10
LMI
5106 * printing.el: Add documentation to all the `pr-toggle-' commands.
5107
cd394be1 51082011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
5109
5110 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
5111 backends where it makes sense (bug#2623).
5112
dcc88d8a
LMI
51132011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
5114
c3de9feb
LMI
5115 * dired-x.el (dired-guess-default): Remove duplicate shell command
5116 entries (bug#2028).
8a93078b 5117 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 5118 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 5119
dcc88d8a
LMI
5120 * subr.el (remove-duplicates): New conveniency function.
5121
505e3645
LMI
51222011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
5123
5124 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
5125 (bug#1526).
5126
51272011-07-10 Martin Rudalics <rudalics@gmx.at>
5128
5129 * window.el (display-buffer-normalize-default): Don't invert
5130 meaning of even-window-heights. Reported by Eli Zaretskii
5131 <eliz@gnu.org>.
5132
455e4fa1
BR
51332011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
5134
5135 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
5136
8e0bc3e9
CY
51372011-07-10 Chong Yidong <cyd@stupidchicken.com>
5138
5139 * window.el (display-buffer): Fix arguments to
5140 display-buffer-reuse-window in last change.
5141
fa7c3228
CY
5142 * faces.el (link): Use a less saturated blue on light backgrounds.
5143
5144 * startup.el (fancy-startup-text, fancy-about-text)
5145 (fancy-startup-tail): Use font-lock faces, for background safety.
5146
c0a7f300
BN
51472011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
5148
b796c9b7
SM
5149 * emulation/viper-cmd.el (viper-change-state-to-vi):
5150 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 5151
4dc2a129
MR
51522011-07-09 Martin Rudalics <rudalics@gmx.at>
5153
5154 * window.el (display-buffer-default-specifiers): Remove.
5155 (display-buffer-macro-specifiers): Remove default specifiers.
5156 (display-buffer-alist): Default to nil.
b796c9b7 5157 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
5158 (display-buffer-pop-up-window): Allow splitting internal
5159 windows. Check whether a live window was created.
5160 (display-buffer-other-window-means-other-frame)
5161 (display-buffer-normalize-arguments): Rename to
5162 display-buffer-normalize-argument and rewrite. Set the
5163 other-window specifier.
5164 (display-buffer-normalize-special): New function.
5165 (display-buffer-normalize-options): Rename to
5166 display-buffer-normalize-default and rewrite.
5167 (display-buffer-normalize-options-inhibit): Remove.
5168 (display-buffer-normalize-specifiers): Rewrite.
5169 (display-buffer): Process other-window specifier and call
5170 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
5171 more faithfully.
b796c9b7 5172 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 5173 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
5174 (display-buffer-in-window, display-buffer-alist-set):
5175 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
5176 <tassilo@member.fsf.org>.
5177
2d43b8c9
LL
51782011-07-09 Leo Liu <sdl.web@gmail.com>
5179
5180 * register.el (insert-register): Restore accidental change on
5181 2011-06-26. (Bug#9028)
5182
7f9b7c53
GM
51832011-07-09 Glenn Morris <rgm@gnu.org>
5184
5185 * subr.el (remq): Handle the empty list. (Bug#9024)
5186
f042cfd8
AS
51872011-07-08 Andreas Schwab <schwab@linux-m68k.org>
5188
5189 * mail/sendmail.el (send-mail-function): No longer delay custom
5190 initialization.
5191 * custom.el (custom-initialize-delay): Doc fix.
5192
856b2f11
SM
51932011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
5194
5195 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
5196
afae1d68
MA
51972011-07-08 Michael Albinus <michael.albinus@gmx.de>
5198
5199 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
5200 human-friendly prompt.
5201
0757af94
SM
52022011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
5203
5204 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
5205 provided by a particular plugin.
5206
d760b731
LMI
52072011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
5208
5209 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
5210 save customizations (with "emacs -Q"), just set the variable
5211 instead of erroring out.
5212
5213 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
5214
cd79ce90
JL
52152011-07-08 Juri Linkov <juri@jurta.org>
5216
5217 * arc-mode.el (archive-zip-expunge, archive-zip-update)
5218 (archive-zip-update-case): Use 7z if found by `executable-find'.
5219 The order of searching the available programs is the same as in
5220 `archive-zip-extract' (bug#8968).
5221
14cc04aa
CY
52222011-07-07 Chong Yidong <cyd@stupidchicken.com>
5223
5224 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
5225 (menu-bar-options-menu): Tweak descriptions.
5226
0a1848ec
LMI
52272011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
5228
5229 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
5230 menu items into verb phrases (bug#1421). Also refill to fit under
5231 80 columns.
5232
f5bd0689
CY
52332011-07-07 Chong Yidong <cyd@stupidchicken.com>
5234
538e85c6
CY
5235 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
5236 (Info-read-node-name): Doc fix (Bug#1084).
5237
f5bd0689
CY
5238 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
5239 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
5240 (end-of-sexp, beginning-of-sexp)
5241 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
5242 (forward-symbol, forward-same-syntax, word-at-point)
5243 (sentence-at-point): Doc fix (Bug#1144).
5244
56ec5115
LMI
52452011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
5246
f3f8e37f
LMI
5247 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
5248 should cover it (bug#1281).
5249
0757af94 5250 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 5251
e9fce1ac 5252 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
5253 negotiation fails, then possibly try again with a non-encrypted
5254 connection (bug#9017).
5255
56ec5115
LMI
5256 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
5257 be used.
5258
c2f9aec8
RS
52592011-07-07 Richard Stallman <rms@gnu.org>
5260
5261 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
5262 property, and handle its changed format.
5263 Look for the correct line number.
5264 Use file's line contents (but not past first =) to find
5265 correct line in message.
5266
ef7b981d 52672011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
5268
5269 * international/characters.el (build-unicode-category-table):
5270 Delete it.
0757af94 5271 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 5272
0757af94 5273 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
5274 to src/chartab.c.
5275 (get-char-code-property): Call unicode-property-table-internal to
5276 load a file. Call get-unicode-property-internal where necessary.
5277 (put-char-code-property): Call unicode-property-table-internal to
5278 load a file. Call put-unicode-property-internal where necessary.
5279 put-unicode-property-internal where necessary.
0757af94
SM
5280 (char-code-property-description):
5281 Call unicode-property-table-internal to load a file.
c805dec0
KH
5282
5283 * international/charprop.el:
5284 * international/uni-bidi.el:
5285 * international/uni-category.el:
5286 * international/uni-combining.el:
5287 * international/uni-comment.el:
5288 * international/uni-decimal.el:
5289 * international/uni-decomposition.el:
5290 * international/uni-digit.el:
5291 * international/uni-lowercase.el:
5292 * international/uni-mirrored.el:
5293 * international/uni-name.el:
5294 * international/uni-numeric.el:
5295 * international/uni-old-name.el:
5296 * international/uni-titlecase.el:
5297 * international/uni-uppercase.el: Regenerate.
5298
5299 * loadup.el: Load international/charprop.el before
5300 international/characters.
5301
e14b388a
CY
53022011-07-07 Chong Yidong <cyd@stupidchicken.com>
5303
5304 * window.el (next-buffer, previous-buffer): Signal an error if
5305 called from a minibuffer window.
5306
5307 * bindings.el: Revert 2011-07-04 change.
5308
354cf0ba
RS
53092011-07-06 Richard Stallman <rms@gnu.org>
5310
5311 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
5312 (rmail-mime-insert-bulk, rmail-mime-insert-text):
5313 Treat markers like ints.
5314 (rmail-mime-entity): Doc fix.
5315
a48868a7
LMI
53162011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
5317
4906cd3d
LMI
5318 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
5319 defcustom again for backwards compatibility.
5320
e0457abe
LMI
5321 * simple.el (shell-command-on-region): Fill.
5322
d67f7e1f
LMI
5323 * dired-aux.el (dired-kill-line): Add a doc string.
5324
fe204702
LMI
5325 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
5326 to "\\sw\\|\\s_" (bug#358).
5327
a48868a7
LMI
5328 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
5329 (dired-unmark-backward): Ditto.
5330 (dired-flag-backup-files): Ditto.
5331
5332 * dired-x.el (dired-mark-sexp): Ditto.
5333
aa8a705c
RS
53342011-07-06 Richard Stallman <rms@gnu.org>
5335
5336 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
5337 (rmail-mime-entity): New arg TRUNCATED.
5338 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
5339 New functions.
5340 (rmail-mime-save): Warn if entity is truncated.
5341 (rmail-mime-toggle-hidden): Likewise, for showing.
5342 (rmail-mime-process-multipart): Record when an entity is truncated.
5343
a9a936b9
RS
5344 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
5345 if ENTITY is a string.
5346
1f2b92cb
LMI
53472011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
5348
f4f73198 5349 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
5350 of faces when `M-C-x'-ing their definitions (bug#8378).
5351 Also clean up the code slightly.
f4f73198 5352
12b16734 5353 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 5354 because that makes the colors go away.
12b16734 5355
f0691d22
LMI
5356 * mail/sendmail.el (send-mail-function): Change the default to
5357 `sendmail-query-once'.
9e87df06 5358 (sendmail-query-once): Add an autoload cookie.
f0691d22 5359
1f2b92cb
LMI
5360 * net/network-stream.el (network-stream-open-starttls): Try using
5361 a plain connection even if the server offered STARTTLS, and we
5362 kinda wanted to use it, if Emacs doesn't have any STARTTLS
5363 capability. This should make smtpmail.el work in slightly more
5364 configurations.
5365
1cdd2a1b
MA
53662011-07-06 Michael Albinus <michael.albinus@gmx.de>
5367
5368 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
5369 New defun.
5370 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
5371
fbcc67e2
MM
53722011-07-06 Michael R. Mauger <mmaug@yahoo.com>
5373
5374 * progmodes/sql.el: Version 3.0
0757af94 5375 (sql-product-alist): Add product :completion-object,
fbcc67e2 5376 :completion-column, and :statement attributes.
0757af94 5377 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 5378 (sql-mode-syntax-table): Mark all punctuation.
0757af94 5379 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
5380 ansi keywords.
5381 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 5382 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
5383 (sql-oracle-show-reserved-words): New function for development.
5384 (sql-product-font-lock): Simplify for source code buffers.
5385 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
5386 New functions.
5387 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
5388 (sql-mode-map): Add statement movement functions.
5389 (sql-ansi-statement-starters, sql-oracle-statement-starters):
5390 New variable.
fbcc67e2
MM
5391 (sql-statement-regexp, sql-beginning-of-statement)
5392 (sql-end-of-statement, sql-signum): New functions.
0757af94 5393 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
5394 (sql-show-sqli-buffer): Bug fix.
5395 (sql-interactive-mode): Store connection data as buffer local.
0757af94 5396 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
5397 with sql-interactive-mode.
5398 (sql-save-connection): Save buffer local settings.
0757af94 5399 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
5400 (sql-product-interactive): Bug fix.
5401 (sql-preoutput-hold): New variable.
5402 (sql-interactive-remove-continuation-prompt): Bug fixes.
5403 (sql-debug-redirect): New variable.
5404 (sql-str-literal): New function.
5405 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 5406 Redesign.
fbcc67e2
MM
5407 (sql-oracle-save-settings, sql-oracle-restore-settings)
5408 (sql-oracle-list-all, sql-oracle-list-table): New functions.
5409 (sql-completion-object, sql-completion-column)
5410 (sql-completion-sqlbuf): New variables.
5411 (sql-build-completions-1, sql-build-completions)
5412 (sql-try-completion): New functions.
5413 (sql-read-table-name): Use them.
5414 (sql-contains-names): New buffer local variable.
5415 (sql-list-all, sql-list-table): Use it.
5416 (sql-oracle-completion-types): New variable.
5417 (sql-oracle-completion-object, sql-sqlite-completion-object)
5418 (sql-postgres-completion-object): New functions.
5419
d4eaeab1
GM
54202011-07-06 Glenn Morris <rgm@gnu.org>
5421
5422 * window.el (pop-to-buffer): Doc fix.
5423
322b7dab 54242011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
5425
5426 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
5427
322b7dab 54282011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 5429
322b7dab 5430 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 5431
322b7dab 5432 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 5433
605dd5bf
CY
54342011-07-05 Chong Yidong <cyd@stupidchicken.com>
5435
5436 * button.el (button): Inherit from link face. Suggested by Dan
5437 Nicolaescu.
5438
7dbfa719
SM
54392011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
5440
3db614b0
SM
5441 * progmodes/gdb-mi.el: Fit in 80 columns.
5442 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
5443 switch-to-buffer.
5444
7dbfa719
SM
5445 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
5446 if imenu is simply not configured (bug#8941).
5447
919d884a
KM
54482011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
5449
5450 * allout.el (allout-post-undo-hook): New allout outline-change
5451 event hook to signal undo activity.
5452 (allout-post-command-business): Run allout-post-undo-hook if an
5453 undo just occurred.
7dbfa719
SM
5454 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
5455 * allout-widgets.el (allout-widgets-after-undo-function):
5456 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
5457 in the vicinity of an undo.
5458 (allout-widgets-mode): Include allout-widgets-after-undo-function
5459 on the new allout-post-undo-hook.
5460
450a0f09
SM
54612011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
5462
5463 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
5464 Let define-derived-mode define it.
5465 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
5466 cycles of abbrev-table inheritance (bug#8998).
5467
2de69e00
RW
54682011-07-05 Roland Winkler <winkler@gnu.org>
5469
5470 * textmodes/bibtex.el: Add support for biblatex.
5471 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
5472 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
5473 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
5474 (bibtex-entry-alist, bibtex-field-alist): New variables.
5475 (bibtex-entry-field-alist): Obsolete alias for
5476 bibtex-BibTeX-entry-alist.
5477 (bibtex-entry-alist, bibtex-field-alist): New widgets.
5478 (bibtex-set-dialect): New command.
5479 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
5480 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
5481 Bind via bibtex-set-dialect.
2de69e00
RW
5482 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
5483 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
5484 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
5485 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
5486 Define via bibtex-set-dialect.
450a0f09
SM
5487 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
5488 Obey bibtex-no-opt-remove-re.
2de69e00
RW
5489 (bibtex-vec-push, bibtex-vec-incr): New functions.
5490 (bibtex-format-entry, bibtex-field-list)
5491 (bibtex-print-help-message, bibtex-validate)
5492 (bibtex-search-entries): Use new format of bibtex-entry-alist.
5493
2dcdbdd9
SM
54942011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
5495
5496 * progmodes/compile.el (compilation-goto-locus):
5497 * net/tramp-cmds.el (tramp-append-tramp-buffers):
5498 * bs.el (bs-cycle-next, bs-cycle-previous):
5499 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
5500 * bindings.el (mode-line-other-buffer):
5501 * autoinsert.el (auto-insert):
5502 * arc-mode.el (archive-extract):
5503 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
5504
b27640fe
JB
55052011-07-05 Juanma Barranquero <lekktu@gmail.com>
5506
5507 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
5508 Fix check of `emacs-lock-unlockable-modes'.
5509 Coerce true values of `emacs-lock--try-unlocking' to t.
5510
53bbe3ad
JB
55112011-07-05 Juanma Barranquero <lekktu@gmail.com>
5512
5513 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
5514 * emacs-lock.el: New file.
5515
1d3cdbc7
JD
55162011-07-05 Julien Danjou <julien@danjou.info>
5517
5518 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
5519 than `boundp' to check if face is set.
5520
9173deec
JB
55212011-07-05 Juanma Barranquero <lekktu@gmail.com>
5522
5523 * register.el (registerv-make):
5524 * window.el (window-min-height): Fix typos in docstrings.
5525
869795d6
JD
55262011-07-05 Jan Djärv <jan.h.d@swipnet.se>
5527
9173deec 5528 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
5529 Update doc string.
5530
b768cdcd
JB
55312011-07-04 Juanma Barranquero <lekktu@gmail.com>
5532
5533 * server.el (server-execute): Catch quit and call
5534 `server-return-error' to pass the error back to emacsclient and
5535 close the connection (bug#8942).
5536
13aa217b
KM
55372011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
5538
5539 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
5540 insecure exception for current topic. Also note that auto-saves
5541 are handled differently.
5542
5543 (allout-auto-save-temporarily-disabled), (allout-just-did-undo):
5544 State variables for tracking auto-save inhibition situation.
5545
5546 (allout-write-contents-hook-handler): Rename from
5547 'allout-write-file-hook-handler', and describe how it depends on
5548 write-contents-functions sensitivity to non-nil value to prevent
5549 file write.
5550
5551 (allout-auto-save-hook-handler): Remove. auto-save does not check
5552 this in individual buffers, only in the starting buffer, so this
5553 is not the right way for us to inhibit auto-save in a buffer
5554 according to its condition.
5555
5556 (allout-mode): Use new allout-write-contents-hook-handler, and
5557 only with write-contents-functions. Remove auto-save provisions -
5558 they're implemented elsewhere.
5559
5560 (allout-before-change-handler): If undo is in progress, note that
5561 for attention of allout-post-command-business.
5562
5563 (allout-post-command-business): If the command we're following was
5564 an undo, check for change in the status of encrypted items and
5565 adjust auto-save inhibitions accordingly.
5566
5567 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
5568 according to whether there are or aren't any plain-text topics
5569 pending encryption.
5570
2dcdbdd9 5571 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
5572 Adjust buffer-saved-size and some allout state to inhibit auto-saves
5573 if there are plain-text topics pending encryption.
13aa217b
KM
5574
5575 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
5576 buffer-saved-size and some allout state to not inhibit auto-saves
5577 if there are no longer any plain-text topics pending encryption.
5578
0757af94
SM
5579 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
5580 No longer provide for exemption of the current topic.
13aa217b 5581
ac89b32c
JL
55822011-07-04 Juri Linkov <juri@jurta.org>
5583
5584 Add 7z operations to delete and save changed members (bug#8968).
5585 * arc-mode.el (archive-7z-expunge, archive-7z-update):
5586 New defcustoms.
5587 (archive-7z-write-file-member): New function.
5588 (archive-7z-summarize): Fix the number of dashes in the
5589 listing output.
5590
8fa39615
SM
55912011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
5592
5593 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
5594 (bug#8958).
5595
2f11b3f1
CY
55962011-07-04 Chong Yidong <cyd@stupidchicken.com>
5597
d66fef2b
CY
5598 * bindings.el: Ignore next-buffer and previous-buffer in
5599 minibuffer-local-map.
5600
2f11b3f1
CY
5601 * font-lock.el (font-lock-builtin-face): Change light background
5602 color to dark slate blue (Bug#6693).
5603
f932a347
WD
56042011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
5605
5606 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
5607
c8af70e1
SM
56082011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
5609
5610 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
5611 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
5612 Add switch-to-buffer.
5613
f158badc
LMI
56142011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
5615
5616 * isearch.el (isearch-search-fun-function): Clarify further the
5617 meaning of the function returned.
5618
6d95bd46
MA
56192011-07-04 Michael Albinus <michael.albinus@gmx.de>
5620
5621 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
5622
5623 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
5624 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
5625 Use it.
5626 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
5627 `tramp-default-remote-path' does not exist.
5628 (tramp-send-command-and-read): New optional argument NOERROR.
5629 (tramp-open-connection-setup-interactive-shell)
5630 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
5631 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
5632 (tramp-process-sentinel): Flush also process' connection property.
5633 (tramp-sh-handle-start-file-process): Do not set process
5634 sentinel. It is done now ...
5635 (tramp-maybe-open-connection): ... here. (Bug#8929)
5636
909e6b67
MK
56372011-07-04 MON KEY <monkey@sandpframing.com>
5638
5639 * play/animate.el (animate-string): Doc fixes and allow changing
5640 the buffer name (bug#5417).
5641
56422011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
5643
c8af70e1 5644 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 5645
f34755dc
PE
56462011-07-04 Paul Eggert <eggert@cs.ucla.edu>
5647
396cec72
PE
5648 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
5649 This is simpler and helps future-proof the code.
5650 (timer-until): Use time-subtract and float-time.
08235028 5651 (timer--time-less-p): Use time-less-p.
f34755dc 5652
56e6cc31
JB
56532011-07-04 Juanma Barranquero <lekktu@gmail.com>
5654
3abb79e5
JB
5655 * type-break.el (timep): Use the value of `float-time' to avoid a
5656 byte-compiler warning.
5657
56e6cc31
JB
5658 * server.el (server-eval-and-print): Return any result, even nil.
5659
7b9430b4
PE
56602011-07-03 Paul Eggert <eggert@cs.ucla.edu>
5661
5662 * type-break.el: Accept time formats that the builtins accept.
5663 (timep, type-break-time-difference): Accept any format that
5664 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
5665 This is simpler and helps future-proof the code.
5666 (type-break-time-difference): Round rather than ignoring
5667 subseconds components.
5668
3034e9e7
LMI
56692011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
5670
5671 * info.el (Info-apropos-matches): Make non-interactive, since it
5672 doesn't seem to do anything useful as a command (bug#8829).
5673
1485f4c0
CY
56742011-07-03 Chong Yidong <cyd@stupidchicken.com>
5675
5676 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 5677 Move from faces.el.
1485f4c0
CY
5678 (frame-default-terminal-background): New function.
5679
5680 * custom.el (custom-push-theme): Don't record faces in `changed'
5681 theme; this doesn't work correctly for per-frame face settings.
5682 (disable-theme): Use face-set-after-frame-default to reset faces.
5683 (custom--frame-color-default): New function.
5684
9fa3dd45
LMI
56852011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
5686
c8af70e1 5687 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
5688 (bug#8769).
5689
6cbbc20c
KR
56902011-03-29 Kevin Ryde <user42@zip.com.au>
5691
5692 * progmodes/compile.el (compilation-error-regexp-alist-alist):
5693 `perl-Test2' extend to match possible "fail #N" rep count
5694 (bug#8377).
5695
c7f98048
LMI
56962011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
5697
65676592
LMI
5698 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
5699 `smtpmail-via-smtp' now returns the error instead of nil.
5700
c7f98048
LMI
5701 * isearch.el (isearch-search-fun-function): Clarify the doc string
5702 (bug#8101).
5703
56e6cc31 57042011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
5705
5706 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
5707 unnecessary spaces (bug#8987).
5708
2b216704
LMI
57092011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
5710
5711 * net/network-stream.el (open-network-stream): Use the
5712 :end-of-capability command thoughout.
5713
57142011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
5715
5716 * net/network-stream.el (open-network-stream): Add the
5717 :end-of-capability command parameter, used by pop3.el.
5718
36adf6ce
LMI
57192011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
5720
1ca0da0e
LMI
5721 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
5722
fc00f69c
LMI
5723 * fringe.el (fringe-query-style): Remove redundant text " (type ?
5724 for list)" (bug#6475).
5725
28fd8759 5726 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 5727 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
5728 an error (bug#6297).
5729
0dd8b6da
LMI
5730 * man.el (Man-reference-regexp): Allow matching possible
5731 word-wrapped references (bug#6289).
5732
ce1438d6
LMI
5733 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
5734 for consistency with the other vc buffers (bug#6197).
5735 (vc-checkin): Ditto.
5736
5737 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
5738
36adf6ce
LMI
5739 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
5740
e83cc1f7
LMI
57412011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
5742
8a20ca4c
LMI
5743 * custom.el (defcustom): Clarify that :set is only used in the
5744 Customize user interface (bug#6089).
5745
83319045
LMI
5746 * progmodes/flymake.el (flymake-mode): If the buffer isn't
5747 associated with a file, refuse to run instead of erroring out
5748 (bug#6084).
5749
a8392169
LMI
5750 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
5751 the doc string, since it appears that using `fill-column' always
5752 controls the width (bug#7845).
5753
e83cc1f7
LMI
5754 * simple.el (shell-command-on-region): Say where the error output
5755 went if `shell-command-default-error-buffer' is set (bug#6857).
5756
e47ca23b
KM
57572011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
5758
5759 * allout.el (allout-yank-processing): Adjust cursor position for
5760 backwards-deleted space.
5761
5762 (allout-rebullet-heading): Register changes with
5763 allout-exposure-changed-hook, so the modified topic is properly
5764 decorated.
5765
5cf56143
LMI
57662011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
5767
08549772
LMI
5768 * minibuffer.el (completion-in-region): Document PREDICATE
5769 (bug#7136).
5770
48e96771
LMI
5771 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
5772 of keyword/argument pairs (bug#6904).
5773
c8af70e1
SM
5774 * replace.el (multi-occur):
5775 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 5776
e17d05e2
LMI
57772011-07-02 Drew Adams <drew.adams@oracle.com>
5778
5779 * dired.el (dired-mark-if): Make the message about whether it's
5780 marking or unmarking clearer (bug#8523).
5781
063b0e45
LMI
57822011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
5783
5784 * disp-table.el (display-table-print-array): New function.
5785 (describe-display-table): Use it to print the vectors more pretty
5786 (Bug#8859).
5787
28545e04
MR
57882011-07-02 Martin Rudalics <rudalics@gmx.at>
5789
5790 * window.el (window-state-get-1): Don't assign clone numbers.
5791 Add clone-of item to list of window parameters.
5792 (window-state-put-2): Don't process clone numbers.
5793 (display-buffer-alist): Fix doc-string.
5794
3349e122
SM
57952011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
5796
5797 * subr.el (remq): Don't allocate if it's not needed.
5798 (keymap--menu-item-binding, keymap--menu-item-with-binding)
5799 (keymap--merge-bindings): New functions.
5800 (keymap-canonicalize): Use them to refine the canonicalization.
5801 * minibuffer.el (minibuffer-local-completion-map)
5802 (minibuffer-local-must-match-map): Move initialization from C.
5803 (minibuffer-local-filename-completion-map): Move initialization from C;
5804 don't inherit from anything here.
5805 (minibuffer-local-filename-must-match-map): Make obsolete.
5806 (completing-read-default): Use make-composed-keymap to combine
5807 minibuffer-local-filename-completion-map with either
5808 minibuffer-local-must-match-map or
5809 minibuffer-local-filename-completion-map.
5810
d224ac83
GM
58112011-07-01 Glenn Morris <rgm@gnu.org>
5812
3de63bf8
GM
5813 * type-break.el (type-break-time-sum): Use dolist.
5814
d224ac83
GM
5815 * textmodes/flyspell.el (flyspell-word-search-backward):
5816 Replace CL function.
5817
1a1e3f32
SM
58182011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
5819
fe3f64d5
SM
5820 * mouse.el (mouse--strip-first-event): New function.
5821 (function-key-map): Use it to map fringe clicks to normal clicks
5822 by default.
5823
eb604e34
SM
5824 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
5825 (vc-bzr-revision-completion-table): Add support for annotate and date.
5826
1a1e3f32
SM
5827 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
5828 inherit from parent.
5829
5bd35902
LMI
58302011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
5831
ace6c69c 5832 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 5833 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 5834
191e2bed
LMI
5835 * dired.el (dired-mode): Fix up the doc string as suggested by
5836 Drew Adams (bug#8817).
5837
5bd35902
LMI
5838 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
5839 cookie, since the manual says that it should be possible to add
5840 this function to `find-file-hook' (bug#8709).
5841
eee8207a
TZ
58422011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
5843
5844 * progmodes/cfengine.el: Moved all cfengine3.el functionality
5845 here. Noted Ted Zlatanov as the maintainer.
5846 (cfengine-common-settings, cfengine-common-syntax): New functions
5847 to set up common things between `cfengine-mode' and
5848 `cfengine3-mode'.
5849 (cfengine3-mode): New mode.
5850 (cfengine3-defuns cfengine3-defuns-regex
5851 (cfengine3-class-selector-regex cfengine3-category-regex)
5852 (cfengine3-vartypes cfengine3-font-lock-keywords)
5853 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 5854 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 5855
36b148cf
MA
58562011-07-01 Michael Albinus <michael.albinus@gmx.de>
5857
5858 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
5859
5860 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
5861
0bf4ba9a
MR
58622011-07-01 Martin Rudalics <rudalics@gmx.at>
5863
5864 * window.el (same-window-buffer-names, same-window-regexps)
5865 (same-window-p, special-display-frame-alist)
5866 (special-display-popup-frame, special-display-function)
5867 (special-display-buffer-names, special-display-regexps)
5868 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
5869 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
5870 (split-window-preferred-function, split-height-threshold)
5871 (split-width-threshold, even-window-heights)
5872 (display-buffer-mark-dedicated, window-splittable-p)
5873 (split-window-sensibly, window-safely-shrinkable-p):
5874 Un-obsolete.
5875 (display-buffer): Don't spread args with function specifier
5876 because special-display-popup-frame won't like it.
5877
35837f51
PE
58782011-07-01 Paul Eggert <eggert@cs.ucla.edu>
5879
d0672f86
PE
5880 Time-stamp simplifications and fixes.
5881 These improve accuracy slightly, and future-proof the code
5882 against some potential changes to current-time format.
5883
b9444d97
PE
5884 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
5885 by using time-since and float-time.
5886
0ef923dc
PE
5887 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
5888 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
5889 + NNN microseconds".
5890
2f81380d
PE
5891 * type-break.el (type-break-time-sum): Rewrite using time-add.
5892
845b5c3e
PE
5893 * play/hanoi.el (hanoi-current-time-float): Remove.
5894 All uses replaced by float-time.
5895
ee6f1be0
PE
5896 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
5897 This yields a more-accurate answer.
5898 (rng-time-to-float): Remove; no longer needed.
5899
fe955043
PE
5900 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
5901
5777162a
PE
5902 * calendar/timeclock.el (timeclock-seconds-to-time):
5903 Defalias to seconds-to-time, since they're the same thing.
5904
3103f8b6 5905 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 5906 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
5907 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
5908
0e61a35f
SM
59092011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
5910
5911 * window.el (bury-buffer): Don't iconify the only frame.
5912 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
5913 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
5914
ddd63a1e
CY
59152011-07-01 Chong Yidong <cyd@stupidchicken.com>
5916
0e61a35f
SM
5917 * eshell/em-smart.el (eshell-smart-display-navigate-list):
5918 Add mouse-yank-primary.
ddd63a1e 5919
055f4923
TZ
59202011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
5921
5922 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
5923
6a2fb145
SM
59242011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
5925
5926 * emacs-lisp/find-func.el (find-library--load-name): New fun.
5927 (find-library-name): Use it to find relative load names when provided
5928 absolute file name (bug#8803).
5929
fd4983f2
LMI
59302011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
5931
887d14ad
LMI
5932 * textmodes/flyspell.el (flyspell-word): Consider words that
5933 differ only in case as potential doublons (bug#5687).
5934
c53dc7fc
LMI
5935 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
5936 Remove two rather uninteresting debugging-like messages to make
5937 debbugs.el more silent.
5938
fd4983f2
LMI
5939 * comint.el (comint-password-prompt-regexp): Accept "Response" as
5940 a password-like phrase.
5941
b14c0c55
AM
59422011-06-30 Mastake YAMATO <yamato@redhat.com>
5943
5944 * progmodes/cc-guess.el: New file.
5945
6a2fb145 5946 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
5947
5948 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
5949 derived from `c-basic-common-init'.
5950
5951 * progmodes/cc-mode.el (top-level): Require cc-guess.
5952 (c-basic-common-init): Use `cc-choose-style-for-mode'.
5953
1fa280a3
LM
59542011-06-30 Lawrence Mitchell <wence@gmx.li>
5955
5956 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
5957
e6597158
AM
59582011-06-30 Alan Mackenzie <acm@muc.de>
5959
1fa280a3
LM
5960 * progmodes/cc-engine.el (c-guess-continued-construct):
5961 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
5962 lock is disabled. Name this case as "CASE G".
5963
68ba37fb
KM
59642011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
5965
5966 * allout.el (allout-yank-processing): Fix injection of extra space
5967 between bullet and non-whitespace character in first topic when
5968 pasting, ensuring that the actual spacing in the pasted topic
5969 following the bullet char is preserved. This extra space was
5970 causing pasted encrypted topics to get a decrypted status even
5971 when the content was actually still encrypted. Now the decryption
5972 status from before the paste is preserved.
5973
5974 (allout-flag-region): Set all allout overlays so they evaporate
5975 when reduced to zero length (evanescent), to prevent overlay
5976 leakage.
5977
887a0b34
GM
59782011-06-30 Glenn Morris <rgm@gnu.org>
5979
94b9acce
GM
5980 * w32-fns.el (w32-charset-info-alist): Declare.
5981
1d9b46d4
GM
5982 * find-dired.el (find-grep-options): Simplify.
5983
cc232200
GM
5984 * term/ns-win.el (ns-set-resource): Declare.
5985
28e77c46
GM
5986 * ses.el (row, col): Declare dynamic variables honestly.
5987
887a0b34
GM
5988 * textmodes/reftex-parse.el (index-tags): Declare.
5989
658d8eb8
CY
59902011-06-30 Chong Yidong <cyd@stupidchicken.com>
5991
5992 * cus-edit.el (customize-push-and-save): New function.
5993
5994 * files.el (hack-local-variables-confirm): Use it.
5995
1fa280a3
LM
5996 * custom.el (load-theme): New arg NO-CONFIRM.
5997 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
5998 (custom-enabled-themes): Doc fix.
5999
6000 * cus-theme.el (customize-create-theme)
6001 (custom-theme-merge-theme): Callers to load-theme changed.
6002
bb617717
LMI
60032011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
6004
d61bdd5d
LMI
6005 * thingatpt.el (thing-at-point-short-url-regexp): Require that
6006 short URLs have at least one dot in them (bug #7614).
6007
bb617717
LMI
6008 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
6009 nil, because using a pty is apparently too slow (bug #895).
6010
2f31f37a
LMI
60112011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
6012
6013 * mail/sendmail.el (sendmail-query-once): New function.
6014 (sendmail-query-once-function): New variable.
6015
3076b24e
GM
60162011-06-29 Glenn Morris <rgm@gnu.org>
6017
faf2a174
GM
6018 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
6019
3076b24e
GM
6020 * ses.el (top-level): Require cl when compiling.
6021 (ses-set-localvars): Fix error statement.
6022 Call it at compile time to silence a storm of warnings.
6023
5386012d
MR
60242011-06-29 Martin Rudalics <rudalics@gmx.at>
6025
6026 * window.el (normalize-live-buffer): Rename to
6027 window-normalize-buffer.
6028 (normalize-live-frame): Rename to window-normalize-frame.
6029 (normalize-any-window): Rename to window-normalize-any-window.
6030 (normalize-live-window): Rename to window-normalize-live-window.
6031 (make-window-atom): Rename to window-make-atom.
6032 (window-resize-reset): Rename to window--resize-reset.
6033 (window-resize-reset-1): Rename to window--resize-reset-1.
6034 (resize-mini-window): Rename to window--resize-mini-window.
6035 (resize-subwindows-skip-p): Rename to
6036 window--resize-subwindows-skip-p.
6037 (resize-subwindows-normal): Rename to
6038 window--resize-subwindows-normal.
6039 (resize-subwindows): Rename to window--resize-subwindows.
6040 (resize-other-windows): Rename to window--resize-siblings.
6041 (resize-this-window): Rename to window--resize-this-window.
6042 (resize-root-window): Rename to window--resize-root-window.
6043 (resize-root-window-vertically): Rename to
6044 window--resize-root-window-vertically.
6045 (normalize-buffer-to-display): Rename to
6046 window-normalize-buffer-to-display.
6047 (normalize-buffer-to-switch-to): Rename to
6048 window-normalize-buffer-to-switch-to.
6049 Correspondingly update all callers of the functions listed
6050 above.
6051 (display-buffer-alist, display-buffer-normalize-arguments)
6052 (display-buffer-normalize-options, display-buffer)
6053 (display-buffer-alist-set): Use "function" instead of
6054 "fun-with-args".
6055
1176868d
CY
60562011-06-28 Chong Yidong <cyd@stupidchicken.com>
6057
6058 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
6059 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
6060 debbugs.gnu.org. Mention acknowledgment email.
6061
20a7a65f
LMI
60622011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
6063
6064 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
6065 buffer multibyteness, since it shouldn't matter.
6066
5f45cca5
MR
60672011-06-28 Martin Rudalics <rudalics@gmx.at>
6068
6069 * window.el (display-buffer-in-side-window): Handle dedicated
6070 windows as in display-buffer-reuse-window.
6071 (display-buffer-normalize-alist): Use value of override
6072 specifier.
6073 (display-buffer-normalize-specifiers): Use value of
6074 other-window-means-other-frame specifier.
6075 (display-buffer-alist): Rewrite some texts in widgets.
6076 (display-buffer): Spread arguments when calling function
6077 specified by fun-with-args.
6078
ad85fe1f
DD
60792011-06-28 Deniz Dogan <deniz@dogan.se>
6080
1fa280a3
LM
6081 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
6082 Unnest `let'.
da68c4c8 6083
ad85fe1f
DD
6084 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
6085 selectors (Bug#5732).
ec49bd31 6086 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 6087
a08cc025
JA
60882011-06-27 Jari Aalto <jari.aalto@cante.net>
6089
6090 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
6091 (eshell-ls-date-format): New defcustom.
6092 (eshell-ls-file): Use it.
6093
e2b551c5
SM
60942011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
6095
6096 * help-fns.el (describe-variable): Fix message for terminal-local vars.
6097
8982b231
KY
60982011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
6099
6100 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
6101 (ange-ftp-make-tmp-name): New arg.
6102 (ange-ftp-file-local-copy): Use it.
6103
36c9fa27
J
61042011-06-27 Jambunathan K <kjambunathan@gmail.com>
6105
6106 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
6107 no-conversion (Bug#8870).
6108
d68443dc
MR
61092011-06-27 Martin Rudalics <rudalics@gmx.at>
6110
6111 * window.el (window-right, window-left, window-child)
6112 (window-child-count, window-last-child)
6113 (window-iso-combination-p, walk-window-tree-1)
6114 (window-atom-check-1, window-tree-1, delete-window)
6115 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
6116 new naming conventions - window-vchild, window-hchild,
6117 window-next and window-prev are now called window-top-child,
6118 window-left-child, window-next-sibling and window-prev-sibling
6119 respectively.
d615d6d2
MR
6120 (resize-window-reset): Rename to window-resize-reset.
6121 (resize-window-reset-1): Rename to window-resize-reset-1.
6122 (resize-window): Rename to window-resize.
6123 (window-min-height, window-min-width)
6124 (resize-mini-window, resize-this-window, resize-root-window)
6125 (resize-root-window-vertically, adjust-window-trailing-edge)
6126 (enlarge-window, shrink-window, maximize-window)
6127 (minimize-window, delete-window, quit-restore-window)
6128 (split-window, balance-windows, balance-windows-area-adjust)
6129 (balance-windows-area, window-state-put-2)
6130 (display-buffer-even-window-sizes, display-buffer-set-height)
6131 (display-buffer-set-width, set-window-text-height)
6132 (fit-window-to-buffer): Rename all "resize-window" prefixed
6133 calls to use the "window-resize" prefix convention.
6134 (display-buffer-alist): Fix symbol for label specifier.
6135 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
6136 corresponding specifier.
6137 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 6138
b6458526
VB
61392011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
6140
6141 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
6142 convention.
6143 (ses-call-printer): Does not pass an empty string to formatter when the
6144 cell is empty to keep from barking printer Calc math-format-value.
6145
d31fd9ac
RS
61462011-06-27 Richard Stallman <rms@gnu.org>
6147
43d5bf84
RS
6148 * battery.el (battery-mode-line-limit): New variable.
6149 (battery-update): Handle it.
6150
d31fd9ac
RS
6151 * mail/rmailmm.el (rmail-mime-process-multipart):
6152 Handle truncated messages.
6153
819a6054
GM
61542011-06-27 Glenn Morris <rgm@gnu.org>
6155
6156 * progmodes/flymake.el (flymake-err-line-patterns):
6157 Allow for column numbers in the ant/javac pattern. (Bug#8866)
6158
cedc73f2
VB
61592011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
6160
819a6054 6161 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
6162 (ses--clean-!, ses--clean-_): New functions.
6163 (ses-range): Add configurability of readout order, and conversion
6164 to Calc vector.
6165
5e5d49b6
VB
6166 * ses.el (ses-repair-cell-reference-all): New function.
6167 (ses-cell-symbol): Set macro as safe, so that it can be used in
6168 formulas.
6169
56e6cc31 6170 * ses.el: Update cycle detection algorithm.
90ca8b49 6171 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 6172 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
6173 (ses-set-localvars): New function.
6174 (ses-make-cell): Add property-list as a cell element.
6175 (ses-cell-property-get-fun, ses-cell-property-get)
6176 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
6177 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
6178 New functions.
90ca8b49
VB
6179 (ses-cell-property-set, ses-cell-property-pop)
6180 (ses-cell-property-get-handle): New macro.
6181 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
6182 New aliases, used for code readability.
6183 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
6184 cycle detection.
6185 (ses-self-reference-early-detection): New defcustom.
fac916bf 6186 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
6187 (ses-mode): Use ses-set-localvars.
6188 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
6189 before lauching the update processing.
6190 (ses-initialize-Dijkstra-attempt): New function.
6191 (ses-recalculate-cell): Update for cycle detection based on
6192 Dijkstra algorithm.
6193
2bb63e81
VB
6194 * ses.el: Fix commenting and indenting convention.
6195
c9d29fb8
SM
61962011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
6197
6198 * bs.el (bs-cycle-next): Complete last change.
6199
d8e4b68b
JB
62002011-06-27 Drew Adams <drew.adams@oracle.com>
6201
6202 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
6203
40098786
LMI
62042011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
6205
c9d29fb8
SM
6206 * net/network-stream.el (network-stream-open-starttls):
6207 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
6208 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
6209
40098786
LMI
6210 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
6211 to binary to possibly avoid line encoding issues on Windows (among
6212 other things).
6213
468d09d4
LMI
62142011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
6215
6216 * net/network-stream.el (open-network-stream): Return an :error
6217 saying what the problem was, if possible.
6218
6219 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
6220 server.
6221
6222 * net/network-stream.el (network-stream-open-starttls): If we
6223 wanted to use STARTTLS, and the server offered it, but we weren't
6224 able to because we had no STARTTLS support, then close the connection.
6225 (open-network-stream): Return an :error element, if present.
6226
16f07dd7
CY
62272011-06-26 Chong Yidong <cyd@stupidchicken.com>
6228
88821ca0
CY
6229 * hl-line.el (hl-line-sticky-flag): Doc fix.
6230 (global-hl-line-sticky-flag): New option (Bug#8323).
6231 (global-hl-line-highlight): Obey it.
6232
16f07dd7
CY
6233 * vc/vc.el (vc-revert-show-diff): Default to t.
6234
6b5ccddf
KM
62352011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
6236
c9d29fb8
SM
6237 * allout-widgets.el (allout-widgets-post-command-business):
6238 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
6239 undecorated when an isearch is continued past, and isearch
6240 automatically collapses them. This leads to "widget leaks", where
6241 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
6242 hidden widgets can slow down cursor travel, substantially.
6243 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
6244 so we're doing without this nicety.
6245
6246 (allout-widgets-tally-string): Don't try to do a hash-table-count
6247 of allout-widgets-tally when it's nil. This eliminates spurious "Error
6248 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
6249 *Messages* when allout-widgets-maintain-tally is t.
6250
355f2e07
MR
62512011-06-26 Martin Rudalics <rudalics@gmx.at>
6252
6253 * window.el (display-buffer-normalize-argument): Rename to
6254 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
6255 LABEL argument. Respect special-display-function when popping up
6256 a new frame. Fix code searching for a window showing the buffer
6257 on another frame.
c9d29fb8
SM
6258 (display-buffer-normalize-specifiers):
6259 Call display-buffer-normalize-arguments.
355f2e07
MR
6260 (display-buffer-in-window): Don't undedicate the window if its
6261 buffer remains the same.
6262 Reported by Drew Adams <drew.adams@oracle.com>.
6263 (display-buffer-alist): Add choice for same-window macro
6264 specfier.
6265 (display-buffer): Mention special meaning of LABEL argument in
6266 doc-string. Fix quoting. Don't pop up a new frame even as
6267 fallback.
6268
7ca8fc42
JB
62692011-06-26 Juanma Barranquero <lekktu@gmail.com>
6270
6271 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
6272 avoid deleting the current window in some cases (bug#8911).
6273
bc312254
AS
62742011-06-26 Andreas Schwab <schwab@linux-m68k.org>
6275
6276 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
6277 (Bug#8934)
6278
2db18f3f
LMI
62792011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
6280
c9d29fb8
SM
6281 * net/network-stream.el (network-stream-open-starttls):
6282 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
6283 (network-stream-open-tls): Ditto.
6284
6302e0d3
LL
62852011-06-26 Leo Liu <sdl.web@gmail.com>
6286
6287 * register.el (registerv): New struct.
6288 (registerv-make): New function.
c9d29fb8
SM
6289 (jump-to-register, describe-register-1, insert-register):
6290 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
6291 struct. (Bug#8415)
6292
5fdd4046
CY
62932011-06-26 Chong Yidong <cyd@stupidchicken.com>
6294
2afef60a
CY
6295 * vc/vc.el (vc-revert-show-diff): New defcustom.
6296 (vc-diff-internal): New arg specifying diff buffer.
6297 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
6298 reuse an existing *vc-diff* buffer (Bug#8927).
6299
5fdd4046
CY
6300 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
6301
e93db24a
GM
63022011-06-26 Glenn Morris <rgm@gnu.org>
6303
6304 * progmodes/f90.el (f90-critical-indent): New option.
6305 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
6306 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
6307 (f90-mode): Doc fix.
6308 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
6309 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
6310 (f90-beginning-of-block, f90-next-block, f90-indent-region)
6311 (f90-match-end): Handle block, critical.
6312
eefff499
GM
63132011-06-25 Glenn Morris <rgm@gnu.org>
6314
f6ba4cc9
GM
6315 * calendar/diary-lib.el (diary-included-files): Doc fix.
6316 (diary-include-files): New function, extracted from
6317 diary-include-other-diary-files and diary-mark-included-diary-files.
6318 (diary-include-other-diary-files, diary-mark-included-diary-files):
6319 Just call diary-include-files.
6320 (diary-mark-entries): Reset diary-included-files on first call.
6321
16712304
GM
6322 * calendar/diary-lib.el (diary-mark-entries)
6323 (diary-mark-included-diary-files):
6324 Visit included diary-files in temp buffers.
6325
5d8e0d43
GM
6326 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
6327 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
6328 (f90-start-block-re, f90-imenu-generic-expression)
6329 (f90-looking-at-program-block-start, f90-no-block-limit):
6330 Add support for submodules.
6331
ccf7a5d5
GM
6332 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
6333 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 6334
11fdef7d 63352011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
6336
6337 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
6338 buffer-file-type before setting its value, to avoid disastrous
eefff499 6339 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 6340
74f53697
JB
63412011-06-25 Juanma Barranquero <lekktu@gmail.com>
6342
6343 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
6344
6345 * ses.el (ses-unload-function):
6346 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
6347
6348 * proced.el (proced-unload-function):
6349 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
6350
18a4ce5e
AR
63512011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
6352
6353 * server.el (server-create-window-system-frame): Add parameters arg.
6354 (server-process-filter): Doc fix. Handle frame-parameters.
6355
519d22cc
JB
63562011-06-25 Juanma Barranquero <lekktu@gmail.com>
6357
6358 Fix bug#8730, bug#8781.
6359
6360 * loadhist.el (unload--set-major-mode): New function.
6361 (unload-feature): Use it.
6362
6363 * progmodes/python.el (python-after-info-look): Add autoload cookie.
6364 (python-unload-function): New function.
6365
c206f5b0
SM
63662011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
6367
6368 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
6369
f9ad64f3
GS
63702011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
6371
6372 * net/browse-url.el (browse-url-firefox-program): Add icecat to
6373 the candidates list.
6374
7d0da90e
JB
63752011-06-24 Juanma Barranquero <lekktu@gmail.com>
6376
6377 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
6378
14b4e83d
RS
63792011-06-23 Richard Stallman <rms@gnu.org>
6380
6381 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
6382 (rmail-variables): Set next-error-move-function.
6383 (rmail-what-message): Take argument POS.
6384 (rmail-next-error-move): New function.
6385
273d2baf
SM
63862011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
6387
6388 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
6389 messages for adjacent non-terminals.
6390
56c2cc9a
RS
63912011-06-23 Richard Stallman <rms@gnu.org>
6392
6393 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 6394 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
6395 (rmail-start-mail): Don't specify use of rmail-mail-return;
6396 that's done by mail-bury now.
6397 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 6398
d59eb518
MA
63992011-06-23 Michael Albinus <michael.albinus@gmx.de>
6400
6401 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
6402 SIZE is a number.
6403
02cfc6d6
MR
64042011-06-23 Martin Rudalics <rudalics@gmx.at>
6405
6406 * window.el (get-lru-window, get-mru-window)
6407 (get-largest-window): Never return a minibuffer window.
6408 (display-buffer-pop-up-window): Fix a bug that could lead to
6409 reusing the minibuffer window.
6410 (display-buffer): Pass original specifier argument to
6411 display-buffer-function instead of the normalized one.
6412 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
6413
4e323265
LL
64142011-06-22 Leo Liu <sdl.web@gmail.com>
6415
6416 * minibuffer.el (completing-read-function)
6417 (completing-read-default): Move from minibuf.c
6418
7a70468f
RS
64192011-06-22 Richard Stallman <rms@gnu.org>
6420
50718fc2
RS
6421 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
6422 to Rmail even if not started by a special Rmail command.
6423
7a70468f
RS
6424 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
6425 Copy the buffer currently showing just one message.
6426
297dde5a
RW
64272011-06-22 Roland Winkler <winkler@gnu.org>
6428
6429 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
6430 (bibtex-clean-entry): First delete the old key so that a
6431 customized algorithm for generating the new key does not get
6432 confused by the old key.
6433 (bibtex-url): Obey regexp of first step.
6434 (bibtex-search-entries): Do not use add-to-list with local
6435 list-var.
6436
97bb1093
LMI
64372011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
6438
6439 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
6440 stored a user name, then query for the password first, instead of
6441 waiting for SMTP to give an error message and the trying again.
6442
1c0f1a19
JD
64432011-06-22 Lawrence Mitchell <wence@gmx.li>
6444
6445 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
6446 BUFFER in call-process.
6447
396f7c9d
LMI
64482011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
6449
6450 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
6451 QUIT twice.
ddb7ffee
LMI
6452 (smtpmail-try-auth-methods): Require user name and password from
6453 auth-source.
396f7c9d 6454
8998d1b3
MR
64552011-06-22 Martin Rudalics <rudalics@gmx.at>
6456
6457 * window.el (display-buffer-default-specifiers)
6458 (display-buffer-alist): Remove entries for pop-up-frame-alist.
6459 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 6460 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
6461
6462 * frame.el (pop-up-frame-alist, pop-up-frame-function)
6463 (special-display-frame-alist, special-display-popup-frame):
6464 Remove duplicate declarations. These are now in window.el.
6465
4ea31e07
LMI
64662011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
6467
c9d29fb8
SM
6468 * mail/smtpmail.el (smtpmail-via-smtp):
6469 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
6470 server supports it. SMTP servers that support STARTTLS commonly
6471 require it.
6472
6473 * net/network-stream.el (network-stream-open-starttls): Support
6474 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 6475 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 6476
95f41d9a
LMI
6477 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
6478 upgrades with `open-network-stream', and rely solely on
6479 auth-source for all credentials. Big changes throughout the file,
6480 but in particular:
c9d29fb8
SM
6481 (smtpmail-auth-credentials): Remove.
6482 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
6483 (smtpmail-via-smtp): Check for servers saying they want AUTH after
6484 MAIL FROM, too.
95f41d9a 6485
c9d29fb8
SM
6486 * net/network-stream.el (network-stream-open-starttls):
6487 Provide support for client certificates both for external and built-in
4ea31e07
LMI
6488 STARTTLS.
6489 (auth-source): Require.
6490 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
6491 (network-stream-certificate): Change cert-cert to cert and
6492 cert-key to key.
4ea31e07 6493
065ec2c7
MA
64942011-06-21 Michael Albinus <michael.albinus@gmx.de>
6495
6496 * net/tramp-cache.el (top): Don't load the persistency file when
6497 "emacs -Q" has been called.
6498
cd93b359
DR
64992011-06-21 Tim Harper <timcharper@gmail.com>
6500
d8e4b68b
JB
6501 * term/ns-win.el (ns-initialize-window-system):
6502 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
6503 resource to NO as it is not yet supported by the NS port.
6504
ae9c0411
JB
65052011-06-21 Juanma Barranquero <lekktu@gmail.com>
6506
6507 * misc.el (list-dynamic-libraries--refresh): Compute header here...
6508 (list-dynamic-libraries): ...not here.
6509
7f3f739f
LL
65102011-06-21 Leo Liu <sdl.web@gmail.com>
6511
6512 * subr.el (sha1): Implement sha1 using secure-hash.
6513
327c8fb1
MR
65142011-06-21 Martin Rudalics <rudalics@gmx.at>
6515
6516 * window.el (display-buffer-alist): In default value do not
6517 enforce searching a window on any but the selected frame.
6518 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
6519 (display-buffer-select-window): Remove function.
6520 (display-buffer-in-window): When a window on another frame gets
6521 reused, do not select it any more but just raise its frame if
6522 necessary (Bug#8851) and (Bug#8856).
6523 (display-buffer-normalize-options): Handle pop-up-frames related
6524 options more faithfully.
6525 (pop-to-buffer): Don't rely on `display-buffer' selecting the
6526 window if it is on another frame.
c9d29fb8
SM
6527 (display-buffer-alist, display-buffer-default-specifiers):
6528 Don't make new frame unsplittable by default.
9e9de014
MR
6529 (display-buffer-normalize-argument): Fix doc-string typo and use
6530 'same-frame-other-window instead of 'other-window when associating
6531 with display-buffer-macro-specifiers.
327c8fb1 6532
7cf3f556
VB
65332011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
6534
6535 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
6536 New functions.
6537 (5x5-mode-map, 5x5-mode-menu): Bind them.
6538 (5x5-draw-grid): Tweak the solver's rendering.
6539
60a406cf
SM
65402011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
6541
6542 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
6543 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
6544
d8e4b68b 65452011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
6546
6547 * menu-bar.el: Use function variable instead of switch-to-buffer.
6548 (menu-bar-select-buffer-function): New variable.
60a406cf 6549 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 6550
478d6f95
SM
65512011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
6552
6553 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
6554 variable's status.
6555
ca530739
JD
65562011-06-20 Jan Djärv <jan.h.d@swipnet.se>
6557
6558 * x-dnd.el (x-dnd-version-from-flags)
6559 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
6560 and long as number (Bug#8899).
6561 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
6562
bcd70d97
SM
65632011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
6564
60a406cf 6565 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
6566 (completion-try-completion, completion-all-completions): Compute the
6567 metadata argument if it's missing; make it optional (bug#8795).
6568
60a406cf 6569 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
6570 (widget-complete): Use new :completion-function property.
6571 (widget-completions-at-point): New function.
6572 (default): Use :completion-function instead of :complete.
60a406cf
SM
6573 (widget-default-completions): Rename from widget-default-complete;
6574 Rewrite.
bcd70d97
SM
6575 (widget-string-complete, widget-file-complete, widget-color-complete):
6576 Remove functions.
6577 (file, symbol, function, variable, coding-system, color):
6578 * international/mule-cmds.el (default-input-method, charset)
6579 (language-info-custom-alist):
6580 * cus-edit.el (face): Use new property :completions.
6581
6582 * progmodes/pascal.el (pascal-completions-at-point): New function.
6583 (pascal-mode): Use it.
6584 (pascal-mode-map): Use completion-at-point.
6585 (pascal-toggle-completions): Make obsolete.
6586 (pascal-complete-word, pascal-show-completions):
6587 * progmodes/octave-mod.el (octave-complete-symbol):
6588 Redefine as obsolete alias.
6589 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
6590 Signal absence of completion info for old Octave,
6591 (inferior-octave-complete): Redefine as obsolete alias.
6592 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
6593 (meta-completions-at-point): Rename from meta-complete-symbol and
6594 adapt it for use on completion-at-point-functions.
6595 (meta-common-mode): Use it.
6596 (meta-looking-at-backward, meta-match-buffer): Remove.
6597 (meta-complete-symbol): Redefine as obsolete alias.
6598 (meta-common-mode-map): Use completion-at-point.
6599 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
6600 (makefile-mode-map): Use completion-at-point.
6601 (makefile-completions-at-point): Rename from makefile-complete and
6602 adapt it for use on completion-at-point-functions.
6603 (makefile-mode): Use it.
6604 (makefile-complete): Redefine as obsolete alias.
6605
aebf69c8
DD
66062011-06-20 Deniz Dogan <deniz@dogan.se>
6607
6608 * net/rcirc.el: Delete trailing whitespaces once and for all.
6609
bfbbb27d
DC
66102011-06-20 Daniel Colascione <dan.colascione@gmail.com>
6611
6612 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
6613
d264a46b
CY
66142011-06-19 Chong Yidong <cyd@stupidchicken.com>
6615
4ca009e5
CY
6616 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
6617
d264a46b
CY
6618 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
6619
fbf5b3ce
MR
66202011-06-19 Martin Rudalics <rudalics@gmx.at>
6621
6622 * window.el (display-buffer-other-window-means-other-frame):
6623 Call display-buffer-normalize-alist.
6624 (display-buffer-normalize-specifiers-1): Rename to
6625 display-buffer-normalize-argument. New argument other-frame.
6626 Rewrite.
6627 (display-buffer-normalize-specifiers-2): Rename to
6628 display-buffer-normalize-options.
6629 (display-buffer-normalize-alist-1): New function.
6630 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
6631 display-buffer-normalize-alist.
6632 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
6633 (display-buffer-normalize-options-inhibit): New variable.
6634 (display-buffer-normalize-specifiers): Rewrite calling
6635 display-buffer-normalize-alist,
6636 display-buffer-normalize-argument, and
6637 display-buffer-normalize-options. Don't call the latter if
6638 display-buffer-normalize-options-inhibit is non-nil.
6639 (frame-auto-delete): New option.
6640 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
6641 (window-list-no-nils, window-state-ignored-parameters)
6642 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
6643 (window-state-put-1, window-state-put-2, window-state-put):
6644 New functions.
9a028c23
MR
6645 (display-buffer-normalize-options): Move special-display-p group
6646 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 6647
6d10d800
CY
66482011-06-18 Chong Yidong <cyd@stupidchicken.com>
6649
6420d28b
CY
6650 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
6651 groups (Bug#8776).
6652 (rx-submatch-n): New function.
6653 (rx): Document it.
6654
ddb8b596
CY
6655 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
6656 (Bug#8768).
6657
6658 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
6659
77080289
CY
6660 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
6661
61dfb316
CY
6662 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
6663 anytime existing face settings are present (Bug#8889).
6664
6d10d800
CY
6665 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
6666 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
6667 Remove unused argument.
6668
be3fb2b8
MR
66692011-06-18 Martin Rudalics <rudalics@gmx.at>
6670
bcd70d97
SM
6671 * window.el (display-buffer-default-specifiers):
6672 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
6673 pop-up-window-min-width, and another reuse-window specifier
6674 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
6675 (display-buffer-normalize-specifiers-2):
6676 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
6677 pop-up-windows is unset. Add a reuse-window specifier for the
6678 case popping up a new window fails.
6679 (special-display-popup-frame): Remove double quoting.
28dec25a 6680 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 6681
1c6d8c76
SM
66822011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
6683
6684 * shell.el (shell-completion-vars): Set pcomplete-termination-string
6685 according to comint-completion-addsuffix.
6686
6687 * pcomplete.el: Convert to lexical binding and fix bug#8819.
6688 (pcomplete-suffix-list): Mark as obsolete.
6689 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
6690 pcomplete-seen in the closure.
6691 (pcomplete-comint-setup): Setup completion-at-point as well.
6692 (pcomplete--entries): New function.
6693 (pcomplete--env-regexp): New var.
6694 (pcomplete-entries): Rewrite to work with partial-completion and
6695 without relying on pcomplete-suffix-list.
6696 (pcomplete-pare-list): Remove, unused.
6697
25aef8b8
MR
66982011-06-17 Martin Rudalics <rudalics@gmx.at>
6699
6700 * window.el (display-buffer-alist): Set pop-up-window-min-height
6701 and pop-up-window-min-width in default value. Reported by
6702 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
6703 other-window-means-other-frame.
6704 (display-buffer-macro-specifiers): Comment out entry for
6705 other-window specifier.
6706 (display-buffer-other-window-means-other-frame): New function.
6707 (display-buffer-normalize-specifiers-1): New arguments
6708 buffer-name and label. Treat other-window case specially.
6709 (display-buffer-normalize-specifiers-2): Treat other-window case
6710 specially.
6711 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
6712 (display-buffer-normalize-specifiers):
6713 Call display-buffer-normalize-specifiers-3.
25aef8b8 6714
dbad4f69
MR
67152011-06-17 Martin Rudalics <rudalics@gmx.at>
6716
6717 * window.el (same-window-p): Fix two typos introduced when
6718 adding with-no-warnings.
d1067961
MR
6719 (display-buffer-normalize-specifiers-1): Don't check
6720 pop-up-frames for 'unset initialization.
6721 (display-buffer-normalize-specifiers-2): Major rewrite using
6722 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
6723 (pop-up-frames, display-buffer-reuse-frames)
6724 (display-buffer-mark-dedicated): Don't initialize to 'unset.
6725 Suggested by David Engster <deng@randomsample.de>.
6726 (even-window-heights): Initialize to 'unset.
6727 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
6728 (display-buffer-macro-specifiers): Don't pop up a new frame in the
6729 other window case.
dbad4f69 6730
9b9c9e3a
MR
67312011-06-16 Martin Rudalics <rudalics@gmx.at>
6732
bcd70d97
SM
6733 * window.el (display-buffer-normalize-specifiers-1):
6734 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 6735 second argument of display-buffer (Bug#8865).
981d5c09
MR
6736 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
6737 (switch-to-buffer-other-window-same-frame)
6738 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
6739 Adams (Bug#8875).
9c2755e9
MR
6740 (display-buffer): Don't check noninteractive when calling
6741 display-buffer-pop-up-frame.
6742 (display-buffer-pop-up-frame): Never pop up a frame in
6743 noninteractive mode (Bug#8857).
67222e1d
MR
6744 (enlarge-window, shrink-window): Don't report an error when the
6745 window can't be resized as requested (Bug#8862).
9b9c9e3a 6746
2b75be67
SM
67472011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
6748
9ffdd3ba
SM
6749 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
6750
cb581a67
SM
6751 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
6752
2b75be67
SM
6753 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
6754
8c0e3589
AM
67552011-06-15 Alan Mackenzie <acm@muc.de>
6756
cb581a67
SM
6757 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
6758 for declarators, disable knr checking to speed up for normal files.
6759 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 6760
b96e6cde
LMI
67612011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
6762
4bba86e6
LMI
6763 * net/network-stream.el (open-network-stream): Add the keyword
6764 :always-query-capabilities for the case where you want to force a
6765 `plain' network connection, but the protocol still requires the
6766 capabilitiy command (i.e., SMTP and EHLO).
6767
2b75be67 6768 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
6769 consistency with other `-live-p' functions.
6770
efdcdbf8
SM
67712011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
6772
6773 * window.el (same-window-buffer-names, same-window-regexps)
6774 (special-display-frame-alist, special-display-popup-frame)
6775 (special-display-function, special-display-buffer-names)
6776 (special-display-regexps, pop-up-frame-alist)
6777 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
6778 (pop-up-windows, split-window-preferred-function)
6779 (split-height-threshold, split-width-threshold, even-window-heights)
6780 (display-buffer-mark-dedicated): Don't encourage the use of
6781 display-buffer-alist from Elisp code.
6782
c5cde042
DN
67832011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
6784
6785 * progmodes/python.el (python-mode): Derive from prog-mode.
6786 * progmodes/ps-mode.el (ps-mode):
6787 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 6788 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
6789 * progmodes/ld-script.el (ld-script-mode): Likewise.
6790
baa1c9ab
MR
67912011-06-15 Martin Rudalics <rudalics@gmx.at>
6792
6793 * window.el (display-buffer-alist): Trim default value to avoid
6794 popping up a new frame (Bug#8857) or reusing an arbitrary window
6795 on another frame.
6796 (display-buffer): Do not fall back on popping up a new frame in
6797 batch mode (Bug#8857).
6798
c5dd5a51
CY
67992011-06-14 Chong Yidong <cyd@stupidchicken.com>
6800
6801 * cus-theme.el (describe-theme-1): Use custom-theme-p.
6802 (custom-theme-summary): New function.
6803 (customize-themes): Use it.
6804
d647b7c4
GM
68052011-06-13 Glenn Morris <rgm@gnu.org>
6806
6807 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
6808
9481c002
MR
68092011-06-13 Martin Rudalics <rudalics@gmx.at>
6810
357f93d2
MR
6811 * help.el (help-window): Remove variable.
6812 (help-window-point-marker, temp-buffer-max-height)
6813 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
6814 (help-print-return-message): Don't set help-window.
6815 (resize-temp-buffer-window): Rewrite cod eand doc-string.
6816 (help-window-setup-finish): Remove.
6817 (help-window-display-message, help-window-setup)
6818 (with-help-window): Major rewrite based on new
6819 display-buffer-window variable.
6820
6821 * help-mode.el (help-mode-finish): Remove help-window related
6822 code.
6823
6824 * view.el (view-exits-all-viewing-windows): Remove reference to
6825 view-return-to-alist in doc-string.
6826 (view-return-to-alist): Make obsolete.
6827 (view-buffer): Call pop-to-buffer-same-window and remove
6828 undo-window code.
6829 (view-buffer-other-window): Call pop-to-buffer-other-window and
6830 simplify code. Ignore second argument.
6831 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
6832 simplify code. Ignore second argument.
6833 (view-return-to-alist-update): Make obsolete.
6834 (view-mode-enter): Rename second argument to QUIT-RESTORE.
6835 Rewrite using quit-restore window parameters.
2b75be67
SM
6836 (view-mode-exit): Rename second argument to EXIT-ONLY.
6837 Rewrite using quit-restore-window.
357f93d2
MR
6838 (View-exit, View-exit-and-edit, View-leave, View-quit)
6839 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
6840 appropriate arguments.
6841 (view-end-message): Use quit-restore window parameter.
6842
9481c002
MR
6843 * window.el (display-buffer-function): Rewrite doc-string.
6844 (display-buffer-window, display-buffer-alist): New variables.
6845 (display-buffer-split-specifiers)
6846 (display-buffer-side-specifiers)
6847 (display-buffer-macro-specifiers): New constants.
6848 (display-buffer-even-window-sizes, display-buffer-set-height)
6849 (display-buffer-set-width, display-buffer-select-window)
6850 (display-buffer-in-window, display-buffer-reuse-window)
6851 (display-buffer-split-window-1, display-buffer-split-window)
6852 (display-buffer-split-atom-window, display-buffer-pop-up-window)
6853 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
6854 (display-buffer-in-side-window, normalize-buffer-to-display)
6855 (display-buffer-normalize-specifiers-1)
6856 (display-buffer-normalize-specifiers-2)
2b75be67
SM
6857 (display-buffer-normalize-specifiers, display-buffer-frame):
6858 New functions.
9481c002
MR
6859 (display-buffer): Major rewrite.
6860 (display-buffer-other-window, display-buffer-other-frame)
6861 (pop-to-buffer, switch-to-buffer-other-window)
6862 (switch-to-buffer-other-frame): Rewrite.
6863 (display-buffer-same-window, display-buffer-same-frame)
6864 (display-buffer-same-frame-other-window)
6865 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
6866 (pop-to-buffer-other-window)
6867 (pop-to-buffer-same-frame-other-window)
6868 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
6869 (switch-to-buffer-other-window-same-frame): New functions.
6870 (same-window-p, special-display-p): Rewrite disabling warnings.
6871 Make obsolete.
6872 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
6873 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
6874 Make obsolete
6875 (same-window-buffer-names, same-window-regexps)
6876 (special-display-frame-alist, special-display-popup-frame)
6877 (special-display-function, special-display-buffer-names)
6878 (special-display-regexps, pop-up-frame-alist)
6879 (pop-up-frame-function, split-window-preferred-function)
6880 (split-height-threshold, split-width-threshold)
6881 (even-window-heights): Make obsolete.
6882
9db51aca
GM
68832011-06-12 Glenn Morris <rgm@gnu.org>
6884
6885 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 6886 Misc simplifications.
9db51aca 6887
39cffb44
MR
68882011-06-12 Martin Rudalics <rudalics@gmx.at>
6889
6890 * window.el (window-safely-shrinkable-p): Restore function which
6891 was inadvertently removed in change from 2011-06-11. Declare as
6892 obsolete.
6893
2b75be67
SM
6894 * calendar/calendar.el (calendar-generate-window):
6895 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
6896 window-safely-shrinkable-p.
6897
a8955be7
GM
68982011-06-12 Glenn Morris <rgm@gnu.org>
6899
6900 * progmodes/fortran.el (fortran-mode-syntax-table):
6901 * progmodes/f90.el (f90-mode-syntax-table):
6902 Set % to punctuation. (Bug#8820)
6903 (f90-find-tag-default): Remove, no longer needed.
6904
f0d4059d
DC
69052011-06-12 Daniel Colascione <dan.colascione@gmail.com>
6906
6907 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
6908
1100a63c
CY
69092011-06-11 Chong Yidong <cyd@stupidchicken.com>
6910
6911 * image.el (image-animated-p): Return animation delay in seconds.
6912 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
6913 (image-animate-timeout): Remove DELAY argument. Don't assume
6914 every subimage has the same delay; get it from image-animated-p.
6915 (image-animate): Caller changed.
6916
def722bf
MA
69172011-06-11 Michael Albinus <michael.albinus@gmx.de>
6918
6919 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
6920 to ignored backtrace functions.
6921
0a2bb1a9
GM
69222011-06-11 Glenn Morris <rgm@gnu.org>
6923
6924 * calendar/appt.el (appt-disp-window-function): Doc fix.
6925 (appt-check): Handle overlapping appointments. (Bug#8337)
6926
6198ccd0
MR
69272011-06-11 Martin Rudalics <rudalics@gmx.at>
6928
6929 * window.el (window-tree-1, window-tree): New functions, moving
6930 the latter to window.el.
6931 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
6932 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
6933 (bw-refresh-edges): Remove.
6934 (balance-windows-1, balance-windows-2): New functions.
6935 (balance-windows): Rewrite in terms of window tree functions,
6936 balance-windows-1 and balance-windows-2.
6937 (bw-adjust-window): Remove.
6938 (balance-windows-area-adjust): New function with functionality of
6939 bw-adjust-window but using resize-window.
2b75be67
SM
6940 (set-window-text-height): Rewrite doc-string.
6941 Use normalize-live-window and resize-window.
6942 (enlarge-window-horizontally, shrink-window-horizontally):
6943 Rename argument to DELTA.
6198ccd0
MR
6944 (window-buffer-height): New function.
6945 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
6946 Rewrite using new window resize routines.
2b75be67
SM
6947 (kill-buffer-and-window, mouse-autoselect-window-select):
6948 Use ignore-errors instead of condition-case.
6198ccd0
MR
6949 (quit-window): Call delete-frame instead of delete-windows-on
6950 for the only buffer on frame.
6951
9397e56f
MR
69522011-06-10 Martin Rudalics <rudalics@gmx.at>
6953
6954 * loadup.el (top-level): Load window before files for the sake
6955 of replace-buffer-in-windows.
6956
6957 * files.el (read-buffer-to-switch)
6958 (switch-to-buffer-other-window)
2b75be67
SM
6959 (switch-to-buffer-other-frame, display-buffer-other-frame):
6960 Move to window.el.
9397e56f
MR
6961
6962 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
6963 (previous-buffer): Move to window.el.
6964
6965 * bindings.el (unbury-buffer): Move to window.el.
6966
6967 * window.el (delete-other-windows-vertically): Move after
6968 definition of delete-other-windows.
6969 (other-window, delete-windows-on, replace-buffer-in-windows):
6970 Move here from window.c.
6971 (record-window-buffer, unrecord-window-buffer)
6972 (set-window-buffer-start-and-point, switch-to-prev-buffer)
6973 (switch-to-next-buffer): New functions.
6974 (get-next-valid-buffer, last-buffer, next-buffer): Move here
6975 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
6976 (previous-buffer): Move here from simple.el.
6977 Call switch-to-prev-buffer.
9397e56f
MR
6978 (bury-buffer): Move here from buffer.c. Switch to previous
6979 buffer when window cannot be deleted.
6980 (unbury-buffer): Move here from bindings.el.
6981 (ctl-x-map): Move binding for other-window from window.c to
6982 here.
6983 (read-buffer-to-switch, switch-to-buffer-other-window)
6984 (switch-to-buffer-other-frame): Move here from files.el.
6985 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
6986 (switch-to-buffer): Move here from buffer.c.
6987 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 6988
562dd5e9
MR
69892011-06-10 Martin Rudalics <rudalics@gmx.at>
6990
6991 * window.el (window-min-height, window-min-width): Move here
6992 from window.c. Add defcustoms and rewrite doc-strings.
6993 (resize-mini-window, resize-window): New functions.
6994 (adjust-window-trailing-edge, enlarge-window, shrink-window):
6995 Move here from window.c.
6996 (maximize-window, minimize-window): New functions.
6997 (delete-window, delete-other-windows, split-window): Move here
6998 from window.c.
6999 (window-split-min-size): New function.
7000 (split-window-keep-point): Mention split-window-above-each-other
7001 instead of split-window-vertically.
2b75be67 7002 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
7003 Rename split-window-vertically to split-window-above-each-other
7004 and provide defalias for old definition.
7005 (split-window-side-by-side, split-window-horizontally):
7006 Rename split-window-horizontally to split-window-side-by-side
7007 and provide defalias for the old definition.
562dd5e9
MR
7008 (ctl-x-map): Move bindings for delete-window,
7009 delete-other-windows and enlarge-window here from window.c.
7010 Replace bindings for split-window-vertically and
7011 split-window-horizontally by bindings for
7012 split-window-above-each-other and split-window-side-by-side.
7013
7014 * cus-start.el (all): Remove entries for window-min-height and
7015 window-min-width. Add entries for window-splits and
7016 window-nest.
7017
f0da764a
GM
70182011-06-09 Glenn Morris <rgm@gnu.org>
7019
80675c21
GM
7020 * calendar/appt.el (appt-mode-line): New function.
7021 (appt-check, appt-disp-window): Use it.
7022
f0da764a
GM
7023 * files.el (hack-one-local-variable-eval-safep):
7024 Allow minor-modes with explicit +/-1 arguments.
7025
59f623b7
TZ
70262011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
7027
7028 * term/xterm.el (xterm): Add defgroup.
7029 (xterm-extra-capabilities): Add defcustom to supply known xterm
7030 capabilities, skip querying them, or query them (default).
7031 (terminal-init-xterm): Use it.
7032 (terminal-init-xterm-modify-other-keys): New function to set up
7033 modifyOtherKeys support to simplify `terminal-init-xterm'.
7034
9aab8e0d
MR
70352011-06-09 Martin Rudalics <rudalics@gmx.at>
7036
7037 * window.el (resize-window-reset, resize-window-reset-1)
7038 (resize-subwindows-skip-p, resize-subwindows-normal)
7039 (resize-subwindows, resize-other-windows, resize-this-window)
7040 (resize-root-window, resize-root-window-vertically)
7041 (window-deletable-p, window-or-subwindow-p)
7042 (frame-root-window-p): New functions.
7043
e8b08aee
GM
70442011-06-09 Glenn Morris <rgm@gnu.org>
7045
7046 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
7047 (ange-ftp-get-files): Use it.
7048
254c37a5
AK
70492011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
7050
7051 * mail/sendmail.el (mail-recover-1, mail-recover):
7052 * files.el (recover-file, recover-session):
7053 Handle dired-listing-switches not being just a single short option.
7054
35d7dbd3
GM
70552011-06-09 Glenn Morris <rgm@gnu.org>
7056
7057 * calendar/appt.el (appt-display-message, appt-disp-window):
7058 Handle lists of appointments.
7059
387522b2
MR
70602011-06-08 Martin Rudalics <rudalics@gmx.at>
7061
2b75be67
SM
7062 * window.el (one-window-p): Move down in code.
7063 Rewrite doc-string.
7064 (window-current-scroll-bars): Rewrite doc-string.
7065 Normalize live window argument.
387522b2
MR
7066 (walk-windows, get-window-with-predicate, count-windows):
7067 Rewrite doc-string. Use window-list-1.
7068 (window-in-direction-2, window-in-direction, get-mru-window):
7069 New functions.
7070
d8e4b68b 70712011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
7072
7073 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
7074 Doc fix (Bug#8713).
7075
70762011-06-08 Chong Yidong <cyd@stupidchicken.com>
7077
7078 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
7079
70802011-06-08 Juanma Barranquero <lekktu@gmail.com>
7081
7082 * loadhist.el (unload-feature-special-hooks):
7083 Add `comint-output-filter-functions'.
7084
0de12c52
IK
70852011-06-08 Ivan Kanis <gnu@kanis.fr>
7086
7087 * calendar/appt.el (appt-check): Move some initializations into the let.
7088
f3d1777e
MR
70892011-06-08 Martin Rudalics <rudalics@gmx.at>
7090
7091 * window.el (window-height): Defalias to window-total-height.
7092 (window-width): Defalias to window-body-width.
7093
18af70d0
CY
70942011-06-07 Chong Yidong <cyd@stupidchicken.com>
7095
7096 * image-mode.el (image-toggle-animation): New command.
7097 (image-mode-map): Bind it to RET.
7098 (image-mode): Update message.
7099 (image-toggle-display-image): Avoid a spurious cache flush.
7100 (image-transform-rotation): Doc fix.
7101 (image-transform-properties): Return quickly in the normal case.
7102 (image-animate-loop): Rename from image-animate-max-time.
7103
2b75be67 7104 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
7105 (create-animated-image): Remove unnecessary function.
7106 (image-animate): Rename from image-animate-start. New arg.
2b75be67 7107 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
7108 (image-animate-timer): Use car-safe.
7109 (image-animate-timeout): Rename argument.
7110
190b47e6
MR
71112011-06-07 Martin Rudalics <rudalics@gmx.at>
7112
7113 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
7114 window.c. Rename first argument to ALL-FRAMES.
7115 Rephrase doc-strings.
7116 (get-buffer-window-list): Rewrite using window-list-1.
7117 Rephrase doc-string.
a1511caf
MR
7118 (window-safe-min-height, window-safe-min-width): New constants.
7119 (window-size-ignore, window-min-size, window-min-size-1)
7120 (window-sizable, window-sizable-p, window-size-fixed-1)
7121 (window-size-fixed-p, window-min-delta-1, window-min-delta)
7122 (window-max-delta-1, window-max-delta, window-resizable)
7123 (window-resizable-p, window-total-height, window-total-width)
7124 (window-body-width): New functions.
7125 (window-full-height-p, window-full-width-p): Rewrite using
7126 window-total-size.
7127 (window-body-height): Rewrite using window-body-size.
190b47e6 7128
85cc1f11
MR
71292011-06-06 Martin Rudalics <rudalics@gmx.at>
7130
7131 * window.el (window-right, window-left, window-child)
7132 (window-child-count, window-last-child, window-any-p)
7133 (normalize-live-buffer, normalize-live-frame)
7134 (normalize-any-window, normalize-live-window)
7135 (window-iso-combination-p, window-iso-combined-p)
7136 (window-iso-combinations)
7137 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
7138 (windows-with-parameter, window-with-parameter)
7139 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
7140 (window-atom-check, window-side-check, window-check):
7141 New functions.
85cc1f11
MR
7142 (ignore-window-parameters, window-sides, window-sides-vertical)
7143 (window-sides-slots): New variables.
7144 (window-size-fixed): Move down in code. Minor doc-string fix.
7145
e7156492
AS
71462011-06-05 Andreas Schwab <schwab@linux-m68k.org>
7147
7148 * comint.el (comint-dynamic-complete-as-filename)
7149 (comint-dynamic-complete-filename): Correctly call
7150 completion-in-region.
7151
7e821d0d
DD
71522011-06-05 Deniz Dogan <deniz@dogan.se>
7153
7154 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
7155 in last change.
7156
ac09b8a1
DD
71572011-06-05 Deniz Dogan <deniz@dogan.se>
7158
7159 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
7160 (rcirc): Use it to prompt for encryption.
7161
34699b85
RW
71622011-06-05 Roland Winkler <winkler@gnu.org>
7163
7164 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
7165 (bibtex-search-entries): New command bound to C-c C-a.
7166 (bibtex-display-entries): New function.
7167
004dedd3
RW
71682011-06-05 Roland Winkler <winkler@gnu.org>
7169
7170 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
7171 (bibtex-insert-kill): After yanking insert newline if necessary.
7172 (bibtex-initialize): Call bibtex-string-files-init only once.
7173 (bibtex-mode): Do not call easy-menu-add.
7174 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
7175 (bibtex-yank): Set arg properly if nil.
7176
022fe7ce
RW
71772011-06-05 Roland Winkler <winkler@gnu.org>
7178
2b75be67
SM
7179 * textmodes/bibtex.el (bibtex-search-entry-globally):
7180 New variable.
022fe7ce
RW
7181 (bibtex-search-entry): Use it.
7182
b7c3692a
RW
71832011-06-05 Roland Winkler <winkler@gnu.org>
7184
7185 * textmodes/bibtex.el (bibtex-entry-format): New option
7186 sort-fields.
7187 (bibtex-format-entry, bibtex-reformat): Honor this option.
7188 (bibtex-parse-entry): Return fields in proper order.
7189
8eda563d
JB
71902011-06-05 Juanma Barranquero <lekktu@gmail.com>
7191
7192 * doc-view.el (doc-view-remove-if): Move computation of result out
7193 of `dolist' to silence misleading lexical-binding warning.
7194
7dbe3dbc
CY
71952011-06-04 Chong Yidong <cyd@stupidchicken.com>
7196
7197 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
7198 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
7199
0c33dd17
MA
72002011-06-04 Michael Albinus <michael.albinus@gmx.de>
7201
7202 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
7203 "SunOS 5.10".
7204
f8f91c2b
MA
72052011-06-04 Michael Albinus <michael.albinus@gmx.de>
7206
7207 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
7208 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
7209 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
7210 (tramp-parse-putty):
7211 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
7212 (tramp-completion-function-alist-ssh)
7213 (tramp-completion-function-alist-telnet)
7214 (tramp-completion-function-alist-su)
7215 (tramp-completion-function-alist-putty): Set `tramp-autoload'
7216 cookie.
7217
7218 * net/tramp-ftp.el:
7219 * net/tramp-sh.el:
7220 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
7221 load "tramp.el" `tramp-set-completion-function'.
7222
e17d9003
SM
72232011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
7224
7225 * shell.el: Require and use pcomplete.
7226 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
7227 (shell-completion-vars): Set pcomplete-default-completion-function.
7228
6c4cab03
DD
72292011-06-04 Deniz Dogan <deniz@dogan.se>
7230
7231 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
7232 `memq' (Bug#8799).
7233
ea9fafe0
SM
72342011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
7235
7236 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
7237
b3e945d3
JB
72382011-06-02 Juanma Barranquero <lekktu@gmail.com>
7239
7240 * bs.el (bs--mark-unmark, bs--nth-wrapper):
7241 * mpc.el (mpc-select-extend, mpc-songpointer-context):
7242 * vc/log-view.el (log-view-beginning-of-defun):
7243 * vc/smerge-mode.el (smerge-apply-resolution-patch)
7244 (smerge-refine-forward, smerge-refine-chopup-region):
7245 Silence warning for unused `dotimes' counter variables.
7246
7d520089
SM
72472011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
7248
7249 * net/tramp.el (tramp-with-progress-reporter): Rename from
7250 with-progress-reporter. Use `declare'.
7251 * net/tramp-smb.el:
7252 * net/tramp-sh.el:
7253 * net/tramp-gvfs.el: Update all uses.
7254
a1c2400f
JB
72552011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
7256
7257 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
7258 buffer isn't killed before making it current.
7259
2403c841
SM
72602011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
7261
7262 Silence various byte-compiler warnings.
7263 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
7264 `access-type' and new obsolescence format.
7265 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
7266 new format.
7267 (byte-compile-check-variable): New `access-type' argument.
7268 Only warn if the access-type is obsolete.
7269 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
7270 (byte-compile-variable-set): Adjust callers.
7271 * help-fns.el (describe-variable): Adjust to new obsolescence format.
7272 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
7273 setting it as obsolete.
7274 * simple.el (minibuffer-completing-symbol):
7275 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
7276 access as obsolete.
7277 * minibuffer.el (minibuffer-completing-file-name): Don't make it
7278 obsolete yet.
7279 * international/quail.el (quail-mouse-choose-completion): Remove unused
7280 code referring to obsolete var.
7281 (quail-choose-completion-string): Remove.
7282 * server.el (server-clients-with, server-kill-buffer-query-function)
7283 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
7284 * proced.el (proced-send-signal):
7285 * emacs-lisp/lisp.el (lisp-complete-symbol):
7286 Replace completion-annotate-function with completion-extra-properties.
7287
2462470b
SM
72882011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
7289
fb5b2591
SM
7290 * simple.el (goto-line): Use read-number.
7291 (overriding-map-is-bound): Remove.
7292 (saved-overriding-map): Change default.
7293 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
7294 Take the map as argument.
7295 (universal-argument, negative-argument, digit-argument): Use it.
7296 (restore-overriding-map): Adjust.
7297 (do-auto-fill): Use fill-forward-paragraph.
7298 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
7299
fd6fa53f
SM
7300 * minibuffer.el (minibuffer-inactive-mode-map): New var.
7301 (minibuffer-inactive-mode): New major mode.
7302 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
7303 the *Messages* buffer" hack.
7304 (mouse-popup-menubar): Don't burp if the event is a normal key.
7305
2462470b
SM
7306 Miscellaneous tweaks.
7307 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
7308 lexical scoping as in subr.el's dolist and dotimes.
7309 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
7310 Silence compiler warning.
7311 * thingatpt.el (forward-whitespace): Trivial coding style fix.
7312 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
7313 * international/ccl.el (ccl-compile): Trivial simplification.
7314 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
7315 * emacs-lisp/testcover.el (testcover-end): Remove spurious
7316 `printflag' argument.
7317 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
7318 Purecopy the whole obsolescence data.
7319
108bf785
LL
73202011-06-01 Leo Liu <sdl.web@gmail.com>
7321
7322 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
7323 improve doc-string as suggested by Marco Pessotto
7324 <melmothx@gmail.com>.
7325 (rcirc-print): Fix last change.
7326
30a23501
SM
73272011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
7328
7329 * minibuffer.el (complete-with-action): Return nil for the metadata and
7330 boundaries of non-functional tables.
7331 (completion-table-dynamic): Return nil for the metadata.
7332 (completion-table-with-terminator): Add default case, using
7333 complete-with-action.
7334 (completion--metadata): New function.
7335 (completion-all-sorted-completions, minibuffer-completion-help): Use it
7336 to try and avoid pathological performance problems.
7337 (completion--embedded-envvar-table): Return `category' metadata.
7338
bcd54f83
LMI
73392011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
7340
7341 * subr.el (process-alive-p): New tiny convenience function.
7342
e227544d
SM
73432011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
7344
7345 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
7346 content but also its previous major mode.
7347
e8296fdc
HE
73482011-05-31 Helmut Eller <eller.helmut@gmail.com>
7349
4d61f28d 7350 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
7351 *Backtrace* buffer when we exit with C-M-c.
7352
620c53a6
SM
73532011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
7354
7355 * minibuffer.el: Add metadata method to completion tables.
7356 (completion-category-overrides): New defcustom.
7357 (completion-metadata, completion--field-metadata)
7358 (completion-metadata-get, completion--styles)
7359 (completion--cycle-threshold): New functions.
7360 (completion-try-completion, completion-all-completions):
7361 Add `metadata' argument to choose completion-styles.
7362 (completion--do-completion): Use metadata to choose cycling.
7363 (completion-all-sorted-completions): Use metadata for sorting.
7364 Remove :completion-cycle-penalty which is not needed any more.
7365 (completion--try-word-completion): Add `metadata' argument.
7366 (minibuffer-completion-help): Check metadata for annotation function
7367 and sorting.
7368 (completion-file-name-table): Return `category' metadata.
7369 (minibuffer-completing-file-name): Make obsolete.
7370 * simple.el (minibuffer-completing-symbol): Make obsolete.
7371 * icomplete.el (icomplete-completions): Pass new `metadata' param to
7372 completion-try-completion.
7373
1257e755
SM
73742011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
7375
7376 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
7377
3767e706
LL
73782011-05-30 Leo Liu <sdl.web@gmail.com>
7379
7380 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
7381 (rcirc-print): Decode all incoming messages (bug#8744).
7382 (rcirc-decode-coding-system): Allow value nil for automatic coding
7383 system detection.
3767e706 7384
d1a5d56a
GM
73852011-06-01 Glenn Morris <rgm@gnu.org>
7386
7387 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
7388
e8cbec34
CY
73892011-05-29 Chong Yidong <cyd@stupidchicken.com>
7390
7391 * image.el (image-animate-max-time): Allow nil and t values.
7392 Default to nil.
7393 (create-animated-image): Doc fix.
7394 (image-animate-start): Remove second arg; just use
7395 image-animate-max-time.
7396 (image-animate-timeout): Doc fix. Args changed.
7397
7398 * image-mode.el (image-toggle-display-image): Ensure that the
7399 image spec passed to the animate timer is the same object as in
58179cce 7400 the buffer's display property (Bug#6981).
e8cbec34
CY
7401 (image-transform-properties): Doc fix.
7402
7403 * image.el (image-animate-max-time): Default to nil.
7404
159daf87
MR
74052011-05-29 Martin Rudalics <rudalics@gmx.at>
7406
7407 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
7408 entire buffer list (Bug#8184).
7409
d66c4c7c
CY
74102011-05-29 Chong Yidong <cyd@stupidchicken.com>
7411
7412 * image.el (imagemagick-types-inhibit)
7413 (imagemagick-register-types): Doc fix.
7414
80aec780
DD
74152011-05-29 Deniz Dogan <deniz@dogan.se>
7416
7417 * net/rcirc.el (rcirc): Use the user's stored encryption method by
7418 default.
7419
1dd3c2d9
CY
74202011-05-29 Chong Yidong <cyd@stupidchicken.com>
7421
7422 * select.el: Don't perform clipboard-manager saving in hooks;
7423 leave the hooks empty.
7424
60e56523
LL
74252011-05-28 Leo Liu <sdl.web@gmail.com>
7426
7427 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
7428 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
7429 (occur-edit-mode): New major mode (Bug#8463).
7430 (occur-after-change-function): New function.
7431 (occur-engine): Give Occur tags a read-only property.
7432
2b1e1a22
KR
74332011-05-28 Kevin Ryde <user42@zip.com.au>
7434
7435 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
7436
5d344e88
CY
74372011-05-28 Chong Yidong <cyd@stupidchicken.com>
7438
8e6ca83d
CY
7439 * bindings.el (help-echo): Make the initial non-indicator dash
7440 empty on graphical terminals (Bug#7295).
7441
5d344e88
CY
7442 * files.el (auto-mode-alist): Move config rule after the
7443 in-stripping one (Bug#8547).
7444
bfbbace7
CY
7445 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
7446
fbeba6e2
CY
7447 * startup.el (normal-splash-screen): Remove gratuitous mode-line
7448 setting (Bug#8740).
7449
60ed8c72
AA
74502011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
7451
4ac619f0
AA
7452 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
7453 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
7454 (Bug#8539).
60ed8c72 7455
23db196e
CY
74562011-05-28 Chong Yidong <cyd@stupidchicken.com>
7457
7458 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
7459
5012f24c
DK
74602011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
7461
7462 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
7463 (hs-hide-block-at-point, hs-find-block-beginning)
7464 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
7465 (Bug#8279).
7466
6a639b16
GM
74672011-05-28 Glenn Morris <rgm@gnu.org>
7468
7469 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
7470
d43eaf2c
CY
74712011-05-28 Chong Yidong <cyd@stupidchicken.com>
7472
5199bde1
CY
7473 * help-fns.el (describe-function-1): If the function is a derived
7474 major mode, print the parent mode.
7475
d43eaf2c
CY
7476 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
7477 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
7478
423428a8
SM
74792011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
7480
0ff8e1ba 7481 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 7482 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
7483 * progmodes/etags.el (tags-completion-at-point-function):
7484 * info-look.el (info-lookup-completions-at-point): Mark as
7485 non-exclusive.
7486 (info-complete): Adjust accordingly.
7487
423428a8
SM
7488 * info-look.el: Convert to lexical-binding and completion-at-point.
7489 (info-lookup-completions-at-point): New function.
7490 (info-complete): Use it and completion-in-region.
7491
b74aa22b
DA
74922011-05-28 Drew Adams <drew.adams@oracle.com>
7493
7494 * isearch.el: Let M-e start with point at the first mismatched char.
7495 (isearch-fail-pos): New function.
7496 (isearch-edit-string): Use it.
7497
66e2e71d
DK
74982011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
7499
7500 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
7501
eb95d01d
TC
75022009-11-23 Toby Cubitt <toby-predictive@dr-qubit.org>
7503
7504 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
7505 traversal functions for avl-trees.
7506 (avl-tree--stack): New struct.
7507 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
7508 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
7509 (avl-tree--do-enter): Add optional `updatefun' arg.
7510 Change return value.
eb95d01d 7511 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
7512 (avl-tree--do-delete): Add `test' and `nilflag' args.
7513 Change return value.
eb95d01d
TC
7514 (avl-tree-member): Add optional `nilflag'
7515 (avl-tree-member-p): New function.
7516 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
7517 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
7518 (avl-tree-stack-empty-p): New functions.
7519
3769ddcf
TC
75202009-11-23 Toby Cubitt <toby-predictive@dr-qubit.org>
7521
7522 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
7523 avl-tree--del-balance1 and make it work both ways.
7524 (avl-tree--del-balance2): Remove.
7525 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
7526 make it work both ways.
7527 (avl-tree--enter-balance2): Remove.
7528 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
7529 New macros.
7530 (avl-tree--mapc, avl-tree-map): Add direction argument.
7531
eb95d01d 75322011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
7533
7534 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
7535
a9f737ee
CY
75362011-05-27 Chong Yidong <cyd@stupidchicken.com>
7537
7538 * select.el: Support clipboard managers with built-in function
7539 x-clipboard-manager-save, via delete-frame-functions and
7540 kill-emacs-hook.
7541 (xselect-convert-to-targets): Add MULTIPLE target to list.
7542 (xselect-convert-to-save-targets): New function.
7543
c92a1e54
KH
75442011-05-27 Kenichi Handa <handa@m17n.org>
7545
7546 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
7547 let-binding rfc2047-encode-encoded-words to nil.
7548
e145f188
GM
75492011-05-27 Glenn Morris <rgm@gnu.org>
7550
5ec8a862
GM
7551 * mail/emacsbug.el: Don't require url-util.
7552
4b29d9fb
GM
7553 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
7554
e145f188
GM
7555 * files.el (set-auto-mode):
7556 Also respect mode: entries at the end of the file. (Bug#8586)
7557
7d15102b
GM
75582011-05-26 Glenn Morris <rgm@gnu.org>
7559
98f593b8
GM
7560 * files.el (hack-local-variables-prop-line, hack-local-variables):
7561 Downcase mode names, as seems to be traditional.
27b48e63 7562 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 7563
7d15102b
GM
7564 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
7565 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
7566
51d5b4ec
JD
75672011-05-25 Julien Danjou <julien@danjou.info>
7568
7569 * textmodes/rst.el (rst-define-level-faces): Do not define face
7570 symbol if it is already defined.
7571
91513f63
VB
75722011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
7573
7574 * play/5x5.el (5x5-new-game, 5x5-randomize):
7575 Reset 5x5-solver-output to nil when a new grid is cast.
7576 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
7577 these debugging traces, as defmacro breaks the compiled code.
7578
4d90d6d0
DK
75792011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
7580
7581 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
7582
e1b90ef6
LL
75832011-05-24 Leo Liu <sdl.web@gmail.com>
7584
7585 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
7586 (vc-bzr-sha1): Adapt.
7587
d8e4b68b 7588 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
7589
7590 * bindings.el: Provide sha1 feature.
7591
db0406bb 75922011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
7593
7594 * mail/sendmail.el: Require `rfc2047'.
7595 (mail-insert-from-field): Do not perform RFC2047 encoding.
7596 (mail-encode-header): New function.
7597 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
7598 buffer to the return value of select-message-coding-system.
7599 Call mail-encode-header.
b8d747b9
KH
7600
7601 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
7602
db0406bb 76032011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 7604
4d90d6d0
DK
7605 * mail/supercite.el (sc-default-cite-frame):
7606 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 7607
eb8a5e9b
GM
76082011-05-24 Glenn Morris <rgm@gnu.org>
7609
f8630703
GM
7610 * progmodes/python.el (brm-menu): Declare.
7611
8831bbed
GM
7612 * emulation/viper.el (viper-set-hooks): Declare.
7613
eb8a5e9b
GM
7614 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
7615 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
7616 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
7617 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
7618 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
7619 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
7620
a2a25d24
SM
76212011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
7622
7623 Add an :exit-function for completion-at-point.
7624
7625 * minibuffer.el (completion--done): New fun.
7626 (completion--do-completion): Use it. New arg `expect-exact'.
7627 (minibuffer-complete, minibuffer-complete-word): Don't output message,
7628 since completion--do-completion does it for us now.
7629 (minibuffer-force-complete): Use completion--done and
7630 completion--replace. Handle sole-completion case with more care.
7631 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
7632 (completion-extra-properties): New var.
7633 (completion-annotate-function): Make obsolete.
7634 (minibuffer-completion-help): Adjust accordingly.
7635 Use completion-list-insert-choice-function.
7636 (completion-at-point, completion-help-at-point):
7637 Bind completion-extra-properties.
7638 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
7639 * simple.el (completion-list-insert-choice-function): New var.
7640 (completion-setup-function): Preserve it.
7641 (choose-completion): Pay attention to it, shuffle the code a bit.
7642 (choose-completion-string): New arg `insert-function'.
7643
7644 * textmodes/bibtex.el: Convert to lexical binding.
7645 (bibtex-mode-map): Use completion-at-point.
7646 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
7647 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
7648 (bibtex-complete): Define as obsolete alias.
7649 (bibtex-complete-internal): Remove.
7650 (bibtex-format-entry): Remove unused sub-group in regexp.
7651 * shell.el (shell--command-completion-data)
7652 (shell-environment-variable-completion):
7653 * pcomplete.el (pcomplete-completions-at-point):
7654 * comint.el (comint--complete-file-name-data): Use :exit-function
7655 instead of completion-table-with-terminator so it also works for
7656 choose-completion.
7657
e44e373d
SM
76582011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
7659
4f91a816
SM
7660 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
7661
782fc819
SM
7662 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
7663 (bug#8710).
7664
e44e373d
SM
7665 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
7666
381987c3
KM
76672011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
7668
7669 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
7670 customization variable and implement: If non-nil, auto-fill will
7671 be inhibited while on topic's header line.
7672
b776bc70
VB
76732011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
7674
7675 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 7676 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
7677 always have a solution in grid size = 5 cases.
7678 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
7679 (5x5-solver-output, 5x5-log-buffer): New vars.
7680 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
7681 Make these variables buffer local to achieve 5x5 multi-session-ness.
7682 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
7683 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
7684 (5x5-solve-suggest): New funs.
7685 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
7686 randomize a grid so that we ensure that there is always a solution.
7687 (5x5-make-random-grid): Allow other movement than flipping.
7688
7de88b6e
KR
76892011-05-23 Kevin Ryde <user42@zip.com.au>
7690
7691 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 7692 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
7693 advice and passes PREDICATE.
7694
b1ef1257
SM
76952011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
7696
bbca48fe
SM
7697 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
7698 byte-compile-lambda if it's actually a lambda.
7699
b1ef1257
SM
7700 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
7701 Fix function quoting. Use backquote better.
7702
92a9cc65
YS
77032011-05-22 Yuanle Song <sylecn@gmail.com>
7704
7705 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
7706 matching (Bug#8516).
7707
f0fb8059
JA
77082011-01-22 Jari Aalto <jari.aalto@cante.net>
7709
7710 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
7711 different face (Bug#8178).
7712
d5b44c93
CY
77132011-05-22 Chong Yidong <cyd@stupidchicken.com>
7714
7715 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
7716 defface (Bug#8144).
7717
79106a44
SM
77182011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
7719
9c848d8a
SM
7720 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
7721 funcall as well (bug#8712). Warn when performing those conversions.
7722 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
7723
79106a44
SM
7724 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
7725
88dfa756
GM
77262011-05-22 Glenn Morris <rgm@gnu.org>
7727
7728 * files.el (hack-local-variables-prop-line): Small simplifications.
7729 (hack-local-variables, hack-local-variables-prop-line):
7730 If MODE-ONLY, return the mode, rather than just `t'.
7731
b7cf2c79
SM
77322011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
7733
7734 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
7735
3f1a8558
GM
77362011-05-21 Glenn Morris <rgm@gnu.org>
7737
7e4ccca3
GM
7738 * files.el (hack-local-variables-prop-line, hack-local-variables):
7739 If only interested in the mode, don't bother doing the other stuff.
7740
637d46ca
GM
7741 * image-mode.el (image-after-revert-hook):
7742 Redraw all frames on which the image is visible. (Bug#8567)
7743
973d955b
GM
7744 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
7745
3f1a8558
GM
7746 * wid-edit.el (widget-checklist-match-inline):
7747 Fix 2011-04-19 change. (Bug#8649)
7748
96479927
SM
77492011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
7750
1dcf791f
SM
7751 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
7752 Also allow singlespace after single-letter capitals followed by a dot.
7753
96479927
SM
7754 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
7755 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
7756
35fd0881
N
77572011-05-20 Nix <nix@esperi.org.uk>
7758
7759 * files.el (basic-save-buffer-2):
7760 Fix handling of break-hardlink-on-save with non-existent files.
7761
82745640
DD
77622011-05-19 Deniz Dogan <deniz@dogan.se>
7763
7764 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 7765 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 7766
4a720484
GM
77672011-05-19 Glenn Morris <rgm@gnu.org>
7768
d1f21341
GM
7769 * progmodes/f90.el (f90-type-def-re):
7770 Handle "type, bind(c)". (Bug#8691)
7771
4a720484
GM
7772 * emacs-lisp/autoload.el (batch-update-autoloads):
7773 Set autoload-excludes by parsing loadup.el rather than Makefiles.
7774
2fb0a219
MA
77752011-05-18 Michael Albinus <michael.albinus@gmx.de>
7776
7777 * net/tramp.el (tramp-process-actions): Set "first-password-request"
7778 property for the correct connection in case of multihops.
7779
e565dd37
GM
77802011-05-18 Glenn Morris <rgm@gnu.org>
7781
c2571358 7782 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
7783 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
7784
e565dd37
GM
7785 Rationalize calendar handling of day and month abbrev-arrays.
7786 * calendar/calendar.el (calendar-customized-p): New function.
7787 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
7788 (calendar-day-name-array, calendar-month-name-array): Doc fix.
7789 Add :set function.
7790 (calendar-abbrev-length, calendar-day-abbrev-array)
7791 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
7792 (calendar-day-abbrev-array, calendar-month-abbrev-array):
7793 Elements may no longer be nil.
7794 (calendar-day-name, calendar-month-name):
7795 Update for changed nature of abbrev arrays.
7796 * calendar/diary-lib.el (diary-name-pattern):
7797 Update for changed nature of abbrev arrays.
7798 (diary-mark-entries-1): Update calendar-make-alist calls.
7799 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
7800 * calendar/cal-html.el (cal-html-day-abbrev-array):
7801 Simply inherit from calendar-day-abbrev-array.
7802
1d99a745
SM
78032011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
7804
7805 * progmodes/grep.el (grep-mode): Disable default
7806 compilation-directory-matcher setting (bug#8684).
7807
7c1d9aa0
MA
78082011-05-17 Michael Albinus <michael.albinus@gmx.de>
7809
7810 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
7811 instead of "head" and "tail". There were problems with SunOS 5.9,
7812 and it performs better.
7813
3952e9d8
GM
78142011-05-17 Glenn Morris <rgm@gnu.org>
7815
2dd12e7f
GM
7816 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
7817
e4157b9c
GM
7818 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
7819 Replace obsolete function.
7820
8e249bbd
GM
7821 * shell.el (pcomplete-parse-arguments-function): Declare.
7822
3952e9d8
GM
7823 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
7824 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
7825 (appt-check): Doc fixes.
7826 (appt-disp-window-function, appt-delete-window-function):
7827 Remove needless special case in custom :type.
7828 (appt-display-count): Default to 0, not nil.
7829 (appt-check): Reset appt-display-count to 0, not nil.
7830
c71a0d48 78312011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 7832
c71a0d48
GM
7833 * progmodes/python.el (python-font-lock-keywords):
7834 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 7835
31d55be9
SM
78362011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
7837
7838 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
7839
3bfacb2f
KR
78402011-05-16 Kevin Ryde <user42@zip.com.au>
7841
7842 * info-look.el (makefile-automake-mode): New setups, looking in
7843 automake manual, then makefile-mode.
7844 (makefile-mode): Remove automake manual, have it just in
7845 makefile-automake-mode since there's various things different or
7846 not relevant to plain make.
7847 (makefile-mode): Remove "other-modes" non-existent automake-mode,
7848 believe a hypothetical automake-mode would go to makefile-mode,
7849 not the other way around.
7850
c8e83751
CY
78512011-05-15 Chong Yidong <cyd@stupidchicken.com>
7852
5e9e35cd
CY
7853 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
7854 hunk-end tags (Bug#8672).
7855
c8e83751
CY
7856 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
7857 vc-annotate-show-diff-revision-at-line (Bug#8671).
7858
50b23e5a
GM
78592011-05-14 Glenn Morris <rgm@gnu.org>
7860
7210a739
GM
7861 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
7862 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
7863 (change-log-font-lock-keywords): Also handle multiple author lines
7864 with leading tabs. (Bug#8644)
7210a739 7865
4691905a
GM
7866 * calendar/appt.el (appt-check): Rename some local variables.
7867 Some simplification/reordering.
7868
50b23e5a
GM
7869 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
7870 (feedmail-sendmail-f-doesnt-sell-me-out)
7871 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
7872 (feedmail-debug-sit-for, feedmail-queue-express-hook)
7873 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
7874 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
7875 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
7876 (feedmail-binmail-gnulinuxish-template):
7877 Rename from feedmail-binmail-linuxish-template.
7878 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
7879 Use insert-buffer-substring.
7880
215cda7c
BC
78812011-05-14 Bill Carpenter <bill@carpenter.org>
7882
7883 * mail/feedmail.el (feedmail-patch-level): Increase.
7884 (feedmail-debug): New custom group.
7885 (feedmail-confirm-outgoing-timeout)
7886 (feedmail-sendmail-f-doesnt-sell-me-out)
7887 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
7888 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
7889 (feedmail-sender-line, feedmail-from-line)
7890 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 7891 (feedmail-spray-this-address)
215cda7c
BC
7892 (feedmail-spray-address-fiddle-plex-list)
7893 (feedmail-queue-use-send-time-for-date)
7894 (feedmail-queue-use-send-time-for-message-id)
7895 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
7896 (feedmail-buffer-eating-function):
7897 Doc fixes.
7898 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
7899 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
7900 (feedmail-message-action-scroll-down): New functions.
7901 (feedmail-queue-directory, feedmail-queue-draft-directory):
7902 Use expand-file-name.
7903 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
7904 Remove C-v help entry.
7905 (feedmail-queue-buffer-file-name): New variable.
7906 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
7907 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
7908 (feedmail-message-action-send-strong, feedmail-message-action-edit)
7909 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
7910 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
7911 (feedmail-message-action-toggle-spray)
7912 (feedmail-run-the-queue-no-prompts)
7913 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
7914 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
7915 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
7916 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
7917 (feedmail-envelope-deducer, feedmail-fiddle-from)
7918 (feedmail-fiddle-sender, feedmail-default-date-generator)
7919 (feedmail-fiddle-date, feedmail-fiddle-message-id)
7920 (feedmail-fiddle-spray-address)
7921 (feedmail-fiddle-list-of-spray-fiddle-plexes)
7922 (feedmail-fiddle-list-of-fiddle-plexes)
7923 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
7924 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
7925 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
7926 Change default. Doc fix.
7927 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
7928 (feedmail-binmail-linuxish-template): New constant.
7929 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
7930 Respect feedmail-sendmail-f-doesnt-sell-me-out.
7931 (feedmail-send-it): Add debug call.
7932 Use feedmail-queue-buffer-file-name, and
7933 feedmail-send-it-immediately-wrapper.
7934 (feedmail-message-action-send): Add debug call.
7935 Use feedmail-send-it-immediately-wrapper.
7936 (feedmail-queue-express-to-queue): Add debug call.
7937 Run feedmail-queue-express-hook.
7938 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
7939 (feedmail-message-action-help-blat):
7940 Rename from feedmail-queue-send-edit-prompt-help-first.
7941 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
7942 Check line-endings. Handle errors better.
7943 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
7944 Doc fix. Add debug call.
7945 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
7946 Use feedmail-queue-send-edit-prompt-inner.
7947 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
7948 (feedmail-queue-send-edit-prompt-inner): New function, extracted
7949 from feedmail-queue-send-edit-prompt.
7950 (feedmail-queue-send-edit-prompt-help)
7951 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
7952 (feedmail-tidy-up-slug): Add debug call.
7953 Respect feedmail-queue-slug-suspect-regexp.
7954 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
7955 (feedmail-dump-message-to-queue): Add debug call.
7956 Expand queue-directory.
7957 (feedmail-dump-message-to-queue): Change message slightly.
7958 Use feedmail-say-chatter.
7959 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
7960 (feedmail-send-it-immediately-wrapper): New function.
7961 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
7962 Insert empty string rather than newline. Handle full-frame case.
7963 Use catch/throw. Use feedmail-say-chatter.
7964 (feedmail-fiddle-from): Try mail-host-address.
7965 (feedmail-default-message-id-generator): Doc fix.
7966 Bind system-time-locale. Handle missing end.
7967 (feedmail-fiddle-x-mailer): Add debug call.
7968 Handle feedmail-x-mailer-line being nil.
7969 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
7970 Add debug call. Use buffer-substring-no-properties.
7971 (feedmail-say-debug, feedmail-say-chatter): New functions.
7972 (feedmail-find-eoh): Give an explicit error.
7973
42c7e61e
UJ
79742011-05-13 Ulf Jasper <ulf.jasper@web.de>
7975
c2571358 7976 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 7977 family from helvetica to sans.
c2571358 7978 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
7979 etc/images/newsticker.
7980
c2571358 7981 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
7982 family from helvetica to sans.
7983
7984 * net/newst-plainview.el (newsticker-new-item-face)
7985 (newsticker-old-item-face, newsticker-immortal-item-face)
7986 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 7987 (newsticker-statistics-face): Change default family from
42c7e61e 7988 helvetica to sans.
c2571358 7989 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
7990 etc/images/newsticker.
7991
7992 * net/newst-backend.el (newsticker--do-run-auto-mark-filter),
7993 (newsticker--process-auto-mark-filter-match): : Tell user about
7994 auto-marking.
7995
8497a297
DV
79962011-05-13 Didier Verna <didier@xemacs.org>
7997
7998 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
7999 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
8000 TODO entries.
8497a297
DV
8001 (lisp-lambda-list-keyword-parameter-indentation)
8002 (lisp-lambda-list-keyword-parameter-alignment)
8003 (lisp-lambda-list-keyword-alignment): New customizable user options.
8004 (lisp-indent-defun-method): Improve docstring.
8005 (extended-loop-p): Fix comment.
8006 (lisp-indent-lambda-list-keywords-regexp): New variable.
8007 (lisp-indent-lambda-list): New function.
8008 (lisp-indent-259): Use it.
8009 (lisp-indent-defmethod): Support for more than one
8010 method qualifier and properly indent methods lambda-lists.
8011 (defgeneric): Provide a missing common-lisp-indent-function property.
8012
f278f87f
SM
80132011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
8014
8015 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
8016 bounds for the empty string (bug#8667).
8017
5233edd7
GM
80182011-05-13 Glenn Morris <rgm@gnu.org>
8019
5237a44f
GM
8020 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
8021
8340026c 8022 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 8023 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 8024
5233edd7 8025 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 8026 (appt-time-msg-list): Doc fix.
a5464014 8027 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 8028
92d10796
AS
80292011-05-12 Andreas Schwab <schwab@linux-m68k.org>
8030
8031 * progmodes/ld-script.el (ld-script-keywords)
8032 (ld-script-builtins): Update keywords list.
8033
914a0ae1
SM
80342011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
8035
c89be45f
SM
8036 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
8037
914a0ae1
SM
8038 * shell.el (shell-completion-vars): New function.
8039 (shell-mode):
8040 * simple.el (read-shell-command): Use it.
8041 (blink-matching-open): No need for " [...]" in minibuffer-message.
8042
98dc3df3
GM
80432011-05-12 Glenn Morris <rgm@gnu.org>
8044
8045 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
8046 (appt-check): Simplify.
8047
d2fc7e3d 80482011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 8049
4d61f28d 8050 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
8051 literal "/dev/null".
8052
d2fc7e3d 80532011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
8054
8055 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
8056 Fix typo.
8057
d2fc7e3d 80582011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 8059
3f254caa
SM
8060 * progmodes/which-func.el (which-function):
8061 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
8062 which might not be defined (Bug#8260).
8063
d45885f7
GM
80642011-05-12 Glenn Morris <rgm@gnu.org>
8065
8066 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
8067 Let byte-compile-initial-macro-environment always take precedence.
8068
488086f4
SM
80692011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
8070
8071 * net/rcirc.el: Add support for SSL/TLS connections.
8072 (rcirc-server-alist): New field `encryption'.
8073 (rcirc): Check `encryption' settings.
8074 (rcirc-connect): New arg `encryption'. Use open-network-stream.
8075 Merge make-local-variable into `set'.
8076 (rcirc--connection-open-p): New function.
8077 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
8078 the process is not a network process (e.g. running gnutls-cli).
8079 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
8080 Make rcirc-(en|de)code-coding-system local here.
8081 (rcirc-mode): Merge make-local-variable into `set'.
8082 (rcirc-parent-buffer): Make permanent buffer-local.
8083 (rcirc-multiline-minor-mode): Don't do it here.
8084 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
8085 there's no server buffer.
8086
7d3b9d44
GM
80872011-05-11 Glenn Morris <rgm@gnu.org>
8088
f64049c6
GM
8089 * newcomment.el (comment-kill): Prefix "unused" local.
8090
93c9df73
GM
8091 * term/w32console.el (get-screen-color): Declare.
8092
7d3b9d44
GM
8093 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
8094 Handle symbol elements of byte-compile-initial-macro-environment.
8095
9e2dd53f
LL
80962011-05-10 Leo Liu <sdl.web@gmail.com>
8097
488086f4
SM
8098 * bookmark.el (bookmark-bmenu-mode-map):
8099 Bind bookmark-bmenu-search to `/'.
8b340240 8100
9e2dd53f 8101 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
8102 (footnote-unicode-string, footnote-unicode-regexp): New variable.
8103 (Footnote-unicode): New function.
8104 (footnote-style-alist): Add unicode style to the list.
8105 (footnote-style): Doc fix.
9e2dd53f 8106
79b70037
GM
81072011-05-10 Jim Meyering <meyering@redhat.com>
8108
8109 Fix doubled-word typos.
8110 * international/quail.el (quail-insert-kbd-layout): and and -> and
8111 * kermit.el: and and -> and
8112 * net/ldap.el (ldap-search-internal): to to -> to
8113 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
8114 * progmodes/js.el (js-mode): and and -> and
8115 * textmodes/artist.el (artist-move-to-xy): at at -> at
8116 (artist-draw-region-trim-line-endings): if if -> if
8117 And Safetyc -> Safety.
8118 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
8119
b8f82dc1 81202011-05-10 Glenn Morris <rgm@gnu.org>
c2571358 8121 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
8122
8123 * files.el (hack-one-local-variable-eval-safep):
8124 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
8125
4f99f44b
GM
81262011-05-10 Glenn Morris <rgm@gnu.org>
8127
8128 * calendar/diary-lib.el (diary-list-entries-hook)
8129 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
8130 (diary-nongregorian-marking-hook, diary-list-entries)
8131 (diary-include-other-diary-files, diary-mark-entries)
8132 (diary-mark-included-diary-files): Doc fixes.
8133
84f29e6b
JB
81342011-05-09 Juanma Barranquero <lekktu@gmail.com>
8135
8136 * misc.el: Require tabulated-list.el during compilation.
8137
9bedd73a
CY
81382011-05-09 Chong Yidong <cyd@stupidchicken.com>
8139
488086f4
SM
8140 * progmodes/compile.el (compilation-start):
8141 Run compilation-filter-hook for the async case too.
9bedd73a
CY
8142 (compilation-filter-hook): Doc fix.
8143
797c735c
DD
81442011-05-09 Deniz Dogan <deniz@dogan.se>
8145
8146 * wdired.el: Remove outdated installation comment. Fix usage
8147 comment.
8148
5f4b1dfe
JB
81492011-05-09 Juanma Barranquero <lekktu@gmail.com>
8150
8151 * misc.el: Implement new command `list-dynamic-libraries'.
8152 (list-dynamic-libraries--loaded-only-p): New variable.
8153 (list-dynamic-libraries--refresh): New function.
8154 (list-dynamic-libraries): New command.
8155
4c44026c
CY
81562011-05-09 Chong Yidong <cyd@stupidchicken.com>
8157
488086f4
SM
8158 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8159 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
8160 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
8161 higher priority to avoid clobbering by gnu.
8162
027f966d
CY
81632011-05-08 Chong Yidong <cyd@stupidchicken.com>
8164
8165 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
8166 if the face has existing theme settings (Bug#8454).
8167
085f5d7d
CY
81682011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
8169
488086f4
SM
8170 * progmodes/perl-mode.el (perl-imenu-generic-expression):
8171 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 8172
2a86a00c
RS
8173 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
8174 special file names `.' and `..' (Bug#8259).
8175
d9c54a06
CY
81762011-05-08 Chong Yidong <cyd@stupidchicken.com>
8177
488086f4
SM
8178 * progmodes/grep.el (grep-mode-font-lock-keywords):
8179 Remove buffer-changing entries.
d9c54a06
CY
8180 (grep-filter): New function.
8181 (grep-mode): Add it to compilation-filter-hook.
8182
8183 * progmodes/compile.el (compilation-filter-hook)
8184 (compilation-filter-start): New defvars.
8185 (compilation-filter): Call compilation-filter-hook prior to
8186 updating the process mark.
8187
c4662635
SM
81882011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
8189
8190 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
8191
b0512a1d
EZ
81922011-05-07 Eli Zaretskii <eliz@gnu.org>
8193
605c9376
EZ
8194 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
8195 mailclient-send-it even if window-system is nil. (Bug#8595)
8196
c4662635
SM
8197 * term/w32console.el (terminal-init-w32console):
8198 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
8199 background-mode. (Bug#8597)
8200
d1dc2cc2
SM
82012011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
8202
8203 Make bytecomp.el understand that defmethod defines funs (bug#8631).
8204 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
8205 New functions.
8206 (defgeneric, eieio--defmethod): Use them.
8207 (eieio-defgeneric): Remove.
8208 (defmethod): Call defgeneric in a way visible to the byte-compiler.
8209
915d1300
GM
82102011-05-07 Glenn Morris <rgm@gnu.org>
8211
a3961c3e
GM
8212 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
8213 Use let rather than let*.
8214 (timeclock-find-discrep): Remove unused local.
8215
314347b9
GM
8216 * calendar/diary-lib.el (diary-comment-start): Doc fix.
8217
915d1300
GM
8218 * calendar/appt.el (appt-time-msg-list): Doc fix.
8219
275b59b0
NF
82202011-05-06 Noah Friedman <friedman@splode.com>
8221
8222 * apropos.el (apropos-print-doc): Only use
8223 emacs-lisp-docstring-fill-column when it is bound to an integer,
8224 per that variable's documentation.
8225
6c19f744
SM
82262011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
8227
8228 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 8229 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 8230
60f884b2
GM
82312011-05-06 Glenn Morris <rgm@gnu.org>
8232
5006e634
GM
8233 * calendar/appt.el (appt-message-warning-time): Doc fix.
8234 (appt-warning-time-regexp): New option.
8235 (appt-make-list): Respect appt-message-warning-time.
8236
548d0a63
GM
8237 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
8238 New options.
8239 (diary-add-to-list): Strip comments from the displayed string.
8240 (diary-mode): Set comment-start and comment-end.
8241
60f884b2
GM
8242 * vc/diff-mode.el (smerge-refine-subst): Declare.
8243 (diff-refine-hunk): Don't require smerge-mode when compiling.
8244
989681bb
JB
82452011-05-06 Juanma Barranquero <lekktu@gmail.com>
8246
8247 * simple.el (list-processes): Return nil as the docstring says.
8248
a6bc05e1
MA
82492011-05-05 Michael Albinus <michael.albinus@gmx.de>
8250
8251 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
8252 to "".
8253 (ange-ftp-write-region, ange-ftp-insert-file-contents)
8254 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
8255 determining of binary transfer. (Bug#7383)
8256
23c22e9a
MA
82572011-05-05 Michael Albinus <michael.albinus@gmx.de>
8258
c4662635
SM
8259 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
8260 Fix port computation bug. (Bug#8618)
23c22e9a 8261
0bff894f
GM
82622011-05-05 Glenn Morris <rgm@gnu.org>
8263
b8296902
GM
8264 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
8265
1f522ce8
GM
8266 * simple.el (shell-dynamic-complete-functions)
8267 (comint-dynamic-complete-functions): Declare.
8268
cf5bee67
GM
8269 * net/network-stream.el (gnutls-negotiate):
8270 * simple.el (tabulated-list-print): Fix declarations.
8271
8272 * progmodes/gud.el (syntax-symbol, syntax-point):
8273 Remove unnecessary and incorrect declarations.
8274
0bff894f
GM
8275 * emacs-lisp/check-declare.el (check-declare-scan):
8276 Handle byte-compile-initial-macro-environment in bytecomp.el
8277
9869b3ae
SM
82782011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
8279
8280 Fix earlier half-done eieio-defmethod change (bug#8338).
8281 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
8282 Streamline and change calling convention.
8283 (defmethod): Adjust accordingly and simplify.
8284 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
8285 new eieio--defmethod.
8286 (slot-boundp): Minor CSE simplification.
8287
9c1d5ac5
MZ
82882011-05-05 Milan Zamazal <pdm@zamazal.org>
8289
8290 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
8291 (glasses-make-readable): Use glasses-separate-capital-groups.
8292
455c834e
JB
82932011-05-05 Juanma Barranquero <lekktu@gmail.com>
8294
8295 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
8296 (warning-series): Doc fix.
8297 (display-warning): Don't try to create the buffer if we just found it.
8298
9ed7c8cb
CY
82992011-05-04 Chong Yidong <cyd@stupidchicken.com>
8300
8301 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
8302 (autoload-find-generated-file): New function.
8303 (generate-file-autoloads): Bind generated-autoload-file to
8304 buffer-file-name.
9869b3ae
SM
8305 (update-file-autoloads, update-directory-autoloads):
8306 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
8307 output file (Bug#7989).
8308 (batch-update-autoloads): Doc fix.
8309
0898ca10
JB
83102011-05-04 Juanma Barranquero <lekktu@gmail.com>
8311
8312 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
8313
31dfb76c
GM
83142011-05-04 Glenn Morris <rgm@gnu.org>
8315
f330b642
GM
8316 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
8317 function, so it follows changes in calendar-date-style.
8318 (diary-fancy-date-matcher): New function.
8319 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
8320 (diary-fancy-font-lock-fontify-region-function):
8321 Use diary-fancy-date-pattern as a function.
8322
31dfb76c
GM
8323 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
8324 non-numbers for `year' etc pseudo-variables. (Bug#8583)
8325
48e79d6a
TZ
83262011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
8327
8328 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
8329 instead of positional arguments. Allow :keylist and :crlfiles
8330 arguments.
8331 (open-gnutls-stream): Call it.
8332
8333 * net/network-stream.el (network-stream-open-starttls): Adjust to
8334 call `gnutls-negotiate' with :process and :hostname arguments.
8335
dd5a5ee0
SM
83362011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
8337
ef80fc09
SM
8338 * minibuffer.el (completion--message): New function.
8339 (completion--do-completion, minibuffer-complete)
8340 (minibuffer-force-complete, minibuffer-complete-word): Use it.
8341 (completion--do-completion): Don't ignore completion-auto-help when in
8342 icomplete-mode.
8343
dd5a5ee0
SM
8344 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
8345 internal encoding (e.g. tibetan zero is not whitespace).
8346 (global-whitespace-mode): Prefer save-current-buffer.
8347 (whitespace-trailing-regexp): Remove useless save-match-data.
8348 (whitespace-empty-at-bob-regexp): Minor simplification.
8349
b7d22a83
CY
83502011-05-03 Chong Yidong <cyd@stupidchicken.com>
8351
8352 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
8353
5192af46
AM
83542011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8355
8356 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 8357 Use `concat' to create string for insertion.
5192af46 8358
5767d190
SM
83592011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
8360
8361 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
8362 Avoid open-line which runs post-self-insert-hook.
8363 (bibtex-fill-entry): Remove unused `end' var.
8364
bf242939
AM
83652011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
8366
5767d190
SM
8367 * textmodes/ispell.el (ispell-add-per-file-word-list):
8368 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 8369
25666126
LL
83702011-05-03 Leo Liu <sdl.web@gmail.com>
8371
8372 * isearch.el (isearch-yank-pop): New command.
5767d190 8373 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
8374 (isearch-forward): Mention it.
8375
52d3c2d0
SM
83762011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
8377
1bcace58
SM
8378 * simple.el (minibuffer-complete-shell-command): Remove.
8379 (minibuffer-local-shell-command-map): Use completion-at-point.
8380 (read-shell-command): Setup completion vars here instead.
8381 (read-expression-map): Bind TAB to symbol completion.
8382
52d3c2d0
SM
8383 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
8384 error directly rather via storing it into `results'.
8385
35813471
LL
83862011-05-02 Leo Liu <sdl.web@gmail.com>
8387
8388 * vc/diff.el: Fix description.
8389
e793a940
LMI
83902011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
8391
8392 * server.el (server-eval-at): New function.
8393
8de66e05
LMI
83942011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
8395
8396 * net/network-stream.el (open-network-stream): Take a :nowait
8397 parameter and pass it on to `make-network-process'.
8398 (network-stream-open-plain): Ditto.
8399
dcb79f20
AS
84002011-04-30 Andreas Schwab <schwab@linux-m68k.org>
8401
8402 * faces.el (face-spec-set-match-display): Don't match toolkit
8403 options on terminal frames.
8404
14a7fbd8
SM
84052011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
8406
7eabc1be
SM
8407 * progmodes/pascal.el: Use lexical binding.
8408 (pascal-mode-map): Remove author preferences.
8409
14a7fbd8
SM
8410 * pcomplete.el (pcomplete-std-complete): Don't abuse
8411 completion-at-point.
8412
50f84510
JB
84132011-04-28 Juanma Barranquero <lekktu@gmail.com>
8414
6e087a44
JB
8415 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
8416 removing code that has been dead since 1991 or so.
8417
50f84510
JB
8418 * startup.el (command-line): When warning about "_emacs", use a
8419 delayed warning to allow the user to filter it out.
8420
0ba690bd
DD
84212011-04-28 Deniz Dogan <deniz@dogan.se>
8422
8423 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
8424 user has not joined.
8425
08abfaad
SM
84262011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
8427
8428 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
8429 aren't any completions at point.
8430
638f053a
JB
84312011-04-28 Juanma Barranquero <lekktu@gmail.com>
8432
8433 * subr.el (display-delayed-warnings): New function.
8434 (delayed-warnings-hook): New variable.
8435
8fff8daa
SM
84362011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
8437
08abfaad
SM
8438 * minibuffer.el (completion-at-point, completion-help-at-point):
8439 Don't presume that a given completion-at-point-function will always
8440 use the same calling convention.
8441
8fff8daa
SM
8442 * pcomplete.el (pcomplete-completions-at-point):
8443 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
8444 pcomplete-seen is non-nil.
8445 (pcomplete-comint-setup): Also recognize the new comint/shell
8446 completion functions.
8447 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
8448 pcomplete-seen is non-nil.
8449
841a1577 84502011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 8451
841a1577 8452 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 8453 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 8454 the first character in the entry. This allows for code to add its
211ec907
UJ
8455 own uid to the entry.
8456 (icalendar--convert-float-to-ical): Add export of
8457 `diary-float'-entries save for those with the optional DAY
8458 argument.
8459
2a782793
DC
84602011-04-27 Daniel Colascione <dan.colascione@gmail.com>
8461
8462 * subr.el (shell-quote-argument): Use alternate escaping strategy
8463 when we spot a variable reference in a string.
8464
0438ce91
DC
84652011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8466
8467 * cus-start.el (all): Define customization for debug-on-event.
8468
841a1577 84692011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
8470
8471 * subr.el (shell-quote-argument): Escape correctly under Windows.
8472
d090ed6c
SM
84732011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
8474
8475 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
8476
bfd31217
MA
84772011-04-25 Michael Albinus <michael.albinus@gmx.de>
8478
d090ed6c
SM
8479 * net/tramp.el (tramp-process-actions): Add POS argument.
8480 Delete region between POS and (pos).
bfd31217 8481
d090ed6c
SM
8482 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
8483 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
8484 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
8485
8486 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
8487 position in `tramp-process-actions' call.
8488
8489 * net/trampver.el: Update release number.
8490
e92f3bd3
SM
84912011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
8492
850256b5
SM
8493 * custom.el (defcustom): Obey lexical-binding.
8494
e92f3bd3
SM
8495 Fix octave-inf completion problems reported by Alexander Klimov.
8496 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
8497 Inherit from octave-mode-syntax-table.
8498 (inferior-octave-mode): Set info-lookup-mode.
8499 (inferior-octave-completion-at-point): New function.
8500 (inferior-octave-complete): Use it and completion-in-region.
8501 (inferior-octave-dynamic-complete-functions): Use it as well, and use
8502 comint-filename-completion.
8503 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
8504 symbol elements which shouldn't be word elements.
8505 (octave-font-lock-keywords, octave-beginning-of-defun)
8506 (octave-function-header-regexp): Adjust regexps accordingly.
8507 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
8508
cd22b309
JB
85092011-04-25 Juanma Barranquero <lekktu@gmail.com>
8510
8511 * net/gnutls.el (gnutls-errorp): Declare before first use.
8512
8b492194
TZ
85132011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
8514
8515 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
8516 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 8517 default trustfile exists before going to use it. Add missing
5a5fa834 8518 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
8519 Reported by Claudio Bley <claudio.bley@gmail.com>.
8520 (open-gnutls-stream): Add usage example.
8521
8522 * net/network-stream.el (network-stream-open-starttls): Give host
8523 parameter to `gnutls-negotiate'.
8524 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 8525 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 8526
841a1577 85272011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 8528
cd22b309
JB
8529 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
8530 Use correct match group (bug#8438).
05842630 8531
3ba7869c
CY
85322011-04-24 Chong Yidong <cyd@stupidchicken.com>
8533
512e3ae1
CY
8534 * emacs-lisp/package.el (package-built-in-p): Fix typo.
8535 (package-menu--generate): New arg specifying packages to show.
8536 (package-menu-refresh, package-menu-execute, list-packages):
8537 Callers changed.
8538 (package-show-package-list): New function, replacing deleted
8539 package--list-packages (renamed because it is non-internal).
8540
8541 * finder.el (finder-list-matches): Use package-show-package-list
8542 instead of deleted package--list-packages.
8543
e92f3bd3
SM
8544 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
8545 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
8546 (vc-annotate-mode-map): Bind it to RET.
8547
7031be6d
UR
85482011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
8549
8550 * progmodes/etags.el (next-file): Don't use set-buffer to change
8551 buffers (Bug#8478).
8552
4ef177aa
CY
85532011-04-24 Chong Yidong <cyd@stupidchicken.com>
8554
c8d173eb
CY
8555 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
8556
4ef177aa
CY
8557 * apropos.el (apropos-label-face): Avoid variable-pitch face.
8558 (apropos-accumulator): Doc fix.
8559 (apropos-function, apropos-macro, apropos-command)
8560 (apropos-variable, apropos-face, apropos-group, apropos-widget)
8561 (apropos-plist): Add face property.
8562 (apropos-symbols-internal): Fix indentation.
8563 (apropos-print): Simplify help, and recognize apropos-multi-type.
8564 (apropos-print-doc): Use button-type-get to extract the button's
8565 face property. Fill docstring (Bug#8352).
8566
4ffd0d6b 85672011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
8568
8569 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
8570
c6c32125 8571 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 8572 (mpuz-mode-map): Use mapc.
c6c32125
JB
8573 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
8574 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
8575 Fix typos in docstrings.
8576
58d468b4
JB
8577 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
8578 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
8579
6470c3c6
JB
8580 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
8581
4ffd0d6b 85822011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
8583
8584 * minibuffer.el (completion--do-completion): Avoid the "Next char
8585 not unique" prompt if icomplete-mode is enabled (Bug#5849).
8586
3ad8bad0
CY
8587 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
8588 mouse-2 into unread-command-events, it is interpreted correctly.
8589
71d73c9c 8590 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 8591 (image-toggle-display): Doc fix.
71d73c9c 8592
841a1577 85932011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 8594
4ffd0d6b
GM
8595 * textmodes/page.el (what-page): Use line-number-at-pos to
8596 calculate line number (Bug#6825).
6e1dbaa9 8597
c2fb1b60
JB
85982011-04-22 Juanma Barranquero <lekktu@gmail.com>
8599
8600 * eshell/esh-mode.el (find-tag-interactive): Declare function.
8601 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
8602 Pass argument NO-DEFAULT to `find-tag-interactive'.
8603
e02f48d7
JB
86042011-04-22 Juanma Barranquero <lekktu@gmail.com>
8605
8606 Lexical-binding cleanup.
8607
8608 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
8609 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
8610 * progmodes/ada-prj.el (ada-prj-initialize-values)
8611 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
8612 (ada-prj-show-value):
8613 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
8614 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
8615 (antlr-invalidate-context-cache, antlr-options-menu-filter)
8616 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
8617 * progmodes/bug-reference.el (bug-reference-push-button):
8618 * progmodes/fortran.el (fortran-line-length):
8619 * progmodes/glasses.el (glasses-change):
8620 * progmodes/octave-mod.el (octave-fill-paragraph):
8621 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
8622 (python-pdbtrack-grub-for-buffer, python-sentinel):
8623 * progmodes/sql.el (sql-save-connection):
8624 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
8625 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
8626 Mark unused parameters.
8627
8628 * progmodes/compile.el (compilation--flush-directory-cache)
8629 (compilation--flush-parse, compile-internal): Mark unused parameters.
8630 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
8631 (compilation-next-error-function): Remove unused variable `timestamp'.
8632
8633 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
8634 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
8635
8636 * progmodes/dcl-mode.el (dcl-end-of-command):
8637 Remove unused variable `start'.
8638 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
8639 (dcl-option-value-basic, dcl-option-value-offset)
8640 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
8641 Mark unused parameters.
8642 (dcl-save-local-variable): Remove unused variable `val'.
8643 (mode): Declare.
8644
8645 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
8646 Mark unused parameters.
8647 (delphi-ignore-changes): Move before first use.
8648 (delphi-charset-token-at): Remove unused variable `start'.
8649 (delphi-else-start): Remove unused variable `if-count'.
8650 (delphi-comment-block-start, delphi-comment-block-end):
8651 Remove unused variable `kind'.
8652 (delphi-indent-line): Remove unused variable `new-point'.
8653
8654 * progmodes/ebrowse.el (ebrowse-files-list)
8655 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
8656 Mark unused parameters. Don't quote `lambda'.
8657 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
8658 Don't quote `lambda'.
8659 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
8660 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
8661 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
8662 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
8663 Use `ignore-errors'.
8664 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
8665 (ebrowse-view/find-file-and-search-pattern)
8666 (ebrowse-view/find-member-declaration/definition):
8667 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
8668 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
8669 Rename parameter PREFIX-ARG to PREFIX.
8670 (ebrowse-tags-read-name): Remove unused variables `start' and
8671 `member-info'.
8672 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
8673 to `tags-file'.
8674
8675 * progmodes/etags.el (local-find-tag-hook): Declare.
8676 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
8677 Mark unused parameters.
8678
8679 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
8680 (executable-interpret): Mark unused parameter.
8681
8682 * progmodes/flymake.el (flymake-process-sentinel)
8683 (flymake-after-change-function)
8684 (flymake-create-temp-with-folder-structure)
8685 (flymake-get-include-dirs-dot): Mark unused parameters.
8686 (flymake-safe-delete-directory): Remove unused variable `err'.
8687
8688 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
8689 (speedbar-timer-fn, speedbar-line-text)
8690 (speedbar-change-expand-button-char, speedbar-delete-subblock)
8691 (speedbar-center-buffer-smartly): Declare functions.
8692 (gdb-find-watch-expression): Remove unused variable `array'.
8693 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
8694 (gdb-starting): Mark unused parameters.
8695 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
8696 (gdb-table-string): Remove unused variable `res'.
8697 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
8698 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
8699 (gdb-display-buffer): Remove unused variable `cur-size'.
8700
8701 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
8702 allow lexical-binding compilation.
8703 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
8704 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
8705 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
8706 Mark unused parameters.
8707 (gud-gdb-marker-filter): Remove unused variable `match'.
8708 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
8709 lambda expressions and funcall them, instead of using `fset'.
8710
8711 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
8712 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
8713
8714 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
8715 variable `header-beg'; use `let'.
8716
8717 * progmodes/icon.el (indent-icon-exp): Remove unused variables
8718 `restart', `last-sexp' and `at-do'.
8719
8720 * progmodes/js.el (js--debug): Mark unused parameter.
8721 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
8722 (js--splice-into-items): Remove unused variable `item'.
8723 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
8724
8725 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
8726 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
8727 (makefile-complete): Remove unused variable `try'.
8728 (makefile-fill-paragraph, makefile-match-function-end):
8729 Mark unused parameters.
8730
8731 * progmodes/octave-inf.el (inferior-octave-complete):
8732 Remove unused variable `proc'.
8733 (inferior-octave-output-digest): Mark unused parameter.
8734
8735 * progmodes/perl-mode.el (perl-calculate-indent):
8736 Remove unused variable `err'.
8737
8738 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
8739 (prolog-indent-line): Mark unused parameters.
8740 (prolog-indent-line): Remove unused variable `beg'.
8741
8742 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
8743 (reporter-dont-compact-list): Declare.
8744
8745 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
8746 Remove unused variable `char'.
8747 (sh-debug): Mark unused parameter.
8748 (sh-get-indent-info): Remove unused variable `start'.
8749 (sh-calculate-indent): Remove unused variable `var'.
8750
8751 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
8752 (simula-electric-keyword): Remove unused variable `null'.
8753 (simula-search-backward, simula-search-forward): Remove unused
8754 variables `begin' and `end'.
8755
8756 * progmodes/vera-mode.el (vera-guess-basic-syntax):
8757 Remove unused variable `pos'.
8758 (vera-electric-tab, vera-comment-uncomment-region):
8759 Mark unused parameters.
8760 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
8761
7ede3b65
CY
87622011-04-22 Chong Yidong <cyd@stupidchicken.com>
8763
8764 * emacs-lisp/package.el (package--builtins, package-alist)
8765 (package-load-descriptor, package-built-in-p, package-activate)
8766 (define-package, package-installed-p)
8767 (package-compute-transaction, package-buffer-info)
8768 (package--push): Doc fix. Distinguish more clearly between
8769 version strings and version lists.
8770
121656e9
JB
87712011-04-21 Juanma Barranquero <lekktu@gmail.com>
8772
8773 Lexical-binding cleanup.
8774
8775 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
8776 (5x5-make-mutate-best):
8777 * play/fortune.el (fortune-in-buffer):
8778 * play/gomoku.el (gomoku-init-display):
8779 * play/solitaire.el (solitaire, solitaire-do-check):
8780 * play/tetris.el (tetris-default-update-speed-function):
8781 Mark unused parameters.
8782
8783 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
8784 (bubbles--shift): Remove unused variable `char-org'.
8785 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
8786 (bubbles--show-images): Remove unused variable `char'.
8787
8788 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
8789 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
8790 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
8791 (decipher-analyze-buffer): Use ?\s.
8792 (decipher-make-checkpoint): Remove unused variable `mapping'.
8793
8794 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
8795
8796 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
8797 Remove unused variable `result'; use `let'.
8798
8799 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
8800 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
8801 (gametree-children-shown-p, gametree-compute-reduced-score):
8802 Use `ignore-errors'.
8803
8804 * play/handwrite.el (ps-lpr-switches): Declare.
8805 (handwrite): Remove unused variables `pmin' and `lastp'.
8806
8807 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
8808
8809 * play/landmark.el (landmark-init-display)
8810 (landmark-update-naught-weights): Mark unused parameters.
8811 (landmark-y): Remove unused variable `noise'. Simplify.
8812 (landmark-human-plays): Remove unused variable `score'.
8813
8814 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
8815 (mpuz-try-proposal): Remove unused variable `game'.
8816
8817 * play/zone.el (life-patterns): Declare.
8818
80f499c7
JB
88192011-04-20 Juanma Barranquero <lekktu@gmail.com>
8820
8821 * vc/vc.el (ediff-vc-internal): Declare function.
8822
024ff170
SM
88232011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
8824
c0a193ea
SM
8825 * shell.el: Use lexical-binding and std completion UI.
8826 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
8827 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
8828 comint-preoutput-filter-functions rather than on
8829 comint-output-filter-functions.
8830 (shell-command-completion, shell--command-completion-data)
8831 (shell-filename-completion, shell-environment-variable-completion)
8832 (shell-c-a-p-replace-by-expanded-directory): New functions.
8833 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
8834 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
8835 (shell-dynamic-complete-environment-variable): Use them.
8836 (shell-dynamic-complete-as-environment-variable)
8837 (shell-dynamic-complete-as-command): Remove.
8838 (shell-match-partial-variable): Match past point.
8839 * comint.el: Clean up use of completion-at-point-functions.
8840 (comint-completion-at-point): New function.
8841 (comint-mode): Use it completion-at-point-functions.
8842 (comint-dynamic-complete): Make it obsolete.
8843 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
8844 (comint-c-a-p-replace-by-expanded-history): New function.
8845 (comint-dynamic-complete-functions)
8846 (comint-replace-by-expanded-history): Use it.
8847 * minibuffer.el (completion-table-with-terminator): Allow dynamic
8848 termination strings. Try harder to avoid second try-completion.
8849 (completion-in-region-mode-map): Disable bindings that don't work yet.
8850
2dbaa080
SM
8851 * comint.el: Use lexical-binding. Require CL.
8852 (comint-dynamic-complete-functions): Use comint-filename-completion.
8853 (comint-completion-addsuffix): Tweak custom type.
8854 (comint-filename-completion, comint--common-suffix)
8855 (comint--common-quoted-suffix, comint--table-subvert)
8856 (comint--complete-file-name-data): New functions.
8857 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
8858 (comint-dynamic-list-filename-completions): Use them.
8859 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 8860
2dbaa080
SM
8861 * minibuffer.el (completion-in-region-mode):
8862 Keep completion-in-region-mode--predicate global.
8863 (completion-in-region--postch):
8864 Assume completion-in-region-mode--predicate is not null.
8865
c79a6f38
SM
8866 * progmodes/flymake.el (flymake-start-syntax-check-process):
8867 Obey `dir'. Simplify.
8868
024ff170
SM
8869 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
8870 we're in VC after all.
8871
1c6c854e
CS
88722011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
8873
8874 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 8875 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
8876 (vc-version-diff): Use vc-diff-build-argument-list-internal.
8877
bed7f140
SM
88782011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
8879
332e62ab
SM
8880 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
8881 add sanity check.
8882
bed7f140
SM
8883 * obsolete/erc-hecomplete.el: Make obsolete.
8884 * obsolete/: Standardize obsolescence info in the header.
8885
f195c582
GM
88862011-04-20 Glenn Morris <rgm@gnu.org>
8887
8888 * calendar/solar.el (solar-horizontal-coordinates):
8889 Use the longitude argument rather than `calendar-longitude'.
8890 (solar-date-next-longitude): Remove unused locals.
8891
cb79b8c0
VJL
88922011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
8893
8894 * whitespace.el: New version 13.2.1.
8895
88962011-04-20 felix <EmacsWiki> (tiny change)
8897
d8e4b68b 8898 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
8899 switching between major modes on a file.
8900
602ea69d
SM
89012011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
8902
8903 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
8904 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
8905 multi-line comments as well.
8906
06b60517
JB
89072011-04-19 Juanma Barranquero <lekktu@gmail.com>
8908
8909 Lexical-binding cleanup.
8910
8911 * arc-mode.el (archive-mode-revert):
8912 * cmuscheme.el (scheme-interactively-start-process):
8913 * custom.el (custom-initialize-delay):
8914 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
8915 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
8916 * emacs-lock.el (emacs-lock-clear-sentinel):
8917 * ezimage.el (defezimage):
8918 * follow.el (follow-avoid-tail-recenter):
8919 * fringe.el (set-fringe-mode-1):
8920 * generic-x.el (bat-generic-mode-compile):
8921 * help-mode.el (help-info-variable, help-do-xref)
8922 (help-mode-revert-buffer):
8923 * help.el (view-emacs-todo):
8924 * iswitchb.el (iswitchb-completion-help):
8925 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
8926 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
8927 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
8928 * locate.el (locate-update):
8929 * longlines.el (longlines-encode-region)
8930 (longlines-after-change-function):
8931 * outline.el (outline-isearch-open-invisible):
8932 * ps-def.el (declare-function, charset-dimension, char-width)
8933 (encode-char):
8934 * ps-mule.el (ps-mule-plot-string):
8935 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
8936 (recentf-edit-list-select, recentf-edit-list-validate)
8937 (recentf-open-files-action):
8938 * rect.el (delete-whitespace-rectangle-line)
8939 (rectangle-number-line-callback):
8940 * register.el (window-configuration-to-register)
8941 (frame-configuration-to-register):
8942 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
8943 * select.el (xselect-convert-to-string, xselect-convert-to-length)
8944 (xselect-convert-to-targets, xselect-convert-to-delete)
8945 (xselect-convert-to-filename, xselect-convert-to-charpos)
8946 (xselect-convert-to-lineno, xselect-convert-to-colno)
8947 (xselect-convert-to-os, xselect-convert-to-host)
8948 (xselect-convert-to-user, xselect-convert-to-class)
8949 (xselect-convert-to-name, xselect-convert-to-integer)
8950 (xselect-convert-to-atom, xselect-convert-to-identity):
8951 * subr.el (declare, ignore, process-kill-without-query)
8952 (text-clone-maintain):
8953 * terminal.el (te-get-char, te-tic-sentinel):
8954 * tool-bar.el (tool-bar-make-keymap):
8955 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
8956 * type-break.el (type-break-mode, type-break-noninteractive-query):
8957 * view.el (View-back-to-mark):
8958 * wid-browse.el (widget-browse-action, widget-browse-widget)
8959 (widget-browse-widgets, widget-browse-sexp):
8960 * widget.el (define-widget-keywords):
8961 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
8962 Mark unused parameters.
8963
8964 * align.el (align-adjust-col-for-rule): Mark unused parameter.
8965 (align-areas): Remove unused variable `look'.
8966 (align-region): Remove unused variables `real-end' and `pos-list'.
8967
8968 * apropos.el (apropos-score-doc): Remove unused variable `i'.
8969
8970 * bindings.el (mode-line-modified, mode-line-remote):
8971 Mark unused parameters.
8972 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
8973
8974 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
8975 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
8976
8977 * comint.el (comint-history-isearch-pop-state)
8978 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
8979 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
8980 (comint-substitute-in-file-name): Doc fix.
8981
8982 * completion.el (cmpl-statistics-block): Mark unused parameter.
8983 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
8984 (save-completions-to-file, load-completions-from-file):
8985 Remove unused local variable `e'.
8986
8987 * composite.el (compose-chars): Remove unused variable `len'.
8988 (lgstring-insert-glyph): Remove unused variable `g'.
8989 (compose-glyph-string): Remove unused variables `ascent',
8990 `descent', `lbearing' and `rbearing'.
8991 (compose-glyph-string-relative): Remove unused variables
8992 `lbearing', `rbearing' and `wadjust'.
8993 (compose-gstring-for-graphic): Remove unused variables `header',
8994 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
8995 (compose-gstring-for-terminal): Remove unused variables `header'
8996 and `nchars'. Use `let', not `let*'.
8997
8998 * cus-edit.el (Custom-set, Custom-save, custom-reset)
8999 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
9000 (Custom-buffer-done, custom-buffer-create-internal)
9001 (custom-browse-visibility-action, custom-browse-group-tag-action)
9002 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
9003 (widget-magic-mouse-down-action, custom-toggle-parent)
9004 (custom-add-parent-links, custom-toggle-hide-variable)
9005 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
9006 (custom-toggle-hide-face, face, hook, custom-group-link-action)
9007 (custom-face-menu-create, custom-variable-menu-create, get)
9008 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
9009 (custom-reset-standard-save-and-update): Remove unused variable `value'.
9010 (customize-apropos): Remove unused variable `tests'.
9011 (custom-group-value-create): Remove unused variable `hidden-p'.
9012 (sort-fold-case): Declare.
9013
9014 * cus-theme.el (custom-reset-standard-faces-list)
9015 (custom-reset-standard-variables-list): Declare.
9016 (customize-create-theme, custom-theme-revert, custom-theme-write)
9017 (custom-theme-choose-mode, customize-themes, custom-theme-save):
9018 Mark unused parameters.
9019
9020 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
9021
9022 * delim-col.el (delimit-columns-max): Move defvar before first use.
9023
9024 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 9025 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
9026
9027 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
9028 (auto-insert): Declare.
9029 (desktop-restore-file-buffer): Rename desktop-* parameters;
9030 mark unused ones.
9031 (desktop-create-buffer): Rename desktop-* parameters and bind them.
9032 (desktop-buffer): Rename desktop-* parameters.
9033
9034 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
9035 (dframe-reposition-frame-xemacs, dframe-help-echo)
9036 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
9037 Mark unused parameters.
9038
9039 * dired-aux.el (backup-extract-version-start, overwrite-query)
9040 (overwrite-backup-query, rename-regexp-query)
9041 (rename-non-directory-query): Declare.
9042 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
9043 (dired-add-entry): Remove unused variable `orig-file-name'.
9044 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
9045 Use parameter PRESERVE-TIME instead of accessing dynamic variable
9046 `dired-copy-preserve-time' directly.
9047 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
9048 (dired-insert-subdir-newpos): Rename unused variable `pos'.
9049
9050 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
9051 (dired-virtual-revert, dired-make-relative-symlink):
9052 Mark unused parameters.
9053 (manual-program): Declare.
9054 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
9055 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
9056 wrapped in `with-no-warnings' to avoid replacing one warning by another.
9057
9058 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
9059
9060 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
9061
9062 * echistory.el (electric-history-in-progress, Helper-return-blurb):
9063 Declare.
9064
9065 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
9066
9067 * electric.el (Electric-command-loop): Rename parameter
9068 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
9069
9070 * expand.el (expand-in-literal): Remove unused variable `here'.
9071
9072 * facemenu.el (facemenu-add-new-color):
9073 Remove unused variable `docstring'.
9074
9075 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
9076 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
9077 (face-attr-construct): Mark unused parameter. Doc fix.
9078 (read-color): Remove unused variable `hex-string'.
9079
9080 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
9081 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
9082 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
9083 (display-buffer-other-frame): Remove unused variable `old-window'.
9084 (kill-buffer-hook): Declare.
9085 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
9086 Mark unused parameters.
9087 (after-find-file): Pass 1 to `auto-save-mode', not t.
9088
9089 * files-x.el (auto-insert): Declare.
9090 (modify-file-local-variable-prop-line): Remove unused variable `val'.
9091
9092 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 9093 variable `buf'. Mark unused parameter.
06b60517
JB
9094 (find-lisp-insert-directory): Mark unused parameter.
9095
9096 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
9097 (format-encode-region): Remove unused variables `cur-buf' and `result'.
9098 (format-common-tail): Remove, unused.
9099 (format-deannotate-region): Remove unused variable `loc'.
9100 (format-annotate-region): Remove unused variable `p'.
9101 (format-annotate-single-property-change): Remove unused variables
9102 `default' and `tail'.
9103
9104 * forms.el (read-file-filter): Declare.
9105 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
9106
9107 * frame.el (frame-creation-function-alist): Mark unused parameter.
9108 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
9109
9110 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
9111 Remove unused parameters.
9112 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
9113 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
9114
9115 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
9116 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
9117 (hfy-prepare-tag-map): Mark unused parameters.
9118 (htmlfontify-buffer): Use `called-interactively-p'.
9119
9120 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
9121 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
9122 (ibuffer-do-occur): Mark unused parameters.
9123 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
9124 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
9125
9126 * ibuffer.el: Don't quote `lambda'.
9127 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
9128 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
9129 Mark unused parameters.
9130
9131 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
9132 (ido-completing-read): Mark unused parameters.
9133 (ido-copy-current-word): Mark unused parameters;
9134 remove unused variable `name'.
9135 (ido-sort-merged-list): Remove unused parameter `dirs'.
9136
9137 * ielm.el (ielm-input-sender): Mark unused parameter.
9138 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
9139 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
9140 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
9141 `ielm-string' as a dynamic variable accessible from the IELM prompt.
9142 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
9143
9144 * image-dired.el (image-dired-display-thumbs): Remove unused
9145 variables `curr-file' and `count'.
9146 (image-dired-remove-tag): Remove unused variable `start'.
9147 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
9148 variable `curr-file'
9149 (image-dired-rotate-original): Remove unused variable `temp-file'.
9150 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
9151 Remove unused variable `file'.
9152 (image-dired-gallery-generate): Remove unused variable `curr'.
9153 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
9154
9155 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
9156
9157 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
9158
9159 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
9160
9161 * isearch.el (minibuffer-history-symbol): Declare.
9162 (isearch-edit-string): Remove unused variable `err'.
9163 (isearch-message-prefix, isearch-message-suffix):
9164 Mark unused parameters.
9165
9166 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
9167
9168 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
9169
9170 * makesum.el (double-column): Remove unused variable `cnt'.
9171
9172 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
9173 (ido-ignore-item-temp-list): Declare.
9174
9175 * mouse-drag.el (mouse-drag-throw): Remove unused variables
9176 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
9177 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
9178 (mouse-drag-drag): Remove unused variables `mouse-delta' and
9179 `mouse-col-delta'.
9180
9181 * mouse-sel.el (mouse-extend-internal):
9182 Remove unused variable `orig-window-frame'.
9183
9184 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
9185 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
9186 Move declarations before first use.
9187 (pcomplete-opt): Mark unused parameters; doc fix.
9188
9189 * proced.el (proced-revert): Mark unused parameter.
9190 (proced-send-signal): Remove unused variable `err'.
9191
9192 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
9193 Rename parameter PREFIX-ARG to ARG.
9194 (ps-basic-plot-string, ps-basic-plot-whitespace):
9195 Mark unused parameters.
9196
9197 * replace.el (replace-count): Define.
9198 (occur-revert-function): Mark unused parameters.
9199 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
9200 (isearch-case-fold-search, isearch-string): Declare.
9201 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
9202 bind `case-fold-search'. Remove unused variables `beg' and `end',
9203 and simplify.
9204 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
9205 COUNT and bind `replace-count'.
9206 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
9207 to COUNT.
9208
9209 * savehist.el (print-readably, print-string-length): Declare.
9210
9211 * shadowfile.el (shadow-expand-cluster-in-file-name):
9212 Remove unused variable `cluster'.
9213 (shadow-copy-file): Remove unused variable `i'.
9214 (shadow-noquery, shadow-clusters, shadow-site-cluster)
9215 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
9216 (shadow-define-literal-group, shadow-define-regexp-group)
9217 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
9218
9219 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
9220 (shell): Use `called-interactively-p'.
9221 (shell-directory-tracker): Remove unused variable `chdir-failure'.
9222
9223 * simple.el (compilation-context-lines, comint-file-name-quote-list)
9224 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
9225 (delete-backward-char): Remove unused variable `ocol'.
9226 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
9227 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
9228 (event-apply-hyper-modifier, event-apply-shift-modifier)
9229 (event-apply-control-modifier, event-apply-meta-modifier):
9230 Mark unused parameters.
9231 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
9232 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
9233
9234 * speedbar.el (speedbar-ignored-directory-expressions)
9235 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
9236 (speedbar-find-file, speedbar-dir-follow)
9237 (speedbar-directory-buttons-follow, speedbar-tag-find)
9238 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
9239 (speedbar-buffers-line-directory, speedbar-buffer-click):
9240 Mark unused parameters.
9241 (speedbar-tag-file): Remove unused variable `mode'.
9242 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
9243
9244 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
9245
9246 * talk.el (talk): Remove unused variable `display'.
9247
9248 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
9249 (tar-write-region-annotate): Mark unused parameter.
9250
9251 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
9252 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
9253 Declare them, wrapped in `with-no-warnings' to avoid replacing one
9254 warning by another.
9255
9256 * time-stamp.el (time-stamp-string-preprocess):
9257 Remove unused variable `require-padding'.
9258
9259 * tree-widget.el (widget-glyph-enable): Declare.
9260 (tree-widget-action): Mark unused parameter.
9261
9262 * w32-fns.el (x-get-selection): Mark unused parameter.
9263 (autoload-make-program, generated-autoload-file): Declare.
9264
9265 * wdired.el (wdired-revert): Mark unused parameters.
9266 (wdired-xcase-word): Remove unused variable `err'.
9267
9268 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
9269 (whitespace-help-scroll): Remove unused variable `data-help'.
9270
9271 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
9272 (widget-image-insert, widget-after-change, default)
9273 (widget-default-format-handler, widget-default-notify)
9274 (widget-default-prompt-value, widget-info-link-action)
9275 (widget-url-link-action, widget-function-link-action)
9276 (widget-variable-link-action, widget-file-link-action)
9277 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
9278 (widget-field-prompt-internal, widget-field-action, widget-field-match)
9279 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
9280 (widget-insert-button-action, widget-delete-button-action, visibility)
9281 (widget-documentation-link-action, widget-documentation-string-action)
9282 (widget-const-prompt-value, widget-regexp-match, symbol)
9283 (widget-coding-system-prompt-value)
9284 (widget-key-sequence-value-to-external, sexp)
9285 (widget-sexp-value-to-internal, character, vector, cons)
9286 (widget-choice-prompt-value, widget-boolean-prompt-value)
9287 (widget-color--choose-action): Mark unused parameters.
9288 (widget-item-match-inline, widget-choice-match-inline)
9289 (widget-checklist-match, widget-checklist-match-inline)
9290 (widget-group-match): Rename parameter VALUES to VALS.
9291 (widget-field-value-set): Remove unused variable `size'.
9292 (widget-color-action): Remove unused variables `value' and `start'.
9293
9294 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 9295 variable `dir'. Doc fix.
06b60517
JB
9296 (windmove-find-other-window): Don't pass it.
9297
9298 * window.el (count-windows): Mark unused parameter.
9299 (bw-adjust-window): Remove unused variable `err'.
9300
9301 * woman.el (woman-file-name): Remove unused variable `default'.
9302 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
9303 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
9304 (global-font-lock-mode): Declare.
9305 (woman-decode-region): Mark unused parameter.
9306 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
9307
9308 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
9309 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
9310 (x-dnd-handle-moz-url): Remove unused variable `title'.
9311 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
9312
9313 * xml.el (xml-parse-tag, xml-parse-attlist):
9314 Remove unused variable `pos'.
9315
bc4f7f3d
GM
93162011-04-19 Glenn Morris <rgm@gnu.org>
9317
9318 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
9319 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
9320 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
9321 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
9322 * calendar/cal-html.el (cal-html-insert-minical):
9323 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
9324 (calendar-mark-date-pattern):
9325 Prefix "unused" locals.
9326
9327 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
9328 optional argument `style'.
9329
9330 * calendar/appt.el (appt-make-list):
9331 * calendar/cal-china.el (calendar-chinese-date-string):
9332 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
9333 (diary-hebrew-yahrzeit):
9334 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
9335 * calendar/calendar.el (calendar-generate-window):
9336 * calendar/time-date.el (time-to-days):
9337 Remove unused local variables.
9338
16a43933
CY
93392011-04-18 Chong Yidong <cyd@stupidchicken.com>
9340
9341 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
9342 glyphless-char-display table.
9343 (tabulated-list-glyphless-char-display): New var.
9344
7eed1860
SS
93452011-04-18 Sam Steingold <sds@gnu.org>
9346
9347 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
9348 to acknowledgments.
9349
4d2d1ccd
GM
93502011-04-17 Glenn Morris <rgm@gnu.org>
9351
9352 * calendar/diary-lib.el (diary-sexp-entry):
9353 * calendar/holidays.el (holiday-sexp):
9354 Set debug-on-error rather than the removed stack-trace-on-error.
9355
239da61d
GM
93562011-04-16 Glenn Morris <rgm@gnu.org>
9357
9358 * progmodes/f90.el: Use lexical-binding.
9359 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
9360
8b05752a
SM
93612011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
9362
daca8ba5
SM
9363 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
9364 (mail-mode): Setup mailalias completion here instead.
9365 * mail/mailalias.el: Use lexical-binding.
9366 (pattern, mailalias-done): Declare dynamic.
9367 (mail-completion-at-point-function): New function, from mail-complete.
9368 (mail-complete): Use it.
9369 (mail-completion-expand): New function.
9370 (mail-get-names): Use it.
9371 (mail-directory, mail-directory-process, mail-directory-stream):
9372 Don't use `pattern' for lexically bound arg.
9373
6f542485
SM
9374 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
9375
037e7c3f
SM
9376 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
9377 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
9378 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
9379
8b05752a
SM
9380 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
9381 (byte-save-window-excursion, byte-temp-output-buffer-setup)
9382 (byte-interactive-p): Define them again, for use when inlining
9383 old code.
9384
49093f60
JB
93852011-04-15 Juanma Barranquero <lekktu@gmail.com>
9386
9387 * loadup.el: Use `string-to-number', not `string-to-int'.
9388
b5b8e7de
SM
93892011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
9390
9391 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
9392 gud-gdb-complete-command.
9393 (gud-gdb-completions): New function, from gud-gdb-complete-command.
9394 (gud-gdb-completion-at-point): New function.
9395 (gud-gdb-completions): Remove.
9396
f42efeb5
MA
93972011-04-14 Michael Albinus <michael.albinus@gmx.de>
9398
49093f60
JB
9399 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
9400 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
9401 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
9402 whether `executable-find' is bound.
f42efeb5
MA
9403
9404 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
9405
e240cc21
SM
94062011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
9407
9408 * minibuffer.el (completion-in-region-mode-predicate)
9409 (completion-in-region-mode--predicate): New vars.
9410 (completion-in-region, completion-in-region--postch)
9411 (completion-in-region-mode): Use them.
9412 (completion--capf-wrapper): Also return the hook function.
9413 (completion-at-point, completion-help-at-point):
9414 Adjust and provide a predicate.
c2bd2ab0
SM
9415
9416 Preserve arg names for advice of subr and lexical functions (bug#8457).
9417 * help-fns.el (help-function-arglist): Consolidate the subr and
9418 new-byte-code cases. Add argument `preserve-names' to extract names
9419 from the docstring when needed.
9420 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
9421 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
9422 (ad-arglist): Use help-function-arglist's new arg.
9423 (ad-definition-type): Use cond.
9424
c183f693
JB
94252011-04-13 Juanma Barranquero <lekktu@gmail.com>
9426
06641a47
JB
9427 * autorevert.el (auto-revert-handler):
9428 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
9429 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
9430 Don't quote lambda.
9431
c183f693
JB
9432 * image-mode.el (image-transform-set-scale):
9433 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
9434
1e3b6001
G
94352011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
9436
9437 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 9438 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
9439 Upgrades via gnutls-cli are too slow to be done opportunistically.
9440
2d6af8dd
JB
94412011-04-12 Juanma Barranquero <lekktu@gmail.com>
9442
9443 * dframe.el (dframe-current-frame): Remove spurious quote.
9444
c0749a51
GM
94452011-04-12 Glenn Morris <rgm@gnu.org>
9446
088d0d61
GM
9447 * calendar/cal-tex.el (cal-tex-end-document):
9448 Try to automatically use latin1 input if needed.
9449
c0749a51
GM
9450 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
9451 Don't try to cons a mark onto an empty element.
9452
5c90fde0
LL
94532011-04-11 Leo Liu <sdl.web@gmail.com>
9454
9455 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
9456 buffers.
9457 (ido-kill-buffer-at-head): Support killing virtual buffers.
9458
369e974d
CY
94592011-04-10 Chong Yidong <cyd@stupidchicken.com>
9460
9461 * minibuffer.el (completion-show-inline-help): New var.
9462 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
9463 (minibuffer-force-complete, minibuffer-complete-word):
9464 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
9465
9466 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
9467 to avoid interference from inline help (Bug#5849).
9468
37f1c930
LL
94692011-04-10 Leo Liu <sdl.web@gmail.com>
9470
099c39a4
JB
9471 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
9472 Fix typo.
37f1c930 9473
a32d4040
CY
94742011-04-09 Chong Yidong <cyd@stupidchicken.com>
9475
9476 * image-mode.el (image-toggle-display-image): Signal an error if
9477 not in Image mode.
9478 (image-transform-mode, image-transform-resize)
9479 (image-transform-set-rotation): Doc fix.
daca8ba5 9480 (image-transform-set-resize): Delete.
a32d4040
CY
9481 (image-transform-set-scale, image-transform-fit-to-height)
9482 (image-transform-fit-to-width): Handle image-toggle-display-image
9483 and image-transform-resize directly.
9484
099c39a4 94852011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
9486
9487 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
9488 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
9489 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
9490 (doc-view-mode-map): Add bindings for the new functions.
9491
099c39a4 94922011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 9493
4d61f28d 9494 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
9495 Fix typo in docstring.
9496
3726838a
EZ
94972011-04-08 Eli Zaretskii <eliz@gnu.org>
9498
04f33f1e
EZ
9499 * files.el (file-size-human-readable): Produce one digit after
9500 decimal, like "ls -lh" does.
9501
9502 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
9503 the file size representation.
9504
3726838a
EZ
9505 * simple.el (list-processes): If async subprocesses are not
9506 available, error out with a clear error message.
9507
cbb59342
CY
95082011-04-08 Chong Yidong <cyd@stupidchicken.com>
9509
9510 * help.el (help-form-show): New function, to be called from C.
9511 Put help-form output in a buffer named differently than *Help*.
9512
e3971c44
EZ
95132011-04-08 Eli Zaretskii <eliz@gnu.org>
9514
9515 * files.el (file-size-human-readable): New function.
9516
9517 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
9518 computing the representation inline. Don't require `cl'.
9519
12544bbe
GM
95202011-04-08 Glenn Morris <rgm@gnu.org>
9521
a1de6c6a
GM
9522 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
9523
3c4671f4
GM
9524 * net/browse-url.el (browse-url-firefox):
9525 Test system-type, not system-configuration.
9526
b605679c
GM
9527 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
9528 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
9529 Use log-edit-empty-buffer-p. (Bug#7598)
9530
56442f0c
GM
9531 * net/rlogin.el (rlogin-process-connection-type): Simplify.
9532 (rlogin-mode-map): Initialize in the defvar.
9533 (rlogin): Use ignore-errors.
9534
12544bbe
GM
9535 * replace.el (occur-mode-map): Some fixes for menu items.
9536
eb237b0f
AH
95372011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
9538
9539 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
9540
7d668f2c
CY
95412011-04-06 Chong Yidong <cyd@stupidchicken.com>
9542
e67a13ab
CY
9543 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
9544 issuing unused warnings.
9545
9546 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
9547 macro directly.
9548
7d668f2c
CY
9549 * simple.el: Lisp reimplement of list-processes. Based on an
9550 earlier reimplementation by Leo Liu, but using tabulated-list.el.
9551 (process-menu-mode): New major mode.
9552 (list-processes--refresh, list-processes):
9553 (process-menu-visit-buffer): New functions.
9554
9555 * files.el (save-buffers-kill-emacs): Don't assume any return
9556 value of list-processes, which is undocumented anyway.
9557
a83ec3c9
CY
95582011-04-06 Chong Yidong <cyd@stupidchicken.com>
9559
9560 * emacs-lisp/tabulated-list.el: New file.
9561
e91a96fe
CY
9562 * emacs-lisp/package.el: Use Tabulated List mode.
9563 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
9564 (package-menu-mode): Derive from tabulated-list-mode. Set up the
9565 table format using Tabulated List mode variables.
9566 (package--push): New macro, replacing package-list-maybe-add.
9567 (package-menu--generate): Use package--push. Renamed from
9568 package--generate-package-list.
9569 (package-menu-refresh, list-packages): Use it.
daca8ba5 9570 (package-menu--print-info): Rename from package-print-package.
e91a96fe 9571 Return insertion data instead of inserting it directly.
099c39a4
JB
9572 (package-menu-describe-package, package-menu-execute):
9573 Use tabulated-list-get-id.
e91a96fe
CY
9574 (package-menu-mark-delete, package-menu-mark-install)
9575 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
9576 (package-menu-mark-obsolete-for-deletion):
9577 Use tabulated-list-put-tag.
e91a96fe
CY
9578 (package--list-packages, package-menu-revert)
9579 (package-menu-get-package, package-menu-get-version)
9580 (package-menu-sort-by-column): Functions deleted.
9581 (package-menu-package-list, package-menu-sort-key): Vars deleted.
9582 (package-menu--status-predicate, package-menu--version-predicate)
9583 (package-menu--name-predicate)
9584 (package-menu--description-predicate): Handle arguments in the
9585 Tabulated List format.
9586 (package-list-packages-no-fetch): Call list-packages.
9587
3e214b50
JB
95882011-04-06 Juanma Barranquero <lekktu@gmail.com>
9589
9590 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 9591 (after-find-file): Don't bind it.
3e214b50
JB
9592 (revert-buffer-in-progress-p): New variable.
9593 (revert-buffer): Bind it.
9594 Pass nil for `after-find-file-from-revert-buffer'.
9595
9596 * saveplace.el (save-place-find-file-hook): Use new variable
9597 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
9598
3f0f1700
GM
95992011-04-06 Glenn Morris <rgm@gnu.org>
9600
c0274801
GM
9601 * Makefile.in (AUTOGEN_VCS): New variable.
9602 (autoloads): Use $AUTOGEN_VCS.
9603
3f0f1700
GM
9604 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
9605 * calendar/calendar.el (calendar-mode-map):
9606 Check for toolkit scroll bars. (Bug#8305)
9607
41ea9e48
CY
96082011-04-05 Chong Yidong <cyd@stupidchicken.com>
9609
9610 * minibuffer.el (completion-in-region--postch)
9611 (completion-in-region-mode): Remove unnecessary messages.
9612
6194c800
JB
96132011-04-05 Juanma Barranquero <lekktu@gmail.com>
9614
33256f14
JB
9615 * font-lock.el (font-lock-refresh-defaults):
9616 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
9617 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
9618
6194c800
JB
9619 * info.el (Info-directory-list, Info-read-node-name-2)
9620 (Info-split-parameter-string): Doc fixes.
9621 (Info-virtual-nodes): Reflow docstring.
9622 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
9623 (Info-apropos-toc-nodes, info-finder, Info-get-token)
9624 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
9625 Fix typos in docstrings.
9626 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
9627 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
9628 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
9629 (Info-restore-desktop-buffer): Mark unused parameters.
9630 (Info-directory-find-file, Info-directory-find-node)
9631 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
9632 (Info-virtual-index-find-node, Info-apropos-find-file)
9633 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 9634 Mark unused parameters; fix typos in docstrings.
6194c800
JB
9635 (Info-virtual-index): Remove unused local variable `nodename'.
9636
b87a8200 96372011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 9638
b87a8200
DD
9639 * net/rcirc.el: Update my e-mail address.
9640 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 9641
3b2ff876
CY
96422011-04-05 Chong Yidong <cyd@stupidchicken.com>
9643
9644 * startup.el (command-line): Save the cursor's theme-face
9645 directly, instead of using face-override-spec.
9646
9647 * custom.el (load-theme): Minor optimization in assigning faces.
9648
8d17e7ca
JB
96492011-04-04 Juanma Barranquero <lekktu@gmail.com>
9650
9651 * help-fns.el (describe-variable): Complete all variables having
9652 documentation, including keywords.
9653 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
9654
2fbc1934
JB
96552011-04-04 Juanma Barranquero <lekktu@gmail.com>
9656
9657 Convert to lexical-binding.
9658
9659 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
9660 (bs--get-marked-string, bs--get-modified-string)
9661 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
9662 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
9663 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
9664
9665 * ehelp.el (electric-help-execute-extended)
9666 (electric-help-ctrl-x-prefix):
9667 * hexl.el (hexl-revert-buffer-function):
9668 * linum.el (linum-after-change, linum-after-scroll):
9669 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
9670
9671 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
9672
74f50695
DU
96732011-04-04 Daiki Ueno <ueno@unixuser.org>
9674
9675 * epa-dired.el:
9676 * epa-mail.el:
9677 * epa-hook.el:
9678 * epa-file.el:
9679 * epa.el:
9680 * epg.el: Use lexical binding.
9681
c11325f7
CY
96822011-04-03 Chong Yidong <cyd@stupidchicken.com>
9683
0d9e9a12
CY
9684 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
9685
c11325f7 9686 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
9687 dictionary case for flyspell-mark-duplications-exceptions.
9688 Use regexp matching for languages.
c11325f7
CY
9689 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
9690 default dictionary (Bug#7926).
9691
da91b5f2
CY
96922011-04-02 Chong Yidong <cyd@stupidchicken.com>
9693
099c39a4
JB
9694 * emacs-lisp/package.el (package--with-work-buffer):
9695 Recognize https URLs.
da91b5f2 9696
099c39a4
JB
9697 * net/network-stream.el: Move from gnus/proto-stream.el.
9698 Change prefix to network-stream throughout.
da91b5f2
CY
9699 (open-protocol-stream): Merge into open-network-stream, leaving
9700 open-protocol-stream as an alias. Handle nil BUFFER args.
9701
9702 * subr.el (open-network-stream): Move to net/network-stream.el.
9703
afa8e9f6
GM
97042011-04-02 Glenn Morris <rgm@gnu.org>
9705
1d2e369d
GM
9706 * find-dired.el (find-exec-terminator): New option.
9707 (find-ls-option): Test for -ls support.
9708 (find-ls-subdir-switches): Test for -b in find-ls-option.
9709 (find-dired, find-grep-dired): Doc fixes.
9710 (find-dired): Use find-exec-terminator.
9711
8abb7da8 9712 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
9713 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
9714 (find-name-arg): Remove purecopy.
8abb7da8 9715
f3ca7378
GM
9716 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
9717 (grep-compute-defaults): Check for `-exec COMMAND +' support.
9718 Set grep-find-use-xargs, grep-find-command, and grep-find-template
9719 accordingly. Don't add the null-device if not needed.
9720
afa8e9f6
GM
9721 * files.el (save-some-buffers): Doc fix.
9722
35eae264
EZ
97232011-04-02 Eli Zaretskii <eliz@gnu.org>
9724
9725 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
9726
26b51db5
JB
97272011-04-01 Juanma Barranquero <lekktu@gmail.com>
9728
9729 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
9730 Use `dolist' rather than `mapcar'.
9731
7200d79c
SM
97322011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
9733
03408648 9734 Add lexical binding.
7200d79c 9735
03408648
SM
9736 * subr.el (apply-partially): Use new closures rather than CL.
9737 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
9738 (dolist, dotimes): Use slightly different expansion for lexical code.
9739 (functionp): Move to C.
9740 (letrec): New macro.
9741 (with-wrapper-hook): Use it and apply-partially instead of CL.
9742 (eval-after-load): Preserve lexical-binding.
9743 (save-window-excursion, with-output-to-temp-buffer): Turn them
9744 into macros.
7200d79c 9745
03408648
SM
9746 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
9747
9748 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
9749 than the arglist.
9750 (help-add-fundoc-usage): Don't add `Not documented'.
9751 (help-function-arglist): Handle closures, subroutines, and new
9752 byte-code-functions.
9753 (help-make-usage): Remove leading underscores.
9754 (describe-function-1): Handle closures.
9755 (describe-variable): Use special-variable-p for completion.
9756
9757 * files.el (lexical-binding): Declare safe.
f488fb65 9758
03408648
SM
9759 * emacs-lisp/pcase.el: Don't use destructuring-bind.
9760 (pcase--memoize): Rename from pcase-memoize. Change weakness.
9761 (pcase): Add `let' pattern.
9762 Change memoization so it actually works.
9763 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
9764 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
9765 <let>: New case.
f488fb65 9766
03408648
SM
9767 * emacs-lisp/macroexp.el: Use lexical binding.
9768 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
9769 Don't convert ' to #' without checking that it's indeed quoting
9770 a lambda.
9771
9772 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 9773 Use eval-sexp-add-defvars.
03408648
SM
9774 (eval-sexp-add-defvars): New fun.
9775
9776 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
9777
9778 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
9779 Don't autoload.
9780 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
9781 than the internal `byte-compile-lambda'.
9782 (defmethod): Don't hide code under quotes.
9783 (eieio-defmethod): New `code' argument.
9784
9785 * emacs-lisp/eieio-comp.el: Remove.
9786
9787 * emacs-lisp/edebug.el (edebug-eval-defun)
9788 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
9789 (edebug-toggle): Avoid `eval'.
9790
9791 * emacs-lisp/disass.el (disassemble-internal): Handle new
9792 `closure' objects.
9793 (disassemble-1): Handle new byte codes.
9794
9795 * emacs-lisp/cl.el (pushnew): Silence warning.
9796
9797 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
9798 (cl-byte-compile-throw): Remove.
9799 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
9800
9801 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
9802 closures.
9803
9804 * emacs-lisp/cconv.el: New file.
9805
9806 * emacs-lisp/bytecomp.el: Use lexical binding instead of
9807 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
9808 (byte-compile-initial-macro-environment):
9809 Handle declare-function here.
9810 (byte-compile--lexical-environment): New var.
9811 (byte-stack-ref, byte-stack-set, byte-discardN)
9812 (byte-discardN-preserve-tos): New lap codes.
9813 (byte-interactive-p): Don't use any more.
9814 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
9815 New macros.
9816 (byte-compile-lapcode): Use them and handle new lap codes.
9817 (byte-compile-obsolete): Remove.
9818 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
9819 (byte-compile-arglist-warn): Check late def of inlinable funs.
9820 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
9821 since they should have been expanded by now.
9822 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
9823 (byte-compile-from-buffer): Remove unused second arg.
9824 (byte-compile-preprocess): New function.
9825 (byte-compile-toplevel-file-form): New function to distinguish
9826 file-form calls from outside from file-form calls from hunk-handlers.
9827 (byte-compile-file-form): Simplify.
9828 (byte-compile-file-form-defsubst): Remove.
9829 (byte-compile-file-form-defmumble): Simplify now that
9830 byte-compile-lambda always returns a byte-code-function.
9831 (byte-compile): Preprocess.
9832 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
9833 Remove, not used any more.
9834 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
9835 (byte-compile-make-args-desc): New funs.
9836 (byte-compile-lambda): Handle lexical functions. Always return
9837 a byte-code-function.
9838 (byte-compile-reserved-constants): New var, to make up room for
9839 closed-over variables.
9840 (byte-compile-constants-vector): Obey it.
9841 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
9842 (byte-compile-macroexpand-declare-function): New function.
9843 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
9844 byte-code-functions.
9845 (byte-compile-form): Check obsolescence here.
9846 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
9847 (byte-compile-variable-ref): Remove.
9848 (byte-compile-dynamic-variable-op): New fun.
9849 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
9850 (byte-compile-variable-set): New funs.
9851 (byte-compile-discard): Add 2 args.
9852 (byte-compile-stack-ref, byte-compile-stack-set)
9853 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
9854 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
9855 macroexpand-all instead.
9856 (byte-compile-quote-form): Remove.
9857 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
9858 (byte-compile-bind, byte-compile-unbind): New funs.
9859 (byte-compile-let): Handle let* and lexical binding.
9860 (byte-compile-let*): Remove.
9861 (byte-compile-catch, byte-compile-unwind-protect)
9862 (byte-compile-track-mouse, byte-compile-condition-case):
9863 Handle a new :fun-body form, used for lexical scoping.
9864 (byte-compile-save-window-excursion)
9865 (byte-compile-with-output-to-temp-buffer): Remove.
9866 (byte-compile-defun): Simplify.
9867 (byte-compile-stack-adjustment): New fun.
9868 (byte-compile-out): Use it.
9869 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
9870
9871 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
9872 handler any more.
9873
9874 * emacs-lisp/byte-opt.el: Use lexical binding.
9875 (byte-inline-lapcode): Remove (to bytecomp).
9876 (byte-compile-inline-expand): Pay attention to inlining to/from
9877 lexically bound code.
9878 (byte-compile-unfold-lambda): Don't handle byte-code-functions
9879 any more.
9880 (byte-optimize-form-code-walker): Don't handle save-window-excursion
9881 any more and don't call compiler-macros.
9882 (byte-compile-splice-in-already-compiled-code): Remove.
9883 (byte-code): Don't inline any more.
9884 (disassemble-offset): Receive `bytes' as argument rather than via
9885 dynamic scoping.
9886 (byte-compile-tag-number): Declare before first use.
9887 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
9888 `return' even if make-spliceable.
9889 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
9890 obsolete interactive-p.
9891 (byte-optimize-lapcode): Optimize new lap-codes.
9892 Don't trip up on new form of `byte-constant' lap code.
9893
9894 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
9895
9896 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
9897
9898 * custom.el (custom-initialize-default, custom-declare-variable):
9899 Use `defvar'.
9900
9901 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
9902 New variables.
9903 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
9904 (COMPILE_FIRST): Add macroexp and cconv.
9905 * makefile.w32-in: Mirror changes in Makefile.in.
9906
9907 * vc/cvs-status.el:
9908 * vc/diff-mode.el:
9909 * vc/log-edit.el:
9910 * vc/log-view.el:
9911 * vc/smerge-mode.el:
9912 * textmodes/bibtex-style.el:
9913 * textmodes/css.el:
9914 * startup.el:
9915 * uniquify.el:
da91b5f2
CY
9916 * minibuffer.el:
9917 * newcomment.el:
9918 * reveal.el:
9919 * server.el:
9920 * mpc.el:
9921 * emacs-lisp/smie.el:
9922 * doc-view.el:
9923 * dired.el:
03408648
SM
9924 * abbrev.el: Use lexical binding.
9925
0f0c1f27
EZ
99262011-04-01 Eli Zaretskii <eliz@gnu.org>
9927
9928 * info.el (info-display-manual): New function.
9929
c82b2579
SM
99302011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
9931
9932 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
9933
221ddf68
TH
99342011-03-31 Tassilo Horn <tassilo@member.fsf.org>
9935
9936 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 9937 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 9938
cba6e77e
GM
99392011-03-31 Glenn Morris <rgm@gnu.org>
9940
e040639f
GM
9941 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
9942
cba6e77e
GM
9943 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
9944
6d0f1c9e
CS
99452011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
9946
9947 * progmodes/python.el (python-default-interpreter)
9948 (python-python-command-args, python-jython-command-args)
9949 (python-which-shell, python-which-args, python-which-bufname)
9950 (python-file-queue, python-comint-output-filter-function)
9951 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
9952 variables and functions.
9953
3e2d70fd
SM
99542011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
9955
9956 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
9957 (completion-in-region-mode): New minor mode.
9958 (completion-in-region): Use it.
9959 (completion-in-region--data, completion-in-region-mode-map): New vars.
9960 (completion-in-region--postch): New function.
9961 (completion--capf-misbehave-funs, completion--capf-safe-funs):
9962 New vars.
9963 (completion--capf-wrapper): New function.
9964 (completion-at-point): Use it to track well-behavedness of
9965 hook functions.
9966 (completion-help-at-point): New command.
9967
f3e4086c
JM
99682011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
9969
9970 * vc/add-log.el (add-change-log-entry): Don't use whitespace
9971 syntax class to search for whitespace on a single line
9972 (Message-ID: <4D938140.4030905@redhat.com>).
9973
eb7ffc14
LL
99742011-03-30 Leo Liu <sdl.web@gmail.com>
9975
9976 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
9977 New commands.
9978 (edit-abbrevs-map): Bind them here.
9979 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
9980
d806ab68
KM
99812011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
9982
9983 * allout.el (allout-hide-by-annotation, allout-flag-region):
9984 Reduce possibility of overlay leakage by making them volatile.
9985
9986 * allout-widgets.el (allout-widgets-tally): Define as nil so the
9987 hash is not shared between buffers. Mode initialization is
9988 responsible for giving it a useful starting value.
9989 (allout-item-span): Reduce possibility of overlay leakage by
9990 making them volatile.
9991 (allout-widgets-count-buttons-in-region): Add diagnostic function
9992 for tracking down button overlay leaks.
9993
ea622834
LL
99942011-03-29 Leo Liu <sdl.web@gmail.com>
9995
9996 * ido.el (ido-read-internal): Use the default history var
9997 minibuffer-history if no HISTORY is specified.
9998
b62f8267
G
99992011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
10000
03408648
SM
10001 * net/imap.el (imap-shell-open, imap-process-connection-type):
10002 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
10003 Kerberos, SSL, other subprocesses.
10004
947b6566
LL
100052011-03-28 Leo Liu <sdl.web@gmail.com>
10006
10007 * abbrev.el (abbrev-table-empty-p): New function.
10008 (prepare-abbrev-list-buffer): Place empty abbrev tables after
10009 nonempty ones. (Bug#5937)
10010
5ffb62aa
JD
100112011-03-27 Jan Djärv <jan.h.d@swipnet.se>
10012
10013 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
10014
7a097943
LL
100152011-03-27 Leo Liu <sdl.web@gmail.com>
10016
10017 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
10018 for foreground and background colors.
10019 (ansi-color-make-color-map): Adapt.
10020
c5b40130
LL
100212011-03-25 Leo Liu <sdl.web@gmail.com>
10022
1f48f7d2
LL
10023 * midnight.el (midnight-time-float): Remove. Note it calculates
10024 the microsecond component incorrectly and seconds-to-time does the
10025 same job.
625897ec 10026 Remove redundant (require 'timer).
1f48f7d2 10027
c5b40130
LL
10028 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
10029 (ido-completions): Remove unused arguments. (Bug#8329)
10030
d86d2721
SM
100312011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
10032
10033 * minibuffer.el (completion--flush-all-sorted-completions):
10034 Remove itself from hook.
10035 (completion-at-point): Let the functions perform the completion
10036 immediately and return nil or t.
10037 * comint.el (comint-dynamic-complete-functions): Now identical to
10038 completion-at-point-functions.
10039 (comint-dynamic-list-input-ring): Remove unused var `index'.
10040 (comint--match-partial-filename, comint--unquote&expand-filename):
10041 New funs, split from comint-match-partial-filename.
10042 (comint-dynamic-complete): Use completion-at-point.
10043 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
10044
e8974c48
DA
100452011-03-24 Drew Adams <drew.adams@oracle.com>
10046
10047 * thingatpt.el: Support `defun'.
10048
def71b5e
LL
100492011-03-23 Leo Liu <sdl.web@gmail.com>
10050
cb5af48e
LL
10051 * abbrevlist.el: Move to obsolete/abbrevlist.el.
10052
def71b5e
LL
10053 * help-mode.el (help-mode-finish): Tweak regexp.
10054
927c53e7
GM
100552011-03-23 Glenn Morris <rgm@gnu.org>
10056
18d05bed
GM
10057 * eshell/esh-opt.el (eshell-eval-using-options):
10058 Do not bind unused local variable `eshell-option-stub'.
10059
927c53e7
GM
10060 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
10061
9d0da923
JB
100622011-03-22 Juanma Barranquero <lekktu@gmail.com>
10063
10064 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
10065 keymap variable in `with-no-warnings' to avoid a warning when the
10066 keymap has been already `defconst'ed.
10067
4b978a67
LL
100682011-03-22 Leo Liu <sdl.web@gmail.com>
10069
10070 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
10071 encode all chars in abbrevs; otherwise use emacs-mule or
10072 utf-8-emacs. (Bug#8308)
10073
5fd62452
JB
100742011-03-22 Juanma Barranquero <lekktu@gmail.com>
10075
0b1596c6
JB
10076 * simple.el (backward-delete-char-untabify):
10077 Avoid warning about using `delete-backward-char'.
10078
5fd62452
JB
10079 * image.el (image-type-file-name-regexps): Make it variable.
10080 `imagemagick-register-types' modifies it, and the user may want
10081 to add new extensions for known image types.
10082 (imagemagick-register-types): Throw error if not using ImageMagick.
10083
0b4e93f1
LL
100842011-03-22 Leo Liu <sdl.web@gmail.com>
10085
10086 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
10087 located before rcirc-prompt-end-marker.
10088 (rcirc-complete): Error if point is not after rcirc prompt.
10089 Handle the case when table is nil.
9882e214 10090 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 10091
fccee4ab
CY
100922011-03-22 Chong Yidong <cyd@stupidchicken.com>
10093
10094 * custom.el (custom--inhibit-theme-enable): Make it affect only
10095 custom-theme-set-variables and custom-theme-set-faces.
10096 (provide-theme): Ignore custom--inhibit-theme-enable.
10097 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
10098 (custom-enabling-themes): Delete variable.
d86d2721
SM
10099 (enable-theme): Accept only loaded themes as arguments.
10100 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
10101 (custom-enabled-themes): Forbid themes from setting this.
10102 Eliminate use of custom-enabling-themes.
10103 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 10104
af896da6
LL
101052011-03-21 Leo Liu <sdl.web@gmail.com>
10106
10107 * ido.el (ido-read-internal): Add ido-selected to history instead
10108 of user input.
10109
78f64af0
SM
101102011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
10111
10112 * subr.el (deferred-action-list, deferred-action-function):
10113 Mark obsolete.
10114
b16ac1ec
LL
101152011-03-21 Leo Liu <sdl.web@gmail.com>
10116
810f7698
LL
10117 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
10118 change on 2011-02-13 (bug#8309).
10119
b16ac1ec
LL
10120 * minibuffer.el (read-file-name-function): Change default value.
10121 (read-file-name--defaults): Rename from read-file-name-defaults.
10122 (read-file-name-default): Rename from read-file-name.
10123 (read-file-name): Call read-file-name-function.
10124
4e05e67e
GM
101252011-03-21 Glenn Morris <rgm@gnu.org>
10126
10127 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
10128 Doc fixes.
10129
4359915b
CY
101302011-03-21 Chong Yidong <cyd@stupidchicken.com>
10131
10132 * cus-theme.el: Add missing provide statement.
10133 (customize-create-theme): Extract theme value correctly.
10134 (custom-theme-visit-theme): Autoload.
10135 (customize-create-theme): Prompt before inserting default faces.
10136
1fe275ee
JB
101372011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
10138
10139 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
10140 units and musical notes.
10141
cd394be1 101422011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
10143
10144 * ido.el (ido-read-internal): Use completing-read-default.
10145 (ido-completing-read): Fix compatibility with completing-read.
10146
7d476bde
CO
101472011-03-20 Christian Ohler <ohler@gnu.org>
10148
10149 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
10150 (ert-delete-all-tests): Use `called-interactively-p' rather than
10151 `interactive-p'.
10152 (ert--make-xrefs-region): Respect END.
10153
fe0fb33e
CY
101542011-03-19 Chong Yidong <cyd@stupidchicken.com>
10155
ff854b0b
CY
10156 * dired-aux.el (dired-create-directory): Signal an error if the
10157 directory already exists (Bug#8246).
10158
fe0fb33e
CY
10159 * facemenu.el (list-colors-display): Call list-faces-display
10160 inside with-help-window.
10161 (list-colors-print): Use display property to align the final
10162 column, instead of checking window-width.
10163
576bce32
EZ
101642011-03-19 Eli Zaretskii <eliz@gnu.org>
10165
4d61f28d 10166 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
10167 windows-nt systems.
10168 (emerge-protect-metachars): Quote correctly for ms-dos and
10169 windows-nt systems.
10170
89c41d68 101712011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
10172
10173 * info.el (info-initialize): Replace all uses of `:' with
10174 path-separator for compatibility with non-Unix systems.
10175 Cache quoting of path-separator. (Bug#8258)
10176
b14e3e21 101772011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
10178
10179 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
10180 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
10181 (mouse-avoidance-mode): Fix typos in docstrings.
10182
4525ce3e
CY
101832011-03-19 Chong Yidong <cyd@stupidchicken.com>
10184
10185 * startup.el (package-subdirectory-regexp): Move from package.el.
10186 Omit \\` and \\', and let callers add them.
10187
10188 * emacs-lisp/package.el (package-strip-version)
10189 (package-load-all-descriptors): Add \\` and \\' to
10190 package-subdirectory-regexp before using it.
10191 (package-untar-buffer): New arg DIR; ensure that file untars only
10192 into this expected directory. Remove superfluous delete-region.
10193 (package-unpack): Caller changed.
10194 (package-tar-file-info): Use package-subdirectory-regexp.
10195
a904a09a 101962011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 10197
a904a09a
SM
10198 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
10199 diff-mode-shared-map (bug#8284).
10200 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
10201
102022011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
10203
10204 * calendar/time-date.el (format-seconds): Use assoc instead of
10205 assoc-string, since assoc-string doesn't exist in XEmacs.
10206
171fc304
JB
102072011-03-17 Juanma Barranquero <lekktu@gmail.com>
10208
10209 * custom.el (custom-known-themes): Reflow docstring.
10210 (custom-theme-load-path): Fix typo in docstring.
10211 (load-theme): Fix typo in error message.
10212 (custom-available-themes, custom-variable-theme-value):
10213 Use `let', not `let*'.
10214
d71990a1
JB
102152011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
10216
10217 * calc/README: Mention inclusion of musical notes.
10218
10219 * calc/calc-units.el (calc-lu-quant): Rename from
10220 `calc-logunits-quantity'.
10221 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
10222 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
10223 (calc-db): Rename from `calc-dblevel'.
10224 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
10225 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
10226 (calc-np): Rename from `calc-nplevel'.
10227 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
10228 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
10229 (calc-lu-plus): Rename from `calc-logunits-add'.
10230 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
10231 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
10232 (calc-lu-minus): Rename from `calc-logunits-sub'.
10233 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
10234 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
10235 (calc-lu-times): Rename from `calc-logunits-mul'.
10236 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
10237 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
10238 (calc-lu-divide): Rename from `calc-logunits-div'.
10239 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
10240 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
10241
10242 * calc/calc-ext.el (calc-init-extensions): Update the names of the
10243 functions being autoloaded.
10244
10245 * calc/calc.el (calc-lu-power-reference): Rename from
10246 `calc-logunits-power-reference'.
10247 (calc-lu-field-reference): Rename from
10248 `calc-logunits-field-reference'.
10249
10250 * calc/calc-help (calc-l-prefix-help): Mention musical note functions.
10251
40c2934b
SM
102522011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
10253
10254 * minibuffer.el (completion-all-sorted-completions):
10255 Use :completion-cycle-penalty text property if present.
10256
b0911414
KM
102572011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
10258
10259 * allout.el (allout-yank-processing): Adjust for new rebulleting
10260 regime so bullet being yanked is used without prompting the user
10261 for a choice.
10262
8a05b668
JB
102632011-03-16 Juanma Barranquero <lekktu@gmail.com>
10264
10265 * startup.el (command-line): Warn the user that _emacs is deprecated.
10266
5ba5fb81
JB
102672011-03-16 Juanma Barranquero <lekktu@gmail.com>
10268
10269 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
10270 (delphi-verbose, delphi-comment-face, delphi-string-face)
10271 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
10272 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
10273 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
10274 (delphi-new-comment-line, delphi-font-lock-defaults)
10275 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
10276 Fix typos in docstrings.
10277
2dab465b
KM
102782011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
10279
5ba5fb81 10280 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
10281 Invert the roles of character and string values for INSTEAD, so a
10282 string is used for the more common case of a defaulting prompt.
10283
0adf5618
SM
102842011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
10285
10286 * progmodes/ruby-mode.el (ruby-backward-sexp):
10287 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
10288 * play/gamegrid.el (gamegrid-make-face):
10289 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
10290 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
10291 * notifications.el (notifications-notify):
10292 * net/xesam.el (xesam-search-engines):
10293 * net/quickurl.el (quickurl-list-insert):
10294 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
10295
d72700e5
CY
102962011-03-15 Chong Yidong <cyd@stupidchicken.com>
10297
10298 * startup.el (command-line): Update package subdirectory regexp.
10299
49c5410a
SM
103002011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
10301
c6eee9aa
SM
10302 * allout.el (allout-abbreviate-flattened-numbering)
10303 (allout-mode-deactivate-hook): Fix up obsolescence "date".
10304
49c5410a
SM
10305 * subr.el (read-char-choice): Only show the cursor after the prompt,
10306 not after the answer.
10307
047b2bb9
KR
103082011-03-15 Kevin Ryde <user42@zip.com.au>
10309
10310 * help-fns.el (variable-at-point): Skip leading quotes, if any
10311 (bug#8253).
10312
0a57d256
SM
103132011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
10314
10315 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
10316 warning message.
10317
77c992bc
MA
103182011-03-14 Michael Albinus <michael.albinus@gmx.de>
10319
10320 * shell.el (shell): When called interactively, offer to change the
10321 shell file name on remote hosts.
10322
eebc475d
TZ
103232011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
10324
10325 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
10326 integration for LDAP parameters. The host, base, user or binddn,
10327 and secret tokens can be specified in a netrc file, for instance.
10328 This is optional because an `auth-source' parameter must be
10329 specified in the search attributes.
10330
9d05d1ba
JB
103312011-03-13 Juanma Barranquero <lekktu@gmail.com>
10332
10333 * help.el (describe-mode): Link to the mode's definition (bug#8185).
10334
09d9db2c
GM
103352011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
10336
10337 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
10338 into declaration. Remove redundant and harmful binding.
10339
103402011-03-12 Eli Zaretskii <eliz@gnu.org>
10341
10342 * files.el (file-ownership-preserved-p): Pass `integer' as an
10343 explicit 2nd argument to `file-attributes'. If the file's owner
10344 is the Administrators group on Windows, and the current user is
10345 Administrator, consider that a match.
10346
10347 * server.el (server-ensure-safe-dir): Consider server directory
10348 safe on MS-Windows if its owner is the Administrators group while
10349 the current Emacs user is Administrator. Use `=' to compare
10350 numerical UIDs, since they could be integers or floats.
10351
219bd536
JB
103522011-03-12 Juanma Barranquero <lekktu@gmail.com>
10353
10354 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
10355
f3afd36b
MA
103562011-03-12 Michael Albinus <michael.albinus@gmx.de>
10357
10358 Sync with Tramp 2.2.1.
10359
10360 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
10361
10362 * net/trampver.el: Update release number.
10363
3aaaa6f1
SM
103642011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
10365
94642599
SM
10366 * progmodes/compile.el (compilation--previous-directory): Fix up
10367 various nil/dead-marker mismatches (bug#8014).
10368 (compilation-directory-properties, compilation-error-properties):
10369 Don't call it at a position past the one we're about to change.
10370
3aaaa6f1
SM
10371 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
10372 Disable obsolescence warnings in the file that declares it.
10373
14239447
KM
103742011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
10375
099c39a4
JB
10376 * allout-widgets.el (allout-widgets-tally):
10377 Initialize allout-widgets-tally as a hash table rather than nil to
10378 prevent mode-line redisplay warnings. Also, clarify the module
10379 description and fix a comment typo.
14239447 10380
135e287c
JB
103812011-03-11 Juanma Barranquero <lekktu@gmail.com>
10382
10383 * help-fns.el (describe-variable): Don't complete keywords.
10384 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
10385
ffbf300e
CY
103862011-03-10 Chong Yidong <cyd@stupidchicken.com>
10387
ba08b241
CY
10388 * emacs-lisp/package.el (package-version-join): Impose a standard
10389 string representation for pre/alpha/beta version lists.
10390 (package-unpack-single): Standardize the directory name by passing
10391 it through package-version-join.
10392 (package-strip-rcs-id): Accept any version string that does not
10393 signal an error in version-to-list.
ffbf300e 10394
f346fd6b
MA
103952011-03-10 Michael Albinus <michael.albinus@gmx.de>
10396
10397 * simple.el (delete-trailing-whitespace): Return nil for the
10398 benefit of `write-file-functions'.
10399
ccb55d27
GM
104002011-03-10 Glenn Morris <rgm@gnu.org>
10401
5ceaac0c
GM
10402 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
10403
02da65ff
GM
10404 * vc/vc-git.el (vc-git-program): New option.
10405 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
10406 (vc-git--call): Use it.
10407
b2f603cc
GM
10408 * eshell/esh-util.el (eshell-condition-case): Doc fix.
10409
5772caab
GM
10410 * cus-edit.el (Custom-newline): If no button at point, look
10411 for a subgroup button at start-of-line. (Bug#2298)
10412
ccb55d27
GM
10413 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
10414
ec6ecaed
JD
104152011-03-10 Julien Danjou <julien@danjou.info>
10416
10417 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
10418 `cursor-type' is nil.
10419
9d5aa01d
JB
104202011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
10421
10422 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
10423
b6a5875b
KM
104242011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
10425
10426 * allout.el Summary: Change so yank of distinctive-bullet items
10427 preserves the existing header prefix, rebulleting it if necessary,
10428 rather than replacing it. This is necessary for proper operation
10429 of cooperative addons like allout-widgets.
1154d12e
JB
10430 (allout-make-topic-prefix, allout-rebullet-heading):
10431 Change SOLICIT arg to INSTEAD, and interpret additionally a string
10432 value as alternate bullet to be used, instead of prompting the user
10433 for a bullet character.
b6a5875b 10434
ee545c35
MA
104352011-03-09 Michael Albinus <michael.albinus@gmx.de>
10436
d86d2721
SM
10437 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
10438 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
10439 `tramp-default-port'.
10440
c47971d7
DD
104412011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
10442
10443 * net/rcirc.el (rcirc-handler-001): Remove useless
10444 with-rcirc-process-buffer.
10445 (rcirc-check-auth-status): Swap arguments to string-match.
10446
13522cb4
GM
104472011-03-09 Glenn Morris <rgm@gnu.org>
10448
0be6f4f1
GM
10449 * shell.el (shell-mode):
10450 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
10451
13522cb4
GM
10452 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
10453 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
10454
515de2e3
CY
104552011-03-08 Chong Yidong <cyd@stupidchicken.com>
10456
10457 * emacs-lisp/package.el (package-refresh-contents)
10458 (package-menu-execute): Use condition-case-no-debug.
10459
b511b994
MA
104602011-03-08 Michael Albinus <michael.albinus@gmx.de>
10461
10462 * simple.el (shell-command-to-string): Use `process-file'.
10463
10464 * emacs-lisp/package.el (package-tar-file-info): Handle also
10465 remote files.
10466
d86d2721
SM
10467 * emacs-lisp/package-x.el (package-upload-buffer-internal):
10468 Use `equal' for upload base check.
b511b994 10469
25bbfb31
AM
104702011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
10471
10472 * textmodes/texinfo.el (texinfo-environments):
10473 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
10474
be996521
GM
104752011-03-08 Glenn Morris <rgm@gnu.org>
10476
e9c8529f
GM
10477 * cus-start.el (cursor-in-non-selected-windows):
10478 Fix :set quoting oddness. (Bug#8192)
10479
be996521
GM
10480 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
10481 in some setf expressions. (Bug#2159)
10482
2bb5649e
CY
104832011-03-08 Chong Yidong <cyd@stupidchicken.com>
10484
10485 * custom.el (custom-available-themes): Return themes in
10486 alphabetical order.
10487
33383987 10488See ChangeLog.15 for earlier changes.
e3d51b27
MR
10489
10490;; Local Variables:
10491;; coding: utf-8
e3d51b27
MR
10492;; End:
10493
acaf905b 10494 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
10495
10496 This file is part of GNU Emacs.
10497
10498 GNU Emacs is free software: you can redistribute it and/or modify
10499 it under the terms of the GNU General Public License as published by
10500 the Free Software Foundation, either version 3 of the License, or
10501 (at your option) any later version.
10502
10503 GNU Emacs is distributed in the hope that it will be useful,
10504 but WITHOUT ANY WARRANTY; without even the implied warranty of
10505 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10506 GNU General Public License for more details.
10507
10508 You should have received a copy of the GNU General Public License
10509 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.